/*

Theme Name: X – Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

/* integrity reset styles */
.site {
  border: none!important;
  box-shadow: none!important;
}
.x-navbar {
  border: 0;
  border-top: 3px solid #c81b1c;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none;
}
.x-brand {
  position: absolute;
}
.x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a {
  box-shadow: none!important;
}

a:focus, select:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="submit"]:focus, input[type="checkbox"]:focus {
  outline: none!important;
}

.x-container.offset {
    margin: 0px auto;
}
.entry-featured,
.entry-wrap {
  border: 0!important;
  border-radius: 0!important;
  box-shadow: none!important;
}
.entry-wrap {
  padding-top: 20px;
}
.entry-wrap a:hover {
  text-decoration: underline;
}

.wp-caption, .gallery-item {
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.wp-caption img, .gallery-item img {
  border-radius: 0;
}

.x-btn, .button, [type="submit"] {
  text-shadow: none!important;
  border-width: 2px;
}

.x-recent-posts a {
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.x-recent-posts a:hover {
  text-decoration: underline;
}
.x-recent-posts .x-recent-posts-img {
  border-radius: 0;
}
.x-recent-posts .format-standard .x-recent-posts-img::before,
.x-recent-posts .format-standard .x-recent-posts-img::after {
  content: none;
}

.entry-thumb::before {
  content: none;
}
a.entry-thumb:hover img {
  opacity: 1;
}
.h-landmark span::before, .h-landmark span::after {
  content: none;
}
.x-pagination {
  margin: 3em 0 0;
  height: auto;
}
.x-pagination a,
.x-pagination span,
.x-pagination span.current {
  border-radius: 0;
  text-shadow: none;
  box-shadow: none;
}

    
.x-colophon.top {
  border: none;
  border-top: 3px solid #c81b1c;
  box-shadow: none;
  background-color: #fa8e08;
  color: #fff;
}
.widget {
  text-shadow: none;
}
.widget ul, .widget ol,
.widget ul li, .widget ol li,
.widget ul li a, .widget ol li a {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.x-colophon .widget ul li a, .x-colophon .widget ol li a {
  color: #fff;
}
.x-colophon .widget_nav_menu ul li a:hover,
.x-colophon .widget_nav_menu ul li.current-menu-item > a {
  background: transparent;
  color: #c81b1c;
}

.x-colophon .x-column.x-1-3.last .widget_nav_menu {
  float: left;
}
.x-colophon .x-column.x-1-3.last .widget_media_image {
  float: right;
  margin-top: 0;
}


/* fullwidth hero */
.entry-featured {
  position: relative;
  margin-left: -2%;
  margin-right: -2%;
  border-bottom: 1px solid #fa8e08 !important;
}
.afv-wave {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0px;
  padding-bottom: 13.33333333%;
  background: url(images/bg_wellen.png) no-repeat 0 0;
  background-size: contain;
}
.afv-title {
  position: absolute;
  bottom: 0;
  left: 2%;
  width: 48%;
  padding: 0 0 10px;
  font-weight: 600;
  font-size: 1.4em;
  line-height: 1.1;
}
.afv-claim {
  position: absolute;
  bottom: 0;
  right: 2%;
  width: 48%;
  padding: 0 0 10px;
  text-align: right;
  font-size: 1em;
  line-height: 1.1;
}
.afv-claim strong {
  font-size: 1.3em;
  color: #c81b1c;
  text-transform: uppercase;
}

/* typografie */
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
 margin:1.25em 0 0.8em;
}
h1,.h1 {
 font-size:250%;
}
h2,.h2 {
 font-size:200%;
}
h3,.h3 {
 font-size:175%;
}
h4,.h4 {
 font-size:150%
}
h5,.h5 {
 font-size:125%
}
h6,.h6 {
 font-size:100%;
}
.entry-title {
  text-align: center;
}

hr {
  clear: both;
  border-top-color: #fa8e08;
  margin: 3em 0;
}

blockquote {
  font-size: 140%;
  color: #444!important;
  font-weight: 300!important;
}
blockquote strong {
  display: block;
  font-size: 80%;
  font-weight: 400;
  text-align: right;
}

.clear {
  clear: both;
}

.btn-navi-spenden {
  xbackground: #fa8e08;
  
}
.btn-navi-spenden > a {
  background: #fa8e08;
  color: #fff!important;
  border: 2px solid #fa8e08;
  margin: 10px 5px 10px 15px;
  padding-top: 8px!important;
  height: 40px!important;
}
.btn-navi-spenden > a:hover {
  background: #fff;
  color: #fa8e08!important;
}

.btn-navi-en-map > a {
  display: block;
  min-width: 30px;
  padding-left: 0px !important;
  padding-right: 0px !important;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background: url(images/Flag_of_the_United_Kingdom_100x50.png) no-repeat 0% 50%;
  background-size: 30px 15px;
}


.x-btn.x-btn-square.x-btn-regular {
  font-size: 18px;
  padding: 0 20px;
  line-height: 40px;
  font-size: 18px;
  font-weight: 600;
}

.wp-caption > .wp-caption-text, .wp-caption > .wp-caption-text:last-child, .gallery-item > .wp-caption-text, .gallery-item > .wp-caption-text:last-child {
  font-size: 0.85em;
  text-transform: none!important;
}

.x-breadcrumb-wrap {
  margin: 1px -2%;
  border-bottom: 1px solid #fa8e08;
  padding: 1.05em 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.4;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
  text-transform: uppercase;
  background-color: transparent;
  box-shadow: none;
}

/* jump anchor padding */
.jump-anchor {
  padding-top: 10px;
}

/* Aktuelles / Blog */
.teaser {
  margin-top: 3em;
  border-top: 1px solid #fa8e08 !important;
}
.x-pagination {
  padding: 20px 0;
  border-top: 1px solid #fa8e08 !important;
}
.post-footer {
  margin-top: 2em;
  padding: 20px 0;
  border-top: 1px solid #fa8e08 !important;
}
.post-footer p {
  margin: 0;
}

.teaser h2.entry-title {
  margin: 1.25em auto 0.8em;
  font-size: 200%;
  line-height: 1.2;
  max-width: 75%;
}
.teaser .entry-content.excerpt {
  margin: 0;
}
.teaser .entry-content.excerpt .more-link {
  font-size: 1em;
}
.teaser a:hover {
  text-decoration: underline;
}

/* Footerspalten */

@media (min-width: 979px) {
	.x-column.x-1-4:first-child {
		width: 30%
	}
	.x-column.x-1-4:last-child {
		width: 14%
	}
}


/* Footer Menu + Instagram */

/*
footer .x-column.last {
  overflow: hidden;
  background: url(https://www.afghanischer-frauenverein.de/site/wp-content/uploads/2017/09/spendensiegel.png) no-repeat 90% 3em;
}
*/
footer .x-column.last a {
  display: inline-block;
  padding: 0.52em 0.85em;
}
.widget_nav_menu ul li.instagram a {
  position: relative;
  padding-left: 25px;
}
.widget_nav_menu ul li.instagram a::before {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  content: '';
  width: 20px;
  height: 20px;
  display: inline-block;
  background: url(images/instagram_white_200x200.png) no-repeat 0 0;
  background-size: contain;
  opacity: 1;
  padding-right: 0;
}
.widget_nav_menu ul li.facebook a {
  position: relative;
  padding-left: 25px;
}
.widget_nav_menu ul li.facebook a::before {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  content: '';
  width: 20px;
  height: 20px;
  display: inline-block;
  background: url(images/facebook_white_128x128.png) no-repeat 50% 50%;
  background-size: 38px auto;
  opacity: 1;
  padding-right: 0;
}
@media screen and (min-width: 980px) {
footer .x-column.last {
  background-position: 100% 0;
}
}

/* iframe */
#fbIframe {
  height: 955px;
}

/* Search Icon */
.x-navbar .desktop .x-nav > li.x-menu-item-search > a,
.btn-navi-spenden > a {
  padding-left: 10px!important;
  padding-right: 10px!important;
}


@media screen and (max-width: 1140px) {
  .x-navbar .desktop .x-nav > li > a {
    padding-left: 10px!important;
    padding-right: 10px!important;
  }
}

/* tablet */
@media screen and (max-width: 980px) {
  .x-brand.img img {
    width: auto;
    height: 62px
  }
  .btn-navi-spenden > a {
    background: #fff;
    color: #fa8e08!important;
  }
  .x-colophon .x-column.x-1-3.last .widget_media_image {
    margin-top: 3em;
  }
}
/* mobile */
@media screen and (max-width: 680px) {
  .afv-title {
    width: 100%;
    font-size: 1em;
    padding-bottom: 5px;
  }
  .afv-claim {
    display: none;
  }
  #fbIframe {
    height: 980px;
  }

}
/* xxs */
@media screen and (max-width: 530px) {
  /* iframe */
  #fbIframe {
    height: 1230px;
  }

}
/* xxs */
@media screen and (max-width: 400px) {
  /* iframe */
  #fbIframe {
    height: 1300px;
  }

}