/*
Theme Name: Mudcake
Text Domain: mudcake
Version: 1.0
Description: Theme for Mudcake
Author: Sitback_studios
Author URI: https://sitback.se
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

*/


html,
body {
	border: none;
	margin: 0;
	padding: 0;
	margin-top: 0px;
	/*background-color: #fafcfa;*/
	background-color: #fbd6bc;
	color: #0a2231;
	/*line-height: 0;*/
	line-height: normal;
	/* height: auto;
	min-height: 100%; */
	
	width: 100%;
	font-size: 100%;
	font-weight: 200;
	font-family: 'Poppins', sans-serif;
	min-height: 100%;
	overflow: auto;
}

html {
	overflow-y: scroll;
}

body.noscroll{
    position:fixed;
    overflow:hidden;
}

a{
	color: #0a2231;
	
}

h1{
	font-size: 1.9em;
	/*text-transform: uppercase;*/
	font-weight: 400;
	font-family: 'Jost', sans-serif;
	margin: 0;
	padding: 0;
	/*color: #e51342;*/
	color: #0E1421;
}

h2{
	font-size: 1.7em;
	/*text-transform: uppercase;*/
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	margin: 0;
	padding: 0;
}



.under-construction-wrapper{
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: row;
	width: 100%;
	height: 100vh;
	align-items: center;
	justify-content: center;
}

#under-construction-logo{
	width: 30%;
	height: auto;
}

#site-content{
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	width: calc(100% - 40px);
	max-width: 1500px;
	margin: 0 auto;
}

/*#menuWrapper{
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: flex-start;
	width: 100%;
	height: 50px;
	padding-top: 20px;
	margin-bottom: 20px;
}*/

#menu-content-wrapper{
	position: absolute;
	z-index: 100;
	top: 0;
	left: 0;
	/*background-color: #fafcfa;*/
	/*background-color: #fbd6bc;*/
	background-color: #0E1421;
	width: 100%;
	height: 100%;
	display: none;
	/* display: flex; */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#menu-content-wrapper.visible{
	display: flex;
}

#menu-content-wrapper ul{
	list-style: none;
	text-align: center;
	margin: 0;
	padding: 0;
	margin-top: -50px;
}

#menu-content-wrapper a{
	font-size: 1.9em;
	text-transform: uppercase;
	font-weight: 400;
	text-decoration: none;
}

#menu-content-wrapper a{
	color: #AAD0D9;
}

#menu-content-wrapper a:hover{
	color: #e51342;
}


#topLogo{
	height: auto;
    width: 50%;
}

.top-logo{
    width: 50%;
    margin: 0 auto;
    max-width: 300px;
    margin-bottom: 20px;
}

/*
.top-logo-sub-page{
    width: 50%;
    max-width: 200px;
    margin-bottom: 45px;
    margin-top: -70px;
    margin-left: 20px;
}
*/
.top-logo-sub-page{
    width: 33%;
    max-width: 175px;
    margin-left: 20px;
    top: 14px;
    position: relative;
    z-index: 101;
}

/*
.mobileMenuBtn{
	position: relative;
	margin-right: 20px;
    width: 30px;
    height: 18px;
   	cursor: pointer;
	align-self: center;
}
*/
.mobileMenuBtn{
	position: absolute;
	top: 20px;
	right: 20px;
    width: 30px;
    height: 18px;
   	cursor: pointer;
   	z-index: 101;
}

/* home page */
.mobileMenuBtnHome{
    right: auto;
	left: 20px;
}


.menuLine{
	position: absolute;
	left: 0px;
	width: 100%;
	height: 2px;
	/*background-color: #0a2231;*/
	background-color: #AAD0D9;
	transition: all .3s;
}

.menuLine_top{
	top: 0px;
}



.menuLine_middle{
	top: 8px;
}


.menuLine_bottom{
	bottom: 0px;
}

.menuLine_clicked.menuLine_top{
	transform: rotate(45deg);
    top: 8px;
    width: 80%;
    left: 2px;
}

.menuLine_clicked.menuLine_middle{
	transform: rotate(45deg);
    top: px;
    width: 80%;
    left: 2px;
}

.menuLine_clicked.menuLine_bottom{
	transform: rotate(-45deg);
    bottom: 8px;
    width: 80%;
    left: 2px;
}

.contentBlock{
	position: relative;
	width: 100%;
	margin-bottom: 70px;
}

#our-way.contentBlock {
	margin-bottom: 0;
}

.contentBlock .infoBlock{
	/* position: relative;
	padding: 40px; */
	color: #fff;
}

