@import "/public/css/swiper-js/swiper-bundle.min.css";

.person-page .person-columns {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
}

.person-page .person-column {
    display: table-cell;
    padding: 0 10px;
    vertical-align: top;
}

.person-page .person-right-column {
    width: 280px;
    padding-right: 0;
}

.person-page .person-title {
    position: relative;
    height: 360px;
}

.person-page .person-background-block {
    position: absolute;
    width: 100%;
    height: 270px;
    overflow: hidden;
}

.person-page .person-background {
    position: relative;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url("/modules/Persons/public/front/img/noback.jpg");
    -webkit-animation: scaleBack 30s infinite;
    -moz-animation: scaleBack 30s infinite;
    animation: scaleBack 30s infinite;
}

@keyframes scaleBack {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@-webkit-keyframes scaleBack {
    0% {
        -webkit-transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes scaleBack {
    0% {
        -moz-transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.1);
    }

    100% {
        -moz-transform: scale(1);
    }
}

.person-page .person-photo-block {
    position: relative;
    left: 20px;
    top: 30px;
    border: 5px solid white;
    width: 290px;
    height: 290px;
    border-radius: 2px;
    box-shadow: 0 5px 18px -2px #b9b9b9;
}

.person-page .person-photo {
    position: relative;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url("/modules/Persons/public/front/img/noimg.png");
    background-color: #fff;
}

.person-page .person-name {
    position: absolute;
    left: 340px;
    top: 290px;
}

.person-page .person-name .name {
    font-size: 20px;
    color: #232323;
    margin: 0;
    line-height: 1;
}

.person-page .work-post {
    color: #5d5d5d;
    font-size: 14px;
}

.person-page .person-slogan {
    font-style: italic;
    padding: 0 5px 0 20px;
    border-left: 3px solid #b1b1b1;
    position: relative;
    margin: 0 0 36px 30px;
    max-width: 400px;
    color: #2f2f2f;
    font-size: 14px;
}

.person-page .person-slogan:before {
    content: "\f10d";
    font: normal normal normal 14px/1 FontAwesome;
    position: absolute;
    left: 30px;
    top: 0;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #ccc;
    position: absolute;
    left: -30px;
    top: 1px;
    font-size: 16px;
}

.person-page .person-info-block {
    position: relative;
    margin: 0 0 20px 0;
}

.person-page .person-info-title {
    font-size: 14px;
    margin: 0 0 10px 0;
    font-weight: bold;
    position: relative;
    padding: 0 0 0 13px;
}

.person-page .person-info-title:before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ff8b19;
    border-radius: 10px;
    top: 8px;
    left: 0;
}

.person-page .person-center-column .person-info-block {
    margin: 30px 0 10px 0;
}

.person-page .person-info-block .icon {
    color: #c93738;
    width: 20px;
}

.person-page .person-info-block .email,
.person-page .person-info-block .phone {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.person-tabs {
    position: relative;
}

.person-tabs .tab-toolbar {
    position: relative;
    border-bottom: 2px solid #ad271c;
    padding: 0 0 0 0;
}

.person-tabs .tab-tool {
    display: inline-block;
    vertical-align: top;
    box-shadow: -4px 0 4px rgba(0, 0, 0, 0.07);
    padding: 11px 30px;
    text-decoration: none;
    cursor: pointer;
    background: #ececec;
    background: -moz-linear-gradient(220deg, transparent 10px, #ececec 10px);
    background: -webkit-linear-gradient(220deg, transparent 10px, #ececec 10px);
    background: -ms-linear-gradient(220deg, transparent 10px, #ececec 10px);
    background: -o-linear-gradient(220deg, transparent 10px, #ececec 10px);
    background: linear-gradient(220deg, transparent 10px, #ececec 10px);
    text-shadow: none;
    color: #333;
    position: relative;
    z-index: 1;
}

.person-tabs .tab-tool.-active {
    background: #ad1c1c;
    background: -moz-linear-gradient(220deg, transparent 10px, #ad1c1c 10px);
    background: -webkit-linear-gradient(220deg, transparent 10px, #ad1c1c 10px);
    background: -ms-linear-gradient(220deg, transparent 10px, #ad1c1c 10px);
    background: -o-linear-gradient(220deg, transparent 10px, #ad1c1c 10px);
    background: linear-gradient(220deg, transparent 10px, #ad1c1c 10px);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    color: #fff;
    z-index: 2;
}

.person-tabs .tab-tool:first-child {
    box-shadow: none;
}

.person-tabs .tab-contents {
    position: relative;
}

.person-tabs .tab-content {
    overflow: hidden;
    max-height: 0;
    position: relative;
}

.person-tabs .tab-content.-active {
    overflow: visible;
    max-height: 9000px;
}

.person-feedback-form textarea {
    height: 160px;
}

.person-feedback-form .submit-btn {
    display: block;
    width: 100%;
}

.persons-list {
    position: relative;
    margin-top: 50px;
}

.persons-list .person-block {
    position: relative;
    margin: 0 0 70px 0;
}

.persons-list .swiper-slide {
    width: 25%;
}

.persons-module-action {
    margin-bottom: 60px;
}

.persons-module-action h2 {
    text-align: center;
    font-size: 35px;
}

.persons-list .person {
    display: block;
    box-sizing: border-box;
    padding: 6px;
    color: inherit;
    text-decoration: none;
    width: 100%;
}

.persons-list .person-photo {
    position: relative;
    width: 100%;
    height: 380px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url("/modules/Persons/public/front/img/noimg.png");
    display: block;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.persons-list .person .name {
    display: block;
    font-size: 20px;
    color: #333;
    margin: 10px 0 2px 0;
}

.persons-list .person .work-post {
    display: block;
}

.persons-list .persons-controls {
    position: absolute;
    top: 50%;
    z-index: 1;
    left: 0;
    width: 100%;
    margin-top: -50px;
}

.persons-list .persons-control {
    position: absolute;
    display: block;
    font-size: 17px;
    color: #ffffff;
    margin: 0 0px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    transition: all 240ms ease-out;
    border-radius: 100%;
    background: #4bb933;
    top: 0;
}

.persons-list .persons-control:hover {
    background: #ffb619;
}

.persons-list .persons-control.next {
    right: 0;
}
