/**
*
* Chi siamo page
*
*/

/** Hero chi siamo **/
.wrap-chisiamo .hero-page{
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding: 5em 0 2em;
    min-height: 50vh;
    display: flex;
    background-color: #000;
    align-items: center;
}

.wrap-chisiamo .hero-page .overlay-hero{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.6);
}
.wrap-chisiamo .hero-page .row{
    position: relative;
    z-index: 3;
}
.wrap-chisiamo .hero-page h1{
    font-size: 100px;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
}

/** Intro **/


.imgchi-intro {
    position: relative;
}
.imgchi-intro img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    display: block;
    margin: 0 0 0 auto;
}
.imgchi-intro::before {
    content: '';
    position: absolute;
    left: 10px;
    width: 90%;
    height: 100%;
    background: #DCA44E;
    top: -20px;
}
.pretitle-introchi h4 {
    color: #dca44e;
    margin: 0;
    font-size: 22px;
    text-transform: lowercase;
    letter-spacing: 2px;
    font-style: italic;
}
.introchi h2 {
    font-size: 50px;
    margin: 10px 0 0 0;
}
.introchi p {
    font-size: 16px;
    line-height: 1.8;
}
.introchi .row {
    display: flex;
    align-items: center;
}
.introchi .columns.medium-6:nth-child(2) {
    padding: 3em;
}
.introchi {
    padding: 6em 0;
    background-image: url("../images/effectbg.png");
    background-position: right bottom;
    background-repeat: no-repeat;
}

/** **/

.storiachi{
    background-color: #252525;
}

.storiachi .col1,
.storiachi .col2{
    width: 50%;
}


.flex-col-storiachi {
    display: flex;
    align-items: center;
    justify-content: center;
}
.storiachi .col2 {
    padding: 4em 10em 4em 6em;
}
.storiachi .col2 h2 {
    color: #fff;
    margin: 0;
    font-size: 40px;
}
.storiachi .col2 p {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
}

.continuachi h2 {
    margin: 0;
    font-size: 50px;
}
.continuachi .row {
    display: flex;
    align-items: center;
    justify-content: center;
}
.continuachi p {
    font-size: 16px;
}

.chipageend .row.bgrow .columns:first-child{
    padding: .9375rem;
}
.chipageend h2{
    font-size: 90px;
    color: #ffffff;
    margin: 0;
}
.chipageend p{
    font-size: 16px;
    color: #ffffff;
}

