@import url(https://fonts.googleapis.com/css?family=Abel:400);

body {
  background-color: #fff; 
  background-image: url("../images/taust.jpg"); 
  background-repeat: no-repeat; 
  background-position: top;
  background-attachment: fixed;       
  webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; 
}

html {
  height:100%;
  width:100%
}

input, select {
  border-radius: 0px !important;
}

.mobile-view-header {
   display: none;
   text-align: center;
}

.mobile-view-header a img{
  width: 19%;
  margin: 0 20px 0 20px;
} 

.container-back {
  margin-left: 0px;
}

.registration-success {
  color: green;
  padding: 5px;
}

.required {
  color: red;
  margin-left: 5px;
}

.checkbox {
  margin-top: 10px !important;
  width: 20px;
}

.form-inputs-stacked {
  margin-top: 15px;
}

.table-small {
  font-size: 80%
}

.form-label-subtext {
  font-style: italic;
  font-size: 90%;
}

.subtext-warning {
  color: #CA0000;
}

.pageContainer {
  width: 1300px;
  margin: 0 auto;
  padding-top: 25px;
  background-color: rgba(222, 222, 222, 0.6);
}

.centerImages {
  max-width: 100%;
}

.col-md-2 {
  margin-right: -7px;
}

.primary-sponsors {
  background-color: none;
  text-align: center;
}

.primary-sponsors img {
  width: 120px;
  margin: 10px 0px 40px 0px;
  text-align: center;
}

.right-links-container {
  text-align: center;
  width: 150px;
}

.right-links-container a img {
  margin-top: 30px;
  width: 80%;
  text-align: center;
}

.template img {
  width: 100%;
  text-align: center;
}

.secondary-sponsors, .koostoo-sponsors {
  text-align: center;
}

.secondary-sponsors {
  margin-left: 0px;
}

.secondary-sponsors img {
  width: 90px;
  margin: 10px 20px 10px 20px;
}

.koostoo-sponsors img {
  height: 75%;
  width: 75%;
  margin: 10px 20px 10px 20px;
}

.koostoo-sponsor-container {
  width: 200px;
  height: 100px;
  float: left;
  margin: 10px 20px 30px 20px;
}

.img-table td {
  padding: 10px;
}

.logo-container {
  float: center;
}

.logo {
  height: 170px;
  margin-left:20px;
  margin-bottom:20px;
  text-align: center;
}

.languages-container {
  float: center;
  margin: 10px 20px 30px 20px;
  margin-bottom: 10px;
}

.languages {
  margin-top: 8px;
  height: 30px;
  margin-right: 3px;
  margin-left: 3px;
  float: left;
}

.languages img {
  width: 80% ;
}

.dates-container {
  float: center;
}

.dates {
  width: 850px;
}

.menu-container {
  margin-top: 55px;
}

.main-menu li {
  font-family: 'Abel', bold;
  font-weight: 400;
  font-size: 1.405em;
  cursor: pointer;
}

.main-menu li a {
  color: black;
}

.menu-container .mainMenuActive {
  background-color: #F6F7F8;
}

.nav-pills>li>a {
  border-radius: 0;
}

.right-column {
  margin-left: -7px;
}

.page-content {
  background-color: #F6F7F8;
  min-height: 750px;
  max-width: 852px;
}

.page-content .content {
    font-family: 'Trebuchet MS';
  padding: 10px;
}

.table {
  background-color: #e9f7f5;
  width: 800px;
  padding: 10px;
  font-size: 0.9em;
}

.table-rekordid {
  background-color: #E6F4FF;
  width: 800px;
  padding: 10px;
  font-size: 0.7em;
	}

.table-tulemused {
  background-color: #E6F4FF;
  width: 800px;
  padding: 10px;
  font-size: 0.7em;
}

.submenu {
  background-color: #E0E0E0;
  font-family: 'Abel';
  font-weight: 400;
  font-size: 1.29em;
  list-style-type: none;
  height: 45px;
  padding: 0;
}

.submenu li {
  float: left;
  padding: 10px 20px 10px 20px;
}

.submenu li a {
  text-decoration: none;
  color: black;
  width: 100%;
  height: 100%;
}

.submenu li:hover {
  background-color: #F6F7F8;
  cursor: pointer;
}

.submenu .active {
  background-color: #F6F7F8;
}

.languageImage {
  text-align: center;
}

@media (max-width: 991px) {
  .primary-sponsors, .right-column, .secondary-sponsors, .dates-container  {
    display: none;
  }

  .mobile-view-header {
    display: block;
  }

  .mobile-view-header a img {
    width: 10%;
  }

  .pageContainer {
    margin: 0 auto;
    margin-top: 25px;
  }

  .logo {
    display: none;
  }

  .pageContainer {
    width: 880px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1.7em; /* scale all text by 20% */
  }

  .pageContainer {
    width: 767px;
  }

  input,
  select,
  textarea,
  button {
    font-size: 1.7em;   /* scale form controls' text */
    padding: 0.6em;     /* optional: make them feel bigger */
    max-width: 766px;
  }
}
