@import url('https://fonts.googleapis.com/css?family=PT+Sans+Narrow');

@font-face{
    font-family:'atlas';
    font-weight:300; /*(light)*/
    font-style: normal;
    src: url('../fonts/atlas-aaa-300.eot');
    src: url('../fonts/atlas-aaa-300.eot?#iefix') format('embedded-opentype'),
    url('../fonts/atlas-aaa-300.ttf') format('truetype'),
    url('../fonts/atlas-aaa-300.woff') format('woff');
}
@font-face{
    font-family:'atlas';
    font-weight:400; /*(regular)*/
    font-style: normal;
    src: url('../fonts/atlas-aaa-400.eot');
    src: url('../fonts/atlas-aaa-400.eot?#iefix') format('embedded-opentype'),
    url('../fonts/atlas-aaa-400.ttf') format('truetype'),
    url('../fonts/atlas-aaa-400.woff') format('woff');
}
@font-face{
    font-family:'atlas';
    font-weight:500; /*(medium)*/
    font-style: normal;
    src: url('../fonts/atlas-aaa-500.eot');
    src: url('../fonts/atlas-aaa-500.eot?#iefix') format('embedded-opentype'),
    url('../fonts/atlas-aaa-500.ttf') format('truetype'),
    url('../fonts/atlas-aaa-500.woff') format('woff');
}
@font-face{
    font-family:'atlas';
    font-weight:700; /*(bold)*/
    font-style: normal;
    src: url('../fonts/atlas-aaa-700.eot');
    src: url('../fonts/atlas-aaa-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/atlas-aaa-700.ttf') format('truetype'),
    url('../fonts/atlas-aaa-700.woff') format('woff');
}
@font-face{
    font-family:'atlas';
    font-weight:900; /*(black)*/
    font-style: normal;
    src: url('../fonts/atlas-aaa-900.eot');
    src: url('../fonts/atlas-aaa-900.eot?#iefix') format('embedded-opentype'),
    url('../fonts/atlas-aaa-900.ttf') format('truetype'),
    url('../fonts/atlas-aaa-900.woff') format('woff');
}

@font-face{
    font-family:'stanga';
    font-weight:400; /*(regular)*/
    font-style: normal;
    src: url('../fonts/stanga-aaa-400.eot');
    src: url('../fonts/stanga-aaa-400.eot?#iefix') format('embedded-opentype'),
    url('../fonts/stanga-aaa-400.ttf') format('truetype'),
    url('../fonts/stanga-aaa-400.woff') format('woff'),
    url('../fonts/stanga-aaa-400.svg#stanga-regular') format('svg');
}
@font-face{
    font-family:'stanga';
    font-weight:700; /*(bold)*/
    font-style: normal;
    src: url('../fonts/stanga-aaa-700.eot');
    src: url('../fonts/stanga-aaa-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/stanga-aaa-700.ttf') format('truetype'),
    url('../fonts/stanga-aaa-700.woff') format('woff'),
    url('../fonts/stanga-aaa-700.svg#stanga-bold') format('svg');
}

/*
@font-face {
    font-family: 'opensansemoji';
    src: url('../fonts/opensansemoji-webfont.woff2') format('woff2'),
    url('../fonts/opensansemoji-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'emojione';
    src: url('../fonts/emojione-svg.woff2') format('woff2'),
    url('../fonts/emojione-svg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
*/
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?owtje0');
    src:  url('../fonts/icomoon.eot?owtje0#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?owtje0') format('truetype'),
    url('../fonts/icomoon.woff?owtje0') format('woff'),
    url('../fonts/icomoon.svg?owtje0#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-big:before {
    content: "\e900";
}
.icon-dry:before {
    content: "\e901";
}
.icon-small:before {
    content: "\e903";
}
.icon-left:before {
    content: "\e904";
}
.icon-right:before {
    content: "\e905";
}
.icon-fly:before {
    content: "\e902";
}


html {
    position: relative;
    min-height: 100%;
}

body, p {
    font-family:'atlas', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size:23px;
    color: #184e67;
    line-height: 1.3;
}

body {
    padding-bottom: 150px;
}

a {
    color: #184e67;
}

input {
    font-family:'atlas', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3{
    font-family:'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.container {
    position: relative;
}

body.doctors {
    background: #f8f4f2;
}

.navbar {
    background: #ff6300;
    margin-bottom: 40px;
}

.navbar-brand {
    background: url(/images/logo.png);
    width: 427px;
    height: 68px;
}

.navbar-nav {
    float: left;
}

.navbar-default .navbar-nav > li {
    border-left: 1px solid #efe6e1;
    padding: 0 1em;
}

.navbar-default .navbar-nav > li:last-child {
    border-left: none;
}

.navbar-default .navbar-nav > li > a {
    display: inline-block;
    line-height: 68px;
    color: #fde6d6;
    font-size: 21px;
    font-weight: 200;
    padding: 0 30px 0 0;
    position: relative;
}

.navbar-default .navbar-nav > li > a.logout:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 16px;
    background: url(/images/icons.png) no-repeat -65px -292px;
}