.contact_section.chipageend img.imgabs_contact{
    bottom: 0;
    top: initial;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

/** Team **/

.team .owl-item{
    opacity: 0.5;
    filter: grayscale(100%);
    float: left;
}
.owl-nav {
    top: 50%;
    position: absolute;
    width: 115%;
    left: 50%;
    transform: translate(-50%,0);
}

.team .owl-item.active{
    opacity: 1;
    filter: none;
}

.team .owl-carousel {
    width: 100%;
    margin: 0 auto;
}

.items.img_sfondo .row.flex{
    position: relative;
    z-index: 2;
}


.items.img_sfondo h4 {
    color: #000;
    font-weight: bold;
    font-size: 50px;
    text-transform: uppercase;
    margin: 0;
}

.items.img_sfondo p {
    font-size: 18px;
    line-height: 1.8;
    color: #000;
    margin: 5px 0 20px 0;
}

.items.img_sfondo a.btn{
    padding: 10px 80px;
}

.team h2.text-center {
    font-weight: 900;
    font-size: 80px;
    margin-bottom: 50px;
    text-transform: uppercase;
    margin-top: 0;
}


section.team {
    position: relative;
    background-color: #1b1b1b;
    border-top: 10px solid #dca44e;
    margin-top: 60px;
    border-bottom: 10px solid #dca44e;
    padding: 6em 0;
}

.vediti{
    display: block;
}


div.fulltext-team .row {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
}

div.fulltext-team .row img {
    position: absolute;
    right: 10px;
    max-width: 30%;
    top: 10px;
    border-radius: 10px;
}


.title-team-ft h2{
    text-transform: uppercase;
    font-size: 35px;
    display: inline-block;
    z-index: 999999999;
    position: relative;
    margin-bottom: 0;
}

.fulltext {
    z-index: 9999999;
    position: relative;
}

.close_team_popup{
    display: none;
}


.title-team-ft-onlyresp{
    display: none;
}

.fulltext-team .columns.scrolloverflow {
    height: 90%;
    overflow: scroll;
    background: #fff;
    z-index: 3;
}
div.fulltext-team {
    position: fixed;
    width: 100%;
    height: 450px;
    background: #fff;
    z-index: 9;
    padding: 50px;
    border: 2px solid #c09458;
    max-width: 1100px;
    left: 50%;
    transform: translate(-50%,0);
    overflow: hidden;
}

div.fulltext-team p,
div.fulltext-team li{
    font-size: 18px;
    z-index: 3;
    position: relative;
}
div.fulltext-team li:before {
    content: '';
    position: absolute;
    left: -20px;
    top: 49%;
    transform: translate(0,-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #c09458;
}
div.fulltext-team li {
    list-style-type: none;
    position: relative;
}
button.owl-prev{
    position: relative;
    left: 0;
}
.cerchio-navs i{
    padding: 15px;
}
button.owl-next {
    position: absolute;
    right: 0;
}

.riga-nomefreccia {
    position: absolute;
    bottom: 20px;
    background: #000;
    width: 90%;
    display: flex;
    align-items: center;
    padding: 2em 2em;
    justify-content: space-between;
    cursor: pointer;
    left: 50%;
    transform: translate(-50%);
    border: 2px solid #dca44e;
}
.riga-nomefreccia p {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}
.riga-nomefreccia i{
    color: #fff;
}


.items.teamriquadro {
    position: relative;
}

.pdtop{
    margin-top: 50px;
}


/*
 * Popup continua
 */

.overlay-continua{
    position: fixed;
    display: block;
    background-color: rgba(0, 0, 0, 0.65);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 2em 0;
    z-index: 999999;
}
.continua-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999999;
    width: 100%;
    max-width: 800px;
    height: 300px;
    overflow: scroll;
}
.continua-popup .pop-continua {
    background: #fff;
    padding: 3em;
    z-index: 2;
    position: relative;
}
.continua-popup .pop-continua span.closepop {
    position: absolute;
    clear: both;
    right: 0;
    top: 0;
    background: red;
    color: #fff;
    font-size: 20px;
    padding: 5px 15px;
    display: inline-block;
    font-weight: bold;
    cursor: pointer;
    width: auto;
}


.single-team {
    margin-top: 50px;
}
.single-team h2{
    font-size: 60px;
    margin: 10px 0 0 0;
    text-transform: uppercase;
}

.single-team p{
    margin-top: 0;
}

.single-team .btn {
    margin-top: 20px;
}

img.logo_centro{
    max-width: 300px;
    display: block;
    margin: 0 auto;
}

/* Chi siamo navigation **/

.navigation-container {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
.navigation-container .post-pagination-left .link, .navigation-container .post-pagination-right .link {
    position: relative;
    min-width: 350px;
    min-height: 200px;
    overflow: hidden;
    text-align: center;
    padding: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navigation-container .post-pagination-left .link:before,
.navigation-container .post-pagination-right .link:before {
    content: '';
    position: absolute;
    width: 100%;
    height:100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #000;
    opacity: .4;
    z-index: 2;
}
.navigation-container .post-pagination-left .link img, .navigation-container .post-pagination-right .link img {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%,-50%);
    max-width: 350px;
}
.navigation-container .post-pagination-left .link h4, .navigation-container .post-pagination-right .link h4 {
    color: #fff;
    position: relative;
    z-index: 4;
    font-size: 50px;
    margin: 0;
}

.link.allteamlink {
    background: #000;
}

.imgteam_rel img {
    position: absolute;
}
.imgteam_rel {
    position: relative;
    height: 500px;
    overflow: hidden;
}
.single-team .btn {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}


@media only screen and (max-width: 639px) {

    /** Chi siamo - Page **/

    .hero-chisiamo h1.titolo-home{
        font-size: 55px;
        margin-bottom: 0;
    }
    section.hero-chisiamo {
        min-height: 30vh;
    }

    .wrap-chisiamo .nopad{
        padding-left: 1.5em !important;
        padding-right: 1.5em !important;
    }
    .wrap-chisiamo h2{
        font-size: 40px;
    }
    .stefano_team {
        margin-top: 120px;
    }
    .stefano_team img {
        width: 200px;
    }

    .descrteam h2{
        font-size: 30px;
    }
    .stefano_team .descrizione-stefano{
        columns: 1;
    }
    .items.img_sfondo{
        padding: 50px 20px;
    }

    div.fulltext-team {
        height: 95%;
        top: 50%;
        transform: translate(-50%,-50%);
    }

    div.fulltext-team .row {
        display: block;
    }

    .items.img_sfondo img {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    div.fulltext-team .row .columns {
        width: 100%;
        float: none;
    }
    div.fulltext-team .row img {
        position: relative;
        left: 0;
        right: 0;
        max-width: 100%;
        bottom: 0;
        margin-bottom: 20px;
        border-radius: 100%;
        width: 40%;
        margin-right: 0;
    }

    .title-team-ft{
        display: none;
    }
    .title-team-ft-onlyresp {
        display: block;
        float: left;
        width: 55%;
        padding: 55px 30px 0;
    }
    .fulltext-team .columns.scrolloverflow {
        height: 99%;
        padding-bottom: 300px;
        overflow: scroll;
    }

    .items.img_sfondo h4{
        font-size: 35px;
    }
    .wrap-chisiamo h2 {
        font-size: 30px;
    }

    .cerchio-navs i {
        color: #fff;
        padding: 5px;
        font-size: 30px;
        display: block;
        background: #c59d5f;
    }


    div.fulltext-team{
        padding: 0;
    }

    .close_team_popup {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        background: red;
        color: #fff;
        font-weight: bold;
        font-size: 20px;
        height: 40px;
        width: 40px;
        text-align: center;
        line-height: 40px;
        cursor: pointer;
    }

    .team .owl-nav {
        left: auto;
        top: auto;
        transform: none;
        width: 100% !important;
        position: relative;
        display: block;
        margin: 20px auto;
        min-height: 60px;
    }
    .team button.owl-prev {
        position: absolute;
        left: 0;
    }
    .team button.owl-next {
        position: absolute;
        right: 0;
    }

    .team .cerchio-navs i{
        padding: 15px;
    }

    .wrap-chisiamo .hero-page h1{
        font-size: 50px;
    }

    .wrap-chisiamo .hero-page{
        border-bottom: 10px solid #DCA44E;
    }
    .nopadright {
        padding-right: .9375rem;
    }


    .single-team a.btn {
        display: none;
    }
    .single-team img {
        margin-bottom: 30px;
    }
    .navigation-container {
        display: block;
    }
    .navigation-container div {
        margin: 0 auto 60px;
    }
    .navigation-container div.centro img {
        max-width: 200px;
    }



}


@media only screen and (max-width: 1000px) {

    .single-team .row.flex{
        display: flex;
    }

    .navigation-container {
        display: block;
    }
    .navigation-container div {
        margin: 0 auto 60px;
    }
    .navigation-container div.centro img {
        max-width: 200px;
    }
}

/** New Team **/
.new_team_t p {
    margin: 0;
    font-size: 30px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    color: #dca44e;
}
.new_team_t {
    background: linear-gradient(to left, #252525, #282828);
    display: flex;
    align-items: center;
    padding: 50px;
    margin-top: -120px;
    z-index: 3;
    position: relative;
    border: 5px solid #dca44e;
}

.newteam_r{
    cursor: pointer;
    margin: 10px 0 20px;
}


.col_new_t_text {
    width: 80%;
}
.new_team_t p.ruolo {
    font-size: 20px;
    text-transform: lowercase;
    letter-spacing: 2px;
    font-weight: normal;
    font-style: italic;
    margin-top: -8px;
    color: #fff;
}
.col_new_t_icon {
    text-align: center;
}
.col_new_t_icon i {
    color: #fff;
    font-size: 16px;
    height: 50px;
    width: 50px;
    line-height: 50px;
    border: 1px solid #ddd;
    border-radius: 100%;
}
.col_new_t_icon {
    width: 20%;
}

/** new single team **/

.wrap_singleteam {
    float: left;
    width: 100%;
    padding: 6em 0;
    background-image: url("../images/bgchi.jpg");
    background-position: center center;
    background-size: contain;
    background-repeat: repeat;
}
.riquadro-polaroid {
    position: relative;
    background: #fff;
    padding: 2em;
    box-shadow: inset 0 0 0px 5px #DCA44E;
    transform: rotate(2deg);
}
.imgteam_single {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 360px;
}
.imgteam_single img {
    position: absolute;
    width: 100%;
    top: -30px;
}
.text-singleteam h2 {
    margin: 30px 0 0 0;
    text-align: center;
    font-size: 50px;
    color: #000000;
}
.text-singleteam p.ruolo {
    margin: 10px 0 0 0;
    text-align: center;
    font-size: 25px;
}

/**Groomingsuite**/

.wrap-groomingsuite{
    background-image: url("../images/bgchi.jpg");
    background-position: center center;
    background-size: contain;
    background-repeat: repeat;
}

.cartags {
    max-width: 980px;
    background: #fff;
    padding: 3em;
    margin: -120px auto 0;
    z-index: 3;
    position: relative;
}

.btn.listinobtn{
    background-color: transparent;
    color: #000 !important;
    text-decoration: underline;
    font-style: italic;
}


.btn.listinobtn:hover{
    background-color: transparent;
    color: #000 !important;
    text-decoration: underline;
    font-style: italic;
}


@media only screen and (max-width: 639px){
    .imgchi-intro img{
        max-width: 100%;
    }

    .imgchi-intro::before {
        content: '';
        position: absolute;
        left: 50%;
        width: 90%;
        height: 80%;
        background: #DCA44E;
        top: -40px;
        transform: translate(-50%,0);
    }

    .introchi .columns.medium-6:nth-child(2) {
        padding: 1em;
    }
    .introchi .columns.medium-6:nth-child(2) br{
        display: none;
    }
    .wrap-chisiamo h2 {
        font-size: 55px;
    }

    .wrap-chisiamo .hero-page{
        min-height: 35vh;
    }

    .flex-col-storiachi{
        display: block;
    }
    .storiachi .col1, .storiachi .col2 {
        width: 100%;
    }

    .storiachi .col2 {
        padding: 1em;
    }

    .storiachi .col2 h2{
        font-size: 30px;
    }
    .continuachi {
        padding: 4em 1em;
    }

    .contact_section.chipageend {
        padding: 1em 1em 0;
    }
    .text-center.endchisiamo p {
        font-size: 16px;
    }
    .text-center.endchisiamo {
        padding: 1em;
    }

    .cartags {
        max-width: 95%;
        background: #fff;
        padding: 0 1em 1em;
        margin: -120px auto 0;
        z-index: 3;
        position: relative;
    }

    .imgteam_single{
        min-height: 280px;
    }
    .text-singleteam h2 {
        margin: 20px 0 -10px 0;
        text-align: center;
        font-size: 40px;
    }
    .text-singleteam p.ruolo {
        font-size: 20px;
    }

}

@media only screen and (min-width: 640px) and (max-width: 1000px) {

    .imgchi-intro img{
        max-width: 100%;
    }

    .imgchi-intro::before {
        content: '';
        position: absolute;
        left: 20px;
        width: 100%;
        height: 90%;
        background: #DCA44E;
        top: -30px;
    }
    .introchi .columns.medium-6:nth-child(2) {
        padding: 2em;
    }

    .introchi p {
        font-size: 14px;
    }

    .introchi .columns.medium-6:nth-child(2) br{
        display: none;
    }

    .storiachi .col2 {
        padding: 2em;
    }
    .storiachi .col1, .storiachi .col2 {
        width: 100%;
    }
    .flex-col-storiachi {
        display: block;
    }
    .continuachi .row {
        display: block;
    }
    .continuachi .columns {
        width: 100%;
        flex: 100%;
        max-width: 100%;
    }
    .wrap-chisiamo #team.team .columns.medium-4 {
        width: 50%;
        max-width: 50%;
        flex: 50%;
    }

}

@media only screen and (min-width: 1001px) and (max-width: 1250px) {
    .storiachi .col2 {
        padding: 2em;
    }

    .storiachi .col2 h2{
        font-size: 40px;
    }
}

@media only screen and (min-width: 1251px) and (max-width: 1650px) {
    .storiachi .col2 {
        padding: 2em;
    }

    .storiachi .col2 h2{
        font-size: 40px;
    }
}