/*
Page: Splash
Theme Name: Bridge Child

PAGE CSS ONLY.
*/
html {
	margin-top: 0 !important;
}
body{
	background-color: #f1edea !important;
	overflow: hidden !important;
	overflow-y: hidden !important;
}

::focus:not(:focus-visible) {
	outline: none;
}

.mobile-only{
	display:none !important;
}

.desktop-only{
	display:table;
}

.mobile-tile{
	display:none;
}

.desktop-tile{
	display:block;
}

/*
#splash-page-body{
	margin-top:-32px;
}
*/


/*********** SEARCH BAR **********/

#searchForm {
	width: 90%;
}

.search-wrapper {
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
	align-items: center;
	z-index: 99999;
	height: 4rem;
	margin-top:-4rem;
	transition: 0.2s ease-in-out;
}

.search-wrapper input {
	flex-basis: 90%;
	width: inherit;
	font-size: 1.5rem;
	line-height: 4rem;
    background-color: #f1edea;
    border: 0;
    color: #542015;
    padding-left: 4vw;
    font-family: 'Open Sans', sans-serif;
}

.search-wrapper input:focus:not(:focus-visible) {
	outline: none !important;
}

.search-wrapper input::placeholder {
	color: #542015;
	opacity: 0.7;
}

.close-button {
	width: 20px;
	height: 20px;
	padding-right: 4vw;
	cursor: pointer;
}

.close-button svg g,
 .close-button svg rect {
	transition: 0.2s ease-in-out;	
}

.close-button:hover svg g,
 .close-button:hover svg rect{
	fill: #542015 !important;
}

.search svg .a {
	opacity: 1;
	transition: 0.2s ease-in-out;
}

.search:hover svg .a {
	opacity: 0.8;
}

#submit {
	display: none;
}

/*********** END SEARCH BAR **********/
#splash-page{
	margin-top:0px;
}

.splash-row{
	height:40vh;
}

div.splash-tile{
	display: inline-block;
    width: 33.3%;
    height: 40vh;
    margin: 0 -2px;
    background-color: #f1edea;
    text-align: center !important;
    background-size: cover;
    background-position: center;
    border-left: 1px solid #f1edea;
    border-right: 1px solid #f1edea;
}

#tile-1{
	background-image:url(https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_about-1280x860-2x.jpg);
	background-image: -webkit-image-set(url('https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_about-1280x860-2x.jpg') 1x, url('https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_about-1280x860-2x.jpg') 2x);;
}

#tile-2{
	background-image:url(https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_events-1280x860-2x.jpg);
	background-image: -webkit-image-set(url('https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_events-1280x860-2x.jpg') 1x, url('https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_events-1280x860-2x.jpg') 2x);;
}

#tile-3{
	background-image:url(https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_vocations-1280x860-2x.jpg);
	background-image: -webkit-image-set(url('https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_vocations-1280x860-2x.jpg') 1x, url('https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_vocations-1280x860-2x.jpg') 2x);;
	border-right: 0 !important;
}

#tile-4{
	background-image:url(https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_donate-1280x860-2x.jpg);
}

#tile-5{
	background-image:url(https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_contact-1280x860-2x.jpg);
	background-image: -webkit-image-set(url('https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_contact-1280x860-2x.jpg') 1x, url('https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_contact-1280x860-2x.jpg') 2x);;
}

#tile-6{
	background-image:url(https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_documents-1280x860-2x.jpg);
	background-image: -webkit-image-set(url('https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_documents-1280x860-2x.jpg') 1x, url('https://ofm.org/wp-content/uploads/2018/06/ofm-web-landing-page_documents-1280x860-2x.jpg') 2x);;
	border-right:0 !important;
}

.tile-text{
  height:40vh;
  width:33.2%;
  position:absolute;
  top:4rem;
  display:block;
}

.tile-text-bottom{
  height:40vh;
  width:33.2%;
  position:absolute;
  bottom:0;
  display:block;
}

.text-1{
	left:0;
}

.text-2{
	left:33.3%;
}

.text-3{
	left:66.6%;
}



.tile-link .splash-tile{
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
}

.tile-link:hover .splash-tile{
	filter: brightness(145%) !important;
}

div.tile-text h3, 
div.tile-text-bottom h3{
	padding-top: 18vh;
    line-height: 1em;
    color: #fff;
    font-size: 3.1em;
    font-weight: 400;
    text-shadow: 2px 2px 18px #000;
    text-align: center;
}

