html, body {
    margin: 0; 
    padding: 0; 
}

body {
    background-color: #1C1A1B;
    background-image:url(../images/preface.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto 840px;
    font-family: 'Roboto', sans-serif;
    padding-top: 60px;
}

.content {
    color: #4A494A; 
}

h1 {
    font-size: 50px;
    font-family: 'Proxima Nova';
    font-weight: 700;
    color: #fff;
    margin-top: 0;
}

h2 {
    font-size: 63px;
}

a {
    transition: all ease .125s;
    cursor: pointer;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/Proxima_Nova/Proxima-Nova-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

.wrapper {
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 768px) {
    .wrapper {
        width: 750px;
    }
}

@media only screen and (min-width: 992px) {
    .wrapper {
        width: 970px;
    }
}

@media only screen and (min-width: 1400px) {
    .wrapper {
        width: 1370px;
        padding: 0 15px;
    }
}

.panel {
    position: sticky;
    z-index: 20;
    left: 0;
    right: 0;
    padding-top: 20px;
    top: 0;
}

.panel .wrapper {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    flex-grow: 1;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style-type: none
}

.simple-link {
    display: block;
    font-size: 0;
    line-height: 0;
}

.nav-links li + li {
    margin-left: 48px;
}

.nav-links .nav-link__last {
    margin-left: auto;
}

.nav-links li a:not(.simple-link) {
    color: #fff;
    font-size: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    padding: 8px 16px;
    line-height: 20px;
    display: block;
    border-radius: 38px;
}

.nav-links li a:not(.simple-link):hover {
    border-color: #343334;
}

.nav-links li a.btn {
    border-color: #343334;
    border-radius: 4px;
}

.nav-links li a.btn:hover {
    border-color: #fff;
}

.logo {
    margin-right: 255px;
}

.f1 {
    margin-top: 220px;
}

.f1.content {
    text-align: center;
    position: relative;
}

.f1.content:before {
    content: '';
    height: 3px;
    width: 30px;
    background-color: #F48A53;
    position: absolute;
    top: -38px;
    left: 50%;
    margin-left: -15px;
}

.f1__a {
    color: #fff;
    font-size: 24px;
    line-height: 40px;
    font-weight: 300;
    max-width: 940px;
    margin: auto
}

.text-white {
    color: #fff;
}

.f2 {
    padding-top: 250px;
    padding-bottom: 60px;
}

.f2__a {
    color: #808080;
    font-size: 16px;
    line-height: 40px;
    max-width: 376px;
}

.f2 h2 {
    margin-top: 0;
    font-family: 'Proxima Nova';
    font-weight: 700;
    font-size: 40px;
    color: #fff;
    margin-bottom: 28px;
}

.f2__content {
    display: flex;
    align-items: center;
}

.f2__content-body {
    margin-right: 140px;
}

.content.f3 {
    background-color: #141414
}

.f3__content {
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.f3__content h2 {
    margin-top: 0;
    font-family: 'Proxima Nova';
    font-weight: 700;
    color: #242123;
    font-size: 246px;
    line-height: 280px;
    margin-bottom: 0
}

.f3__content-body {
    color: #fff;
    font-size: 24px;
    line-height: 40px;
    font-weight: 300;
    max-width: 540px;
    margin-left: 84px;
}

.f3__content-body ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0
}

.f3__content-body ul li {
    font-size: 16px;
    color: #F48A53;
    font-weight: 400
}

.f3__content-body ul li + li:before {
    content: "\2022";
    margin: 0 8px;
    position: relative;
    top: 2px;
}

.f4 h2 {
    font-size: 28vw;
    line-height: 22vw;
    height: 8vw;
    margin: 0;
    font-family: 'Proxima Nova';
    font-weight: 700;
    color: #242123
}

.content.f4 {
    overflow: hidden;
}

.f4__content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center
}

.f4__content-body {
    font-size: 24px;
    font-weight: 300
}

.f4__content h3 {
    margin: 0;
    font-size: 30px;
    font-family: 'Proxima Nova';
    font-weight: 700;
    margin-bottom: 10px;
}

.admin-links {
    display: flex;
}

a.btn-gold,
button.btn-gold {
    border: 1px solid #D07749;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    user-select: none;
    padding: 11px 18px;
    display: inline-block;
    background-color: transparent;
    outline: none
}

.f4__content a.btn-gold {
    margin-top: 34px;
}

.form__group-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form__group.form__group-submit {
    margin-bottom: 0;
}

.form__group-submit button.btn-gold {
    padding: 11px 29px;
}

button.btn-gold {
    cursor: pointer;
}

a.btn-gold:hover,
button.btn-gold:hover,
button.btn-gold:focus,
button.btn-gold:active {
    border-color: #fff;
}

.works {
    display: flex;
    flex-wrap: wrap;
    margin: 64px -3px 0;
}

.works__image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 160px;
}




