/*
<link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,700' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900" rel="stylesheet" type="text/css">
*/

/* hide author info in byline */

.documentAuthor {
    display: none;
}

/* fix content images not being responsive */
#content-core img {
    max-width: 100%
}

body {
    background: #fff;
    font-size: 16px;
    
}

.plone-navbar {
    background-color: #79B85F;
    
}

#portal-logo img {
    max-height: 120px;
}

#content-header {
    background: #fff;
    padding: 1em;
}

.plone-navbar-nav > li > a {
    margin: 1px 0px;
}

.plone-nav > li > a, 
.plone-nav > li > a:hover {
  color: #fff;
}

.plone-navbar-nav > .selected > a, 
.plone-navbar-nav > .selected > a:hover,
.plone-navbar-nav > li >  a:hover,
.plone-navbar-nav > .selected > a:focus {
    color: white;
    background-color: #3EA233;
}


#portal-footer-wrapper {
    background-color: #79B85F;
    color: #fff !important;
    border-top: 2px solid #0a7b98;
}

#portal-footer-wrapper a {
    color: #fff;
}

#portal-footer-wrapper p,  
#portal-footer-wrapper h3{
    border-bottom: none;
    color: #fff;

}

#portal-footer-wrapper .portletWrapper:first-child {
    border-bottom: none;
}

#portal-footer .portlet .portletHeader {
    color: #fff;
}

.documentFirstHeading {
    padding-bottom: 9px;
    margin: 0 0 10px;
    border-bottom: 1px solid #79B85F;
}


h1, h2, h3, h2 a, .portlet .portletHeader > a {
    color:#0A7B98;
    font-family: 'Raleway', "Open Sans", sans-serif;
}  

td h2 {
    margin-left: 0.5em;
}

.plone-navbar {
    border: none;
    box-shadow: none;
    border-bottom: 3px solid #5E96A4;
}

.timezone {
    display: none;
}

#portal-footer-wrapper p, 
#portal-footer-wrapper .portletWrapper:first-child {
    border-bottom: none;
}

#portal-footer-wrapper .row {
    display: block;
}

.issue-articles li {
    padding: 1em 0em;
}

/** Navigation portlet **/
.portletNavigationTree .portletContent > ul > li > a {
    background: transparent;
}
.portletNavigationTree .portletContent > ul > li:not(.navTreeTopNode) > a {
    padding-left: 2em;
}
.portletNavigationTree .portletContent .navTreeCurrentNode a {
    color: #086ca3;
    background: #fcfcfd;
    font-weight: bold;
}
.portletNavigationTree .portletContent a:before {
    display: none;
}



.portletCollection ul li {
    list-style: none;
    margin-left: -2.5em !important;
}

.portlet .portletHeader {
    background: none;
    color: #0A7B98;
    font-family: 'Raleway', "Open Sans", sans-serif;
    font-size: 24px;
}

.portlet {
    border: none;
    box-shadow: none;
}

.authors {
    margin: 1em 0em;
    font-weight: bold;
}

.articlelink {
    font-size: 1.2em;
}

p {
    font-weight: 400;
    font-size: 110%;
    line-height: 1.6em;
}

.mosaic-grid-cell ul, .mosaic-grid-cell ol {

    padding-left: 1em;

}


#portal-searchbox .searchSection {
    display: none;
}

.searchButton {
    background: #79B85F;
    color: #fff;
    border: none;
    height: 2.5em;
}

#searchGadget {
    border: none;
}


.article-metadata {
    padding-bottom: 1em;
}


#article-intro, 
.section-journals .documentDescription {
    background: #F6FCF6;
    padding: 1em;
    margin: 1em 0em;
}

.pat-autotoc:not(.autotabs) .autotoc-nav {
    margin: 1em;
    background-color: #F6FCF6;
    line-height: 1.5em;
    
}


/* mobile tweaks */

@media screen and (max-width: 768px) {
    #portal-header #portal-searchbox { 
        display: none;
}

.col-xs-6 {
    width: 99%;
}

#portal-logo img {
    width: 100%;
}
}

@media print {
    p {
        font-size:100%!important;
    }
    #edit-zone {
        display:none;
    }
    #portal-languageselector {
        display: none;
    }
    #mainnavigation-wrapper {
        display: none;
    }
    #portal-footer-wrapper {
        display: none;
    }
    #portal-anontools {
        display: none;
    }
    .portlet:not(.portlet-static-artikkeliin-viittaaminen) {
        display:none;
    }
    .portlet-static-artikkeliin-viittaaminen {
        flex:none;
    }
    #main-container > div {
        flex: none!important;
        max-width: none!important;
        width: 100%!important;
    }
    .sidebar-offcanvas {
        flex: none!important;
        max-width: none!important;
        width:100%!important;
    }
    #content-core .glyphicon {
        display: none;
    }
    #viewlet-below-content {
        display: none;
    }
}