@import "//www.thm.de/_thm/fonts/opensans/opensans.css";
@import "//www.thm.de/_thm/fonts/thm/thm.css";


.thmgreen {
    color: #80ba24;
}

html{
  font-family: Helvetica,Arial,sans-serif;
}

body{
    font-family: "Open Sans",Arial,Helvetica,sans-serif;
  background: #f2f4f5 none repeat scroll 0 0;
    color: #394a59;
  line-height: unset;
}

a {
    background: transparent none repeat scroll 0 0;
    color: #9c132e;
    text-decoration: none !important;
}

a:hover, a:focus{
    text-decoration: none !important;
}

img {
    height: auto;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: #394a59;
    font-family: "THM-Medium",Arial,Helvetica,sans-serif;
    font-weight: 400;
    margin: 0;
}

h2, h1 {
    font-size: 228.571%;
    line-height: 1.3125;
    margin: 0 0 0.2em;
}


h3 {
    font-size: 140%;
    line-height: 1.1;
    margin: 0 0 0.4em;
}

p {
    font-size: 100%;
    line-height: 1.5;
    margin: 0 0 1.5em;
}


hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: transparent none repeat scroll 0 0;
    border-color: -moz-use-text-color -moz-use-text-color #eeeeee;
    border-image: none;
    border-style: none none solid;
    border-width: 0 0 1px;
    color: #fff;
    margin: 0 0 0.75em;
    padding: 0 0 0.67857em;
}

ul, ol, dl {
    font-size: 100%;
    line-height: 1.5;
    margin: 0 0 1.5em;
}

li {
    font-size: 100%;
    line-height: 1.5em;
    margin-left: 1.2em;
}

dl.article-info, dl.article-info dd {
    margin: 0;
    padding: 0;
}

dl.article-info {
    margin-bottom: 1em;
}

dt.article-info-term {
    left: -32768px;
    position: absolute;
    top: -32768px;
}
dt {
    float: left;
    font-weight: bold;
    padding-right: 10px;
}

.muted time{
    color: #4a5d66;
}

.table {
    margin-bottom: 40px;
}

tr{
    height: 40px;
}

.table-list tr td:first-child{
    width: 220px;
}

time[itemprop="dateCreated"] {
    font-size: 90%;
}

.container-fluid {
    padding: 0px;
}

p.img_caption{
    display: none;
}

header img{
    padding-left: 10px;
}

.header {
    background: white none repeat scroll 0 0;
    box-shadow: 0 0 5px #888;
    min-height: 158px;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-inner{
    padding-top: 27px;
    /*margin: 0 auto;*/
    text-align: left;
}


header .sticky-nav {
    position: relative;
    height: 60px;
    width: 100%;
    z-index: 1001;
}
header .sticky-nav.stuck {
    left: 0;
    position: fixed;
    top: 0;
    z-index: 1001;
}

.main{
    margin-top: 10px;
    margin-bottom: 10px;
}

.jumbotron {
    background-color: transparent;
    padding: 0;

}

div.main_top {
    background-color: #dfe8d7;
    position: relative;
    z-index: 500;

}

.container .jumbotron, .container-fluid .jumbotron {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 0px;
}

footer[role="contentinfo"] {
    background: #4a5d66 none repeat scroll 0 0;
    color: #fff;
    height: auto;
    line-height: 1.5em;
}

.subfooter {
    background-color: #6b7982;
    color: white;
    font-size: 100%;
    padding: 5px 0;
    width: 100%;
}

.subfooter .row [class*="col-"]{
  min-height: 0px;
}

.copyright{
  float: left;
    font-size: 90%;
}

nav#subfooter {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    float: right;
}

nav#subfooter ul{ 
    margin-bottom: 0;
}

nav#subfooter li{
  display: inline-flex;
    float: left;
    line-height: unset;
    margin-left: 10px;
}

nav#subfooter li:before {
content: " | ";
margin-right: 10px;
}

nav#subfooter li:first-child:before {
content: none;
}

nav#subfooter a{
  color: white;
}

.subfooter-container{
 padding: 0 10px;
}

.wbox{
     padding: 10px;
}

.featured .wbox{
     padding: 0;
}

