/*
Theme Name: Dr_alghoul
Theme URI: http://underscores.me/
Author: Dr_alghoul Project Delivery Unit
Author URI: http://dr_alghoul.se/
Description: Dr_alghoul Development theme
Version: 2.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: dr_alghoul
Tags: rtl-language-support

Dr_alghoul is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* MA Review Power */
.reviews-widget-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
}
.reviews-widget-block .featured-title {
    font-size: 1.5rem;
    line-height: 1.75em;
    padding: 10px;
    text-transform: uppercase;
    text-align: center;
}
.reviews-widget-block .featured-title span {
    font-size: 3.5rem;
    margin-bottom: 0px;
    display: block;
}
.reviews-widget-block .reviews-btn a {
    margin: 0 auto;
}

/* MA FORM POWER */
.pc-form-widget {
    padding: 20px 40px;
}
.pc-form-widget .form-loaded .form-content .form-field .form-control {
    font-family: sans-serif;
    color: #77848c;
    font-size: 16px;
    background: #e3e6e9;
    border: none;
    border-radius: 0;
    margin-bottom: 10px;
}
.pc-form-widget .form-loaded .form-content .form-button {
    border: 2px solid #e3e6e9;
    font-family: sans-serif;
    color: #77848c;
    font-size: 16px;
    background: #e3e6e9;
    width: 100%;
    border-radius: 0;
}

#topBlockTextBlock h3 {
    font-family: Lato,sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    padding: 20px 0 0 20px;
    color: #1c2329;
    margin-bottom: 0;
}
.posted-on .updated {
    display: none;
}
.page-id-3480 .entry-content ol li {
	margin-bottom: 15px;
}
.home .bio-container__text p, .home .cat-container__text p {
    text-align: justify !important;
}
.reviews__wrap:before {
    background-color: transparent;
}
.reviews .cover-block {
    bottom: 30%;
}
.services__item:hover .img__description_layer {
    visibility: visible;
    opacity: 1;
}
.site-footer__col2 .contacts__row2 .phone__numbers p span:nth-child(4) {
    margin-left: 0;
}
.interior-page-logo img {
    max-width: 356px;
    width: 100%;
}
.gallery-category h2.gallery-title {
    color: #accacd;
}
#interiorTopBlock, #topBlockTextBlock h1 {
    background: #CED8E1;
}
#topBlockTextBlock>h1 {
    padding: 10px 20px;
}
#topBlockTextBlock>h2 {
    padding: 10px 0 0 20px;
}
.fixed-btn {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 0;
}
.fixed-btn a:last-of-type {
    margin: 0;
}
.header-social {
    float: right;
}
.site-footer__col3 .office-hours__list li:last-of-type .hours {
    margin-right: 0;
}
#TopBlock {
    margin-bottom: 0;
}

.gallery-menu #menu-item-1655 a[href="#"]{
    background-color: #b4c7d3 !important;
}

.gallery-menu #menu-item-1653 a[href="#"]{
    background-color: #686d73 !important;
}

.gallery-menu #menu-item-1654 a[href="#"] {
    background-color: #e0e4e5 !important;
}

.gallery-menu #menu-item-1652 a[href="#"]{
    background-color: #b5dad9 !important;
}
.gallery-menu .menu-item a:hover {
    background-color: #e3e6e9 !important;
}
.single-post h1.entry-title, .single-post header.entry-header {
    display: block;
}
#sidebarContainer {
    padding-top: 70px;
}

.gallery-category.breast {
    background: url('/wp-content/uploads/2020/03/breast-gallery.jpg') no-repeat center top;
    height: 401px;
    background-size: cover;
}
#TopBlock{
    overflow-y: hidden;
}
#interiorTopBlock{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}
.interior-btn__link {
    background: #a9c8cb;
    text-align: center;
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition: background .3s;
    -o-transition: background .3s;
    transition: background .3s;
    z-index: 1;
}

