/*
 * Theme Name: Elisa
 * Author: Richard Lewis
 * Description: Elisa.net Theme
 * Version: 2.0.0
 * Template: base
 */

html {
    max-width: 100% !important;
}
body {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    max-width: 100% !important;
}
#main {
    max-width: 100% !important;
    overflow-x: hidden;
}
.content p {
    color: rgb(64, 64, 65);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 26.6666679382324px;
    margin-bottom: 16px;
    vertical-align: baseline;
}

#page-top-widgets p {
    margin:0 !important;
}

#top {
    /*margin:40px;*/
}


#main #top #main-menu-toggle i.fa {
  width: auto !important;
  display: inline-block !important;
  position: static !important;
  -ms-transform: none !important;
  transform: none !important;
  vertical-align: top !important;
  vertical-align: middle !important;
}
#main #top.fixed-menu #main-menu-toggle i.fa,
#main #top .opened #main-menu-toggle i.fa {
    vertical-align: top !important;
}

#top nav.global-menu {
    background-color: #0019af;
    color: #fff;
    z-index: 1000;
    display: block;
    position: relative;
    height: 40px;
    max-height: 40px;
    width: 100%;
    overflow: hidden;
    
}

#top nav.menu-row,
#top nav.global-menu {
    /* Clamp menu width */
    max-width: 980px;
    margin: 0 auto;
}

#top nav.global-menu .max-width {
}
#top nav.global-menu .logo-container {
    display: inline-block;
    float: left;
    margin-right: 10px;
}
#top nav.global-menu .logo-container a {
    display: inline-block;
}
#top nav.global-menu .logo-container img {
    display: inline-block;
    padding: 7px 10px;
    max-height: 40px;
}
#top nav.menu-row.opened #main-menu {
    height:100%;
    overflow-y: scroll;
}

#top nav.menu-row .sub-menu {
    min-width: 120px;
}
#top nav.menu-row.opened ul.menu > li > ul.sub-menu {
    display: block;
    box-shadow: none;
}
#top nav.menu-row.opened .current-menu-item {
    box-shadow: none;
}

#main #top nav.menu-row .sub-menu .menu-item li:last-child {
    padding-bottom: .75em;
}
#main #top nav.menu-row .sub-menu .menu-item a {
    color: #393a3b;
    padding: 6px 16px;
    font-family: Arial;
    font-size: 13px;
    line-height: 28px;
    padding: 3px 16px;
    text-align: left;
}
#main #top nav.menu-row .sub-menu .menu-item a:hover {
    color: #1d84ef;
}

#top nav.menu-row .logo-container a,
#bottom nav.menu-row .logo-container a {
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    text-decoration: none;
    font-family: 'verlag bold', sans-serif;
    font-weight: normal;
    font-weight: 600;
    font-style: normal;
    font-size: 17px;
    letter-spacing: .5px;
    color: #0019af;
    line-height: 0px;
    padding: 30px 20px;
}



/* Move the middle padding into the middle wrapper */
#middle-top-widgets {
    max-width: 980px;
    margin: 0 auto;
}
#middle-content-wrap {
  min-height: 200px;
}
#middle-content-wrap,
#middle-top-widgets {
    background-color: #fff;
}
#main,
#main #middle {
    padding-left: 0px;
    padding-right: 0px;
    background-color: #f8f8f8;
}
#middle-content-wrap { 
    padding-left: 20px;
    padding-right: 20px;
}
#middle-content-wrap,
.sidebar-right {
    padding-top: 30px;
}
@media screen and (min-width: 781px) {
    .sidebar-right {
        right: 20px !important;
    }
}



#bottom .footer-box {
    padding: 55px 60px 60px 60px;
    min-height: 300px;
    background-color: #eeeeee;
    color: #666666;
    box-shadow: 0 0 7px 0px #b2b2b2;
    -moz-box-shadow: 0 0 7px 0px #b2b2b2;
    -webkit-box-shadow: 0 0 7px 0px #b2b2b2;
    z-index:10;
    position:relative;
}
#bottom nav.menu-row {
    padding-top:10px;
}
#bottom nav.menu-row .logo-container a {
    color: #7e8488;
}
#bottom nav.menu-row .menu-container {
    display: block;
}
@media screen and (max-width:780px) {
    #top.fixed-menu nav.menu-row .logo-container a,
    #top nav.menu-row.opened .logo-container a {
        padding: 23px 20px;
    }
    #bottom .footer-box {
        margin:15px 0;
    }
}




