/*
 Theme Name:   Catch Responsive for FVV
 Description:  Catch Responsive child for FVV
 Author:       FVV
 Author URI:   httpw://www.fvv.org
 Template:     catch-responsive
 Version:      1.0
 Text Domain:  catch-responsive-fvv
*/

#page {
	/*
	border-left: 2px solid #000;
	border-right: 2px solid #000;
	width:1204px;
	*/
}
#site-branding,
#masthead {
	padding: 0;
	background: #3B4151;
}
#masthead .wrapper {
	padding:0;
}
#colophon {
	background:#fff;
	border-top:1px solid #ccc;
}
#site-generator {
	display:none;
}

#site-header {
  display: none;
}

.wrapper,
#content > .wrapper {
	padding:0;
}
.sidebar-header-right {
	display:none;
}
.site-navigation {
  background-color:#282828;
  color:#f2f2f2;
  font-family: Nobile, Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 1.1em;
}
.site-navigation li.menu-item > a {
  border-right: 1px solid #404040;
  background-color:#282828;
  color:#f2f2f2;
  font-weight:normal;
  font-family: Nobile, Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 0.8em; 
  text-transform: uppercase;
}
.site-navigation li.menu-item.current_page_item > a,
.site-navigation li.menu-item.current-menu-parent > a,
.site-navigation li.menu-item:hover > a, .site-navigation li.menu-item:active > a {
	/*background-color: #404040;*/
  background-color: rgba(40,77,115,0.95);
	color: #fff;
}
.site-navigation .sub-menu li.menu-item a,
.site-navigation .sub-menu li.menu-item:hover > a, .site-navigation .sub-menu li.menu-item:active > a {
	background-color: rgba(40,77,115,0.95);
	color: #fff;
}
.catchresponsive-nav-menu .sub-menu li:first-child a,
.catchresponsive-nav-menu .children li:first-child a {
  border-top:1px #ddd solid;
}
.site-navigation li.lang-item.menu-item:first-child {
  display:none;
}
.child-sidebar-menu > li {
  padding: 5px;
  margin: 5px;
  border-bottom: 1px dotted #b3b3b3;
}
.child-sidebar-menu > li > a {
  display:block;
}
.child-sidebar-menu > li.current_page_item a {
  text-decoration: underline;
  color: #000;
}
.child-sidebar-menu > li.current_page_item a::before {
  content: "> ";
}
.mobile-menu-anchor a.genericon-menu,
.mobile-menu-anchor a.genericon-menu:hover,
.mobile-menu-anchor a.genericon-menu:focus {
	color:#fff;
}
#feature-slider {
	padding-bottom:0;
}

.header-widget {
  background-color:#fff;
}
.header-widget h2 {
  padding:20px;
  padding-bottom:0;
}
.header-widget .textwidget {
  padding:20px;
  padding-top:10px;
}
.header-widget p {
  margin:0;
}

#menu-quicknavigation li,
#menu-schnellnavigation li {
  color: #FFFFFF;
  background-color:#0000ff;
  border-color: #246ec0;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  margin:10px;
}
#menu-quicknavigation li a,
#menu-schnellnavigation li a {
    display:block;
    color: #FFFFFF;
    padding: 7px 22px;
    font-size: 17px;
    line-height: 26px;
    border-color: #6cadf4;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    text-shadow: none;
    -moz-text-shadow: none;
    -webkit-text-shadow: none;
}
#menu-quicknavigation li.green,
#menu-schnellnavigation li.green {
  background-color: #39c70f;
}
#menu-quicknavigation li.red,
#menu-schnellnavigation li.red {
  background-color: #c70f0f;
}

body.home .entry-content .display-posts-listing .listing-item {
  clear: left;
  margin-top:25px;
  margin-bottom:25px;
  padding:5px;
  background-color:rgb(250,250,250);
}
body.home .entry-content .display-posts-listing .listing-item:first-child {
  margin-top:10px;
}
body.home .entry-content .display-posts-listing span.image {
  float: left;
  margin: 0 10px 10px 0;
}
body.home .entry-content .display-posts-listing span.title {
  font-size:120%;
  display: block;
}
body.home .entry-content .display-posts-listing span.date {
  display: block;
}
body.home .entry-content .display-posts-listing span.excerpt-dash {
  display: none;
}
body.home .entry-content .display-posts-listing span.excerpt-more {
  display: none;
}
body.home .entry-content .display-posts-listing span.excerpt {
  display: inline-block
}
body.home .entry-content .display-posts-listing span.excerpt::first-letter {
  display: none !important;
}
body.home .entry-header {
  display: none;
}
 
