/*
Theme Name: Coss Ry
Theme URI: -
Description: Coss Ry:lle rÃ¤Ã¤tÃ¤lÃ¶ity teema, jossa lÃ¤htÃ¶kohtina ovat modernius, mutta samalla myÃ¶s helppokÃ¤tÃ¶isyys. Teema kÃ¤yttÃ¤Ã¤ uusinta Bootstrap -frameworkia, jonka ansiosta
sivut ovat tÃ¤ysin aidosti responsiiviset.
Author: Mikko Sivula
Author URI: -
Version: 1.0
Tags: coss ry, responsiivinen, bootstrap, moderni, vaalea, vihreÃ¤, nykyaikainen, mobiili, 2015, valkoinen

License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: http://creativecommons.org/licenses/by-sa/3.0/
*/

/* End */
@import url('bootstrap/css/bootstrap.css');
@import url('carousel.css');

.modal-dialog {
    width: auto !important;
    max-width: 1000px;
}
.modal-dialog{
    top: 140px;
}

/* Add admin bar style fixes here */
.admin-bar .navbar-inverse {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .navbar-inverse {
        top: 46px;
    }

    #wpadminbar {
        position: fixed !important;
    }
}

.event-list {
    list-style: none;
}

/*yleiset*/
.content img {
    max-width: 100%;
    height: auto;
}


img.size-large {
    max-width: 100%;
    height: auto;
}

.wp-post-image {
    width: 100%;
    height: auto;
}

.left-column-news-all {
    border-bottom: 1px solid #333;
}

.img-full > a > img {
    height: auto !important;
}

