/**
 * MOBILE MENU
 */

/* NAV TOGGLE */
.nav-toggle span {
    background: #fff;
}
.theme--dark .nav-toggle span {
    background: #000;
}
.nav-toggle.active span {
    background: #000;
}
.theme--light .nav-toggle.active span {
    background: #fff;
}

.theme--light .nav-toggle.active span.l2 {
    background: 0 0;
}

/* RWD MENU */
.rwd-menu ul > li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rwd-menu ul > li {
    display: block;
    float: left;
    margin-bottom: -1px;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}
.rwd-menu ul > li > a {
    position: relative;
    padding: 13px 15px 13px;
    color: #000;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}
.rwd-menu .rwd-menu-wrapper > ul > li.active-link > a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
}
.rwd-menu ul > li > a#home {
    padding-left: 50px;
    background: url(../images/home.png) no-repeat 15px 16px;
}
.rwd-menu ul > li.active-link > a#home {
    background: url(../images/home.png) no-repeat 15px -76px;
}
.rwd-menu ul > li > ul {
    display: none;
}
.rwd-menu ul > li.active > ul {
    display: block;
}
.rwd-menu ul > li.active > a {
    /*font-weight: bold;*/
    color: #ed1c24;
}
.rwd-menu ul > li > a > .glyphicon-bg {
    position: absolute;
    top: 1px;
    right: 0;
    bottom: 0;
    width: 50px;
    background: #e7e7e7;
    color: #000;
    text-align: center;
    transition: 0.4s all;
}
.rwd-menu ul > li > ul > li > a,
.rwd-menu ul > li.active > ul > li > a {
    color: #000;
}
.rwd-menu ul > li > ul > li.active-link > a {
    text-decoration: underline;
}
.rwd-menu ul > li:first-child > a > .glyphicon-bg {
    top: 0;
}
.rwd-menu ul > li > a .glyphicon {
    width: 100%;
    vertical-align: middle;
    text-align: center;
    line-height: 50px;
    transition: 0.4s all;
}
.rwd-menu ul > li.active > a .glyphicon {
    transition: 0.4s all;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
.rwd-menu ul > li.active > ul > li:last-child {
    border-bottom: 0;
}
.rwd-menu ul > li ul {
    border-bottom: 1px solid #000;
}
.rwd-menu ul > li > ul > li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #e7e7e7;
    text-align: center;
}
.rwd-menu ul > li > ul > li:last-child {
    margin-bottom: -1px;
}
.rwd-menu ul > li > ul > li > a {
    position: relative;
    padding: 13px 15px 13px 35px;
    color: #000;
    text-align: left;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}
.rwd-menu ul > li > ul > li > a > .glyphicon-bg,
.rwd-menu ul > li > ul > li > ul > li {
    background: #b7b7b7;
}
.rwd-menu ul > li > ul > li > ul > li > a {
    padding: 13px 15px 13px 55px;
}
.rwd-menu ul > li > ul > li > a:before {
    position: absolute;
    top: 22px;
    left: 15px;
    width: 5px;
    height: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #000;
    content: '';
}
.rwd-menu ul > li > ul > li.active-link > a:before {
    background: #000;
}
.rwd-menu ul > li > ul > li > ul > li > a:before {
    left: 35px;
}
.rwd-menu ul > li > ul > li > ul {
}
.rwd-menu ul > li > ul > li > ul > li > ul {
}

