/*
Theme Name: GEMission Beaver Builder Child Theme
Theme URI: http://www.trippple.no
Version: 1.0.1
Description: This theme is made for GEM
Author: Trippple AS
Author URI: http://www.trippple.no
template: bb-theme
*/

/* ajacobsen@gemission.com */
img.fl-logo-img {
	max-width: 217px;
    padding-top: 10px;
}

.home .gem_custom_hero .single-title {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.single-post-view :is(.single-go, .single-give, .single-pray):hover, .single-post-view :is(.single-go, .single-give, .single-pray):focus {
	padding-left: 1.5%;
	padding-right: 1.5%;
}

.single-post-view .single-btn:hover, .single-post-view .single-btn:focus {
	background-color: #475E1F;
}


/* Inline #26 | https://gemission.org/ */

.page .nav.navbar-right > li {
  margin-top: -1px;
}


/* developer@trippple.no update */
div.vertical {writing-mode: vertical-lr;}
div.verticalleft {writing-mode: vertical-rl;}

/* canada website */

.canada-home-third-sec .uabb-post-thumbnail {width: 35%; height:130px !important;}
.canada-home-third-sec .uabb-blog-post-content {width: 65%; justify-content: unset !important;}
.canada-home-third-sec .uabb-blog-posts-description {padding-top: 5px;}
.annual-report-form {border:none !important;}


/* single post */

/* .single-post-view .text-botom {
	padding-top: 33%;
}*/

.single-post-view .col-md-5 img {
	min-height: 477px;
    object-fit: cover;
    object-position: top;}

.single-post-view .single-title {
    font-size: 54px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
    text-align: left;
    color: #475E1F;
}

.single-post-view .single-text{
	font-size: 24px;
    font-weight: 500;
    text-align: left;
    margin-bottom: 50px;
}

.single-flip-text {
    writing-mode: vertical-lr;
    height: 60%;
    text-align: center;
    transform: rotate(180deg);
}

.single-flip-text a{
	color:black !important;
}

.single-post-view .single-btn {
    color: #fff;
    background-color: #86aa49;
    font-family: "Montserrat",sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    text-transform: none;
    border-style: none;
    border-width: 0px;
    border-color: initial;
    border-radius: 0px;
    padding: 10px 25px;
}

.single-btns-div {
    margin-left: -50px;
}

.single-post-view .single-go, .single-post-view .single-go:hover {
	bottom: 180px;
    display: inline-table;
    position: absolute;
    background-color: #86AA49;
	transition: all .15s ease-in-out
}

.single-post-view .single-give, .single-post-view .single-give:hover {
    bottom: 115px;
    display: inline-table;
    position: absolute;
	background-color:#c2cd9b ;
	transition: all .15s ease-in-out
}

.single-post-view .single-pray, .single-post-view .single-pray:hover {
	bottom: 50px;
    display: inline-table;
    position: absolute;
    background-color: #475E1F;
	transition: all .15s ease-in-out
}

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

.single-post-view .single-title {font-size: 42px;}

.single-post-view .col-sm-12.col-xs-12 img {width:100%;}

.single-post-view .col-sm-12.col-xs-12 .single-btns-div {margin-left: 0;}

.single-post-view .text-botom {padding-top: 0; padding: 30px;}

}

@media screen and (max-width: 768px) {
	.single-post-view .col-sm-12.col-xs-12 img {width:100%; min-height:auto !important;}
.single-flip-text {
    writing-mode: horizontal-tb;
    height: auto;
    text-align: left;
    padding-left: 15px;
    padding-top: 15px;
	transform: rotate(0deg);
}

}


/* flip box */
.no-padding {padding:0px;}

.flip-box {
  background-color: transparent;
  width: 100%;
  height: 500px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  /* transition: transform 0.8s; */
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(181deg);
}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

}

.flip-box-front {
  background-color: #000000;
  color: white;
}

.flip-box-back {
  background-color: #c2cd9b;
  color: white;
  transform: rotateY(180deg);
  padding-top:10%;
  padding-left:10%;
padding-right:10%;
}

