﻿.portfolio-section {
    background-color: #000;
    overflow: hidden;
    padding-top: 50px;
}

/*Page Title*/
.main-title {
    width: 100%;
    margin: 0 0 50px;
    padding: 0;
    text-align: center;
    position: relative;
    color: #fff;
}

    .main-title::before {
        background: url(../images/title-line.png) no-repeat;
        bottom: -30px;
        content: "";
        display: block;
        height: 20px;
        left: 0;
        margin: 10px auto 0;
        position: absolute;
        right: 0;
        width: 100%;
        background-position: center center;
    }

    .main-title h2 {
        display: block;
        margin-bottom: 5px;
        line-height: normal;
        text-transform: uppercase;
        color: #fff;
        font-weight: 400;
        font-size: 70px;
    }

    .main-title h3 a {
        color: #ccc;
        font-size: 25px;
        text-transform: uppercase;
        font-weight: 400;
    }

    .main-title p {
        font-style: italic;
    }

.dt-sc-one-fourth {
    width: 23.4%;
}

.dt-sc-sorting-container {
    border-left: 0 none;
    clear: both;
    display: inline-block;
    float: left;
    line-height: normal;
    margin: 10px 0 60px 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

    .dt-sc-sorting-container a {
        cursor: pointer;
        display: inline-block;
        font-size: 14px;
        font-weight: normal;
        line-height: normal;
        margin-right: 5px;
        margin-bottom: 0;
        outline: medium none;
        padding: 15px 30px;
        position: relative;
        text-transform: uppercase;
        z-index: 1;
    }

/*Tooltip*/
#tiptip_holder {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
}

    #tiptip_holder.tip_top {
        padding-bottom: 5px;
    }

    #tiptip_holder.tip_bottom {
        padding-top: 5px;
    }

    #tiptip_holder.tip_right {
        padding-left: 5px;
    }

    #tiptip_holder.tip_left {
        padding-right: 5px;
    }

#tiptip_content {
    border: 1px solid;
    padding: 12px 12px 10px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    line-height: normal;
    border-color: #FFFFFF;
    background: #a81c51;
    color: #FFFFFF;
}

#tiptip_arrow, #tiptip_arrow_inner {
    position: absolute;
    border-color: transparent;
    border-style: solid;
    border-width: 6px;
    height: 0;
    width: 0;
}

#tiptip_holder.tip_top #tiptip_arrow_inner {
    margin-top: -7px;
    margin-left: -6px;
}

#tiptip_holder.tip_bottom #tiptip_arrow_inner {
    margin-top: -5px;
    margin-left: -6px;
}

#tiptip_holder.tip_right #tiptip_arrow_inner {
    margin-top: -6px;
    margin-left: -5px;
}

#tiptip_holder.tip_left #tiptip_arrow_inner {
    margin-top: -6px;
    margin-left: -7px;
}

#tiptip_holder.tip_top #tiptip_arrow {
    border-top-color: #FFFFFF;
}

#tiptip_holder.tip_right #tiptip_arrow {
    border-right-color: #000;
    border-right-color: #FFFFFF;
}

#tiptip_holder.tip_bottom #tiptip_arrow {
    border-bottom-color: #000;
    border-bottom-color: #FFFFFF;
}

#tiptip_holder.tip_left #tiptip_arrow {
    border-left-color: #000;
    border-left-color: #FFFFFF;
}

