

/* -----------
 *  CONTAINER
 * ----------- */

@media (min-width: 1200px){
    .container {
        width: 1270px;
    }
}


/* -----------
 * LOGIN
 * ----------- */

body.login{
    background: url(../img/app-bg.jpg) #2f4b67 no-repeat;
    background-size: cover;
    text-align: center;
    min-height: 100vh;
}

#logo-login{
    font-family: Times New Roman;
    color: #FFF;
    font-size: 38px;
    line-height: 38px;
    font-weight: normal;
    margin: 90px 0;
}
#logo-login i{
    display: inline-block;
    /* background: white; */
    /* width: 30px; */
    /* height: 30px; */
    border-radius: 30px;
    color: #06987E;
    margin-right: 10px;
}
#logo-login span{font-family: Times New Roman;color: #06987E;}

#logo-login .lativ-logo-new{
    max-width: 430px;
}

#form-login , #form-reset-password{
    background: white;
    width: 360px;
    margin: 0 auto;
    padding: 40px 20px;
}

#form-login h1 , #form-reset-password h1{
    font-size: 24px;
    line-height: 24px;
    font-weight: 300;
    color: #000;
    margin: 0;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.alert {
    padding: 15px;
    margin: 20px 0;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    text-align: left;
}

.form-errors{
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.form-errors li{}

@media(max-width: 500px){
    #form-login, #form-reset-password{
        width: 100%;
    }

    #logo-login{
        margin: 50px 0 70px;
    }
}

/* -----------
 * INSTITUTION SELECTOR 
 * ----------- */

.select-institution{
    background: white;
    width: 100%;
    display: inline-block;
    padding: 40px;
    margin: 20px 0;
}
.select-institution h2{
    font-size: 24px;
    font-weight: 300;
    color: #000;
    margin: 0 0 20px 0;
    min-height: 68px;
}

.select-institution a.unit-selector{
    display: block;
    transition: .2s all ease-in-out;

}.select-institution a.unit-selector:hover{
    display: block;
    opacity: 0.7;
}

.select-institution img.unit-selector{

    width: 100%;
    margin-bottom: 30px;
    max-height: 80px;
    vertical-align: top;
}

@media(max-width: 500px){

    #logo-login.unit-selector-login{
        padding: 0 56px;
        margin-bottom: 30px;
    }


    .select-institution{
        padding: 20px 10px;
    }
    .select-institution img.unit-selector{
        max-height: 40px;
    }
}

/* -----------
 * HEADER APP
 * ----------- */

.logo-header{
    font-family: Times New Roman;
    font-size: 26px;
    color: #000;
    display: inline-block;
    padding: 10px 0 20px;
}
.logo-header .lativ-logo-new{
    width: 200px;
}
.logo-header i{
    color:#06987E;
    font-size: 44px;
    float: left;
    margin-right: 5px;
    margin-top: -4px;
}
.logo-header span{
    font-family: Times New Roman;
    color:#06987E;
    font-size: 26px;
}
.header-actions{
    background: #EFF4F2;
}

.header-actions-bt{
    color: #C6C6C6;
    padding: 10px 0;
    text-align: right;
}
/* -----------
 *  HEADER NAV
 * ----------- */

#header-nav{padding: 0; margin: 0; list-style: none;float: right;}
#header-nav li{display: inline-block;margin-left: 20px;}
#header-nav li a{color: #898989;font-size: 14px;display: block;padding-top: 15px;}

#header-nav li a:hover{
    color: #ff9708;
}
#header-nav li a:hover svg{
    fill:#ff9708;
}

#header-nav li a span{
    float: right;
    margin-left: 5px;
    margin-top: 2px;
}

#header-nav svg{fill:#c1c1c1;}

.header-active-data{
    float: right;
}

#header-nav li.mi-cuenta span{}
#header-nav li.notificaciones span{}
#header-nav li.salir span{}
#header-nav li.institucion span{
    margin-top: 0px;
}

.notification-menu-item.has-notifications svg{
    fill: red !important;
    animation: blink-animation 2s  infinite;
    -webkit-animation: blink-animation 2s infinite;
}


@keyframes blink-animation {
    to {
        opacity:0;
    }
}
@-webkit-keyframes blink-animation {
    to {
        opacity:0;
    }
}


