/*
Theme Name:		 Child of Dr Mellouli
Theme URI:
Description:	 Child of Dr Mellouli is a child theme of Dr Mellouli
Author:			 medespoir
Author URI:
Template:		 dr-mellouli
Version:		 1.0.0
Text Domain:	 child-of-dr-mellouli
*/


/*
    Add your custom styles here
*/

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');
body {
    margin: 0;
    font-family: 'Quicksand', sans-serif;
    background: #042330;
    color: #fff;
    font-weight: 600;
}

body.page aside#secondary {
    display: none!important;
}

footer#colophon * {
    color: #ffffff;
}

footer#colophon {
    background: #d25840;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header#masthead {
    top: 0;
    background: #ffffff;
    padding: 15px 0;
    width: 100%;
    z-index: 1111;
    position: fixed;
    transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
}

header#masthead .header_container {
    width: 85%;
    margin: 0 auto;
}

header#masthead .header_container .site-branding {
    width: 20%;
    float: left;
}
html[dir='rtl'] header#masthead .header_container .site-branding {
    float: right;
}
header#masthead .header_container .site-branding img {
    max-width: 183px;
}

ul#main_menus>li {
    display: inline-block;
    padding: 15px 11px;
}

.main-navigation li {
    position: relative;
}

ul#main_menus {
    text-align: right;
    margin: 12px 0 0 0;
    padding: 0;
}

.main-navigation {
    display: block;
    width: 100%;
}

ul#main_menus>li>a {
    color: #042330;
    font-weight: 600;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

header#masthead .header_container #site-navigation {
    width: 80%;
    float: right;
    margin-top: -5px;
}

#masthead #main_menus>li>ul.sub-menu {
    width: 200px;
    text-align: center;
    background: #ff9078;
    padding: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

ul.sub-menu li {
    padding: 7px 0;
    color: #fff;
}

#masthead ul.sub-menu {
    width: 200px;
    text-align: center;
    background: #ff9078;
    padding: 0;
}

h3 {
    color: #f97754;
}

.main-navigation ul:not(.menu) {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

li.menu-item-has-children:hover>ul.sub-menu {
    display: block;
}

#masthead #main_menus li ul li ul {
    left: 200px;
}

section.DEVISintern,
section#DEVISintern {
    text-align: center;
}

.main_link {
    position: relative;
    display: inline-block;
    padding-right: 15px;
}

.main_link span {
    position: absolute;
    z-index: 2;
    width: 25px;
    height: 30px;
    right: 0;
    bottom: 0;
    background: url('/wp-content/themes/child-of-dr-mellouli/img/bg_btnlink.png')no-repeat right bottom;
    background-size: contain;
}

.main_link .a_main_link:hover,.main_link .a_link:hover {
    background: #ff7d62;
}

.main_link .a_main_link,.main_link .a_link {
    padding: 11px 17px;
    background-color: #38abdb;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
}

h2.entry-title a {
    color: #92cee2!important;
    text-decoration: none!important;
}

h2.entry-title {
    text-align: left;
    color: #92cee2!important;
    display: table!important;
    margin: 15px 0 15px 0;
    padding-left: 30px;
    padding-top: 14px;
    background: url(/wp-content/themes/child-of-dr-mellouli/img/bg__title.png)no-repeat left top;
}

h1.entry-title {
    text-align: center;
    color: #92cee2;
    display: table!important;
    margin: 15px auto 15px auto;
    padding-left: 30px;
    padding-top: 14px;
    background: url(/wp-content/themes/child-of-dr-mellouli/img/bg__title.png)no-repeat left top;
}

h2.title_orange {
    display: table;
    text-align: center;
    color: #f97d63;
    margin: 15px auto 15px auto;
    padding-left: 30px;
    padding-top: 14px;
    background: url(/wp-content/themes/child-of-dr-mellouli/img/bg__titleH2.png)no-repeat left top;
}

#img_DR img {
    margin-bottom: -19px;
}

p {
    margin: 0 10px;
}

@media (min-width:991px) {
    .interslider {
        position: relative;
        left: 15%;
        top: -10%;
    }
    html[dir='rtl'] .interslider {
        position: relative;
        right: 60%;
        top: -10%;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
    #border_raduis {
        border-top-left-radius: 100px;
    }
    #border_rud {
        border-bottom-left-radius: 50px;
    }
}

.intervention_category {
    background-color: #052e3f;
    padding: 10px;
    height: 100%;
    border-radius: 10px;
}

#padd_5perc {
    padding: 0 5%;
}

.descrip_interv_home {
    padding: 0 15px 15px;
}