.flip-box-back2 {background-color: #475e1f;}

.buttongo2, .buttongo2:hover, .buttongive2, .buttongive2:hover, .single-btns-cust, .single-btns-cust:hover {
    font-size: 40px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #7a9e3d;
    padding: 0px 10px;
    position: absolute;
    bottom: 50px;
}

.buttongive2, .buttongive2:hover {
    background-color: #c2cd9b !important;
}

.posts-custom-style3:before, .flip-box-back2:before {
    content: 'g';
    position: absolute;
    top: -350px;
    left: 60%;
    font-weight: bold;
    transform: translate(-40%);
    font-size: 41rem;
    color: rgba(255,255,255, 0.7);
    font-family: "Montserrat",sans-serif;
}

.flip-box-back2:before {
    color: rgba(255,255,255, 0.1) !important;
}

/* custom posts style 2 */

.posts-custom-style2 img {height:500px; border:0px !important; width:100%;}

.posts-custom-style2 {border:0;}

.posts-custom-style2 h1 {color:white;}

.posts-custom-style2 .card-img-overlay {margin-top:10%; margin-left:10%; margin-right: 10%; padding:0px;}

.posts-custom-style2 .overlay-2 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 1;
  transition: .5s ease;
  background-color: rgba(20,21,22,0.40);
}

.posts-custom-style3 .overlay-2 {
	background-color: #475e1f;
	opacity: 0.6;
}

/* home page styles */

.cust-g-before:before {
    content: 'g';
    position: absolute;
    font-size: 70px;
    z-index: 5;
    top: auto;
    padding-left: 3px;
    right: 11rem;
    background-color: #7a9e3d;
    color: white;
    font-family: "Montserrat",sans-serif;
}

/* grid view with no img */

.grid-view-with-no-img {background-color: #EDEDED; height: 100%; border: 0px;
    border-radius: 0; padding:20px;}
.grid-view-with-no-img .fl-post-grid-post {
    background-color: #ededed;
}

.grid-view-with-no-img-col {margin-bottom:30px;}

