﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.no-margin{
    margin: 0 !important;
}

.margin-left-2{
    margin-left:.2em
}

main {
    min-height: 90vh;
    position:relative;
}

.required{
    border-left:3px solid red !important;
}

.row-border {
    border-top: 2px solid gray;
    grid-column: 1 / 3; /* this code makes the row stretch to entire width of the container */
    opacity: .2;
}

.screen-cover-edit {
    width: 100%;
    max-width: 1000px;
    z-index: 101;
    background-color: white;
    position: relative;
}

.color-picker{
    width:6em;
    height:6em;
}

table {
    width: 100%;
}

.button {
    display: block;
    border: 1px solid black;
    box-shadow: 1px 1px 1px 1px #8a8080;
    margin: 3px;
    padding: 3px;
    border-radius: 5px;
    width: 80px;
    text-align: center;
}

.button-flex {
    /*display: block;
    border: 1px solid black;
    box-shadow: 1px 1px 1px 1px #8a8080;*/
    margin: 2.1px;
    padding: .1px;
    border-radius: 5px;
    /*width: auto;*/
    text-align: center;
    background-color: white;
    border: 1px solid #3E6993;
}

    .button-flex a {
        text-decoration: none;
        color: #3E6993 !important;
        /*color: #59b9bb !important;*/
        font-weight: bold;
        margin: 0 .5em;
        font-size: .9em;
    }

@media screen and (max-width: 767px) {
    input, select, textarea {
        font-size: 16px;
    }
}

.text-align-right{
    text-align:right;
}

.text-align-center{
    text-align:center;
}

.margin-1em{
    margin:1em;
}
input[type=text], select {
    width: 100%;
    padding: 5px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type=button], input[type=submit] {
    min-width: 100px;
    padding: 5px 20px;
    margin: 8px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    
}

label{
    display: block;
    box-sizing: border-box;
}

.blockDiv {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #FFF;
    width: 0px;
    height: 0px;
    z-index: 10;
}

.padding-left-1em{
    padding-left:1em;
}


.arrow-buttons {
    max-width: 25px;
    max-height: 25px;
}
    .arrow-buttons img{

    }

.template-results-row {
    display:grid;
    grid-template-columns: 10% 1fr;
    border:1px solid grey;
    margin:.1em;
}

.entity-search-results-row {
    grid-template-columns: 10% 1fr 20% 10%;
}

.manufacturer-drug-results-row {
    grid-template-columns: 10% 1fr 1fr;
    font-size: 1.25em;
}

.entity-current-results-row {
    grid-template-columns: 15% 1fr 1fr;
    background-color: #59B9BB;
    color: white;
}

.entity-search-results-channel {
}

.entity-search-results-formulaid {
}

.entity-search-results-formula {
}

.select-formulary {
    padding: 10px 20px;
    margin: 1em .5em .5em .5em !important;
}


.header-row {
    object-fit: contain;
    grid-template-columns: 1fr 1fr 1fr;
}

.header-entity1{
    text-align:center;
}

.header-entity {
    position: relative;
    text-align: center;
    vertical-align: middle;
    line-height:3em;
    height:100%;
    min-height:3em;
}
    .header-entity a:link {
        color: white;
        text-decoration: none;
    }

    .header-entity a:hover {
        color: white;
        text-decoration: none;
    }
    .header-entity a:visited {
        color: white;
        text-decoration: none;
    }

    .header-entity a:active {
        color: white;
        text-decoration: none;
    }

    .header-entity h2 {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 100%;
    }

.header-entity-cell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.header-dropdown {
    text-align: right;
    display: flex;
    flex-direction: row-reverse;
}


