@font-face {
    /*font-family: 'Open Sans';*/
    /*src: url('fonts/OpenSans-Semibold.ttf')  format('truetype')*/
}

.alert-posts-success {
    display: none;

}

.cursor-pointer {
    cursor: pointer;
}

textarea {
    resize: none;
}

body {
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5 {
    font-family: 'Open Sans', sans-serif;
}

h4 {
    font-size: 24px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #323232;
}

#post-image-input {
    width: 30px;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    opacity: 0;
    background-color: transparent;
    color: transparent;
}

.post {
    background-color: #fff;
    margin: 10px 2px;
    padding: 10px 20px;
    border: #e8e8e8 solid 1px;
    border-radius: 5px;
}

.post .avatar {
    border-radius: 30px;
    width: 60px;
    height: 60px;
}

.post-image {
    width: 100px;
    height: auto;
}

.post-title {
    background: #ffffff;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    margin-top: 0;
    display: flex;
}

.post-body {
    color: #4a5568;
}

.post-form-btn-group {
    margin-top: -50px;
    margin-right: 10px;
}

.client-info-sm {
    margin: 2px;
}

.client-card-sm {
    margin: 10px 2px;
    padding: 10px;
    border-bottom: #e8e8e8 solid 1px;
    border-radius: 5px;
}

.client-card-sm .category-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #0f0f0f;
}

.client-card-sm .category-value {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #323232;
    margin-left: 0;
}

.client-card-sm .card-comment {
    opacity: 0.5;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #323232;
    margin-top: 10px;
}

.client-history-row {
    background-color: #fff;
    border-radius: 5px;
}

.client-history-row > .post-title {
    padding: 10px 10px 0 10px;
}

.client-history-row > .post-title .post-title-date {
    margin: 2px;
}

.card-doctor-dashboard {
    background-color: #f9f9f9;
    margin: 2px;
    padding: 10px;
    border: #e8e8e8 solid 1px;
    border-radius: 5px;
}

.comment-input {
    margin: 5px 0;
}

.registration-form {
    margin-top: 20px;
}

.registration-form-input {
    margin: 5px 0;
}

input[name="pin"].registration-form-input {
    width: 60px;
    margin: 5px 0;
}

.search-block {
    margin: 10px 0;
}

.common-header {
    width: 100%;
    height: 80px;
    background-color: #fff;
}

.navbar-login {
    width: 100%;
    height: 302px;
    background-color: #7aa2d8;
}

.logo-login {
    width: 289px;
    height: 44px;
    object-fit: contain;
}

.login-container {
    width: 357px;
    height: 262px;
    background-color: #ffffff;
    /*box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.21);*/
    position: absolute;
    top: 254px;
    left: 37%;
}

.description {
    font-family: 'Open Sans', sans-serif;
    font-size: 21px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.5px;
    text-align: left;
    position: relative;
    top: 26px;
    left: 45px;
    color: white;
}

.login-container form {
    width: 390px;
    height: 262px;
    background-color: #ffffff;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.21);
}

.title-block {
    width: 300px;
    height: 150px;
    position: absolute;
    top: 119px;
    left: 39%;
}

.login-container form span {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    position: relative;
    top: 36px;
    left: 56px;
}

.underlined-input {
    width: 212px;
    height: 30px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    border: 0;
    border-bottom: groove 1px black;
    position: relative;

    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
    border-radius: 0 !important;
}

.underlined-input.password {
    top: 79px;
    left: 72px;
    border: 0;
    border-bottom: solid 1px black;
    opacity: 0.3;
    outline: none;
    -webkit-appearance: none;
    padding-left: 0 !important;

}

.underlined-input.password:focus {
    border: 0;
    border-bottom: solid 1px black;
    opacity: 1;
    outline: none;
    -webkit-appearance: none;
}

