/*
 Theme Name:   Liqmed.ru
 Theme URI:    https://dmitriydenisov.com
 Description:  The child theme to modify the parent WebPoint PRO theme.
 Author:       Dmitriy Denisov
 Author URI:   https://dmitriydenisov.com
 Template:     webpoint-pro
 Version:      1.0.0
 Text Domain:  webpoint-pro-child
*/


/* Logo
-------------------------------------------------------------- */

#logo .logo-inner {
    margin: 0.4375rem 0 0 0;
}

#logo a {
    padding: 0 0 0 3.5625rem;
    position: relative;
}

#logo a:before {
    background: url( 'assets/img/logo.png' ) no-repeat center center transparent;
    background-size: cover;
    content: '';
    display: block;
    height: 2.875rem;
    width: 2.875rem;
    position: absolute;
    top: 0.0625rem;
    left: 0;
}

#logo .site-name {
    font-size: 1.625rem;
    line-height: 1.875rem;
    padding: 0 0.125rem 0 0;
    letter-spacing: 0;
    text-shadow: 0.0625rem 0.0625rem 0.0625rem #dbdbdb;
}

#logo .site-desc {
    padding: 0 0 0 0.0625rem;
}

/* ###################################################### Logo */





/* Header Widget
-------------------------------------------------------------- */

#header .middle-row .right-col {
    text-align: right;
}

#header .middle-row .right-col .contact-phone {
    display: inline-block;
    height: 5rem;
    padding: 0 .75rem;
    position: relative;
}

#header .middle-row .right-col .contact-phone .contact-phone-inner {
    display: inline-block;
    line-height: normal;
    margin: 0.5625rem 0 0 0;
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}

#header .middle-row .right-col .contact-phone .fa {
    font-size: 2.75rem;
    color: #787878;
    position: absolute;
    top: 0.5rem;
    left: 0;
}

#header .middle-row .right-col .contact-phone .phone-note {
    color: #5c5d5f;
    display: block;
    font-size: 0.75rem;
    line-height: 1rem;
    height: 1rem;
    font-weight: 400;
}

#header .middle-row .right-col .contact-phone .phone-number {
    display: block;
    color: #333;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.75rem;
    letter-spacing: 0.0625rem;
}

/* ############################################# Header Widget */





/* Menu
-------------------------------------------------------------- */

#main-menu a,
#main-menu .item,
#main-menu [data-href] {
    text-transform: uppercase;
}

#main-menu a,
#main-menu .item,
#main-menu [data-href] {
    color: #676767;
}

#main-menu .item[data-href] {
    color: #676767;
}

#main-menu ul.menu > li.menu-item-has-children > a:after,
#main-menu ul.menu > li.menu-item-has-children > .item:after,
#main-menu ul.menu > li.menu-item-has-children > [data-href]:after {
    border-top: 0.25rem solid #676767;
}

#main-menu ul.menu > li.menu-item-has-children:hover > a:after,
#main-menu ul.menu > li.menu-item-has-children:hover > [data-href]:after {
    border-top: 0;
    border-right: 0.25rem solid transparent;
    border-bottom: 0.25rem solid #676767;
}

#main-menu ul.sub-menu li a:hover,
#main-menu ul.sub-menu li a:active,
#main-menu ul.sub-menu li [data-href]:hover,
#main-menu ul.sub-menu li [data-href]:active {
    background-color: #f3f3f3;
    color: #676767;
}

/* ###################################################### Menu */





/* Search Form
-------------------------------------------------------------- */

.searchform .advanced input[type='text'],
.searchform .advanced input[type='search'] {
    padding-right: 9rem;
}

.searchform .search-input .filter {
    position: absolute;
    right: 2.625rem;
    top: 0.0625rem;
    bottom: 0.0625rem;
    line-height: 2rem;
    width: 6.375rem;
}

.searchform .search-input .filter .select2-container {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: auto !important;
}

.searchform .search-input .filter .select2-container--default .select2-selection--single {
    background: transparent;
    border: 0;
}

.searchform .search-input .filter .select2-container .select2-selection--single {
    height: 2rem;
}

.searchform .search-input .filter .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #858585;
    line-height: 2rem;
}

.searchform .search-input .filter .select2-container--default .select2-selection--single .select2-selection__clear {
    padding: 0 0.25rem;
}

.searchform .search-input .filter .select2-container--default .select2-selection--single .select2-selection__rendered .selected {
    line-height: 2rem;
}

.searchform .search-input .filter .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 1.9375rem;
}

.search-filter-dropdown .select2-dropdown {
    border-color: #ccc;
    z-index: 9999;
}

.search-filter-dropdown .select2-results > .select2-results__options {
    max-height: 16rem;
}