.grid-view-with-no-img .fl-post-more-link a {
    color: #475E1F;
    padding-bottom: 5px;
    border-bottom: 3px solid #475E1F;}

.grid-view-with-no-img .card-footer.bg-transparent {
    padding-left: 0;
    border: 0px;
}

/* donate missionary styles */
.donate-missionaries {background-color: whitesmoke; margin-bottom: 30px;}
.donate-missionaries .fl-post-image img {width: 100%;}
.donate-missionaries .fl-post-text {padding:20px;}
.donate-missionaries .fl-post-more-link {margin-top:20px;}

/* Social Icons */
.socialicons i {
	line-height: 41px !important;
	height: 41px !important;
	width: 41px !important;
	border-radius: 0px!important;}

.socialicons i:before {
	line-height: 41px !important;
	font-size: 25px !important; }

/* Footer Lang box */
.footerlang .trp-language-switcher, .footerlang .trp-language-switcher .trp-ls-shortcode-current-language,
.footerlang .trp-language-switcher .trp-ls-shortcode-language {
	width:100% !important;
	background-color: #ededed !important;}

/* Box Figure */
@media only screen and (min-width: 768px) {

.process-arrow-styles {
	position: relative;
  border-right: 10px solid #ffffff;
	height:100%;
}

.process-arrow-styles::before {
  content: '';
  position: absolute;
  display: block;
  width: 0px;
  right: 0;
  top: 50%;
  border: 35px solid transparent;
  border-right: 0;
  border-left: 35px solid #ffffff;
  transform: translate(calc(100% + 0px), -50%);
}

.process-arrow-styles::after {
  content: '';
  position: absolute;
  display: block;
  width: 0px;
  right: 0;
  top: 50%;
  border: 20px solid transparent;
  border-right: 0;
  transform: translate(calc(100% + 0px), -50%);
}

.process-arrow-styles1:after {border-left: 20px solid #EDEDED;}

.process-arrow-styles2:after {border-left: 20px solid rgba(114,52,145,0.4);}

.process-arrow-styles3:after {border-left: 20px solid #CED9A7;}

}




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

	.process-arrow-styles {
	position: relative;
  border-bottom: 10px solid #ffffff;
	height:100%;
}

.process-arrow-styles::before {
  content: '';
    position: absolute;
    display: block;
    width: 0px;
    bottom: -53px;
    border: 35px solid transparent;
    border-bottom: 0;
    border-top: 35px solid #ffffff;
    transform: translate(calc(200% + 15px), -50%);
}

.process-arrow-styles::after {
  content: '';
    position: absolute;
    display: block;
    width: 0px;
    bottom: -60px;
    border: 20px solid transparent;
    transform: translate(calc(200% + 90px), -50%);
}

.process-arrow-styles1:after {border-top: 20px solid #EDEDED;}

.process-arrow-styles2:after {border-top: 20px solid rgba(114,52,145,0.4);}

.process-arrow-styles3:after {border-top: 20px solid #CED9A7;}

}

}

/* header */
.fullscreen-header-menu .fl-menu-mobile-flyout {width:100%; padding:0px; height:100%;}
.fullscreen-header-menu .hamburger-menu {color:#141516 !important;}
.fullscreen-header-menu .fl-menu-mobile-toggle {background-color:transparent !important;}

.fl-node-5f04437167b15 .fl-menu-mobile-flyout {
    background-color: #86aa49;
	left: 101%;}

.mainmenu-withbg {height: 100%;}

.mainmenu-withbg .fl-module-content {margin:0px;}

.mainmenu-withbg .fl-module-content a{
	padding-top: 85px;
    padding-bottom: 30px;}

.header-search .pp-search-form__input {background-color:white !important; text-align:left !important;}

/*icon on https://wpbeaveraddons.com/docs/powerpack/modules/instagram-feed */
span.likes { font-size: 25px;}
span.comments {font-size: 25px;}

/* instagram */
.instagram-boxs-styles .pp-feed-item-inner{
-webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.5);
box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.5);
}
span.likes, span.comments {text-shadow: 2px 0px 4px rgba(0, 0, 0, 0.5);}

/* pray page */
.pray-btns-styles .pp-dual-button-inner {width:95%;}
.pray-btns-styles .pp-dual-button {
    width: 42%;
    margin: 4%;
    margin-bottom: 0%;
    margin-top: 0%;
}
.pray-btn1-style {font-size:18px; padding-top: 19px !important;
    padding-bottom: 19px !important;}
.pray-btn2-style span {font-size:10px;}
.pray-btn2-style span span {font-size:18px;}
.pray-btn1-style, .pray-btn2-style {width: 100%;}

/* about page */
.about-go-index {z-index: 9;
    position: relative;
    padding-top: 30%;}

/*Quote*/
.quote:before {
    content: "،،";
    float: left;
    margin-right: 25px;
    font-size: 130px;
    margin-top: -75px;
    color: #CCE3CB;
    letter-spacing: -15px;
	position: absolute;
    margin-left: 30px;
}

/* ten website post styles */
.styles-for-post-ten .fl-post-grid-text {
    padding: 0;
    margin-top: 50px;
}


/* ten website about section */
.ten2-aboutsection img {margin-bottom: 50px;}

/* ten website contact page */
.ten2-contact-page a.fl-post-feed-more {
    border-bottom: 3px solid;
}

/* G */

.gbackground:before {
    content: 'g';
    position: absolute;
    z-index: 1;
    right: 0;
    font-size: 700px;
    color: #f9f9f9;
    opacity: 0.3;
    margin-top: 170px;
    line-height: 0;
}

/* posts custom style */
.posts-custom-style .pp-content-grid-post-meta, .posts-custom-style .pp-content-grid-post-meta a {color:white; font-size:18px; line-height:21px; margin-bottom: 20px;}

.posts-custom-style .card-title a {color:white !important; font-size:52px; line-height:62px;}

.posts-custom-style img {height:569px; border:0px !important; object-fit: cover;}

.posts-custom-style {border:0;}

.posts-custom-style .card-img-overlay {padding: 10%; background: rgba(71, 94, 31, .30)}

.posts-custom-style .pp-content-grid-post-more-link {bottom:60px; position:absolute;}

.fl-post-grid-post {border:0px !important;}

.posts-custom-style .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #475e1f;
}

.posts-custom-style:hover .overlay {
  opacity: 1;
}

.posts-custom-style .overlay-2 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 1;
  transition: .5s ease;
  background-color: rgba(20,21,22,0.40);
}

/* scroll-to-top */
span.scroll-to-top {letter-spacing: -2px;}

/* Custom gallery images size */

.custom-gallery-sizes .gallery-columns-1 .gallery-item img,
.custom-gallery-sizes .gallery-columns-2 .gallery-item img,
.custom-gallery-sizes .gallery-columns-3 .gallery-item img,
.custom-gallery-sizes .gallery-columns-4 .gallery-item img,
.custom-gallery-sizes .gallery-columns-5 .gallery-item img,
.custom-gallery-sizes .gallery-columns-6 .gallery-item img
{
	border: 2px solid #cfcfcf00 !important;
	width: 100%;
    object-fit: cover;
    object-position: top;
}

.custom-gallery-sizes .gallery-columns-1 .gallery-item img {height: 300px;}
.custom-gallery-sizes .gallery-columns-2 .gallery-item img {height: 250px;}
.custom-gallery-sizes .gallery-columns-3 .gallery-item img {height: 200px;}
.custom-gallery-sizes .gallery-columns-4 .gallery-item img {height: 150px;}
.custom-gallery-sizes .gallery-columns-5 .gallery-item img {height: 100px;}
.custom-gallery-sizes .gallery-columns-6 .gallery-item img {height: 100px;}

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

.custom-gallery-sizes .gallery-columns-1 .gallery-item img {height: 175px;}
.custom-gallery-sizes .gallery-columns-2 .gallery-item img {height: 150px;}
.custom-gallery-sizes .gallery-columns-3 .gallery-item img {height: 125px;}
.custom-gallery-sizes .gallery-columns-4 .gallery-item img {height: 100px;}
.custom-gallery-sizes .gallery-columns-5 .gallery-item img {height: 75px;}
.custom-gallery-sizes .gallery-columns-6 .gallery-item img {height: 50px;}

}

