/**
 * MOBILE MENU
 */

/* NAV TOGGLE */
.nav-toggle span {
    background: #fff;
}

.nav-toggle.active span {
    background: #fff;
}

.nav-toggle.active span.l1 {
    margin-top: 6px;
}

/* RWD MENU */
.rwd-menu ul > li:first-child {
    border-top: 1px solid #e5e5e5;
}

.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: #c2b187;
    text-decoration: none;
    font-weight: 700;
}

.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: #c2b187;
}

.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: 1670px) {
    .slider-text-content {
        width: 100%;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
}

@media screen and (max-width: 1600px) {
    .dermatology-box {
        margin: 0 -40px 133px;
    }

    .dermatology-item {
        padding: 0 40px;
    }

    .news-box {
        margin: 0 -40px;
    }

    .news {
        padding: 0 40px;
    }

    nav#top-menu ul li a {
        padding: 20px 10px;
    }

    .logo a img {
        height: 70px;
    }

    .logo a {
        padding: 16px 0;
    }

    .footer-box:last-child {
        padding: 64px 0 64px 50px;
    }

    nav.social-list {
        padding-right: 40px;
    }
}

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

    .contact-box-container {
        background: transparent
    }

    .title-icon {
        width: 90px;
    }

    .slide-text-header {
        margin-bottom: 14px;
    }

    .dermatology-box {
        margin: 0 -20px 133px;
    }

    .dermatology-item {
        padding: 0 20px;
    }

    .news-box {
        margin: 0 -20px;
    }

    .news {
        padding: 0 20px;
    }

    .description {
        font-size: 14px;
        line-height: 24px;
    }

    nav#top-menu ul li a {
        padding: 20px 5px;
    }

    .footer-box:last-child {
        padding: 64px 0 64px 40px;
    }

    nav.social-list {
        padding-right: 30px;
    }
}

@media screen and (max-width: 1366px) {
    .description {
        max-height: 144px;
        overflow: hidden;
    }

    .dermatology-box {
        margin: 0 -10px 133px;
    }

    .dermatology-item {
        padding: 0 10px;
    }

    .news-box {
        margin: 0 -10px;
    }

    .news {
        padding: 0 10px;
    }

    .btn-visit .btn-icon {
        margin-left: 0px;
        margin-right: -5px;
    }

    .btn-visit {
        padding-right: 8px;
        width: auto;
        padding-left: 0;
    }

    .footer-boxes-container {
        padding-top: 30px;
        padding-bottom: 30px;
        background: #363636 url(../images/footer_bg.png) no-repeat bottom center / 100% auto;
    }

    .newsletter-box-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .news-box-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer-box:last-child {
        padding: 64px 0 64px 30px;
    }

    nav.social-list {
        padding-right: 10px;
    }

    #main-menu li {
        width: auto;
    }

    nav#top-menu ul li a {
        padding: 20px 3px;
    }

    .map-box iframe {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 1280px) {
    .description {
        max-height: 120px;
        overflow: hidden;
    }

    nav#top-menu ul li a {
        padding: 20px 2px;
    }

    .dermatology-box {
        margin: 0 -10px 84px;
    }

    .footer-box:last-child {
        padding: 64px 0 64px 20px;
    }

    nav.social-list {
        padding-right: 20px;
    }

    .newsletter-icon {
        width: 100px;
        height: 100px;
        top: -15px;
    }

    .newsletter-title h3 {
        padding-left: 54px;
    }

    .newsletter-title {
        width: 20%;
    }

    .newsletter-text {
        width: 53%;
    }

    .person-name {
        width: auto;
    }

    .news-box-sub-container, .text-box-container, .faq-box-container, .contact-box-container {
        padding-top: 30px;

    }

    h1 {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 1270px) {
    .langs-menu {
        margin: 34px 0 0 15px;
    }

    .logo a img {
        height: 50px;
    }

    .logo a {
        padding: 24px 0;
    }
}

@media screen and (min-width: 1140px) {
    .rwd-lang,
    .rwd-menu,
    .nav-toggle {
        display: none;
        display: none !important;
    }

    .select-mobile-container {
        display: none
    }
}