.header-navigation{
    background: #19D8DD;
}
.header-area{
    border-bottom: 1px solid #eaeaea;
    position: relative;
}
.header-menu{
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.header-menu li{
    display: inline-block;
}
.header-menu li a{
    display: inline-block;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navigation-menu{}
.navigation-menu li a{
    color: white;
    padding: 15px 13px;
    margin: 0 0;
    border-bottom: 4px solid #19D8DD;
}
.navigation-menu li.active a , .navigation-menu li a:hover{
    color: #004560;
    border-bottom: 4px solid #004560;
}
.area-menu{
    overflow: hidden;
    min-height: 51px;
}
.area-menu li a{
    color: #B5B5B5;
    padding: 17px 0;
    margin: 0 20px;
}
.area-menu li.active a , .area-menu li a:hover{
    color: #19D8DD;
}

.area-menu li.area-loading{
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    top: 0;
}
.area-menu li.area-loading:hover{color: #B5B5B5;}

/* -----------
 * MAIN CONTENT APP
 * ----------- */

.main-content-title{
    font-size: 32px;
    font-weight: 300;
    color: #828282;
}
.main-content-title button{
    float: right;
    background:#19D8DD;
    color: white;
    font-size: 14px;
    border-color: #19D8DD;
}


/* -----------
 * PATIENT LIST
 * ----------- */

#form-search-patients{
    clear: both;
    margin-top: 30px;
    margin-bottom: 10px;
    overflow: hidden;
}
#form-search-patients input{
    border-color: #d1d1d1;
    height: 40px;
    font-size: 14px;
    color: #7a7a7a;
    background-image: url(../../shared/img/search.png);
    background-repeat: no-repeat;
    background-position: 12px 50%;
    padding-left: 35px;
    width: 100%;
}

.patient-list{
    list-style: none;
    padding: 0;
    margin:0;
    margin-top: 20px;
}

.patient-list .patient-container{
    width: 100%;
}

.patient{
    background: #EFF4F2;
    border-radius: 4px;
    padding: 16px 10px;
    clear: both;
    margin-bottom: 20px;
    position: relative;
}

.patient-container{
    display: table;
    width: 95%;
    min-height: 50px;
}

.patient-container .institution-name{
    width: 100px;
}
.patient-container .area-name{}
.patient-container .patient-name{}

.patient-container .btn-success{
    margin-left: 10px;
}

.patient-status,.patient-name, .institution-name, .area-name, .patient-prescriptions,.patient-actions{
    display: table-cell;
    vertical-align: middle;
    width: 291px;
}

.patient-prescriptions{width: auto;}

.patient-status i{
    color: #3E5860;
    font-size: 31px;
    float: left;
    margin-right: 10px;
}

.title-prescriptions{margin: 0;}
#form-search-prescriptions{
    clear: both;
    margin-top: 30px;
    margin-bottom: 10px;
    overflow: hidden;
}
#form-search-prescriptions input{
    border-color: #d1d1d1;
    height: 40px;
    font-size: 14px;
    color: #7a7a7a;
    background-image: url(../../shared/img/search.png);
    background-repeat: no-repeat;
    background-position: 12px 50%;
    padding-left: 35px;
    width: 100%;
}




.patient.active .patient-status i {
    color: #6CC722;
}
.patient.released .patient-status i{
    color: #D00006;
}

.patient-status{width: 50px;}

.active-patient-list .patient-container{width: 95%}

