html,body {
  margin:0;
  padding:0;
  height:100%; /* needed for container min-height */
  background-image:url('../img/body_background.jpg');
  background-repeat:repeat-x;
  background-color:#daedcf;
  font-family: 'Mukta', sans-serif;
  font-size: 16px;
}
h1 {
	margin-top: 0px;
	border-bottom: 1px dotted #055979;
	padding-left: 5px;
	font-size: 20px;
	font-weight: normal;
	color: #055979;
	margin-bottom:5px;
	width:99%;
}

h2 {
    border-bottom: 1px dotted #055979;
    width: 100%;
    padding: 5px;
    font-size: 20px;
    font-weight: bold;
    
}

h3 {
  margin-top:0px;
  font-size:18px;
  text-align:center;
  background-color: #496694;
  color:#fff;
  padding: 2px;
}
a {
  color:#055979;
  text-decoration:none;
}
a:hover{
  color:#055979;
  text-decoration:underline;
}
a img {border: none; }
img {
    max-width: 100%;
    height: auto;
}

.w-25 {
    width: 20%!important;
}
.julkaisu {
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 16px;
}
.julkaisu img{
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.hunajata {
  position:fixed;
  left:-9001px;
}
.commentBox {
    width: 100%;
    font-size: 14px;
    padding: 0 15px;
    margin-bottom: 20px;
}
.commentBox hr, .commentBox label{
    margin: 3px 0;
}
.commentBox .g-recaptcha {
    margin: 15px 0;
}
.commentBox textarea {
    width: 100%;
}
#header {
/*  background-image:url('https://localhost/ushi_2017/img/header_new1.jpg');*/
  background-color: #8db38c;
  height:203px;
  position: relative;
  width: 100%;
}
#header-logo {
   position: absolute;
   width: 60%;
   max-width: 571px;
   z-index: 100;
   left: 50%;
   top: 76%; 
    -webkit-transform: translate(-50%, -24%);
    -ms-transform: translate(-50%, -24%);
    transform: translate(-50%, -24%);
}
#header-chara {
   display: none;
}
@media screen and (min-width:768px){
    #header-logo {
       position: absolute;
       width: 60%;
       max-width: 571px;
       z-index: 100;
       left: 44px;
       top: 60%; 
        -webkit-transform: translate(0, -40%);
        -ms-transform: translate(0, -40%);
        transform: translate(0, -40%);
    }
    #header-chara {
       display: block;
       position: absolute;
       max-width: 180px;
       z-index: 100;
       right: 70px;
       bottom: -20px;
    }
    .jaksoImg img{
        width: 130px !important;
        height: auto;
    }
    .jaksoTxt {
        font-size: 14px !important;
        width: 130px !important;
        line-height: 16px !important;
    }
    .infoBox_small {
        display: none;
    }
    .infoBox_big {
        display: block !important;
    }
}
@media (min-width: 900px) {
    .container {
        max-width: 856px;
    }
}
#header-back {
/*  background-image:url('https://localhost/ushi_2017/img/header_new1.jpg');*/
  background-color: #fff;
  height:69px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border-top-left-radius: 69px;
  border-top-right-radius: 69px;
  border: 1px solid #798b8f;
  z-index: 90;
}

#menu {
  text-align:left;
  font-size: 14px;
  padding-top: 6px;
	padding-bottom: 6px;
  padding-left:0px;
/*  background-image:url('https://localhost/ushi_2017/img/menu_new1.jpg');*/
  background-color: #4a6695;
}

/* change the background color */
.navbar-custom {
    background-color: #4a6695;
    padding: 0;
    line-height: 1.0;
}
.navbar-custom .navbar-toggler{
    font-size: 0.9rem;
    padding: .15rem .55rem;
}
.dropdown-menu {
    margin: 0;
    background-color: #4a6695;
    color: #fff;
}
.dropdown-item {
    color: #fff;
}
/* change the brand and text color */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: rgba(255,255,255,.8);
}
/* change the link color */
.navbar-custom .navbar-nav .nav-link {
    color: rgba(255,255,255,.5);
}
/* change the color of active or hovered links */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link {
    color: #ffffff;
}
.page-item.active .page-link {
    background-color: #496694;
    border-color: #496694;
}
.page-link {
    color: #055979;
}
.swiper-slide {
    width: auto !important;
}

.jaksoImg img{
    width: 100px;
    height: auto;
}
.jaksoTxt {
    font-size: 12px;
    width: 100px;
    line-height: 14px;
}
.card-body {
    padding: 5px 5px;
    text-align: left;
}
.card-title {
    font-size: 18px;
}
.card-kuva {
    border-bottom-left-radius: calc(.25rem - 1px);
    border-top-left-radius: calc(.25rem - 1px);
        background-repeat: no-repeat;
        background-position: center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    margin-right: 5px;
    display: block;
    height: 60px;
    width: 60px;
    float: left;
}
.card-img-left {
  border-bottom-left-radius: calc(.25rem - 1px);
  border-top-left-radius: calc(.25rem - 1px);
  float: left;
  padding-right: 1em;
  max-height: 60px;

}
.infoBox_small {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 15px;
    color: #777;
}
.infoBox_big {
    display: none;
}
.displayArea {
    max-height: 480px;
    background-color: #000;
}
.video-js {
    margin: 0 auto;
}
.playing {
   background-color: #e2eeff;
   text-decoration:underline;
}
.pagiSivu {width: 100%;}

.tr_table {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}
.tr_nimi {
    width: 60%;
    padding: 5px;
    text-align: left;
}
.tr_magnet {
    width: 5%;
}
.even {
    background-color: #e2eefe;
}