/*
Theme Name: VfB-Kuerten Theme
Theme URI: http://themes.florianotten.de/sportstheme/
Author: Florian Otten
Author URI: http://florianotten.de/
Description: Dieses Theme wurde 2016 speziell fuer den VfB Kuerten angefertigt.
Version: 1.1

*/

body{
    z-index: 1;
    margin: 0;
    padding: 0;
    font-family: "Lato", "Arial", sans-serif;
  background-color: #e5e5e3;
}

.row{
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.small,
.big{
    overflow: hidden;
}

.deselect ::selection {
    background: transparent;
    color: inherit;
}
.deselect ::-moz-selection {
    background: transparent;
    color: inherit;
}
.deselect {
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

blockquote{
    background-color: #dde;
    color: #324b91;
    padding: 0.5em;
    font-size: 1.1em;
    text-align: center;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

hr{
    padding: 0;
    margin: 0.5em;
    border: none;
    clear: both;
}

@media screen and (max-width: 450px){
  .row.small{
    padding: 0;
  }
  .row{
    padding: 0 1em;
  }
}

/*header*/

#sports-header{
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    right: 0;
    background-color: #324b91;
}

#sports-header .title{
    display: inline-block;
}

#sports-header .sports-menu,
#sports-header .logo{
    float: right;
}

#sports-header a{
    color: #efe;
    text-decoration: none;
}

#sports-header .title span{
    font-size: 1.6rem;
    line-height: 3rem;
}

#sports-header .title p{
    font-size: 1rem;
    margin: 0em;
    max-width: 12.5em;
}

#sports-header .custom-logo{
    height: 6.5rem;
    margin: 0.5rem 0;
    width: auto;
}

#sports-header .small,
#sports-header.not-top .big{
    height: 0;
}

#sports-header .big,
#sports-header.not-top .small{
    height: 100%;
}

@media screen and (max-width: 900px){
  #sports-header .big{
    height: 0px;
  }
  #sports-header .small{
    height: 100%;
  }
}

@media screen and (max-width: 600px){
  #sports-header.not-top{
    top: 0 !important;
  }
}

@media screen and (max-width: 450px){
  #sports-header .big{
    display: none;
  }
}

/*menu*/

.sports-menu{
  font-size: 1.2em;
}

.sports-menu a{
  display: block;
  text-decoration: none;
  color: #000;
}

.sports-menu ul,
.sports-menu li{
  margin: 0;
  padding: 0;
}

.sports-menu li{
  list-style: none;
}

.sports-menu nav{
  max-height: 0px;
  overflow: hidden;
  transition: max-height 1500ms;
  background-color: #fff;
  width: 100%;
}

.sports-menu nav.active{
  max-height: 4000px;
  overflow: hidden;
  transition: max-height 7000ms;
}

.sports-menu > a{
    background-color: #324b91;
    color: #efe;
    font-size: 1.6rem;
    line-height: 3rem;
}

.sports-menu > a > span{
    padding: 0 1rem;
}

.menu-btn{
    float: right;
    position: relative;
    width: 1.75rem;
    height: 1.75rem;
    margin: 0.625rem 0.625rem 0.625rem 0rem;
}

.menu-btn:before,
.menu-btn:after,
.menu-btn span{
    content: '';
    position: absolute;
    display: block;
    height: 0.25rem;
    width: 100%;
    background-color: #efe;
    border-radius: 0.125rem;
    transition: transform 1000ms;
}

.menu-btn span{
    top: 50%;
    margin-top: -0.125rem;
    transform-origin: center;
}

.menu-btn:before{
    top: 0;
    transform-origin: 0.125rem 0.125rem;
}

.menu-btn:after{
    bottom: 0;
    transform-origin: 0.125rem 0.125rem;
}

.menu-btn.active:before{
    transform: rotate(45deg) scalex(1.41);
}

.menu-btn.active:after{
    transform: rotate(-45deg) scalex(1.41);
}

.menu-btn.active span{
    transform: scalex(0);
}

#menu-hauptmenue img{
  width: 1.5em;
  height: auto;
  margin-left: -2em;
}

#menu-hauptmenue li a{
  display: block;
  line-height: 1.5em;
  padding: 0.5em 1em 0.5em 3em;
  color: #324b91;
}

