/*

Theme Name: Kirkon Ulkomaanapu
Author: Frantic
_____________________________________________________

*/

/* MOBIILITOGGLE TEKSTI */
@media screen and (max-width: 760px) {
#main-nav-open:after {
    content: "MENU";
    position: absolute;
    right: 0;
    font-size: 12px;
    margin-top: 30px;
    margin-right: 10px;
    color: #9c3;
}
 }


@media screen and (max-width: 600px) {
  body.noScroll #wpadminbar {
      position: fixed;
  }
}

@media (pointer: coarse), screen and (max-width: 760px) {
#main-nav .nav-row li.menu-item-has-children:after,
#main-nav a {
  color: #020202 !important;
}

#main-nav > li {
  background: white;
  border-top: 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
}
.nav-row>li.active>a, .nav-row>li.current-menu-item>a, .nav-row>li.current-page-ancestor>a, .nav-row>li.current_page_item>a, .nav-row>li.current_page_parent>a {
  background: unset;
}
.nav .active>a, .nav .current-menu-item>a, .nav .current-page-ancestor>a, .nav .current_page_item>a, .nav .current_page_parent>a, .nav a:active, .nav a:hover {
  border-bottom: 0px;
}

#menu-main {
  display: none;
}

body.noScroll {
  overflow: hidden;
  position: absolute;
  height: 100%;
}

.search-wrap,
.search-wrap * {
  height: 70px;
}


.header-top--open #menu-utility {
  border-top: 2px solid #9c3;
  position: fixed;
  top: 70px;
  z-index: 100;
  background: white;
  height: calc(100% - 140px);
  overflow: scroll;
}

.customize-support .header-top--open #menu-utility {
  top: 116px;
  height: calc(100% - 186px);
}
body.noScroll.customize-support {
  height: calc(100% - 46px);
}

.header-top--open .header-right .nav.lang-nav {
  background: white;
  position: fixed;
  top: calc(100% - 70px);
  z-index: 1000;
  height: 70px;
  width: 100%;
  text-align: center;
}
#menu-utility.menu-utility--open {
  border-top: 2px solid #9c3;
}
#menu-utility li > a {
  margin-right: 40px;
  text-transform: uppercase;
}

#menu-utility li.menu-item-has-children:after {
  font-size: 1.5em;
  content: '\e600';
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

} 
#menu-utility li.menu-item-has-children.nav-open:after {
  content: '\ea0f';
  font-size: 0.8em;
}

#menu-utility .sub-menu {
  background: #eee;
}
#menu-utility .sub-menu .sub-menu a {
  text-transform: none;
}

}