@media screen and (max-width: 1139px) {
    .text table tr td {
        padding: 6px 10px;
    }

    #main-menu {
        display: none;
    }

    #top-menu {
        display: none;
    }

    .nav-toggle {
        background: rgb(194, 177, 135);
        padding: 4px 12px 10px;
        overflow: hidden;
        margin: 0px 0 0 9px;
        vertical-align: middle;
        width: 46px;
        height: 46px;
        float: right;
        display: block;
        border: 0 none;
    }

    .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;
    }

    .top {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .lang-button {
        height: 46px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        line-height: 38px;
        width: 46px;
    }

    .lang span {
        font-size: 14px;
    }

    .langs-menu {
        margin: 0 0 0 9px;
    }

    .rwd-lang .lang {
        padding: 15px;
    }

    .lang-button .arrow {
        display: none;
    }

    .langs-menu.active .lang-button {
        color: #fff;
        border-radius: 0;
        background-color: rgb(194, 177, 135);
    }

    .langs-menu ul {
        display: none !important;
    }

    .btn-visit {
        margin-top: 0;
    }

    a.btn.btn-visit:after {
        display: none;
    }

    .logo a {
        padding: 0;
    }

    .logo a img {
        height: 46px;
    }

    .footer-box {
        width: 25%;
    }

    .footer-box:last-child {
        width: 25%;
    }

    .footer-box:last-child {
        padding: 64px 0 64px 20px;
    }

    .title-icon {
        width: 40px;
    }

    .description {
        max-height: 96px;
    }

    .description {
        max-height: 96px;
        overflow: hidden;
        margin-bottom: 24px;
    }

    .main-slider .slick-dots {
        bottom: 30px;
    }

    img.img1 {
        display: none;
    }

    img.img2 {
        display: none;
    }

    .dermatology-header h2 {
        opacity: 1;
        font-size: var(--font-40);
        font-family: 'Gelasio', serif;
        color: #000;
        margin-bottom: 0;
    }

    .dermatology-name {
        padding: 10px;
        font-size: 18px;
    }

    .dermatology-name:after {
        right: 0;
    }

    .dermatology-box {
        margin: 0 -10px 30px;
    }

    .news:nth-child(even) .news-content {
        padding-top: 10px;
    }

    .news-date {
        margin-bottom: 15px;
    }

    .slider-text {
        padding-bottom: 30px;
    }

    .text-box-container {
        background: transparent;
    }

    .news-box-sub-container {
        background: transparent;
    }

    .select-mobile-container {
        display: block
    }

    .submenu ul {
        display: none;
    }

    .submenu select {
        display: block;
        border: 2px solid #c2b187;
        font-weight: bold;
        font-size: 16px;
        color: #000;
        padding: 14px 10px 13px;
        text-decoration: none;
        width: 100%;
    }

    .subpage .news-box {
        padding-bottom: 0;
    }

    .person {
        padding: 20px;
    }

    .person-content {
        padding-left: 30px;
    }

    .person-box {
        margin: 0 -54px;
    }

    form#newsletter-form button.btn.btn-primary {
        right: 9px;
    }
}

@media (min-width: 769px)  and (max-width: 1139px) {
    .news {
        width: 33.33%;
        margin-bottom: 10px;
    }

    .mainpage .news:nth-child(4) {
        display: none;
    }
}