.underlined-input.login {
    top: 60px;
    left: 72px;
    border: 0;
    border-bottom: solid 1px black;
    opacity: 0.3;
    outline: none;
    -webkit-appearance: none;
    padding-left: 0 !important;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.underlined-input.login:focus {
    opacity: 1;
}

.underlined-input.login.focused {
    border: 0;
    border-bottom: solid 1px black;
    opacity: 1;
    outline: none;
    -webkit-appearance: none;
}

.underlined-input.password.focused {
    border: 0;
    border-bottom: solid 1px black;
    opacity: 1;
    outline: none;
    -webkit-appearance: none;
}


.login-container form button {
    width: 212px;
    height: 34px;
    background-color: #7aa2d8;
    position: relative;
    top: 108px;
    left: 60px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    color: white;
    border: 0;
    outline: 0;
    cursor: pointer;
    -webkit-transition: background-color 0.5s;
    transition: background-color 0.5s;
    -webkit-appearance: none;
    border-radius: 0;
}

.lost-pass {
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    position: relative;
    top: 36px;
    color: #7aa2d8;
}

nav {
    width: 100%;
    height: 80px;
    background-color: #ffffff;
}

@media (min-width: 1600px) {
    .container {
        /*min-width: 1520px;*/
    }
}

.container-client-edit {
    margin-top: 65px;
    background-color: #fff;
    padding: 70px 60px;
}

h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    color: #323232;
    position: relative;
    top: 0;
    left: 0;
    display: block;
}

.search-card {
    background-color: #ffffff;
    box-shadow: 0 0 5px 0 #bdbdbd;
}

.search-card:hover {
    cursor: pointer;
}

.search-card p.birth {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #323232;
    display: block;
    margin-left: 20px;
    padding-bottom: 15px;
}

.search-card p.title {
    padding: 15px 0 0 20px !important;
    margin-bottom: 5px !important;
}

.avatar {
    height: 36px;
    width: 36px;
    border-radius: 18px;
}

.avatar.relative {
    height: 36px;
    width: 36px;
    border-radius: 18px;
    position: relative;
    top: 48px;
    left: 18px;
}

.navbar-user-info span {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    text-align: center;
    color: #323232;
    margin: 0 10px;
}

.navbar-user-info .avatar {

    margin: 0 10px;
}

.client-page-info-block {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    min-height: 550px;
}

.btn-stndrt {
    padding: 12px;
    width: 154px;
    height: 40px;
    background-color: #5396f1;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    color: white;
    border: 0;
    outline: 0;
    cursor: pointer;
    -webkit-transition: background-color 0.5s;
    transition: background-color 0.5s;
    -webkit-appearance: none;
    border-radius: 0 !important;
}

.btn-stndrt:hover {
    background: #3F75BE;
    transition: background-color 0.5s;
    -webkit-transition: background-color 0.5s;
    color: white;
}

.info-text-lg {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    font-size: 30px;
    color: #c2c2c2;
}

.center {
    margin: 0 auto !important;
    float: none !important;
}

.client-card-name {
    margin: 20px;
}

.client-card-age {
    font-size: 18px;
    color: #c2c2c2;
    margin: 20px;
}

.client-page-info-header {
    border-bottom: 1px solid #e8e8e8; ;
}

.category-name a  {
    float: right;
    margin-right: 30px;
}

.add-post #postbody {
    padding: 20px 0 0 64px;


    min-height: 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    border-radius: 7px;
    background-color: #ffffff;
    border: solid 1px #e7e6e6;
}

.add-post #postbody:focus {

    border-color: #cccccc;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.underlined-input.login:focus {
    border-color: #cccccc;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.underlined-input.password:focus {
    border-color: #cccccc;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.add-post #postbody::placeholder {
    font-family: 'Open Sans', sans-serif;
    color: #b7b7b7;

}


.title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 16px;
    padding: 20px 0 0 20px;
}

.search-card .phone {
    padding: 0 0 20px 20px;
}

.btn-back {
    text-decoration: none;
    opacity: 0.8;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #5396f1;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.shape {
    width: 15px;
    height: 10.8px;
    object-fit: contain;
    opacity: 0.9;
    margin-bottom: 3px;
}

.btn-add-image-to-post {
    position: relative;
    float: right;
    right: 18px;
    top: 46px;
}

.btn-add-image-to-post img {
    opacity: 0.6;
    margin-top: 13px;
    margin-right: 10px;
}

.btn-add-image-to-post:hover {
    cursor: pointer;
}

.posts-container {
    margin-top: 60px;
}