.navbar-default .navbar-nav > li > a.profile_edit:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 16px;
    background: url(/images/icons.png) no-repeat -105px -292px;
}


footer {
    background-color: #f5f5f5;
    margin-top: 40px;
}


form.fancy {
    /*background: #ff6300;*/
    max-width: 600px;
    margin: 0 auto;
    padding: 1em;
}

form.fancy h1 {
    color: #ff6300;
    font-size: 45px;
    border-top: 2px solid #ff6300;
    border-bottom: 2px solid #ff6300;
    padding: 26px 0 20px;
    line-height: 1;
    margin: 20px 0 30px;
    font-weight: bold;
}

form.fancy h3 {
    color: #ff6300;
    font-size: 36px;
    font-weight: bold;
}

form.fancy a {
    color: #ff6300;
}

form.fancy label,
form.fancy h4,
form.fancy p,
form.fancy fieldset legend {
    color: #ff6300;
    display: block;
    font-size: 30px;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
}

form.fancy label {
    margin-bottom: 0;
}

form.fancy p,
form.fancy fieldset {
    margin: 0 0 20px;
}

form.fancy fieldset legend {
    margin: 0 0 10px;
}

form.fancy input[type="text"],
form.fancy input[type="email"],
form.fancy input[type="password"],
form.fancy select,
form.fancy textarea {
    width: 100%;
    color: #ff6300;
    background: white;
    border: 1px solid #c8cac5;
    display: block;
    font-size: 30px;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 5px 10px;
    box-sizing: border-box;
    height: auto;
    border-radius: 0;
    line-height: 1;
    box-shadow: none;
}

form.fancy input[type="email"],
form.fancy input[type="password"],
form.fancy input.en[type="text"] {
    font-family: 'PT Sans Narrow', sans-serif;
    direction: ltr;
    font-size: 26px;
}

form.fancy .form-control[disabled] {
    opacity: 0.5 !important;
}

form.fancy textarea {
    height: 200px;
}

form.fancy input[type="text"]:focus,
form.fancy input[type="email"]:focus,
form.fancy input[type="password"]:focus,
form.fancy select:focus,
form.fancy textarea:focus {
    border-color: #ff6300;
}

form.fancy input[type="submit"] {
    width: 100%;
    border: none;
    display: block;
    font-size: 30px;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 15px 10px;
    box-sizing: border-box;
    margin: 50px 0 20px;
    background: #ff6a0d;
    color: white;
}

form.fancy input[type="submit"]:hover,
form.fancy input[type="submit"]:focus {
    background: #efe5e1;
    color: #ff6a0d;
}

form.fancy .back {
    width: 100%;
    border: none;
    color: #ff6a0d;
    display: block;
    font-size: 30px;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #f6a780;
    padding: 15px 10px;
    box-sizing: border-box;
    margin: 50px 0 20px;
    text-align: center;
}


form.fancy .error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #f2eae7;
    color: #eb0000;
    font-size: 34px;
    text-align: center;
    display: none;
    line-height: 100px;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

form.fancy .form-group {
    margin-bottom: 20px;
}

form.fancy .error:before {
    content: "✕";
    display: inline-block;
    line-height: 1;
    margin-left: 15px;
    padding-top: 5px;
    vertical-align: middle;
}

div.ui-datepicker {
    background: #f1f5f8;
    box-shadow: 0 0 5px grey;
}

div.ui-datepicker .ui-datepicker-header {
    background: #dfedf8;
    text-align: center;
    border: none;
    border-radius: 0;
}

div.ui-datepicker table,
div.ui-datepicker table tr {
    border: none;
}

div.ui-datepicker table td,
div.ui-datepicker table th {
    padding: 0 5px;
    text-align: center;
    background: #e3f1fa;
}

div.ui-datepicker table td.ui-datepicker-unselectable,
div.ui-datepicker table th {
    background: #f1f5f8;
    color: #6a2b34;
}

div.ui-datepicker table td a {
    color: #5a8bc6;
    padding: 0 !important;
    border: none !important;
    font-weight: normal !important;
    background: none !important;
}

div.ui-datepicker .ui-datepicker-next,
div.ui-datepicker .ui-datepicker-prev {
    display: none;
}

div.ui-datepicker a {
    font-size: 18px;
}

.chosen-container {
    font-size: inherit;
}

.chosen-container-single .chosen-single,
.chosen-container-active.chosen-with-drop .chosen-single {
    width: 100%;
    border: 1px solid #c8cac5;
    color: #ff6300;
    background: white;
    display: block;
    font-size: 30px;
    font-family: "stanga", sans-serif !important;
    padding: 5px 10px;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 0;
    height: auto;
    line-height: inherit;
}

.chosen-container .chosen-drop {
    border: 1px solid #c8cac5;
    color: #ff6300;
    background: white;
    border-radius: 0;
    box-shadow: none;
}

.chosen-container .chosen-results li {
    line-height: 1;
    color: inherit;
}

.chosen-container .chosen-results li.highlighted {
    background: #ff5d0d;
}

