@media all
and (min-width: 1000px) {
    .mobile-only {
        display: none!important;
    }
}

@media (max-width: 817px) {
    .table {
        width: 100%;
    }

    .table .table-header {
        display: none;
    }

    .table th {
        display: none;
    }

    .table tr, .table td {
        position: relative;
        display: block;
    }

    .table tr {
        padding: 15px;
        margin: 15px 0;
        border: 1px solid #000;
        border-radius: 3px;
        background-color: #000 !important;
        box-shadow: 0 0 3px #000;
    }

    .table td {
        margin: 8px 0;
    }
}

@media all
and (max-width: 999px) {
    .desktop-only {
        display: none!important;
    }

    html, body {
        height: 100%;
    }

    /* BEGIN: COMMON */
    h1 {
        margin: 0 20px 10px;
        text-align: left;
        font-size: 21px;
    }

    h2, h3 {
        /*margin: 0 0 10px;*/
        text-align: left;
    }

    #wrapper {
        position: relative;
        min-height: 100%;
        overflow: hidden;
    }

    #header {
        position: fixed;
        width: 100%;
        height: 80px;
        background-color: #0d0d0d;
        z-index: 20;
        box-shadow: 0 0 5px #0d0d0d;
        box-sizing: border-box;
        padding: 20px;
    }

    #header-logo {
        position: absolute;
        width: 62%;
        overflow: hidden;
        z-index: 10;
        -webkit-transition: opacity 0.5s ease-out;
        -moz-transition: opacity 0.5s ease-out;
        -o-transition: opacity 0.5s ease-out;
        transition: opacity 0.5s ease-out;
    }

    #header-logo a,
    .mobile-app-popup .logo a {
        display: block;
        padding: 0.3rem 0;
    }

    #header-logo span {
        font-size: 18px;
    }

    #header-logo span::first-letter,
    .mobile-app-popup .logo span::first-letter {
        font-size: 24px;
    }

    #logo {
        display: block;
    }

    /* BEGIN MENU */

    #menu-left-public-menu {
        position: fixed;
        top: 0;
        right: -220px;
        overflow-y: scroll !important;
        background: #252e43;
        width: 220px;
        height: 100%;
        padding-top: 10px;
        visibility: hidden;
        right: -220px;
        transition: visibility 0.2s, right 0.2s linear;
    }

    #menu-left-public-menu.opened {
        visibility: visible;
        right: 0px;
    }

    #header .top-menu li {
        width: 100%;
    }

    #header .top-menu > ul > li {
        padding: 8px 0;
    }

    #header .top-menu a {
        color: #ffffff !important;
        display: inline-block;
        width: 100%;
        padding: 8px 30px;
        box-sizing: border-box;
        background: none !important;
    }

    #header .top-menu a span{
        border: 0;
    }

    #header .top-menu > ul > li:hover,
    #header .top-menu > ul > li.active {
        background-color: #161c28 !important;
    }

    #header .top-menu > ul > li > ul,
    #header .top-menu > ul > li > ul > li {
        background: transparent !important;
    }

    #header .top-menu > ul > li > ul > li > a > span {
        border: 0;
    }

    #header .top-menu > ul > li > ul {
        display: block;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    #header .top-menu > ul > li.active > ul,
    #header .top-menu > ul > li:hover > ul {
        max-height: 300px;
    }

    #header .top-menu > ul > li > ul > li.active > a,
    #header .top-menu > ul > li > ul > li:hover > a {
        color: #ffce8b !important;
        position: relative;
    }

    #header .top-menu > ul > li > ul > li:hover > a:before,
    #header .top-menu > ul > li > ul > li.active > a:before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background: #ffce8b;
        width: 3px;
        height: 100%;
    }

    #menu-toggle {
        position: absolute;
        width: 35px;
        height: 35px;
        top: 0;
        right: 0;
        cursor: pointer;
        overflow: hidden;
        z-index: 5;
        border-radius: 100px;
        border: 2px solid #ffffff;
        cursor: pointer;
    }

    #menu-toggle:before {
        content: '\ed68';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        font-size: 130%;
        line-height: 35px;
        margin: 0;
    }

    @-ms-keyframes spin {
        from { -ms-transform: rotate(0deg); }
        to { -ms-transform: rotate(180deg); }
    }
    @-moz-keyframes spin {
        from { -moz-transform: rotate(0deg); }
        to { -moz-transform: rotate(180deg); }
    }
    @-webkit-keyframes spin {
        from { -webkit-transform: rotate(0deg); }
        to { -webkit-transform: rotate(180deg); }
    }
    @keyframes spin {
        from {
            transform:rotate(0deg);
        }
        to {
            transform:rotate(180deg);
        }
    }

    #menu-toggle.select2-closer:before {
        content: '\e83f';

        -webkit-animation-name: spin;
        -webkit-animation-duration: .2s;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-timing-function: linear;
        -moz-animation-name: spin;
        -moz-animation-duration: .2s;
        -moz-animation-iteration-count: 1;
        -moz-animation-timing-function: linear;
        -ms-animation-name: spin;
        -ms-animation-duration: .2s;
        -ms-animation-iteration-count: 1;
        -ms-animation-timing-function: linear;

        animation-name: spin;
        animation-duration: .2s;
        animation-iteration-count: 1;
        animation-timing-function: linear;
    }

    #menu-closer__transparent {
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        z-index: 10;
        background-color: rgba(0,0,0,0.7);
        margin: -10px -20px;
        cursor: pointer;
    }

    /* END MENU */

    #content {
        padding: 80px 0 0 0;
    }

    #content-wrapper {
        padding: 0 20px 0 20px;
    }

    .sidebar {
        /*padding: 10px 20px;*/
    }

    .sidebar .block {
        padding: 10px 20px;
    }

    .sidebar .block.social-sharing {
        padding-left: 0;
        padding-right: 0;
    }

    .info-block-wrapper .table-cell.with-sharing {
        background: linear-gradient(to bottom, #343434 0%, #2d2d2d 100%);
        vertical-align: middle;
        position: relative;
    }

    .info-block-wrapper .social-sharing .block-label {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    .info-block-wrapper .social-sharing .block-content {
        padding-top: 40px;
    }

    .info-block-wrapper .social-sharing .social-wrap {
        background: none;
    }

    .info-block-wrapper .table-row {
        /*border: 2px solid #2d2d2d;*/
        /*border-right: 0;*/
    }

    .block-info-table {
        padding: 20px;
        border: none;
        text-align: left;
    }

    .block-info-table .block-content .item-wrapper {
        display: table-row;
    }

    .digital-counter {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        -o-transform: scale(0.9);
        transform: scale(0.9);
    }

    .page-description {
        padding: 10px 0px;
        text-align: justify;
    }

    .page-description * {
        max-width: 100%;
    }

    /*#select2-drop {*/
        /*left: 0!important;*/
    /*}*/

    .flash-message {
        padding: 15px;
        min-width: 0;
        width: 100%;
        max-width: none;
        z-index: 300;
        box-sizing: border-box;
    }

    .flash-message .text {
        display: inline-block;
        max-width: 80%;
        font-size: 13px;
    }

    .call-widget.call-fixed, .call-closed {
        display: none;
    }

    .block-color-5-buttons {
        padding: 1rem;
    }

    .money, .datetime, .filesize, .phone, .link {
        white-space: initial;
    }
    /* END: COMMON */

    /* BEGIN: FORMS */
    .form-table, .form-single {
        width: auto;
    }

    .form-wrapper {
        padding: 0 10px;
    }

    .form-table .label, .form-table .row, .form-table .field-wrapper {
        display: block;
    }

    .form-table .label {
        width: auto;
        padding: 10px 20px 0 10px;
    }

    .form-table .button-submit {
        margin: 0;
    }

    .form-single {
        background: none;
    }

    .form-single .field.select2-container {
        min-width: 310px;
    }

    body .select2-drop.dropdown-container.select2-drop-active,
    body .select2-dropdown-open.select2-drop-above .select2-choice {
        position: fixed !important;
        left: 0 !important;
        top: 76px !important;
        width: 100% !important;
        height: calc(100% - 76px) !important;
        max-width: 100% !important;
    }

    .select2-drop.dropdown-container input {
        width: 100%;
        margin: 0;
    }

    .select2-results {
        max-height: 100%;
        font-size: 15px;
    }

    .select2-results .select2-result-label {
        padding: 10px 7px;
    }

    .select2-results .select2-no-results,
    .select2-results .select2-searching,
    .select2-results .select2-ajax-error,
    .select2-results .select2-selection-limit {
        padding-left: 7px;
    }
    /* END: FORMS */

    /* BEGIN: COMMENTS */
    .comments-block {
        padding: 10px 20px;
        border-radius: 0;
        margin-bottom: 20px;
    }

    .comments-block .block-label {
        padding: 10px 0 25px;
        font-size: 18px;
    }

    .comments-block .form form {
        margin: 0;
        text-align: center;
    }

    .comments-block textarea {
        width: 90%;
        padding: 10px;
    }

    .comment-submit-button {
        width: 100%;
        margin-top: 5px;
        font-size: 12px;
    }

    .comment-header {
        position: relative;
    }

    .comment_image_wrapper {
        width: 50px;
        height: 50px;
        overflow: hidden;
    }

    .comments-list li img {
        width: 100%;
    }

    .comment_user_info {
        padding: 0 5px 5px;
        background: none;
    }

    .user_name {
        color: #3691ee;
        border-bottom: 1px solid #c4dffd;
    }

    .create_time {
        display: block;
        margin-top: 5px;
        font-weight: normal;
    }

    .rating {
        display: none;
    }

    .add-comment {
        position: absolute;
        top: 55px;
        left: 0;
        float: none;
        border-bottom: 1px dashed;
        font-size: 12px;
    }

    .comment_text {
        margin: 0 0 0 5px;
        text-align: justify;
    }

    .comment_text .showmore_text {
        padding: 4em 0 0 0;
        /*font-size: 1.3em;*/
    }
    /* END: COMMENTS */

    /* BEGIN: INDEX */
    #index-photo-slider-wrapper {
        height: auto!important;
        margin-top: 30px;
        border-radius: 0;
    }

    #index-photo-slider-wrapper .slider-wrapper {
        height: auto;
        padding-bottom: 190px;
        margin-bottom: 0;
    }

    #index-photo-slider-wrapper .slider-wrapper .event-entry {
        top: auto;
        bottom: 0;
        width: 100%;
        height: auto;
        min-height: 180px;
        padding: 0;
        background: none;
    }

    #index-photo-slider-wrapper .event-entry_date, #index-photo-slider-wrapper .event-label a, #index-photo-slider-wrapper .event-text {
        padding: 5px 10px;
    }

    #index-photo-slider-wrapper .event-entry_date, #index-photo-slider-wrapper .event-label a {
        margin-bottom: 0;
    }

    #index-photo-slider-wrapper .event-text {
        max-height: 50px;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .bx-wrapper .bx-viewport {
        border-top: none!important;
        border-bottom: none!important;
        box-shadow: none!important;
    }

    .call-widget.call-sidebar {
        margin-bottom: 15px;
    }
    /* END: INDEX */

    /* BEGIN: EVENT/VIEW */
    #register-control {
        position: fixed;
        width: 100%;
        padding: 10px 0;
        left: 0;
        bottom: 0;
        z-index: 40;
        background-color: #2D7DE0;
        transition: bottom 0.2s ease-out;
        text-align: center;
    }

    #register-control.lifted {
        bottom: 41px;
    }

    #register-control .button {
        width: 65%;
        margin: 0;
        background-color: #fff;
        color: #000000;
        font-size: 13px;
    }

    .page-event .block-counters {
        margin: 0 auto;
        width: 15rem;
    }

    .page-event .block-counters .digital-counter {
        margin-left: 0;
    }

    .block-map img {
        width: 100%;
    }

    #social-share .block-label {
        padding: 10px;
        margin: 0;
        background: transparent linear-gradient(to bottom, #2d2d2d 0%, #232323 100%);
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 1px;
        text-align: center;
        color: #d7d7d7;
    }

    .social-wrap {
        padding: 1rem;
        background: linear-gradient(to bottom, #343434 0%, #252525 100%);
        text-align: center;
    }

    .social-wrap a:not(.ajax-link) {
        box-shadow: 0 1px 3px #000;
    }

    #social-share .share-square:hover {
        position: relative;
        top: -2px;
        box-shadow: 0 5px 5px #000;
    }

    .bx-wrapper .bx-viewport {
        background: transparent;
        border: none!important;
        position: static!important;
    }

    .slider-thumbs {
        display: none;
    }

    .bx-wrapper .bx-controls-direction a {
        z-index: 5;
    }

    #block-event-info .item {
        font-size: 12px;
        display: table-cell;
    }

    .block-info-table dt {
        width: 140px;
        line-height: 1rem;
        font-weight: bold;
    }

    .block-info-table dd {
        line-height: 1.5rem;
    }

    #center-column .button-color-3 {
        display: none;
    }

    #user-list-tabs, #expectations {
        display: none;
    }

    .tab-wrapper {
        width: 100%;
        padding-bottom: 2rem;
    }

    .tab-wrapper .block-label {
        padding: 1rem 1rem 0.2rem;
    }

    .table .hidden-link {
        display: none;
    }

    .table .position .hidden {
        display: inline;
    }

    .userlist-row {
        padding: 15px;
        margin: 15px 20px;
        background-color: #000;
        border-radius: 3px;
        border: 1px solid #000;
        box-shadow: 0 0 3px #000;
        cursor: pointer;
    }

    .userlist-row.expanded {
        padding: 0;
        border-color: #353535;
        box-shadow: 0 0 3px #353535;
    }

    .list-users .userlist-row:hover {
        background-color: #000;
    }

    .userlist-row .name {
        margin: 0 0 10px;
    }

    .userlist-row .company, .userlist-row .position {
        margin: 0;
        line-height: 1rem;
        font-size: 12px;
    }

    .num-small {
        position: absolute;
        right: 0;
    }

    .userInfo {
        padding: 15px 15px 5px;
    }

    .userInfo__block {
        padding: 12px 0;
        font-size: 12px;
        line-height: 1rem;
    }

    .userInfo__separator {
        margin: 0;
        border-top: 1px solid #717171;
    }

    .userInfo__item.pale, .userInfo__block-title {
        color: #6E6E6E;
    }

    .userInfo__name {
        margin: 0 0 10px;
    }

    .userInfo__photo {
        display: inline-block;
        width: 60px;
    }

    .userInfo__photo-img {
        display: block;
        width: 100%;
    }

    .userInfo__control {
        display: inline-block;
        margin: 15px 0 0;
        vertical-align: top;
    }

    .userInfo__control .button {
        display: block;
        font-size: 10px;
        padding: 6px 15px;
    }

    .userInfo .user-info-link {
        border: none;
        text-decoration: none;
        font-weight: bold;
        color: #fff;
    }

    /* END: EVENT/VIEW */

    .fixed-width {
        width: 100%;
    }

    /* BEGIN: PHOTOS */

    .block-event-photo {
        border-radius: 3px;
        background-color: #000;
        border: 1px solid #000;
        box-shadow: 0 0 3px #000;
        margin: 15px 20px;
        padding: 20px 15px 10px;
    }

    .block-event-photo .block-content {
        max-height: 85px;
        margin: 10px 0;
        overflow: hidden;
        text-align: center;
    }

    .block-event-photo .block-content a {
        width: 26%;
        margin: 15px 8px 0!important;
    }

    .block-event-photo .block-content img {
        width: 100%;
    }

    #gallery {
        height: 350px;
    }

    .galleria-info {
        display: none!important;
    }

    #fb-like-photos {
        display: none;
    }

    /* END: PHOTOS */

    /* BEGIN: GROUP */
    #block-group-invite-people {
        border: 0;
    }

    #filter {
        padding: 10px 0;
    }

    #group-other-places {
        padding: 10px;
    }

    .bottom-links-block li {
        position: relative;
    }
    /* END: GROUP*/

    /* BEGIN: OFFERS */
    .offers-wrapper {
        margin: 10px 0;
    }

    .offers-wrapper .main-title .menu-3 {
        margin: 0;
    }

    .offer-block {
        padding: 20px;
        margin-bottom: 20px;
    }

    .offer-block .block-content {
        margin: 0;
    }

    .offer-block .offer-img {
        float: none;
        margin: 0 0 10px;
        text-align: center;
    }

    .offer-name {
        text-align: center;
    }

    .offer-text {
        text-align: justify;
    }

    .offer-block .file-link {
        white-space: initial;
    }

    .offer-block .block-contacts {
        text-align: center;
    }
    /* END: OFFERS */

    /* BEGIN: BLOG */
    #header-logo a {
        color: #fff;
    }

    #article-wrapper .article-block {
        width: 99%;
        margin: 0 0 30px;
    }

    .events-list-block .article-block .prev-img, #article-wrapper .article-block .prev-img {
        width: 100%;
        margin-bottom: 10px;
    }

    .events-list-block .article-block .prev-img img, #article-wrapper .article-block .prev-img img {
        width: 100%;
    }

    .sublist-left {
        margin: 0;
    }

    .block-list-view #article .items {
        padding: 0;
    }

    .article-block_label {
        margin-bottom: 10px;
    }

    #wrapper .article-block:first-child {
        position: relative;
    }

    .article-main-image {
        width: 100%;
    }

    .article-main-image img {
        display: block;
        width: 100%;
        border-radius: 0;
    }

    .sublist-left #comments {
        margin-top: -20px;
        padding-bottom: 30px;
    }

    /* END: BLOG*/

    /* BEGIN: FOOTER */
    #footer {
        min-width: 100%;
        padding: 10px 0;
        overflow: hidden;
    }

    #footer .block-mobile {
        text-align: center;
    }

    #footer .block-mobile-line {
        line-height: 35px;
        display: inline-block;
    }

    #footer .block-mobile-line .region-label {
        margin: 0;
        font-size: 13px;
        float: none;
        display: inline-block;
    }

    #footer .block-mobile-line > * {
        padding: 0 5px;
    }

    #footer .block {
        margin: 0;
        float: none;
        padding: 10px 20px;
    }

    #footer .block > div {
        display: inline-block;
        line-height: 35px;
    }

    #footer .block-title {
        padding: 12px 20px;
        font-weight: normal;
        text-transform: uppercase;
    }

    #footer .block-content li {
        padding: 8px 0;
        border-top: 1px solid #5C5C5C;
        text-align: center;
        font-size: 12px;
    }

    #footer .block-content a {
        margin: 0;
        border: 0;
        font-weight: normal;
    }

    #footer #social-block {
        margin-top: 10px;
    }

    #footer #social-block a {
        margin: 0 0 0 5px;
    }

    #footer #social-block a:first-child {
        margin: 0;
    }

    #footer .controls-block .link-full_version {
        line-height: 35px;
    }

    #footer .controls-block .region-label {
        margin: 0;
        font-size: 13px;
        padding-left: 20px;
    }

    #press-block .block-content {
        text-align: center;
    }

    #footer #press-block a {
        padding: 5px 0;
    }
    /* END: FOOTER */

    .block-list-view .pager.flow-loader {
        margin: 0 auto;
        display: block;
    }

    .pager li a {
        padding: 9px 0;
    }
}