#top nav.global-menu ul,
#top nav.global-menu ul li {
    display:inline-block;
}
#top nav.global-menu ul li a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    color: #ffffff;
    height: 40px;
    padding: 0 17px;
    line-height: 40px;
    text-decoration: none;
    font-family: 'verlag bold', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 15px;
}

#top nav.menu-row {
    z-index: 10000;
    border-bottom: 1px solid #dadada;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width:960px){
    
    #top nav.menu-row .menu-content-right {
        display: none;
    }
    #top nav.menu-row .menu-wrap {
        padding-right:0px;
    }
}

#top nav.menu-row ul.menu > li  ul.sub-menu {
    box-shadow: 0 4px 4px 0px rgba(40, 40, 40, .10);
}

#top nav.menu-row .menu-item a,
#bottom nav.menu-row .menu-item a {
    display: inline-block;
    color: #0019af;
    height: 60px;
    text-decoration: none;
    font-family: 'verlag bold', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 17px;
}
#top nav.menu-row .sub-menu .menu-item a {
    padding: 8px 12px;
    height: auto;
}
#top nav .current-menu-item {
    box-shadow: inset 0 -3px #0019af;
}
#bottom nav img.logo {
    -webkit-filter: grayscale(100%) contrast(10%);
    filter: grayscale(100%) contrast(10%);
}
#bottom nav.menu-row .menu-item a {
    text-transform: uppercase;
    color: #7e8488;
    padding: 24px 10px;
    font-size: 12px;
    font-family: 'verlag bold', sans-serif;
    font-weight: normal;
    font-style: normal;
    text-align: center;
}


nav .logo {
    max-height: 60px;
}

nav .search-input {
    height: 27px;
    border: 1px solid #d9d9d9;
    width:100%;
    text-indent: 28px;
}


#top div.search-box {
    position: relative;
    width:100%;
    left:0;
}
#top div.search-box:after {
    content: "\f002";
    color: #1f31bb;
    display: inline-block;
    height: 25px;
    vertical-align: middle;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    position: absolute;
    left: 9px;
    top: 6px;

}




/* Revolution Slider & other widgets*/
#middle .rev_slider_wrapper .bullet {
    background-image:none;
    background-color:#999;
    border-radius:50%;
    width:10px;
    height:10px;
    margin:7.5px;
}
#middle .rev_slider_wrapper .bullet.selected {
    background-color: #0019af;
}

#middle .so-widget-sow-image img {
    width:100%;
}

#middle .btn {
    border: none;
    border-radius: 3px;
    padding: .3em 2em;
    font-family: "verlag bold";
    font-weight: bold;
    text-transform: uppercase;
}
#middle .btn-orange {
    color: #fff;
    background-color: #fd6301;
}







/* Sidebar Widgets */
#middle-content .single-bottom-widgets {
    margin-top: 4em;
}


/* Sidebar Widgets */
#middle .sidebar-right .widgets .widgettitle,
#middle .sidebar-right .widgets h2 {
    display: inline-block;
    font-size: 20px;
    margin-top: 1.4em;
    margin-bottom: .3em;
    padding-bottom: 3px;
    border-bottom: 3px solid #0019af;
    font-family: "verlag bold";
    text-transform: uppercase;
    letter-spacing:.03em;
}
#middle .sidebar-right .widgets .w3-post-loop {
    margin-bottom: 1.4em;
}
#middle .sidebar-right .widgets .w3-post-loop h2 {
    margin-top: 0 !important;
}
#middle .sidebar-right .widgets .widgettitle.orange {
    border-bottom: 3px solid #ff6400;
}

#middle .sidebar-right .widgets .post.item {
    border-bottom:1px solid #dfdfdf;
    margin-left: 20px;
}
#middle .sidebar-right .widgets .post.item h3 {
    padding:0;
    margin:0;
    font-family: 'verlag book', sans-serif;
}
#middle .sidebar-right .widgets .post.item h3 a:before {
    content: "\f054";
    position: relative;
    left: -7px;
    top: 3px;
    font-size:14px;
    color: #0019af;
    display: inline-block;
    vertical-align: top;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}
#middle .sidebar-right .widgets .post.item h3 a {
    display: block;
    font-size: 17px;
    font-weight: bold;
    color: #333;
    padding: 12px 0 10px 0;
    line-height: 22px;
    text-indent: -5px;
}
#middle .sidebar-right .widgets .post.item h3 a:hover {
    opacity: .8;
}