.descrip_interv_home h3 {
    color: #54a4c8;
    font-size: 22px;
    max-width: 60%;
    margin: 0 auto;
    padding-bottom: 20px;
}

.interslider p {
    margin-bottom: 30px;
}

#padd_5perc .elementor-column .elementor-element .elementor-widget-container .elementor-text-editor,
#padd_5perc .elementor-column .elementor-element .elementor-widget-container,
#padd_5perc .elementor-column .elementor-element {
    height: 100%;
}

.intervention_category {
    position: relative;
    transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
}

.intervention_category>a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

.intervention_category:hover {
    -webkit-box-shadow: 0px 2px 20px 4px rgb(80 150 181 / 54%);
    -moz-box-shadow: 0px 2px 20px 4px rgb(80 150 181 / 54%);
    box-shadow: 0px 2px 20px 4px rgb(80 150 181 / 54%);
}

#masthead #main_menus>li>ul.sub-menu::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ff9078;
}

#masthead #main_menus>li>ul.sub-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

aside#secondary,
.lef__sidbar {
    overflow: hidden;
}

.left__side img {
    height: 106%;
    width: 100%;
    object-fit: cover;
    max-height: 250px;
}

.thumb_liste .entry-meta {
    position: absolute;
    padding: 10px 20px;
    background: #051921;
}

.thumb_singular .entry-meta {
    padding: 10px 20px;
    background: #051921;
}

.singular_archive_posts {
    margin-bottom: 20px;
}

.singular_archive_posts .thumb_liste img {
    height: 106%;
    max-height: 360px;
    width: 100%;
    object-fit: cover;
}

.right_arch {
    background: #051921;
}

body.blog main#primary {
    padding-top: 20px;
}

@media (min-width:769px) {
    .sidebar_lef {
        width: 75%;
        float: left;
    }
    .right_side {
        width: 25%;
        float: left;
    }
    body.blog article.singular_archive_posts {
        display: flex;
    }
    .thumb_liste,
    .right_arch {
        min-height: 300px;
    }
    body.blog main#primary,
    .containerXD {
        overflow: hidden;
        max-width: 1140px;
        margin: 0 auto;
        position: relative;
    }
    body.blog aside#secondary {
        float: left;
        width: 25%;
    }
    .lef__sidbar {
        padding-right: 15px;
        width: 75%;
        float: left;
    }
    .thumb_liste {
        width: 40%;
        float: left;
        display: table-cell;
    }
    .right_arch {
        width: 60%;
        float: left;
        display: table-cell;
        padding: 0 15px;
    }
    ul.sub-menu li:hover {
        background-color: #e2765e;
    }
    ul.sub-menu li {
        padding: 10px 0;
        border-bottom: 1px solid rgb(199 199 199 / 66%);
    }
    #page {
        padding-top: 97px;
    }
    .interslider p {
        color: #5fbee9;
        font-weight: inherit;
        font-size: 40px;
        line-height: 1;
    }
    .interslider p span {
        font-weight: bold;
        font-size: 45px;
    }
    .mainslider {
        background: url(/wp-content/themes/child-of-dr-mellouli/img/main_slider.jpg)no-repeat 99% bottom #042330;
        background-size: auto;
        background-size: cover;
        min-height: 750px;
        display: flex;
        align-items: center;
    }
    html[dir='rtl'] .mainslider:not(.mainslider .interslider p) {
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
    .descrip_interv_home h3 {
        color: #54a4c8;
        font-size: 22px;
        max-width: 60%;
        margin: 0 auto;
        padding-bottom: 20px;
    }
    .containerXD {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width:768px) {
    .singular_archive_posts .thumb_liste img {
        height: 200px;
        max-height: 200px;
    }
    .containerXD {
        padding-left: 15px;
        padding-right: 15px;
    }
    body {
        font-size: 15px;
    }
    h2.entry-title {
        font-size: 19px;
        background-size: 27px;
        padding-left: 23px;
        text-align: left;
        padding-top: 11px;
    }
    h1.entry-title {
        font-size: 23px;
        background-size: 34px;
        padding-left: 25px;
        text-align: left;
        padding-top: 11px;
    }
    #border_raduis {
        background-color: #e6f0f4;
        background-image: none;
    }
    #bg_coverr {
        background-size: cover;
    }
    h2.title_orange {
        text-align: left;
        font-size: 20px;
        line-height: 1.2;
        background-size: 30px;
        padding-left: 21px;
    }
    .elementor-text-editor h2 {
        margin-bottom: 15px!important;
    }
    .main_link {
        margin-left: 15px;
    }
    .iframe_intern {
        height: 600px!important;
    }
    #page {
        padding-top: 50px;
    }
    .interslider p {
        padding-top: 20px;
        color: #5fbee9;
        font-weight: inherit;
        font-size: 26px;
        line-height: 1;
    }
    .interslider p span {
        font-weight: bold;
        font-size: 30px;
    }
    .mainslider {
        background: url(/wp-content/themes/child-of-dr-mellouli/img/slider__mobile.jpg)no-repeat right bottom #042330;
        background-size: auto;
        background-size: cover;
        min-height: 425px;
    }
    .owl-nav {
        display: none;
    }
    .descrip_interv_home h3 {
        color: #54a4c8;
        font-size: 22px;
        max-width: 90%;
        margin: 0 auto;
        padding-bottom: 20px;
    }
}