.gbox-left {
    padding: 0 10px 0 0;
}

footer .gbox .module-box {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    height: auto !important;
    margin-bottom: 0;
    padding: 10px;
}

footer .gbox-left .module-box {
    padding-left: 0;
}

footer .module-box h3.module-heading {
    border-bottom: medium none;
    color: white;
    font-size: 120%;
}

page-header {
    border-bottom: 0px;
    margin: 0;
    padding-bottom: 0px;

}

.page-header h2, .content-category h2 {
    margin-bottom: 25px;
}

#content .col-md-8.cbox{
    background: white none repeat scroll 0 0;
    padding: 30px 20px;
}

.module-box {
    background-color: white;
    position: relative;
    padding: 30px;
}

.module-box, .moduletable, .moduletable_menu {
    margin-bottom: 20px;
}

.module-box h3.module-heading.bb_grey {
    border-bottom: 5px solid #8996a0;
}

.module-box h3.module-heading {
    line-height: 1.3em;
    margin-bottom: 0.5em;
    padding-bottom: 0.4em;
    text-transform: uppercase;
}

.module-box ul.mod-menu, .module-box ul {
    font-family: "THM-Regular";
    list-style-type: none;
    margin-bottom: 0;
    padding-left: 0;
    display: block;
}


.module-box ul.mod-menu li {
    border-bottom: 2px solid #8996a0;
    line-height: 1.3em;
    margin-left: 0;
    padding-bottom: 0.6em;
    padding-top: 0.6em;
}

.module-box ul.mod-menu li a {
    color: #394a59;
}

.module-box ul.mod-menu li.active a {
    color: #9c132e;
    font-weight: bold;
}

.module-box.thm-green, .module-box.mbox-green {
    background-color: #dfeec8;
}

.module-box.thm-yellow, .module-box.mbox-yellow, .module-box.thm-yellow-50 {
    background-color: #f9d47f;
}

.module-box[class*="thm-yellow"] h3, .module-box[class*="thm-yellow"] a, .module-box.thm-white h3, .module-box.thm-white a, .module-box[class*="mbox-yellow"] h3, .module-box[class*="mbox-yellow"] a, .module-box.mbox-white h3, .module-box.mbox-white a {
    border-bottom: medium none;
    color: #394a59;
}

#breadcrumbs {
    margin-bottom: 25px;
}

.breadcrumbs {
    color: #4a5d66;
    font-size: smaller;
}


.breadcrumb{
    background-color: transparent;
    margin: 0;
    padding: 0;
}
.breadcrumbs a {
    color: #4a5d66;
}

.breadcrumbs a:hover {
    color: #9c132e;
}

.breadcrumb > li {
    margin-left: 0;
}

.breadcrumb > li > .divider{
    color: #4a5d66;
}

.breadcrumb > .active {
    color: #4a5d66;
}

.blockinstance-content{
    padding-bottom: 20px;
}

.banneritem{
    float: left;
    width: 25%;
}

.banneritem .gbox {
    display: inline-block;
    line-height: 8.5em;
    text-align: center;
    width: 100%;
}

.banner .gbox {
    height: 120px !important;
}

.banneritem .gbox img {
    vertical-align: middle;
}


/* Frontpage featured boxes layout */   

    img, figure {
        margin: 0;
    }
   
   #main.featured {
    padding: 10px;
   }

   .banner.featured{
    background-color: #fff;
    padding: 5px 0;
}

   .featured [class*="gbox"] {   
     
     padding: 0 10px;
   }
   
   .featured .gbox-left {
       padding-left:0;
   } 
   
   .featured .gbox-right {
       padding-right:0;
   } 

    .featured .wbox .col-md-4{
        padding: 0;
        float: right;
    }

    .featured .wbox .col-md-8{
        padding: 0;
    }

   .featured .wbox .col-md-4 .cbox{
        margin-left: 13px;
        padding-left: 0;
        padding-right: 0;
        
   }

    .featured .wbox .col-md-8 .cbox{
        margin-right: 7px;
        margin-left: 0;
   }


.featured .wbox .cbox{
        background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
        padding: 0;
}

.featured .blog-featured img{
    display: block;
    height: 100%;
    max-width: inherit;
}