/* Front Page */
.content .widget.w3-post-loop article {
    max-width: 100%;
}
.home.page #middle-content > .post > .title {
    display: none;
}
@media screen and (max-width:780px) {
    .home.page #middle-content .widget_rev-slider-widget {
        margin-left: -20px;
        margin-right: -20px;
        margin-top: -30px;
    }
}
 
@media screen and (min-width:781px){
    .content .widget.w3-post-loop.cols {
        margin-left: -2.5%;
        font-size:0; /* Hack */
    }
    .content .widget.w3-post-loop.cols article {
        margin: 0 0 2.5% 2.5%;
    }
    .content .widget.w3-post-loop.cols-2 article {
        width: 47.5%;
    }
    .content .widget.w3-post-loop.cols-3 article {
        width: 30.8%;
    }
    .content .widget.w3-post-loop article.featured {
        font-size:16px; /* Reset Hack */
        display: inline-block;
        vertical-align: top;
        height: auto !important;
    }
}





/* Custom content classes */
.content .ingressi,
.content .kirjoittaja {
    display: block;
    text-align: center;
}
.content .ingressi {
    font-size: 24px;
    font-family: 'verlag black', 'verlag bold', sans-serif;
    line-height: 1;
}
.content .kirjoittaja {
    font-size: 15px;
    font-style: italic;
    font-family: 'verlag light', sans-serif;
}

.content article h3 {
    margin-top: 17px;
}
.content article h3 a {
    display: block;
    color: rgb(64, 64, 65);
}
.content article iframe {
    max-width: 100%;
}
.content article.featured {
    margin-bottom: 20px;
}
.content article .featured-image {
    position: relative;
    overflow: hidden;
}
.content article .featured-image a,
.content article .featured-image img {
    display: block;
    overflow: hidden;
}
.content article .featured-image img {
    transition: all 0.2s;
    -ms-transform: scale(1.0,1.0); /* IE 9 */
    -webkit-transform: scale(1.0,1.0); /* Safari */
    transform: scale(1.0,1.0);
}
.content article .featured-image:hover img {
    -ms-transform: scale(1.03,1.03); /* IE 9 */
    -webkit-transform: scale(1.03,1.03); /* Safari */
    transform: scale(1.05,1.05);
}
.single .content article .featured-image img,
.single .content article .featured-image:hover img {
    transform: none;
}



.content article.image-aside {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #eee;
}
.content article.image-aside .featured-image {
    display: inline-block;
    vertical-align: top;
}
@media screen and (min-width: 550px) {
    .content article.image-aside .featured-image {
        width: 35%;
    }
}
.content article .featured-image .category {
    display: inline-block;
    position: absolute;
    /*left: 7px;*/
    /*top: 7px;*/
    left: 0px;
    bottom: 0px;
    z-index: 10;
    background-color: #0019af;
    color: #efefef;
    padding: 4px 10px;
    font-family: "verlag bold";
    font-size: .8em;
    text-transform: uppercase;
}
.content article.author-stt .featured-image .category,
.content article.author-sportti .featured-image .category {
    color: #0019af;
    background-color: #efefef;
}

.content article .title h1,
.content article .title h2,
.content article .title h3 {
    font-size: 24px;
    color: rgb(64, 64, 65);
    font-family: 'verlag black', 'verlag bold', sans-serif;
    font-variant: normal;
    font-weight: normal;
    vertical-align: baseline;
}

.content article h2,
.content article h3,
.content article h4 {
    font-family: 'verlag black', 'verlag bold', sans-serif;
    font-variant: normal;
    font-weight: normal;
    vertical-align: baseline;
    font-size: 24px;
}

.content article.image-aside h3 {
    margin-top: 0;
}
.content article .article-content {
    display: inline-block;
    max-width: 550px;
}
@media screen and (min-width: 550px) {
    .content article.has-image .article-content {
        width: 64%;
        padding-left: 1.5em;
    }
}

.content article .meta,
.content article .read-more {
    font-family: "verlag bold";
    text-transform: uppercase;
    font-size: .8em;
    margin-bottom: 4px;
}
.content article .read-more {
    color:#7f7f80;
    letter-spacing: 0.85px;
}
.content article .read-more .fa {
    color: #0019af;
}
.content article .meta,
.content article .meta a {
    color: #a2a2a2;
}
.content .widget.w3-post-loop article.featured .excerpt {
    font-size: 14px;
    font-weight: 500;
}
.content article .meta .categories ul {
    display:inline;
    list-style:none;
    margin:0;
    padding:0;
}
.content article .meta .categories ul li {
    display:inline;
}