div.text-es h3 {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 16vh;
}

.splash-row-head{
	height:20vh;
	background-color:#f1edea;
	display:table;
	width:100%;
}

.splash-buttons{
	width: 25%;
	display: table-cell;
	height:20vh;
	text-align: center;
	vertical-align: middle;
}

.languages span a:hover, 
.socialmedia span a img:hover,
.socialmedia span a svg:hover{
	opacity: 0.7;
}

.languages span a,
.socialmedia span a img,
.socialmedia span a svg{
	opacity:1;
	transition: 0.2s ease-in-out;
	-webkit-transition: 0.2s ease-in-out;
}

.socialmedia span a img,
.socialmedia span a svg{
	width:25px;
	padding: 0 15px;
}

.languages span{
	line-height:20vh;
	display: inline-block;
}

.languages span a{
	color:#cc9e62;
	padding: 0 10px;
    font-weight: 600;
    font-size: 1.3em;
}

.splash-name-wrapper{
	width: 50%;
	display: table-cell;
	height:20vh;
	vertical-align: middle;
}

.splash-name{
	padding: 5.5vh 0 4.5vh 0; 
	text-align: center;
}

.splash-name h1, .splash-name h2{
	text-align: center;
}

.splash-name h1{
	line-height: 40px;
}

.splash-name h2{
	line-height: 30px;
	font-family: 'bembo';
	color:#542015;
	text-transform: none;
	font-size: 2.6em;
	font-weight: 400;
}

@media screen and (max-width: 	){
.splash-name h1{
	font-size: 3em !important;
}

.splash-name h2{
	font-size: 2.3em !important;
}
}

@media screen and (max-width: 1280px){
div.splash-tile{
	width:33.2% !important;
}

div.tile-text h3,
div.tile-text-bottom h3{
	font-size:3em;
}
}



@media screen and (max-width: 1000px){

	.socialmedia span a img{
		width:30px;
		padding: 0 15px;
	}

	div.tile-text h3,
	div.tile-text-bottom h3{
		font-size:2em;
	}
}

@media screen and (max-width: 768px) and (orientation: landscape) {
	.splash-row-head {
		height: 30vh;
	}

	.splash-name-wrapper {
		height: 30vh;
	}	

	.splash-buttons-wrapper {
		margin-top: -3vh;
	}

	.socialmedia span a img {
		width: 24px;
	}

	.text-1,
	.text-2 {
		top: 31% !important;
	}

	.text-3,
	.text-4 {
		top: 53.5% !important;
	}


}

@media screen and (max-width: 768px){

	body{
		overflow:visible;
		overflow-y: visible !important;
	}

	.splash-row{
		height: auto !important;
	}

	.splash-row-head{
		height: 25vh !important;
	}

	.splash-name{
		padding: 7.5vh 0 4.5vh 0;
	}

	/*.splash-buttons-wrapper{
		padding-top:30px;
	}*/

	.mobile-only{
		display: block !important;
	}

	.desktop-only{
		display: none;
	}

	.mobile-tile{
		display:inline;
	}

	.desktop-tile{
		display:none;
	}

	.splash-name-wrapper{
		width:100%;
		display:block;
		}

	.splash-buttons{
		width: 49%;
		display: inline-block;
		text-align: center;
	}

	.splash-name h1{
		line-height: 0.3em;
	}

	.splash-name h2{
		line-height: 0.7em;
	}

	.splash-buttons-wrapper{
		display: block;
		background-color: #f1edea;
	}

	.languages span{
		line-height: 30px !important;
		display: inline !important;
	}

	div.splash-tile{
		margin-top:-9px;
	}

	.tile-text{
		height: 40vh;
    	width: 50%;
    	position: absolute;
    	display: inline-block;
	}

	.tile-text-bottom{
		width:50%;
	}

	.text-1{
		top:23.4%;
	}

	.text-2{
		top:23.4%;
		left:50%;
	}

	.text-3{
		top:48.5%;
		left:0;
	}

	.text-4{
		top:48.5%;
		left:50%;
	}

	.text-5{
		bottom:0;
		left:0;
	}

	.text-6{
		bottom:0;
		left:50%;
	}

	/* 
	.text-1{
		top:18%;
	}

	.text-2{
		top:18%;
		left:50%;
	}

	.text-3{
		top:45%;
		left:0;
	}

	.text-4{
		top:45%;
		left:50%;
	}

	*/

	#tile-3{
		border-right: 1px solid #f1edea !important;
	}

	.splash-row{
		margin-top:60px;
	}

	div.splash-tile{
	    width: 50% !important;
	    border: 1px solid #f1edea !important;
	}
}

