﻿/*main colors*/
/*typography*/
html, body {
  height: 100%;
  margin: 0;
}

body {
  background-color: #f9fbfe;
  color: #34495E;
}

.container {
  padding: 20px 40px;
}

.fixed {
  position: fixed;
  top: 0;
  width: 100%;
}

.datepicker-container {
  position: relative;
}

.datepicker-container:after {
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  content: "\f073";
  position: absolute;
  right: 8px;
  top: 8px;
}

.hidden {
  display: none !important;
}

h1, h2, h3, h4, h5, a {
  color: #34495e;
}

#footer a {
  color: #fff;
  text-decoration: underline;
}

.btn-primary {
  background-color: #34495e;
  color: #fff;
  border: 2px solid #34495e;
}
.btn-primary:hover {
  background-color: #fff;
  color: #34495e;
  border: 2px solid #34495e;
}

.btn-secondary {
  color: #34495e;
  background-color: #fff;
  border: 2px solid #34495e;
}
.btn-secondary:hover {
  color: #fff;
  background-color: #34495e;
  border: 2px solid #34495e;
}

.badge-primary {
  background-color: #34495e;
}

label {
  display: block;
}

.no-max-width {
  max-width: initial !important;
}

.counter-number {
  position: absolute;
  right: 20px;
  color: #ced4da !important;
}

.col-md-auto {
  max-width: 100%;
}

#sliderlistNumbers {
  display: flex;
  justify-content: space-between;
  margin-top: -25px;
}

input[type=range]:focus {
  border: none;
  box-shadow: none;
  cursor: pointer;
}

#sliderlistNumbers > span {
  width: 40px;
  text-align: center;
}

.lomake > .lomake-kentta {
  margin-bottom: 50px;
}

span#Body_lblOtsikko {
  font-size: 30px;
}

#header {
  background-color: #fff;
  text-align: center;
}
#header .col-12 {
  margin-bottom: 20px;
}
#header .logo {
  max-width: 200px;
}
#header .flags ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#header .flags ul li {
  display: inline-block;
}

#Body_lomake_timer {
  background-color: #fff;
  padding: 20px 40px;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  font-weight: bold;
  text-align: center;
}

#Body_lomake_timer.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
  -webkit-box-shadow: 2px 7px 28px -12px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 7px 28px -12px rgba(0, 0, 0, 0.75);
  box-shadow: 2px 7px 28px -12px rgba(0, 0, 0, 0.75);
}

@media (min-width: 768px) {
  #header {
    text-align: left;
  }
  #header .flags {
    text-align: right;
  }
}
.content-header {
  margin-bottom: 40px;
}

.content-buttons {
  margin-bottom: 40px;
}

#content {
  margin-top: 40px;
  margin-bottom: 40px;
}
#content .container {
  position: relative;
  background-color: #fff;
}

#Body_lomake_formData {
  padding-top: 60px;
}

#Body_lomake_timer {
  background-color: #fff;
  padding: 20px 40px;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  font-weight: bold;
  text-align: center;
}

#Body_lomake_timer.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
  -webkit-box-shadow: 2px 7px 28px -12px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 7px 28px -12px rgba(0, 0, 0, 0.75);
  box-shadow: 2px 7px 28px -12px rgba(0, 0, 0, 0.75);
}

#Body_lomake_btnRemove {
  margin-top: 20px;
}

.tapahtumalistaesine {
  margin-bottom: 40px;
}

.tapahtumalistaus .tapahtuma {
  margin-bottom: 20px;
}

.hakuehdot {
  margin-bottom: 40px;
}

.tapahtuma-yhteistyokumppanit img {
  width: 100%;
  height: auto;
}

.tapahtumalista-header {
  display: inline-block;
}

.ul-yhteistyokumppanit img {
  width: 150px;
}

.otsikolliset-yhteistyokumppanit {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}

.mycheckbox input, .mycheckbox label, .myradio input, .myradio label {
  display: inline-block;
  margin-left: 10px;
}

.otsikolliset-yhteistyokumppanit img {
  width: 100%;
  height: auto;
  padding-top: 15px;
}

.otsikolliset-yhteistyokumppanit .yk-title {
  color: black !important;
}

.tapahtuma_kuva {
  margin-bottom: 20px;
}

.tapahtuma_kuva img {
  width: 100%;
  height: auto;
}

/*media queries*/
@media (min-width: 1200px) {
  .container {
    max-width: 1050px;
  }
}
@media (min-width: 768px) {
  .tapahtumakalenteri {
    padding: 40px;
  }
}
.centered {
  text-align: center;
}

#footer {
  color: #fff;
  background: #000;
}
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5 {
  color: #fff;
}
