/* =========================== Gallery  ============================ */

#lightbox [class*="col-"],
.gallery[class*="col-"] {
    padding: 0px;
}

.gallery-thumb {
    display: block;
    position: relative;
    overflow: hidden;
}

    .gallery-thumb img {
        outline: 1px solid #fff;
        outline-offset: -10px;
    }

.scrollimation .gallery-thumb {
    transform: translateY(100px);
    opacity: 0;
    transition: opacity .4s ease-out, transform .4s ease-out;
}

    .touch .scrollimation .gallery-thumb,
    .scrollimation .gallery-thumb.in {
        transform: translateY(0px);
        opacity: 1;
    }

.gallery-thumb .overlay-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    background: #000;
    transition: opacity .3s ease-out;
}

.gallery-thumb:hover .overlay-mask {
    opacity: 0.5;
}
/* Isotope */

.isotope-item {
    z-index: 2
}

.isotope-hidden.isotope-item {
    z-index: 1
}

.isotope,
.isotope .isotope-item {
    transition-duration: 0.8s;
}

.isotope-item {
    margin-right: -1px;
    backface-visibility: hidden;
}

.isotope {
    transition-property: height, width;
}

    .isotope .isotope-item {
        transition-property: transform, opacity;
    }
/* Sections */

section {
    padding: 100px 0px;
}

    section.no-padding {
        padding-bottom: 0px !important;
    }
    /* Watercolor Effect Sections */

    section.watercolor {
        background: #fff;
    }

        section.watercolor:before {
            content: "";
            height: 120px;
            width: 100%;
            position: absolute;
            background: url(../img/ornaments/watercolor1.png) repeat-x top left;
            margin-top: -130px;
            z-index: 999;
        }

        section.watercolor:after {
            content: "";
            height: 120px;
            width: 100%;
            position: absolute;
            background: url(../img/ornaments/watercolor2.png) repeat-x top left;
            margin-top: 100px;
        }
/* Sections heading */

.section-heading {
    margin-bottom: 50px;
    text-align: center;
}

    .section-heading .hr {
        border-top: 1px dotted;
        text-align: center;
        max-width: 100px;
        margin-top: 20px;
        margin: 0 auto;
        margin-bottom: 40px;
    }

        .section-heading .hr:after {
            content: '\f004';
            font-family: FontAwesome;
            display: inline-block;
            position: relative;
            top: -20px;
            padding: 0 10px;
            font-size: 28px;
        }

    .section-heading h2 {
        z-index: 99;
        text-align: center;
    }

/* Remove padding in container fluid */

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}




/************ max width 767px *************/

@media (max-width: 767px) {

    /* Jumbotron */

    .jumbotron {
        height: 300px !important;
        margin-bottom: 9em;
    }

        .jumbotron .jumbo-heading {
            margin-top: 80px;
        }
    /* Miscelaneous */

    .nav-tabs > li {
        margin-bottom: 10px !important;
    }

    .breadcrumb > li + li:before {
        padding: 0 4px;
    }

    h1 {
        font-size: 2.998em;
    }

    .nav-pills > li > a {
        font-size: 16px;
        margin: 5px;
        line-height: 18px;
        padding: 10px;
    }

    section {
        padding: 50px 0px;
    }

        section.watercolor:after {
            margin-top: 50px;
        }

    #intro .intro-heading.margin {
        padding-top: 60px;
    }
}
/************ max width 480px *************/

@media (max-width: 480px) {


   
    /* Miscellaneous */

    .section-heading h2 {
        border: 0;
        line-height: 32px;
        letter-spacing: 0px;
        font-size: 26px;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .block {
        padding: 10px;
    }

   
    .date-category i {
        display: none;
    }

    .date-category {
        position: absolute;
        color: #fff;
        min-width: 0px;
        padding: 20px;
    }

        .date-category p {
            margin: 0px;
            line-height: 12px;
        }

   
    .breadcrumb {
        font-size: 11px;
    }

    .post-info p {
        line-height: 13px;
    }

    .comments-block {
        padding: 0px;
    }

    .panel-heading [data-toggle="collapse"]:after {
        display: none;
    }

    
    section {
        padding: 40px 0px;
    }

    
    .input-group-btn:last-child > .btn,
    .input-group .form-control:first-child {
        border-radius: 0px;
        margin-top: 10px;
    }

    .input-group .form-control,
    .input-group-btn {
        display: inline-table;
    }

    .owl-carousel {
        padding: 0px 0px;
    }

    .comment {
        padding: 10px;
        text-align: center;
    }

    .callout-box {
        padding: 20px !important;
    }

    .comments-block .media-object {
        max-width: 100%;
        float: none;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 20px;
    }

    .comment.media-body {
        margin-right: 0px;
    }

    .tab-pane h3 {
        margin-top: 10px;
    }

    .btn {
        font-size: 13px;
        margin: 10px 0px;
        padding: 15px 20px;
    }

    .spinner {
        left: 42%;
    }

    .well {
        padding: 20px;
    }

        .well:before {
            display: none;
        }

    section.watercolor:before {
        margin-top: -100px;
    }

    section.watercolor:after {
        margin-top: 30px;
    }

    .polaroids {
        padding: 10px !important;
    }

    #quote blockquote {
        font-size: 2em;
        line-height: 1.4em;
    }

    #intro .italic {
        font-size: 40px;
        line-height: 40px;
    }

    .main-img {
        max-width: 100%;
    }

    .slideshow {
        height: 50%;
    }

}
/************ max width 320px *************/

@media (max-width: 320px) {
    /* Jumbotron */

    .jumbotron {
        height: 180px;
        margin-bottom: 2em;
        padding: 0px;
    }
    /* Nav-tabs */

    .nav.nav-tabs > li > a {
        min-height: 30px;
        font-size: 16px;
        padding: 15px 15px;
        line-height: 15px;
    }
    /* Miscellaneous */

    footer .table .text-left {
        font-weight: 900;
    }

    .small-section .well {
        padding: 25px 13px;
        outline: 0;
    }

    .label,
    .table {
        font-size: 14px;
    }

        .table table,
        .table thead,
        .table th,
        .table td,
        .table tr {
            display: block;
        }
}