.news-wrapper > a > img {
    /**height: 75px;
    width: auto;**/
    margin-bottom: 17px;
}
.left-column-news .news-wrapper > a > img {
    width: 175px;
    height: auto;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .left-column-news .news-wrapper > a > img {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 501px) and (max-width: 768px) {
    .news-wrapper > a > img {
        width: 75px !important;
        height: auto !important;
    }
}

.sidebar-wrapper > .some > li > a > i {
    font-size: 40px;
    padding-left: 12px;
}

.sidebar-wrapper > .some {
    display: table;
    margin: 0 auto;
}

input { 
    color: #000; 
    padding: 8px 12px !important; 
    max-width: 100%;
}
.breadcrumb {
    font-size: 12px;
    margin-left: 17px;
    margin-right: 17px;
}
.overflow-hack { overflow: hidden }
iframe { width: 100% !important }
.tekstiosio { margin-top: 20px }
.alignright {
    float: right;
    padding-left: 10px;
    max-width: 100%;
    height: 100%;
}
.alignleft {
    float: left;
    padding-right: 10px;
    max-width: 100%;
    height: 100%;
}

.aligncenter {
    display: table;
    margin: 0 auto;
}
@media (max-width: 768px) { 
    .alignleft,
    .alignright { float: none !important; display: block; }
}
h1,
.h1 { font-size: 24px }
h2,
.h2 { font-size: 20px }
h3,
.h3 { font-size: 17px }
h4,
.h4 { font-size: 16px }
h5,
.h5 {
    font-size: 13px;
    margin-bottom: 3px;
}
body > .container {
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}
/*mobiilifonttien koot*/
@media screen and (max-width: 768px) { 
    .hero h1 { font-size: 44px !important }
    h1,
    .h1 { font-size: 24px }
    h2,
    .h2 { font-size: 20px }
    h3,
    .h3 { font-size: 18px }
    h4,
    .h4 { font-size: 16px }
}
.wysija-submit {
    background-color: #39B54A;
    border: none;
    border-radius: 4px;
    padding: 10px;
    width: 100px;
    display: inline !important;
    margin-top: 10px !important;
}
.wysija-submit:hover { background-color: #0B610B }
.btn-readmore {
    background-color: #39B54A;
    width: 75%;
    color: #fff;
    display: table;
    margin: 0 auto;
}
.btn-readmore:hover {
    background-color: #0B610B;
    color: #fff;
}
.btn-primary {
    background-color: #39B54A;
    border: none;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active { background-color: #0B610B }
html {
    min-height: 100%;
    position: relative;
}
body {
    font-family: 'Ubuntu', sans-serif;
    color: #333;
    background-color: #FFF;
    padding-top: 50px;
}
.well {
    overflow: hidden;
    border-radius: 0;
}
a { 
    outline: 0 !important;
    word-wrap: break-word;
}
a,
a:hover { color: #39B54A }

a:hover {
    opacity: 0.8;
    text-decoration: none;
}
.header {
    display: table;
    margin: 0 auto;
}
.mrgBtm {
    margin-bottom: 40px;
    margin-top: 40px;
}
h1,
h2,
h3,
h4 { color: #555 }
h5 { margin-top: 0 !important }
.maincontent {
    margin-bottom: 20px;
    overflow: hidden;
}
.section-header {
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 40px;
    font-size: 35px;
    text-transform: uppercase;
    color: #414042;
}
@media screen and (min-width: 450px) { 
    .section-header span {
        position: relative;
        position: relative;
        padding-left: 15px;
        padding-right: 15px;
    }
    .section-header span::before {
        content: "";
        display: block;
        width: 100%;
        position: absolute;
        top: 50%;
        border-top: 1px solid #b2b2b2;
        right: 100%;
    }
    .section-header span::after {
        content: "";
        display: block;
        width: 100%;
        position: absolute;
        top: 50%;
        border-top: 1px solid #b2b2b2;
        left: 100%;
    }
}
.noLi {
    list-style: none !important;
    padding: 0;
}
/*navi*/
@media (min-width: 991px) and (max-width: 1199px) {
    .navbar-nav > li {
        font-size: 12px !important;
    }
}

@media screen and (min-width: 768px) { 
    .navbar { height: 60px }
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    color: #39B54A !important;
    background-color: transparent !important;
}
.navbar { box-shadow: 3px 4px 63px -9px rgba(0,0,0,0.15) inset }
.icon-bar { background-color: #000 !important }
.navbar-toggle {
    margin-top: 18px;
    margin-right: 22px;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus { background-color: #FFF !important }
.navbar-inverse {
    position: fixed;
    z-index: 19999;
    top: 0;
}
.menu > li > a {
    color: #000;
    font-weight: bold;
    padding: 15px 10px;
    font-size: 13px;
    letter-spacing: 1.5px;
}
.menu > li > a:hover,
.menu > li > ul > li > a:hover,
li.active  > a { color: #39B54A !important; background-color: transparent !important;}
.dropdown-menu > li { position: relative }
/*dropdown-menu sÃ¤Ã¤tÃ¶Ã¤*/
@media (min-width: 768px) { 
    .dropdown-menu > li:first-child::before {
        position: absolute;
        content: "";
        display: inline-block;
        border-left: 7px solid transparent !important;
        border-right: 7px solid transparent !important;
        border-bottom: 7px solid #4D4D4D !important;
        position: absolute;
        left: 46%;
        top: -12px;
    }
    .dropdown-menu > li > a {
        padding: 10px !important;
        color: #fff !important;
    }
    .dropdown-menu {
        border-radius: 0 !important;
        background-color: #4D4D4D;
        /*margin: 15px 0 0 !important;*/
    }
    .dropdown-menu > .active > a,
    .dropdown-menu > .active > a:hover,
    .dropdown-menu > .active > a:focus,
    .dropdown-menu > li > a:hover {
        background-color: #5a5a5a;
        color: #fff;
    }
}


@media screen and (min-width: 768px) { 
    .nav > li > a::before {
        border: 0 solid #39B54A;
        content: "";
        height: 0;
        left: -0.3rem;
        position: absolute;
        right: -0.3rem;
        top: -9px;
        -webkit-transition: border-width 0.1s linear 0s;
        -moz-transition: border-width 0.1s linear 0s;
        -o-transition: border-width 0.1s linear 0s;
        transition: border-width 0.1s linear 0s;
    }
    .menu-mainnav > .current_page_ancestor > a::before,
    li.active > a::before,
    .navbar-nav > li > a:hover::before,
    .current-page-ancestor > a::before { border-width: 0 0 4px }
    .dropdown-menu > li.active > a::before { border: none !important }
}
.current-page-ancestor > a,
.current_page_ancestor > a { color: #39B54A !important }
/*mobiilinavi*/
@media screen and (max-width: 768px) { 
    .navbar-static-top { transform: translate3d(0px, 0px, 0px) }
    .navbar-nav {
        float: left !important;
        margin: 0px !important;
        display: inline;
        width: 100%;
    }

    .navbar-inverse .navbar-nav > li > a {
        color: #f1f1f1 !important;
    }

    .menu > li {
        display: block !important;
        padding: 10px;
    }
    .menu > li > a {
        color: rgba(255, 255, 255, 0.5);
        padding: 0 !important;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover { color: #39B54A }
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #F1F1F1;
        line-height: 8px;
        font-size: 13px;
        font-weight: normal !important;
    }
    .nav .open > a,
    .nav .open > a:hover,
    .nav .open > a:focus { background-color: transparent !important; }
    .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
        background-color: transparent !important;
        color: #39B54A !important;
    }
    .dropdown-menu { padding: 3px 0 }
    .navbar-inverse .navbar-collapse,
    .navbar-inverse .navbar-form {
        border-color: #101010;
        position: fixed;
        background-color: rgb(77, 77, 77);
        width: 100%;
        border-bottom: 1px solid;
    }
    .menu { padding: 0 }
    .dropdown-menu > li { padding: 5px !important }
    .dropdown-menu > li > a { font-weight: bold !important }
}
@media screen and (min-width: 768px) and (max-width: 991px) { 
    .navbar-nav {
        float: right !important;
        /*text-transform: none !important;*/
    }
    .menu > li > a {
        letter-spacing: 1px !important;
        padding: 15px 5px !important;
    }
}
@media screen and (max-width: 768px) { 
    .menu > li { padding: 5px !important }
    .logo-brand {
        overflow: hidden;
        position: relative !important;
        top: 0;
        height: 70px !important;
        background-color: transparent !important;
        width: 140px;
        box-shadow: none !important;
    }
}
.menu > li {
    display: inline;
    gspadding: 0 15px 0 15px;
    position: relative;
}
.navbar {
    background-color: #FFF;
    margin-bottom: 0;
    transition: top 0.2s ease-in-out;
    width: 100%;
}
.navbar-nav {
    float: right;
    text-transform: uppercase;
    margin-top: 9px;
}
.navbar-inverse .navbar-nav > li > a {
    color: #000;

}
.navbar-inverse .navbar-nav > li > a:hover {
    color: rgb(57,181,74);
    /*border-top: solid 2px rgb(57,181,74);*/
}
@media (min-width: 768px) and (max-width: 991px) { 
    .navbar-brand { padding: 10px 0 0 !important }
    .navbar-inverse .navbar-nav > li > a {
        font-size: 9px;
    }
}
@media (min-width: 991px) { 
    .logo-brand {
        overflow: hidden;
        position: absolute;
        top: 0;
        height: 70px;
        background-color: #FFF;
        width: 140px;
        box-shadow: 3px 0px 32px -2px #000;
        -webkit-transition: all 450ms ease-in-out;
        -moz-transition: all 450ms ease-in-out;
        -o-transition: all 450ms ease-in-out;
        transition: all 450ms ease-in-out;
    }
    .navbar-brand {
        height: auto;
        padding-left: 40px;
    }
    .jotain {
        overflow: hidden;
        position: absolute;
        top: 0;
        height: auto;
        background-color: transparent;
        width: 140px;
        box-shadow: none;
        -webkit-transition: all 450ms ease-in-out;
        -moz-transition: all 450ms ease-in-out;
        -o-transition: all 450ms ease-in-out;
        transition: all 450ms ease-in-out;
    }
    .jotain > .navbar-brand { padding-top: 9px }
}
/*SIVUNAVI SISÄSIVUILLA*/
.nav-stacked > h3 {
    margin-top: 16px;
    margin-bottom: 10px;
    margin-left: 0px;
    text-decoration: underline;
}
.nav-stacked > li > a {
    border-bottom: 1px dashed #39B54A;
    border-radius: 0;
}
.nav-stacked > li > ul > li > a {
    display: block;
    padding: 10px 15px;
}
.nav-stacked > li > ul > li {
    border-bottom: 1px dashed #39B54A;
    border-radius: 0;
    list-style: square;
}
.nav-stacked > li > ul > li :hover { background-color: rgba(0,0,0,0.2) }
.nav-stacked > li + li { margin: 0 !important }
.nav-stacked > li {
    background-color: FFF;
    color: #000 !important;
}
.nav-stacked > li > a:hover { background-color: rgba(0,0,0,0.2) }
.nav-stacked {
    /*margin-top: 25px;
    text-transform: uppercase;*/
}
.nav-stacked > li.current_page_item { background-color: #f5f5f5 }
.nav-stacked > li.current_page_item  > ul { background-color: #FFF !important }
.nav-stacked > li > ul > li.current_page_item { background-color: rgba(0,0,0,0.2) }
/*header*/
.carousel { margin-bottom: 0 }
.header {
    width: 100%;
    background-color: #e9e9e9;
}
.carousel-caption  > p {
    color: #000;
    text-shadow: none;
}
/*etusivun ajankohtaiset ja uutiset sivu*/
.articles-list { min-height: 100px }
.article-details > div {
    display: inline;
    font-size: 12px;
    padding: 0;
}
.article-details > div > i {
    padding-right: 5px;
    padding-left: 4px;
}
/*
.article-category::after {
content:"/";
color: #000;
padding: 0 4px;
}
*/
.article-written-by::before { }
.article-category,
.article-written-by { text-transform: uppercase }
.article-details {
    margin-bottom: 10px;
    border-bottom: 1px solid #848484;
    overflow: hidden;
    padding-bottom: 10px;
    padding-left: 4px;
}
.summary { font-size: 13px !important }
.taso-1 { background-color: #E6E5E4 }
.taso-2 {
    background-color: #FFF;
    position: relative;
    box-shadow: 0px -3px 51px -11px #000;
    z-index: 1;
}
.single-news > a > .attachment-post-thumbnail {
    height: 170px !important;
    width: 100% !important;
}
@media (min-width: 992px) {
    .left-column-news:first-child {
        border-bottom: 1px solid #000;
    }

    .left-column-news-all {
        min-height: 170px;
    }
}
li.left-column-news-all:first-child,li.left-column-news-all:nth-child(2n+3) {
    background-color: #efefef;
}

li.left-column-news-all {
    min-height: 133px;
}

.all-news > a > .attachment-post-thumbnail { width: 100% !important }
.latestnews-title { font-size: 18px }
.no-border > .article-details > .articleCreated { border-top: none !important }
.wrapit {
    overflow: hidden;
    height: 80px;
    margin-top: 8px;
}
.pienikuva { float: left }
.latestnews-title-small {
    overflow: hidden;
    padding-left: 5px;
    min-height: 16px;
}
.article-created-small {
    font-size: 12px;
    padding-left: 5px;
    overflow: hidden;
}


@media screen and (max-width: 400px) { 
    .thumbnail { width: 100% !important }
}
.latestnews-title > a:hover,
.latestnews-title > a:active,
.latestnews-title > a:focus { text-decoration: none }
/**
.latestnews-title > a::before {
position: absolute;
margin: auto;
z-index: 1;
content: "";
width: 75%;
height: 2px;
background: #000 none repeat scroll 0% 0%;
bottom: -9px;
left: 12.5%;
}
**/
.latestnews-img {
    display: table;
    margin: 0 auto;
}
.latestnews-img > a > img {
    max-width: 100%;
    height: 100%;
}

.articleCreated {
    margin-bottom: 5px;
    border-top: 1px solid #000;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 15px;
}
.articleCreated > i { padding-left: 10px }
.articleCreated > i::before { margin-right: 6px }
.newsheading {
    display: table;
    margin: 0 auto;
    margin-bottom: 30px;
}
/*
.attachment-post-thumbnail {
width: 300px;
height: 150px;
}
*/
.thumbnail { transition: all 0.2s ease-in-out-in-out 0s !important }
/*
.attachment-medium  {

height: 200px !important;
width: 300px !important;
}
*/
@media (max-width: 768px) { 
    .mobile-img {
        max-width: 70px;
        max-height: 70px;
    }
}
@media (max-width: 500px) { 
    .mobile-display-none { display: none }
    .mobile-display-full { width: 100% !important }
}
@media screen and (max-width: 991px) { 
    .attachment-medium { height: 75px; width: 75px;}

    .caption { max-height: 100px }
}
/*
@media (min-width: 1199px) {
.fff { margin-top: 30px; }
}
*/
.post {
    overflow: hidden;
    margin-top: 15px;
    border-bottom: solid 1px #999;
    padding-bottom: 15px;
}
.post:first-child { margin-top: 0 }
.post:last-child { border: none }
.articleInfo { overflow: hidden }
.wrapper { overflow: hidden }
/*FOOTER*/
#menu-footernavbar1,
#menu-footernavbar2,
#menu-footernavbar1 > li,
#menu-footernavbar2 > li { padding: 0 !important }
#menu-footernavbar1 > li > a,
#menu-footernavbar2 > li > a,
#menu-footernavbar1 > li > ul > li > a {
    /*color: #ddd;*/
    color: #39b54a;
    font-weight: normal;
    padding: 0 !important;
    letter-spacing: 1px;
    display: block;
}
#menu-footernavbar1 > li > ul { padding-left: 20px !important }
/*#menu-footernavbar1 > li > ul > li > a, #menu-footernavbar2 > li > ul > li > a  { color: #d9d9d9 !important }*/
#menu-footernavbar1 > li > .menu-mainnav > .current_page_ancestor > a::before,
#menu-footernavbar1 > li.active > a::before,
#menu-footernavbar1 > li > a:hover::before,
#menu-footernavbar1 > .current-page-ancestor > a::before {
    border: none !important;
    left: auto !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    height: auto !important;
    content: normal !important;
}
#menu-footernavbar2 > li > .menu-mainnav > .current_page_ancestor > a::before,
#menu-footernavbar2 > li.active > a::before,
#menu-footernavbar2 > li > a:hover::before,
#menu-footernavbar2 > .current-page-ancestor > a::before {
    border: none !important;
    left: auto !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    height: auto !important;
    content: normal !important;
}
.widget > ul > li > a { color: #DDD }
@media screen and (max-width: 768px) { 
    /*footer { margin-bottom: 44px !important }*/
}
/* Ohjausryhma styles and fixes */

.ohjausryhma { background-color: #FFF }

.maincontent #fsfe img {
    padding-bottom: 8px;
    padding-top: 2px;
}

/* End ohjausryhma */
.heading {
    display: block;
    margin: 10px 0 25px 0;
}
footer {
    position: relative;
    bottom: 0;
    width: 100%;
    color: #FFF;
}

.page-footer {
    color: #fff !important;
}

.footeryla {
    padding: 20px 10px;
    background-color: #272727;
}
.footerimage { background-repeat: no-repeat }
.footerala { background-color: #FFF }
.some {
    font-size: 25px;
    overflow: hidden;
}
.some li {
    float: left;
    display: inline;
    list-style: none;
    margin-right: 5px;
    margin-bottom: 3px;
}
.footerli > li {
    margin: 0 !important;
    list-style: none !important;
}
ul.footerli { padding: 0 }

@media (max-width: 475px) {
    .col-footer {
        width: 100% !important;
    }
}

h4.widgettitle {
	color: #000;
	border-bottom: solid 1px #000;
	padding: 0 20px;
	line-height: 50px;
	background: #f1f1f1;
	font-size: 15px;
	text-transform: uppercase;
}


.footeryla  h4.widgettitle {
 	/*color: #39B54A;*/
	color: #e9ffec;
	font-weight: bold;
 	background: transparent;
	border: none;
	line-height: 20px;
	padding: 0;
}
/*
YHTEYDENOTTO
*/
div.wpcf7 {
    margin: 0px;
    padding: 12px;
    /*box-shadow: 10px 10px 10px #eee;*/
    border-radius: 4px;
}
.wpcf7-form-control {
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}
.wpcf7-textarea,
.wpcf7-text { width: 100% }
.control-label { padding-top: 8px }
.contactform {
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    padding-bottom: 10px;
}
/*UUTISET*/
.wp-caption {
    background-color: #e9e9e9;
    padding: 5px;
    border-radius: 4px;
}

.tagit > .fa-tags {
    padding: 15px 4px;
}

.tags > ul > li {
    list-style: none;
    display: inline;
}
.tags > ul > li > a:first-child { padding-left: 5px }
.tags > ul { padding-left: 0 !important }
.article-date-slash::after {
    content: "/";
    padding: 0 4px;
}
/*pagination*/
.page-numbers {
    float: left;
    padding: 0 14px;
    line-height: 34px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-left-width: 0;
}

.pagination > li > .current,
.pagination > li > .current:hover {
    z-index: 2;
    color: #FFF;
    cursor: default;
    background-color: #337AB7;
    border-color: #337AB7;
}
.sivuotsikko {
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    font-size: 15px;
    background-color: #F1F1F1;
    padding: 0 20px;
    line-height: 50px;
}
/*artikkelit*/
.article { margin-right: 50px; }
@media (max-width: 768px) { 
    .article { margin-right: 0 !important }
}
.tekstiosio > p > a > img {
    /*margin-bottom: 10px;*/
    max-width: 100%;
    height: auto;

}
@media (max-width: 768px) { 
    .postsAll { padding: 0 !important }
}
.postsAll > div > .post {
    border-bottom: 1px solid #e9e9e9;
    margin-top: 10px;
}
/*ETUSIVU TERVETULO & OHJAUSRYHMÄ*/
.uutiskirje { padding: 70px 20px 65px }
input.wysija-submit.wysija-submit-field {
    color: #FFF;
}
/*input.wysija-input {
    width: 100%;
}
*/
/**
@media (min-width: 1199px) { 
    .shadow {
        border: 3px solid #ccc;
        position: relative;
        padding: 10px;
        box-shadow: 4px 14px 20px #d4d4d4;
        border-radius: 2px;
    }
    .shadow::before {
        content: "";
        display: inline-block;
        border-left: 35px solid transparent !important;
        border-right: 35px solid transparent !important;
        border-top: 35px solid #ccc !important;
        position: absolute;
        left: 47%;
        top: 0;
    }
}
**/
.uutiskirje-input { width: 320px }
.elementti {
    position: absolute;
    background-repeat: no-repeat;
    bottom: 0;

    width: 100%;
    bottom: 370px;
    z-index: -2;
}
@media (min-width: 991px) and (max-width: 1199px) {
    .elementti {
        bottom: 425px;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    .elementti {
        bottom: 698px;
    }
}

@media (max-width: 768px) {
    .elementti {
        bottom: 698px;
    }
}

.welcome-text {
    padding-top: 118px;
    padding-bottom: 118px;
}
@media screen and (max-width: 768px) { 
    .welcome-text {
        padding-top: 40px;
        padding-bottom: 80px;
    }
    .uutiskirje-input { width: 100% }
}
.ohjaus > img { height: 75px !important }
@media screen and (max-width: 500px) { 
    .col-100 { width: 100% }
}
.fbbox,
.twitterbox,
.cossbox {
    #border: 2px solid #0B610B;
    border-radius: 6px;
    padding: 10px;
    background-color: #FFF;
    min-height: 530px;
}

@media (max-width: 991px) {
    .cossbox {
        min-height: 576px !important;
    }
}

.caption > blockquote {
    font-size: 16.5px !important;
    padding: 0 0 0 10px;
}
/*news slider*/
/* Global */
@media screen and (max-width: 768px) { 
    .caption {
        min-height: 0 !important;
        padding-bottom: 30px;
    }
    .readmore { position: relative !important }
}
@media (min-width: 991px) and (max-width: 1199px) {
    .caption {
        padding-left: 10px;
    }
}

.caption {
    position: relative;
    /*min-height: 150px;*/
    word-break: normal !important;
}
.readmore {
    position: absolute;
    bottom: 0;
}
a {
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
}
a:hover {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
    filter: alpha(opacity=50); /* IE7 */
    opacity: 0.6;
    text-decoration: none;
}
/* Carousel Control */
.control-box {
    text-align: center;
    width: 100%;
}
.carousel-control {
    background: #666;
    border: 0px;
    border-radius: 0px;
    display: inline-block;
    font-size: 34px;
    font-weight: 200;
    line-height: 18px;
    opacity: 0.5;
    padding: 4px 10px 0px;
    position: static;
    height: 30px;
    width: 15px;
}
/* Mobile Only */
@media (max-width: 767px) { 
    .control-box { text-align: center }
}
@media (max-width: 479px) { 
    .caption { word-break: break-all }
}
@media screen and (max-width: 768px) { 
    .desktopnews { display: none !important }
}
@media screen and (max-width: 768px) { 
    .mobiilinews { display: block !important }
}
/*KALENTERI*/
.em-calendar { width: 100% }
/*KOMMENTIT*/
#social .social-input-row .social-label {
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
    padding-bottom: 4px;
    font-family: 'Ubuntu', sans-serif;
}
#social .social-input-row,
#social .form-submit { padding-left: 0 !important }
#social input.social-input,
#social .social-select {
    height: 25px;
    padding-bottom: 11px;
    padding-top: 11px;
    background: #FFF !important;
    border-radius: 0 !important;
}
#social textarea.social-input {
    background: #FFF !important;
    border-radius: 0 !important;
    width: 70% !important;
}
.comment-form-wp_spam_question_filter > .form-control {
    border: 1px solid #ccc !important;
    width: 45.1% !important;
    height: 25px !important;
    border-radius: 0 !important;
}
.form-group > label { font-family: 'Ubuntu', sans-serif !important }
#social input#submit {
    font: normal 13px 'Ubuntu', sans-serif !important;
    color: #FFF !important;
    background: #39B54A !important;
    text-shadow: none !important;
}
#social #respond textarea.social-input {
    height: 120px !important;
    width: 100% !important;
    max-width: 100% !important;
}
#social .social-sign-in-links a { margin: 3px 15px !important }
.social-sign-in-links { width: 100% !important }
#social #reply-title,
#social .social-nav .social-current-tab {
    background: none !important;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
#social .social-replied {
    left: -19px !important;
    top: -18px !important;
}
#social .social-identity .avatar { position: relative !important }
/*Tilaa uutiskirjesivu, coss > tilaa uutiskirje*/
input#MERGE0,
input#MERGE1,
input#MERGE2 {
    display: block;
    width: 300px;
}
.radio { margin-left: 20px }
/*YhteistyÃ¶kumppanit table*/
.kumppanit > tbody > tr > td { padding: 10px }
/*ARCHIVE*/
.wrapit-artikkelit {
    overflow: hidden;
    height: auto;
    margin: 22px;
}
.archive-details {
    overflow: hidden;
    padding-left: 5px;
}
/*SIDEBAR YLEISET*/
.sidebar-heading.col-xs-9 {
    padding: 0;
    padding-left: 12px;
    margin-top: 8px;
}

.sidebar-thumb.col-xs-3 {
    padding: 0;
}

.sidebar {
    overflow: hidden;
    margin-bottom: 20px;
}

.sidebar-heading {
    font-size: 13px;
    overflow: hidden;
    padding-left: 18px;
    padding-top: 6px;
}

.right-bar {
    margin-top: 40px;
    overflow: hidden;
}

.sidebar-thumb {
    margin-top: 5px;
    margin-bottom: 4px;
    float:left;
}

.sidebar-wrapper {
    margin-top: 7px;
    overflow: hidden;
    border-bottom: 1px solid #ccc;
}
.sidebar-wrapper:last-child {
    border-bottom: none !important;
}

.sidebar-sidebar { background-color: rgba(0,0,0,0.015) }
.some-box {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: table;
    margin: 0 auto;
    margin-top: 20px;
}
.some-box-fb { padding-bottom: 10px }
.some-box-twitter {
    padding-top: 10px;
    border-top: 1px solid #eee;
}
@media (min-width: 991px) { 
    .some-box { width: 100% }
}
/*HAKUJUTUT*/
.hakutulokset { margin-left: 60px }
#searchsubmit {
    padding: 4px;
}

/*TESTAILUJA*/

.scroll-back-top {
    right: 18%;

    position: fixed;
    z-index: 199999;
    background-color: #3b3b3b;
    padding: 12px;
    font-size: 17px;
    bottom: 0;




}



/*hovernav*/
/*
Navbar "hovernav" dropdown menu - this works only for screen sizes larger than phones.
The Bootstrap CSS is unchanged.
*/
@media (min-width: 768px) {
    /* Use this if you wish to hide the caret
    .navbar-nav .caret {
      display: none;
    } 
    */
    .navbar-nav .open ul {
        display: none
    }


    .navbar-nav .hovernav:hover > .dropdown-menu {
        display: block;
    }
}


/*YHTEYSTIEDOT*/
.contact-thumb {
    overflow: hidden;
    float: left;
}

.contact-info {
    overflow: hidden;
    font-size: 13px;
}

.contact-wrap > .row > .col-lg-6 {
    max-height: 160px;
}

/* event manager additions, parts sent upstream, possibly remove in the future */

#event-form {
	width: 650px;
}

.em-location-map-container {
}

#em-location-data {
	height: 400px;
}

#em-location-data input{
	width: 400px;
}

#em-location-data td {
	display: inline;
}

.event-categories select {
	width: 300px;
}


#event-form input {
    width: none;
}

#event-form label {
    display: inline;
}