@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-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;
    }

    .newsletter-box {
        display: block;
    }

    .newsletter-title {
        display: block;
        width: 100%;
        margin-bottom: 0;
    }

    .newsletter-text {
        display: block;
        width: 100%;
        padding: 10px 0 15px;
    }

    .newsletter-form-box {
        display: block;
        width: 100%;
    }

    .newsletter-icon {
        width: 60px;
        height: 60px;
        margin-left: -16px;
    }

    .newsletter-icon img {
        margin: 0;
    }

    .newsletter-title h3 {
        padding-left: 36px;
    }

    .footer-box {
        width: auto !important;
        float: none !important;
        margin-left: -15px;
        margin-right: -15px;
        padding: 15px 15px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-box h4 {
        background: url(../images/icons/arrow_down2.svg) no-repeat right 5px;
        background-size: 20px 20px;
        margin-bottom: 0;
        font-size: 20px;
        padding-bottom: 15px;
        padding-left: 0;
    }

    .footer-box h4.active {
        background: url(../images/icons/arrow_up2.svg) no-repeat right 5px;
        background-size: 20px 20px;
    }

    .show-hide {
        display: none;
        padding-bottom: 15px;
    }

    .footer-boxes {
        padding-top: 0;
        padding-bottom: 0;
    }

    .footer-boxes-container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .footer-box:last-child {
        background: transparent;
        overflow: hidden;
        text-align: center;
        margin-top: 0;
        padding: 15px 15px 0 !important;
    }

    .footer-box:last-child img {
        display: block;
        float: none;
        margin: 0 auto 15px;
        height: 50px;
    }

    .footer-boxes {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: 0 none;
    }

    .footer-box .text.txt {
        margin-bottom: 0;
    }

    .person-photo {
        display: block;
        margin: 0 auto;
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
    }

    .person-photo img {
        margin: 0 auto;
    }

    .person-content {
        padding-left: 0;
        clear: both;
    }

    .footer-box:nth-child(2) h4 {
        opacity: 1;
    }

    nav.social-list {
        float: none;
        clear: both;
        display: block;
        position: relative;
        text-align: center;
        padding-left: 10px;
    }

    .footer-floating-image {
        position: static;
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 820px) {
    .slider-text {
        padding: 15px 0;
        margin-bottom: 60px;
        width: 100%;
    }

    .description {
        max-height: none;
    }

    .slider-photo {
        width: 100%
    }

    .dermatology-name {
        padding: 10px;
        font-size: 15px;
    }

    .dermatology-item {
        width: 50%;
        margin-bottom: 20px;
    }

    .dermatology-box {
        text-align: center;
    }

    .dermatology-name {
        text-align: left;
    }

    .mouse {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .news {
        width: 50%;
    }

    .mainpage .news:nth-child(4) {
        display: inline-block;
    }

    .person-content-header > * {
        display: block;
        text-align: center;
        padding: 4px;
    }

    .person-content-header {
        display: block;
    }
}

@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;
    }
}

@media screen and (min-width: 901px) {
    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, .accordion-content .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;
    }

    .gallery-list-item {
        width: 50%;
    }

    .accordion-content {
        padding: 15px 15px 0;
    }

    .person-box {
        margin: -15px -15px 0;
    }

    .contact-left {
        padding-right: 0px;
        padding-bottom: 30px;
        width: 100%;
    }

    .map-box {
        width: 100%;
        padding-top: 0px;
    }
}

@media screen and (max-width: 560px) {
    .text {
        word-wrap: break-word;
    }

    .rwd-menu ul:last-child {
        margin-bottom: 15px;
    }

    .btn-visit {
        margin: 0 15px 15px;
        display: block;
        float: none;
        clear: both;
    }

    .dermatology-box-container a.btn.btn-more {
        float: none;
        clear: both;
        display: block;
    }

    .dermatology-header h2 {
        margin-bottom: 15px;
    }

    .rwd-menu ul {

        margin-bottom: 15px;
    }

    .footer-floating-image img {
        max-width: 240px;
    }
}

@media screen and (max-width: 490px) {
    .dermatology-item {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 424px) {
    .footer-bar-content.footer-bar-content > * {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .news {
        width: 100%;
        margin-bottom: 20px;
    }

    a.btn.btn-more {
        width: 100%;
    }

    .submenu {

        padding-bottom: 20px;
    }
}

@media screen and (max-width: 359px) {
    .logo a img {
        height: 40px;
    }
}

@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-48: 40px;
        --font-40: 34px;
        --font-36: 32px;
        --font-30: 26px;
        --font-24: 22px;
        --font-22: 20px;
    }
}

@media screen and (max-width: 1440px) {
    :root {
        --space-60: 50px;
        --space-50: 40px;

        --font-48: 36px;

        --container-padding: 30px;
    }
}

@media screen and (max-width: 1366px) {
    :root {
        --space-25: 20px;

        --font-48: 34px;
        --font-40: 30px;
        --font-36: 28px;
        --font-30: 24px;
    }
}

@media screen and (max-width: 1280px) {
    :root {
        --space-60: 40px;
        --space-50: 35px;
        --space-40: 30px;

        --font-48: 32px;

        --container-padding: 20px;
    }
}

@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: 900px) {
    :root {
        --container-padding: 15px;
    }
}

@media screen and (max-width: 639px) {
    :root {
        --font-48: 30px;
        --font-40: 26px;
        --font-36: 24px;
        --font-30: 22px;
        --font-24: 18px;
        --font-22: 16px;
    }
}