/*
 Theme Name: Stuart Howard Architects Divi Child Theme
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Karl Damus
 Author URI: https://www.karldamus.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

* {

}

html {

}


#main-content, .et_pb_section {
    background-color: #151515 !important;
}


/* FONTS */
/*@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');*/

/*@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');*/

h1, h2, h3, h4 {
    font-family: 'Helvetica', 'Open Sans', sans-serif;
    color: white;
}

h5, h6, p, span, a, li {
    font-family: 'Karla', serif;
}

p {
    /*letter-spacing: 0.1em;*/
}

/* Headings */



h1 {
    color: white;
    font-weight: 900;
    font-size: 4em;
    white-space: normal;
    max-width: 100vw;
}

h2 {
    
}

h3 {
    
}

h4 {
    
}

h5 {
    
}

h6 {
    
}

/* Body */

p {
    
}

span {
    
}

/* Other Text Elements*/

a {
    color: white;
}

ul {
    list-style-type: none;
    margin: 0 !important;
    padding: 0 !important;
}


li {
    list-style-type: none;
    margin: 0 !important;
    padding: 0 !important;
}

#main-header, #main-footer { display:none; }

#page-container { 
	padding-top:0px !important; 
	margin-top:-1px !important 
}

.snap-to h1:hover {
    /*scroll-snap-align: center !important;*/
    cursor: pointer;
}

/** Pre-Loader */
.et_pb_preload:before {
	background-position: center !important;
}




/* MAIN ELEMENTS */
#main-header, #main-footer {
    /*display: none;*/
}

/*
.underline {
    display: flex;
    align-items: center;
    justify-content: center;
}*/

.underline h1 {
    width: max-content !important;
    position: relative;
}

.underline:hover {
    cursor: pointer;
}

.underline h1::after {
    content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 1s ease-in-out;
}

.underline:hover h1::after {
    transform: scaleX(1);
  transform-origin: bottom left;
}


.full-height-module {
    height: 100vh !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    /*scroll-snap-align: start !important;*/
    /*position: relative;*/
}

.full-height-module:not(#home-page-header):hover {
    cursor: pointer;
}

.full-height-module:not(#home-page-header):hover h1 {
    /*text-decoration: underline;*/
}

/*.full-height-module:not(#home-page-header):hover h1*/

.full-height-module:not(#home-page-header) h1::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 1s ease-in-out;
}

/* #home-page-header a:hover::after */

.full-height-module:not(#home-page-header):hover h1::after {
transform: scaleX(1);
  transform-origin: bottom left;
}

.full-height-module, #home-page-header {
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    /*position: absolute;*/
    /*top: 0;*/
}



/* HOME PAGE */
#home-page-header span {
    font-weight: 300;
}

#home-page-header a {
    font-weight: 700;
    display: block;
    position: relative;
    width: max-content;
}

#home-page-header a:hover {
	cursor: pointer;
}

#home-page-header a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-in-out;
}

#home-page-header a:hover::after {
transform: scaleX(1);
  transform-origin: bottom left;
}

#homepage-splash-image-links {
    /*display: flex;*/
    /*justify-content: center;*/
    /*text-align: center;*/
}

#homepage-splash-image-links ul {
    /*text-align: center;*/
    /*display: flex;*/
    /*flex-direction: column;*/
    /*justify-content: center;*/
}

#home-page-header-splash-text-content {
    width: max-content;
}

#home-page-header .et_pb_icon_0 {
	display: flex;
	justify-content: center;
}

@media only screen and (max-width: 768px) {
		#home-page-header .et_pb_icon_0 {
			margin-bottom: 2em;
		}
}

/* STICKY MENU */

.hidden {
    display: none;
}


/* Categorical Projects Page */
#project-category-section *, #project-category-section {
	 margin: 0;
	 padding: 0;
}
 .et_pb_ajax_pagination_container {
	 display: grid;
	 grid-template-columns: repeat(1fr);
}
 .et_pb_ajax_pagination_container .et_pb_post {
	 width: 100%;
}
 .et_pb_ajax_pagination_container .et_pb_post img {
	 margin: 0;
	 padding: 0;
}

/* Single Project Page */

#single-project-header:before {
	content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(0,0,0,.5);
}

#single-project-category-header img {
  display: none !important;
}

#single-project-category-header * {
  all: unset !important;
}

#single-project-category-header {
  height: 100vh !important;
}

#single-project-category-header .et_pb_portfolio_items {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

#single-project-category-header .meta .et_overlay {
  display: none !important;
}

