/*
* 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: #1744a5 url(../images/bg.png); /*repeat-x c7e8fb mainbg.jpg*/
}

/* 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-bottom: 3px solid #88b629; /*2098dd*/
  padding-bottom: 10px;
  margin-top: 15px;
}

.main {
  background: #fff;
  border: #fff solid 2px;
  margin-bottom: 20px;
  min-height: 400px;
}

.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: 0px; /*45px*/
}

.top-image {
  position: absolute;
  background-image: url(../images/background_image.jpg);
  background-repeat: no-repeat;
  background-position: center -90px; /*-54px*/

  width: 100%;
  height: 755px;
  z-index: -999;
}

.language-widget input {
  border: none;
  padding: 12px 14px;
  color: #fff;

  text-shadow: none;

  background: #6697c2;
  background: -moz-linear-gradient(
    top,
    #6697c2 0%,
    #2989d8 100%,
    #207cca 100%,
    #0d3d89 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #6697c2),
    color-stop(100%, #2989d8),
    color-stop(100%, #207cca),
    color-stop(100%, #0d3d89)
  );
  background: -webkit-linear-gradient(
    top,
    #6697c2 0%,
    #2989d8 100%,
    #207cca 100%,
    #0d3d89 100%
  );
  background: -o-linear-gradient(
    top,
    #6697c2 0%,
    #2989d8 100%,
    #207cca 100%,
    #0d3d89 100%
  );
  background: -ms-linear-gradient(
    top,
    #6697c2 0%,
    #2989d8 100%,
    #207cca 100%,
    #0d3d89 100%
  );
  background: linear-gradient(
    to bottom,
    #6697c2 0%,
    #2989d8 100%,
    #207cca 100%,
    #0d3d89 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6697c2', endColorstr='#0d3d89',GradientType=0 );

  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.language-widget input:hover {
  border: none;
  color: #fff;

  background: #5e7db2;
  background: -moz-linear-gradient(
    top,
    #5e7db2 0%,
    #2989d8 100%,
    #207cca 100%,
    #0a2a6b 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #5e7db2),
    color-stop(100%, #2989d8),
    color-stop(100%, #207cca),
    color-stop(100%, #0a2a6b)
  );
  background: -webkit-linear-gradient(
    top,
    #5e7db2 0%,
    #2989d8 100%,
    #207cca 100%,
    #0a2a6b 100%
  );
  background: -o-linear-gradient(
    top,
    #5e7db2 0%,
    #2989d8 100%,
    #207cca 100%,
    #0a2a6b 100%
  );
  background: -ms-linear-gradient(
    top,
    #5e7db2 0%,
    #2989d8 100%,
    #207cca 100%,
    #0a2a6b 100%
  );
  background: linear-gradient(
    to bottom,
    #5e7db2 0%,
    #2989d8 100%,
    #207cca 100%,
    #0a2a6b 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5e7db2', endColorstr='#0a2a6b',GradientType=0 );
}

#langform_en {
  position: absolute;
  bottom: 25px;
  right: 5px;
}

#langform_sv {
  position: absolute;
  bottom: 25px;
  right: 55px;
}

#langform_fi {
  position: absolute;
  bottom: 25px;
  right: 104px;
}

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

/*Header*/

.site-logo {
  margin: -10px 0px 140px -10px;
  background: url(../images/uimaliitto_logo_2021.png) no-repeat; /*logga.png*/
  width: 610px;
  height: 140px;
  text-indent: -9999px;
}

.header {
}

/*Navigation*/

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

.navigation {
  position: absolute;
  background: #88b629; /* 2198dd*/
  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;
  background: #88b629; /*2198dd*/
}

.navigation ul li a {
  display: inline-block;
  line-height: 49px;
  padding: 0 14px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.navigation ul li a:hover,
.navigation ul li.active {
  cursor: pointer;
  background: #4f6918; /*4ba6f4*/
}

/* 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 {
  background: #4f6918; /*4ba6f4 */
}

/* Footer */

.band.footer {
  background: url(../images/mainbg2.jpg) repeat-x; /* url(../images/footer.jpg) repeat-x; */
  height: 210px;
}

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

#footer strong {
  color: #fff; /* #333*/
}
#footer a {
  color: #fff; /* #333*/
}

.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: 230px;
  left: 50%;
  margin-left: 490px;
  width: 195px;
}

.ad1 {
}

.ad2 {
}

/*

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

select.pagesize-list {
  height: 21px;
  width: 55px;
  margin-bottom: 20px;
  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 {
    background: #1744a5;
  }

  .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;
    color: #656565;
  }

  #footer a {
    color: #656565;
  }

  #footer strong {
    color: #656565;
  }

  .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;
  }

  /* 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_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;
  }

  th#club-grid_c3 {
    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; }
*/