/* Omaguru Articles */
.content article.featured.omaguru {
    position: relative;
    width: 100%;
}
.content article.featured.omaguru .article-content {
    position: absolute;
    left: 25%;
    right: 0;
    top: 0;
    bottom: 0;
    z-index:2;
}
.content article.featured.omaguru .article-content * {
    color: #fff;
}
.content article.featured.omaguru h3.category {
    display: inline-block;
    text-transform: uppercase;
    font-family: "verlag black", sans-serif;
    font-size: 24px; /* original 30px */
    padding-bottom: 4px;
    border-bottom: 5px solid #fff;
}
.content article.featured.omaguru .title h3 {
    font-family: "Open Sans";
    margin:0;
}
.content article.featured.omaguru .featured-image:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index:1;
    background: -moz-linear-gradient(left,  rgba(0,25,175,0) 0%, rgba(0,25,175,0.79) 27%, rgba(0,25,175,1) 34%, rgba(0,25,175,1) 45%, rgba(0,15,110,1) 74%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,25,175,0)), color-stop(27%,rgba(0,25,175,0.79)), color-stop(34%,rgba(0,25,175,1)), color-stop(45%,rgba(0,25,175,1)), color-stop(74%,rgba(0,15,110,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  rgba(0,25,175,0) 0%,rgba(0,25,175,0.79) 27%,rgba(0,25,175,1) 34%,rgba(0,25,175,1) 45%,rgba(0,15,110,1) 74%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  rgba(0,25,175,0) 0%,rgba(0,25,175,0.79) 27%,rgba(0,25,175,1) 34%,rgba(0,25,175,1) 45%,rgba(0,15,110,1) 74%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  rgba(0,25,175,0) 0%,rgba(0,25,175,0.79) 27%,rgba(0,25,175,1) 34%,rgba(0,25,175,1) 45%,rgba(0,15,110,1) 74%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to right,  rgba(0,25,175,0) 0%,rgba(0,25,175,0.79) 27%,rgba(0,25,175,1) 34%,rgba(0,25,175,1) 45%,rgba(0,15,110,1) 74%,rgba(0,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000019af', endColorstr='#000000',GradientType=1 ); /* IE6-9 */
}

.content article.featured.omaguru .featured-image img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
}
.content article.featured.omaguru .read-more {
    display: inline-block;
    background-color: #fff;
    color: #0019af;
    padding: 7px 17px;
    border-radius: 3px;
    margin-top: 1em;
}
.content article.featured.omaguru .read-more i {
    display: none;
}


/* Page Specifics */
#middle.full-width.article #middle-content-wrap {
    padding-top: 0;
}
#middle.full-width.article #middle-content > .post .content > p:last-child:after {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    background-color: #0019af;
    margin-left: .5em;
}

/* Full width content template */
#middle.full-width.article #middle-content > .post .featured-image {
    margin-bottom: 4em;
    margin-left: -20px;
    margin-right: -20px;
}
#middle.full-width.article #middle-content > .post .featured-image .caption {
    display: none;
}
@media screen and (min-width:781px){
    #middle.full-width.article #middle-content > .post .title h1 {
        font-size: 42px;
    }
}

#middle.full-width.article #middle-content > .post .title,
#middle.full-width.article #middle-content > .post .meta {
    text-align: center;
    max-width: 700px;
}
#middle.full-width.article #middle-content > .post .content {
    max-width: 700px;
}
#middle.full-width.article #middle-content > .post .content > p {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 32px;
}
@media screen and (min-width:650px){
    #middle.full-width.article #middle-content > .post  .content > blockquote {
        float: left;
        width: 33%;
    }
}
#middle.full-width.article #middle-content > .post  .content blockquote {
    border-left: none;
    quotes: "\201C""\201D""\2018""\2019";
    padding: 0em 1em 1em 0em;
    margin: 0;
}
#middle.full-width.article #middle-content > .post  .content blockquote p {
    color: #0019af;
    font-size: 1.4em;
    font-weight: 300;
    line-height: 1.1;
    
}
#middle.full-width.article #middle-content > .post  .content blockquote p:first-child:before {
    content: '”';
    font-size: 6.8em;
    float: left;
    display: inline-block;
    font-family: "verlag black", sans-serif;
    line-height: .75;
    margin-right: .05em;
    height: 0.285em;
    font-weight: 500;
}




