/*
Theme Name:         Murex Corporate
Description:        Theme for Murex Properties Corporate Site
Version:            1.0.3
Requires at least:  5.2
Tested up to:       6.5
Requires PHP:       7.4
Author:             Rumspeed
Author URI:         https://rumspeed.com
License:            GNU General Public License v2 or later
License URI:        http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:        murexcorporate
*/

/*=============
 Reset Styles
 ==============*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box
}

body {
	line-height: 1.5;
	font-size: 16px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;

}

@media (min-width: 960px){
	body {
		font-size: 20px;
	}
}

ol, ul {
    margin: 0px 0 1.25em 40px;
}

li {
    margin-bottom: 1.25em;
}

nav ul{
    margin: 0;
    list-style: none;
}

nav li{
    margin: 0;
    list-style: none;
}

blockquote, q {
	quotes: none;
	font-style: italic;
	font-size: .9em;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

img{
	max-width: 100%;
	height: auto;
}

strong {
    font-weight: 700;
}

a {
	text-decoration: none;
	-webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

p{
	margin-bottom: 20px;
}

h1,h2,h3,h4,h5,h6{
	font-family: 'Merriweather', serif;
	color: #1d352f;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 1rem;
}

/*=============
 Fonts
 ==============*/

body{
	font-family: 'Open Sans', sans-serif;
}

.home-title {
    font-size: 3em;
    margin: 0 0 1em;
    line-height: 58px;
    color: #1d352f;
}

.title {
    font-size: 2.5em;
    line-height: 46px;
    margin: 0 0 1em;
}

.fw300{
	font-weight: 300;
}

.fw400{
	font-weight: 400;
}

.fw600{
	font-weight: 500;
}

.fw700{
	font-weight: 700;
}

.uppercase{
	text-transform: uppercase;	
}

.title-initial{
	text-transform: initial;
}


/*=============
 Colors
 ==============*/


/*=============
 
 ==============*/
 section {
    padding: 3.75em 0;
}

.container {
    margin: auto;
    max-width: 1380px;
	width: 90%;
}

.text-center{
	text-align: center;
}

.is-hidden{
	display: none;
}

.cta-btn {
    padding:.75em 1.5em;
	background: blue;
	color: #fff;
	display: inline-block;
	font-weight: 700;
	text-transform: uppercase;
}

.cta-btn:hover,
.cta-btn:focus {
	background: green;
}

.df{
	display: flex;
}

.m-auto{
	margin: auto;
}

.mx-auto{
	margin: 0 auto;
}

.mb1{
	margin-bottom: 1em;
}

.mb2{
	margin-bottom: 2em;
}

.mb3{
	margin-bottom: 3em;
}

.m1x0{
	margin: 1em 0;
}
.m2x0{
	margin: 2em 0;
}

.m3x0{
	margin: 3em 0;
}

.m5x0{
	margin: 5em 0;
}

.p1{
	padding: 1em;
}

.p2{
	padding: 2em;
}

.p3{
	padding: 3em;
}

.p5{
	padding: 5em;
}

.p2x0{
	padding: 2em 0;
}

.p3x0{
	padding: 3em 0;
}

.pt3{
	padding-top: 3em;
}

.p5x0,
.p10x0x5{
	padding: 5em 0;
}

.pb0{
    padding-bottom: 0;
}

.ch20{
	max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
}

.ch40{
	max-width: 40ch;
    margin-left: auto;
    margin-right: auto;
}

.ch60{
	max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.ch80{
	max-width: 80ch;
    margin-left: auto;
    margin-right: auto;
}

@media(min-width:1200px){
	.p10x0x5{
		padding: 10em 0 5em;
	}
}

/*=============
 Header Styles
 ==============*/

#top {
    background: #1e342f;
    color: #fff;
    padding: 1em;
    font-size: .8em;
}

#top .df {
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 0 3em;
}

#top a {
    color: #fff;
}

.header__container {
	border-bottom: 1px solid rgb(0 0 0 / 10%);
	display: flex;
    align-items: center;
    padding: 1em 0;
    justify-content: space-between;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.header__logo {
    max-width: 230px;
}

.desktop-contact{
    display: none;
}

.mobile-contact {
    display: flex;
    gap: 2em;
    justify-content: center;
}

.mobile-contact svg{
    height: 40px;
    width: 40px;
}

@media(min-width: 640px){
    .mobile-contact{
        display: none;
    }

    .desktop-contact{
        display: flex;
    }
}

#header-nav li {
    display: inline;
    text-transform: uppercase;
}

#header-nav li a {
    color: #1d352f;
	padding: .5em 1em;
	position: relative;
	font-weight: 700;
}

#header-nav li a:hover,
#header-nav li a:focus,
#header-nav li.current_page_item a{
	background: #6db0a1;
	color: #fff;
}

