html,body,h1,h2,h3,h4,h5,h6 {font-family: "Roboto", sans-serif}
body {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-image: url(../img/mlybslhm.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}
* {
  box-sizing: border-box;
}
.container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.cards{
  width:300px;
  margin: 10px;
}
.card-img-top-ico{
  width: 50%;
  margin: auto;
  padding: 1em 0 0 0;
}
.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: .25rem;
  min-height: 26em;
}
.card-upper-content {
    min-height: 7em;
}
.card-title {
  margin-bottom: .75rem
}
.card-text:last-c83hild {
  margin-bottom: 0
}
.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}
h5 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
    margin-top: 0;
}
.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.btn-primary {
    min-width: 90%;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    width: 100%;
}
a {
    /*color: #007bff;*/
    text-decoration: none;
    background-color: transparent;
}
.btn-secondary {
    margin-top: 1em;
    width: 100%;
}
/***************************** Overlay *************************/


.openBtn {
  background: #f1f1f1;
  border: none;
  padding: 10px 15px;
  font-size: 20px;
  cursor: pointer;
}

.openBtn:hover {
  background: #bbb;
}

.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
}

.overlay-content {
  position: relative;
  top: 50px;
  /*width: 80%;*/
  /*text-align: center;*/
  margin-top: 30px;
  margin: auto;
  overflow: auto;
  height:100%;
}

.overlay .closebtn {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 60px;
    cursor: pointer;
    color: #f0bebe;
    z-index: 1000;
}

.overlay .closebtn:hover {
  color: #ccc;
}

.overlay input[type=text] {
  padding: 15px;
  font-size: 17px;
  border: none;
  float: left;
  width: 80%;
  background: white;
}

.overlay input[type=text]:hover {
  background: #f1f1f1;
}

.overlay button {
  float: left;
  width: 20%;
  padding: 15px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

.overlay button:hover {
  background: #bbb;
}
.embed-container {
    width:100em;
    margin:0 auto;
    text-align:center;
}
.embed-container embed {
    width: 70em;
    height: 56em;
}
#Overlay {
    font-family: "lora", serif;
    font-size:16px;
}
#Overlay .w3-container{
    /*padding: 0 5em;*/
}
#Overlay .header_openap{
    text-align:center;
    margin-top: 2em;
}
#Overlay .header_inf {
    margin-top:.3em;
}

#Overlay .title_openap{
    font-size:25px;
    font-weight:600;
}
#Overlay a, #Overlay2 a {
    color: dodgerblue;
}
#Overlay footer a {
    color: #fff;
    font-size: 20px;
    padding: 4px;
}
#Overlay .stretch {
    height:3em;
}
#Overlay .openap-date{
    text-align: right;
    width:100%;
}
/*****************lang toggle*****************/
.langs {
    float: left;
    position: absolute;
    right: 14%;
    top: 10px;
    color: #fff;
}
.langs .lbl-left {
    float: left;
    padding: 6px;
}
.langs .lbl-right {
    float: right;
    padding: 6px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
.lang_en {
    display:block;
}
.lang_fi {
    display:none;
}
@media only screen and (max-width: 768px) {
    html{
        height:100%;
    }
    body{
        background-image:none;
        height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;

        background: #d0e4f7;
background: -moz-linear-gradient(top,  #d0e4f7 0%, #73b1e7 24%, #0a77d5 50%, #539fe1 79%, #87bcea 100%);
background: -webkit-linear-gradient(top,  #d0e4f7 0%,#73b1e7 24%,#0a77d5 50%,#539fe1 79%,#87bcea 100%);
background: linear-gradient(to bottom,  #d0e4f7 0%,#73b1e7 24%,#0a77d5 50%,#539fe1 79%,#87bcea 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d0e4f7', endColorstr='#87bcea',GradientType=0 );

    }
}