html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -119px; 
    padding: 0px 0 119px;
    background: none;
}

.wrap > .container { 
    padding: 70px 0px 20px; 
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


.show_msg { 
    overflow-y: auto; 
    max-height: 100%; 
    min-height: 100%; 
    position: relative; 
    border: 1px solid #e8e8e8; 
    box-shadow: inset 0 0 12px -3px rgba(51, 51, 51, 0.32); 
    padding: 15px; 
}

.show_msg .came_msg,
.show_msg .my_msg {
    padding: 9px 10px;
}


.message {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 114px;
    background: #fff;
}

.message-admin {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    background: #fff;
}


.slick-slider {
    display: none;
}

.slick-initialized.slick-slider {
    display: block;

}


.dialog {
    padding: 15px;
    background: #fff;
    margin: 10px 0px;
    cursor: pointer;
}

.cons-update-view {
    width:29px;
    height:29px;
    background: url('/images/pen-view.png');
    float:left;
    display:none;
}
.cons-schedule-view {
    width:29px;
    height:29px;
    background: url('/images/calendar-view.png');
    float:left;
    display:none;
}
.consultant-admin-avatar {
    width:70px;
    height:70px;
    -moz-border-radius: 35px; /* Firefox */
    -webkit-border-radius: 35px; /* Safari, Chrome */
    border-radius: 35px; /* CSS3 */
    border: 1px solid black;
    margin-left: -10px;
}
.consultant-admin-avatar input {
    width: 70px;
    height: 70px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    font-size: 5px;
    cursor: pointer;
}

.show_dialog { 
    background: #ffffff; 
    /* border: 1px solid #062c80; */ 
    box-shadow: 0px 0px 7px -2px #062c80; 
    margin-right: -25px; 
    padding-right: 25px; 

}


.came_msg, 
.my_msg { 
    padding: 9px 10px; 
}

.my_msg { 
    text-align: left; 
    margin: 5px 0; 
    width: 70%;
}

.came_msg { 
    text-align: right; 
    background: #ffffff; 
    margin: 0 0 5px 30%; 
    clear: both;
}


.text-msg { 
    margin-left: 90px;
    margin-right: 110px; 
    padding-top: 10px; 
    padding-bottom: 10px; 
} 

.time_msg {
    font-style: italic;
    font-size: 12px;
    color: #727272;
}

.controle-msg { 
    width: 100%; 
    position: relative; 
    background: #eef2f6; 
} 

.btn-primary {
    background-color: #062c80;
}

.btn-file { 
    position: absolute; 
    left: 15px; 
    top: 10px; 
    height: 94px; 
    width: 50px; 
    border-radius: 0; 
} 

.btn-send { 
    position: absolute; 
    right: 15px; 
    top: 10px; 
    border-radius: 0; 
    height: 94px; 
    width: 80px; 
} 

.textarea-msg { 
    margin-top: 0px; 
    margin-bottom: 0px; 
    height: 94px; 
    resize: none; 
    overflow-y: auto; 
}

.block1 { 
    width: 30%; 
    position: absolute; 

    background: #eef2f6; 

    left: 0; 
    z-index: 0; 
    padding: 0px 0px 0px 15px; 
    box-shadow: 6px -4px 11px -8px rgba(6, 44, 128, 0.57); 
    padding: 0 25px 25px;
    bottom: 0px;
    top: 0; 
    overflow-y: auto;

}

.block1-wide {
    width: 50%;
    position: absolute;

    background: #eef2f6;

    left: 0;
    z-index: 100;
    padding: 0px 0px 0px 15px;
    box-shadow: 6px -4px 11px -8px rgba(6, 44, 128, 0.57);
    padding: 0 25px 25px;
    bottom: 0px;
    top: 0;
    overflow-y: auto;
}

.block2 { 
    position: absolute; 
    bottom: 0px; 
    top: 0px;
    margin-left: 30%; 
    width: 70%; 
    background: #eef2f6; 
    left: 0; 
}

.block2-wide {
    position: absolute;
    bottom: 0px;
    top: 0px;
    margin-left: 50%;
    width: 50%;
    background: #eef2f6;
    left: 0;
    overflow-y: auto;
}

.wrap > .container {min-height: 100%;position: relative;}

.wrap { 
    height: 100%; 
} 

.cent { 
    width: 50%; 
    background: #fafafa; 
    position: absolute; 
    bottom: 0; 
    top: 0; 
}

.admin-cent {
    overflow-y: scroll;
}

.right_menu { 
    width: 50%; 
    position: absolute; 
    left: 50%; 
    padding: 0px 25px;
    bottom: 25px; 
    top: 0; 
    overflow-y: auto;

}


.cent {

   padding: 25px;
   padding-top: 0;
}
.cent .consultants {
    margin-top: 25px;
}

.questions {
    background: #fff;
    padding: 15px 15px 30px;
    margin: 10px 0px;


}

.before-navigation {
    height:67px;
    width:100%!important;
    background:#eef2f6;
}

.docgen-title {
    float: left;
    margin-left: 20px;
    margin-top: 14px;
}

.docgen-title p {
    color: #7a8fbb;
    font-weight:600;
    font-size:20pt;
}

.phone-number {
    float: right;
    margin-right: 11px;
}
.phone-number .number p {
    color:#062c80;
    font-weight:600;
    font-size:27pt;
}
.phone-number .hotline {
    margin-top:-20px;
}
.phone-number .hotline  p {
    color:#062c80;
    font-weight:400;
    font-size:9pt;
}

@media (max-width: 820px) {
    .docgen-title {
        margin-top: 17px;
        margin-left: 10px;
    }
    .docgen-title p {
        font-size:16pt;
    }
    .phone-number {
        margin-top: 4px;
        margin-right: 10px;
    }
    .phone-number .number p {
        font-size: 24pt;
    }
    .phone-number .hotline p {
        font-size: 8pt;
    }
}

@media (max-width: 670px) {
    .phone-number {
        display: none;
    }
}

@media (max-width: 410px) {
    .docgen-title p {
        font-size: 14pt;
    }
}

/*.navbar-nav .selected {
    background-color: #052263;
}

.navbar-nav a {
    color: rgba(255, 255, 255, 0.8)!important;
}

.navbar-nav a:hover {
    color: white!important;
}

.fgramota-navbar {
    background-color: #062c80;
    border-color: #062c80;
    border-radius: 0;
    width:100%;
    margin:0;
}*/

.fgramota-label {
    width:134px;
    height:48px;
    background:url(../images/u1.png);
}
.fgramota-label a {
    display:block;
    width:134px;
    height:48px;
}

.navbar-center {
    float: none !important;
    width:500px;
    margin:0 auto;
    text-align: center;
}
.navbar-center li {
    float: none;
    display: inline-block;
}

@media (min-width:500px) {
    .panel-container {
        width:400px;
    }
}

@media (min-width:800px) {
    .panel-container {
        width:600px;
    }
}

@media (min-width:1000px) {
    .panel-container {
        width:800px;
        position:relative;
    }
}

.btn-fgramota {
    height:94px;
    border-radius:0;
}
.btn-doc-load-position {
    position:absolute;
    left:15px;
    top:10px;
}

.js-browse {
    width:40px;
}

.btn-txt {
    position: absolute;
    left: 14px;
    bottom: 40px;
}

.btn input {
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    font-size: 5px;
    cursor: pointer;
}

.button_question{ 
    /*position: absolute;  
    right: 30px; */
    float: right;
    font-weight: bold; 
    cursor: pointer;
}

.head_text_questions {
    font-weight: bold;
}

.time_text_questions {
    font-style: italic;
    font-size: 12px;
}

.text_questions-prev {
    margin: 10px 0px;
}
.text_questions {
    margin: 10px 0px;
    display: none;
}

.consultant-avatar {
    width:100px;
    height:100px;
        margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    -moz-border-radius: 50px; /* Firefox */
    -webkit-border-radius: 50px; /* Safari, Chrome */
    border-radius: 50px; /* CSS3 */
    border: 1px solid black;
}
.consultant-avatar input {
    width: 100px;
    height: 100px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    font-size: 5px;
    cursor: pointer;
}
.admin-panel-avatar {
    float:left;
}
.cons-page-avatar {
    float:left;
    position: relative;
}
.cons-page-name-status {
    float:left;
    padding: 0px 10px;
}

.cons-page-info {
    margin-bottom: 5px;
}
.admin-info-cons {
    float:left;
}

.status {
    margin-left:20px;
}
.consultant-modal-avatar {
    margin:0 auto;
}

.sent_files {
    background: #ffffff;
}

.sent_files img {
        width: 30px;
    margin: 0 10px;
}

.site-login {
    /*width:40%;*/
    border:1px solid blue;
    /*float:left;*/
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 20px 5px;
    min-height: 360px;
}

.field-loginform-rememberme {
    margin-bottom: 35px;
}

.site-login .login-preview {
    width:100%;
    /*padding:5px 5px 0px;*/
    /*border:1px solid blue;*/
    text-align: center;
}

.site-login .login-form {
    width:100%;
    padding:10px 5px 0px;
    /*border:1px solid blue;*/
}

.site-switch-link-container {
    margin-top: 7px;
    margin-bottom: 7px;
}

.site-question {
    /*width:40%;*/
    padding: 20px 20px 5px;
    border:1px solid blue;
    /*float: left;*/
    /*padding:5px 5px 0px;*/
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    min-height: 360px;
}

.restore-question {
    padding: 20px 20px 5px;
    border:1px solid blue;
    text-align: center;
    max-width: 600px;
}

.site-question > p {
    margin-bottom: 20px;
}

.control-label {
    text-align: right;
}

.site-answer {
    /*width:40%;*/
    border:1px solid blue;
    /*float: left;*/
    max-width: 600px;
    padding:50px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.restore-answer {
    border:1px solid blue;
    max-width: 600px;
    padding:50px;
    text-align: left;
}

.site-or {
    /*float:left;*/
    /*padding: 50px;*/
    padding-top: 50px;
    padding-bottom: 50px;
    color: #062c80;
    font-weight: bold;
    font-size: 18pt;
    text-align: center;
}

.site-register {
    /*width:40%;*/
    float: inherit;
    padding: 20px 20px 5px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;

    /*margin:0px auto;*/
    border:1px solid blue;
}

.site-register .register-preview {
    width:100%;
    padding:5px 5px 0px;
    /*border:1px solid blue;*/
    text-align: center;
}

.site-register .register-form {
    width:100%;
    padding:10px 5px 0px;
    /*border:1px solid blue;*/
}

.bill { 
    position: absolute; 
    z-index: 1; 
    top: 0px; 
    width: 100%; 
    background: #eef2f6; 
    height: 45px; 
    padding-top: 5px; 
    text-align: right; 
    padding-right: 15px; 
}

.message_bill { 
    padding-top: 45px; 
}

.consultant-avatar-online:before { 
    content: ''; 
    width: 15px; 
    height: 15px; 
    background: #00de1e; 
    display: block; 
    border-radius: 50%; 
    position: absolute; 
    right: 8px; 
    bottom: 7px; 
}

.sent_pay { 
    background: #062c80; 
    color: #fff; 
    padding: 10px 15px; 
    margin-bottom: 10px;
}

.sent_pay > div { 
    margin-top: 5px;
    margin-bottom: 5px;
}

.sent_pay p { 
    margin: 0;
}

.btn_pay_client {
    width: 100%;
    height: 40px;
    border: 1px solid white;
    background: none;
    color: white;
    border-radius: 0;
}

.sent_pay__title { 
    font-size: 23px; 
    text-align: center; 
    margin-top: 4px; 
}

.consultants { 
    display: none; 
}

input#btn_pay_client {
    margin: 5px 80px;
}

.slick-slide:focus {
    outline: none;
}

.consultants .cons-page-avatar {
    float: none;
    margin-left: auto;
    margin-right: auto;
}

.consultants .slick-slide {
    text-align: center;
}

button#general_issue {
    float: right;
}