h2.title_orange.fl {
    margin: 0;
    text-align: left;
    background-size: 31px;
    padding-left: 20px;
    padding-top: 9px;
}

.owl-testim .owl-item {
    background: #c7dde6;
    border-radius: 20px;
    padding: 20px;
}

.owl-testim .owl-item img {
    margin: 0 auto;
    display: table;
    width: auto;
}

.text_test {
    color: #010b25;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

.user_tesm {
    color: #37a3cb;
    text-align: center;
    font-weight: 600;
    font-size: 19px;
    margin-top: 20px;
}

.owl-testim .owl-item .img_txt {
    margin-bottom: 15px;
    width: 100%;
    clear: both;
    display: block;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.owl-testim button.owl-next span,
.owl-testim button.owl-prev span {
    font-size: 50px;
}

.owl-testim button.owl-prev {
    position: absolute;
    top: 50%;
    left: -50px;
    font-size: 20px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.owl-testim button.owl-next {
    position: absolute;
    top: 50%;
    right: -50px;
    font-size: 20px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.owl-testim .owl-dot.active span {
    background: #3a7d9a!important;
}

.owl-testim .owl-dot:not(.active) span {
    background: #e6f0f4!important;
    width: 40px!important;
    margin-left: 0px!important;
}

button span:focus {
    border: none!important;
}

.elementor-text-editor ul {
    list-style-image: url(/wp-content/themes/child-of-dr-mellouli/img/list-style.png);
    padding: 0 0 0 18px;
    margin: 12px 0;
}

header.fixed-header {
    top: 0;
    position: fixed;
    z-index: 9;
    width: 100%;
    background: rgb(1, 99, 171);
    background: -moz-linear-gradient( 180deg, rgb(13, 58, 77) 0%, rgb(49, 145, 184) 100%);
    background: -webkit-linear-gradient( 180deg, rgb(13, 58, 77) 0%, rgb(49, 145, 184) 100%);
    background: linear-gradient( 180deg, rgb(13, 58, 77) 0%, rgb(49, 145, 184) 100%);
    transition: 1s cubic-bezier(.858, .01, .068, .99);
    -webkit-transition: 1s cubic-bezier(.858, .01, .068, .99);
    -moz-transition: 1s cubic-bezier(.858, .01, .068, .99);
    -ms-transition: 1s cubic-bezier(.858, .01, .068, .99);
    -o-transition: 1s cubic-bezier(.858, .01, .068, .99);
    -webkit-box-shadow: 0 2px 26px -1px rgb(0 0 0 / 37%);
    -moz-box-shadow: 0 2px 26px -1px rgba(0, 0, 0, .37);
    box-shadow: 0 2px 26px -1px rgb(0 0 0 / 37%);
}

.social__mobile {
    overflow: hidden;
    position: relative;
    clear: both;
    background: #d25840;
}

.social__mobile .item svg {
    fill: #fff!important
}

.menu-icon__box_inner.close span {
    background: #175772;
}

ul#main_nav li a {
    text-decoration: none;
}

ul#main_nav li {
    text-align: center;
}

.menu-icon__box_inner.close span.menu-icon__inner:after {
    top: 50%;
    transform: rotate( -45deg);
    -webkit-transform: rotate( -45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

.menu-icon__box_inner.close span.menu-icon__inner:before {
    top: 50%;
    transform: rotate( 45deg);
    -webkit-transform: rotate( 45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

nav.navbar_mobile ul {
    list-style: none;
}

ul#main_nav li {
    padding: 7px 0;
}

nav.navbar_mobile {
    min-height: 100vh;
    position: absolute;
    padding: 15px;
    z-index: 9;
    width: 100%;
    background: #1f6c8c;
    left: 0;
    top: 63px;
    transition: 1s cubic-bezier(.858, .01, .068, .99);
    -webkit-transition: 1s cubic-bezier(.858, .01, .068, .99);
    -moz-transition: 1s cubic-bezier(.858, .01, .068, .99);
    -ms-transition: 1s cubic-bezier(.858, .01, .068, .99);
    -o-transition: 1s cubic-bezier(.858, .01, .068, .99);
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
}

nav.navbar_mobile ul {
    padding: 0;
    margin: 0;
}

nav.navbar_mobile ul.main_nav li a {
    color: #fff;
}

.relv {
    position: relative;
    padding: 10px;
    height: 50px;
}

span.menu-icon__inner {
    width: 100%;
    height: 2px;
    background: #fff;
    display: block;
    transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
}

.menu-icon__box_inner {
    overflow: hidden;
    right: 14px;
    position: absolute;
    width: 30px;
    height: 20px;
    top: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

span.menu-icon__inner:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    bottom: 0;
    bottom: 0;
    margin-left: 10%;
    width: 80%;
    transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
}

.fixed-header .header-logo.js-midnight-color.js-headroom {
    float: left;
    width: 42%;
}

span.menu-icon__inner:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    top: 0;
    bottom: 0;
    margin-left: 10%;
    width: 80%;
    transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
}

a.devis-top {
    position: absolute;
    right: 55px;
    padding: 4px 10px;
    top: 19px;
    background: aliceblue;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    color: #0163ab;
}

span.open-btn::after {
    content: '';
    position: absolute;
    top: 44%;
    display: block;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    width: 6px;
    height: 6px;
    transform: translate(-50%, -50%) rotate( -45deg);
    -webkit-transform: translate(-50%, -50%) rotate( -45deg);
    -moz-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    -o-transform: translate(-50%, -50%) rotate(-45deg);
}

span.open-btn {
    padding: 10px;
    border: 1px solid #fff;
    position: absolute;
    right: 15px;
}

.opened {
    display: block!important;
    transform: translateX(0)!important;
    -webkit-transform: translateX(0)!important;
    -moz-transform: translateX(0)!important;
    -ms-transform: translateX(0)!important;
    -o-transform: translateX(0)!important;
    transition: 1s cubic-bezier(.858, .01, .068, .99);
    -webkit-transition: 1s cubic-bezier(.858, .01, .068, .99);
    -moz-transition: 1s cubic-bezier(.858, .01, .068, .99);
    -ms-transition: 1s cubic-bezier(.858, .01, .068, .99);
    -o-transition: 1s cubic-bezier(.858, .01, .068, .99);
}

.itm {
    width: 25%;
    float: left;
    text-align: center;
    padding: 4px 0 0 0;
}

body.blog article.singular_archive_posts {
    overflow: hidden;
    width: 100%;
    clear: both;
    background-color: #051921;
}

body.blog main#primary {
    overflow: hidden;
    clear: both;
}

.thumb_singular {
    text-align: center;
    margin: 0 0 20px 0;
}

.thumb_singular img {
    max-height: 300px;
    width: auto;
    margin: 0 auto;
    padding: 15px 0;
}

.intervention_category.link_abs {
    text-align: center;
    height: 100%;
}

.eq_height .elementor-column>div>div>div,
.eq_height .elementor-column>div>div,
.eq_height .elementor-column>div {
    height: 100%;
}

body.page .post-thumbnail {
    display: none;
}
.whatsapp-icon {
    display: flex;
    align-items: center;
    width: 55px;
    height: 55px;
    position: fixed;
    top: calc(55% + 50px);
    left: 0px;
    cursor: pointer;
    z-index: 4;
    padding: 4px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 30px;
    background-color: #2ab737;
    background: linear-gradient(135deg, #0f912c 0, #25a325 37%, #2ab939 100%);
}

.trin-trin {
    animation-name: trin;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    width: 50%;
    margin: 0 auto;
}

@keyframes trin {

    from {
        transform: rotate3d(0, 0, 1, 0deg);
    }

    20%,
    32%,
    44%,
    56%,
    68% {
        transform: rotate3d(0, 0, 1, 0deg);
    }

    23%,
    35%,
    47%,
    59%,
    71% {
        transform: rotate3d(0, 0, 1, 15deg);
    }

    26%,
    38%,
    50%,
    62%,
    74% {
        transform: rotate3d(0, 0, 1, 0deg);
    }

    29%,
    41%,
    53%,
    65%,
    77% {
        transform: rotate3d(0, 0, 1, -15deg);
    }

    80% {
        transform: rotate3d(0, 0, 1, 0deg);
    }

}

.whatsapp-icon:before {
    content: "";
    background: url(img/whatsapp.webp);
    position: absolute;
    width: 85%;
    height: 85%;
    background-repeat: no-repeat;
    background-size: contain;
}
.otgs-development-site-front-end {
    display: none;
}

.pt-4.containerXD {
    padding-top: 30px;
}