.chosen-rtl.chosen-container-single .chosen-single div b {
/*    background-position: 6px 11px;*/
    background: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #ff6200 transparent transparent transparent;
    top: 50%;
    position: absolute;
    margin-top: -3px;
}

.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
    background: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 6px 5px;
    border-color: transparent transparent #ff6200 transparent;
    top: 50%;
    position: absolute;
    margin-top: -3px;
}

form.fancy.red {
    background: #ff6300;
    color: white ;
}

form.fancy.red h1,
form.fancy.red h3,
form.fancy.red h4,
form.fancy.red p,
form.fancy.red a,
form.fancy.red label,
form.fancy.red fieldset legend {
    color: white;
    border-color: white;
}


form.fancy.red .chosen-container-single .chosen-single,
form.fancy.red .chosen-container-active.chosen-with-drop .chosen-single,
form.fancy.red input[type="text"],
form.fancy.red input[type="email"],
form.fancy.red input[type="password"],
form.fancy.red select,
form.fancy.red textarea {
/*    background: #f6a780;
    color: white;*/
    color: #ff6300;
    border: none;
}

form.fancy.red input[type="text"].form-control:focus,
form.fancy.red select.form-control:focus,
form.fancy.red textarea.form-control:focus {
    /*background: #fa874f;*/
    box-shadow: none;
}

form.fancy.red input[type="submit"] {
    color: #ff6a0d;
    background: white;
}

form.fancy.red input[type="submit"]:hover,
form.fancy.red input[type="submit"]:focus {
    color: #ff6a0d;
    background: #efe5e1;
}

form.fancy.red .back {
    background: #f6a780;
    color: white;
}

form.fancy.red .back:hover,
form.fancy.red .back:focus {
    background: #fa8540;
    text-decoration: none;
}

.change_date {
    cursor: pointer;
}

.change_date.disabled {
    cursor: default;
    opacity: 0.2;
}
/*
#notices {
    font-weight: 500;
}

#notices .readed {
    font-weight: 300;
}
*/

#send-wait {
    color: #89cff2;
}

#send-ok {
    color: #18c591;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 40px;
    position: absolute;
    right: 10px;
    top: -3px;
    padding-right: 50px;
    display: inline-block;
    line-height: 1;

}

#send-ok:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    background: url(/images/icons.png) no-repeat -386px -233px;
    width: 35px;
    height: 30px;
}



.panel-heading {
    background: #f2eae7;
    padding: 25px;
}

.panel-body {
    background: #f8f4f2;
    padding: 25px;
}

.welcome {
    color: #ccc2c1;
    font-size: 20px;
    text-align: center;
}

.send {
    font-size: 20px;
}

#send {
    padding-right: 43px;
    line-height: 30px;
    position: relative;
    display: inline-block;
    font-weight: 500;
    cursor: pointer;
}

#send:before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: url(/images/icons.png) no-repeat -113px -235px;
}

#send:hover {
    color: #9595a0;
}

#send:hover:before {
    background-position: -166px -237px;
}


#message {
    font-size: 20px;
    color: #ff6300;
    padding-right: 43px;
    line-height: 30px;
    position: relative;
    display: inline-block;
    font-weight: 500;
}

#message:before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: url(/images/icons.png) no-repeat -36px -235px;
}

h2 {
    font-size: 86px;
    text-align: center;
    font-weight: bold;
}

.datablock {
    width: 480px;
    margin: 0 auto;
}

#info {
    text-align: center;
}

.change_date {
    display: inline-block;
    font-size: 70px;
    background: none;
    line-height: 0;
    vertical-align: middle;
    border: none;
    transition: 0.5s transform;
    color: #b9b3b9;
    padding: 0;
}
/*
.change_date:hover {
    transform: scale(1.2);
    transition: 0.5s transform;
}

.change_date.disabled:hover {
    transform: none !important;
}
*/

#selected_date {
    font-size: 42px;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #ccc5c7;
    vertical-align: middle;
    margin: 0 40px;
    width: 220px;
    display: inline-block;
}

.obs {
    width: 480px;
    margin: 0 auto;
}

.obs .row {
    border-top: 1px solid #bab2b6;
    margin-bottom: 30px;
}

.obs .col-xs-4 {
    border-left: 1px solid #bab2b6;
    height: 120px;
    text-align: center;
}

.obs .col-xs-4:last-child {
    border-left: none;
}

.obs button {
    border: none;
    background: none;
    font-size: 29px;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: center;
    width: 80px;
    height: 90px;
    padding: 60px 0 0;
    margin-top: 20px;
    color: #b9b3b9;
    transition: transform 0.5s;
    position: relative;
/*    -webkit-font-smoothing: antialiased;
    -webkit-transform: translateZ(0px);*/
}

