
/*
 Theme Name: Constax 
 Theme URI: https://themewar.com/wp/constax/
 Author: ThemeWar
 Author URI: https://themeforest.net/user/themewar/portfolio
 Description: Constax Architecture & interior Wordpress Theme
 Version: 1.0
 License:
 License URI: 
*/

/*==================================
    [Table of contents]
===================================
    01. Sidebar Menu popup
    02. Mobile Menu popup
    03. Search popup



/* All Popup Css  */
/*-----------------------------------------
/  01. Sidebar Menu popup
/-----------------------------------------*/
.md-modal {
	position: fixed;
	top: 0;
	right: 0;
	width: 50%;
	max-width: 1280px;
    width: 100%;
	min-width: 320px;
    height: 100%;
	z-index: 999;
	visibility: hidden;
	backface-visibility: hidden;
    transform: translateX(0%) translateY(0%);
}
.md-content {
    color: #fff;
    background: #172230;
    position: relative;
    border-radius: 3px;
    margin: 0 auto;
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
}
.md-show {
	visibility: visible;
    z-index: 9998;
}
.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 9997;
	opacity: 0;
	background: rgba(28, 39, 52, 0.5);
	transition: all .2s ease-in .2s;
    backdrop-filter: blur(12px);    
    cursor: url(../images/close.png), auto;
}
.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
	transition: all .3s ease-out 0s;
}
button.md-close {
    position: absolute;
    right: 50px;
    top: 50px;
    background: transparent;
    stroke: #ffffff;
    z-index: 99;
    border: unset;
}
button.md-close:hover{
    stroke: var(--tw-primary-color);
}
button.md-close svg path{
    stroke: inherit;
}
/* Effect 2: Slide from the right */
.md-effect-2 .md-content {
	-webkit-transform: translateX(30%);
	-moz-transform: translateX(30%);
	-ms-transform: translateX(30%);
	transform: translateX(30%);
	opacity: 0;
	-webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	-moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

.md-show.md-effect-2 .md-content {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	opacity: 1;
}


.md-modal .md-content::-webkit-scrollbar {
    width: 6px;
}
.md-modal .md-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
            box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
}
.md-modal .md-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, .8);
    border-radius: 10px;
}


/* Sidebar  */
.md_modal_navWrap {
    display: flex;
    justify-content: start;
    align-items: start;
}
.md_modal_nav__lfs{
    padding: 92px 84px;
    background: #1C2734;
    flex: 0 0 41.288%;
    align-self: stretch;
}
.md_modal_nav__logo{
    padding:  0 0 45px;
    border-bottom: 1px solid var(--tw-border-w-color);
}
.md_modal_sidebarInfo{
    padding: 74px 0 58px;
    border-bottom: 1px solid var(--tw-border-w-color);
    list-style: none;
    margin: 0;
}
.md_modal_sidebar__wkHours{
    padding: 42px 0 70px;
}

.md_modal_sidebarInfo__item:not(:last-child){
    margin-bottom: 35px;
}
.md_modal_sidebarInfo__item h4{
    line-height: 26px;
    font-size: 16px;
    font-weight: 400;
    font-family: var(--tw-primary-font);
    color: rgba(255, 255, 255, .7);
    margin-bottom: 6px;
}
.md_modal_sidebarInfo__item p,
.md_modal_sidebarInfo__item a{
    font-size: 20px;
    line-height: 30px;
    font-weight: 70;
    font-family: var(--tw-heading-font);
    color: var(--tw-white-color);
    margin: 0;
}
.md_modal_sidebarInfo__item p{
    max-width: 300px;
    width: 100%;
}
.md_modal_sidebarInfo__item a:hover{
    color: var(--tw-body-color);
}
.md_modal_sidebar__wkHours h4{
    font-family: var(--tw-heading-font);
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
    text-transform: capitalize;
    color: #FFFFFF;
    margin: 0 0 9px;
}
.md_modal_sidebar__wkHours ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.md_modal_sidebar__wkHours ul li{
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, .7);
}
.md_modal_sidebar__wkHours ul li:not(:last-child){
    margin-bottom: 7px;
}
.md_modal_sidebar__wkHours p{
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    margin: 7px 0 0;
    color: #FFFFFF;
}
.md_modal_sidebar__social ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 20px;
}
.md_modal_sidebar__social ul li a{
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff0d;
    color: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 14px;
}
.md_modal_sidebar__social ul li a:hover{
    background: rgba(255, 255, 255, 0.05);
    color: #FFF;
    border-color: transparent;
}
.md_modal_sidebar__social ul li a svg{
    height: 15px;
    width: auto;
    fill: rgba(255, 255, 255, 0.2);
}
.md_modal_sidebar__social ul li a:hover svg{
    fill: #FFF;
}

.md_modal_nav__rfs {
    position: relative;
    flex: 0 0 58.712%;
    padding: 166px 100px 80px 109px;
    align-self: stretch;
}

/* Molal Header 10 Sidebar  */
#md_modal10_sidebar {
    max-width: 460px;
}
#md_modal10_sidebar .md-content{
    background: #1C2734;
}
#md_modal10_sidebar .md_modal_nav__lfs {
    flex: 0 0 100%;
    padding: 90px 60px;
    height: 100%;
    align-self: stretch;
}