@media screen and (max-width: 480px){

	.splash-row-head{
		height:170px;
	}

	.search-wrapper input {
		font-size: 1.2rem;
	}

	.close-button {
		width: 15px;
		height: 15px;
	}

	.splash-name-wrapper{
		height:110px !important;
	}

	.splash-buttons-wrapper{
		padding-top:15px;
		display: flex;
		justify-content: space-between;
	}

	.splash-name h1{
		font-size:2.5em !important;
	}

	.splash-name h2{
		font-size:2em !important;
	}

	.splash-tile{
		height: 186px !important;
	}

	.tile-text,
	.tile-text-bottom{
		height:186px;
		margin-top: 4rem;
	}


	div.tile-text h3,
	div.tile-text-bottom h3{
		line-height: inherit !important;
		font-size:1.8em !important;
		padding-top: 10vh;
	}

	.text-1,
	.text-2{
		top:178px;
	}

	.text-3,
	.text-4{
		top:365px;
	}

	.text-5,
	.text-6{
		bottom:10px;
	}

	.splash-row{
		margin-top: 10px !important;
		margin-bottom:-10px;
	}

	.socialmedia span a img,
	.socialmedia span a svg{
		width: 20px !important;
    	padding: 5px 10px !important;
	}

	.languages span {
		float: left;
		padding-left: 2%;
	}

}


@media screen and (max-width: 410px){
	.languages {
		width: 38%;
	}


	.socialmedia span {
		float: right;
		padding-right: 2%;
	}

	.languages span a {
		font-size: 1rem;
	}

	.socialmedia {
		width: 58%;
	}
}

@media screen and (max-width: 368px){
	div.tile-text h3,
	div.tile-text-bottom h3{
		padding-top: 14vh;
	}


	.splash-row-head{
		height:145px;
	}

	.splash-name-wrapper{
		height:100px !important;
	}

	.splash-name h1{
		line-height: 0.1em !important;
		font-size: 2.0em !important;
	}

	.splash-name h2{
		line-height: 0.5em !important;
		font-size: 1.5em !important;
	}

	.tile-link .splash-tile{
		width:100% !important;
	}

	.tile-text,
	.tile-text-bottom{
		width:100% !important;
	}

	.languages{
		width: 34%;
		padding-left:4% !important;
	}

	.socialmedia {
		width: 56%;
		padding-right: 4% !important;
	}

	.languages span a{
		padding: 0 7px !important;
		font-size: 0.8rem;
	}

	.tile-text{
		width:100%;
	}

	.text-1{
		top:148px;
	}

	.text-2{
		top:335px;
		left:0;
	}

	.text-3{
		top:522px;
		left:0;
	}

	.text-4{
		top:710px;
		left:0;
	}

	.text-5{
		top:899px;
		left:0;
	}

	.text-6{
		bottom:0;
		left:0%;
	}

}

@media screen and (max-width: 368px){
	.splash-buttons-wrapper{
		padding-top:0;
	}
}

@media screen and (max-width: 367px){
	.languages {
		padding-left: 2% !important;
	}

	.socialmedia {
		padding-right: 2% !important;
		width: 60%;
	}

	.socialmedia span a img,
	.socialmedia span a svg{
		width: 17px !important;
    	padding: 6px 8px !important;
	}
}

/*			POPUP			*/

.popup {
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
    z-index: 9999;
    top: 0px;
    left: 0px;
    background: rgba(96, 97, 102, 0.75);
}

.popup-inner {
      width: 500px;
      position: absolute;
      top: 50%;
      left: 50%;
      background-color: #fff;
      border: 1px solid #707070;
      -webkit-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      padding: 4vw;
      text-align: center;
      color: #542015;
}

.popup-inner h2 {
    font-size: 45px;
    letter-spacing: 0px;
    text-transform: none;
    color: #542015;
    font-weight: 700;
    line-height: 65px;

}

.popup-inner p {
	margin: 40px;
	font-size: 30px;
	line-height:40px;
	font-weight: 700;
	font-family: 'Bembo', serif;
	color: #542015;
}