.obs button span {
    position: absolute;
    left: 0;
    right: -3px;
    top: -20px;
    text-align: center;
    /*    -webkit-font-smoothing: antialiased;
        -webkit-transform: translateZ(0px);*/
    -moz-animation-duration: 0.75s;
    -webkit-animation-duration: 0.75s;
    animation-duration: 0.65s;
    -moz-animation-delay: 0s;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.obs button span:before {
    font-family: 'icomoon';
    font-size: 85px;
    text-align: center;
/*    -webkit-font-smoothing: antialiased;
    -webkit-transform: translateZ(0px);*/
}

button:focus,
input[type="submit"] {
    outline: none;
}

.obs button[data-wet="-"] {
    padding-top: 15px;
    text-align: right;
    font-size: 42px;
    color: #184e67;
    cursor: default;
    line-height: 1;
}

.obs button[data-wet="-"] span:before {
    display: none;
}

.obs button[data-wet="0"] span:before {
    content: "\e901";
}

.obs button[data-wet="1"] span:before {
    content: "\e903";
}

.obs button[data-wet="2"] span:before {
    content: "\e900";
}

.obs button.checked {
    color: #386076;
}

.obs button[data-wet="0"].checked,
.obs.patient button[data-wet="0"]:hover {
    color: #ff6300;
}

.obs button[data-wet="1"].checked,
.obs.patient button[data-wet="1"]:hover  {
    color: #acceb9;
}

.obs button[data-wet="2"].checked,
.obs.patient button[data-wet="2"]:hover  {
    color: #1b4d66;
}

/*
.obs button.checked,
.obs.patient button:hover  {
    transform: scale(1.1);
    transition: transform 0.5s;
}
*/

#add {
    color: #184e67;
    font-size: 20px;
    background: none;
    border: none;
    padding-right: 40px;
    display: inline-block;
    line-height: 22px;
    position: relative;
}

#add:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 22px;
    background: url(/images/icons.png) no-repeat -199px -316px;
}

#add:disabled {
    color: #ccc5c7;
}

.checkbox {
    overflow: hidden;
    position: relative;
}

.checkbox label {
    padding-right: 36px;
    line-height: 20px;
    position: relative;
}

.checkbox label:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: #f2eae7;
}

.checkbox input {
    position: absolute;
    right: -30px;
}

.checkbox input:checked + label:before {
    background: #f2eae7 url(/images/icons.png) no-repeat -156px -318px;
}

#del + label {
    color: #ccc5c7;
    font-size: 20px;
    font-weight: normal;
}

.notice {
    padding: 20px;
    font-size: 19px;
    background: #ffffff;
    color: #aaa7a7;
    margin-bottom: 10px;
}

.notice.doctor {
    background: #f2eae7;
}

.notice.doctor b {
    font-weight: normal;
    color: #ff6300;
    display: block;
}


.notices {
    padding: 10px 0;
}

.notices.doctor {
    padding: 10px 20px;
}

.notices.doctor .followup {
    margin: 20px -15px;
}

.notices h4 {
    color: #ff6300;
    font-size: 19px;
    font-weight: normal;
    text-align: right;
}

.notices textarea.form-control {
    padding: 20px;
    font-size: 19px;
    border: none;
    border-radius: 0;
    height: 115px;
    margin-bottom: 20px;
}

.notices label {
    font-weight: normal;
}

.notices .chosen-container-single .chosen-single,
.notices .chosen-container-active.chosen-with-drop .chosen-single {
    background: white;
    color: #aaa7a7;
    font-family: 'atlas', "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 20px;
}

.notices .chosen-container .chosen-drop {
    background: white;
    color: #aaa7a7;
}



#submit,
#send-notice {
    display: block;
    margin: 25px auto;
    background: #acceb9;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    border: none;
    line-height: 60px;
    width: 220px;
    text-align: center;
    font-size: 23px;
    padding: 0;
}

#submit:hover,
#send-notice:hover {
    color: #acceb9;
    background: white;
}

#submit[disabled]/*,
#send-notice[disabled]*/ {
    color: #ccc2c1;
    background: #f2eae7;
}

#send-notice[disabled]:hover {
    background: #acceb9;
    color: white;
}

a.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.obs_switcher {
    text-align: center;
}

.obs_switcher button {
    border: 1px solid #c8cac5;
    border-radius: 3px;
    background: transparent;
    color: #c8cac5;
    font-size: 23px;
    line-height: 50px;
    width: 200px;
    text-align: center;
    margin: 20px 10px;
}

.obs_switcher button.active {
    background: #c8cac5;
    color: white;
}

h4 {
    color: #83838f;
    text-align: center;
    font-size: 20px;
    font-weight: normal;
}

.obs_week {
    width: 558px;
    margin: 20px auto;
    position: relative;
}

.obs_week .outer {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #afa8ad;
    height: 285px;
}

.obs_week .inner {
    display: flex;
    flex-flow: row nowrap;
    height: 275px;
    position: relative;
}

.obs_week .day {
    cursor: pointer;
    height: 100%;
    width: 50px;
    text-align: center;
    flex: none;
    margin: 0 16px;
    padding-top: 35px;
    position: relative;
}

.obs_week .day:first-child {
    margin-right: 0;
}

.obs_week .day:last-child {
    margin-left: 0;
}