#menu-hauptmenue .menu-item{
  border-bottom: 1px solid #ddd;
}

#menu-hauptmenue .menu-item:last-of-type{
  border-bottom: none;;
}

.menu-item-has-children a{
  margin-right: 0em;
}

.menu-item-has-children ul{
  max-height: 0px;
  overflow: hidden;
  transition: max-height 1500ms;
  clear: both;
}

.menu-item-has-children ul li{
  border-bottom: none !important;
  border-top: 1px solid #e3e3e3;
  background-color: #eaeaee;
}

.menu-item-has-children ul li:hover{
  background-color: #eeeeae;
}

.menu-item-has-children.active ul{
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 2000ms;
}

.nav-more{
  float: right;
  height: 2.5em;
  width: 2.5em;
  margin-right: 0 !important;
  padding: 0em !important;
  background-image: url(./img/arrow.svg);
  background-size: 40%;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(90deg);
  transition: transform 500ms;
}

.menu-item-has-children.active .nav-more{
  transform: rotate(270deg);
  transition: transform 500ms;
}

#menu-hauptmenue .sports li *{
  margin: 0;
  padding: 0;
}

#menu-hauptmenue .sports li{
    float: left;
    width: 33.333333333%;
    height: 6.5rem;
    text-align: center;
    box-sizing: border-box;
    border-right: 1px solid #e3e3e3;
}

#menu-hauptmenue .sports li:nth-of-type(3n){
  border-right: none;
}

#menu-hauptmenue .sports li img{
  display: block;
  margin: 7% auto;
    height: 3rem;
    width: auto;
}

#menu-hauptmenue .sports li a{

}

#menu-hauptmenue .sports li span{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30%;
    line-height: 1.1rem;
}

#menu-hauptmenue .sports li span{
    font-size: 0.75em;
}

/*breadcrumb*/

.breadcrumb{
  line-height: 3em;
  padding-left: 1rem;
}

.breadcrumb a,
.breadcrumb span{
  text-decoration: none;
  color: #000;
  margin: 0 0.5em;
}

.breadcrumb :first-child{
  margin-left: 0;
}

.breadcrumb a:hover{
  text-decoration: underline;
}

/*content*/

#sports-content{
  padding-bottom: 2rem;
}

#sports-content:after{
  content: '';
  display: block;
  clear: both;
}

#sports-content .archive{
  float: left;
  width: calc(100% - 20rem);
}

header.start-page,
footer.start-page{
  width: 100%;
  float: left;
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1.5rem;
}

header.start-page h3{
  margin: 0 0em 0.75em 0em;
  font-weight: normal;
}

@media screen and (max-width: 900px){
  #sports-content .archive{
    width: 100%;
    float: none;
  }
}

/*controls*/

.more-btn,
input[type="submit"]{
  float: right;
  text-decoration: none;
  color: #fff;
  border: 1px solid #324b91;
  background-color: #324b91;
  padding: 0.2em 1em;
  margin: 0.5em 0em;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 1px 1px 3px #324b91;
}

.more-btn:hover,
input[type="submit"]:hover{
  background-color: #ffe830;
  color: #324b91;
}

.widget .more-btn,
.widget input[type="submit"]{
  margin: 0.5em 0;
}

.more-lnk{
  float: right;
  text-decoration: none;
  font-weight: bold;
  padding: 0.3em 1em;
  margin: 0.5em 0em;
}

.more-lnk:hover{
  background-color: #324b91;
  color: #fff;
}

/*content-article*/

article{
  background-color: #fff;
  width: calc(100% - 1.5em);
  float: left;
  margin-bottom: 1.5em;
  box-sizing: border-box;
  padding: 1em;
}

.sports-excerpt{
  width: calc(50% - 1.5em);
}

.sports-excerpt{
  margin-right: 1.5em !important;
}

.sports-excerpt img{
  float: left;
  margin: 0 1em 0.5em 0em;
}

@media screen and (max-width: 450px){
  .sports-excerpt{
    width: calc(100%);
    height: auto !important;
  }

  .sports-excerpt img{
    float: none;
    margin: 0 0 0.5em 0;
  }
}