.contentBlock .infoBlock h1{
	font-size: 1.9em;
	/*text-transform: uppercase;*/
	font-weight: 400;
	color: #fff;
}

.contentBlock .infoBlock{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

#homeContent{
	height: 700px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	overflow: hidden;
}

#home-about{
	background-color: #e51342;
	min-height: 300px;
	color: #fff;
}

#home-founders{
	background-color: #0a2231;
	min-height: 300px;
	color: #fff;
}

#home-contact{
	background-color: #a0d2db;
	min-height: 300px;
	color: #1c2839;
}


.homerow{
	background-color: #a0d2db;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

.homeRowItemContainer{
	height: 100px;
	width: 100px;
	/* background-color: bisque; */
}

.column {
	display: flex;
	flex: 1 0 calc(33.33% - 20px);
	/* row-gap: 10px; */
	flex-direction: column;
}

.row {
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px;
	width: 100%;

	/* height: calc(33.33% - 20px); */
}

.row:hover .homeInfoWrapper{
	display: block;
}

.row:hover .companyHeading{
	display: none;
}

.row-outer{
	width: 100%;
    position: relative;
    height: 100%;
}

.homeInfoWrapper{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-color: rgba(255, 255, 255, .8);
	display: none;
}

.homeInfoItem{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	flex-direction: column;
}

.companySubText{
	display: block;
	width: 80%;
	text-align: center;
	font-size: .9em;
}

.company-country-text{
	margin-top: 20px;
}

.homeInfoItemDevider{
	height: 1px;
	width: 50%;
	background-color: #0a2231;
	margin-top: 10px;
	margin-bottom: 10px;
}


.homeInfoWrapper .companyTitle{
	font-size: 1.5em;
	font-weight: 400;
	text-transform: uppercase;
}


.cell {
	display: flex;
	flex: 1 0 calc(33.33% - 20px);
	position: relative;
	height: 100%;
	width: 100%;
	/* background-color: lightgray; */	
}

.cell a{
	width: 100%;
	height: 100%;
	display: contents;
}

.companyHomImage{
	width: 100%;
	height: auto;
}



.red-devider{
	width: 100%;
	height: 40px;
	margin-bottom: 20px;
	background-color: #e51342;
}

#footer{
	background-color: #e51342;
    color: #fff;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 22px;
	display: flex;
    flex-direction: row;
    justify-content: center;
	flex-wrap: wrap;
	margin: 0 auto;
	width: 100%;
	/*max-width: 1500px;*/
}

.footer-text {
	margin-top: -3px;
}

#footer a{
	color: #fff;
	text-decoration: none;
}

#footer a:hover{
	text-decoration: underline;
}

.footerLinkDevider{
	width: 50px;
}
.footerLinkDeviderSocial{
	width: 50px;
}

.footer-logo{
	height: 18px;
	width: auto;
}

#header-intro{
	position: relative;
	width: 100%;
	text-align: center;
	margin-bottom: 40px;
	top: 40px;
}

.header-subtext{
	font-size: 1.3em;
	width: 75%;
	max-width: 750px;
	margin: 2.5em auto 4em;
	text-align: center;
	color: #0a2231;
	font-weight: 400;
}

.header-subtext-home{
	/*color: #e51342;*/
}

.home-block-centered-text{
	position: relative;
	width: 100%;
	/*max-width: 1500px;*/
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;

    height: 800px;
    background-color: #0E1421;
}

.home-block-centered-text a{
	width: 100%;
	height: 100%;
}

.home-content-bg-img{
	position: relative;
	width: 100%;
	height: auto;
	/*display: block;*/
	max-width: 1000px;
}

.home-block-centered-text .infoBlock{
	height: 100%;
    width: 100%;
    align-self: center;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

.homeBlock a{
	display: contents;
	width: 100%;
	height: 100%;
}

#home-team{
	/* margin-bottom: 10px; */
	text-align: center;
}

#home-team .infoBlock{
	display: flex;
	font-weight: 400;
	justify-content:space-between;
	align-items: flex-end;
	flex-direction: row;
}

#home-header .infoBlock .infoBlockSubtext{
	font-size: 1.3em;
	/*color: #ffffff;*/
	color: #AAD0D9;
	text-align: center;
    padding-top: 1.5em;
    max-width: 75%;
    margin-bottom: -30px;
}

#home-team .infoBlock .infoBlockSubtext{
	font-size: 1.4em;
	/*text-transform: uppercase;*/
	/*color: #a0d2db;*/
	color: #fff;
	width: 70%;
    text-align: left;
    padding-bottom: 20px;
    padding-left: 20px;
}