.obs_week .day:before {
    content: '';
    position: absolute;
    top: 7px;
    height: 1px;
    left: -17px;
    right: -17px;
    background: #afa8ad;
}

.obs_week .day:first-child:before {
    right: 0;
}

.obs_week .day:last-child:before {
    left: 0;
}


.obs_week .day .day-title {
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 33px;
    color: #184e67;
    display: block;
}

.obs_week .day .day-date {
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 33px;
    color: #b9b3b9;
    display: inline-block;
    line-height: 50px;
    width: 50px;
}

.obs_week .day.selected .day-date,
.obs_week .day:hover .day-date{
    background: #b9b3b9;
    color: white;
    font-size: 24px;
    border-radius: 50%;
}

.obs_week .day .wet-val {
    height: 130px;
    position: absolute;
    display: block;
    margin-top: 15px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.obs_week  .day:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 140px;
    bottom: 0;
    width: 1px;
    background: #bcb6bb;
}

.obs_week .day .wet-val span {
    display: block;
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    height: 60px;
    line-height: 44px;
    font-size: 21px;
    font-weight: bold;
    text-align: center;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.obs_week .day .wet-val.wet-val- span {
    top: 30px;
    background: white url(/images/icons.png) -505px -143px;}

.obs_week .day .wet-val.wet-val-0 span {
    top: 0px;
    background: white url(/images/icons.png) -361px -149px;
}

.obs_week .day .wet-val.wet-val-1 span {
    top: 40px;
    color: #acceb9;
    background: white url(/images/icons.png) -203px -145px;
}

.obs_week .day .wet-val.wet-val-2 span {
    top: 90px;
    color: #044a61;
    background: white url(/images/icons.png) -42px -145px;
}

.obs_week .day .notice-d {
    position: absolute;
    width: 10px;
    height: 7px;
    top: 0;
    background: white url(/images/icons.png) -147px -389px;
    right: 50%;
    margin-right: -5px;
}

.obs_week .day .notice-p {
    position: absolute;
    width: 10px;
    height: 8px;
    top: 8px;
    background: white url(/images/icons.png) -147px -403px;
    right: 50%;
    margin-right: -5px;
}

.obs_week .day.break .text {
    text-align: center;
    display: block;
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    background: white;
    color: #ff6300;
    font-size: 20px;
    line-height: 1;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 10px 0;
}

.obs_week .day.break .line {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    bottom: 15px;
    width: 1px;
    background: #ff6300;
}

.obs_week .legend {
    font-size: 13px;
    color: #b9b3b9;
    margin: 20px 0 40px;
    line-height: 1;
}

.obs_week .legend span {
    display: block;
    padding-right: 17px;
    position: relative;
}

.obs_week .legend span:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: url(/images/icons.png);
}

.obs_week .legend span.notice_doctor:before {
    background-position: -147px -388px;
}

.obs_week .legend span.notice_patient:before {
    background-position: -147px -400px;
}

.obs_week .navi {
    position: absolute;
    top: 30%;
    display: inline-block;
    vertical-align: middle;
    border: none;
    opacity: 0.8;
    transition: 0.5s transform;
    background: none;
    color: #b9b3b9;
}

.obs_week .navi i {
    font-size: 80px;
}

.obs_week .navi.prev {
    right: -100px;
}

.obs_week .navi.next {
    left: -100px;
}

.obs_week .navi:hover {
    opacity: 1;
/*    transform: scale(1.2);
    transition: 0.5s transform;*/
}


.obs_week .navi[disabled] {
    opacity: 0.2 !important;
}


.obs_all .legend {
    margin: 10px 0 40px;
}

.obs_all h4 {
    margin: 0 0 15px;
    clear: both;
}

.obs_all .day {
    float: right;
    width: 40px;
    display: block;
    text-align: center;
    border-top: 1px solid #afa8ad;
    border-bottom: 1px solid #afa8ad;
    height: 210px;
    position: relative;
    margin-bottom: 40px;
    padding-top: 15px;
    cursor: pointer;
}

.obs_all .day .day-title {
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 27px;
    color: #92929b;
    display: block;
    line-height: 40px;
}

.obs_all .day .day-date {
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 21px;
    color: white;
    background: #92929b;
    border-radius: 50%;
    height: 40px;
    line-height: 40px;
    margin-top: -40px;
    display: none;
}

.obs_all .day.selected .day-date,
.obs_all .day:hover .day-date {
    display: block;
}

.obs_all .day .wet-val {
    height: 110px;
    left: 20px;
    position: absolute;
    display: block;
    margin-top: 20px;
}

.obs_all .day:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 65px;
    bottom: 0;
    width: 1px;
    background: #bcb6bb;
}

/*
.obs_all .day.nodata > *,
.obs_week .day.nodata > * {
    opacity: 0.5;
}
*/



.day.nodata .wet-val:before,
.obs_all .day.nodata .day-date,
.obs_week .day.nodata.selected .day-date,
.obs_week .day.nodata:hover .day-date{
    background: #d5d5d9;
}