@media only screen and (min-width: 1400px) {
    .works__image {
        height: 230px;
    }
}

.works__item {
    padding: 0 3px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 6px;
}

.works__item_l {
    width: 33.333%;
}

.works__item_m {
    width: 26%;
}

.works__item_s {
    width: 20.333%
}

.works__link {
    color: #fff;
    text-decoration: none
}

.works__description {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(20,19,24,.5);
    opacity: 0;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    -webkit-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
}

.works__item:hover .works__description {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.works__description-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Arial';
}

.works__description-album {
    font-size: 12px;
    font-weight: 400;
    margin-top: 12px;
}

.content.f5 {
    margin-top: 84px;
}

.f5__heading {
    display: flex;
    align-items: center;
}

.f5__heading h2 {
    font-size: 50px;
    font-family: 'Proxima Nova';
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding-top: 90px;
    margin-right: 56px;
}

.f5__content {
    color: #4A494A;
    font-size: 22px;
    line-height: 36px;
    margin-top: -40px;
}

.f5__heading .big-text {
    color: #242123;
    font-size: 246px;
    font-family: 'Proxima Nova';
    font-weight: 700;
}

.content.f6 {
    margin-top: 100px;
}

.f6 h2 {
    font-family: 'Proxima Nova';
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    padding-top: 20px;
    margin: 0
}

.f6__heading {
    display: flex;
    align-items: center;
}

.f6__heading .big-text {
    color: #242123;
    font-size: 316px;
    font-family: 'Proxima Nova';
    font-weight: 700;
    margin-left: auto;
    margin-right: 80px;
    line-height: 330px;
}

.content.f7 {
    margin-top: 150px;
}

.content.f7 h2 {
    font-family: 'Proxima Nova';
    font-weight: 700;
    color: #fff;
    font-size: 40px;
    text-align: center;
    margin: 0;
    margin-bottom: 22px;
}

.team-craousel {
    margin-top: -80px;
}

.team-craousel__nav {
    display: flex;
    align-items: center;
    padding-top: 20px;
    text-align: center;
    justify-content: center;
}

.team-craousel__nav > div {
    cursor: pointer;
    user-select: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    border: 1px solid #2E2C2D;
    transition: all ease .125s;
    padding-left: 10px;
    box-sizing: border-box;
}

.team-craousel__nav > div.owl-prev {
    padding-left: 8px;
    margin-right: 11px;
}

.team-craousel__nav > div:hover {
    border-color: #fff;
}

.team-craousel__nav > div svg path {
    fill: #fff;
}

.slide {
    background-color: #0D0D0D;
    color: #707070;
    height: 198px;
    padding: 42px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
}

.slide__name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-right: 20px;
}


.slide__title {
    color: #F48A53;
    font-size: 14px;
    font-weight: 400
}

.slide__desc {
    line-height: 29px;
    margin-top: 10px;
}

.slide + .slide {
    margin-top: 6px;
}

.slide__img {
    margin-right: 31px;
}

.slide__img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.slide__hero {
    display: flex;
    align-items: center;
}

.f7__content {
    max-width: 780px;
    margin: auto;
}

