




#parentWrapper {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1100px;
    line-height: 1.1em;
    font-size: 1.15em;
}
.alareuna {
    width: 100%;
}
.selitys {
    width: 100%;
    margin: 10px 5px;
    text-align: center;
    text-transform: uppercase;
}

.perhoskortti {
    background: #45bba7;
    padding: 20px;
    margin: 20px 0;
    color: #fff;
    border-radius: 4px;
}

#yhteiset .perhoskortti {
    background: #45bba7;
}

.selitys.lapsuudessasi  {
    display: block;
    opacity: 1;
}


.selitys.nyt  {
    display: none; 
    opacity: 0;
}
 
.appear .vanish {
    opacity: 0.1;
    -webkit-transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
    transition-delay: 850ms;
}
.disappear .vanish {
    opacity: 1;
}

.transparent {
    opacity: 0;
}
.appear .transparent {
    opacity: 1;
    -webkit-transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
    transition-delay: 850ms;
    filter: contrast(160%);
}


#parentWrapper .otsikko {
    font-family: vinyl, sans-serif;
    font-size: 2.4em;
    margin-bottom: 10px;
    line-height: 1em;
}
#parentWrapper .kuva {
    width: 100%;
    margin-top: 14px;
}
#parentWrapper .kuva img {
    border-radius: 4px;
}
#parentWrapper #yhteiset .yhteisetotsikko {
    color: #20675b
    }

    #parentWrapper .selite {
    font-size: 0.8em;
    width: 100%;
    text-align: left;
    }

.flexbox {
    display: flex;
}

.perhoskortti .image {
    margin: 0 20px 20px 0;
    min-width: 240px;
    flex-grow: 1;
}

.perhoskortti .text {
    flex-grow: 2;   
}

.flexbox.icons {
    flex-grow: 1;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.1);
    padding: 5px;
    
 }
 
 .flexbox .icon-image {
width: 4%;
  }

 .flexbox .icon-image img{
    margin: 5%;
    width: 90%;
    filter: drop-shadow(2px 3px 2px rgba(0,0,0,0.3));
  }

.perhoskortti .image img{
   width: 100%;
}

#alle1950 {
    display: inline;
}


#graaffi3 {
    height: 100px;
    background: #323232;
}

#graphKartta, #graphLoisto {
    width: 100%;
    height: 50vh;
}
#graphKartta text, #graphLoisto text {
    stroke: white;

}
.tick line {
    stroke: white;
}
.tick {
    stroke: white;
}
.domain {
    stroke: white;
}
.ydd-article__body {
  overflow: visible;
}
.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
    z-index: 10000;
}
.ydd-article__body table > thead > tr > th {
  z-index: 10000;
  line-height: 1.1em;
  padding: 10px;
}

.ydd-article__body table > tbody > tr > th:nth-child(1) {
    background-color: rgba(0, 0, 0, 0.05);
    border-top-left-radius: 0px;
  }

.ydd-article__body table > tbody > tr > th:nth-child(2) {
    background-color: rgba(0, 181, 200, 0.2);
}

.ydd-article__body table > tbody > tr > th:nth-child(3) {
    background-color: rgba(0, 0, 0, 0.1);
  }
.ydd-article__body table > tbody > tr > th:nth-child(4) {
    background-color: rgba(0, 0, 0, 0.05);
}
.ydd-article__body table > tbody > tr:nth-child(even) {
    background-color: #ddd;
}
.ydd-article__body table > tbody > tr:nth-child(even) {
    background-color: #eee;
}
.ydd-article__body table > tbody > tr > th {
    color: #323232;
    line-height: 1.1em;
    padding: 10px;
}
.ydd-article__body table > tbody > tr > th:last-child {
    border-top-right-radius: 0px;
  }
.control-group, .selectize-dropdown, .selectize-input, .selectize-input input {
  			font-size: 16px;
  		}
.selectize-control {
          background-color: #4ac0ad;
          padding: 12px 12px 6px;
          border-radius: 4px;
}

@media only screen and (max-width: 600px) {
.flexbox {
    display: inline;
}
.flexbox.icons {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
 }

 .flexbox .icon-image {
    width: 10%;
      }

 
.perhoskortti .image { 
    min-width: 120px;
    margin: 0 0 20px 0;
}

#parentWrapper .otsikko{
    font-size: 38px;
    text-align: center;
}

#parentWrapper #yhteiset .yhteisetotsikko {
    margin-left: 0;
    }

}


  
  