/*Tooltip styling of Language switching with TranslatePress*/
div#wrapper-switching-tooltip {
    background: #CED9A7;
}
.country-site-switching-tooltip {
    margin: 0 auto;
    color: #141516;
    box-shadow: 5px 5px 10px #555;
    text-align: center;
    padding: 10px 10px;
}

.country-site-switching-tooltip .cookie_box_close {
  float: right;
  color: #141516;
  font-weight: bold;
}

.country-site-switching-tooltip .target_website_url {
    color: #141516;
    font-weight: bold;
}
/*END Tooltip styling of Language switching with TranslatePress*/
/*Give custom color in main menu*/
.givePurple > .nav-link {
    color: #723491 !important;
    font-weight: bold !important;
}

.givePurple:hover > .nav-link {
	color: #141516 !important;
}
/*End Give custom color in main menu*/

/*New Header*/
.fullscreen-header-menu #menu-header-menu.navbar-nav li.current-menu-item > a {
  background-color: #fff;
}

@media screen and (min-width: 992px) {
	/*.getStarted .navbar-nav .nav-link {font-weight: bold !important; } */
	.fullscreen-header-menu #menu-header-menu.navbar-nav > li.getStarted {
	  position: absolute;
	  right: -93px;
	  transform: rotate(270deg);
	  top: 54px;
	}
	.fullscreen-header-menu #menu-header-menu.navbar-nav > li.getStarted a {
	  padding: 20px;
	  padding-right: 20px;
	  padding-right: 54px;
	  background-color: #363636;
	  color: #fff;
	}
	.button-global-search-wrapper {margin-right: 36px; }
	li.getStarted:hover>a {
		background-color: #CED9A7 !important;
		color: white !important;
	}
}

/*End New Header*/

.fullscreen-header-menu #menu-header-menu .menu-item-has-children:hover .sub-menu {
    z-index: 99999;
}

@media screen and (max-width: 768px) {
.custom-right-side-menu, .cusom-righ-side-menu-wrapper {
    z-index: 99999;
}
.givePurple > .nav-link {
    color: #fff;
    font-weight: bold !important;
}
.getStarted {
    background-color: #fff;
}
.getStarted a{
color: #475e1f !important;
}
}

.posts-custom-style img {
width: 100%;
}

/* New buttons */

.buttons-general-styles {position:absolute; top:200px; margin-left:-75px;}

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

	.buttons-general-styles {position:absolute; top:200px; margin-left:0px;}

}

/* New buttons */
/*hide search on the Map*/
.map-search,span.reset-filter {
    display: none;
}