.f7__content-description {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 32px;
    font-weight: 300;
    color: #8E8D8D;
    text-align: center;
}

.form input:not([type="checkbox"]),
.form textarea {
    background-color: #0D0D0D;
    display: block;
    border-radius: 4px;
    width: 100%;
    display: block;
    border: 1px solid transparent;
    box-sizing: border-box;
    color: #fff;
    font-family: 'Roboto';
    font-size: 14px;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: #707070
}

.form input:not([type="checkbox"]) {
    height: 40px;
    padding: 10px 15px;
}

.form textarea {
    height: 160px;
    padding: 14px 15px;
}

.form ::-webkit-input-placeholder {
    font-family: 'Roboto';
    font-size: 14px;
    color: #fff;
}

.form ::-moz-placeholder {
    font-family: 'Roboto';
    font-size: 14px;
    color: #fff;
}

.form :-moz-placeholder {
    font-family: 'Roboto';
    font-size: 14px;
    color: #fff;
}

.form :-ms-input-placeholder {
    font-family: 'Roboto';
    font-size: 14px;
    color: #fff;
}

.form__group {
    margin-bottom: 20px;
}

.form__group_stacked {
    display: flex;
    align-items: center;
    margin-left: -3px;
    margin-right: -3px;
}

.form__group_stacked > input {
    margin: 0 3px;
}

.checkbox {
    width: 1px !important;
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

.checkbox + label {
    font-size: 12px;
    padding-left: 33px;
    position: relative;
    cursor: pointer;
    color: #fff;
    display: block;
    line-height: 1.5em
}

.checkbox + label:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    border: 1px solid #4c4a4a;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    transition: all ease .125s
}

.checkbox:not(:checked) + label:hover:after {
    border-color: #fff;
}