.entity-favorite-indication-list {
    display: flex;
    position: relative;
    text-align: center;
    vertical-align: middle;
    /*padding: .1em .5em 0 .5em;
    background-color: #59b9bb !important;
    background-color: #3E6993 !important;*/
    border-radius: 25px;
    max-height:2em;
    margin: auto;
    padding: 0 1em 0 0;
}

    .entity-favorite-indication-list a {
        display: flex;
        flex-wrap:nowrap;
        white-space: nowrap;
    }

    .entity-favorite-indication-list a:link {
        color: white;
        text-decoration: none;
    }

    .entity-favorite-indication-list a:hover {
        color: white;
        text-decoration: none;
    }

    .entity-favorite-indication-list a:visited {
        color: white;
        text-decoration: none;
    }

    .entity-favorite-indication-list a:active {
        color: white;
        text-decoration: none;
    }

.link-no-design-dark:link {
    color: black;
    text-decoration: none;
}

.link-no-design-dark:hover {
    color: black;
    text-decoration: none;
}

.link-no-design-dark:visited {
    color: black;
    text-decoration: none;
}

.link-no-design-dark:active {
    color: black;
    text-decoration: none;
}

.link-no-design:link {
    color: white;
    text-decoration: none;
}
.link-no-design:hover {
    color: white;
    text-decoration: none;
}
.link-no-design:visited {
    color: white;
    text-decoration: none;
}
.link-no-design:active {
    color: white;
    text-decoration: none;
}
/*
    Used to default the body CSS
    04/27/2022
*/
body {
    min-height: 100vh;
    background-color: #e1e1e1;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
}

/*
    Used to maximize an image inside the div container
    04/27/2022
*/
img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}
/*
    Used to display flex while wrapping
    04/27/2022
*/
.flex {
    display: flex;
    flex-wrap: wrap;
}

/*
    Used to display flex without wrapping
    04/27/2022
*/
.flex-nowrap {
    display: flex;
}

/*
    Used to display grid
    04/27/2022
*/
.grid {
    display: grid;
}

/*
    Used to add padding of .5em
    04/27/2022
*/
.padding5em {
    margin: 0;
    padding: .5em;
}


/*
    Used to display border of grey
    04/27/2022
*/
.border-grey {
    border: 1px solid grey;
}




footer{
    border-top: 1px solid grey;
    padding:.5em;
    display:grid;
    grid-template-columns: 1fr 30% 1fr 30% 1fr;
    width:100%;
    background-color:white;
    margin-top:2em;
}

.bold{
    font-weight:600;
}

.left-margin5 {
    margin-left: .5em;
}
.right-margin5 {
    margin-right: .5em;
}

.row{
    border:1px solid gray;
    margin:1px;
}

.logo-admin{
    width: 100%;
    height:100%;
}
.header-left-30 {
    display: grid;
    grid-template-columns: 7em 1fr;
}
.header-link {
    line-height: 7em;
    text-align: center;
}
.link-no-design {
    width: 100%;
    height: 100%;
}
.header-logo {
    object-fit: contain;
    height:5em;
}
.header-search{height:5em;}

.tile-340b-filter {
    transform: rotate(-15deg);
    top: 38%;
    left: -4px;
    width: 110%;
    position: absolute;
}

.tile-custom-filter {
    transform: rotate(-15deg);
    top: 45%;
    left: -4px;
    width: 110%;
    position: absolute;
}
.tile-custom-filter2 {
    transform: rotate(-15deg);
    top: 33%;
    left: -7px;
    width: 114%;
    position: absolute;
    background-color: #3e6993;
}

.temp-search-input {
    width: 100% !important;
    margin: 0 .5em .5em .5em !important;
    padding:.7em !important;
}

.tile-filter-text {
    opacity: .95;
    /*background-color: #3e6993;
    color: white;*/
    width: 100%;
    height: 1.2em;
    text-align: center;
    font-size: .9em;
    /*transform: skewX(-25deg);*/
}

.tile-filter-text2 {
    opacity: .95;
    background-color: #3e6993;
    width: 81%;
    height: auto;
    color: white;
    text-align: center;
    font-size: .9em;
    margin:auto;
}


.product-notes{
    padding:.5em;
}

.font-white{
    color:white;
}