.make_write {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

button#send {
    padding: 0px;
}

.record_select {
    padding: 20px;
    border: 1px solid #B0B0B0;
    cursor: pointer;
}
.record_select i {
	position: absolute;
    right: 20px;
    top: 28px;
    font-size: 19px;
    color: grey;
}

.label_record {
    color: #337AB7;
    margin: -19px -10px;
}

.selected {
    font-size: 17px;
    padding-top: 27px;
}

.btn_record-margin {
    margin-top: 10px;
}

.cons-modal-avatar-record {
    width: 60px;
    height: 60px;
}

.select_consultant {
    border: 1px solid #B0B0B0;
}

.records_consultant {
    margin: 10px 15px;
    cursor: pointer;
}
.records_consultant h4 {
    margin-top: 9px;
    margin-bottom: 5px;
}

/*.select_time_by_date {
    padding: 13px;
}*/

.time_by_date {
    border: 1px solid #B0B0B0;
    margin: 3px;
    cursor: pointer;
}

.recorded {
    background: green;
    color: white;
}

.writable {
    background: #337ab7;
    color: white;
}

.show_record { 
    margin-bottom: 10px; 
}

p.name_user_record { 
    font-weight: 600; 
    margin-bottom: 0px; 
}

p.time_user_record { 
    margin-bottom: 0px; 
}