.checkbox + label:before {
    transition: all ease .125s;
    opacity: 0;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    background-image: url(/images/check.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 7px 5px;
    width: 20px;
    height: 20px;
}

.checkbox:checked + label:before {
    opacity: 1;
}

.form__checkbox {
    height: 24px;
}

.btn-file {
    color: #fff;
    font-size: 12px;
    border: 1px solid #4c4a4a;
    text-decoration: none;
    padding: 4px 13px;
    line-height: 20px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.file-input-group,
.form__group-file {
    display: flex;
    align-items: center;
}

.file__description {
    color: #fff;
    font-size: 12px;
}

input.btn-file__input {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px;
    cursor: pointer;
}

.btn-file__text {
    font-size: 12px;
    color: #8E8D8D;
    background-color: transparent;
    border: 0 none;
    margin-left: 9px;
    margin-right: 22px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-file__text:focus {
    border: 0 none;
}

.footer {
    margin-top: 150px;
    background-color: #0D0D0D;
    color: #868686;
    text-align: center;
    font-size: 12px;
    padding: 50px 0;
}

body.panel-opened .wrapper {
    position: relative;
}

body.panel-opened .nav-links {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0D0D0D
}

.toggle {
    display: none
}

@media only screen and (max-width: 1400px) and (min-width: 992px) {

    .logo {
        margin-right: 100px;
    }

    .nav-links li + li {
        margin-left: 32px;
    }

    .f2__content-body {
        margin-right: 100px;
    }

    .f5__heading .big-text {
        font-size: 140px;
    }

    .f5__content {
        margin-top: 0;
    }

    .f5__heading h2 {
        padding-top: 50px;
    }

    .f6__heading .big-text {
        font-size: 260px;
    }

    .slide {
        height: auto;
    }

    .content.f7 {
        margin-top: 60px;
    }
}

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

    .f6__heading .big-text {
        position: absolute;
    }

    .team-craousel {
        margin-top: 28px;
        position: relative;
        z-index: 1
    }

    .f6 h2,
    .team-craousel__nav {
        position: relative;
        z-index: 1;
        padding-top: 0
    }

    .content.f6 {
        margin-top: 160px;
    }

    .content.f7 {
        margin-top: 120px;
    }

    .team-craousel__nav {
        margin-left: auto;
    }

    .f5__heading .big-text {
        position: absolute;
    }

    .f5__heading h2 {
        position: relative;
        padding-top: 0;
        z-index: 2
    }

    .f5__content {
        margin-top: 28px;
        position: relative;
        z-index: 1
    }

    .logo {
        margin-right: 40px;
    }

    .nav-links li + li {
        margin-left: 10px;
    }

    .logo img {
        width: 140px;
    }

    .f2__content {
        flex-direction: column;
        text-align: center;
    }

    .f2__content-body {
        margin-right: 0;
    }

    .f2__a {
        max-width: 100%;
    }

    .f2__image {
        margin-top: 40px;
    }

    .f3__content {
        flex-direction: column;
    }

    .f3__content h2 {
        font-size: 40px;
        line-height: 1.4em;
        color: #fff;
    }

    .f3__content-body {
        margin-left: 0;
        margin-top: 28px;
        max-width: 100%;
        text-align: center;
    }

    .f3__content-body ul {
        justify-content: center;
    }
}

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

    .works__description {
        position: static;
        opacity: 1;
        margin-top: 20px;
        transform: none;
        height: auto;
        background-color: transparent;
    }

    .works__item {
        margin-bottom: 40px;
    }

    .works__description-album {
        margin-top: 6px;
    }

    .works__item {
        width: 50%;
    }

    .toggle {
        display: block;
    }

    .nav-links {
        display: none
    }

    h1 {
        font-size: 32px;
    }

    .f1 {
        margin-top: 120px;
    }

    .f1__a,
    .f3__content-body,
    .f4__content-body,
    .f5__content,
    .f7__content-description {
        font-size: 16px;
        line-height: 28px;
    }

    .f2 {
        padding-top: 120px;
    }

    .f2__a {
        line-height: 28px;
    }

    .f2 h2,
    .f3 h2,
    .f4 h2,
    .f5 h2,
    .f6 h2,
    .f7 h2,
    .content.f7 h2 {
        font-size: 26px;
    }

    .f2__image img {
        width: 277px;
        height: auto;
    }

    .f3__content-body ul {
        margin-bottom: 20px;
    }

    .f5__heading .big-text,
    .f6__heading .big-text,
    .f4 h2 {
        display: none
    }

    .content.f4 {
        margin-top: 60px;
    }

    .f5__heading {
        justify-content: center;
    }

    .f5__heading h2 {
        padding-top: 0;
        margin-right: 0
    }

    .f5__content {
        text-align: center;
    }

    .content.f6 {
        margin-top: 80px;
    }

    .slide {
        height: auto;
    }

    .slide {
        padding: 24px;
    }

    .toggle {
        margin-left: auto;
        border-radius: 4px;
        border: 1px solid #fff;
        padding: 8px;
        background-color: transparent;
    }

    .toggle > span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background-color: #fff;
    }

    .toggle > span + span {
        margin-top: 5px;
    }

    .nav-links {
        padding-top: 12px;
    }

    .nav-links li + li {
        margin-left: 0
    }

    .nav-links li a:not(.simple-link), 
    .nav-links li a.btn {
        border-color: transparent;
    }

    .nav-links .simple-link {
        padding: 6px 16px;
    }

    .panel {
        padding-top: 6px;
        padding-bottom: 6px;
        background-color: #0D0D0D;
    }

    body {
        padding-top: 0
    }

    .nav-link__last {
        margin-bottom: 10px;
    }

    .nav-links {
        text-align: center;
    }

}

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

    .slide__hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .slide__name {
        margin-bottom: 6px;
    }

    .form__checkbox {
        height: auto;
    }

    .form__group-submit button.btn-gold {
        margin-top: 20px;
        width: 100%;
    }

    .form__group_stacked,
    .form__group.form__group-submit {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }
    
    .form__group_stacked > input {
        width: 100%;
        margin: 0
    }

    .form__group_stacked > input + input {
        margin-top: 20px;
    }

    .slide__desc {
        line-height: 22px;
    }

    .slide__body {
        margin-top: 20px;
    }

    .slide {
        flex-direction: column;
    }
}

