﻿* {
}

.detail-dim {
    width: 100vw;
    height: 200vh;
    position: fixed;
    z-index: 101;
    background-color: black;
    margin: 0;
    padding: 0;
    opacity: .5;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 100;
}

.product-details-mobile-close-button {
    position: absolute;
    top: 0;
    left: 0;
    height: 2em;
    width: 2em;
    z-index: 1000;
}

.detail-info {
    position: relative;
    z-index: 102;
    width: 1000px;
    height: 700px;
    margin: auto auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.NOT_USED {
    background-image: url(http://admin.nelsagen.com/img/drug-details/secondary%20tile.png);
}
.clear {
    clear: both;
}

.black {
    color: black;
    width: 400px;
    height: 500px;
}

.therapy-group-1 {
    display: grid;
    grid-template-columns: 60% 40%;
}

.therapy-group-2 {
}

.no-restriction {
    display: grid;
    grid-template-rows: 2em 1fr;
    border: 1px solid lightblue;
    margin: 5px;
    color: white;
}

.no-restriction-header {
    background-color: lightblue;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

    .no-restriction-header h2 {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 100%;
        margin: 0 0 0 10px;
        padding: 0;
        font-size: 1em;
    }

.no-restriction-body {
    padding: 10px;
}

.tile-step-info {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 3px;
    right: 2px;
}
.tile-step-info2 {
    position: absolute;
    width: 27px;
    height: 27px;
    top: 0px;
    right: 0px;
    
}
.tile-coupon {
    position: absolute;
    width: 27px;
    height: 27px;
    bottom: 25px;
    right: 1px;
}
.tile-class {
    border: 1px solid grey;
    display: grid;
    grid-template-rows: 20% 1fr 1%;
    object-fit: contain;
}
.tile:hover{
    border:1px solid white;
}
.tile {
    /*transition: .2s;
    grid-template-rows: 20% 1fr 20%;
    overflow: hidden;
    box-shadow: 0px 0px 4px black;*/
    border-radius: 10px;
    width: 108px;
    height: 140px;
    margin: 3px;
    display: grid;
    object-fit: contain;
    position: relative;
}
.tile-contain {
    object-fit: contain;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0px;
    display: grid;
    grid-template-rows: 20% 1fr 20%;
}
.tile-container {
    border: 1px solid red;
    object-fit: contain;
    margin: 5px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}



.tile-drug-name {
    position: relative;
    text-align: center;
    vertical-align: middle;
    /*color: white;*/
    font-weight: bold;
    font-size: 20px;
    text-shadow: 1px 1px 2px black;
}

    .tile-drug-name h2 {
        position: absolute;
       /* top: 75%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);*/
        width: 97%;
        margin-top: .5em;
        padding: 0;
        font-size: .8em;
    }
    .tile-drug-name h3 {
        position: absolute;
        top: 130%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 97%;
        margin: 0;
        padding: 0;
        font-size: .6em;
    }

.tile-tier2 {
    position: relative;
    text-align: right;
    vertical-align: middle;
    background-color: white;
    margin: 5px;
    border-radius: 0 0 7px 7px;
    bottom: 0px;
    display:grid;
    height:38px;
    top:-20px;
}
.tile-tier {
    position: relative;
    text-align: right;
    vertical-align: middle;
    background-color: white;
    margin: 5px;
    border-radius: 0 0 7px 7px;
    bottom: 0px;
}
.tile-tier img{
    position:absolute;
    float:left;
    top:4px;
    left:-23px;
    width:65% !important;
    height:65% !important;
}
    .tile-tier h2 {
        /*color: lightblue;*/
        position: absolute;
        bottom: 8%;
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: .8em;
        right: 6px;
    }
    .tile-tier2 h2 {
        /*color: lightblue;*/
        position: absolute;
        bottom: 8%;
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: .8em;
        right: 6px;
    }

.tile-procare {
    position: absolute;
    width: 86%;
    bottom: -5px;
    /*background-color: #3E6993;
    color: white;*/
    text-align: right;
    border-radius: 7px 7px 0 0;
    margin: 3px;
    vertical-align: middle;
    padding: 0.2em;
    z-index: 1;
}

    .tile-procare h2 {
        font-size: .75em;
        position: relative;
        width: 100%;
    }



.tile-icon-old {
    height: 100%;
    object-fit: contain;
    background-image: url(https://images.vexels.com/media/users/3/135594/isolated/preview/bdfd2abb53c8631d97c489a07e121c44-icono-de-la-c-psula-by-vexels.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tile-icon1 {
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}
.tile-icon2 {
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
    text-align: center;
}
.tile-icon3 {
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
    text-align: center;
}

.tile-icon-rowspan-1 {
}
.tile-icon-rowspan-2 {
    grid-column: 2 / 2;
}

.tile-icon-rowspan-3 {
    grid-column: 3 / 3;
}

.tile-icon-grid1 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1.5em 1fr;
    height: 100%;
    bottom: 0;
    margin: auto;
    width:100%;
}
.tile-icon-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0m 1fr;
    margin: auto;
}
.tile-icon-grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1.5em 1fr;
    margin: auto;
}

/*
.tile-icon1 {
    height: 100%;
    object-fit: contain;
}*/
.tile-icon1 img {
    width: 49%;
    height: 89%;
    object-fit: contain;
    overflow: hidden;
}
.tile-icon2 img {
    width: 66%;
    height: 90%;
    object-fit: cover;
    overflow: hidden;
}
.tile-icon3 img {
    width: 81%;
    height: 89%;
    object-fit: cover;
    overflow: hidden;
}


.tile-class-name {
    position: relative;
    text-align: center;
    vertical-align: middle;
}

    .tile-class-name h2 {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: 1em;
        color: lightblue;
    }

    .tile-par-banner{
        z-index:1;
        background-color:lightblue;
        width:100%;
        height:100%;
        position:absolute;
        top:0;
        left:0;
        display:block;
        overflow:hidden;
    }

    .tile-par-banner::after{
        content:'';
        background:green;
        position:absolute;
        transform: rotate(45deg) translate(-71%,0);
    }

.tile-mouse-over {
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
    /*z-index:1000;*/
}

.note {
    position: relative;
    overflow: hidden;
}
    .note:before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border-width: 12px;
        border-color: #fff #fff transparent transparent;
        -moz-border-radius: 0 0 0 5px;
        border-radius: 0 0 0 5px;
    }