@media(max-width: 1240px){
	#header-nav li {
	    font-size: 1rem;
	}
}

.navButtonWrapper {
    display: none;
}

.navButton {
    float: right;
    position: relative;
    width: 20px;
    height: 14px;
}

.navButtonBar {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    float: left;
    width: 100%;
    position: absolute;
    height: 3px;
    background: #6db0a1;
    margin: 7px 0 0;
}

.navButtonBar--top {
    margin-top: 1px;
}

.navButtonBar--bottom {
    margin-top: 13px;
}

body.is-showingNav .navButtonBar {
    background: #6db0a1;
}

body.is-showingNav .navButtonBar--top {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: 7px
}

body.is-showingNav .navButtonBar--middle {
    opacity: 0;
    filter: alpha(opacity=0);
}

body.is-showingNav .navButtonBar--bottom {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-top: 7px;
}

.navButton {
    width: 50px;
    height: 17px;
}
.navButtonBar--top {
    margin-top: 0px;
}
.navButtonBar--bottom {
    margin-top: 14px;
}

#mobile-nav {
    background-color: #6db0a1;
    height: 100%;
    overflow-y: scroll;
    padding-top: 60px;
    position: fixed;
    right: -320px;
    top: 0;
    width: 320px;
    z-index: 99999;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

#mobile-nav, 
#mobile-nav li a  {
    color: #fff;
}

#mobile-nav li {
	border-bottom: 1px solid #1d352f;
    width: 100%;
}

#mobile-nav li a {
    padding: 1em;
    width: 100%;
    display: block;
    font-weight: 700;
    text-transform: uppercase;
}

.main-nav-contact-container {
    padding: 12px 30px;
}

body.is-showingNav {
    overflow: hidden;
}

body.is-showingNav #mobile-nav {
    display: block;
    right: 0;
}

body.is-showingNav .header__container {
    transform: translateX(-320px);
}

body.is-showingNav .mobile-overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    top: 0;
}

.nav-mobile__contact {
    padding: 1em;
}

.nav-mobile__contact a {
    color: inherit;
}

.nav-mobile__contact address {
    margin-bottom: 1em;
}

@media(max-width: 1024px){
	.nav-wrap{
		display: none;
	}
	
	.navButtonWrapper {
		display: flex;
    	align-items: center;
	}

}

.page-title-banner {
    background: url(/wp-content/themes/murex-corporate/images/green-bg.jpeg) no-repeat center / cover;
    padding: 5em 1em;
    text-align: center;
}

.page-title-banner h1{
    color: #fff;
}

.page-title {
    font-size: 3em;
}

#community-grid-header{
    padding: 3em 0 0;
}

.community-grid-header__logo {
    width: 80%;
    max-width: 400px;
    margin: 0 auto 2em;
}

/*=============
 Page Styles
 ==============*/

.top-box__wrap {
    display: flex;
    gap: 2em;
    flex-flow: row wrap;
    justify-content: center;
}

.top-box__box {
    flex: 1 1 20em;
    background: #6db0a1;
    padding: 2em;
    color: #fff;
    max-width: 433px;
}

.top-box__title {
    font-size: 1.5em;
    line-height: 60px;
    color: #fff;
}

.top-box__box p {
    font-size: 1em;
}

#contact-form {
    background: url(/wp-content/themes/murex-corporate/images/contact-bg.jpeg) no-repeat fixed center / cover;
}

.contact__info {
    display: flex;
    justify-content: center;
    gap: 3em 1em;
    flex-flow: row wrap;
}

.contact__info-box {
    flex: 1 1 20em;
    text-align: center;
    border: 1px solid rgb(0 0 0 / 10%);
    padding: 4em 2em 2em;
    position: relative;
}

.contact__info-box a {
    color: inherit;
}

.contact__info-box svg {
    position: absolute;
    top: -40px;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 75px;
}

.contact__info-box svg .st0,
.contact__info-box svg .st1{
	fill:#6db0a1;
}

label.gfield_label {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gform_wrapper.gravity-theme .gfield input, 
.gform_wrapper.gravity-theme .gfield select, 
.gform_wrapper.gravity-theme .gfield textarea{
    border: 1px solid rgb(0 0 0 / 10%)!important;
    padding: 1rem !important; 
    font-size: 1em !important;
    border-radius: 5px;
}

input.gform_button[type="submit"] {
    padding: 1em;
    background: #6db0a1;
    color: #fff;
    display: inline-block;
    letter-spacing: 1px;
    font-size: 1em;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    -webkit-appearance: none;
    appearance: none;
}

.contact__info-title {
    margin: 0 0 1em;
    font-size: 1.25em;
}

#communites {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.community {
    position: relative;
    height: 350px;
    flex: 1 1 20em;
    max-width: 480px;
}