.popup-button {
	text-transform: uppercase;
	color: #938271;
	border: 1px solid #938271;
	padding: 15px 45px;
	margin-top: 10px;
	font-size: 14px;
	letter-spacing: 1px;
	transition: 0.2s ease-in-out;
}

.popup-button:hover {
	color: #fff;
	background-color: #938271;
}




.popup-close {
        width: 30px;
        height: 30px;
        padding-top: 3px;
        padding-left: 1px;
        opacity: 0.4;
        display: inline-block;
        position: absolute;
        top: 1.5vw;
        right: 1.5vw;
        transition: 0.28s ease;
        -webkit-transform: translate(50%, -50%);
        transform: translate(50%, -50%);
        text-decoration: none;
        color: #938271;
        text-align: center;
        line-height: 85%;
       	font-size: 35px;
        font-family: Arial, sans-serif;
}

.popup-close:hover {
    opacity: 1;
    color: #542015;
}

@media screen and (max-width: 600px) {

.popup-inner {
	width: 80%;
	padding: 8vw 4vw;
}

.popup-inner h2 {
	line-height: 45px;
	font-size: 35px;
}

.popup-inner p {
	padding: 8vw 4vw;
	font-size: 20px;
	line-height: 29px;
	margin: 0;

}

	.popup-close {
	        width: 20px;
	        height: 20px;
	        padding-left: 0;
	        top: 25px;
	        right: 25px;
	        font-size: 25px;
	        font-family: Arial, sans-serif;
    }

    .popup-close:hover {
    	color: ;
    }
}


/*responsive fixes*/
@media only screen and (max-width: 1119px){
	.socialmedia img{
		padding: 0 10px !important;
	}
}
@media only screen and (min-width: 769px) and (max-width: 1374px){
	.splash-name h1 {
    	line-height: 60px;
}
}
@media only screen and (max-width: 480px){
	.splash-name {
    padding: 4.5vh 0 4.5vh 0 !important;
}
}
@media only screen and (max-width: 320px){
	.socialmedia img{
		padding: 5px 7px !important;
	}
}

/*more responsive fixes*/
@media screen and (min-height:701px) and (max-height: 900px) and (max-width: 1365px) {
	div.splash-tile{
		height: 35vh;
	}
	.splash-row {
    	height: 35vh;
	}
	div.tile-text h3 {
    	padding-top: 14vh;
	}
	div.tile-text-bottom h3{
		padding-top: 19vh;
	}
}

@media screen and (max-width: 599px){
	.text-4 h3{
		padding-top: 14vh !important;
	}
	.text-5 h3{
		padding-top: 10vh !important;
	}
	.text-6 h3{
		padding-top: 10vh !important;
	}
}

@media screen and (max-width: 480px){
	.text-1 h3{
		padding-top: 12vh !important;
	}
	.text-2 h3{
		padding-top: 12vh !important;
	}
	.text-3 h3{
		padding-top: 12vh !important;
	}
	.text-4 h3{
		padding-top: 12vh !important;
	}
	.text-5 h3{
		padding-top: 10vh !important;
	}
	.text-6 h3{
		padding-top: 10vh !important;
	}
	.tile-text, .tile-text-bottom {
		margin-top: 4.5rem;
	}
}

@media screen and (max-height: 740px){
	.text-5 h3{
		padding-top: 12vh !important;
	}
	.text-6 h3{
		padding-top: 12vh !important;
	}
	.tile-text, .tile-text-bottom {
		/*margin-top: 3.5rem;*/
	}
}

@media screen and (max-width: 360px){
	.text-1 h3{
		padding-top: 14vh !important;
	}
	.text-2 h3{
		padding-top: 14vh !important;
	}
	.text-3 h3{
		padding-top: 14vh !important;
	}
	.text-4 h3{
		padding-top: 14vh !important;
	}
	.text-5 h3{
		padding-top: 14vh !important;
	}
	.text-6 h3{
		padding-top: 12vh !important;
	}
}

@media screen and (min-width:601px) and (max-width: 700px){
	.text-4 h3{
		padding-top: 18vh !important;
	}
	.text-5 h3{
		padding-top: 20vh !important;
	}
	.text-6 h3{
		padding-top: 20vh !important;
	}
}

@media screen and (max-width: 1440px) {
	.splash-name {
    	padding: 4.5vh 0 3.5vh 0;
	}
}
@media screen and (min-width: 1290px) and (max-width: 1380px) {
	.splash-name {
		padding: 1.5vh 0 1.5vh 0;
	}
}