/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/

/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */

body {
  background: #ecebeb;
}

/* set img max-width */
img {
  max-width: 90%;
  height: auto;
}
/* ie 8 img max-width */
@media \0screen {
  img {
    width: auto;
  }
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

hr {
  margin-bottom: 5px;
}

.h3-sidebar {
  border: 1px solid #e6e6e6;
  border-radius: 6px 0px 6px 0px;
  background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#eee), to(#fff));
  background-image: -webkit-linear-gradient(bottom, #eee 0%, #fff 100%);
  background-image: -moz-linear-gradient(bottom, #eee 0%, #fff 100%);
  background-image: -o-linear-gradient(bottom, #eee 0%, #fff 100%);
  background-image: linear-gradient(bottom, #eee 0%, #fff 100%);
  text-indent: 10px;
  padding: 3px 0 3px 0;
  margin-bottom: 15px;
  font-size: 13px;
}

.news-header {
  border: 1px solid #e6e6e6;
  border-radius: 6px 0px 6px 0px;
  background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#eee), to(#fff));
  background-image: -webkit-linear-gradient(bottom, #eee 0%, #fff 100%);
  background-image: -moz-linear-gradient(bottom, #eee 0%, #fff 100%);
  background-image: -o-linear-gradient(bottom, #eee 0%, #fff 100%);
  background-image: linear-gradient(bottom, #eee 0%, #fff 100%);
  text-indent: 10px;
  padding: 3px 0 3px 0;
  margin-bottom: 15px;
}

.main {
  background: #fff;
  border: #fff solid 2px;
  margin-bottom: 20px;
  min-height: 400px;
  -webkit-box-shadow: 1px -1px 10px #b8b8b8;
  -moz-box-shadow: 1px -1px 10px #b8b8b8;
  box-shadow: 1px -1px 10px #b8b8b8;
}

.shadow {
  -webkit-box-shadow: 0px 0px 10px 4px #676767;
  box-shadow: 0px 0px 10px 4px #676767;
}

.topmenu {
  /*position: absolute;
	background:url(../images/topmenu.png) repeat-x bottom;
	width: 100%;
	height: 45px;
	*/
}

.intro-img {
  margin-top: 10px;
}

.language-widget input {
  padding: 10px;
  color: #000;
  border: 1px solid #e6e6e6;
  border-radius: 0px 0px 3px 3px;
  background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#eee), to(#fff));
  background-image: -webkit-linear-gradient(bottom, #eee 0%, #fff 100%);
  background-image: -moz-linear-gradient(bottom, #eee 0%, #fff 100%);
  background-image: -o-linear-gradient(bottom, #eee 0%, #fff 100%);
  background-image: linear-gradient(bottom, #eee 0%, #fff 100%);
  text-shadow: none;
}

.language-widget input:hover {
  color: #000;
  border: 1px solid #e6e6e6;
  border-radius: 0px 0px 3px 3px;
  background-image: -webkit-gradient(
    linear,
    0 100%,
    0 0,
    from(#eee),
    to(#f5f5f5)
  );
  background-image: -webkit-linear-gradient(bottom, #eee 0%, #f5f5f5 100%);
  background-image: -moz-linear-gradient(bottom, #eee 0%, #f5f5f5 100%);
  background-image: -o-linear-gradient(bottom, #eee 0%, #f5f5f5 100%);
  background-image: linear-gradient(bottom, #eee 0%, #f5f5f5 100%);
  text-shadow: none;
}

#langform_en {
  position: absolute;
  top: -5px;
  right: 5px;
}

#langform_sv {
  position: absolute;
  top: -5px;
  right: 45px;
}

.language-widget select {
  width: 100px;
}

/*Header*/

.site-logo {
  margin: 20px 0 50px 0;
}

.header {
}

/*Navigation*/

.navigation ul,
.navigation ul li {
  margin: 0px;
}

.navigation {
  position: absolute;
  width: 100%;
  bottom: 0;
}

ul.nav {
  width: auto;
}

.navigation ul {
  margin-left: -10px;
}

.navigation select {
  display: none;
  width: 100%;
  height: 28px;
  margin: 20px 0;
}

.navigation ul li {
  display: inline;
  float: left;
  position: relative;
}

.navigation ul li a {
  display: inline-block;
  padding: 0 8px;
  color: #012d33;
  text-decoration: none;
  font-family: "avantbold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.navigation ul li a:hover,
.navigation ul li.active {
  cursor: pointer;
}

/* sub menu*/

.navigation ul ul {
  opacity: 0;
  filter: alpha(opacity=0);

  position: absolute;
  z-index: 999;
  height: 0px;
  overflow: hidden;
  left: 10px;
  min-width: 100%;

  -webkit-transition: opacity 0.4s ease-out;
  -moz-transition: opacity 0.4s ease-out;
  -o-transition: opacity 0.4s ease-out;
  -ms-transition: opacity 0.4s ease-out;
  transition: opacity 0.4s ease-out;

  -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.navigation ul li span {
  display: none;
}

.navigation ul li:hover ul {
  opacity: 10;
  filter: alpha(opacity=100);

  height: auto;
  overflow: auto;
}

.navigation ul ul li {
  float: none;
  display: list-item;
  border-bottom: 1px solid #1982bf;
}

.navigation ul ul li a {
  display: block;
  line-height: 35px;
  text-transform: none;
}

.navigation ul li:hover > a {
}

/* Footer */

.band.footer {
  height: 210px;
}

#footer {
  padding-top: 60px;
  color: #333;
  margin-top: 60px;
}

.footer-left {
  float: left;
  margin-left: 20px;
}
.footer-left2 {
  float: left;
}
.footer-left3 {
  float: left;
  margin-left: 20px;
}

/* Make footer stick at bottom */
html,
body {
  height: 100%;
}

.wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -210px;
}
.footer,
.push {
  height: 210px;
}

/* Ads */

#ads {
  position: absolute;
  top: 181px;
  left: 50%;
  margin-left: 490px;
  width: 195px;
}

.ad1 {
}

.ad2 {
}

/*

*/
/* #Page Styles
================================================== */

select.pagesize-list {
  height: 21px;
  width: 55px;
  margin-bottom: 0px;
  padding: 0px;
}

.buttons {
  float: left;
}

.buttons2 {
  float: left;
  margin-top: 10px;
}

.GoogleLikeForms select {
  height: 28px;
  margin-top: 7px;
}

input[type="text"].year-search {
  width: 40px;
  float: left;
}

input.betweendate {
  width: 90px;
  float: left;
}

.mobile-info {
  display: none;
}

/* #Media Queries
================================================== */

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
  input.betweendate {
    width: 80px;
    padding-left: 5px !important;
  }

  #ads {
    display: none;
  }

  .navigation {
    font-size: 13px;
  }

  .mobile-hide-big {
    display: none;
  }

  .button-column {
    display: none;
  }
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
  body {
    background: #fff;
  }

  h2 {
    font-size: 25px;
  }

  .mobile-container {
    width: 425px;
    margin: 0 auto;
    overflow: hidden;
  }

  .mobile-chart {
    margin-bottom: 10px;
  }

  .top-image {
    background: none;
  }

  .columns {
    padding: 0;
  }

  .band.top {
    padding-top: 20px;
  }

  .navigation {
    position: absolute;
    top: 0;
    right: 0;
    width: 135px;
    background: none;
  }

  .navigation select {
    width: 130px;
    height: 25px;
  }

  .container.main {
    margin: 0px;
    width: auto;
  }

  .greyband {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .topmenu {
    background: none;
  }

  .site-logo {
    background: none;
    text-indent: 0px;
    height: auto;
    width: auto;
    margin: 0;
  }

  .site-logo h1 {
    font-size: 25px;
    color: #e9e9e9;
  }

  .language-widget {
    display: none;
  }

  #pdf_button {
    display: none;
  }

  .container {
    background: none;
  }

  .container.main {
    background: none;
    border: none;
    margin-bottom: 0px;
    padding: 0px;
  }

  .margin-top {
    min-height: 150px;
  }

  .band.footer {
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    height: auto;
    padding-bottom: 40px;
  }

  #footer {
    margin-top: -20px !important;
    min-height: 190px;
  }

  .footer-left {
    margin-left: 0px;
  }

  .wrapper {
    min-height: auto;
    height: auto;
    margin: 0;
  }
  .footer,
  .push {
    height: auto;
  }

  .mobile-hide {
    display: none;
  }

  .navigation select {
    display: block;
  }
  .navigation ul {
    display: none;
  }
  .columns {
    padding: 0 5px 5px 5px;
  }

  /* Hide table-columns */

  td.mobile-hide {
    display: none;
  }

  /*Simmare-licens*/
  th#swimmer-grid_c2 {
    display: none;
  }

  /*Resultat-club*/
  th#result-grid_c4 {
    display: none;
  }
  th#result-grid_c5 {
    display: none;
  }

  /*Tävlingar-organizer*/
  th#competition-grid_c2 {
    display: none;
  }

  /*Föreningsbyten-licens*/
  th#change-club-grid_c3 {
    display: none;
  }
  th#change-club-grid_c4 {
    display: none;
  }

  /*Föreningsbyten2-licens*/
  th#swimmer-history-grid_c3 {
    display: none;
  }
  th#swimmer-history-grid_c4 {
    display: none;
  }

  /*Tävlingar_view*/
  th#competitionview-grid_c3 {
    display: none;
  }

  /*Lower label topmargin*/
  select {
    margin-bottom: 0px;
  }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  /* Rekord*/
  th#record-grid_c2,
  th#record-grid_c3,
  th#record-grid_c4,
  th#record-grid_c6 {
    display: none;
  }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
  .mobile-container {
    width: 304px;
    margin: 0 auto;
    overflow: hidden;
  }

  .footer-left {
    float: left;
    margin-left: 0px;
    margin-top: -20px;
  }
  .footer-left3 {
    float: left;
    margin-left: 0px;
    margin-top: 10px;
  }

  /* Hide table-columns */

  .mobile-chart {
    display: none;
  }

  .mobile-info {
    display: inline;
  }

  td.mobile-hide-small {
    display: none;
  }

  /*Simmare-club*/
  th#swimmer-grid_c4 {
    display: none;
  }

  /*Resultat-club*/
  th#result-grid_c3 {
    display: none;
  }
  th#result-grid_c8 {
    display: none;
  }
  th#result-grid_c9 {
    display: none;
  }
  th#result-grid_c10 {
    display: none;
  }
  th#result-grid_c11 {
    display: none;
  }

  /* Rekord*/
  th#record-grid_c2,
  th#record-grid_c3,
  th#record-grid_c4,
  th#record-grid_c6 {
    display: none;
  }

  /*Tävlingar-organizer*/
  th#competition-grid_c1 {
    display: none;
  }

  /*föreningar-shortname*/
  th#club-grid_c1 {
    display: none;
  }

  /*Föreningsbyten-*/
  th#change-club-grid_c5 {
    display: none;
  }

  /*Föreningsbyten2-*/
  th#swimmer-history-grid_c5 {
    display: none;
  }

  /*Tävlingar_view*/
  th#competitionview-grid_c4 {
    display: none;
  }

  /*Simmare_view*/
  th#swimmerview-grid_c2 {
    display: none;
  }
  th#swimmerviewlong-grid_c2 {
    display: none;
  }
  th#swimmerviewyard-grid_c2 {
    display: none;
  }
  th#distance-grid_c3 {
    display: none;
  }
}

/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/