.contain-fl {
    float: left;
    width: 100%;
}

        
    .featured figure {
       position: relative;  
       font-family: "THM-Regular";
       height:380px;
       overflow: hidden;
    }

    .blog-featured figure a:hover figcaption{
        color: #fff;
        background-color: blue;
        height: 300px;
    }
    
    .featured figure h2 a {
       font-family: "THM-Regular";
       font-size: 0.6em;
       color: white;
       background: url("../images/pop.png") 0 20px no-repeat;          
       margin-left: 30px;
       margin-bottom:0;
       padding:17px 5px 0 45px;
       line-height:1.3em;
       
    }
    .featured figure time {
       padding-left: 75px; 
       padding-top:10px;
       font-size: 0.8em;
    }
    

    .featured figure span{
        color: #fff;
        padding-left: 75px;
        padding-top: 10px;
        font-size: 0.8em;
    }

    .featured figure a > img {
        left: 0;
        position: relative;
        top: 0;
        width: 100%;
    }

    
    .featured a figure   figcaption, .featured figure figcaption {
        background: none repeat scroll 0 0 rgba(74, 92, 102, 0.90);
        position: absolute;
        bottom: 0;
        overflow: hidden;
        height: 90px;
        transition: height 0.6s ease 0s;        
        margin: 0;
        padding: 0;
        width: 100%;
        color: white;       
    } 
     
    .featured figure:hover figcaption{
        height:380px;
    }

    .featured figure figcaption a, .featured figure figcaption a:hover{
        color: white; 
    }

    .featured figure figcaption .thmgreen a, .featured figure figcaption .thmgreen a:hover{
        color: #80ba24;
    }

    .featured figure span.thmgreen  {
        padding-left: 5px;
        padding-top: 10px;
        font-size: 1em;
    }

    .blog-featured :hover figure figcaption{
       /* height:380px;*/
    }
    
    .featured figure figcaption > p {
        padding-left:30px;
        padding-right:20px;
        margin-bottom: 10px;
        padding-top:30px;
        color: #fff;
    }


.djslider-default .navigation-container-custom, .djslider-default .navigation-numbers {
    position: absolute;
    right: 1% !important;
    bottom: 1% !important;
    top: auto !important;
    width: 23px !important;
}

.slide-desc-text-default {
    height: 114px;
    padding: 0 !important;
}

.djslider-default .slide-desc {
    top: 262px !important;
    font-family: "Open Sans",sans-serif !important;
    width: 70% !important;
    height: 30% !important;
}

.slide-desc-bg-default {
    background-color: rgba(74, 93, 102, 0.8) !important;
}

.slide-desc-text-default .slide-title{
    font-size: 300% !important;
    margin: 0 !important;
    padding: 3% 12% 1% 5% !important;
}

.slide-desc-text-default .slide-text {
    padding: 2% 0 0 5% !important;
}

.djslider-default .load-button {
    border: none !important;
    background-color: rgba(74, 92, 102, 0.8) !important;
    border-radius: 0 !important;
    height: 15px !important;
    width: 15px !important;
    opacity: 1 !important;
    margin: 4px !important;
    bottom: 1% !important;
    right: 1% !important;
}

.djslider-default .load-button-active {
    opacity: 1;
    border: none !important;
    background-color: rgba(128, 186, 36, 0.8) !important;
}


@media (min-width: 1200px) and (max-width: 1518px) {
    h3{
        font-size:  98%;
    
    }  

    .djslider-default .slide-desc {
        top: 160px !important;
        width: 90% !important;
    
    }

    .slide-desc-text-default .slide-title {
        font-size: 270% !important;
    }

    .jumbotron p {
        font-size: 17px;
    }

}

@media (min-width: 1518px) and (max-width: 1660px) {
    .djslider-default .slide-desc {
        top: 222px !important;
        width: 90% !important;
    }

    .slide-desc-text-default .slide-text {
        padding: 1% 0 0 5% !important;
    }

}

@media (min-width: 1200px) {
    .row .offset1:first-child {
        margin-left: 11.1%;
    }

    .row .featured [class*="col-"]:first-child {
        margin-left: 0;
    }

}