@media (pointer: fine) and (min-width: 761px), screen and (min-width: 761px) {

  #menu-main {
    display: block;
  }
  .header-left .logo {
    height: 45px;
  }
  .header-logo {
      height: 61px;
  }

  .header-wrap,
  #header-wrap,
  #header-top {
    overflow: visible;
  }

  .header-center {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
    padding-top: 3px;
  }

  .nav-vertical ul:empty {
    border: 0;
  }

  .header-wrap .nav-wrap {
    /* margin-left: 2em; */
  }

  #searchform {
    position: relative;
    top: unset;
    right: unset;
  }
  #main-nav > .nav-row > li > .sub-menu {
    display: none;
    position: absolute;
    background-color: white;
    padding: 30px;
    //margin-top: 6px;
    left: 0;
    width: 100%;
    /*min-height: 80px; broke mega menu on ios */
    z-index: 10000;
  }
  /* Extend hitarea below sub-menu */
  #main-nav > .nav-row > li > .sub-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100px;
  }

  #main-nav > .nav-row > li:hover  .sub-menu, #main-nav > .nav-row > li:focus-within  .sub-menu {
    display: block;
  }

  #menu-main .sub-menu .menu-item,
  #menu-main .sub-menu .menu-item a {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    white-space: normal;
  }
  #menu-main > li {
    font-size: 16px;
    padding-top: 5px;
  }
  #menu-main li.menu-item-90563 {
      min-height: 4em; /* force to own column */
  }
  #menu-main > li > .sub-menu {
    column-count: 3;
    border-bottom: 2px solid #9c3;
  }
  #menu-main > li.three-column > .sub-menu {
    column-count: 3;
    padding: 30px 10vw;
  }
  #menu-main > li.two-column > .sub-menu {
    padding: 30px 10vw;
    column-count: 2;
  }
  .nav .current-menu-item > a,
  .nav .current-page-ancestor > a, 
  .nav .current_page_item > a, 
  .nav .current_page_parent > a {
    color: #020202;
  }
  .sub-menu .sub-menu a {
    font-weight: 400;
  }
  
  .nav .active > a, 
  .nav a:active, .nav a:hover,
  li.nav-open > a {
    border-bottom: none;
    color: #9c3 !important;
  }
  
  #menu-main > li > a {
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    font-size: 20px;
    display: inline-block;
  }
  #menu-main > li:hover > a,
  #menu-main > li.nav-open > a:hover,
  #menu-main > li.nav-open > a {
    color: #9c3 !important;
    border-bottom: 2px solid #9c3;
  }

  #menu-main .sub-menu .menu-item {
    margin-bottom: 10px;
    text-transform: uppercase;
    /* font-size: 0.95em; */
    padding-top: 3px;
    padding-bottom: 2px;
  }
  #menu-main .sub-menu .sub-menu .menu-item {
    margin-bottom: 5px;
  }
  #menu-main .sub-menu .sub-menu {
    margin-top: 5px;
    padding-left: 20px;
  }
  #menu-main .sub-menu .sub-menu .menu-item {
    text-transform: none;
  }

  .nav .current_page_item > a {
    border-bottom: 0px;
  }
}
@media (pointer: fine) and (min-width: 761px) and (max-width: 1000px), 
screen and (min-width: 761px) and (max-width: 1000px) {
  #searchform {
    /* width: 90%; */
    margin: 0;
  }
}
@media (pointer: fine) and (min-width: 1000px), screen and (min-width: 1000px) {
  #menu-main > li {
    font-size: 18px;
  }
  #menu-main > li > .sub-menu {
      column-count: 4;
  }
}

@media (pointer: fine) and (min-width: 1100px), screen and (min-width: 1100px) {
  #main-nav > .nav-row > li > .sub-menu {
    padding: 30px 15vw;
  }
  #menu-main > li.three-column > .sub-menu {
    padding: 30px 21vw;
  }
  #menu-main > li.two-column > .sub-menu {
    padding: 30px 30vw;
  }
  #menu-main > li.three-column > .sub-menu {
    padding: 30px 20vw;
  }
}

@media (pointer: fine) and (min-width: 1200px), screen and (min-width: 1200px) {
    #main-nav > .nav-row > li > a {
        font-size: 21px;
    }
    
    #menu-main > li {
        font-size: 19px;
    }
}

.tekstinosto {
  margin: 2em auto 1em auto;
}
.tekstinosto h2 {
  color: #004924;
  font-size: 2.75em;
  font-family: GTPressura,Verdana,sans-serif;
}
.tekstinosto p {
  font-size: 1.5em;
}

.block.green {
  background: #9c3;
  width: 100%;
  max-height: 525px;
  overflow: hidden;
}
@media screen and (max-width: 800px) {
  .block.green.maamenu {
    max-height: unset;
  }
}
.block.green figure {
  width: 100%;
  height: 525px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-position: center;
}
.country figure {
  width: 100%;
  height: 525px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-position: center top !important;
}
.country .block.green,
.country .block.green figure {
  height: 600px;
  max-height: 600px;
}
.block.green figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 1em;
  background: #9c3;
  color: white;
  font-size: 120%;
}