@media all
and (max-width: 600px) {
    #footer .block-mobile-line {
        display: block;
    }

    #footer .controls-block .link-full_version {
    }

    #footer .controls-block .region-label {
    }
}

/* TABLET */

.tablet-only {
    display: none;
}

@media all
and (max-width: 999px)
and (min-width: 599px) {
    .tablet-only {
        display: block!important;
    }

    .info-block-wrapper {
        padding: 10px 0;
    }

    .info-block-wrapper .table {
        border-collapse: collapse;
        border: 2px solid #2d2d2d;
        border-right: 0;
    }

    .sidebar #social-share {
        display: none;
    }

    #center-column .slider {
        padding: 10px 0px;
        max-width: 670px;
        margin: 0 auto;
    }
}

/* MOBILE ONLY */
@media (max-width: 598px) {
    .info-block-wrapper {
        margin: 0px -20px;
    }
    .page-event #center-column .slider {
        margin: 0px -20px;
    }
}

/* MOBILE APP DOWNLOAD */
.mobile-app-popup,
.mobile-app-top-line {
    display: none;
}
@media screen and (max-width: 768px) {
    .mobile-app-popup,
    .mobile-app-top-line {
        /*display: block;*/
        position: fixed;
        width: 100%;
        background-color: #0d1722;
        top: 0;
        left: 0;
        z-index: 50;
        overflow: hidden;
    }
    /* Full width view*/
    .mobile-app-popup {
        height: 100%;
    }
    .mobile-app-popup .logo {
        width: 100%;
        text-align: center;
        margin: 20px 0;
    }
    .mobile-app-popup .logo span {
        font-size: 23px;
    }
    .mobile-app-popup .description,
    .mobile-app-top-line .title {
        margin-bottom: 30px;
        padding: 0 15px;
        text-align: center;
        font: 18px 'Proxima Nova Regular';
    }
    .mobile-app-popup .hero-link {
        display: block;
        height:100%;
    }
    .mobile-app-popup .hero-img {
        position: absolute;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 90%;
    }
    .mobile-app-popup .group-buttons,
    .mobile-app-top-line .group-buttons {
        text-align: center;
        margin: 20px 0;
    }
    .mobile-app-popup .group-buttons .btn-app,
    .mobile-app-top-line .group-buttons .btn-app {
        display: inline-block;
        margin: 0 10px;
        vertical-align: middle;
    }
    .mobile-app-popup .group-buttons .btn-app img,
    .mobile-app-top-line .group-buttons .btn-app img{
        border: 2px solid #fff;
        border-radius: 8px;
    }
    .mobile-app-popup .close-popup {
        position: absolute;
        bottom: 0;
        height: 40px;
        text-align: center;
        width: 100%;
        font: 18px 'Proxima Nova Regular';
        background-color: #152e47;
        line-height: 40px;
        color: #fff;
        box-shadow: 0 0 30px rgba(0,0,0,.6);
        border: none;
        outline: none;
    }
    /* Top-line view */
    .mobile-app-top-line {
        display: block;
        opacity: 0;
        max-height: 250px;
        padding-bottom: 10px;
        top: -250px;
        transition: top 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        background-color: rgb(35, 66, 94);
        background: linear-gradient(90deg, rgb(35, 66, 94), rgb(87, 149, 211));
        background: -webkit-linear-gradient(90deg, rgb(35, 66, 94), rgb(87, 149, 211));
    }
    .mobile-app-top-line .title {
        margin-top: 20px;
        margin-bottom: 20px;
        font-weight: bold;
    }
    .mobile-app-top-line .close-popup {
        background-color: transparent;
        border: none;
        color: #333;
        font: 18px 'Proxima Nova Regular';
        text-align: center;
        width: 100%;
        outline: none;
    }
    .mobile-app-top-line.open {
        opacity: 1;
        top: 0;
    }
    .mobile-app-top-line .group-buttons {
        margin: 10px 0;
    }
    .mobile-app-top-line .group-buttons img{
        box-shadow: 0 0 7px rgba(0,0,0,.3);
    }
    /* Close popup */
    .close-popup-icon {
        position: absolute;
        top: 10px;
        right: 15px;
        text-align: center;
        width: 30px;
        height: 30px;
        color: #fff;
        border: none;
        background-color: transparent;
    }
    .close-popup-icon::after {
        content: '\ed53';
        font: 30px 'websymbols';
        line-height: 26px;
    }
    .mobile-app-top-line .close-popup-icon {
        top: 15px;
    }
    .mobile-app-top-line .close-popup-icon::after {
        font-size: 25px;
    }

}