.nav-link.active {

    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #323232 !important;
    border: none !important;
    border-bottom: 3px solid #5396f1 !important;
}

.nav-link.active:hover {
    border: none !important;
    border-bottom: 3px solid #5396f1 !important;
}

.nav-link:hover:focus {
    border: none !important;
}

.nav-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #acacac;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    border: none !important;
}

.tab-pane {
    margin-top: 20px;
}

.form-control {
    border: none;
    border-bottom: 1px solid #a3a2a2;
    border-radius: 0;
}

.form-check-input:checked {
    background: #479ccf;
    border: solid 1px #479ccf;
    border-radius: 0;
}

.form-check-input[type=checkbox] {
    border-radius: 0;
}

.case-block {
    margin-top: 70px;
}

.photo-gallery {
    color: #313437;
    background-color: #fff;
}

.photo-gallery p {
    color: #7d8285;
}

.photo-gallery h2 {
    font-weight: bold;
    margin-bottom: 40px;
    padding-top: 40px;
    color: inherit;
}

@media (max-width: 767px) {
    .photo-gallery h2 {
        margin-bottom: 25px;
        padding-top: 25px;
        font-size: 24px;
    }
}

.photo-gallery .intro {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.photo-gallery .intro p {
    margin-bottom: 0;
}

.photo-gallery .photos {
    padding-bottom: 20px;
}

.photo-gallery .item {
    padding-bottom: 30px;
}

.form-check-input:checked[type=radio] {
    border-radius: 50% !important;
}

.form-check-input:checked[type=radio] {
    background-image: none;
    background-color: white;
    border: solid 5px #479ccf;
}

.form-check {
    margin-top: 20px;
}

.mt-5 {
    margin-top: 4rem !important;
}

.patient-details-body {
    width: 100%;
    height: 50px;
    background-color: #5396f1;
    padding-top: 10px;
    display: none;
    transition: display 5s;
    position: absolute;
}

.patient-details-body p {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #ffffff;
}

.btn-mt-40 {
    margin-top: 40px;
}

.post-title-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #323232;
    display: block;
    margin-bottom: 2px !important;

}

.post-title-date {
    opacity: 0.5;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #323232;
    display: block;
    margin-top: 2px;
}

.nav-link:hover {
    color: black !important;
    border: none !important;
}

.no-info {
    margin-top: 33% !important;
}

.pl-0 {
    padding-left: 0;
}

.comment-input label {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: left;
    color: rgba(50, 50, 50, 0.38);
    display: block;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: black;
}

.font-weight-light {
    font-weight: 300 !important;
}

.search-filters-block {
    background: #FFFFFF;
    border-radius: 10px;
}

.searh-body-block {
    background: #FFFFFF;
    border-radius: 10px;
}

.search-block {
    height: 84px;
}

input[name='search-request'] {
    background: #EFF0F6;
    border-radius: 8px;
    border: none;
    height: 44px;
    width: 266px;
    margin: 20px;
    padding-left: 20px !important;
    color: #5c5d6a;
}


input[name='search-request']::placeholder {
    color: #D6D7E3;
    padding-left: 20px !important;

}

.search-results-title {

    background: #EFF0F6;
    box-shadow: 0px 1px 0px #DADBE4;
}

.search-results-title p {
    margin-left: 20px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.3px;
    color: #767676;
    padding: 10px 0 0 15px;
}

.date-filter {
    float: right;
    padding: 14px;

}

.date-filter > .form-select {
    background: #FFFFFF;
    border: 2px solid #EEEEEE;
    box-sizing: border-box;
    border-radius: 4px;
    height: 44px;
    margin-top: 5px;
    color: #B9B9B9;
}

.date-filter > .form-select option {
    color: #B9B9B9;
}

.doctor-name {
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
}

.search-results-block .avatar {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    margin: 10px 5px 10px 25px;
}

.result-comment, .client-name, .result-date {
    font-style: normal;
    font-weight: bold;
    font-size: 13px;
    margin: 10px;
}

.result-comment {
    font-weight: normal;
}

.result-date {
    font-weight: normal;
    display: inline-block;
}

.arrow-down {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
    margin: 3px;
    -webkit-transform: rotate(45deg);
}