.note-yellow {
    position: relative;
    overflow: hidden;
}

    .note-yellow:before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border-width: 0 16px 16px 0;
        border-style: solid;
        -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
        -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
        box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
        /* Firefox 3.0 damage limitation */
        display: block;
        width: 0;
        border-color: #fff #fff #658E15 #658E15;
    }
.note-r {
    position: relative;
    overflow: hidden;
}

    .note-r:before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border-width: 0 16px 16px 0;
        border-style: solid;
        -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
        -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
        box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
        /* Firefox 3.0 damage limitation */
        display: block;
        width: 0;
        border-color: #fff #fff transparent transparent;
        border-radius: 0 0 0 5px;
    }


    .note--rounded {
        -moz-border-radius: 20px 0 20px 20px;
        border-radius: 20px 0 20px 20px;
    }

        .note--rounded:before {
            border-width: 12px;
            border-color: #fff #fff transparent transparent;
            -moz-border-radius: 0 0 0 5px;
            border-radius: 0 0 0 5px;
        }

/*
            https://nicolasgallagher.com/pure-css-folded-corner-effect/
        */


.drugPriceResult {
    display: grid;
    grid-template-columns: 75% 1fr;
    grid-template-rows: 2em 1fr;
}



.demo:empty {
    margin: auto;
    width: 500px;
    height: 600px; /* change height to see repeat-y behavior */

    background-image: radial-gradient( circle 50px at 50px 50px, lightgray 99%, transparent 0 ), linear-gradient( 100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 80% ), linear-gradient( lightgray 20px, transparent 0 ), linear-gradient( lightgray 20px, transparent 0 ), linear-gradient( lightgray 20px, transparent 0 ), linear-gradient( lightgray 20px, transparent 0 );
    background-repeat: repeat-y;
    background-size: 100px 200px, /* circle */
    50px 200px, /* highlight */
    150px 200px, 350px 200px, 300px 200px, 250px 200px;
    background-position: 0 0, /* circle */
    0 0, /* highlight */
    120px 0, 120px 40px, 120px 80px, 120px 120px;
    animation: shine 1s infinite;
}

@keyframes shine {
    to {
        background-position: 0 0, 100% 0, /* move highlight to right */
        120px 0, 120px 40px, 120px 80px, 120px 120px;
    }
}

.demo2:empty {
    width: 500px;
    height: 600px; /* change height to see repeat-y behavior */

    background-image: linear-gradient( 100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 80% ), linear-gradient( lightgray 20px, transparent 0 ), linear-gradient( lightgray 20px, transparent 0 ), linear-gradient( lightgray 20px, transparent 0 ), linear-gradient( lightgray 20px, transparent 0 );
    background-repeat: repeat-y;
    background-size: 
    50px 200px, /* highlight */
    150px 200px, 350px 200px, 300px 200px, 250px 200px;
    background-position: 
    0 0, /* highlight */
    120px 0, 120px 40px, 120px 80px, 120px 120px;
    animation: shine2 1s infinite;
}

@keyframes shine2 {
    to {
        background-position: 100% 0, /* move highlight to right */
        120px 0, 120px 40px, 120px 80px, 120px 120px;
    }
}
