/* -------------------------- */
/* Стили для раздела "Запись" */
/* -------------------------- */

#appcontainer {
    background: #F5FCFF !important;
    border: 1px #68b3e7 solid !important;
    font-size: 16px !important;
    padding: 16px 20px !important;
    margin: 18px 0 !important;
    position: relative !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.emias-intro {
    font-weight: 600;
    margin: 10px 4px 30px;
}

.emias-logo {
    width: 138px;
    height: 41px;
    background: url(/css/design2016/img/emias.png) no-repeat;
    float: right;
}

#policy .emias-logo {
    position: relative;
    top: -10px;
}

.emias-oms-serial,
.emias-oms-number,
.emias-birthday {
    float: left;
}

.emias-oms-serial > span,
.emias-oms-number > span,
.emias-birthday > span {
    padding-bottom: 3px;
    display: block;
}

.emias-oms-serial > span i,
.emias-oms-number > span i,
.emias-birthday > span i {
    padding-right: 4px;
    position: relative;
    top: -1px;
}

.emias-oms-serial > input,
.emias-oms-number > input {
    width: 100%;
}

.emias-birthday > input {
    float: left;
}

.emias-birthday > button {
    width: 130px;
    float: right;
}

.emias-oms-serial {
    width: 25%;
    padding-right: 14px;
}

.emias-oms-number {
    width: 35%;
    padding-right: 14px;
}

.emias-birthday {
    width: 40%;
}

.emias-birthday > input {
    width: calc(100% - 144px);
}

.emias-save-in-profile {
    margin-top: 8px;
    padding-left: 2px;
}

.emias-save-in-profile label {
    font-weight: normal;
}

.emias-save-in-profile input {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    position: relative;
    top: 4px;
}

.emias-attention {
    padding-top: 8px;
}

.emias-about {
    border-top: 1px #CCC solid;
    color: #666;
    font-size: 15px;
    padding: 20px 2px 0;
    margin-top: 20px;
}

.emias-about .h2 {
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 4px;
    margin-top: 0;
}

.emias-about .h4 {
    font-size: 15px;
    font-weight: 600;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 4px;
}

.emias-about ul {
    margin-bottom: 4px;
}

.emias-about p {
    font-size: 15px;
    margin-bottom: 12px;
}

.emias-footer {
    padding: 0 2px;
}

.emias-footer .moscow {
    float: left;
}

.emias-footer .moscow a {
    text-decoration: none;
}

.emias-footer .moscow div {
    vertical-align: middle;
    display: inline-block;
}

.emias-footer .moscow .moscow-gerb {
    width: 23px;
    height: 27px;
    background: url(/css/design2016/img/moscow_gerb.png) no-repeat;
    margin-right: 6px;
}

.emias-footer .emias-phone {
    text-align: right;
    padding-top: 3px;
}

/* Загрузка... */

#appcontainer #loading {
    height: 100px;
    background: url(/css/design2016/img/loading.gif) no-repeat center -50px;
    padding-top: 70px;
    display: none;
}

/* Меню ЕМИАС */

#appcontainer #menu {
    border-bottom: 1px #CCC solid;
    padding-bottom: 20px;
    display: none;
}

#appcontainer #menu > .emias-menu-line {
    padding: 4px 0 0 2px;
}

#appcontainer #menu > div > span {
    font-weight: 600;
}

#appcontainer #menu > button {
    margin-top: 20px;
}

/* Расписание ЕМИАС */

#appcontainer #schedule {
    padding: 10px;
}

#appcontainer #schedule h3 {
    color: #444;
    font-family: 'Arimo';
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

#appcontainer #schedule > div {
    margin-left: 30px;
    margin-bottom: 8px;
}

#appcontainer #schedule .list,
#appcontainer #refs .list {
    border-bottom: 1px dashed;
    color: #1d9feb;
    font-size: 18px;
    line-height: 30px;
    text-decoration: none;
    cursor: pointer;
}

#appcontainer #schedule .list:hover {
    color: #23527c;
}

#appcontainer #schedule .list:before {
    width: 17px;
    color: #666;
    content: '+';
    text-align: center;
    position: relative;
    top: 1px;
    display: block;
    float: left;
}

#appcontainer #schedule .list.exp:before {
    content: '-';
    position: relative;
    top: -2px;
}

#appcontainer #schedule .list.doc {
    font-size: 17px;
}

#appcontainer #schedule .loading,
#appcontainer #refs .loading {
    height: 40px;
    background: url(/css/design2016/img/loading.gif) no-repeat -48px -60px;
    padding: 9px 0 0 58px;
    margin: 0;
    display: none;
}