.arrow-up {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;

    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.search-filter-doctors > a, .search-filter-clients > a, .serch-filter-date > h4 {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    line-height: 24px;
    display: inline-block;
    width: 100%;
    padding: 15px 30px;

}

.search-filter-clients > a {
    border-top: 1px solid #C4C4C4
}


.search-filter-clients-doctor, .search-filter-clients-client {
    margin: 10px 25px;

}

.serch-filter-date > h4 {
    padding: 10px 0;
    border-bottom: none;
}

.custom-checkbox {
    position: absolute;
    z-index: 1;
    opacity: 0;
    width: 23px;
    height: 23px;

}

.custom-checkbox + label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.custom-checkbox + label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #adb5bd;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.custom-checkbox:checked + label::before {
    border-color: #0b76ef;
    background-color: #5396f1;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}


.custom-checkbox:not(:disabled):not(:checked) + label:hover::before {
    border-color: #b3d7ff;
}

.custom-checkbox:not(:disabled):active + label::before {
    background-color: #b3d7ff;
    border-color: #b3d7ff;
}

.custom-checkbox:focus + label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-checkbox:focus:not(:checked) + label::before {
    border-color: #5396f1;
}

.custom-checkbox:disabled + label::before {
    background-color: #e9ecef;
}

.btn-stndrt#refresh-all {
    margin: 30px 0 10px 30px;
    padding: 7px 8px !important;
    width: auto;
    height: auto;
    text-transform: none;
    font-weight: normal;
}

.serch-filter-date {
    margin-left: 30px;
}

.history-body-sm {
    font-size: 13px;
    padding: 5px 10px;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #e9ecef;
}

.to-history {
    display: block;
    width: auto;
    height: auto;
    margin-top: 20px;
}

.pagination-items-container {
    float: right;
    margin-top: 20px;

}

.pagination-items-container li.page-item .page-link {
    background-color: #fff0;
    width: 44px;
    height: 44px;
    border: none;
    text-align: center;
    padding-top: 9px;
}

.pagination-items-container li.page-item.disabled .page-link {
    background: rgba(47, 73, 209, 0.1);
    border-radius: 4px;
}

.pagination-items-container .page-item.active .page-link {
    background: #7DA4D9;
}

.search-results-block .row {
    border-bottom: 1px solid #EEEEEE;
    margin: 0;
}

.search-results-block .row .col-2 p {
    text-align: center;
}

.history-client-pagination-items-container {
    background-color: #fff;
    padding: 10px;
}

.history-client-pagination-items-container nav {
    margin-left: 22px;
}

.history-client-pagination-items-container .bg-transparent {
    height: auto;
    width: auto;
}

.history-client-pagination-items-container li.page-item .page-link {

    border: 1px solid #C4C4C4;
    width: 20px;
    height: 20px;
    color: #C4C4C4;
    text-align: center;
    margin: 0 3px;
    padding: 0;
    font-size: 12px;
}

.history-client-pagination-items-container li.page-item:first-child .page-link,
.history-client-pagination-items-container li.page-item:last-child .page-link,
.history-client-pagination-items-container li.page-item.active .page-link {
    background: #7DA4D9;
    color: #fff;
}

.serch-filter-date input {
    border: 1px solid #B9B9B9;
    box-sizing: border-box;
}


li.page-item {

    display: none;
}

.page-item:first-child,
.page-item:nth-child( 2 ),
.page-item:nth-child( 3 ),
.page-item:nth-child( 4 ),
.page-item:nth-child( 5 ),
.page-item:nth-last-child( 2 ),
.page-item:nth-last-child( 3 ),
.page-item:last-child,
.page-item.active,
.page-item.disabled {

    display: block;
}

.search-filter-clients div.collapse.show {
    height: 40vh;
    overflow: auto;

}

a.client-name {
    text-decoration: none;
    color: #000;
    text-align: center;
    display: block;
}

@media (max-width: 767px) {
    .navbar-brand  {
        max-width: 70%;
    }

    .navbar-brand img {
        max-width: 100%;
    }
}

.navbar-collapse {
    background-color: #fff;
    z-index: 1;
}

@media (max-width: 990px) {
    .navbar-collapse .nav-item {
        margin-left: 15px;
    }
}
