body {
    background: url('../img/bg-gallery.jpg') #FFF no-repeat top center;
    background-size: contain
}

#seminar {
    padding: 0 0 90px 0 !important
}

.headerbox {
    display: block;
    width: 100%;
}

.headerbox h2 {
    color: #333;
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.5em;
    padding: 30px 0 60px 0;
}

.tabcustom li {
    width: 33.3333%;
    text-align: center;
}

.tabcustom a {
    padding: 20px 15px !important;
    font-family: 'Roboto' !important;
    font-size: 2.5em !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, .4) !important;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    background: rgba(255, 255, 255, 1) !important;
    width: 100%
}

.tabcustom a, .tabcustom a:hover, .nav-tabs {
    border: none !important;
}

.tabcustom a:hover {
    background: rgba(255, 255, 255, .5) !important;
    transition: all ease-in-out .3s;
}

.tab-content {
    min-height: 400px;
    background: #FFF;
    padding: 30px;
}

.h2head {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2em;
}

.thumbnail {
    position: relative;
    overflow: hidden;
    transition: all .8s;
}

.thumbnail .caption {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, .8);
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
}

.thumbnail.boxshadow {
    box-shadow: 0 0 9px 1px rgba(0, 0, 0, .3);
}

.thumbnail.boxshadow.new:before{
    content: "New";
    font-size: 1.8rem;
    text-transform: uppercase;
    padding: 0 20px;
    color: #FFF;
    background: #cc0000;
    position: absolute;
    top: 0;
    right: -50px;
    width: 180px;
    text-align: center;
    transform: rotate(45deg) translateX(10%);
    box-shadow: 0 0 5px 1px #333; 
}

.thumbnail:hover .caption {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 1;
    transition: all .8s;
}

.thumbnail.boxshadow .caption h2 {
    color: #FFF;
    font-size: 1.3em;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0;
}

.thumbnail.boxshadow .label {
    color: #FFF !important;
    font-size: .8em !important;
    border: 2px solid  #FFF;
    background: transparent;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    padding: 10px 20px
}

.thumbnail.boxshadow .label:hover {

    /* button  */
    border: 2px solid transparent;
    background: #cc0000 !important
}

.thumbnail .caption p {
    display: block;
    margin-top: 32px
}

@media (max-width:992px) {
    .color1, .color2, .color3, .color4 {
        font-size: 16px !important
    }

}

@media (max-width:767px) {
    #seminar {
        padding: 100px 0 50px 0 !important
    }

    .thumbnail .caption p {
        display: block
    }

}

@media (max-width:480px) {
    .caption h2 {
        font-size: 22px;
        margin-top: 10%
    }

    .thumbnail .caption p {
        margin-top: 10px
    }

}

@media (max-width:480px) {
    .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover .tabcustom li.active a {
        background: #337ab7 !important;
        color: #FFF !important;
        border-radius: 5px !important;
    }

}