#single-project-category-header .meta a {
  cursor: pointer !important;
  color: white !important;
}

#single-project-category-header .meta a p {
  display: none !important;
}

.et_pb_module .nav-previous a * {
	color: white !important;
}

.et_pb_posts_nav.et_pb_post_nav_0 span a, .et_pb_posts_nav.et_pb_post_nav_0 span a span {
	color: white !important;
}


/* FOOTER */

#custom-footer {
    min-height: 10vh;
    padding: 1em;
}

#custom-footer * {
    
    color: black !important;
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 3em !important;
    }
    
    #custom-portfolio .meta a h1 {
        font-size: 0.75em !important;
        line-height: 1em !important;
    }
    
    #home-page-header * {
        text-align: center;
    }
    
    #homepage-splash-image-links {
		display: flex;
		justify-content: center;
	}
}

@media only screen and (max-width: 414px) {
    h1 {
        font-size: 2.6em;
        line-height: 1.4em;
        margin-bottom: 0 !important;
    }
    
    #custom-portfolio .meta a h1 {
        font-size: 0.8em !important;
        
    }
    
    
}












/** HAMBURGER MENU */


.bubble-menu {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
}

/*.bubble-menu::before {
    content: '';
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vh;
    background-color: rgba(1,1,1,0.8);
}*/

.bubble-menu a {
    color: white !important;
    text-decoration: none;
    font-family: 'Montserrat'
}

.bubble-menu a {
    /* font-weight: 700; */
    display: block;
    position: relative;
    width: max-content;
}

.bubble-menu a:hover {
	cursor: pointer;
}

.bubble-menu a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-in-out;
}

.bubble-menu a:hover::after {
transform: scaleX(1);
  transform-origin: bottom left;
}



.bubble-menu-inactive {
    margin-right: -100px;
    transition: all 0.3s ease-in;
}

.bubble-menu-active {
    margin-right: 20px;
    transition: all 0.3s ease-out;
}

.bubble-menu-wrapper {
    position: fixed;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: end;
    top: 40px;
}

.bubble-menu-wrapper * {
        z-index: 999999999999999999999999;
}

.hamburger {
    font: inherit;
    display: inline-block;
    overflow: visible;
    margin: 0;
    padding: 15px;
    cursor: pointer;
    transition-timing-function: linear;
    transition-duration: .15s;
    transition-property: opacity, filter;
    text-transform: none;
    color: inherit;
    border: 0;
    background-color: transparent;
    scale: 0.7;
}

.hamburger.is-active:hover,
.hamburger:hover {
    opacity: .7
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
    background-color: #fff;
}

.hamburger-box {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px
}

.hamburger-inner {
    top: 50%;
    display: block;
    margin-top: -2px
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
    position: absolute;
    width: 40px;
    height: 4px;
    transition-timing-function: ease;
    transition-duration: .15s;
    transition-property: transform;
    border-radius: 4px;
    background-color: #fff;
}

.hamburger-inner:after,
.hamburger-inner:before {
    display: block;
    content: ""
}

.hamburger-inner:before {
    top: -10px
}

.hamburger-inner:after {
    bottom: -10px
}


.hamburger--slider .hamburger-inner {
    top: 2px
}

.hamburger--slider .hamburger-inner:before {
    top: 10px;
    transition-timing-function: ease;
    transition-duration: .15s;
    transition-property: transform, opacity
}

.hamburger--slider .hamburger-inner:after {
    top: 20px
}

.hamburger--slider.is-active .hamburger-inner {
    transform: translate3d(0, 10px, 0) rotate(45deg)
}

.hamburger--slider.is-active .hamburger-inner:before {
    transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
    opacity: 0
}

.hamburger--slider.is-active .hamburger-inner:after {
    transform: translate3d(0, -20px, 0) rotate(-90deg)
}

.hamburger--slider-r .hamburger-inner {
    top: 2px
}

.hamburger--slider-r .hamburger-inner:before {
    top: 10px;
    transition-timing-function: ease;
    transition-duration: .15s;
    transition-property: transform, opacity
}

.hamburger--slider-r .hamburger-inner:after {
    top: 20px
}

.hamburger--slider-r.is-active .hamburger-inner {
    transform: translate3d(0, 10px, 0) rotate(-45deg)
}

.hamburger--slider-r.is-active .hamburger-inner:before {
    transform: rotate(45deg) translate3d(5.71429px, -6px, 0);
    opacity: 0
}