/*Fix qoute in Homepage in Mobile*/
@media(max-width: 767px) {
.quote::before {
    font-size: 85px !important;
    margin-top: -49px !important;
}
.cust-g-before:before {
    font-size: 50px !important;
    right: 6rem !important;
}
.fl-node-5f1c43183eb38 > .fl-module-content {
    margin-left: 75px;
}

}
/*reduce the animation of the search popup*/
.animate__animated {
    animation-duration: 0.3s !important;
}
/*change color of Formstack in Contact US in the master website*/
.ff-form-main {
    background: #e6ecd3 !important;
}
div#ffPage368 {
    background: #e6ecd3 !important;
}
div#ffSection0 {
    background-color: #e6ecd3 !important;
}
input#btnsubmit {
    width: 107px;
    height: 37px;
    background-color: #475e1f !important;
}
/*Fix Header styling to be like the custom Header*/
.fl-page-nav-right .fl-page-nav-wrap .navbar-nav li.current-menu-ancestor>a, .fl-page-nav-right .fl-page-nav-wrap .navbar-nav li.current-menu-parent>a, .fl-page-nav-right .fl-page-nav-wrap .navbar-nav li.current-menu-item>a{
  background-color: #475E1F;
    color: #FFF !important;
}

.fl-page-nav .navbar-nav>li>a.nav-link {
    padding-top: 61px;
    padding-bottom: 20px;
    text-transform: lowercase;
}

.fl-page-nav .navbar-nav li:hover > a {
    background-color: #CED9A7;
    color: #000;
}
  ul.sub-menu{border: none; padding: 0; margin: 0}
  ul.sub-menu li{margin: 3px 0;}
  ul.sub-menu li a{padding: 15px; margin: 0; background-color: #CED9A7;}
  ul.sub-menu li:hover a{background-color: #475E1F; color: #FFF;}
  ul.sub-menu{margin: 0; list-style: none; padding: 0;}
 ul.sub-menu{background-color: transparent;}
 ul.sub-menu li a{padding-top: 15px; padding-bottom: 15px; background-color: #CED9A7; color: #141516; margin: 3px 0;}
 ul.sub-menu li:hover a{background-color: #475E1F; color: #FFF;}
.fl-page-header-wrap .fl-page-nav ul.sub-menu li a {     margin: 0;
}
.fl-page-header-wrap .fl-page-nav ul.sub-menu {
   padding: 0;
}
#menu-header-menu.navbar-nav li ul.sub-menu li:hover a {
    background-color: #475E1F;
    color: #FFF;
}

@media screen and (min-width: 992px) {
	li.getStarted{
		position: absolute;
		transform: rotate(270deg);
		top: 54px;
		right: -93px;
	}

	#menu-header-menu.navbar-nav > li.getStarted {
		position: absolute;
		right: -93px;
		top: 54px;
	}
}

/*li.getStarted .current-menu-item */
li.getStarted a {
    padding: 20px !important;
    padding-right: 20px;
    background-color: #363636;
    color: #fff !important;
}
/*  */

.fl-page-nav-search{
  margin-right: 36px; 
  margin-top: 2rem;
}
.fl-page-nav-right .fl-page-header-wrap {
    border: none;
}
.fl-page-header-container.container {
    padding-top: 0;
}
/*Fixpadding for search icon & GetStarted*/
@media screen and (min-width: 992px) {
	#menu-header-menu.navbar-nav > li.getStarted {
		top: 37px;
	}
}

.fl-page-nav-right .fl-page-nav-search a.fa-search {
    padding: 59px 0 13px 15px;
}

/* Fix Form stack contact form padding of check boxes*/
#dvFastForms .ff-group-row>.ff-item-row {
  position: relative;
}
label#lblInquiry__cHasOptedInOfSMS__c, label#lblInquiry__cHasOptedInOfEmail__c, label#lblInquiry__cHasOptedInOfPrivacy__c {
    padding-left: 30px;
    width: 98%;
}
input[type=checkbox]{
    position: absolute;
    top: 8px;
    left: 0;
    z-index: 99999;
    right: 0;
    bottom: 0;
}

@media(max-width:600px)
  .card-img {
      height: 100%;
  }
  .posts-custom-style img {
      height: 715px;
  }
  .posts-custom-style {
      height: 100%;
  }
  .fl-post-column .fl-post-grid-post {
      height: 715px !important;
  }
}