.day.nodata .day-title {
    color: #d5d5d9;
}



.obs_all .day .wet-val span {
    display: block;
    position: absolute;
    top: 0;
    right: 50%;
    margin-right: -7px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    line-height: 22px;
    font-size: 21px;
    font-weight: bold;
    text-align: center;
    color: white;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.obs_all .day .wet-val.wet-val- span {
    background: white url(/images/icons.png) -31px -385px;
    width: 21px;
    height: 30px;
    top: 40px;
    margin-right: -11px;
}

.obs_all .day .wet-val.wet-val-0 span {
    top: 10px;
    background: #ff6200;
}

.obs_all .day .wet-val.wet-val-1 span {
    top: 45px;
    background: #accdb9;
}

.obs_all .day .wet-val.wet-val-2 span {
    top: 75px;
    background: #1a4d66;
}

.obs_all .day .wet-val.multi span {
    height: 20px;
    width: 20px;
    margin-right: -10px;
}

.obs_all .day .wet-val.multi.wet-val-2 span {
    top: 42px;
}

.obs_all .day .wet-val.multi.wet-val-2 span {
    top: 72px;
}

.obs_all .day .notice-d {
    position: absolute;
    width: 10px;
    height: 7px;
    top: -7px;
    background: white url(/images/icons.png) -147px -389px;
    right: 50%;
    margin-right: -5px;
}

.obs_all .day .notice-p {
    position: absolute;
    width: 10px;
    height: 8px;
    top: 0px;
    background: white url(/images/icons.png) -147px -403px;
    right: 50%;
    margin-right: -5px;
}




.request {
    border-bottom: 1px solid #ada5aa;
    padding: 0 0 20px;
    margin-bottom: 20px;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #b9b3b9;
}

.request a {
    color: #b9b3b9;
}

.request .full-name {
    font-size: 42px;
    color: #184e67;
    line-height: 1;
}

.request .tz,
.request .date {
    font-size: 29px;
}

.request .email {
    font-size: 22px;
    font-family: 'atlas', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.request .info {
    padding-right: 50px;
}


h3 {
    font-size: 41px;
}

.panel {
    box-shadow: none;
    border: none;
}

.panel-heading p {
    font-size: 20px;
    color: #aaa7a7;
}

.panel-heading h3 {
    margin: 0;
}

.doctor_search {
    margin-bottom: 100px;
}

.doctor_search h2 {
    margin: 0;
    text-align: right;
}

.doctor_search h3 {
    font-size: 23px;
    font-family: 'atlas', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.doctor_search select,
.doctor_search input {
    height: 65px;
    line-height: 65px;
    font-size: 23px;
    border: none;
    background: white;
    color: #aaa7a7;
}

.doctor_search button {
    border: none;
    background: transparent;
    color: #d8d7d7;
    height: 65px;
    font-size: 30px;
}

.doctor_search .chosen-container-single .chosen-single,
.doctor_search .chosen-container-active.chosen-with-drop .chosen-single {
    background: white;
    color: #aaa7a7;
    font-family: 'atlas', "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 23px;
    padding: 17px 40px;
}

.doctor_search .chosen-container .chosen-drop {
    background: white;
    color: #aaa7a7;
}

.doctor_search .chosen-rtl .chosen-single div {
    left: auto;
    right: 10px;
}

.doctor_search .chosen-rtl.chosen-container-single .chosen-single div b {
    background-position: 0px 18px;
}

.form-control:focus {
    border-color: #CCC;
    box-shadow: inset 0 0 5px #CCC;
}


.docs {
    text-align: center;
    font-weight: bold;
}

.docs a {
    text-decoration: underline;
}

/*
h2 .back {
    font-size: 40px;
    display: inline-block;
    line-height: 90px;
}

h2 .back:hover {
    color: black;
}
*/

.docs_back,
.docs_back:hover,
.panel-heading .back {
    color: #ff6300;
    display: block;
    margin-right: 15px;
    position: relative;
    text-align: right;
    font-family: 'atlas', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: normal;
}


.docs_back:before,
.panel-heading .back:before {
    content: '<';
    position: absolute;
    right: -15px;
    top: 0;
}

.docs_back {
    margin-top: 10px;
}

.emojis button {
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    /*font-family: emojione, sans-serif;*/
}

.emojione {
    height: 2.5ex;
}

.alert {
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    border: none;
    background: #f2eae7 !important;
    font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 40px;
    border-radius: 0;
    padding: 0 15px;
    z-index: 1;
}

.alert.alert-success {
    color: #18c591;
}

.alert.alert-success:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    width: 35px;
    height: 50px;
    background: url(/images/icons.png) no-repeat -386px -226px;
}

.modal-header {
    padding: 0;
    border-bottom: none;
}

.modal-header .close {
    position: absolute;
    right: -80px;
    top: -17px;
    font-size: 65px;
    line-height: 1;
    color: #e3d6d1;
    opacity: 1;
    background: none;
    font-weight: 200;
}

.modal-body {
    background: #f8f4f2;
    padding: 50px;
    max-height: 80vh;
    overflow: auto;
}

.modal-content {
    box-shadow: none;
}

#chat {
    background: #f8f4f2;
}

#chat #selected_date {
    margin: 0 0 40px;
    color: #83838f;
}