.record_alert, .record_alert-click { 
    width: 100px; 
    text-align: center; 
    /*float: right; */
    background: green; 
    color: white;
    margin-left: 228px;
    margin-top: 2px;
}


.appointments_cons {
    overflow-y: auto;
    height: 40%;
}

.time_record_consultants {
    margin: 6px -2px;
}

.select_time_by_date-click {
    margin: 0px;
}

.admin-consult-title {
    width:80%;
    float:left;
    padding-left: 20%;
}
.admin-new-consult {
    width:10%;
    float:right;
    font-size:18px;
    cursor: pointer;
}
.admin-new-consult h3 {
	font-weight: 100!important;
	font-size: 30px!important;
    margin-bottom: 0!important;
    margin-top: 19px!important;
}

#btn_back {
    position: absolute;
    right: 20px;
    top: 25px;
    font-size: 15px;
    color: #062c80;
    cursor: pointer;
}

.modal_answer_label {
    padding-right: 0px;
    text-align: right;
}
p#time_modal_answer {
    font-style: italic;
}
p#from_modal_answer {
    font-weight: 600;
}

.not_select_mandatory {
    color: red;
}
.checkbox input.checkbox-register {
    position: absolute;
    left: 90%;
}

.unread_msg {
    background: rgba(6, 44, 128, 0.16);
} 