.active-patient-list .patient-status{
    width: 5%;
    position: relative;
    cursor: pointer;
    padding: 0;
    display: block;
    float: left;
    margin-top: -10px;
    margin-bottom: -10px;
    margin-left: -10px;
    margin-right: 10px;
    padding-top: 19px;
    padding-left: 14px;
    height: 70px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.active-patient-list .patient-status:hover{
    webkit-box-shadow: inset -5px 0px 13px -10px rgba(113, 110, 110, 0.75);
    -moz-box-shadow: inset -5px 0px 13px -10px rgba(113, 110, 110, 0.75);
    box-shadow: inset -5px 0px 13px -10px rgba(113, 110, 110, 0.75);
}
.active-patient-list .patient-status.active{
    -webkit-box-shadow: inset -5px 0px 20px -10px rgba(113, 110, 110, 0.75);
    -moz-box-shadow: inset -5px 0px 20px -10px rgba(113, 110, 110, 0.75);
    box-shadow: inset -5px 0px 20px -10px rgba(113, 110, 110, 0.75);
}

.active-patient-list .patient-status:after{
    content: '\25BC';
    color: #3e5860;
    font-size: 10px;
    line-height: 28px;
    position: absolute;
    top: 19px;
    left: 30px;
}

.patient-status-menu{
    position: absolute;
    top: 76px;
    width: 225px;
    background: #eff4f2;
    border-radius: 4px;
    box-shadow: 0px 0px 5px #B9B9B9;
    left: -1px;
    padding: 19px 10px;
    z-index: 10;
    color: #3e5860;
    font-size: 13px;
}

.patient .patient-status-menu .lativ-patient{
    color: red !important;
}

.patient .patient-status-menu .lativ-patient-edit{
    color: #19D8DD !important;
}

.patient .patient-status-menu .lativ-patient-no-prescribe{
    color: #B1B1B1 !important;
}

.patient-status-menu button{
    background: none;
    border: none;
    line-height: 31px;
    margin-top: 8px;
}

.patient-status-menu button:first-child {
    margin-top: 0;
}

.patient-name {
    width: 166px;
}
.patient-name h4{
    margin: 0;
}

.patient-prescription-list{
    list-style: none;
    padding: 0;
    margin: 0;
}

.patient-prescription-list li{
    display: inline-block;
}
.prescription-item{
    width: 150px;
    background: #C7CCCA;
    border-radius: 4px;
    padding: 5px 5px;
    text-align: center;
    float: left;
    color: white;
    font-size: 14px;
    margin-right: 5px;
    cursor: pointer;
    transform: scale(1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    border: none;
    position: relative;
}
.multiple-warning{
    background: #ea4743;
    padding: 10px;
    color: white;
    font-size: 16px;
    text-align: center;
}
.multiple-bag{
    border-top: 2px solid #ff9708;
    border-bottom: 2px solid #ff9708;
    padding: 2px;
    margin-top: 2px;
    margin-bottom: -4px;
}
.multiple-bag.multiple-first{
    border-left: 2px solid #ff9708;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;

}
.multiple-bag.multiple-last{
    border-right: 2px solid #ff9708;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;  
    margin-right: 5px;
}
.multiple-bag.multiple-last .prescription-item{
    margin-right: 0;
}

.patient-prescription-list-prescribed .multiple-bag.multiple-last , .patient-prescription-list-prescribed .multiple-bag , .patient-prescription-list-prescribed .multiple-bag.multiple-first{
    border-color: #0698b1;
}

.prescription-item.taken{opacity: 0.5;}

.prescription-item:hover{
    transform: scale(1.05);
}
.prescription-item.taken:hover{
    transform: scale(1);
}

.prescription-item.pending{
    background-color: #FF9708;
}
.prescription-item.approved{
    background-color: #0698b1;
}
.prescription-item.rejected{
    background-color: #D00006;
}

.prescription-item-doctor-name{
    font-size: 14px;
    line-height: 14px;
}
.prescription-item-date{font-weight: bold;}

.patient-actions{

    text-align: right;}

.btn-suspend{}

.patient-available-bags{
    position: absolute;
    bottom: 2px;
    right: 3px;
    color: red;
    font-size: 12px;
}

.patient-available-bags-prescription{
    color: red;
    font-size: 12px;
}



/* -----------
 *  SUSPEND PATIENT POPUP
 * ----------- */

#suspend-patient{
    background: white;
    width: 800px;
    margin : 0 auto;
    padding: 40px;
    margin-top: 80px;
}
#suspend-patient h3{
    color: #828282;
    font-size: 26px;
    font-weight: 300;
    margin: 0;
}
#suspend-patient textarea{
    width: 100%;
    margin: 20px 0;
    height: 75px;
}
#suspend-patient button{}

/* -----------
 *  SKIP TODAY'S PATIENT PRESCRIPTION POPUP
 * ----------- */
#skip-patient-prescription {
    background: white;
    width: 800px;
    margin: 0 auto;
    padding: 40px;
    margin-top: 80px;
}
#skip-patient-prescription textarea{
    width: 100%;
    margin: 20px 0;
    height: 75px;
}
#skip-patient-prescription h3 {
    color: #828282;
    font-size: 26px;
    font-weight: 300;
    margin: 0 0 20px 0;
}

/* -----------
 *  ADMIN DATE OVERLAP POPUP
 * ----------- */
#prescription-administration-date-overlap-confirmation{
    background: white;
    width: 800px;
    margin : 0 auto;
    padding: 40px;
    margin-top: 80px;
}
#prescription-administration-date-overlap-confirmation h3{
    color: #828282;
    font-size: 26px;
    font-weight: 300;
    margin: 0 0 20px 0;
}