@media screen and (max-width: 900px){
  .sports-article{
    width: calc(100%);
  }
}

/*content-article-content*/

article header a{
  text-decoration: none;
  color: #000;
}

article .content h1,
article .content h2,
article .content h3,
article .content h4,
article .content h5,
article .content h6{
  clear: both;
}

article header h1,
article header h2{
  margin: 0;
  margin-bottom: 1em;
  font-size: 1.5em;
  color: #333;
}

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

  article header h1,
  article header h2{
    font-size: 1.2em;
  }
}

article .content h1,
article .content h2{
  margin: 1.5em 0 0.5em;
  font-size: 1.3em;
  font-weight: normal;
  color: #324b91;
}

article .content h3,
article .content h4,
article .content h5,
article .content h6{
  margin: 0.75em 0em 0.25em;
}

article .content h3,
article .content h5{
  color: #324b91;
}

article .content h4,
article .content h6{
  color: #000;
}

article .content h3,
article .content h4{
  font-size: 1em;
  font-weight: bold;
}

article .content h5,
article .content h6{
  font-size: 0.85em;
  font-weight: bold;
}

p{
  margin: 0.5em 0;
}

article a{
  color: #324b91;
}

article *{
  max-width: 100%;
}

article table{
  overflow-x: auto;
  overflow-y: visible;
}

article img{
  max-width: 100%;
  height: auto;
}

article pre{
  overflow-x: auto;
  padding: 1em;
  border: 1px solid #999;
  background-color: #eee;
}

article .alignleft,
article .alignright{
  max-width: 50%;
}

article .alignleft{
  float: left;
  margin: 0.5em 1em 0.5em 0em;
}

article .alignright{
  float: right;
  margin: 0.5em 0em 0.5em 1em;
}

article .aligncenter{
  display: block;
  margin: 0.5em auto;
}

article header{
  position: relative;
  padding-right: 2em;
}

article header img,
article header .event-icon{
    position: absolute;
    right: 0;
    height: 1.75em;
    line-height: 1.75em;
    width: auto;
}

article header .event-icon{
  display: inline-block;
  width: 1.8em;
  padding: 0 0em;
  font-weight:bold;
  font-size: 1em;
  line-height: 2.25em;
  text-align: center;
  
  background-image: url('./img/event.png');
  background-size: auto 100%;
  background-position: 0 0%;
  background-repeat: no-repeat;
}

article h1 span:after,
article h2 span:after{
  content: ' - ';
}

/*content-gallery*/

.gallery img{
  border: 1px solid #aaa !important;
  box-shadow: 2px 2px 6px #aaa;
}

.gallery-item{
  box-sizing: border-box;
  padding: 5px;
}

/*content-forms*/

form{
  width: 100%;
  max-width: 35em;
  margin: auto;
}

input,
textarea{
  padding: 0.2em 1em;
  box-sizing: border-box;
  font-size: 1em;
  width: 100%;
  margin: 0.5em 0;
}

input[type="submit"]{
  width: auto;
}


/*table*/

article table{
  width: 100%;
  border-collapse: collapse;
}

article th{
  padding: 0.6em 1em;
  border-top: 1px solid #e5e5e3;
  text-align: left;
}

.sports-article tr:nth-child(2n){
    background-color: #e5e5e3;
}

.sports-excerpt tr:nth-child(2n+1){
    background-color: #e5e5e3;
}

article td{
  vertical-align: center;
  padding: 0.4em 1em;
  line-height: 1.2em;
}


/*content-aside*/

#sports-aside{
  width: 20rem;
  float: right;
}

#sports-aside > ul{
  margin: 0;
  padding: 0;
}

#sports-aside > ul > li{
  margin: 1.5em 0;
  padding: 0 1em;
  list-style: none;
}

.widget{
  background-color: #fff;
}

.widget:after{
  content: '';
  display: block;
  clear: both;
}

.widgettitle{
  color: #324b91;
  font-weight: normal;
  padding: 0.2em 0;
  margin: 0;
  font-size: 1.5rem;
}

@media screen and (max-width: 900px){
  #sports-aside{
    clear: both;
    float: none;
    width: 100%;
    padding-top: 3rem;
  }
}