#home-team .infoBlock .team-link-button{
	padding-bottom: 0;
	margin-bottom: 20px;
	width: auto;
	text-align: right;
	padding-right: 20px;
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 1.5em;
}

#home-portfolio-grid-container{
	width: 100%;
	/* background-color: #a0d2db; */
	/* background-color: #e51342; */
	margin-top: 20px;
}

#home-portfolio-grid{
	display: flex;
	/*padding: 10px;*/
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 13px;
}

#home-ourwayspotlight-grid{
	display: flex;
	padding: 0px;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 13px;
}

.ourwayspotlight-grid-item{
	position: relative;
	display: flex;
	flex: 0 1 calc(50% - 6.5px);
	cursor: pointer;
	font-size: 1em;
}

.portfolio-grid-item{
	position: relative;
	display: flex;
	flex: 0 1 calc(100%/6 - 13px*5/6);
	background-color: #e51342;
	cursor: pointer;
	font-size: 1em;
	
}

.portfolio-grid-item:hover .portfolio-grid-item-overlay{
	display: block;
}




.portfolio-grid-item img{
	width: 100%;
	height: auto;
	display: block;
}

.portfolio-grid-item:hover .portfolio-logo{
	opacity: 0;
}

.portfolio-grid-item-overlay{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	/* background-color: #a0d2db; */
	/* background-color: #e51342; */
	
	display: none;
}

.portfolio-grid-item-overlay a{
	text-decoration: none;
	color: #fff;
}

.portfolio-grid-item-wrapper{
	display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
    text-align: center;
    height: 100%;
}

.portfolio-grid-item-subtext{
	position: relative;
	width: 90%;
	margin-top: 10px;
    margin-bottom: 10px;
}

.portfolio-grid-item-heading{
	font-weight: 600;
}

#contact{
	background-color: #e51342;
	color: #fff;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

#contact a{
	color: #fff;
}

#contact div{
	width: 80%;
	margin: 0 auto;
	margin-top: 10px;
}

#the-team{
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 15px;
	max-width: 1000px;
	margin: 0 auto 70px auto;
}

.team-item{
	display: flex;
	flex: 0 1 calc(100%/2 - 15px/2);
	background-color: #a0d2db;
	cursor: pointer;
}

.team-item:hover .team-member-info, .our-way-item:hover .our-way-content-wrapper{
	display: flex;
}

.team-item-image-wrapper{
	display: inherit;
	position: relative;
	width: 100%;
	height: 100%;
}

.team-item img{
	position: relative;
	width: 100%;
	height: auto;
}

.team-member-intro{
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
	/*color: #e51342;*/
	font-size: 1.4em;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 25px;
	text-align: right;
	
    right: 20px;
}

.team-member-intro-wrapper{
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
    
	flex-direction: column;
}

.team-member-intro-wrapper div{
	
}

.team-member-first-name{
	position: relative;
}

/*
.team-member-last-name{
	margin-bottom: 20px;
}
*/

.team-member-title{
	margin-top: 20px;
}

/* .team-item:nth-child(odd) .team-member-intro{
    top: 20px;
} */

/* .team-item:nth-child(even) .team-member-intro{
    bottom: 20px;
} */

.team-item .team-member-intro{
    bottom: 20px;
}

.team-item .team-member-intro-wrapper{
	justify-content: flex-end;
}

/* .team-item:nth-child(odd) .team-member-intro-wrapper{
	justify-content: flex-start;
}

.team-item:nth-child(even) .team-member-intro-wrapper{
	justify-content: flex-end;
} */

.team-member-info{
	background-color: #e51342;
	color: #fff;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 2;
	font-size: .9em;
	display: none;
    align-items: center;
    justify-content: center;
}

.team-member-info a{
	color: #fff;
	text-decoration: none;
}

.team-member-info-wrapper{
	width: 80%;
	
}

.team-member-info-name, .our-way-content-heading{
	text-transform: uppercase;
	font-weight: 500;
	margin-bottom: 10px;
}

.our-way-content-wrapper{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #e51342;
	color: #fff;
	display: none;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.our-way-content-wrapper div{
	width: 80%;
}

.our-way-item{
	position: relative;
	width: 100%;
	/*cursor: pointer;*/
	margin-bottom: 20px;
}

.our-way-item img{
	position: relative;
	width: 100%;
	height: 100%;
}

.our-way-item a{
	color: #fff;
}

.our-way-heading-wrapper{
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	text-align: center;
}

.our-way-heading-wrapper h2{
	width: 70%;
	color: #fff;
}

.our-way-image-wrapper{
	display: flex;
}

#redirect-popup-wrapper{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	z-index: 100;
	/* display: none; */
}