#appcontainer #schedule .wbox,
#appcontainer #refs #info .wbox {
    width: 670px;
    background: #FFF;
    border: 1px #CCC solid;
    padding: 10px;
    margin: 5px 0 10px 16px;
}

#appcontainer #schedule .wbox .calendar,
#appcontainer #refs #info .wbox .calendar {
    margin-right: 10px;
}

#appcontainer #schedule .wbox .daysched,
#appcontainer #refs #info .wbox .daysched {
    font-size: 16px;
    margin-left: 310px;
}

#appcontainer #schedule .wbox .daysched span,
#appcontainer #refs #info .wbox .daysched span {
    width: 52px;
    background: #FFF;
    border: 1px solid;
    color: #1d9feb;
    font-size: 15px;
    padding: 3px 6px;
    margin-top: 5px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease-in-out;
    -webkit-transition-delay: 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

#appcontainer #schedule .wbox .daysched span:hover,
#appcontainer #refs #info .wbox .daysched span:hover {
    background: #417cb8;
    color: #FFF;
}

#appcontainer #schedule .wbox .daysched span.selected,
#appcontainer #refs #info .wbox .daysched span.selected {
    background: #F60;
    color: #FFF;
}

#appcontainer #schedule .wbox .daysched button.createapp,
#appcontainer #refs #info .wbox .daysched button.createapp,
#appcontainer #schedule .wbox .daysched button.shiftapp-2,
#appcontainer #refs #info .wbox .daysched button.createapp {
    margin-bottom: 10px;
}

/* Подтверждение записи */

#appcontainer #confirm {
    font-size: 16px;
    display: none;
}

#appcontainer #confirm .h2 {
    font-size: 18px;
    font-weight: 600;
}

/* Результат записи */

#appcontainer #result {
    padding: 20px 0 0;
    display: none;
}

#appcontainer #result .present {
    color: #666;
    font-size: 15px;
    margin-top: 20px;
}

#appcontainer #result .present i {
    font-size: 18px;
}

#appcontainer #result .present i::before {
    margin: 0 5px 0 0;
}

.emias-get-promocode {
    margin: 50px 0;
    text-align: center;
    position: relative;
}

.promocode-emias {
    width: 225px;
    height: 55px;
    border: 2px #888 dashed;
    font-size: 30px;
    line-height: 51px;
    border-radius: 5px;
    margin: 0 auto;
    position: relative;
}

.btn-promocode-emias {
    width: 225px;
    height: 55px;
    background: #F60 !important;
    border-bottom-color: #D40 !important;
    font-size: 20px;
    padding: 12px 20px 11px;
    position: absolute;
    top: 0;
    left: calc(50% - 112px);
}

.btn-promocode-emias:hover {
    background: #E50 !important;
    border-bottom-color: #C40 !important;
}

.emias-promocode-get {
    margin: 35px 0 25px;
    float: none;
}

.emias-promocode-get > span {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    display: block;
}

.emias-promocode-get > div {
    width: calc(50% - 150px);
    height: 100px;
    font-size: 16px;
    line-height: 24px;
    position: relative;
    float: left;
}

.emias-promocode-get > div::before {
    content: ' ';
    width: 70px;
    height: 70px;
    background: inherit;
    position: absolute;
    display: block;
    transform: rotate(45deg);
}

.emias-promocode-get > div:nth-of-type(odd)::before {
    top: 15px;
    right: -36px;
}

.emias-promocode-get > div:nth-of-type(even)::before {
    top: 15px;
    left: -36px;
}

.emias-promocode-get > div:nth-of-type(odd) {
    background: #94dfff;
    padding: 20px 50px 20px 20px;
    margin: 20px 50px 20px 100px;
}

.emias-promocode-get > div:nth-of-type(even) {
    text-align: right;
    padding: 20px 20px 20px 50px;
    margin: 20px 100px 20px 50px;
}

.emias-promocode-get > div:nth-of-type(2) {
    background: #ffb3b0;
    margin-top: 90px;
}

.emias-promocode-get > div:nth-of-type(3) {
    background: #ffc98b;
    margin-top: -50px;
}

.emias-promocode-get > div:nth-of-type(4) {
    background: #b6ec97;
    margin-top: 20px;
}

.emias-promocode-get > div a {
    color: #23527c;
}

.emias-promocode-get > div span {
    font-size: 26px;
    position: absolute;
    top: 38px;
    display: inline-block;
}

.emias-promocode-get > div:nth-of-type(odd) span {
    right: -15px;
}

.emias-promocode-get > div:nth-of-type(even) span {
    left: -15px;
}

.emias-promocode-get > div i {
    color: #777;
    font-size: 20px;
    position: absolute;
    bottom: 15px;
}

.emias-promocode-get > div:nth-of-type(odd) i {
    left: 14px;
}