.rwd-panel {
    display: none;
    pointer-events: none;
    overflow-x: hidden;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
}
.rwd-panel-wrapper {
    pointer-events: visible;
    overflow-x: hidden;
    height: inherit;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rwd-lang li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.rwd-lang .lang {
    display: block;
    padding: 12px 15px;
    color: #000;
}
.rwd-lang .lang span {
    font-size: 16px;
}
.rwd-lang .langs-menu-icon {
    margin-right: 15px;
}
.rwd-lang .langs-menu-short {
    display: none;
}
.rwd-lang .langs-menu-long {
    display: inline-block;
    text-transform: uppercase;
}


/* --------------- BREAKPOINTS --------------- */

@media screen and (max-width: 1440px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .page-heading-title {
        font-size: 66px;
    }

    .page-heading {
        padding-top: 140px;
        margin: 0 auto 20px;
    }

    .logo a svg:first-child {
        top: 30px;
    }

    .logo a,
    .logo a svg:first-child {
        width: 74px;
        height: 95px;
    }

    .section-creators {
        margin-bottom: 50px;
    }

    .creators {
        margin: -10px;
    }

    .creator {
        padding: 10px;
    }

    .page-heading + .section-creators {
        margin-top: 50px;
    }

    .section-text {
        margin: 60px 0;
    }

    .section-realization.waypoint-start .section-realization-content-middleLine {
        font-size: 64px;
    }

    .section-realization-content-topLine {
        font-size: 30px;
    }

    .section-image-wrapper .section-realization-content-bottomLine {
        margin-top: 45px;
    }

    .page-heading + .section-projects {
        margin-top: 60px;
    }

    .project-content-bottomLine {
        margin-top: 30px;
    }

    .project-content-topLine {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .page-text .page-heading-title {
        font-size: 38px;
    }
}
@media screen and (max-width: 1280px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media screen and (min-width: 1140px) {
    .rwd-lang,
    .rwd-menu,
    .nav-toggle {
        display: none;
        display: none !important;
    }
}
@media screen and (max-width: 1139px) {
    .text table tr td {
        padding: 6px 10px;
    }
    #main-menu {
        display: none;
    }
    .nav-toggle {
        display: block;
        margin: 15px 5px 15px 25px;
    }
    .fancybox-active .nav-toggle {
        opacity: 0;
    }
    .langs-menu ul {
        display: none!important;
    }
    .rwd-hide {
        display: none;
    }
    .text img {
        max-width: 100%;
        max-width: 100% !important;
    }
    .container {
        width: 100%;
    }
    .body-block {
        position: fixed;
        width: 100%;
    }
    .article-image {
        margin-right: 25px;
        margin-bottom: 15px;
    }

    #content {
        padding-top: 60px;
    }

    body.mainpage {
        background-color: #000;
    }

    header.theme--dark {
        background: #fff;
    }

    header.theme--light {
        background: #000;
    }

    .page-heading {
        padding-top: 0;
        margin: 30px auto 20px;
    }

    .page-heading-title {
        font-size: 52px;
    }

    .logo a svg:nth-child(1) {
        display: none;
    }

    .logo a svg:nth-child(2) {
        opacity: 1;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
        left: 0;
        top: 3px;
    }

    .logo a,
    .logo a svg:nth-child(2) {
        width: 160px;
        height: 53px;
    }

    .page-heading + .section-creators {
        margin-top: 40px;
    }

    .section-creators {
        margin-bottom: 40px;
    }

    .section-realization:before,
    .section-realization:after {
        display: none;
    }

    .section-text {
        margin: 50px 0;
    }

    .section-realization {
        height: 0;
        padding-top: 65%;
    }

    .section-realization.waypoint-start .section-realization-content-topLine {
        font-size: 16px;
    }

    .section-realization.waypoint-start .section-realization-content-middleLine {
        font-size: 48px;
    }

    .section-realization.waypoint-start .section-realization-content-bottomLine {
        margin-top: 20px;
    }

    .section-realization.waypoint-start .section-realization-content-bottomLine .text {
        font-size: 42px;
    }

    .section-realization-content-topLine {
        font-size: 26px;
    }

    .section-image-wrapper .section-realization-content-bottomLine {
        margin-top: 30px;
    }

    .section-realization-content-bottomLine .text {
        line-height: 32px;
    }

    .page-heading + .section-projects {
        margin-top: 45px;
    }

    .project-content-bottomLine {
        margin-top: 20px;
    }

    .section-graffiti-caption {
        font-size: 24px;
    }

    .contact-section {
        height: calc(100vh - 110px);
    }

    .page-heading + .section-text {
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .page-text .page-heading-title {
        font-size: 32px;
    }

    .gallery-list-item {
        width: 33.3333%;
    }

    .under-video {
        display: none;
    }
}
@media screen and (max-width: 960px) {

    .creator-innerWrapper {
        font-size: 0;
        --creator-icon: 300px;
    }

    .creator-innerWrapper > * {
        font-size: 1rem;
    }

    .creator {
        width: 100%;
    }

    .creator-image {
        display: inline-block;
        vertical-align: middle;
        width: var(--creator-icon);
    }

    .creator-name {
        margin: 0;
        padding-top: 0;
        text-align: left;
    }

    .creator-role {
        text-align: left;
    }

    .creator-content {
        max-width: 100%;
        margin: 0 auto;
        display: inline-block;
        vertical-align: middle;
        width: calc(100% - var(--creator-icon));
        padding-left: 50px;
    }

    .project {
        width: 100%;
    }
}
@media screen and (max-width: 900px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-bar {
        text-align: center;
        padding: 13px 0;
        line-height: normal;
    }

    .footer-bar {
        min-height: 80px;
    }

    .footer-bar-content > * {
        float: none;
        display: inline-block;
        vertical-align: middle;
    }
    .footer-bar-content.footer-bar-content > * {
        margin-left: 15px;
        margin-right: 15px;
    }

    .footer-bar .footer-bar-links {
        display: block;
        margin: -3px -8px;
    }
    .footer-bar .footer-bar-links:not(:last-child) {
        margin-bottom: 3px;
    }
    .footer-bar-links > li {
        margin: 3px 8px;
        line-height: 20px;
    }

    .copyright,
    .copyright-undicom {
        margin-top: 4px;
        margin-bottom: 4px;
        line-height: 20px;
    }

    .contact-section {
        height: calc(100vh - 140px);
    }
}
@media screen and (max-width: 767px) {
    .text .table-responsive-wrapper {
        position: relative;
        padding-bottom: 40px;
        margin: 20px 0;
    }
    .text .table-responsive-wrapper::after {
        pointer-events: none;
        content: "";
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 45px;
        background-size: contain;
        background-position: right 15px center;
        background-repeat: no-repeat;
        background-image: url(../images/rwd-table-hand.png);
        -webkit-animation-name: rwd-hand-move;
        animation-name: rwd-hand-move;
        -webkit-animation-duration: 1.5s;
        animation-duration: 1.5s;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-direction: alternate;
        animation-direction: alternate;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
    }
    .text .table-responsive {
        margin: 0;
        border: none;
    }

    .text table {
        margin: 0;
        min-width: 780px;
    }
    @keyframes rwd-hand-move {
        0% {
            transform: translateX(-30px);
        }
        100% {
            transform: translateX(0);
        }
    }
    @-webkit-keyframes rwd-hand-move {
        0% {
            transform: translateX(-20px);
        }
        100% {
            transform: translateX(0);
        }
    }
    .form .form-element-captcha .captcha-image-wrapper {
        margin-bottom: 15px;
    }

    .creator-innerWrapper {
        --creator-icon: 230px;
    }

    .creator-content {
        padding-left: 30px;
    }

    .gallery-list-item {
        width: 50%;
    }
}
@media screen and (min-width: 706px) {
    footer .show-hide {
        display: block !important;
    }
}
@media screen and (max-width: 639px) {
    .text img {
        max-width: 100%;
        max-width: 100% !important;
        width: inherit;
        width: inherit !important;
        height: auto;
        height: auto !important;
    }
    .text table,
    .text iframe,
    .text object {
        max-width: 100%;
        max-width: 100% !important;
        width: 100%;
        width: 100% !important;
    }
    .article-image {
        margin-right: 0;
        margin-top: 0;
        width: 100%;
        display: block;
        float: none;
        max-width: none;
        text-align: center;
        line-height: 0;
    }

    .breadcrumb > li:not(:first-child):not(:last-child):not(:nth-last-child(2)) {
        display: none;
    }
    .breadcrumb > li:not(:first-child):not(:last-child) a {
        font-size: 0;
        text-indent: -1000px; /* Apple */
    }
    .breadcrumb > li:not(:last-child) a span {
        display: none;
    }

    .breadcrumb > li:not(:first-child):not(:last-child) a:after {
        content: "...";
        font-size: 12px;
    }
    .breadcrumb > li + li:before {
        padding: 0 6px;
    }
    .breadcrumb > li:first-child a {
        font-size: 0!important;
        letter-spacing: 0!important;
    }
    .breadcrumb > li:first-child a:after {
        content: "\f015";
        display: inline-block;
        font-family: FontAwesome, sans-serif;
        font-size: 12px;
    }

    .page-heading {
        margin: 20px auto 15px;
    }

    .page-heading-title {
        font-size: 38px;
    }

    .creator {
        width: 50%;
    }

    .creator-innerWrapper {
        --creator-icon: 100%;
    }

    .creator-content {
        margin: 25px 0 auto;
        width: 100%;
        padding-left: 0;
    }

    .creator-name {
        text-align: center;
    }

    .creator-role {
        text-align: center;
    }

    .section-text {
        margin: 40px 0;
    }

    .section-realization {
        padding-top: 60%;
    }

    .project-innerWrapper {
        padding-bottom: 60%;
    }

    .section-realization.waypoint-start .section-realization-content-topLine {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .section-realization.waypoint-start .section-realization-content-middleLine {
        font-size: 32px;
    }

    .section-realization.waypoint-start .section-realization-content-bottomLine {
        margin-top: 10px;
        padding-top: 0;
    }

    .section-realization.waypoint-start .section-realization-content-bottomLine .text {
        font-size: 26px;
    }

    .section-realization-content-scroll {
        display: none;
    }

    .section-realization-content-topLine {
        font-size: 22px;
    }

    .section-image-wrapper .section-realization-content-bottomLine {
        margin-top: 15px;
    }

    .project-content-bottomLine,
    .section-realization-content-bottomLine {
        font-size: 14px;
    }

    .page-heading + .section-projects {
        margin-top: 30px;
    }

    .project-content-bottomLine {
        margin-top: 5px;
    }

    .section-realization-content-bottomLine + .section-realization-content-bottomLine,
    .project-content-bottomLine + .project-content-bottomLine {
        margin-top: 3px;
    }

    .project-content-topLine {
        font-size: 18px;
    }

    .section-graffiti-caption {
        font-size: 22px;
    }

    .footer-bar-content.footer-bar-content > * {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-bar {
        min-height: 108px;
    }

    .contact-section {
        min-height: 350px;
        height: calc(100vh - 168px);
    }

    .page-heading + .section-text {
        margin-top: 15px;
        margin-bottom: 25px;
    }

    .page-text .page-heading-title {
        font-size: 28px;
    }

    .fancybox-caption {
        font-size: 14px;
        line-height: 20px;
        padding-top: 15px;
    }

    .fancybox-caption-wrap {
        padding-bottom: 40px;
    }
}
@media screen and (max-width: 560px) {
    .text {
        word-wrap: break-word;
        font-size: 13px;
        line-height: 28px;
    }

    .section-realization-content-bottomLine .text {
        line-height: 28px;
    }

    .page-heading-subtitle + .text {
        margin-top: 3px;
    }

    .page-heading + .section-creators {
        margin-top: 30px;
    }

    .section-creators {
        margin-bottom: 30px;
    }

    .project-content-topLine,
    .section-realization-content-topLine {
        font-size: 18px;
    }

    .section-realization.waypoint-start .section-realization-content-middleLine {
        font-size: 26px;
    }
}
@media screen and (max-width: 420px) {
    .footer-bar-content.footer-bar-content > * {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-bar {
        min-height: 101px;
    }

    .contact-section {
        height: calc(100vh - 161px);
    }

    .page-heading-title {
        font-size: 32px;
    }

    .creator {
        width: 100%;
        margin-bottom: 15px;
    }

    .creator-innerWrapper {
        max-width: 280px;
        margin: 0 auto;
    }

    .creator-name {
        max-width: 100%;
    }

    .creator-role {
        text-align: center;
    }

    .section-text {
        margin: 30px 0;
    }

    .project-content,
    .section-realization-content-innerWrapper {
        max-width: 300px;
    }

    .project-content-topLine,
    .section-realization-content-topLine {
        font-size: 14px;
    }

    .project-content-middleLine,
    .section-realization-content-middleLine {
        font-size: 20px;
    }

    .page-text .page-heading-title {
        font-size: 24px;
    }
}
@media screen and (max-width: 319px) {
    body {
        width: 320px;
    }
}

/* --------------- GLOBAL VARIABLES --------------- */

@media screen and (max-width: 1600px) {
    :root {
        --space-60: 55px;
        --space-50: 45px;
        --space-40: 35px;

        --font-60: 52px;
        --font-48: 40px;
        --font-36: 32px;
        --font-30: 26px;
        --font-24: 22px;
    }
}
@media screen and (max-width: 1440px) {
    :root {
        --space-60: 50px;
        --space-50: 40px;

        --font-60: 46px;
        --font-48: 36px;
    }
}
@media screen and (max-width: 1366px) {
    :root {
        --space-25: 20px;

        --font-60: 40px;
        --font-48: 34px;
        --font-36: 28px;
        --font-30: 24px;
    }
}
@media screen and (max-width: 1280px) {
    :root {
        --space-60: 40px;
        --space-50: 35px;
        --space-40: 30px;

        --font-60: 38px;
        --font-48: 32px;
    }
}
@media screen and (max-width: 1139px) {
    :root {
        --space-60: 35px;
        --space-50: 30px;
        --space-40: 25px;
        --space-25: 15px;
    }
}
@media screen and (max-width: 960px) {
    :root {
        --space-60: 30px;
        --space-50: 25px;
        --space-40: 20px;
    }
}
@media screen and (max-width: 639px) {
    :root {
        --font-60: 34px;
        --font-48: 30px;
        --font-36: 24px;
        --font-30: 22px;
        --font-24: 18px;
    }
}
@media screen and (max-width: 420px) {
    :root {
        --font-60: 28px;
        --font-48: 24px;
        --font-36: 20px;
        --font-30: 20px;
        --font-24: 16px;
    }
}