/*Type1 Buttons*/
.type1.dt-sc-button::before, .type1.dt-sc-button:hover::before, .type1.dt-sc-button:focus::before, .type1.dt-sc-button:active::before, .type1.active-sort.dt-sc-button::before, .type1.dt-sc-social-icons li a::before,
.type1.dt-sc-social-icons li a:hover::before, .type1.dt-sc-social-icons li a:focus::before, .type1.dt-sc-social-icons li a:active::before, .type1.tagcloud a::before, .type1.tagcloud a:hover::before, .type1.tagcloud a:focus::before,
.type1.tagcloud a:active::before, .type1.tagcloud a.active-sort::before {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    -moz-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.type1.dt-sc-button::before, .type1.dt-sc-social-icons li a::before, .type1.tagcloud a::before {
    bottom: 0;
    content: "";
    left: 0px;
    position: absolute;
    right: 0px;
    top: 0;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    transform-origin: 50% 50% 0;
    -webkit-transform-origin: 50% 50% 0;
    -moz-transform-origin: 50% 50% 0;
    transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    transition-property: transform;
    -webkit-transition-property: transform;
    -moz-transition-property: transform;
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    -moz-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    z-index: -1;
}

.type1.dt-sc-button, .type1.dt-sc-social-icons li a, .type1.tagcloud a {
    backface-visibility: hidden;
    display: inline-block;
    position: relative;
    transform: translateZ(0px);
    -webkit-transform: translateZ(0px);
    -moz-transform: translateZ(0px);
    transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-property: color;
    -webkit-transition-property: color;
    -moz-transition-property: color;
    vertical-align: middle;
}

.type1.dt-sc-button, .type1.dt-sc-social-icons li a, .type1.tagcloud a {
    z-index: 1\9; /* IE9 only override */
}

.dt-sc-sorting-container a:hover, .dt-sc-sorting-container .active-sort {
    border-color: #a81c51;
}

.type1.dt-sc-button:hover, .type1.dt-sc-button:focus, .type1.dt-sc-button:active, .type1.active-sort.dt-sc-button, .portfolio figure figcaption .portfolio-detail .views a:hover, .portfolio figure figcaption .portfolio-detail h5 a:hover {
    color: #a81c51;
}

.dt-sc-button, .dt-sc-sorting-container a {
    color: #FFFFFF;
}

.dt-sc-button {
    background: #a81c51;
}

.type1.dt-sc-button::before {
    background: #FFFFFF;
}

/*portfolio-grid*/
.portfolio-grid {
    padding: 80px 40px 40px 80px;
    width: 100%;
    float: left;
    box-sizing: border-box;
}

.portfolio-fullwidth {
    background: url(../images/portfolio-bg.jpg) repeat;
    float: left;
    width: 100%;
    margin-bottom: 80px;
}

.dt-sc-portfolio-container {
    clear: both;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}

    .dt-sc-portfolio-container .portfolio {
        overflow: hidden;
        position: relative;
        margin-bottom: 40px;
    }

        .dt-sc-portfolio-container .portfolio figure {
            border: 15px solid;
            box-sizing: border-box;
            float: left;
            width: 100%;
            overflow: hidden;
            position: relative;
        }

        .dt-sc-portfolio-container .portfolio figure {
            border-bottom-color: #000000;
            border-top-color: #2e2e2e;
            border-left-color: #2e2e2e;
            border-right-color: #000000;
        }

            .dt-sc-portfolio-container .portfolio figure img {
                float: left;
            }

        .dt-sc-portfolio-container .portfolio img {
            max-width: 100%;
            width: 100%;
            transform: scale(1.2);
            -moz-transform: scale(1.2);
            -webkit-transform: scale(1.2);
        }

.portfolio figure::after {
    border: 30px solid #ffffff;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    box-shadow: 0 0 5px 0 #000000 inset;
    -moz-box-shadow: 0 0 5px 0 #000000 inset;
    -webkit-box-shadow: 0 0 5px 0 #000000 inset;
}

.portfolio figure:hover img {
    transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
}

.portfolio figure figcaption {
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    float: left;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.portfolio figure:hover figcaption {
    opacity: 1;
    top: 0;
}

.portfolio figure figcaption .portfolio-detail {
    background-color: rgba(0, 0, 0, 0);
    border: medium none;
    clear: both;
    cursor: default;
    display: inline-block;
    margin: 0;
    min-height: 48px;
    padding: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
    z-index: 1;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

    .portfolio figure figcaption .portfolio-detail .views {
        background-color: rgba(0, 0, 0, 0);
        border: medium none;
        color: #FFFFFF;
        display: inline-block;
        float: none;
        font-size: 14px;
        height: 100%;
        margin: 0 -4px 0 0;
        padding: 0 25px;
        position: relative;
        text-align: center;
        transform: translateX(-25%);
        -moz-transform: translateX(-25%);
        -webkit-transform: translateX(-25%);
        transition: all 0.35s ease-in-out 0s;
        -moz-transition: all 0.35s ease-in-out 0s;
        -webkit-transition: all 0.35s ease-in-out 0s;
    }

        .portfolio figure figcaption .portfolio-detail .views:after {
            background: #ffffff;
            bottom: 5px;
            content: "";
            position: absolute;
            right: 0;
            top: 5px;
            width: 1px;
        }

    .portfolio figure figcaption .portfolio-detail .portfolio-title {
        display: inline-block;
        float: none;
        min-height: 0;
        padding: 0 15px 0 25px;
        text-align: left;
        width: auto;
        transform: translateY(100%);
        -moz-transform: translateY(100%);
        -webkit-transform: translateY(100%);
        transition: all 0.35s ease-in-out 0s;
        -moz-transition: all 0.35s ease-in-out 0s;
        -webkit-transition: all 0.35s ease-in-out 0s;
    }

.portfolio figure:hover figcaption .portfolio-detail .views {
    transform: translateX(0%);
    -moz-transform: translateX(0%);
    -webkit-transform: translateX(0%);
}

.portfolio figure:hover figcaption .portfolio-detail .portfolio-title {
    transform: translateY(10%);
    -moz-transform: translateY(10%);
    -webkit-transform: translateY(10%);
}

.portfolio figure:hover figcaption .portfolio-detail .views, .portfolio figure:hover figcaption .portfolio-detail .portfolio-title {
    opacity: 1;
}

.portfolio figure figcaption .portfolio-detail .views a {
    color: #FFFFFF;
    font-size: 16px;
    margin: 5px 0 0;
    display: block;
}

.portfolio figure figcaption .portfolio-detail .views span {
    color: #FFFFFF;
    padding-bottom: 7px;
    display: inline-block;
}

.portfolio figure figcaption .portfolio-detail h5 {
    display: inline-block;
    font-weight: bold;
    margin: 0;
    transition: all 0.35s ease-in-out 0.1s;
    -moz-transition: all 0.35s ease-in-out 0.1s;
    -webkit-transition: all 0.35s ease-in-out 0.1s;
}

    .portfolio figure figcaption .portfolio-detail h5::after {
        border-bottom: 1px solid #ffffff;
        bottom: 0;
        content: "";
        left: 0;
        margin: 0 auto;
        position: absolute;
        width: 100%;
    }

.portfolio figure figcaption .portfolio-detail h5, .portfolio figure figcaption .portfolio-detail p {
    transform: translateY(100%);
    -moz-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    color: #FFFFFF;
}

.portfolio figure figcaption .portfolio-detail p {
    font-size: 12px;
    margin: 2px 0 0;
    transition: all 0.35s linear 0.2s;
    -moz-transition: all 0.35s linear 0.2s;
    -webkit-transition: all 0.35s linear 0.2s;
}

.portfolio figure:hover figcaption .portfolio-detail h5, .portfolio figure:hover figcaption .portfolio-detail p {
    transform: translateY(0%);
    -moz-transform: translateY(0%);
    -webkit-transform: translateY(0%);
}

/*portfolio details*/
section.portfolio-details {
    overflow: hidden;
    width: 100%;
    margin-bottom: 120px;
}

.portfolio-details .column {
    margin: 0px 0px 0px 2%;
    float: left;
    min-height: 1px;
    position: relative;
}

    .portfolio-details .column.first {
        margin-left: 0px;
    }

.portfolio-details .dt-sc-one-column {
    width: 100%;
}

.portfolio-details .column.dt-sc-one-column {
    margin-left: 0px;
}

.portfolio-details .column img {
    max-width: 100%;
    height: auto;
}

@media only screen and (min-width:960px) and (max-width:1270px) {
    .portfolio-fullwidth {
        margin: 0 0 20px;
    }

    .portfolio figure::after {
        border: 8px solid #FFFFFF;
    }

    .portfolio figure figcaption p {
        font-size: 12px;
        padding: 10px 20px;
    }

    .portfolio-grid {
        padding: 80px 20px 40px;
    }

    .dt-sc-portfolio-container .portfolio:last-child {
        margin: 0;
    }

    .dt-sc-portfolio-container.isotope .portfolio.dt-sc-one-fourth {
        width: 32%;
    }

    .portfolio figure figcaption .portfolio-detail p {
        padding: 0;
    }

    .portfolio figure figcaption .portfolio-detail .views {
        padding: 0 10px 0 0;
    }

    .portfolio figure figcaption .portfolio-detail .portfolio-title {
        padding: 0 0 0 10px;
    }
}

@media only screen and (min-width:768px) and (max-width:959px) {
    .main-title h2 {
        font-size: 60px;
    }

    .portfolio-fullwidth {
        margin-bottom: 20px;
    }

    .portfolio figure::after {
        border: 25px solid #FFFFFF;
    }

    .dt-sc-portfolio-container.isotope .portfolio.dt-sc-one-fourth {
        width: 48%;
    }

    .portfolio figure figcaption p {
        font-size: 16px;
        padding: 10px 20px;
    }

    .portfolio figure figcaption .portfolio-detail p {
        padding: 0;
    }

    .portfolio figure figcaption .portfolio-detail .views {
        padding: 0 10px 0 0;
    }

    .portfolio figure figcaption .portfolio-detail .portfolio-title {
        padding: 0 0 0 10px;
    }

    .portfolio figure figcaption .portfolio-detail h5 {
        font-size: 16px;
    }

    .portfolio-grid {
        padding: 50px 20px;
    }

    .dt-sc-portfolio-container .portfolio:last-child {
        margin: 0;
    }
}

@media only screen and (max-width:767px) {
    .main-title h2 {
        font-size: 50px;
    }

    .dt-sc-sorting-container a {
        margin: 0 5px 10px 0;
    }

    .portfolio-fullwidth {
        margin-bottom: 20px;
    }

    .portfolio figure::after {
        border: 25px solid #FFFFFF;
    }

    .dt-sc-portfolio-container.isotope .portfolio.dt-sc-one-fourth {
        width: 100%;
    }

    .portfolio-grid {
        padding: 50px;
    }

    .dt-sc-portfolio-container .portfolio:last-child {
        margin: 0;
    }
}

@media only screen and (max-width: 479px) {
    .main-title h2 {
        font-size: 40px;
    }

    .dt-sc-sorting-container a {
        margin: 0 5px 10px 0;
        padding: 10px 25px;
    }

    .portfolio figure::after {
        border: 15px solid #ffffff;
    }

    .portfolio-grid {
        padding: 20px 15px;
    }

    .dt-sc-portfolio-container .portfolio:last-child {
        margin: 0;
    }

    .portfolio figure figcaption .portfolio-detail p {
        padding: 0;
    }

    .portfolio figure figcaption .portfolio-detail .views {
        padding: 0 10px 0 0;
    }

    .portfolio figure figcaption .portfolio-detail .portfolio-title {
        padding: 0 0 0 10px;
    }
}

@media only screen and (max-width: 319px) {
    .main-title h2 {
        font-size: 30px;
    }

    .dt-sc-sorting-container a {
        margin: 0 5px 10px 0;
        padding: 15px 20px;
    }

    .portfolio.column.no-space.dt-sc-one-half {
        width: 100%;
    }

    .portfolio-fullwidth {
        margin-bottom: 30px;
    }

    .portfolio-grid {
        padding: 20px 10px;
    }

    .dt-sc-portfolio-container .portfolio:last-child {
        margin: 0;
    }

    .portfolio figure::after {
        border: 15px solid #FFFFFF;
    }

    .portfolio figure figcaption .portfolio-detail p {
        font-size: 10px;
        padding: 0;
    }
}

/*page custom*/
body.travele-theme.gallery-page .portfolio-section,
body.travele-theme.gallerydetails-page .portfolio-section {
    padding-top: 250px;
}

body.travele-theme.gallery-page .site-footer,
body.travele-theme.gallerydetails-page .site-footer {
    background-color: #000;
    position: relative;
    padding-top: 80px;
}

    body.travele-theme.gallery-page .site-footer::before,
    body.travele-theme.gallerydetails-page .site-footer::before {
        background: url(../images/title-line.png) center center repeat-x;
        content: "";
        height: 20px;
        position: absolute;
        width: 100%;
        top: 0;
    }

    body.travele-theme.gallery-page .site-footer .buttom-footer,
    body.travele-theme.gallerydetails-page .site-footer .buttom-footer {
        background-color: #000;
        border-top: solid 1px #292929;
    }
