/*
VÄRIT
Sin: #4a7ebb 'tehoste'
Vsin: #bee1f7 'pääväri'
Hop: #c0c0c0 'yksityiskohdat'
Valk: #fdfdfd 'tausta'
Must: #0d0d0d 'teksti'
*/

body {
  padding-top: 40px;
  background-color: #fefefe !important;
}
h1 {
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 1.7em;
  color: #b2b2b2;
}
h2 {
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 1.2em;
  color: #b2b2b2;
}
h3, h4{
  font-family: 'Merriweather Sans', sans-serif !important;
  color: #0d0d0d;
}
p, li{
  font-family: 'Lato', sans-serif !important;
}
a{
  font-family: 'Lato', sans-serif;
}
label{
  font-size: 1.3em;
  font-weight: bold;
  font-family: 'Merriweather Sans', sans-serif !important;
}
u{
  text-decoration: none;
  border-bottom: 2px solid #bee1f7;
}
.p-float {
  font-size: 1.2em;
  line-height: 1.55em;
}
.bold {
  font-weight: bold;
}
.details {
  color: #c0c0c0;
}
.navbar-toggler{
  border: none;
}
.bg-dark{
  background: #bee1f7 !important;
  box-shadow: 0px 0px 4px;
}
.navbar-brand{
  display: inline-block;
}
.navbar-brand h1{
  display: inline-block;
  color: #4a7ebb;
}
.navbar-brand img {
  max-width: 100%;
  width: 20%;
  display: none;
}
.nav-link {
  font-size: 115% !important;
  font-family: 'Merriweather Sans', sans-serif;
  color: #4a7ebb !important;
}
.nav-link:hover {
  color: #a3bddc !important;
}
.current {
  color: #b2b2b2 !important;
}
#nav-h2 {
  font-size: 0.55em;
  color :#4a7ebb;
  display: inline-block;
  font-family: 'Merriweather Sans', sans-serif;
}
.card {
  border-color: #c0c0c0;
  box-shadow: 2px 2px 4px #bee1f7;
}
.card p{
  padding: 1% 1%;
}
.card h1 {
  margin-top: 3%;
  color: #b2b2b2;
}
.breaker {
  width: 100%;
  border-top: solid 2px #bee1f7;
  border-bottom: solid 2px #c0c0c0;
}
.button {
    background: #fefefe;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    margin: 10px;
    padding: 20px;
    border: 2px solid #c0c0c0;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    -webkit-transition: .3s;
            transition: .3s;
    color: #4a7ebb;
    font-weight: bold;
    box-shadow: 2px 2px 8px #bee1f7;
  }
.button:hover {
  color: #4a7ebb;
  text-decoration: none;
  box-shadow: 2px 2px 8px #bee1f7;
}
.button:after {
    position: absolute;
    -webkit-transition: .3s;
            transition: .3s;
    content: '';
    width: 0;
    left: 50%;
    bottom: 0;
    height: 3px;
    background: #4a7ebb;
  }
.button:after {
    left: 0;
  }
.button:hover:after {
  width: 100%;
  left: 0;
}
.ftr-bg {
    margin: 0;
    width: 100%;
    border-top: 2px solid #bee1f7;
    background: #a6a6a6;
}
.ftr-bg-1 {
    margin: 0;
    width: 100%;
    background: #a6a6a6;
}
.footerlist, .contactlist {
  list-style: none;
}

footer h3 {
  font-size: 1.2em;
}
footer h4 {
  font-size: 1em;
}
footer p{
  font-size: 1em;
}
footer img {
  max-width: 100%;
  width: 35px;
  display: inline-block;
  padding-right: 5px;
}
footer a {
  color: #0d0d0d;
  font-size: 120%;
  font-weight: bold;
}
footer a:hover {
  text-decoration: none;
  color: #bee1f7;
}
footer a h3 {
  display: inline-block;
  font-size: 100%;
}
.table {
  background: #fefefe;
  box-shadow: 2px 2px 6px #bee1f7;
}
.table thead th {
  border-bottom: 2px solid #bee1f7;
}
#fb-a, .ig-a {
  color: #c0c0c0;
  text-decoration: none;
}
#fb-a img, .ig-a svg {
  width: 35px;
  padding-right: 6px;
}
#fb-a h3, .ig-a h3 {
  font-size: 1.3rem;
}
.ig-a h3 {
  word-break: break-all;
}
#yht-img {
  margin-top: 4%;
  max-width: 100%;
  width: 100%;
}
.red {
  color: red;
  font-weight: bold;
  text-align: center;
}
@media (min-width: 360px) {
  #nav-h2 {
    font-size: 0.6em;
  }
}
@media (min-width: 410px) {
  body {
    padding-top: 55px;
  }
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.6em;
  }
  p {
    font-size: 1.05em;
  }
  .navbar-brand img {
    max-width: 100%;
    width: 15%;
    display: none;
  }
  #ftr-col-1 {
    order:1;
  }
  #ftr-col-2 {
    order:2;
  }
  #ftr-col-3 {
    order:3;
  }
  #nav-h2 {
    font-size: 0.7em;
  }
}
@media (min-width: 426px) {
  #nav-h2 {
    font-size: 0.7em;
  }
}
@media (min-width: 450px) {
  #nav-h2 {
    font-size: 0.8em;
  }
}
@media (min-width: 576px) {
  #ftr-col-1 {
    order:1;
  }
  #ftr-col-2 {
    order:2;
  }
  #ftr-col-3 {
    order:3;
  }
  #nav-h2 {
    font-size: 0.9em;
  }
  .navbar-brand img {
    max-width: 100%;
    width: 15%;
    display: inline-block;
  }
  .contactlist p {
    font-size: 110%
  }
  footer p{
    font-size: 110%;
  }
}
@media (min-width: 992px) {
  body {
    padding-top: 85px;
  }
  .navbar-brand img {
    max-width: 100%;
    width: 35%;
    display: inline-block;
  }
  .m_hide {
  display: block;
  }
  #khl {
    width: 40%;
  }
  #ftr-col-1 {
    order:1;
    align-self: flex-start;
  }
  #ftr-col-2 {
    order:2;
  }
  #ftr-col-3 {
    order:3;
  }
  #nav-h2 {
    font-size: 1em;
  }
  #yht-img {
    margin-top: 4%;
    max-width: 100%;
    max-height: 404px;
    box-shadow: #a3bddc 2px 2px 4px;
  }
  #fb-a h3, .ig-a h3 {
    font-size: 1em;
  }
  .details {
    font-size: 1.5em;
  }
  .minordetails{
    font-size: 1.3em;
  }
}
@media (min-width: 1200px) {
  #yht-img {
    margin-top: 4%;
    max-width: 78%;
    max-height: 414px;
    box-shadow: #a3bddc 2px 2px 4px;
  }
  .card{
    min-height: 0;
  }
  .contactlist p {
    font-size: 120%
  }
  footer p{
    font-size: 120%;
  }
  .details{
    font-size: 1.7em;
  }
  .minordetails{
    font-size: 1.4em;
  }
}