.modal.fade .modal-dialog {
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
}

@media(max-width: 1500px)
{
    .navbar {
        margin-bottom: 20px;
    }

    .panel-heading {
        padding: 10px 25px;
    }

    .panel-body {
        padding: 10px 20px;
    }

    h2 {
        font-size: 80px;
        margin: 0;
    }

    .change_date {
        font-size: 50px;
    }

    #add {
        float: right;
    }

    .checkbox {
        float: left;
        margin-top: -5px;
    }

    #notices {
        clear: both;
        margin-top: 0;
    }

    #submit, #send-notice {
        margin-top: 0;
    }

    .notices textarea.form-control {
        height: 90px;
        margin-bottom: 10px;
    }

    .welcome {
        padding-top: 3px;
    }

    .obs .row {
        margin-bottom: 20px;
    }

    .obs button {
        margin-top: 10px;
    }

    .obs .col-xs-4 {
        height: 110px;
    }
}

@media(max-width: 1100px) {
    h2 {
        font-size: 80px;
    }
}

@media(max-width: 991px) {
    .navbar-brand {
        width: 300px;
        height: 53px;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .navbar-default .navbar-nav > li {
        padding: 0 10px;
    }

    .navbar-default .navbar-nav > li > a {
        line-height: 53px;
    }

    .navbar-default .navbar-nav > li > a.logout::before {
        background-position: -65px -299px;
    }

    .navbar-default .navbar-nav > li > a.profile_edit::before {
        background-position: -105px -299px;
    }
}

@media(max-width: 767px)
{
    .navbar {
        min-height: 36px;
        margin-bottom: 0;
        position: relative;
    }

    .navbar-brand {
        width: 200px;
        height: 36px;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .navbar-default .navbar-toggle{
        color: white;
        border: none;
        border-radius: 0;
        padding: 0;
        margin-left: 13px;
        margin-top: 10px;
    }

    .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
        background: none;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background: white;
        border-radius: 0;
    }

    .navbar-default .navbar-collapse {
        background: white;
        position: relative;
    }

    .navbar-nav {
        float: none;
    }

    .navbar-default .navbar-nav > li {
        padding: 0;
        border: none;
        text-align: center;
    }

    .navbar-default .navbar-nav > li > a {
        padding: 0;
        line-height: 30px;
        font-size: 16px;
        color: #184e67;
    }

    .navbar-default .navbar-nav > li > a:before {
        display: none;
    }

    .navbar .close {
        position: absolute;
        top: 25px;
        right: 30px;
        font-size: 50px;
        font-weight: 200;
        color: #184e67;
        line-height: 25px;
        z-index: 1;
        opacity: 1;
        text-shadow: none;
        float: none;
    }

    body, p {
        font-size: 16px;
    }

    body {
        padding-bottom: 50px;
    }

    h2 {
        font-size: 46px;
        margin: 20px 0 10px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
/*
    .container {
        padding: 0;
    }
*/
    .panel-heading {
        padding: 15px;
        min-height: 54px;
    }

    .send {
        line-height: 0;
    }

    #send {
        width: 0;
        height: 24px;
        overflow: hidden;
        padding-right: 22px;
    }

    #send::before {
        background-size: 480px;
        background-position: -85px -175px;
        width: 22px;
    }

    #send:hover::before {
        background-position: -125px -177px;
    }

    #send-ok {
        font-size: 30px;
        position: fixed;
        padding-right: 0px;
        left: 0;
        right: 0;
        line-height: 45px;
        top: 45px;
        background: #f2eae7;
        z-index: 1;
        text-align: center;
    }

    #send-ok::before {
        right: 5px;
        top: 7px;
        position: relative;
        display: inline-block;
        margin-left: 10px;
    }

    .have_message {
        font-size: 35px;
        font-family: 'stanga', "Helvetica Neue", Helvetica, Arial, sans-serif;
        position: fixed;
        left: 0;
        right: 0;
        line-height: 45px;
        top: 45px;
        background: #f2eae7;
        z-index: 1;
        text-align: center;
        color: #ff6300;
    }

    #message {
        width: 0;
        height: 20px;
        overflow: hidden;
        padding-right: 20px;
    }

    #message::before {
        background-size: 480px;
        background-position: -27px -177px;
        width: 20px;
    }

    .welcome {
        font-size: 16px;
        line-height: 1;
    }

    #selected_date {
        font-size: 30px;
        width: 150px;
        margin: 0;
    }

    .change_date {
        font-size: 45px;
        padding: 0;
    }

    .obs,
    .datablock,
    .obs_week {
        max-width: 100%;
    }

    .obs_switcher,
    .obs_all,
    .obs_week .navi {
        display: none !important;
    }

    .obs_week {
        display: block !important;
        padding: 0;
        width: 282px;
    }

    .obs_week .outer {
        overflow-x: auto;
    }

    .notice,
    .notices textarea.form-control {
        font-size: 16px;
    }

    #submit, #send-notice {
        width: 150px;
        line-height: 50px;
        font-size: 20px;
        margin: 10px auto;
    }

    .obs .col-xs-4 {
        height: 90px;
    }

    .obs button {
        font-size: 22px;
        margin-top: 10px;
        width: 50px;
        height: 70px;
        padding: 48px 0 0;
    }

    .obs button span {
        right: -6px;
        top: -10px;
    }

    .obs button span:before {
        font-size: 60px;
    }

    .obs button[data-wet="-"] {
        font-size: 24px;
        line-height: 1;
        padding-top: 5px;
    }

    #add {
        font-size: 16px;
        line-height: 1;
        padding-right: 20px;
        float: none;
    }

    #add::before {
        background-size: 320px;
        background-position: -99px -156px;
        width: 15px;
    }

    #del + label {
        font-size: 16px;
    }

    .checkbox {
        float: none;
        margin-top: 10px;
    }

    .obs .row {
        margin-bottom: 15px;
    }

    .obs_week .outer {
        height: 170px;
    }

    .obs_week .inner {
        height: 150px;
    }

    .obs_week .day .day-title {
        font-size: 20px;
    }

    .obs_week .day.selected .day-date,
    .obs_week .day:hover .day-date {
        font-size: 18px;
    }

    .obs_week .day .day-date {
        font-size: 20px;
        line-height: 30px;
        width: 30px;
    }

    .obs_week .day {
        padding-top: 20px;
        width: 35px;
        margin: 0 3px;
    }

    .obs_week .day .wet-val {
        height: 70px;
        margin-top: 5px;
    }

    .obs_week .day .wet-val span {
        height: 35px;
        font-size: 16px;
        line-height: 23px;
    }

    .obs_week .day .wet-val.wet-val- span {
        top: 20px;
        background: white url(/images/icons.png) -354px -104px;
        background-size: 450px;
    }

    .obs_week .day .wet-val.wet-val-0 span {
        background: white url(/images/icons.png) -253px -103px;
        background-size: 450px;
    }

    .obs_week .day .wet-val.wet-val-1 span {
        top: 20px;
        background: white url(/images/icons.png) -142px -105px;
        background-size: 450px;
    }

    .obs_week .day .wet-val.wet-val-2 span {
        top: 45px;
        background: white url(/images/icons.png) -30px -107px;
        background-size: 450px;
    }

    .obs_week .day.break .text {
        top: 55px;
        font-size: 18px;
    }

    form.fancy h1 {
        padding: 5px 0 0;
    }

    form.fancy h3 {
        font-size: 30px;
    }

    form.fancy p, form.fancy fieldset {
        margin-bottom: 10px;
    }

    form.fancy label, form.fancy h4, form.fancy p, form.fancy fieldset legend,
    .chosen-container-single .chosen-single, .chosen-container-active.chosen-with-drop .chosen-single {
        font-size: 26px;
    }

    form.fancy input[type="text"], form.fancy input[type="email"], form.fancy input[type="password"], form.fancy select, form.fancy textarea {
        font-size: 26px;
    }

    form.fancy input[type="email"], form.fancy input[type="password"], form.fancy input.en[type="text"] {
        font-size: 20px;
    }

    form.fancy label {
        margin-bottom: 0;
    }

    form.fancy input[type="submit"],
    form.fancy .back{
        padding: 5px 10px;
        margin: 30px 0 20px;
    }

    .doctor_search {
        margin-bottom: 30px;
        padding: 0 60px;
    }

    .doctor_search h2 {
        text-align: center;
    }

    .doctor_search .chosen-container-single .chosen-single, .doctor_search .chosen-container-active.chosen-with-drop .chosen-single {
        font-size: 15px;
        padding: 5px 20px;
    }

    .doctor_search .chosen-rtl .chosen-single div {
        right: 0;
    }

    .doctor_search .chosen-rtl.chosen-container-single .chosen-single div b {
        background-position: 2px 6px;
    }

    .doctor_search select, .doctor_search input {
        height: 30px;
        line-height: 30px;
        font-size: 16px;
    }

    .request {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .request .info {
        padding-right: 0;
    }

    .request .full-name {
        font-size: 24px;
    }

    .request .tz, .request .date {
        font-size: 22px;
    }

    .request .email {
        font-size: 14px;
    }

    h3 {
        font-size: 36px;
    }

    .panel-heading p {
        font-size: 18px;
    }

    .panel-heading .back {
        text-align: center;
    }

    .panel-heading .back::before {
        position: relative;
        right: -5px;
    }

    .doctor_search .search-options {
        margin-bottom: 10px;
    }

    .doctor_search button {
        font-size: 16px;
        position: absolute;
        top: -44px;
        left: -20px;
    }

    .emojis button {
        width: 22px;
    }

    #chat {
        padding: 20px 10px 10px;
        background: #f8f4f2;
    }

    #chat #selected_date {
        margin-bottom: 20px;
    }
}