.interior-btn__link:hover{background:#555658}

.interior-btn__link a {
    font-family: "Mplus 1p",sans-serif;
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 25px;
    width: 100px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}
.services__caption {
    z-index: 9;
}
@media (min-width: 900px){
.interior-btn__link a {
    font-size: 18.75px;
    line-height: 50px;
    width: 200px;
}
}
@media screen and (min-width: 1400px) {
    .bio-container__links a {
        flex-grow: 1;
        max-width: 450px;
    }
}
@media (min-width: 1600px){
.interior-btn__link {
    margin-top: 33px;
}
}
@media screen and (max-width: 1024px) {
	.home .main-header {
	    height: 117px !important;
	    background-color: #F5F5F5 !important;
	}
}
@media screen and (min-width: 992px) {
    .services__caption {
        z-index: 9;
    }
    .site-footer__col2 .contacts__row1 .download__financial:hover, .site-footer__col2 .contacts__row1 .download__forms:hover {
        background: #accacd;
    }
}

@media screen and (max-width: 769px) {
    .hero-section:before {
        content: "";
        background: url(//dralghoul.com/wp-content/themes/dr-alghoul/dist/styles/../images/dr-alghoul-logo.png);
        background-position: 40px;
        background-size: 175px;
        background-repeat: no-repeat;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: absolute;
        z-index: 1;
    }
    .hero-section__logo {
        display: none;
    }
    .video-content{
        flex-basis: 100% !important;
    }
    .wp-block-column.video-content:nth-child(2n){
        margin-left: 0;
    }
}

@media screen and (min-width: 576px) {
    .hero-section__title h1 {
        font-size: 32px;
        line-height: 44px;
    }
}
@media screen and (max-width: 750px) {
    .entry-content iframe {
        width: 560px;
        height: 315px;
        max-width: 100%;
    }
    .reviews__wrap iframe {
        height: 836px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .entry-content iframe {
        width: auto;
        height: auto;
        max-width: 100%;
    }
    .reviews__wrap iframe {
        height: 836px;
        width: 100%;
    }
    #interiorTopBlock .media-link, #interiorTopBlock .photos-link {
        position: absolute;
        top: 150px;
    }
    #interiorTopBlock .media-link {
        left: -41px;
    }
    #interiorTopBlock .photos-link {
        right: -41px;
    }
}

@media screen and (max-width: 360px) {
   .interior-btn__link a{
        width: 106px;
    }
}

@media (min-width: 1440px), all {
    .cat-container__text>p:last-of-type {
        margin-bottom: 10px;
    }
}

/* safari only */
.gallery-category .container:not(:root:root) { max-width: 415px; }
/* safari only */

/* Timeline */
.wrap-timeline {
    float: left;
    width: 100%;
    position: relative;
    text-align: center;
    margin: 10px 0 30px 0;
}
.wrap-timeline:before {
    width: 1px;
    height: 100%;
    background: #accacd;
    content: "";
    position: absolute;
    left: 50%;
    top: 4px;
    margin-left: -0;
}
.wrap-timeline .row {
    display: block;
}
.wrap-timeline img {
    max-width: 300px;
    width: 100%;
    margin: 10px auto;
    display: block;
}
.time-title {
    width: 200px;
    height: 45px;
    line-height: 45px;
    background: #accacd;
    border-radius: 30px;
    color: #fff;
    display: inline-block;
    text-align: center;
    margin: 8px auto;
    outline: 5px solid #fff;
    position: relative;
}
.left-row, .right-row {
    clear: both;
    float: left;
    width: 100%;
    margin-top: 3px;
    margin-bottom: 3px;
    position: relative;
}
.round-ico {
    background: #accacd;
    border-radius: 90%;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -7px;
    margin-top: -7px;
    outline: 5px solid #fff;
}
.left-row .left {
    float: left;
    clear: left;
    padding-right: 40px;
}
.time-item {
    text-align: center;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}
.time-item h4 {
    margin: 0;
    color: #77848c;
    font-size: 20px;
}
.left-row .left .time-item:after {
    background-image: url(img/left-arrow.png);
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    content: "";
    right: -25px;
    top: 50%;
    width: 25px;
    height: 38px;
    margin-top: -19px;
}
.left-row .right {
    float: right;
    clear: right;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    right: 0;
    padding-left: 40px;
}
.left-row .right .date {
    text-align: left;
    padding-left: 0px;
    color: #77848c;
    font-size: 20px;
}
.right-row .left .date {
    text-align: right;
    color: #77848c;
    font-size: 20px;
}
.right-row .right {
    float: right;
    clear: right;
    padding-left: 40px;
}
.right-row .right .time-item:before {
    background-image: url(img/right-arrow.png);
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    content: "";
    left: -25px;
    top: 50%;
    width: 25px;
    height: 38px;
    margin-top: -19px;
}
.right-row .left {
    float: left;
    clear: left;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    left: 0;
    padding-right: 40px;
}

/* CSS Updates for 78732 */