#middle-content > .post > .featured-image {
    margin-bottom: 1em;
}
#middle-content > .post > .featured-image img {
    width: 100%;
}
body #middle-content .featured-image .caption {
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-top: .5em;
    line-height: 1.2em;
}





body.single-post #middle-content .title h1,
body.page .title h1 {
    font-size: 34px;
    margin-bottom: 50px;
    color: rgb(64, 64, 65);
    font-family: 'verlag black', 'verlag bold', sans-serif;
    font-variant: normal;
    font-weight: normal;
    vertical-align: baseline;
}

/* Social Buttons */
body.single-post #middle-content .post .content-wrap .social .item,
body.single-post #middle-content .post .content-wrap .social .item a {
    display: inline-block;
}

body.single-post #middle-content .post .content-wrap .social .item a {
    text-align: center;
    background-color: #868686;
    color: #fff;
    margin-bottom: .7em;
    margin-right: .7em;
    width: 46px;
    position: relative;
    height: 46px;
}
body.single-post #middle-content .post .content-wrap .social .item.facebook a {
    background-color:#3b5998;
}
body.single-post #middle-content .post .content-wrap .social .item.twitter a {
    background-color:#55acee;
}
body.single-post #middle-content .post .content-wrap .social .item.linkedin a {
    background-color:#0976b4;
}

body.single-post #middle-content .post .content-wrap .social .item i.fa {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media screen and (min-width:781px){
    /* Social Buttons */
    body.single-post #middle-content .post .content-wrap {
        position: relative;
        padding-left: 70px;
    }

    body.single-post #middle-content .post .content-wrap .social,
    body.single-post #middle-content .post .content-wrap .pin-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
    }
    body.single-post #middle-content .post .content-wrap .social .item,
    body.single-post #middle-content .post .content-wrap .social .item a {
        display: block;
    }
    body.single-post #middle-content .post .content-wrap .social .item a {
        margin-left: auto;
        margin-right: auto;
    }

    body.single-post #middle.full-width #middle-content .post .content-wrap {
        padding-left: 130px;
    }
    body.single-post #middle.full-width #middle-content .post .content-wrap .social {
        width: 120px;
    }
}



/* Footer Styles */

#bottom {
    /*padding-top: 10px;*/
}
#bottom footer .panel-grid .widget-title {
    margin: 0 0 7px 0;
    border-bottom: 1px solid #d5d5d5;
    padding-bottom: 3px;
    color: inherit;
    text-transform: uppercase;
    font-family: 'verlag bold', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size:15px;
    letter-spacing: 1px;
}
#bottom footer .panel-grid li a {
    color: #666666;
    font-size: 13px;
    line-height: 18px;
    text-decoration: none;
    font-family: Arial;
}












/*
 * Logout iframe
 */
/*.page-template-page-elisa-fi-logout #top,
.page-template-page-elisa-fi-logout #bottom,
.page-template-page-elisa-fi-logout div.title {
    display: none;
}*/


/*
 * Ad slots
 */
#main .mainos {
    text-align: center;
}
#main .mainos div {
    margin: 0 auto;
}
#main .mainos br {
    display: none;
}
.iltalehti-box {
    height:380px;
}
#side-boxes {
    height: 0;
    overflow: visible;
    position: relative;
}
.side-box {
    width: 160px;
    height:160px;
    position: absolute;
    top: 30px;
}
.side-box.left {
    left: -180px;
}
.side-box.right {
    right: -180px;
}
@media screen and (max-width:979px) {
    #main .mainos.desktop {
        display: none;
    }
}
@media screen and (min-width:980px) {
    #main .mainos.mobile {
        display: none;
    }
}


/*
 * Pontus
 */
#pontus .pagination {
    text-align: center;
    text-transform: uppercase;
    font-family: "verlag bold";
}
.sidebar-right #pontus .pagination {
    display: none;
}
#pontus .pagination a {
    color: #999;
    padding: .5em 1em;
}
#pontus .pagination a i {
    padding: 0 .2em;
}
#pontus .pagination .date {
    display: inline-block;
    min-width: 95px;
}
#pontus .pagination .next {
    visibility: hidden;
}

#pontus-image {
    display: block;
}