#redirect-popup-container{
	position: relative;
	color: #fff;
	width: 80%;
	max-width: 500px;
	padding-left: 50px;
	padding-right: 50px;
	padding-top: 45px;
	padding-bottom: 20px;
	background-color: #e51342;
}

#redirect-popup-container .popup-heading{
	text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
}

#redirect-popup-container a{
    color: #fff;
}

.popup-close-btn-wrapper{
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

.popup-close-btn-wrapper img{
	width: 20px;
	height: 20px;
	margin-top: 20px;
	margin-right: 20px;
	cursor: pointer;
}

#popup-close-text{
	margin-top: 25px;
	cursor: pointer;
	text-align: center;
	text-transform: uppercase;
	font-weight: 400;
}

.hidden{
	display: none !important;
}

.break {
	flex-basis: 100%;
	height: 0;
}

#leagal-wrapper{
	/*margin-top: 20px;
	display: flex;
	justify-content: center;
	width: 100%;
	font-weight: 600;*/
	font-size: .7em;
}

/*
#leagal-wrapper a{
	font-weight: 300;
}
*/

.companyHeading{
	position: absolute;
	left: 10px;
	bottom: 5px;
	color: #fff;
	font-weight: 400;
	text-transform: uppercase;
	z-index: 1;
}

@media only screen and (max-width: 1000px) {
	
	#site-content{
		width: calc(100% - 20px);
	}

	.home-block-centered-text{
		height: 600px;
	}

	.homeInfoItemDevider{
		margin-top: 5px;
		margin-bottom: 5px;
	}

	.companySubText{
		line-height: 15px;
	}

	.company-country-text{
		margin-top: 5px;
		font-weight: 500;
	}

	#header-intro{
		width: 90%;
		margin: 0 auto;
		margin-bottom: 40px;
	}
	
	#topLogo{
		/* margin-left: 20px; */
	}

	#column3{
		display: none;
	}

	.header-subtext{
		width: 90%;
		font-size: 1.0em;
	}

	#homeContent{
		height: 300px;
	}

	#home-team .infoBlock .infoBlockSubtext{
		font-size: .8em;
	}

	/*
	.team-member-info, .our-way-content-wrapper div{
		font-size: .75em;
	}
	*/

	.team-member-info-wrapper, .our-way-content-wrapper div{
		width: 90%;
	}

	.ourwayspotlight-grid-item{
		flex: 0 1 100%;
	}

	#home-portfolio-grid{
		gap: 4px;
	}

	.portfolio-grid-item{
		/* flex: 1 1 100%; */
		flex: 0 1 calc((100% - 4px*2)/3);
		font-size: .8em;
	}

	.team-item{
		flex: 1 1 100%;
	}

	.homeInfoWrapper .companyTitle{
		font-size: 0.8em;
		font-weight: 500;
		text-transform: uppercase;
	}

	

	.companySubText{
		font-size: .8em;
	}

	.our-way-item h2{
		font-size: 1.4em;
	}

	/*
	#footer{
		flex-direction: column;
		justify-content: center;
		gap: 10px;
		
	}
	*/
}

@media only screen and (max-width: 400px) {
	
	#site-content{
		width: 100%;
	}
	
	#topLogo{
		width:60%;
	}

	.home-block-centered-text{
		height: 400px;
	}

	.team-member-info {
		font-size: .75em;
	}
	.our-way-content-wrapper div {
		font-size: .7em;
	}

	.header-subtext{
		font-size: 0.9em;
	}

	#home-header .infoBlock .infoBlockSubtext{
		font-size: 0.9em;
	    width: 90%;
	}

	.contentBlock{
		margin-bottom: 25px;
	}

	/*#home-header .infoBlock .infoBlockSubtext #firstline::after{*/
	.firstline::after{
	    content: "\a";
	    white-space: pre;
	}

	.firstparagraph::after{
	    content: "\a\a";
	    white-space: pre;
	}

	/* Don't shrink text when single-column mode
	#home-ourwayspotlight-grid-container .infoBlock h1{
		font-size: 1em;
	}
	*/

	#home-team .infoBlock .infoBlockSubtext{
		font-size: .6em;
	}
}

@media only screen and (max-width: 280px) {
	.team-member-info {
		font-size: .6em;
	}

	.our-way-content-wrapper div {
		font-size: .55em;
	}
}

iframe { display: none !important; }