@media screen and (max-width: 450px){
  #social-menu{
    margin: 0 1em;
  }
}

.widget ul,
.widget li{
  margin: 0;
  padding: 0;
}

.widget ul li{
  list-style: none;
  margin-bottom: 0.5em;
}

.events_date{
  color: #555;
  margin-right: 0.5em;
}

.events_name{
  color: #324b91;
  text-decoration: none;
  margin: 0 0.5em;
}

.formError,
.formError *{
  position: static !important;
}

#menu-soziale-netzwerke,
#menu-soziale-netzwerke{
  margin: 0;
  padding: 0;
}

#menu-soziale-netzwerke li{
  list-style: none;
  float: left;
  margin-right: 1em;
}

#menu-soziale-netzwerke img{
  width: 48px;
  height: 48px
}

#menu-soziale-netzwerke span{
  display: none;
}

/*footer*/

#sports-footer{
  background-color: #e5e5e3;
}

/*footer-sports*/

#sports-footer .sports *{
  margin: 0;
  padding: 0;
}

#sports-footer .sports a{
  text-decoration: none;
  color: #000;
}

#sports-footer .sports{
    position: fixed;
    z-index: 8;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffe830;
    text-align: center;
}

#sports-footer .sports ul{
    display: inline-block;
}

#sports-footer .sports li{
    list-style: none;
    float: left;
    height: 4.5em;
    width: 5.5em;
    margin: 0.25em;
}

#sports-footer .sports li p{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30%;
    font-weight: bold;
}

#sports-footer .sports li span{
    font-size: 0.8em;
}

#sports-footer .sports img{
    display: block;
    margin: 5% auto;
    height: 56%;
    width: auto;
}

.sports-arrow{
  display: block;
  position: absolute;
  width: 3em;
  height: 100%;
  background-image: url(./img/arrow.svg);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

#sports-left{
  left: 0;
  bottom: 0;
  transform: scale(-1);
}

#sports-right{
  right: 0;
  bottom: 0;
}

@media screen and (max-width: 450px){
  #sports-footer .sports{
    font-size: 0.65em;
  }
}

/*footer-partners*/

#sports-footer .partners ul:after{
    content: '';
    display: block;
    clear: both;
}

#sports-footer .partners li{
  list-style: none;
    float: left;
    width: 25%;
    height: 10em;
    margin: 0.5em 0;
    text-align: center;
}

#sports-footer .partners a{
    display: block;
    height: 100%;
    width: 100%;
    line-height: 10em;
}

#sports-footer .partners a span{
    display: none;
}

#sports-footer .partners img{
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 85%;
}

@media screen and (max-width: 600px){
  #sports-footer .partners li{
    width: 50%;
  }
}

@media screen and (max-width: 450px){
  #sports-footer .partners li{
    width: 100%;
  }
}

/*footer-links*/

#sports-footer .links li{
  list-style: none;
}

#sports-footer .links ul{
  margin: 0;
  padding: 0;
}

#sports-footer .links{
  background-color: #333;
}

#sports-footer .links,
#sports-footer .links a{
  color: #bcb;
  text-decoration: none;
}

#sports-footer .links ul{
    float: right;
}

#sports-footer .links .row > span,
#sports-footer .links li{
    float: left;
    line-height: 2em;
}

#sports-footer .links li{
    margin-left: 2em;
}

#sports-footer .links img{
    height: 1.4em;
    padding-right: 0.5em;
}

#sports-footer .links:after,
#sports-footer .links .menu-footer-menue-container:after{
    content: '';
    display: block;
    clear: both;
}

#sports-footer .links a:hover{
    text-decoration: underline;
}

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

  #sports-footer .links .row{
    text-align: center;
  }

  #sports-footer .links .row > *{
    float: none !important;
    display: inline-block;
    margin: 0 auto;
  }

  #sports-footer .links .menu-footer-menue-container{
    border-top: 1px solid;
  }

  #sports-footer .links li{
    margin: 0.2em 1em;
  }
}

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

  #sports-footer .links .menu-footer-menue-container{
    width: 100%;
  }

  #sports-footer .links ul,
  #sports-footer .links .row > span{
    float: none;
  }

  #sports-footer .links li{
    display: block;
    width: 100%;
  }

}