.emias-promocode-get > div:nth-of-type(even) i {
    right: 14px;
}

.emias-promocode-how {
    font-size: 16px;
    margin-bottom: 25px;
}

.emias-promocode-image {
    width: 100%;
    height: 300px;
    background: url(/images/emias/emias_promocode_image.jpg) no-repeat;
    background-position: 50% 0;
    background-size: cover;
    box-shadow: inset 0 0 20px 0 rgba(0,0,0,0.3);
}

.btn-emias-gift {
    border-radius: 5px;
    background-color: #68b3e7;
    border-color: #68b3e7;
    margin-right: 15px;
    float: right;
}

.btn-emias-gift i::before {
    font-size: 29px;
    line-height: 17px;
    margin: 0 5px 0 0;
    position: relative;
    top: 3px;
}

.emias-promocode-copy {
    font-size: 16px;
    position: absolute;
    top: 0;
    right: -146px;
}

.emias-promocode-copy.none{
    display: none;
}

.emias-promocode-copy i {
    font-size: 17px;
    margin-right: 5px;
}

.emias-promocode-copy-done {
    width: 100%;
    color: #777;
    font-size: 18px;
    display: none;
    position: absolute;
    top: -30px;
}

/* Записи к врачу */

#appcontainer #apps h3 {
    color: #444;
    font-family: 'Arimo';
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
}

#appcontainer #apps #printAllApps {
    line-height: 17px;
    float: right;
}

#appcontainer #apps .icon-print {
    color: #666;
    font-size: 20px;
    margin-right: 4px;
    position: relative;
    top: -4px;
    float: right;
}

#appcontainer #apps .clinicAppointment {
    background: #FFF;
    border: 2px solid #CCC;
    padding: 15px;
    margin-bottom: 20px;
}

#appcontainer #apps .clinicAppointmentDate {
    background: #CCC;
    margin: -15px -15px 15px -15px;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    padding: 10px 0;
    text-shadow: 2px 2px 2px #fff;
    -moz-text-shadow: 2px 2px 2px #fff;
    -webkit-text-shadow: 2px 2px 2px #fff;
    -khtml-text-shadow: 2px 2px 2px #fff;
}

#appcontainer #apps .clinicAppointmentQR {
    display: inline-block;
    float: right;
}

#appcontainer #apps .fKey {
    display: inline-block;
    vertical-align: top;
    width: 195px;
    padding-bottom: 0;
}

#appcontainer #apps .clinicAppointmentItem {
    margin-bottom: 8px;
}

#appcontainer #apps .clinicAppointmentItem .fValue {
    width: 600px;
    display: inline-block;
    vertical-align: top;
    font-weight: bold;
    padding-bottom: 0;
}

#appcontainer #apps .emailAddress {
    width: 300px;
}

#appcontainer #apps .printEmail,
#appcontainer #apps .printApp,
#appcontainer #apps .appcancel,
#appcontainer #apps .appshift {
    margin-left: 10px;
    position: relative;
    top: -2px;
}

#appcontainer #apps .appshift {
    top: 0;
    float: right;
}

#appcontainer #apps .clinicAppointmentEmail {
    position: absolute;
    font-size: 16px;
    color: #333;
    text-shadow: 2px 2px 2px #fff;
    font-weight: bold;
}

#appcontainer #apps .clinicAppointmentItemAction {
    border-top: 1px #CCC solid;
    padding-top: 20px;
    margin-top: 20px;
}

@media print {

    body * {
        visibility: hidden;
    }

    #section-to-print, #section-to-print * {
        visibility: visible;
    }

    #section-to-print {
        position: fixed;
        left: 0;
        top: 20px;
        width: 95%;
    }

    .clinicAppointmentItemAction {
        display: none;
    }

    .clinicAppointmentItemAction * {
        visibility: hidden !important;
    }

    .clinicAppointment.noPrint {
        display: none;
    }

    #appcontainer #apps .clinicAppointmentItem .fValue {
        width: 360px;
    }

}

#appcontainer #refs h3 {
    color: #444;
    font-family: 'Arimo';
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 15px;
}

#appcontainer #refs #info {
    margin-left: 30px;
    margin-bottom: 8px;
}

#appcontainer #presc h3 {
    color: #444;
    font-family: 'Arimo';
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 15px;
}

/* Доп. стиили */

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    height: 25px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    padding: 1px 5px 0 !important;
    margin: 0 2px !important;
    display: inline-block !important;
}

.ui-datepicker select.ui-datepicker-month {
    width: calc(57% - 5px) !important;
}

.ui-datepicker select.ui-datepicker-year {
    width: calc(43% - 5px) !important;
}

.ui-datepicker a.ui-datepicker-prev,
.ui-datepicker a.ui-datepicker-next {
    top: 3px;
}