.hero-section:after {
    content: "";
    background: url(https://d2uvynux30dg3.cloudfront.net/dralghoul/wp-content/uploads/2024/01/04181313/header_doctor_image.jpg);
    background-position: center;
    background-position-y: 35px;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
}
.categories__item a {
    color: #5c5c5c;
}
.cat-container__title, .bio-container__title, .services__title, .entry-content>h2, .entry-content li:before, .gallery-category h2.gallery-title, .widget ul>li:before {
    color: #a39062;
}
.post_thumbnail_container {
    border-color: #a39062;
}
.hero-section__link, .interior-btn__link a, .bio-container__links a, .time-title, .wrap-timeline:before, .round-ico {
    background: #a39062;
}
#interiorTopBlock, #topBlockTextBlock h1, .gallery-menu .menu-item:first-child, .gallery-menu #menu-item-1652 a[href="#"], .menu-item-has-children>.sub-menu>.menu-item:hover {
    background: #d3cdc2 !important;
}
.gallery-menu .menu-item:first-child {
    border-color: #d3cdc2 !important;
}
.gallery-menu #menu-item-1655 a[href="#"] {
    background-color: #5c5c5c!important;
}
.divider__square:before {
    border: 6px solid #A39061;
}
@media screen and (max-width: 1400px) {
    .hero-section__title .home-hero-flexslider .flex-viewport p {
        color: #a39062;
    }
}
@media screen and (max-width: 1024px) {
	.home .main-header {
	    height: 82px !important;
	    background-color: #F5F5F5 !important;
	}
}
@media screen and (max-width: 769px) {
    .hero-section:before {
        content: "";
        background: url(https://d2uvynux30dg3.cloudfront.net/dralghoul/wp-content/uploads/2024/01/04172757/logo-v1.png);
        background-position: 40px;
        background-size: 175px;
        background-repeat: no-repeat;
    }
    .reviews__wrap {
        background-color: #A39061;
        background-image: none !important;
    }
}
@media screen and (min-width: 576px) {
    .hero-section__title h1 {
        font-size: 26px;
        line-height: 30px;
    }
}
@media (min-width: 770px) {
    .hero-section:before {
        background: url(https://d2uvynux30dg3.cloudfront.net/dralghoul/wp-content/uploads/2024/01/04172757/logo-v1.png);
        background-position: 100px;
        background-size: 270px;
        background-repeat: no-repeat;
    }
}
@media screen and (min-width: 992px) {
    .site-footer__col2 .contacts__row1 .download__financial:hover, .site-footer__col2 .contacts__row1 .download__forms:hover {
        background: #a39062;
    }
}
@media (min-width: 1120px) {
    .hero-section__logo {
        background: url(https://d2uvynux30dg3.cloudfront.net/dralghoul/wp-content/uploads/2024/01/04172757/logo-v1.png);
        height: 245px;
    }
    .hero-section {
        background: url(https://d2uvynux30dg3.cloudfront.net/dralghoul/wp-content/uploads/2024/01/04181313/header_doctor_image.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position-x: 20%;
    }
    .hero-section__title {
        margin-right: -140px;
    }
    .hero-section__title h1 {
        font-size: 17px;
        line-height: 27px;
    }
    .categories__item:hover a {
        color: #a39062;
    }
    
}
@media (min-width: 1441px) {
    .hero-section__title {
        margin-right: -140px;
    }
    /* .hero-section__title:after {
        top: 270px;
    } */
    .hero-section__title h1 {
        font-size: 32px;
        line-height: 44px;
    }
}
@media (min-width: 1600px) {
    .hero-section__title {
        margin-top: 25;
        margin-right: -100px;
    }
}
@media (min-width: 1700px) {
    .hero-section__title {
        margin-top: 25;
        margin-right: -50px;
    }
}


/* Homepage hero slider */

.home-hero-flexslider .flex-viewport {
    max-width: 400px;
    overflow: hidden;
}
.home-hero-flexslider .flex-viewport li {
    max-width: 400px;
    width: 400px !important;
}
.home-hero-flexslider .flex-viewport li:before {
    display: none;
}
.home-hero-flexslider .flex-viewport p {
    font-family: "Mplus 1p",sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 30px;
    color: #555658;
    text-transform: uppercase;
}
.home-hero-flexslider .flex-direction-nav {
    display: none !important;
}

@media (min-width: 576px) {
    .home-hero-flexslider .flex-viewport p {
        font-size: 34px;
        line-height: 44px;
    }
}
@media (min-width: 770px) {
    .home-hero-flexslider .flex-viewport p {
        text-align: center;
    }
}
@media screen and (max-width: 540px) {
    .hero-section__middle-container {
        margin-left: -85px;
    }
    .home-hero-flexslider .flex-viewport {
        max-width: 250px;
    }
    .home-hero-flexslider .flex-viewport li {
        max-width: 250px;
        width: 250px !important;
    }
}

/* End Homepage hero slider */

/* End CSS Updates for 78732 */

@media only screen and (max-width: 767px) {
    .left-row .left, .right-row .right {
        padding: 0 15px;
    }
    .left-row .right, .right-row .left {
        position: relative;
        top: 0;
        transform: none;
        -webkit-transform: none;
        -moz-transform: none;
        float: left;
        width: 100%;
        text-align: center;
        padding: 15px;
    }
    .right-row .right .time-item:before {
        left: 50%;
        top: 100%;
        margin-left: -12px;
        margin-top: -9px;
        z-index: 1;
        -ms-transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
    .left-row .right .date, .right-row .left .date {
        text-align: center;
        display: inline-block;
        background: #fff;
        padding: 10px;
    }
    .time-item h4 {
        margin: 0;
        font-size: 16px;
    }
    .left-row .left .time-item:after {
        right: 50%;
        top: 100%;
        margin-right: -12px;
        margin-top: -9px;
        z-index: 1;
        -ms-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}