/*
 Theme Name:   Exposicions virtuals
 Author:       Albert Caballero
 Template:     devdmbootstrap3
 Version:      0.1
 Text Domain:  DevDmBootstrap3-child
*/
body{
    padding: 0;   
}
body.custom-background{
    background-image: none !important;   
}
.dmbs-main{
    padding: 0;   
}
.dmbs-container.dark *{
    color:#fff;
}
.dmbs-container.light .dmbs-content *{
    color:#000;
}
.dmbs-container.light .dmbs-content .navbar-nav *{
    color:#fff;
}
.dmbs-header-img{
    height:250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.dmbs-header-img > a{
    height:100%;
    width:100%;
    display:block;
    padding-top:100px;
    text-decoration: none;
}
.dmbs-header-img.home{
    height:550px;
}
.dmbs-header-img.home > a{
    padding-top:400px;   
}
.footer-xs{
    float:left;
    margin-right:20px;
}
.footer-xs:before{
    font-family:dashicons;
    font-size:36px;
    width:36px;
    height:36px;
    color:#ddd;
}
.footer-fb:before{
    content: "\f304";
}
.footer-tw:before{
    content: "\f301";
}
.footer-yt:before{
    content: "\f236";
}
.expo-footer{
    clear:both;   
}
.dmbs-main > div{
    clear:both;
    width:100%;
}
.main-page,.credits{
    margin:50px 0;   
}
.main-page p,.credits p{
    font-size:16px;
}
.dmbs-footer{
    background:#222;   
    display:inline-block;
    width:100%;
    padding: 50px 20px;
    color:#ddd;
}
.dmbs-container .dmbs-footer *{
    color:#fff;
}
.dmbs-footer a,.dmbs-footer a:hover,.dmbs-footer a:active,.dmbs-footer a:visited{
    color:#ccc;
}
.expo-footer{
    padding-top:50px;   
}
.insti-footer > div:nth-child(1),.insti-footer > div:nth-child(2){
    text-align:center;   
}
.expo-footer > div:nth-child(1) p{
    color:#999;
    font-size:12px;
    margin:0;
}
.lightgallery-default{
    display:inline-block;   
}
.galeria .lightgallery-default > a{
    margin:20px;
    display:block;
    float:left;
}
.dmbs-top-menu{
    z-index:99;
    top:0;
    /*transition: all 200ms;*/
    position:relative;
    margin:0;
}
.dmbs-top-menu .navbar{
    border-radius: 0;
}
.dmbs-top-menu > *{
    position:relative;
}
.fa-quora::before {
    content: "\f101";
    font-family:dashicons;
}
.lg-icon a,.lg-icon a:hover,.lg-icon a:active,.lg-icon a:focus,.lg-icon a:visited{
    color:inherit;   
    text-decoration: none;
}
.participa{
    text-align:center;   
}
.after-comment{
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
.galeria.complex li{
    background-size: 100%;
    margin: 20px;
    display: block;
    float: left;
    position: relative;
    transition: all 200ms;
    background-repeat: no-repeat;
    background-position: center;
}
.galeria.complex li:hover{
    background-size: 120%;
}
.galeria.complex li a,.exposicions-main li a{
    width:100%;
    height:100%;
    display: block;
    background: rgba(0,0,0,0);
    transition: all 200ms;
    opacity: 0;
}
.galeria.complex li a,.galeria.complex li a:hover,.galeria.complex li a:visited,.galeria.complex li a:active,.galeria.complex li a:focus{
    color:#fff;   
}
.galeria.complex li a:hover,.exposicions-main li a:hover{
    background: rgba(0,0,0,0.3);
    opacity: 1;
}
.galeria.complex li a h4{
    margin:0;
    position: absolute;
    left:20px;
    bottom:20px;
}
.more-galleries{
    margin:50px 0;
    display:inline-block;
}
.more-galleries li{
    list-style: none;
    height:100px;
    background-size: 100%;
    margin:5px;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0;
    transition: all 200ms;
}
.more-galleries li:hover{
    background-size: 120%;   
}
.more-galleries li a{
    display:block;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0);
    transition: all 200ms;
    opacity: 0;
}
.more-galleries li a:hover{
    background: rgba(0,0,0,0.3);
    opacity: 1;
}
.more-galleries li a h4{
    margin:0;
    position: absolute;
    left:20px;
    bottom:20px;
}
.exposicions-main{
    padding: 0;   
}
.exposicions-main li{
    list-style: none;
    height:300px;
    margin:20px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display:block;
    padding: 0;
}
.dmbs-container.light .dmbs-content .exposicions-main li a *,.dmbs-container.dark .dmbs-content .exposicions-main li a *{
    color:#fff;
}
.exposicions-main li a{
    width:100%;
    height:100%;
    padding: 20px;
    text-decoration:none;
}
.exposicions-main li a h4{
    /*float:left;*/
    margin:0 10px 0 0;
    font-size: 24px;
    clear:both;
}
.exposicions-main li a h5{
    float:left;
    margin:0 10px 0 0;
    font-size: 18px;
    line-height: 28px;
}
.exposicions-main li a span{
    margin:5px 0;
    float:left;
}
.trs-top{
    height:65px;
    margin-bottom:20px;
    background: #fff;
    padding: 0 10px;
}
.trs-top>div{
    border-radius: 0 0 5px 5px;   
}
.trs-top .logo{
    float:left;
    width:200px;
    height:55px;
    background:#e42313 url("http://www.terrassa.cat/ajunt-terrassa-theme/images/aj-terrassa/logo-terrassa.svg") no-repeat scroll center center / 90% auto;
}
.trs-top .blackbar{
    background: #000;
    float:left;
    height:55px;
    margin-left:20px;
    width:CALC(100% - 220px);
}
.trs-top .blackbar *{
    color:#fff;   
}
.trs-top .blackbar .language{
    float:right;
    margin:30px 10px 0 0;
    text-transform: uppercase;
    font-weight: bold;
    z-index: 99;
}
.trs-top .blackbar .language li{
    list-style: none;
    padding: 0;
    text-align:right;
}
.trs-top .blackbar .language li > ul{
    opacity:0;
    background:#000;
    transition:all 200ms;
}
.trs-top .blackbar .language li:hover > ul{
    opacity:1;   
}
.trs-top .blackbar .language li > ul > li{
    padding: 10px;
}
.main-site{
    float:left;
    text-transform: uppercase;
    padding: 20px;
}
.dropdown-menu{
    color:#fff;   
    background: #000;
}
.dropdown-menu li{
    /*float:left;   */
}
.well{
    background: #000;
}
#reply-title{
    display: none;   
}
.dmbs-container .well *{
    color:#fff;
}
.dmbs-container .well textarea,.dmbs-container .well input{
    color:#ddd;
    background-color: #111;
    border: 2px solid #333;
}
.dmbs-container .well input{
    float:right;
}
#commentform p{
    margin-bottom:10px;   
}
.btn-info, .comment-respond #submit, #searchform #searchsubmit,.btn-info:hover, .comment-respond #submit:hover, #searchform #searchsubmit:hover{
    color: #fff;
    background-color: #c9302c;
    border-color: #c9302c;   
    transition: all 200ms;
}
.comment-respond #submit:hover, #searchform #searchsubmit:hover{
    background: rgba(210,35,42,0.7);   
}
.lg-outer .lg-image{
    max-height:80% !important;
}
@media (max-width: 768px) {
    .dmbs-header-img{
        height: 150px;
    }
    .dmbs-header-img >a{
    padding-top: 25px;
    }
    .dmbs-header-img.home{
        height: 250px;
    }
    .dmbs-header-img.home >a{
        padding-top: 125px;
    }
    .trs-top{
        height: 120px;   
    }
    .trs-top .logo{
        width:100%;
        border-radius: 0;
        background-size: contain;
    }
    .trs-top .blackbar{
        width:100%;
        margin:0;
    }
    .more-galleries li a,.galeria.complex li a,.exposicions-main li a{
        background: rgba(0,0,0,0.3);
        opacity: 1;
    }
}
@media (max-width: 375px) {
    .trs-top{
        height: 150px;   
    }
    .trs-top .blackbar{
        height:85px;   
    }
    .trs-top .blackbar .language{
        margin-top:0;
    }    
}
.row{
    margin: 0;   
}
.participawrp h1,.participawrp > p{
    text-align: center;   
}
.participawrp > p{
    width:100%;
    border-bottom: 2px solid #c9302c;
    padding-bottom: 20px;
    margin-bottom: 30px;
}