/*
Theme Name:     IF Göta Huvudsite
Theme URI:      http://ifgota.se
Description:    IF Göta Huvudsite
Template:       karlstadstadslopp
Version:        1.0
*/

@import url("../karlstadstadslopp/style.css");

/**
 * Global
 */
a, a:visited {
	color: #b12f2f;
}
a:hover {
	color: #666;
}

/**
 * Topmeny
 */
#menu-sitemenu-1 {
    display: none;
  }

    #menu-sitemenu-1 li:first-child {
      border-bottom: 1px solid #B9B9B9;
    }

    #menu-sitemenu-1 li:last-child {
      border-top: 1px solid #fff;
    }

    #menu-sitemenu-1 li a {
      color: #000;
    }

/**
 * Huvudmeny
 */
nav#main-menu-mobile {
  top: 130px;
}

 nav#main-menu-mobile ul li ul#menu-main-1 {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #B9B9B9;
  }

    nav#main-menu-mobile ul li ul#menu-main-1 > li {
      background: none;
      border-top: 1px solid #fff;
      border-bottom: 1px solid #B9B9B9;
      line-height: 37px;
    }

      nav#main-menu-mobile ul li ul#menu-main-1 > li:first-child {
        border-top: none;
      }

      nav#main-menu-mobile ul li ul#menu-main-1 > li:last-child {
        border-bottom: none;
      }

      nav#main-menu-mobile ul li ul#menu-main-1 > li a, nav#main-menu-mobile ul li ul#menu-main-1 > li a:visited {
        color: #000;
        text-decoration: none;
        display: block;
      }


/**
 * Header
 */
#title {
	background: none;
  height: auto;
}
nav#about {
	background: #b12f2f;
}

#logos {
	width: 250px;
	left: 30px;
}
.home header#top {
  overflow: visible;
}


/**
 * Banner
 */
.bannerwrapper {
	background: url(img/bg_ground.jpg) #000 no-repeat right top;
}

div#anmalan-wrapper {
	background: url(img/bg_anmalan_border.png)
}
section#anmal-dig {
	background-color: #889829;
}
#anmalan-submit {
	background: #990027;
}
	#anmalan-select-open p {
		background: url(img/anmalan_select_dropdown.png) no-repeat top right;
	}

/**
 * Sidebar
 */
.countdown-date {
	font-size: 2.5em;
}

section#puffar .textbild h6 {
	background-color: #990027;
}

/* Kalender */
.type-kalender {
  font-size: .9em;
  margin-bottom: 1.2em;
  border-bottom: 1px solid #E5E2DD;
}
.type-kalender small {
  margin: 0;
  font-size: 0.75em;
}
.type-kalender h3 {
  margin-bottom: 5px;
  font-size: 1.5em;
  font-weight: 100;
  text-transform: none;
}

/* Fotoalbum */
.heading-btn {
  margin-bottom: 20px;
  padding: 10px 0 10px 20px;
  line-height: 18px;
  background: #F2F2F2;
  border-top: 1px solid #B9B9B9;
  border-bottom: 1px solid #B9B9B9;
  font-weight: 100;
}

/**
 * Single
 */
nav.page-children header {
	background: #b12f2f;
}

/**
 * Undermeny
 */
nav.page-children li > a:hover, nav.page-children li.current_page_item > a {
	color: #b12f2f;
}

/* TABLE
--------------------------------------------------------*/
table {
	width: 99.663865546218%;
	border-collapse: collapse;
	margin-bottom: 2em;
}
thead {
	border: 1px solid #052c5b;
}
tbody {
	border: 1px solid #ccd5de;
}
thead td {
	text-align: left;
	color: #fff;
	background: #052c5b;
	white-space: nowrap;
	font-weight: normal;
}
tr {
	border-top: 1px solid #ccd5de;
}
tr:first-child td {
	font-weight: bold;
}
td, th {
	vertical-align: middle;
	padding: .5em .5em;
}
td {
	background: #eff1f5;
}
tbody tr:nth-child(even) td {
	background: #f2f2f2;
}
td {
	border-right: 1px solid #ccd5de;
}
td:last-child {
	border-right: none;
}

.sponsorer-links {
  overflow: hidden;
}

.sponsorer-links ul {
  list-style-type: none;
  margin: 0; padding: 0;
  margin-bottom: 20px;
  width: 33%;
  float: left;
}


@media only screen and (max-width: 1000px) {
  
  header#top {
    background-position: 20% bottom;
  }
  .page header#top, .archive header#top, .single header#top {
    background-position: 20% top;
  }
  .bannerwrapper {
    background-position: 20% top;
  }
  
  .sponsorer-links ul {
    width: 50%;
    float: left;
  }

}

/**
 * Responsive stuff
 */

@media only screen and (max-width: 690px) {
  
  .sponsorer-links ul {
    width: 100;
    float: none;
  }

    #title {
      display: block;
      width: 256px;
    }

    #title-mobile {
      margin-left: 10%;
      width: 204px;
      height: 37px;
      background: url(img/header_title_mobile.png) no-repeat;
      display: none;
    }

    #title-kalvruset, #title-hostpromenaden {
      display: none;
    }

  .bannerwrapper {
    height: 450px;
  }
    #banner {
      position: relative;
      top: -200px;
    }

}

@media only screen and (max-width: 450px) {
 
  header#top {
    background: url(img/header_mobile_background.jpg) #000 no-repeat center bottom;
  }

  .page header#top, .archive header#top, .single header#top {
    background: url(img/header_mobile_background.jpg) no-repeat scroll center top transparent;
    height: 320px;
  }

    #logos {
      width: 300px;
    }

  .bannerwrapper {
    background: #000;
    height: 460px;
  }
    #banner {
      position: relative;
      top: -270px;
    }

}