/*
 * Thumbnails
 */
#thumbs {
    margin: 40px 0 20px 0;
}

#thumbs .box-thumb .thumbnail {
    padding: 0;
    margin-bottom: 0;
    cursor: pointer;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 0;
    background: #f2f2f2;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

#thumbs .box-thumb .thumbnail .row-title {
    width: 100%;
    height: 40px;
    background: #245675;
}

#thumbs .box-thumb .thumbnail .row-title p {
    line-height: 40px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
}

#thumbs .box-thumb .thumbnail .caption {
    height: 260px;
    padding: 0;
}

#thumbs .box-thumb .thumbnail .caption .row-info {
    width: 100%;
    height: 210px;
    padding: 20px;
}

#thumbs .box-thumb .thumbnail .caption .row-info ul {
    width: 100%;
    height: 100%;
}

#thumbs .box-thumb .thumbnail .caption .row-info ul li {
    margin-left: 12px;
    font-size: 14px;
    line-height: 22px;
    list-style-type: disc;
}

#thumbs .box-thumb .thumbnail .caption .row-info p {
    margin: 0;
    padding: 0;
}

#thumbs .box-thumb .thumbnail .caption .row-button {
    width: 100%;
    height: 50px;
    padding: 10px;
    text-align: center;
}

#thumbs .box-thumb .thumbnail .caption .row-button span {
    font-weight: 300;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 0;
    background: #245675;
    color: #ffffff;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

#thumbs .box-thumb .thumbnail:hover {
    background: #e6e6e6;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

#thumbs .box-thumb .thumbnail:hover .caption .row-button span {
    background: #a9cd4c;
    color: #245675;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

/* Media Queries */
@media (max-width: 767px) {
    #thumbs {
        padding: 0 10px;
    }

    #thumbs .box-thumb {
        margin-bottom: 10px;
        padding: 0;
    }

    #thumbs .box-thumb .thumbnail .caption {
        height: auto;
    }

    #thumbs .box-thumb .thumbnail .caption .row-info {
        height: auto;
        padding: 10px;
    }

    #thumbs .box-thumb .thumbnail .caption .row-info ul li {
        font-size: 12px;
        line-height: 20px;
    }

    #thumbs .box-thumb .thumbnail .caption .row-info p {
        font-size: 12px;
        line-height: 20px;
    }

    #thumbs .box-thumb .thumbnail .caption .row-button {
        height: auto;
    }

    #thumbs .box-thumb .thumbnail .caption .row-button span {
        font-size: 12px;
        background: #a9cd4c;
        color: #245675;
    }

    #thumbs .box-thumb:last-child {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #thumbs {
        padding: 0 20px;
    }

    #thumbs .box-thumb .thumbnail .caption .row-info {
        padding: 10px;
    }

    #thumbs .box-thumb .thumbnail .caption .row-info ul li {
        font-size: 12px;
        line-height: 20px;
    }

    #thumbs .box-thumb .thumbnail .caption .row-info p {
        font-size: 12px;
        line-height: 20px;
    }

    #thumbs .box-thumb .thumbnail .caption .row-button span {
        font-size: 12px;
        background: #a9cd4c;
        color: #245675;
    }

    #thumbs .box-thumb:nth-child(3n+1) {
        padding-left: 0;
    }

    #thumbs .box-thumb:nth-child(3n+3) {
        padding-right: 0;
    }

    #thumbs .box-thumb:nth-child(3n+2) {
        padding-right: 8.5px;
        padding-left: 8.5px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #thumbs .box-thumb:nth-child(3n+1) {
        padding-left: 0;
    }

    #thumbs .box-thumb:nth-child(3n+3) {
        padding-right: 0;
    }

    #thumbs .box-thumb:nth-child(3n+2) {
        padding-right: 7.5px;
        padding-left: 7.5px;
    }
}

@media (min-width: 1200px) {

    #thumbs .box-thumb:nth-child(3n+1) {
        padding-left: 0;
    }

    #thumbs .box-thumb:nth-child(3n+3) {
        padding-right: 0;
    }

    #thumbs .box-thumb:nth-child(3n+2) {
        padding-right: 7.5px;
        padding-left: 7.5px;
    }
}