/* Molal Header 10 Sidebar  */
#md_modal11_sidebar {
    max-width: 460px;
}
#md_modal11_sidebar .md-content{
    background: #1C2734;
}
#md_modal11_sidebar .md_modal_nav__lfs {
    flex: 0 0 100%;
    padding: 90px 60px;
    height: 100%;
    align-self: stretch;
}






/*-----------------------------------------
/  02. Mobile Menu popup
/-----------------------------------------*/
.popup_mbMenu_sec{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 99999;
}
.popup_mbMenu_overlay{
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(28, 39, 52, .6);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    cursor: url(../images/close.png), auto;
    -webkit-transition: all .4s ease-in .8s;
    -o-transition: all .4s ease-in .8s;
    transition: all .4s ease-in .8s;
}
.popup_mbMenu_bg{
    background: #1C2734;
    width: 300px;
    height:  100%;
    left: -100%;
    z-index: 9999999991;
    padding: 0;
    position: fixed;
    top: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: all 0.5s cubic-bezier(0.9, 0.03, 0, 0.96) 0.5s;
    -o-transition: all 0.5s cubic-bezier(0.9, 0.03, 0, 0.96) 0.5s;
    transition: all 0.5s cubic-bezier(0.9, 0.03, 0, 0.96) 0.5s;
    overflow-y: auto;
}
.popup_mbMenu_bg::-webkit-scrollbar {
    width: 6px;
}
.popup_mbMenu_bg::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
            box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
}
.popup_mbMenu_bg::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 10px;
}


.popup_mbMenu_sec.active .popup_mbMenu_overlay {
    visibility: visible;
    -webkit-transition: all .6s ease-out 0s;
    -o-transition: all .6s ease-out 0s;
    transition: all .6s ease-out 0s;
    left: 0;
    opacity: 1;
}
.popup_mbMenu_sec.active .popup_mbMenu_bg {
    opacity: 1;
    left: 0;
    visibility: visible;
    -webkit-transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96) 0.4s;
    -o-transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96) 0.4s;
    transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96) 0.4s;
}
.popup_mbMenu_closer{
    position: absolute;
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: transparent;
    color: var(--tw-white-color);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 16px;
    right: 10px;
    top: 15px;
    z-index: 99;
    cursor: pointer;
}
.popup_mbMenu_closer:hover{
    opacity: .8;
}


/*-----------------------------------------
/  03. Search popup
/-----------------------------------------*/
.popup_search_sec{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
}
.popup_search_overlay{
    position: fixed;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 21, 21, .55);
    z-index: 999991;
    opacity: 0;
    visibility: hidden;
    cursor: url(../images/close.png), auto;
    -webkit-transition: all .3s ease-in .5s;
    -o-transition: all .3s ease-in .5s;
    transition: all .3s ease-in .5s;
}
.popup_search_sec.active .popup_search_overlay {
    visibility: visible;
    -webkit-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
    top: 0;
    opacity: 1;
}

.popup_search_bg{
    background: #111111;
    width: 100%;
    height:  360px;
    top: -100%;
    z-index: 9999999991;
    padding: 60px 45px 60px 35px;
    position: fixed;
    left: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: all 0.2s cubic-bezier(0.9, 0.03, 0, 0.96) 0.3s;
    -o-transition: all 0.2s cubic-bezier(0.9, 0.03, 0, 0.96) 0.3s;
    transition: all 0.2s cubic-bezier(0.9, 0.03, 0, 0.96) 0.3s;
    overflow-y: auto;
}
.popup_search_sec.active .popup_search_bg {
    opacity: 1;
    top: 0;
    visibility: visible;
    -webkit-transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96) 0.5s;
    -o-transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96) 0.5s;
    transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96) 0.5s;
}

/* popup_search Content  */
.popup_search_cnt{
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
}
.popup_search_header{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 70px;
}
.popup_search_closer{
    position: relative;
    width: 24px;
    height: 24px;
    color: var(--tw-white-color);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 16px;
}
.popup_search_cnt .searchForm .form-group{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-between;
        -ms-flex-pack: space-between;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
}
.popup_search_cnt .searchForm input{
    position: relative;
    display: block;
    border-radius: 0;
    outline: 0;
    border: 0;
    -webkit-box-shadow: unset;
            box-shadow: unset;
    background: transparent;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    text-transform: capitalize;
    color: var(--tw-white-color);
    padding: 16px 16px 16px 0;
    width: calc(100% - 38px);
}
.popup_search_cnt .searchForm input::-webkit-input-placeholder{
    color: var(--tw-white-color);
}
.popup_search_cnt .searchForm input::-moz-placeholder{
    color: var(--tw-white-color);
}
.popup_search_cnt .searchForm input:-ms-input-placeholder{
    color: var(--tw-white-color);
}
.popup_search_cnt .searchForm input::-ms-input-placeholder{
    color: var(--tw-white-color);
}
.popup_search_cnt .searchForm input::placeholder{
    color: var(--tw-white-color);
}
.popup_search_cnt .searchForm button{
    background:transparent;
    color: var(--tw-heading-color);
    font-weight: 700;
    font-size: 18px;
    padding: 17px 20px;
    padding-right: 0;
    border-radius: 0;
    outline: 0;
    border: 0;
    -webkit-box-shadow: unset;
            box-shadow: unset;
    color: var(--tw-white-color);
}
.popup_search_cnt .searchForm button:hover{
    background: transparent;
    color: var(--tw-secondary-color);
}