/* -----------
 *  ADMIN NOTIFICATIONS POPUP
 * ----------- */

.popup-admin-notifications{/* display: none; */position: fixed !important;visibility: hidden;}

.popup-admin-notifications.visible{/* visibility: visible; */}

.popup-admin-notifications a{
    display: inline-block !important;
    float: right;
    color: #FFF !important;
    padding-top: 9px !Important;
    margin-top: 20px;
}

/* -----------
 *  DUPLICATE PRESCRIPTION
 * ----------- */

#duplicate-prescription{
    background: #fb7e0c;
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
}
#duplicate-inner{
    margin-top: 0;
    padding: 0px 55px;
}
#duplicate-inner h3{
    margin: 0;
    display: inline-block;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    margin-right: 18px;
}
#duplicate-inner button{
    background: #000000;
    color: white;
    border: none;
    border-radius: 4px;
    height: 26px;
    width: 31px;
}
#duplicate-inner button:hover{
    background: #484646;
}
#duplicate-inner a{
    display: inline-block;
    margin-top: 2px;
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
}
#duplicate-inner a:hover{
    color: #168E9A;
}
/* -----------
 * PRESCRIPTION SCREEN
 * ----------- */

.prescription-screen{
    background: #0E1828;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

/* -----------
 *  PRESCRIPTION FORM
 * ----------- */

.formPreSend .ng-invalid , .formPreSend .ng-invalid + span{border:1px solid red;}

.prescription-invalid {
    text-align: left;
    font-size: 16px;
    padding-top: 30px;
}
.prescription-invalid span{
    color: red;
}

/* -----------
 *  PRESCRIPTION FIXED DATA
 * ----------- */
#prescripcion-fixed-data{
    background: #079FB9;
    position: absolute;
    top: 132px;
    left: 0;
    right: 0;
    text-align: left;
    width: 630px;
    margin: 0 auto;
    padding: 10px 40px;
    z-index: 20;
    opacity: 0;
    transition: opacity .5s  ease;
}
#prescripcion-fixed-data span{
    color: white;
    width: auto;
    display: inline-block;
    margin-right: 20px;
}

#prescripcion-fixed-data.fixedData{
    top: 0;
    opacity: 1;
    position: fixed;
}



/* -----------
 * PRESCRIPTION HISTORY
 * ----------- */

.popup.popup-show-patient{
    position: fixed;
}

.prescription-list{list-style: none;margin: 0;padding: 0;margin-top: 20px;}

.prescription-list .prescription{
    color: white;
    font-weight: 400;
    font-size: 15px;
    border-radius: 4px;
    padding: 7px 15px;
    margin: 15px 0;
}
.prescription-list .prescription-container{display: table;width: 100%;}


.prescription-container .institution-name, .prescription-container .area-name, 
.prescription-container .patient-name, .prescription-container .doctor-name, 
.prescription-container .prescription-actions{display: table-cell;}


.prescription-container .institution-name{
    width: 200px;
}
.prescription-container .area-name{
    width: 160px;
}
.prescription-list .prescription-container h4{
    font-size: 14px;
    font-weight: 400;
}
.prescription-container .doctor-name{}
.prescription-container .prescription-actions{text-align: right;}

.prescription-list .prescription.approved{background: #0698b1;}
.prescription-list .prescription.rejected{background: #d00006;}
.prescription-list .prescription.pending{background: #ff9708;}
.prescription-list .prescription.suspended{background: #929292;}



/* -----------
 *  AFTER HOURS
 * ----------- */


#after-hours{
    background: white;
    width: 770px;
    margin: 0 auto;
    padding: 55px 80px;
    margin-top: 10vh;
}
#after-hours h3{
    margin: 0;
    font-size: 26px;
    font-weight: 300;
    color: #0e1828;
    text-transform: uppercase;
    margin-bottom: 6px;
}
#after-hours p{
    color: #828282;
    font-size: 26px;
    font-weight: 300;
    margin: 0;
    line-height: 32px;
}
#after-hours button{text-transform: uppercase;/* background: #6cc722; *//* border: #6cc722; */border-radius: 0;height: 50px;font-size: 14px;width: 160px;margin-bottom: 40px;margin-top: 35px;}
#after-hours h5{
    margin: 0;
    color: #828282;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
}