#maa-menu {
  display: flex;
  flex-direction: row;
  padding: 1em 0;
}
#maa-menu > li {
  flex: 1;
}
#maa-menu > li > a {
  font-size: 2em;
  letter-spacing: 1px;
  font-weight: bold;
  cursor: default;
  pointer-events: none;
}
#maa-menu > li > a:hover {
  cursor: default;
  color: #000 !important;
}
#maa-menu > li > ul {
  display: block;
  padding-left: 0;
  margin-top: 1em;
}
#maa-menu > li > ul > li {
  margin-bottom: .5em;
}
#maa-menu > li > ul > li > a {
  color: white;
  font-size: 17px;
}
#maa-menu > li > ul > li > a:hover {
  color: #073a1b !important;
}
@media screen and (max-width: 760px) {
  #maa-menu {
    display: block;
  }
  #maa-menu > li {
    display: inline-block;
    width: 49%;
    vertical-align: top;
  }
  #maa-menu * {
    border: none;
  }
  #maa-menu li a {
    padding: 4px 0px;
  }
  #maa-menu li.menu-item-has-children::after {
    content: unset;
  }
  #maa-menu > li > ul {
    margin-top: 2px;
  }
}
@media screen and (max-width: 520px) {
  #maa-menu > li {
    width: 100%;
  }
  #maa-menu li a {
    text-align: center;
  }
}


.donation-promo-header,

.donationcontent {

    max-width: 1024px;

    margin: 0 auto;

    position: relative;
}

.nav-vertical>ul {
    border: none !important;
}

/*Kuva captionin teklstistä border pois */
.wp-caption p.wp-caption-text {
	border: none !important;
}

/* ARTIKKELIKUVAN KUVATEKSTI JOKA PAIKASSA VIHREÄLLÄ TAUSTALLA */
figcaption {
    padding: 1em;
    /*
    background: #9c3 !important;
    color: white !important;
    font-size: 120% !important;
   */
}

/* ARTIKKELEIDEN SIVUPALKKI */
.block .newslist-title {
/*	color: #9c3;
	padding: 30px; */
}
.newslist {
  padding: 20px;
}

.infobox h3 {
  color:#000000 !important;
}

.infobox {
  color:#000000 !important;
}

.infobox li {
  color:#000000 !important;
}

.infobox ul {
  color:#000000 !important;
}

.infobox p {
  color:#000000 !important;
}

.factbox a {
	color:#000000;
	text-decoration:underline;
}

/* ETUSIVUN BLOGOIBANNERIN KORKEUDEN KASVATUS */
.block.promo_donation.ajankohtaista.heroblock .hero--imageblock {
	background-position: 50% 50% !important;
}
@media screen and (min-width: 1700px) {
  .block.promo_donation.ajankohtaista.heroblock {
       min-height: 600px;
    }
  }
@media screen and (min-width: 2200px) {
  .block.promo_donation.ajankohtaista.heroblock {
       min-height: 800px;
    }
  }

/* YHTEYSTIEDOT VAIN SUOMI FOOTER */
.fi-footer:lang(en),
.fi-footer:lang(sv) {
	display: none;
}

/* KUAKU-114 */

@media screen and (min-width:900px) {
  .hero-video-container {
    height: 500px !important;
  }
}

/*KUAKU-92 LJN 20190119 mobiles > input field fix*/
#kirkonulkomaanapu-popup-email-input {
    max-width: calc(100% - 1em);
}
@media screen and (max-width: 400px) {
.kirkonulkomaanapu-popup .kirkonulkomaanapu-popup-email { 
	text-align:center !important;
    margin-left:initial !important;
    margin-bottom:10px !important;
}
#kirkonulkomaanapu-popup-email-input {
    width: 70% !important;
    position:relative !important;
    left:initial !important;
    bottom:initial !important;
}
.kirkonulkomaanapu-popup-button {
    position:relative !important;
    bottom:initial !important;
    right:initial !important;
	margin-bottom:25px !important;
}
}
/*END KUAKU-92 LJN 20190119 mobiles > input field fix*/


/* 6.5. CSS FROM CUSTOMIZER */

article .postinfo {
	border-bottom: none;
}

.share .element.fb-like, .element.fb-share-button > span {
    vertical-align: top !important;
}

@media screen and (max-width: 760px) {
    #main-nav-open:before {
        color: #004924;
    }}

@media screen and (max-width: 760px) {
#main-nav-open:after {
        font-family: Texta,Verdana,sans-serif ;
    font-weight: 800;
    color: #004924;
    }}

.button.green {
    background-color: #004924;
}

.page-id-24 .maamenu {
	display: none;
}

.youtube-embed {
	width: 100%;
	padding-top: 56.25% !important;
}

/* new red definition */

.l-main--front>div.heroblock:first-of-type .hero--titleblock .btn--primary {
    background-color: #E02E33;
}