/* ############################################### Search Form */





/* Doc Note
-------------------------------------------------------------- */

#content .doc-note {
    margin: 0 0 1rem 0;
    padding: 1.125rem 1.25rem 1.25rem 1.25rem;
    border: 0.0625rem solid #E7E7E7;
    text-align: center;
    background-color: #fafafa;
    position: relative;
    font-size: 0.875rem;
    line-height: 1.5rem;
    max-width: 100%;
}

#content .doc-note .note-text {
    margin: 0 0 0.875rem 0;
}

#content .doc-note .note-text .fa {
    font-size: 1.25rem;
    color: #F5BA15;
    margin: 0 0.5rem 0 0;
    vertical-align: middle;
}

#content .doc-note .btn {
    background: #5fb053;
    border-radius: 0.25rem;
    color: #fff;
    display: inline-block;
    font-size: 0.875rem;
    line-height: 1.5rem;
    margin: 0 0.25rem 0.5rem 0.25rem;
    padding: 0.25rem 0.875rem;
    width: auto;
    cursor: pointer;
}

#content .doc-note .btn:hover {
    background: #68b35d;
    color: #fff;
    text-decoration: none;
}

#content .doc-note .btn .fa {
    color: #fff;
    margin: 0 0.5rem 0 0;
}

#content .doc-note .button-wrap {
    display: inline-block;
    margin: 0 0.25rem 0.5rem 0.25rem;
}

#content .doc-note .dd-button,
#dd-sign-up-popup .dd-button,
#dd-sign-up-popup-success .dd-button {
    background: #5fb053 !important;
    border-radius: 0.25rem !important;
    color: #fff !important;
    display: inline-block !important;
    font-size: 0.875rem !important;
    font-family: 'Roboto', arial, sans-serif !important;
    line-height: 1.5rem !important;
    margin: 0 !important;
    padding: 0.25rem 0.875rem !important;
    width: auto !important;
    height: auto !important;
    cursor: pointer !important;
    border: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

#dd-sign-up-popup-success .dd-button {
    text-transform: uppercase !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

#content .doc-note .dd-button:hover,
#dd-sign-up-popup .dd-button:hover,
#dd-sign-up-popup-success .dd-button:hover {
    background: #68b35d !important;
    color: #fff !important;
    text-decoration: none !important;
}

#content .doc-note .dd-button span,
#dd-sign-up-popup .dd-button span,
#dd-sign-up-popup-success .dd-button span {
    border: 0 !important;
    box-shadow: none !important;
    font-size: 0.875rem !important;
    font-family: 'Roboto', arial, sans-serif !important;
    line-height: 1.5rem !important;
    display: inline-block;
    height: auto;
}

#content .doc-note .dd-button span:before {
    content: '\f00c';
    display: inline-block;
    font-family: FontAwesome;
    font-size: 0.875rem;
    line-height: 0.875rem;
    margin-right: 0.5rem;
}

body.print #content .doc-note,
body.print #content .ads-wrap,
body.print #content .adcontent-item {
    display: none;
}

/* ################################################## Doc Note */





/* DocDoc Widget
-------------------------------------------------------------- */

/* width <= 480px */
@media only screen and ( max-width: 30rem ) {

    .dd-sign-up-popup {
        width: 320px !important;
        margin-left: -160px !important;
        z-index: 999999 !important;
    }

    .dd-sign-up-popup-form-container {
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    .dd-sign-up-popup-under-form-description {
        padding-left: 127px !important;
    }

}

/* ############################################ DocDoc Widget */





/* Footer Notification
-------------------------------------------------------------- */

#footer .notification {
    background: #fffde7;
    border-top: 0.0625rem solid #e7e7e7;
    padding: 0.3125rem 0;
}

#footer .notification .inner {
    font-size: 0.8125rem;
    color: #666;
    padding: 0 1rem;
    text-align: center;
}

#footer .notification .inner span.fa {
    margin: 0 0.25rem 0 0;
    color: #adb1b7;
    font-size: 0.875rem;
}

/* ####################################### Footer Notification */





/* #medical-codes
-------------------------------------------------------------- */

#medical-codes .more {
    display: block;
    text-align: center;
}

#medical-codes .more:hover {
    cursor: pointer;
}

#medical-codes .more .fa {
    color: #666;
    font-size: 1.125rem;
    line-height: 1.125rem;
    transform: scale(1.25,1);
    vertical-align: middle;
    opacity: 0.85;
    margin: 0;
}

#medical-codes .more:hover .fa {
    color: #D6001C;
}

/* ############################################ #medical-codes */





/* .nav-table
-------------------------------------------------------------- */

#content .nav-table {
    border-collapse: separate;
    background-color: #fff;
    border: none !important;
    float: none;
    margin: 1rem 0;
    text-align: center;
    width: 100%;
}