/* -----------
 *  NOTIFICATION POPUP
 * ----------- */

#changes-notification-popup{
    background: white;
    width: 770px;
    margin: 0 auto;
    padding: 55px 80px;
    margin-top: 10vh;
}
#changes-notification-popup h3{
    margin: 0;
    font-size: 26px;
    font-weight: 300;
    color: #0e1828;
    text-transform: uppercase;
    margin-bottom: 6px;
}
#changes-notification-popup p{
    color: #828282;
    font-size: 26px;
    font-weight: 300;
    margin: 0;
    line-height: 32px;
}
#changes-notification-popup button{text-transform: uppercase;/* background: #6cc722; *//* border: #6cc722; */border-radius: 0;height: 50px;font-size: 14px;width: 160px;}
#changes-notification-popup h5{
    margin: 0;
    color: #828282;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
}

.notification-popup-actions{
    text-align: right;
    padding: 40px 0 0;
}

/* -----------
 *  MULTIPLE PRESCRIPTION DAYS
 * ----------- */

.popup-container.multiple-days{
    width: 50vw;
}

.prescribe-multiple-days-container{
    background: white;
    /* padding: 23px 45px; */
    width: auto !important;
    position: relative;
    /* width: 48vw; */
    margin: 0 auto;
    padding: 1px;
}
.prescribe-multiple-days-container .btn-sm{
    position: absolute;
    right: 15px;
    top: 15px;
}

.prescribe-multiple-days-container h2{
    color: #828282;
    font-size: 32px;
    font-weight: 300;
    margin: 0;
    margin-top: 23px;
    text-align: center;
}

.prescribe-multiple-days{
    padding: 0;
    margin: 0;
    list-style: none;
    width: auto;
    margin-top: 25px;
    padding: 40px;
    padding-top: 0;
    vertical-align: top;
    overflow: hidden;
}
.prescribe-multiple-days .day{
    margin-right: 15px;
    float: left;
}
.prescribe-multiple-days .day .day-header{
    background: #19d8dd;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 5px 0;
}
.prescribe-multiple-days .day .day-body{
    background: #eff4f2;
    text-align: center;
    padding: 25px 23px 16px;
    height: 141px;
    width: 197px;
    margin-bottom: 15px;
}
.prescribe-multiple-days .day .day-body .btn{
    display: block;
    margin: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

/* -----------
 *  MY ACCOUNT
 * ----------- */

.my-account{}
.my-account h2{
    font-size: 32px;
    font-weight: 300;
    color: #828282;
}
.my-account h3{color: #828282;font-weight: bold;font-size: 16px;text-transform: uppercase;}
.account-data{list-style: none;padding: 0;margin: 0; width: 100%;background: #eff4f2;border-radius: 3px; padding: 10px;}
.account-data li{display: inline-block;margin-right: 40px;width: 155px;}
.account-data li h4{
    margin: 0;
    color: #929393;
    font-size: 18px;
    font-weight: 400;
}
.account-data li span{
    color: #0698b1;
    font-size: 18px;
    font-weight: 400;
}


#form-change-password{
    width: 400px;
}
#form-change-password input{
    width: 100%;
    margin-bottom: 20px;
    font-size: 14px;
    padding: 9px 5px;
    border: 1px solid #b8b9b5;
}
#form-change-password button{background: #19d8dd;color: white}
#form-change-password button:hover{background: #19E7EC;color: white}


/* -----------
 *  NOTIFICATION LIST
 * ----------- */


.notification-list{
    list-style: none;
    padding: 0;
    margin: 0;
}
.notification-item{background: #eff4f2;clear: both;padding: 15px 20px;margin-bottom: 20px;border-radius: 3px;}
.notification-item.unread{background: #ff4c08;}
.notification-date{float: left;width: 160px;color: #3e5860;font-size: 15px;margin-top: 8px;}
.notification-title{float: left;color: #3e5860;      font-size: 15px;margin-top: 8px;}
.notification-item button{float: right;}

.notification-item.unread .notification-date{color: white;}
.notification-item.unread .notification-title{color: white;}


/* -----------
 *  NOTIFICATION POPUP
 * ----------- */

#notification-pop{
    background: white;
    width: 600px;
    margin: 0 auto;
    padding: 50px;
    margin-top : 10vh;
}

#notification-pop .notification-title{
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 300;
}
#notification-pop .notification-text{
    font-weight: 300;
    font-size: 16px;
}