@import url('https://fonts.googleapis.com/css?family=Lora:400,400i,700|Roboto:300,400,400i,500,700&subset=latin-ext');
body {
    font-family: 'Roboto', sans-serif;
    /*font-family: 'Lora', serif;*/
}
h2, h3, h4, article>.details, .event>.details {
    font-family: 'Lora', serif;
}
html, body {
    margin:0;
    padding:0;
}
.wide,.narrow {
    margin: auto;
}
.wide {
    width:85%;
}
.left {
    float: left;
}
.right {
    float: right;
}
.center {
    text-align: center;
}
a {
    color:inherit;
    text-decoration: none;
}
h1 {
    margin: 0px;
    padding:0px;
    font-weight: normal;
    font-style: italic;
    line-height: 50px;
    font-size:24px;
}
h1>small {
    font-size:16px;
}
h2 {
    font-weight: normal;
    font-style: italic;
    font-size:36px;
    margin: 0px;
    padding:0px;
    margin-top: 20px;
}
main h2 {
    text-align: center;
}
h3 {
    font-weight: normal;
    font-style: italic;
    font-size:30px;
}
.bubble h3 {
    margin: 0px;
    padding: 0px;
    font-size: 16px;
}
.bubble .row {
    padding:0px;
}
h4 {
    font-weight: normal;
    font-style: italic;
    font-size:30px;
    padding: 0px;
    margin: 0px;
}
h5 {
    font-style: italic;
    font-size:25px;
}
ul {

}
ul.data, ul.data>li{
    display: block;
    margin: 0;
    padding: 0;
}
ul.inline>li {
    display: inline-block;
    width:50%;
}
.button {
    background-color:#5fb36d;
    display: block;
    text-align: center;
    text-align-last: center;
    color:#fff;
    padding:10px;
    margin-top:10px;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}
header {
    box-shadow: 0px 4px 15px rgba(0,0,0,0.5);
    color:#fff;
}
#hair {
    height:50px;
    background: #5fb36d;
    background: -moz-linear-gradient(top, #5fb36d 0%, #598f54 100%);
    background: -webkit-linear-gradient(top, #5fb36d 0%,#598f54 100%);
    background: linear-gradient(to bottom, #5fb36d 0%,#598f54 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5fb36d', endColorstr='#598f54',GradientType=0 );
    font-family: 'Roboto', sans-serif;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.5);
    position: relative;
    z-index:2;
}
#hair .e {
    display: inline-block;
    margin-top: 14px;
    vertical-align: middle;
    margin-left: 20px;
}
#hair .e>*{
    vertical-align: middle;
}
#hair .e>img{
    margin-top: -2px;
    margin-right: 5px;
}
#head {
    height:270px;
    background-image: url('../../static/header.jpg');
    background-size: cover;
    background-position: top -15vw center;
    position: relative;
    z-index:1;
    box-shadow: 0px 0px 190px rgba(0,0,0,0.5) inset;
}
#title {
    position: absolute;
    top:40px;
    left: 10vw;
}
#title>img{
    height:150px;
}
#menu {
    height:50px;
    background: #5fb36d;
    background: -moz-linear-gradient(top, #598f54 0%, #5fb36d 100%);
    background: -webkit-linear-gradient(top, #598f54 0%,#5fb36d 100%);
    background: linear-gradient(to bottom, #598f54 0%,#5fb36d 100%);
    box-shadow: 0px 4px 15px rgba(0,0,0,0.5);
    position: relative;
    z-index:2;
}
#menu nav {
    text-align: center;
}
#menu nav ul, #menu nav li {
    display: inline-block;
    margin:0;
    padding:0;
    list-style: none;
}
#menu nav li{
    display: inline-block;
    height: 50px;
    line-height: 50px;
    font-style: italic;
    font-family: 'Lora', serif;
    font-size: 26px;
}
#menu nav li>a{
    display: block;
    height:100%;
    color:#fff;
    text-decoration: none;
    border-radius:5px;
    padding:0px 40px;
}
#menu nav li>a:hover{
    border-bottom:5px solid #fff;
    background-color: rgba(255,255,255,0.1);
}
#menu nav li.active>a{
    border-bottom:5px solid #598f54;
}
#body {
    background-color: #F1E8D6;
}
#content {
    background-color: #fff;
    min-height: 500px;
    box-shadow: 0px 0px 30px rgba(0,0,0,0.5);
}
#content>aside, #content>main {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
#content>aside {
    width:18%;
    margin-left:2%;
    background-color: rgba(0,0,0,0.05);
    padding:0px 20px 20px 20px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
#content>main {
    padding:0px 20px 20px 20px;
    width:70%;
    width:calc(82% - 113px);
}
#content>aside>.CMSContentBox {
    margin-top:20px;
}
.CMSModule_iss_mini_calendar .calendar {
    width:100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-radius:5px;
    overflow: hidden;
}
.CMSModule_iss_mini_calendar .calendar thead {
    background-color:#5fb36d;
    color:#fff;
    border-radius:5px;
    overflow: hidden;
}
.CMSModule_iss_mini_calendar .calendar thead>tr {
    border-radius:5px;
    overflow: hidden;
}
.CMSModule_iss_mini_calendar .calendar thead th{
    padding:5px;
}
.CMSModule_iss_mini_calendar .calendar thead tr:first-child {
    font-family: 'Lora', serif;
}
.CMSModule_iss_mini_calendar .calendar thead tr:last-child th, .CMSModule_iss_mini_calendar .calendar .calLeft,.CMSModule_iss_mini_calendar .calendar .calRight{
    font-weight: bold;
    color:#ddd;
    font-family: 'Lora', serif;
}
.CMSModule_iss_mini_calendar .calendar .calActDate {
    border:2px solid red;
}
.box {
    box-shadow: none;
    margin-top:20px;
    border-radius:5px;
}
.box>.head {
    background-color:#5fb36d;
    font-family: 'Lora', serif;
}
.box .head h3 {
    border-radius: 5px;
    max-width: calc(100% - 30px);
}
.CMSModule_iss_search input {
    border: 1px solid #5EB270;
}
.CMSModule_iss_search input[type="submit"] {
    background-color: #5EB270;
}
/*CONTENT*/