a.ajax { font-family: arial, sans-serif; font-size: 14px; color: #778b95; text-decoration: none; border-bottom: 1px dashed #778b95; cursor: pointer; }

.footer ul, .footer li { list-style: none; margin: 0; padding: 0; }
.footer ul, .footer p { margin: 20px 0; }
.footer li { display: inline-block; margin-right: 1.5em; }
.work-gallery { margin-top: 30px; }
.work-pic { display: inline-block; width: 200px; height: 130px; background: rgba(0,0,0,.1); border-radius: 3px; margin: 0 25px 25px 0; }
.s14 { font-family: arial, sans-serif; font-size: 14px; color: #2a2322; }
.s14 .bold { font-weight: bold; font-size: 14px; color: #2a2322; text-transform: uppercase; }

.lineup { border-top: 1px solid #18130d; }
.lineups { width: 278px; height: 10px; }
.table { display: table; }
.cell { display: table-cell; }

.portlet {border: 1px solid #000; padding: 22px; margin-top: 110px; width: 220px;}
.grid-view table.items th {background: rgba(0,0,0,.7);}

.fancybox-toolbar .fancybox-button:not(.fancybox-button--close) {
    display: none !important
}

.fancybox-thumbs {
    top: auto;
    width: auto;
    bottom: 0;
    left: 0;
    right : 0;
    height: 95px;
    padding: 10px 10px 5px 10px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
}

.fancybox-show-thumbs .fancybox-inner {
    right: 0;
    bottom: 95px;
}


.admin-links {
    margin-top: 30px;
    color: #fff;
}

.admin-links form label {
    margin-bottom: 4px;
    display: block;
}

.admin-links .edit-field {
    flex-grow: 1;
}

.admin-links .sidebar {
    flex-shrink: 0;
    margin-left: 30px;
}

.admin-links .form .row {
    margin-bottom: 20px;
}

.list-view .view {
    margin-bottom: 20px;
    font-size: 14px;
}

table.detail-view th, 
table.detail-view td,
.grid-view table.items th, 
.grid-view table.items td {
    color: #000;
}

.admin-links a {
    color: #fff;
}

.admin-links .form .buttons input[type="submit"] {
    color: #fff;
    font-size: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    padding: 8px 16px;
    line-height: 20px;
    display: block;
    border-radius: 38px;
    border-color: #343334;
    border-radius: 4px;
    cursor: pointer;
}

.portlet-content ul li + li {
    margin-top: 8px;
}

.portlet-content ul li a {
    color: #fff;
    font-size: 12px;
}

.grid-view .pager {
    margin-top: 12px;
}

ul.yiiPager a:link, 
ul.yiiPager a:visited {
    color: #fff;
}

@media all and (max-width: 767px) {

    .fancybox-thumbs__list {
        white-space: normal;
    }

    .portlet {
        width: 100%;
        margin-top: 0;
        box-sizing: border-box;
        padding: 22px 15px;
    }

    .admin-links .sidebar {
        margin-left: 0;
        margin-bottom: 40px;
        width: 100%;
    }

    .admin-links {
        flex-wrap: wrap;
    }

    .admin-links .edit-field {
        order: 1;
        width: 100%;
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadein {
    animation-name: fadeIn;
}

.fadeinup {
    animation-name: fadeInUp;
}


.fadeinright {
    animation-name: fadeInRight;
}

.fadeinleft {
    animation-name: fadeInLeft;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate3d(-20%, 0, 0)
    }
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate3d(20%, 0, 0)
    }
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 20%, 0)
    }
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

#admin_menu li + li {
    margin-top: 5px;
}

#admin_menu a {
    color: #fff;
}

#login-form {
    width: 400px;
    margin: 100px auto;
}

#login-form .row {
    margin-top: 10px;
}

form img {
    max-width: 100%;
}