.hamburger--slider-r.is-active .hamburger-inner:after {
    transform: translate3d(0, -20px, 0) rotate(90deg)
}

#project-bubble-menu {
    background-color: #fff !important;
}

#project-bubble-menu .bubble-menu-wrapper {
    /*border: 1px solid black;*/
    background-color: white;
    /*padding-left: 15px;*/
    /*padding-bottom: 15px;*/
    padding: 15px;
    /*border-radius: ;*/
}

#project-bubble-menu a {
    color: black !important;
}

#project-bubble-menu .bubble-menu a::after  {
    background-color: #000;   
}

#project-bubble-menu .bubble-menu-inactive {
    height: 0px;
    transition: all 0.5s ease-in-out;
}

.bubble-menu-active {
    transition: all 0.5s ease-in-out;
}




#project-bubble-menu .hamburger.is-active .hamburger-inner,
#project-bubble-menu .hamburger.is-active .hamburger-inner:after,
#project-bubble-menu .hamburger.is-active .hamburger-inner:before {
    background-color: #000;
}

#project-bubble-menu .hamburger-inner,
#project-bubble-menu .hamburger-inner:after,
#project-bubble-menu .hamburger-inner:before {
    background-color: #000;
}



/**

ABOUT US

*/



@media only screen and (max-width: 414px) {
    .award-single-row {
        flex-direction: column;
        justify-content: flex-start !important;
    }
    
    .award-single-row img {
        max-width: 100px;
        height: auto;
        margin: -14px;
    }
    
    /*.underline h1 {*/
    /*    text-decoration: underline;*/
    /*}*/
    
    .single-team-member {
        /*padding-left: 5px !important;*/
        /*padding-right: 5px !important;*/
        flex-direction: column;
        justify-content: flex-start !important;
    }
}



 
/** CUSTOM PORTFOLIO */

#custom-portfolio .et_pb_portfolio_items, #custom-portfolio .et_pb_portfolio_items * {
    all: unset !important;
}
#custom-portfolio .et_pb_portfolio_items {
	 display: flex !important;
	 flex-wrap: wrap !important;
	 height: 100% !important;
	 width: 100% !important;
}
 #custom-portfolio .et_pb_portfolio_item {
	 display: flex !important;
	 align-items: center !important;
	 justify-content: start !important;
	 height: 100vh !important;
	 width: 100vw !important;
	 position: relative !important;
}
 #custom-portfolio .et_pb_portfolio_item:hover {
	 cursor: pointer !important;
}
 #custom-portfolio .et_pb_portfolio_image {
	 height: 100% !important;
	 width: 100% !important;
	 position: relative !important;
	 overflow: hidden !important;
}
 #custom-portfolio .et_pb_portfolio_image img {
	 height: 100% !important;
	 width: 100% !important;
	 object-fit: cover !important;
}

 #custom-portfolio .meta {
	 position: absolute !important;
	 top: 0 !important;
	 left: 0 !important;
	 height: 100% !important;
	 width: 100% !important;
	 background: rgba(0, 0, 0, 0.3) !important;
}

#custom-portfolio .meta a {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    height: 100% !important;
    width: 100% !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    
}

#custom-portfolio .meta a h1 {
    font-size: 4em;
    margin-left: 10% !important;
    font-weight: 700 !important;
    width: max-content !important;
    position: relative !important;
    width: 80% !important;
}

/*
#custom-portfolio .meta h1::after {
  content: '';
  position: absolute !important;
  width: 100% !important;
  transform: scaleX(0) !important;
  height: 2px !important;
  bottom: -14px !important;
  left: 0 !important;
  background-color: white !important;
  transform-origin: bottom right !important;
  transition: transform 1s ease-in-out !important;
}


#custom-portfolio .meta a:hover h1::after {
    transform: scaleX(1) !important;
    transform-origin: bottom left !important;
}
*/

/**
#home-page-header a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-in-out;
}

#home-page-header a:hover::after {
transform: scaleX(1);
  transform-origin: bottom left;
}
*/


/** o

CUSTOM TEAM SECTION ON THE STUDIO PAGE

*/

#team-column-on-studio-page::after {
  content: 'Meet Our Team';
position: absolute;
top: 50%;
left: 50%;
font-size: 0.8em;
color: white;
font-family: 'Helvetica Bold';
transform: translate(-50%, -50%);
text-align: center;
cursor: pointer;
line-height: 1.4em;
}

@media only screen and (min-width: 414px) {
#team-column-on-studio-page::after {
    font-size: 2.4em;
    width: 100%;
  }
}