/* NEW CSS */

@media (min-width: 768px) and (max-width: 992px) {
    .container {
        width: 100%;
    }
}

.container h3 {
    font-size: 18px;
    font-weight: bold;
    color: #062c80;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 25px;
}

.profile > button {
    width: 100%;
    color: black;
    text-decoration: underline;
    margin-bottom: 8px;
}
.profile .modal .form-group {
    margin-bottom: 0;
}

.modal-header h2,
.modal-header .modal-title {
    font-size: 20px;
    margin: 10px 15px 5px;
}

.modal-header .close {
    font-size: 30px;
    margin-right: 10px;
    margin-top: 5px;
}

.modal-body {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

#modal_consultant .modal-dialog {
    max-width: 385px;
}

#modal_consultant .modal-dialog .modal-header {
    padding-bottom: 0;
    padding-top: 0;
    border: none;
}

#modal_consultant .modal-dialog .modal-header .close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10000;
}

#modal_record .modal-body {
    padding-top: 10px;
    height: 400px;
}
#modal_record .select_consultant {
    height: 270px;
    overflow-y: auto;
}
#modal_record .record_select {
   height: 75px;
   position: relative;
}
#modal_record .record_select .label_record {
   font-weight: bold;
    margin-top: -10px;
    color: #062c80;
}
#modal_record .modal-footer {
    padding: 5px;
    border: none;
}
#record_begin > p {
    margin-bottom: 15px;
}
#record_begin .btn_record-margin {
    padding-left: 40px;
    padding-right: 40px;
        margin-top: 25px;
}

.select_comment-window textarea {
    height: 250px;
}

.select_time-window > button {
    position: absolute;
    bottom: 40px;
}

.btn_clear_record_begin-window {
    position: absolute;
    right: 33px;
}


.selected_comment {
        text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.appointments .record_alert {
    display: none;
}
.appointments .show_record {
    margin-bottom: 15px;
}
.auth-block-label {
    position: absolute;
    top: -36px;
    left: -1px;
    padding: 8px 30px;
    color: white;
    background-color: #062c80;
}

#p-consultant-profile-fullname {
        margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}
.consultant-info-block {
    margin-bottom: 55px;
}
.consultant-info-block > button {
    float: right;
    color: black;
    text-decoration: underline;
    margin-top: -10px;
}

.appointments_cons {
    margin-right: -25px;
    padding-right: 10px;
}
.change_calendar {
    margin-top: 10px;
}
.change_calendar button {
    width: 100%;
}
#admin-dialogs-select, #admin-records-select {
	width: 100%;
}
#admin-dialogs .dialog, #admin-records .dialog {
	padding-bottom: 5px;
}