.btn--highlight {
    background-color: #004924;
}

/* mobile-breadcrumb */

@media screen and (max-width: 900px) {
body.page-template-missa-toimimme-child .desktop-breadcrumbs, body.page-template-mita-teemme .desktop-breadcrumbs, body.page-template-osallistu .desktop-breadcrumbs, body.single-artikkelit .desktop-breadcrumbs, body.single-news .desktop-breadcrumbs {
    display: block;
    padding: 0;
    margin-top: 2rem;
}

.breadcrumb span {
    white-space: normal;
}

.mobile-breadcrumbs {
    display: none;
    }}

/* Yhteisvastuu 2021 */
.page-id-106862 .l-constrained nav ul {
    background-color: #004924;
}

.page-id-106862 .l-constrained .block-image-heading {
    background: rgb(0,0,0);
background: -moz-linear-gradient(0deg, rgba(0,0,0,0.7973564425770308) 0%, rgba(0,0,0,0.49763655462184875) 75%, rgba(0,0,0,0) 100%);
background: -webkit-linear-gradient(0deg, rgba(0,0,0,0.7973564425770308) 0%, rgba(0,0,0,0.49763655462184875) 75%, rgba(0,0,0,0) 100%);
background: linear-gradient(0deg, rgba(0,0,0,0.7973564425770308) 0%, rgba(0,0,0,0.49763655462184875) 75%, rgba(0,0,0,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}

@media screen and (max-width: 600px) {
    .page-id-106862 .l-constrained .block-image-heading {
        background: #004924;
    }}

/* form submit */
 input[type=submit] {
    background-color: #004924;
}

/* lahjoitusvaakadiv */

.lahjoitusvaakadiv h1.lahjoitusotsikko, .lahjoitusotsikko {
    color: #004924 !important;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    margin-top: 0;
	word-break: normal;
}

.puolikas {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.lahjoitusvaakadiv > .l-constrained {
    width: 90%;
}

.lahjoitusmaaradiv > #lahjoita-minus,
.lahjoitusmaaradiv > #lahjoita-plus {
    color: #004924;
}

.lahjoituslabel {
    background-color: #99cc33 !important;
    border-radius: 0 !important;
}

article .lahjoitusvaakadiv {
    background-color: #ffffff !important;
    border-left: 6px solid #99cc33;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 50px;
    margin-bottom: 50px;
	overflow: hidden;
}

.lahjoitusbutton {
    background-color: #EB1418 !important;
}

.quantity label .euro {
    color: #004924;
}


/* Frontpage heroblock */

.l-main--front>div.heroblock:first-of-type .hero--titleblock .hero-text {
    background: #fff;
    padding-top: 1.5em;
    padding-bottom: 1em;
    margin-top: 1em;
    margin-right: 1.5em;
    margin-bottom: 1em;
    max-width: calc(465px - 1.5em);
    position: relative;
    z-index: 10;
}

@media screen and (min-width: 761px) {
    .l-main--front>div.heroblock:first-of-type .hero--titleblock .hero-text h1 {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
    
    }}

@media screen and (max-width: 1199px) {
    .l-main--front>div.heroblock:first-of-type .hero--titleblock .hero-text {
        margin-left: 1em;
        margin-right: 1em;
        padding-top: 1.25em;
        padding-left: 1.25em;
        padding-right: 1.25em;
        padding-bottom: .5em ;
    }}

@media screen and (max-width: 760px) {
    .l-main--front>div.heroblock:first-of-type .hero--titleblock .hero-text {
    max-width: 100%;
        float: none;
        position: absolute;
        bottom: 0;
        margin-left: .75em;
        margin-right: .75em;
        padding-top: 1.25em !important;
        padding-bottom: .5em !important;
    }
}

.l-main--front>div.heroblock:first-of-type .hero--titleblock .btn--primary, .l-main--front>.hero-video-container .btn--highlight  {
    /*background-color: #004924;*/
    
}

.btn {
    font-weight: 800 !important;
}

.l-main--front>div.heroblock:first-of-type .hero--imageblock {
    
    margin-left: -40%;
}

@media screen and (max-width: 760px) {
.l-main--front>div.heroblock:first-of-type .hero--imageblock {
    
    margin-left: 0;
    min-height: 85vh;
    }}

.l-main--front > div.heroblock:first-of-type .hero--titleblock {
    
    position: relative;
}

.l-main--front > div.heroblock:first-of-type {
    background-color: #fff;
}

/* Donation form title fine-tuning */

.single-content-layout article .block-donation .donate-container .progress-wrapper > h3 {
    
    margin-top: 0 !important;
}

.page-template-donation2020 .hero-image .donation-form-title h1 span:not(:first-child):last-child,
 .page-template-donation2020 .hero-image .mobile-hero-title h1 span:not(:first-child):last-child {
    color: #004924 !important;
}

.page-template-donation2020 .hero-image .donation-form-title h1,
.page-template-donation2020 .hero-image .mobile-hero-title h1 {
   
    line-height: .7; 
}

.page-template-donation2020 .hero-image .donation-form-title h1 span:first-child,
.page-template-donation2020 .hero-image .mobile-hero-title h1 span:first-child{
    padding-bottom: .35em;
}

.page-template-donation2020 .hero-image .donation-form-title h1 span,
.page-template-donation2020 .hero-image .mobile-hero-title h1 span {
    padding-left: .25em;
    padding-right: .25em;
    padding-top: .25em;
    margin-top: -.125em ;
    
        padding-bottom: 0.3em;
}

.page-template-donation2020 .hero-image .donation-form-title h1 span:nth-child(3),
.page-template-donation2020 .hero-image .mobile-hero-title h1 span:nth-child(3), 
.page-template-donation2020 .hero-image .donation-form-title h1 span:last-child,
.page-template-donation2020 .hero-image .mobile-hero-title h1 span:last-child {
    padding-bottom: .35em !important;
    margin-top: -.3em;
}


.single-content-layout article .block-donation .donate-container .donation-form-title,
.single-content-layout article .block-donation .mobile-hero-title {
    margin-top: .3em;
}

.amounts label:focus {
    outline: -webkit-focus-ring-color auto 0px !important;
    outline-color: -webkit-focus-ring-color;
    outline-style: auto;
    outline-width: 0px;
}

/* Hero Title on videos */

.campaign-video-text .hero-title {
    text-shadow: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
    margin-left: .25em;
    margin-bottom: 5em;
    position: relative;
    display: inline;
    background-color: #fff;
    padding-bottom: .07em;    line-height: 1.125;
    text-transform: uppercase;
    -webkit-box-shadow: .25em 0 0 #fff, -.25em 0 0 #fff;
    box-shadow: .25em 0 0 #fff, -.25em 0 0 #fff;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.campaign-video-text .contentpadding {
    margin-top: 2em;
}

.campaign-video-text-container {
    position: absolute;
    bottom: 0;
    max-width: 1280px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.campaign-video-text {
    max-width: 600px;
}

@media screen and (max-width: 899px) {
.campaign-video.state-video-disabled, .campaign-video.state-video-loading {
    height: 400px !important;
    }}



/* bnr height in mobile */

@media screen and (max-width: 760px){
.l-main--front>div.heroblock:first-of-type .hero--titleblock .hero-text {
    padding-top: 2em;
	padding-bottom: 1.5em;
}
}

/* embedded bnrs in iframes */

.iframe-container {
  overflow: hidden;
	padding-top: calc(100% *16 / 9);
  position: relative;
  margin-bottom: 1em;
	width: 100%;
	
}
 
.iframe-container iframe {
   border: 0;
   left: 0;
   position: absolute;
   top: 0;
	height: 100%;
   min-width: 100%;
	width: 1px;
	*width: 100%;
}

@media (min-width: 768px) {
    .iframe-wrapper  {
			
        width: 320px;
			margin-left: 1em;
			margin-top: 0;
        float: right;
    }
}

/* general typography customations */

.factbox h3:first-of-type {
    margin-top: 0;
}

article .factbox > h3 {
	text-transform: none;
	color: #004924;
}

.single-content-layout article h3, .single-content-layout article h2 {
    font-size: 1.25em;
	margin-top: 1.5em;
	margin-bottom: 1em;
}

@media (max-width: 799px) {
.full-width-img > .wp-caption-text {
    padding-left: 1em !important;
    padding-right: 1em !important;
}
}


.l-main:not(.layout-wefood) .l-constrained article > p, .l-main:not(.layout-wefood) .l-constrained ul, .l-constrained ol, .l-constrained article {
    color: #333;
    letter-spacing: .01em;
}

.post-type-archive .l-include-sidebar .article_list>li h2 {
	margin-bottom: .75em;
    font-size: 1.25em;
    line-height: 1.1;
}

@media (min-width: 800px) {
.post-type-archive li, .blogblock {
    font-size: 21px;
}
}

.single-blog-post .wp-caption p.wp-caption-text, .single-blog-post figcaption {
    font-size: 100%!important;
}

.blogblock h2 {
    font-family: GTPressura,Arial,sans-serif;
    font-style: normal;
    font-size: 1.25em;
    line-height: 1.1;
    margin: 0 0 1em;
    text-transform: none;
    font-weight: 800;
    letter-spacing: -.015em;

}

.blogblock h2 a {
	color: #004924
}

.blogblock .meta, .blogblock h4 {
	font-size: 1em;
	font-weight: 100;
}

.btn, .slider-btn, .pagination a {
    color: #fff;
    border: 0;
    font-weight: 700;
	margin: 0;
    padding: 1em 2em;
    text-align: center;
    font-family: Texta,Verdana,sans-serif;
    font-style: normal;
    font-size: 16px;
    letter-spacing: .5px;
	border-radius: 0;
}

.pagination a {
	background-color: #004924;
}

.pagination a:hover {
	background-color: #99cc33;
}

/* maamenu hidden*/

.page-id-2874 .maamenu {
	display: none;
}

/* shallow herovideo loop */

.video-container .hero-video-embed {
left: 50%;
    transform: translateX(-50%);
top:0%;
    min-width: 100%;
    width: auto;
    }

/* Lang sve frontpage */

.page-id-2940 .l-constrained>.block:nth-child(3), .page-id-2940 .l-constrained>.block:nth-child(4) {
	display: none;
}

/* newsletter pop-up */

@media only screen and (min-width:401px) {
.kirkonulkomaanapu-popup {
	max-width: 400px !important;
	padding-bottom: 200px !important;
	background-image: url("https://www.kirkonulkomaanapu.fi/wp-content/uploads/2019/11/Newsletter-popup_bg.jpg") !important;
	background-position: bottom !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	text-align: left !important;
}

.kirkonulkomaanapu-popup br {
    display: none !important;
}

.kirkonulkomaanapu-popup-title {
	color: #004924 !important;
	text-align: left !important;
	padding-left: 0 !important;
    text-transform: uppercase;
}

.kirkonulkomaanapu-popup > *{
	margin-left: 1em !important;
	text-align: left !important;
}
}


/* css rules for page-template-missa-toimimme-child */

.page-template-missa-toimimme-child .figure {
			margin-bottom: 2em;
}

@media only screen and (min-width:801px) { 
	.page-template-missa-toimimme-child .figure {
			margin-bottom: 4em;
	}
}



@media only screen and (min-width:801px) {
	.page-template-missa-toimimme-child h2 {
    font-size: 1.625em;
    margin-top: 1em;
	}}

.factbox, .right-content {
    background: #fff;
    border-left: 3px solid #9c3;
    padding-left: 1.125em !important;
    padding-right: 1.125em;
    padding-top: 0  !important;
    padding-bottom: 0;
    margin-bottom: 1.5em;
}

@media screen and (min-width: 760px) {
.factbox.float--right, .right-content {
    float: right;
    margin-right: 0;
	}}

.factbox li, .factbox p, .right-content li, .right-content p {
    font-size: 16px !important;
    margin-bottom: 0;
}

.factbox img, .right-content img {
    margin-bottom: 1.125em !important;
}

.featured-item, .featured-item * {
    text-align: center !important;
}

.featured-item {
    padding: 0 .5em .5em .5em;
}

.featured-item img{
    padding: 1em 1.75em .5em;
}
.featured-item p {
    font-size: 16px;
}
.featured-item h3 {
    margin-bottom: 0.5em;
}