#content .nav-table th {
    border: 0.0625rem solid #d3d3d3;
    font-weight: 500;
    padding: 0.625rem;
    text-align: center;
}

#content .nav-table td {
    border: 0.0625rem solid #d3d3d3;
    padding: 0.625rem;
    text-align: center;
}

.nav-table .item .item-image {
    max-width: 4.375rem;
    width: 4.375rem;
}

.nav-table .item .item-image img {
    max-height: 2.25rem !important;
    margin: 0 auto !important;
}

.nav-table .item-title {
    text-align: center;
}

.nav-table .item-title a {
    font-size: 1.125rem;
    color: #333;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-table .item-title a:hover {
    color: #333;
    text-decoration: underline;
}

/* ################################################ .nav-table */





/* .content-menu
-------------------------------------------------------------- */

#content .content-menu ul.menu {
    list-style-position: inside;
    list-style-type: none;
    margin: 1.5rem 0 1.125rem 0;
    padding: 0;
}

#content .content-menu ul.menu li {
    display: inline-block;
    margin: 0 0 0.5rem 0;
    padding: 0;
}

#content .content-menu ul.menu li a,
#content .content-menu ul.menu li [data-href] {
    border-radius: 0.125rem;
    box-shadow: 0 0.0625rem 0 rgba(0, 0, 0, 0.05);
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.75rem;
    outline: 0 none;
    padding: 0 0.625rem;
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: normal;
    margin: 0 0.125rem;
    border: 0.0625rem solid #d3d3d3;
    background-color: #f8f8f8;
    color: #333333;
}

#content .content-menu ul.menu li a:hover,
#content .content-menu ul.menu li [data-href]:hover {
    background: #f0f0f0 none repeat scroll 0 0;
    border: 0.0625rem solid #c6c6c6;
    box-shadow: 0 0.0625rem 0 rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

#content .content-menu ul.menu li.current-menu-item a,
#content .content-menu ul.menu li.current-menu-item a:hover,
#content .content-menu ul.menu li.current-menu-item [data-href],
#content .content-menu ul.menu li.current-menu-item [data-href]:hover {
    background-color: #e9e9e9;
    border: 0.0625rem solid #c6c6c6;
    box-shadow: 0 0.0625rem 0 #dddddd inset;
    cursor: default;
    font-weight: 700;
}

/* ############################################# .content-menu */





/* Content Ads
-------------------------------------------------------------- */

#content .ads {
    margin: 0 0 1.125rem 0;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.toc-wrap .ads {
    margin: 0 !important;
    text-align: center;
}

#content .ads .center {
    text-align: center;
}

#content .ads .center .inner {
    display: inline-block;
    margin: 0 auto;
    min-width: 18.75rem;
    max-width: 100%;
}

#content .ads .responsive-yandex-rtb {
    position: relative;
    /* padding: 0.5rem;
    border-top: 0.0625rem solid #E6E6E6;
    border-right: 0.0625rem solid #E6E6E6;
    border-bottom: 0.0625rem solid #E6E6E6;
    border-left: 0.25rem solid #E6E6E6;
    background-color: #fefefe; */
}

#content .ads .responsive-yandex-rtb [id^='yandex_rtb'],
#content .ads .responsive-yandex-rtb [id^='yandex_rtb'] [id^='yap-R-A-'],
#content .ads .responsive-yandex-rtb [id^='yandex_rtb'] [id^='yap-R-A-'] .yap-layout_block_fixed {
    width: 100% !important;
    height: auto !important;
}

#content .ads .responsive-yandex-rtb [id^='yandex_rtb'] [id^='yap-R-A-'] .yap-layout__wrapper {
    width: auto !important;
    height: auto !important;
}

#content .ads .responsive-yandex-rtb [id^='yandex_rtb'] [id^='yap-R-A-'] .yap-layout__picture {
    padding-right: 0.625rem !important;
}

#content .ads-wrap {
    padding: 1rem;
}

#content .ads-wrap hr {
    background-color: transparent;
    margin: 0.75rem 0;
    border-bottom: 0.0625rem solid #e7e7e7;
}

#content .ads-wrap-top {
    margin-top: 1.5rem;
}

#content .ads-wrap .ads {
    margin: 0;
}

/* #content .ads-wrap .ads .responsive-yandex-rtb {
    padding: 0;
    border: 0;
    background-color: #fff;
} */

/* ############################################### Content Ads */





/* Ads
-------------------------------------------------------------- */

.post-list-ads-top {
    margin-bottom: 1rem;
}

.post-list-ads-bottom {
    margin-top: 0.75rem;
}

/* ####################################################### Ads */