.admin-info-cons {
	margin-top: 15px;
}
.admin-info-cons p {
	margin-bottom: 5px;
}
.cons-update-view, .cons-schedule-view {
	margin-top: 20px;
}

.btn_delete-record { 
    position: relative; 
    width: 0px;
    height: 0px;
    left: 341px; 
    bottom: 31px; 
    font-size: 30px; 
    cursor: pointer;
}

.color_red {
    color: red;
}

.show_record-row {
    margin: 0px;
}

.btn_delete-dialog {
    position: relative;
    width: 0px;
    height: 0px;
    font-size: 24px;
    left: 252px;
    bottom: 27px;
}

.login-page-banner {
    margin-top: -70px;
    margin-bottom: 60px;
        text-align: center;
}
.login-page-banner img {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.show_hide_dialogs {
    margin-top: 30px;
    font-size: 11px;
    color: #062c80;
    cursor: pointer;
}

@media (max-width: 1104px) {
    .hidden_mobile {
        display: none;
    }

    .show_mobile {
        display: block;
    }

    .show_desktop {
        display: none;
    }
    .show_tablet {
        display: block;
    }
    .show_tablet_a {
        display: inline;
    }

    .hide_tablet {
        display: none !important;
    }

}

@media (max-width: 1025px) {
    .footer .container, .container.material-padding-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 767px) {


    #main-header .navbar-header > a.logo_header_mobile {
        display: inline;

    }

    button.navbar-toggle, button.navbar-toggle:hover, button.navbar-toggle:focus, .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
        border: none;
        order: 5;
        padding: 0;
        height: 25px;
        margin: 5px 0px 5px 0;
        background-color: initial;
    }
    nav#main-header a {
        margin: 0;
        font-family: HelveticaNeue;
        font-size: 17px;
        font-weight: 500;
        line-height: 1.47;
        text-align: left;
        color: #ffffff;
        padding-left: 5px;
    }
    nav#main-header .nav-header-flex {
        padding: 0;
        margin: 0;
        display: block;
        height: 60px;
    }
    .navbar-nav {
        margin: 0 -10px;
        background-color: #f6f8fa;
    }
    nav#main-header .navbar-nav a {
        color: black;
        padding: 12px 20px 13px;
    }
    nav#main-header .navbar-nav > li {
        box-shadow: inset 0 -1px 0 0 #e3e7ef;
    }
    nav#main-header .navbar-nav .dropdown-menu {
        background-color:  #e3e7ef;
        margin-top: 0!important;
    }
    nav#main-header .navbar-nav .dropdown-menu a {
        padding: 12px 20px 13px 40px!important;
        margin: 0!important;
    }
    #dropdown-sections {
        padding-right: 0;
    }
    a.show_tablet_a {
        order: 1;
    }

    #main-header .navbar-header.col-sm-1.col-md-3:before, #main-header .navbar-header.col-sm-1.col-md-3:after {
        content: none !important;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background-color: white;
    }


    .show_tablet_a {
        display: none;
    }

    .hide_tablet {
        display: block;
    }
}

@media (max-width: 478px) {
    .col-min-mobile-12 {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer_copyright .col-min-mobile-12 {
        margin-bottom: 30px;
    }

    .footer .footer_inform, .footer .footer_copyright {
        /*margin: 0 30px 0 30px;*/
        margin: 0;
    }

    .footer .social_networks {
        margin: 0;
    }

    .footer_copyright {
        height: 100%;
    }

    .footer .row > div {
        padding-left: 0!important;
        padding-right: 0!important;
    }
}

.auth-block-label {
        top: -55px; 
        line-height: 40px;
    width: calc(100% + 2px);
    text-align: center;
    background-color: #002680;
}
.site-login, .site-question {
    border-color: #002680;
}
.font-hn-38-500 {
    font-family: "HelveticaNeue", serif;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.5px;
}
.login-page-banner {
    padding-top: 30px;
    margin-bottom: 100px;
}
.login-page-banner h3 , .login-page-banner p {
    margin-top: 20px;
}
.btn-primary {
    border-radius: 0;
    border: none;
}
.btn-primary:hover {
    color: #23527c;
    background-color: #eee;
}