.listItem .name {
    line-height: 16px;
}
.listItem .city>.address {
    font-size:14px;
}
.listItem .distance {
    line-height: 15px;
}
.listItem .cover {
    border-radius: 5px;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}
.CMSModule_iss_search input[type="search"] {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.CMSModule_iss_search input[type="submit"] {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.newsItem .lead_picture img {
    border-radius: 5px;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}
.box .head h3 {
    box-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}
/*ARTICLE*/

.article {
    background-color: #F0F0F0;
    position: relative;
    margin-bottom:20px;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
}
.article>picture, .article>.details {
    display: inline-block;
    vertical-align: top;
    line-height: 0px;
}
.article>picture {
    width:300px;
}
.article>picture>img {
    width:300px;
    border-radius:2px;
}
.article>.details {
    width:calc(100% - 400px);
    padding:16px 20px;
    line-height: normal;
}
.article>.details>.date {
    position: absolute;
    top:20px;
    right:20px;
    background-color: #fff;
    border: 1px solid #666;
    padding:1px 12px 5px 12px;
    text-align: center;
    font-size:24px;
}
.article>.details>.date>.month {
    font-size: 16px;
}
.article>.more {
    color:#666;
    text-align: right;
    position: absolute;
    bottom:10px;
    right:20px;
}

/*EVENT*/

.event>picture, .event>.details {
    display: inline-block;
    vertical-align: top;
}
.event>picture {
    width:100px;
}
.event>picture>img {
    width:100%;
    border-radius:2px;
}
.event>.details>.name, .event>.details>.date {
    font-style: italic;
}
.event>.details>.name {
    font-size: 20px;
    margin-top:3px;
}
.event>.details>.date {
    color:#666;
}

/* GENERAL */
.general {
}
.general>picture, .general>.details {
    display: inline-block;
    vertical-align: top;
}
.general>picture {
    width:200px;
    margin-right: 10px;
}
.general>.details {
    width:100%;
    width:calc(100% - 220px);
    padding-right: 10px;
}
.general>picture>img {
    width:100%;
    border-radius:2px;
}
.general>.details {
    white-space: normal;
}
.general>.details>.name, .general>.details>.date {
    font-style: italic;
}
.general>.details>.name {
    font-size: 20px;
    margin-top:3px;
}
.general>.details>.date {
    color:#666;
}
footer {
    background: #bc8c7a;
    background: -moz-linear-gradient(top, #bc8c7a 0%, #99543b 100%);
    background: -webkit-linear-gradient(top, #bc8c7a 0%,#99543b 100%);
    background: linear-gradient(to bottom, #bc8c7a 0%,#99543b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bc8c7a', endColorstr='#99543b',GradientType=0 );
    overflow: hidden;
    padding:20px;
    text-align: center;
    color:#fafafa;
    text-shadow:0px 1px 0px rgba(255,255,255,0.2);
    font-family: 'Lora', serif;
    box-shadow: 0px -4px 15px rgba(0,0,0,0.25);
}
footer a{
    font-style: italic;
}
footer>small{
    font-size: 14px;
}
#menu nav>.e:hover {
    background: rgba(255,255,255,0.3);
    text-decoration: underline;
}
a:hover {
    text-decoration: underline;
}
#menu nav>.e>a:hover {
}

/*DATASHEET*/

.datasheet_head {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0px 0px 190px rgba(0,0,0,0.5) inset;
}
.datasheet_head>h2 {
    border-radius:5px;
    padding:10px !important;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
}
.datasheet_head>h3 {
    border-radius:5px;
}
.datasheet_gallery .gallery_title {
    margin-top: 0px;
}
.datasheet_gallery .image {
    border-radius:5px;
    overflow: hidden;
}
.datasheet_gallery .image img {
    border-radius:5px;
}

/*RESPONSIVE*/

@media screen and (max-width: 1600px) {
    .wide {
        width:95%;
    }
}
@media screen and (max-width: 1350px) {
    .wide {
        width:100%;
    }
    #hair>.wide {
        width:98%;
    }
}
@media screen and (max-width: 1200px) {
    #hair {
        height: auto;
        text-align: center;
    }
    .left, .right {
        float: none;
    }
    h1 {
        line-height: 38px;
    }
    #hair .e {
        margin:5px;
    }
}
@media screen and (max-width: 1100px) {
    #menu {
        height: auto;
    }
}
@media screen and (max-width: 1024px) {
    .box {
        margin-top: 20px !important;
    }
}
@media screen and (max-width: 800px) {
    #content>aside, #content>main {
        width: auto;
        display: block;
    }
    #head {
        background-position: top center;
    }
    .CMSModule_facebook, .CMSModule_iss_mini_calendar {
        display: none;
    }
}