.panel{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: all 0.5s ease 0s;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.panel.back {
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	border: 1px solid rgb(0 0 0 / 10%);
}

.panel.front img {
    object-fit: cover;
    height: 100%;
}

.panel a {
    color: #6db0a1;
    text-decoration: underline;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 1rem;
}

.community:hover .panel.back {
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);	
}

.community:hover .panel.front {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
    z-index: 0;
}

.panel__logo {
    max-width: 200px;
    margin: 0 auto 0.5em;
}

.panel__title {
    font-size: 1.2rem;
    margin: 0;
}
.panel__location {
    font-size: 1rem;
}

.murex-community {
    display: flex;
    flex-flow: row wrap;
    gap: 3em;
}

.murex-community:not(:last-child) {
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    margin-bottom: 3em;
    padding-bottom: 3em;
}

.murex-community__box {
    flex: 1 1 20em;
}

.murex-community__img {
    display: flex;
}

.murex-community-img {
	object-fit: cover;
}

.community__description p {
    font-size: 1em;
}

.murex-community a {
    color: #6db0a1;
    text-decoration: underline;
}

.team-member-wrap{
    display: flex;
    gap: 2em;
    flex-flow: row wrap;

}

.team-member{
    flex: 1 1 10em;
    text-align: center;
}

.team-member-img {
    border-radius: 50%;
    width: 285px;
}

.team-member span{
    display: block;
}

.team-member__name {
    font-weight: 700;
}

.news-posts__container {
}

.news-posts__archives {
	display: none;
    padding: 2em;
    background: #f1f8f6;
    float: right;
    position: sticky;
    top: 100px;
}

.news-post {
    display: flex;
    gap: 2em;
    flex-flow: row wrap;
}

.news-post:not(:last-child) {
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    margin-bottom: 3em;
    padding-bottom: 3em;
}


.news-post__box {
	flex:  1 1 20em
}

.news-post__box.news-post__feat-img {
	display: flex;
}

.news-post-img {
    object-fit: cover;
    height: 100%;
}

.news-post__title{
	font-size: 1.75em;
}

.news-post__entry-meta {
    font-weight: 700;
    margin-bottom: 1em;
    font-size: 1rem;
}

.news-post__excerpt{
	font-size: 1rem;
}

.news-post  a {
    color: #6db0a1;
}

.page-numbers {
    background: #6db0a1;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    margin: .33rem;
    display: inline-block;
    font-size: 1rem;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus {
    background: #1e342f;
}

.archive-list a {
    font-size: 1rem;
    color: #1e342f;
    font-weight: 700;
}

@media(min-width: 960px){

	.news-posts__container {
	    width: 70%;
	}

	.news-posts__archives {
	    display: block;
        width: 25%;
	}

	.single-news-post .container{
		display: flex;
		gap:  3em;
	}

	.single-news-post__feat-img img {
	    position: sticky;
	    top: 100px;
	}

	.single-news-post__feat-img {
	    flex: 1 1 33%;
	}

	.single-news-post__content {
	    flex: 1 1 66%;
	}
}

#affiliate-logos .container {
    display: flex;
    gap: 2em;
    flex-flow: row wrap;
    justify-content: center;
}

.affiliate-logo {
    width: 150px;
}

.video-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px hsl(0deg 0% 7%);
    padding: 0.5em;
    background: #fff;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    max-width: 800px;
}

.video-lightbox.lightbox-active {
    display: flex;
}

.video-lightbox iframe {
    width: 100%;
}

.close-lightbox {
    position: absolute;
    background: #fff;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    bottom: -50px;
    padding: 0.25rem 1rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    -webkit-appearance: none;
    appearance: none;
}


.close-lightbox:hover, 
.close-lightbox:focus {
    background: #6db0a1;
    color: #fff;
}


.video-overlay-bkg{
    visibility: hidden;
    opacity: 0;
    background: hsl(0deg 0% 0% / 0%);
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.video-overlay-bkg.lightbox-active{
    visibility: visible;
    opacity: 1;
    cursor: pointer;
    background: hsl(0deg 0% 0% / 70%);
}

body.lightbox-active{
    overflow: hidden;
}

#footer {
    background: #1e342f;
    color: #fff;
    padding: 2em 1em;
}

#footer a{
    color: #fff;
    font-weight: 700;
}

#footer-menu-nav li {
    display: inline;
    text-transform: uppercase;
}

#footer-menu-nav {
    text-align: center;
    margin-top: 2em;
}

#footer-menu-nav li a {
    padding: 1em;
    display: inline-block;
}

.copyright {
    color: #fff;
    background-color: #6db0a1;
    padding: 1em;
    font-weight: 700;
}