@media only screen and (min-width: 768px) {
#team-column-on-studio-page::after {
    font-size: 4em !important;
  }
}



/** END OF CUSTOM TEAM SECTION */

/** /studio/team */

#team-principals, #full-team {
	 display: block;
}

#team-principals h2, #full-team h2, #team-principals p, #full-team p, #team-principals a, #full-team a {
	 font-family: 'Helvetica' !important;
}

#team-principals p a, #full-team p a, #team-principals p, #full-team p {
    
}
 

 #team-principals .et_pb_ajax_pagination_container, #full-team .et_pb_ajax_pagination_container {
	 display: grid;
	 gap: 0px;
	 grid-template-columns: repeat(1, 1fr);
}
 #team-principals article, #full-team article {
	 position: relative;
	 width: 100%;
	 height: 50vh;
	 margin-bottom: 0px;
}
 #team-principals article h2, #full-team article h2, #team-principals article p, #full-team article p {
	 position: absolute;
	 top: 50%;
	 left: 50%;
	 transform: translate(-50%, -50%);
	 width: 100%;
	 text-align: center;
}
 #team-principals article p, #full-team article p {
	 top: 43%;
}
 #team-principals article h2, #full-team article h2, #team-principals article p, #full-team article p, #team-principals article p a, #full-team article p a {
	 pointer-events: none;
	 color: white;
}
 #team-principals article p a, #full-team article p a {
	 text-transform: uppercase;
}
 #team-principals article a.entry-featured-image-url, #full-team article a.entry-featured-image-url {
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
}
 #team-principals article a.entry-featured-image-url img, #full-team article a.entry-featured-image-url img {
	 height: 100%;
	 object-fit: cover;
	 opacity: 0.7;
}
 #team-principals article a.entry-featured-image-url img:hover, #full-team article a.entry-featured-image-url img:hover {
	 opacity: 1;
}
 #team-principals article a.entry-featured-image-url img, #full-team article a.entry-featured-image-url img {
	 -webkit-transition: opacity 1s ease-in-out;
	 -moz-transition: opacity 1s ease-in-out;
	 -ms-transition: opacity 1s ease-in-out;
	 -o-transition: opacity 1s ease-in-out;
	 transition: opacity 1s ease-in-out;
}
 #team-principals article {
	 height: 80vh;
}
 #team-principals article p {
	 top: 45%;
}
#full-team article p {
    top: 45%;
}
 #full-team article {
	 height: 80vh !important;
}

#full-team article img {
    object-position: 30% 30%;
}

 @media only screen and (min-width: 768px) {
	 #team-principals .et_pb_ajax_pagination_container {
		 display: flex;
	}
	 #full-team .et_pb_ajax_pagination_container {
		 grid-template-columns: repeat(3, 1fr);
	}
	 #full-team article img {
		 object-position: 40% 40%;
	}
	 #full-team article p {
		 top: 43%;
	}
	
	#full-team article {
	  height: 60vh !important;
	}
	
	
}

@media only screen and (max-height: 575.98px) and (orientation: landscape) {
    #team-principals article, #full-team article {
        font-size: 0.9em !important;
    }
    
    #team-principals article p, #full-team article p {
        top: 40% !important;
    }
    
    #full-team article h2 {
        top: 60% !important;
    }
}
 

/** END OF /studio/team */




#custom-portfolio .meta .et_overlay, #custom-portfolio .et_overlay, #custom-portfolio .meta .post-meta {
    display: none !important;
}

 #custom-portfolio .meta p {
	 display: none !important;
}



/** SINGLE PROJECT NAVIGATION */

.et_pb_module.et_pb_posts_nav.nav-single .meta-nav {
	 -moz-transform: scale(-1, -1) !important;
	 -o-transform: scale(-1, -1) !important;
	 -webkit-transform: scale(-1, -1) !important;
	 transform: scale(-1, -1) !important;
}
.et_pb_module.et_pb_posts_nav.nav-single .nav-previous {
	 float: right !important;
}
.et_pb_module.et_pb_posts_nav.nav-single .nav-previous .meta-nav {
	 float: right !important;
	 transform: rotate(180) !important;
}
.et_pb_module.et_pb_posts_nav.nav-single .nav-next {
	 float: left !important;
}
.et_pb_module.et_pb_posts_nav.nav-single .nav-next .meta-nav {
	 float: left !important;
	 transform: rotate(180) !important;
}


/** END OF SINGLE PROJECT NAVIGATION */