#event-form table.em-location-data td, #event-form table.em-location-data th {
    text-align: left;
}

#event-form input[type="checkbox"] {
    float: left;
    margin: 0 3px 0 0;
}

/* an exception not to apply floating to */
#event-form input[type="checkbox"]#em-time-all-day {
    float: none;
    margin: 0;
}

#event-form #weekly-selector input[type="checkbox"], #em-time-all-day {
    float: none;
    margin: 3px 3px 0 6px;
}

.col-md-12 {
	list-style-type:none;
}

#em-calendar-181 td{
	list-style-type: none !important;
}



/* Added Aug 2016 */

.article-list {
	margin-top: 40px;
	margin-bottom: 25px;
}


/* -------------- */



/* Added 21.10.2016 */

h4 {
	margin-top: 25px;
}



/* -------------- */




/* Added 4.11.2016 */

.eu-logo {
	max-width: 100px;
}


/* -------------- */


/* Added Dec 2016 */

.attachment-single-article-post-thumb {
        /*margin: 10px;
        float: right;*/

        width: 100%;
        margin: 0;
        margin-bottom: 20px;
}

@media (min-width: 992px) {

        .attachment-single-article-post-thumb {
                width: inherit;
                margin: 10px;
                float: right;
        }


}

/* -------------- */


/* Added 02/2017 */

.menu-ajankohtaista-sivun-valikko-container {
    margin-bottom: 20px;
}


.coss-member-list-item {
        padding: 40px;
}


.coss-member-list-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}

.coss-member-list-row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.coss-member-list-row > [class*='col-'] > p {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%)
}

.coss-member-list-item a {
        text-align: center;
}


.coss-member-initial-list-item {
	float: left;
	margin-right: 12px;
}



/* -------------- */