@media screen and (max-width:780px){
    #pontus .pagination .date {
        min-width: 0;
    }
    #pontus-image {
        max-width: 100%;
        overflow: auto;
    }
    #pontus-image img {
        max-width: none;
        height: 300px;
        width: auto;
    }
    #pontus .pagination {
        font-size:.85em;
    }
}



/*
 * Horoscope
 */
#horoscope ul,
#horoscope ul li,
#horoscope ul li a {
    display: inline-block;
    color: inherit;
    margin: 0;
    padding: 0;
}
#horoscope ul li a {
    padding-bottom:.7em;
    max-width: 100%;
}
#horoscope ul li {
    max-width: 16.5%;
    /*border:1px solid black;*/
    text-align: center;
}
#horoscope ul li.active {
    background-color: #eee;
}
#horoscope ul li h3 {
    font-size: 18px;
    font-weight: bold;
}
#horoscope ul li img {
    margin-top: 1em;
}

#horoscope-predictions h3 span {
    float:right;
    color:#999;
}


/*
 * EPG
 */

epg {
    max-width: 100%;
    overflow-x: scroll;
    overflow: hidden;
}
#epg #epg-date-select {
    margin-left:auto;
    max-width: 200px;
}
#epg nav {
    position: relative;
    padding: 6px 0;
}
#epg nav ul {
}
#epg nav li {
    display:inline-block;
    width: 5.8%;
}
#epg nav li a {
    display: inline-block;
    max-width: 100%;
}

#epg nav .channel-indicator {
    position: absolute;
    width: 23.5%;
    height: 100%;
    border: 5px double #00A1D9;
    top: 0;
    left: 0;
    cursor: move;
    background-color: transparent;
    background-color: rgba(255,255,255,0);
}
#epg #scrollable-channels {
    width: 100%;
    overflow-x: scroll;
    /*position: absolute;*/
}
#epg #channels-wrapper {
    position: relative;
    left: 0;
    width: 6000px;
    height: 100%;
}
#epg .timeslot-row {
    border-top: 1px solid #CCC;
    margin-bottom: 10px;
}
#epg .timeslot {
    width: 230px;
    display: inline-block;
    vertical-align: top;
    height: auto;
    min-height: 1px;
    margin:0;
    padding:0;
    overflow: hidden;
}
#epg .timeslot .logo img {
    display: inline-block;
}

#epg ul,
#epg li {
    margin: 0;
    padding: 0;
}
#epg .ohjelmatiedot li {
    /*height: auto;*/
    /*line-height: 125%;*/
    /*padding: 0;*/
    /*position: relative;*/
    /*font-size: 14px;*/
    color: #333;
}
#epg .nyt {
    background: none repeat scroll 0 0 #F5F5F5;
    color: #000000;
    font-size: 14px;
    font-weight: bold;
}

#epg .ohjelmatiedot .time {
    font-weight: normal;
    display: inline-block;
    vertical-align: top;
}

#epg .ohjelmatiedot .programname {
    width: 175px;
    color: #00A1D9;
    cursor: pointer;
    display: inline-block;
}

#epg .ohjelmatiedot .programinfo {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #70b0f9;
    display: none;
    height: auto;
    padding: 10px;
    position: absolute;
    top: 30px;
    z-index: 99;
    font-weight: normal;
}


/*
 * Daily question
 */
.content article.category-paivan-kysymys .choice {
    display: inline-block;
    color: #fff;
    width: 49%;
    text-align: center;
    font-weight: bold;
    padding:0.5em;
}
.content article.category-paivan-kysymys .choice.yes {
    background-color: rgb(0, 128, 0);
}
.content article.category-paivan-kysymys .choice.no {
    background-color: rgb(255, 0, 0);
}


/*
 * Google Custom Search
 */
#main .gsc-control-cse {
    padding: 0;
}
#main .gsc-control-cse table,
#main .gsc-control-cse table td {
    border: 0 none;
    padding: 0;
}
#main .gsc-control-cse .gsc-input-box {
    border: 0;
}
#main .gsc-control-cse input[type="text"] {
    border: 1px solid #ccc !important;
    height: 30px !important;
}
#main table.gsc-search-box td {
    vertical-align: top;
}
#main .gsc-control-cse input[type="image"] {
    border: 1px solid #999 !important;
    padding: 7 !important;
    /*width: 30px !important;*/
    /*height: 20px !important;*/
    width: auto !important;
    height: auto !important;
    
    min-width: 0 !important;
    max-width: 100px !important;
    
}

/*
 * Helper popup
 */
.fhpc_close {
    display: none !important;
}