/*
.sidebar {
	background: #E5E5E5 url(https://fvv.org/templates/fvv14/images/backgrounds/bg-leftside.png) right top repeat-y;
}
*/

.page-template-content-sports .featured-image img {
  float: right;
  max-width: 300px;
}
.page-template-content-sports .featured-image .wp-caption.featured {
  float: right;
  max-width: 300px;
  font-size: 60%;
}

.page-template-content-sports .acf-allfields {
  clear:both;
  padding-top: 20px;
}

.advads-widget img {
  margin:20px;
}


/**
 * SPORTICONS HEADER
 * 
 */
.header-widget .header-widget-2 .custom-html-widget { 
  padding: 0;
  padding-top: 0; 
}  
.sporticons a {
  display: block; 
  width: 120px; 
  height: 40px; 
  background-color: blue;   
  color: #fff; 
  font-weight: bold; 
  font-size: 100%; 
  padding: 5px; 
  line-height: 40px; 
  border: 2px blue;
}
.sporticons a:hover {
  background-color:lightblue;
}
.sporticons a img {
  margin-right:5px;
}

.sportauswahl {
  display:none;
  background: #282828;
  border: 0;
  padding: 10px;
  height: 40px;
  color: #ccc;
  width:100%;
  margin: 10px 0;
} 
.sportauswahl option {
  padding:5px;
}
.sporticonstop {
  width: 100%;
  display: flex;
  justify-content: stretch;
  align-items: center;
}
.sporticonstop a {
  
}
.sporticonstop img {
  /*float:left;*/
  width: 100%;
  max-width:45px;  
}
.sporticonstop span {
  display:none; 
  position:absolute;
  z-index:1;
  background-color: black;
  color:white;
  padding: 5px 0;  
  border-bottom: 1px dotted black;
  border-radius: 6px;
  width:120px;
  margin-top:40px;
  margin-left: -70px;
  text-align:center; 
}
.sporticonstop a:hover span {
  display:inline-block;

}
.sporticonstop span::after {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}
.sporticonstop .hleft span {
  margin-left: -30px;
}  
.sporticonstop .hleft span::after {
  left: 20px;
}  
.sporticonstop .hright span {
  margin-left: -120px;
}  
.sporticonstop .hright span::after {
  left: 100px;
} 
.sporticonstop {
background: url('/wp-content/uploads/Sporticons/Badminton.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Basketball.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Bowling.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Boxen.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Fitnessstudio.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Fuball-A.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Fuball.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/GreyFitness.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Gymnastik.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/HIV.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/IndoorCycling.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/KraftKondition.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Laufen.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/NordicWalking.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Radfahren.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Rckenschule.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Rennradfahren.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Ringen.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Rudern.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Schiesssport.gif') no-repeat -9999px -9999px,                      
              url('/wp-content/uploads/Sporticons/Schwimmen.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Segeln.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/SquareDance.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Squash.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Stretching.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Synchronschwimmen.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Tanzen.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Tennis.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Tischtennis.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Trampolin.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Triathlon.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/TurboFitness.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Volleyball.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Wasserspringen.gif') no-repeat -9999px -9999px,
              url('/wp-content/uploads/Sporticons/Yoga.gif') no-repeat -9999px -9999px;  
}


@media only screen and (max-width: 960px), (max-device-width: 960px) {

  .mobile-menu-one #site-branding {
    width: auto;
  }
  #mobile-header-left-menu {
    position: absolute;
  }
  .sportauswahl {
    display:block;
  }
  #sportartenmenu {
    display:none;
  }
 .site-navigation li.lang-item.menu-item:first-child {
    display:block;
  }
 .site-navigation li.lang-item.menu-item:last-child {
    display:none;
  }
  #header-left-nav > li.lang-item.menu-item > a > span {
    display:inline;
  }
  
}

/**
 *  // SPORTICONS HEADER
 *  
 */
 
body.home .header-widget-2 .textwidget .display-posts-listing li {
  text-align:center;
}    
 
body.single-post .featured-image.full-size img {
  max-width: 300px;
  max-height: 300px;
}
body.single-post .featured-image.full-size .wp-caption.featured {
  max-width: 300px;
  max-height: 320px;
  font-size: 60%;
}
.wp-caption {
  color:#ccc;
  border:0;
  background:none;
}