@media (min-width: 768px) {
    .vertical-tabs .nav > li.active {
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 991px) {
    [class*="col-md-"] + [class*="col-md-"] {
        margin-top: 20px !important;
    }

    [class*="col-md-"] + [class*="col-md-"][class*="col-sm-"] {
        margin-top: 10px !important;
    }
}

@media (max-width: 767px) {
    div[class*="col-sm-"] + [class*="col-sm-"] {
        margin-top: 20px !important;
    }
}

@media screen and (max-width: 767px) {
    .table_section .row,
    .table_section [class*="col-"] {
        display: block;
        width: auto;
    }

    [class*="col-xs"] + [class*="col-xs"] {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 991px) {
    .table_section.table_section_md .row,
    .table_section.table_section_md [class*="col-"] {
        display: block;
        width: auto;
    }
}

@media screen and (max-width: 1199px) {
    .table_section.table_section_lg .row,
    .table_section.table_section_lg [class*="col-"] {
        display: block;
        width: auto;
    }
}

@media screen and (min-width: 1200px) {
    /* overlap featured person */
    .top-overlap {
        margin-top: -170px;
    }

    .top-overlap-small {
        margin-top: -100px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 500px;
    }
}

@media (max-width: 767px) {
    .blockquote-big {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .blockquote-big {
        font-size: 18px;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 767px) {
    .parallax {
        background-size: auto auto;
    }
}


@media (max-width: 400px) {
    .section_header {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    .section_header {
        font-size: 30px;
        margin-top: 0;
    }

    .section_header + p {
        font-size: 1.1em;
        letter-spacing: 0;
    }
}

@media (max-width: 767px) {
    .section_header {
        font-size: 30px;
        margin-top: 0;
    }

    .section_header.big {
        font-size: 36px;
        margin-top: 0;
    }
}

@media (min-width: 600px) {
    .gorizontal_padding {
        padding-right: 60px;
        padding-left: 60px;
    }
}

@media (max-width: 500px) {
    .boxed .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}


@media (min-width: 1590px) {
    .boxed #box_wrapper.container {
        padding: 0 15px;
        width: 1560px;
    }
}


@media (min-width: 768px) {
    .page_topline .container-fluid.with_border {
        padding-top: 9px;
        padding-bottom: 9px;
    }
}

@media (min-width: 1800px) {
    .dropdown-menu {
        margin-right: -170px;
    }
}

@media (max-width: 992px) {
    .page_header_wrapper .col-sm-12 {
        min-height: 0;
    }
}

@media (min-width: 600px) {
    .page_header.affix {
        padding: 0 0px;
    }
}

@media (max-width: 1399px) {
    .page_header {
        padding: 0 15px;
    }
}

@media (max-width: 1399px) and (min-width: 600px) {
    .page_header {
        padding: 0 10px;
    }
}

@media (max-width: 1399px) {
    .page_header .row > div:first-child {
        text-align: left;
    }

    .page_header a.logo.logo_image {
        width: 150px;
        height: 61px;
        margin: 14px 0 5px;
    }

    .page_header a.logo.logo_image h1 {
        font-size: 35px;
    }

    .page_header a.logo.logo_image h1 span {
        font-size: 41px;
    }

    .header-contacts {
        text-align: right;
    }

    .header-contacts .fontsize_30 {
        font-size: 20px;
    }

    .header-contacts .fontsize_20 {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .page_header a.logo.logo_image {
        float: left;
    }

    .toggle_menu {
        left: auto !important;
        right: 0;
    }
}

@media (max-width: 460px) {
    .intro_section.page_mainslider {
        padding: 0 0 10px;
    }
}

@media (max-width: 460px) {
    .intro_section.page_mainslider .flex-direction-nav a,
    .intro_section.page_mainslider .page_maincarousel .owl-nav > div {
        right: 0;
        width: 30px;
    }

    .intro_section.page_mainslider .flex-direction-nav a:before,
    .intro_section.page_mainslider .page_maincarousel .owl-nav > div:before {
        color: #ffffff;
        right: -3px;
    }
}

@media (max-width: 460px) {
    .intro_section.page_mainslider .flex-direction-nav a.flex-prev:first-child,
    .intro_section.page_mainslider .page_maincarousel .owl-nav > div:first-child:first-child {
        left: 0;
    }
}

@media (max-width: 500px) {
    .page_maincarousel.owl-carousel .owl-nav div:before {
        right: 26px;
    }

    .page_maincarousel.owl-carousel .model-parameters div {
        padding: 2%;
    }
}

@media (min-width: 768px) {
    .flexslider.banner-slider {
        padding: 6px 100px;
    }
}

@media (max-width: 767px) {
    .flexslider.banner-slider .flex-direction-nav a:before {
        color: #ffffff;
    }

    .flexslider.banner-slider .flex-direction-nav a:hover:before {
        color: #F5B900;
    }

    .flexslider.banner-slider .flex-direction-nav .flex-prev {
        left: 0;
    }

    .flexslider.banner-slider .flex-direction-nav .flex-next {
        right: 0;
    }
}

@media (min-width: 400px) {
    .testimonials-body {
        max-width: 80%;
    }
}

/* Models section */
@media (min-width: 768px) {
    .models-orderby .form-group + .form-group {
        margin-left: 6px;
    }
}

@media (min-width: 1500px) {
    .models_portrait .isotope-item {
        width: 16.6666666666%;
    }
}

@media (min-width: 1600px) {
    .models_square .isotope-item {
        width: 20%;
    }
}


@media (max-width: 540px), (min-width: 768px) and (max-width: 1100px), (min-width: 1200px) and (max-width: 1600px) {
    .top-models-carousel .vertical-item.content-absolute .item-content {
        padding: 5px 25px;
        min-width: auto;
    }

    .model-parameters.vertical-layout h2 {
        margin: 0 0 5px;
    }

    .model-parameters.vertical-layout div {
        margin-bottom: 0;
    }

    .model-parameters.vertical-layout + .topmargin_40 {
        margin-top: 5px;
    }
}

@media (max-width: 767px) {
    .contacts [class*="col-"].with_border {
        border: none;
    }
}

/* Footer */
@media (max-width: 460px) {
    .footer_lists > div {
        width: 100%;
    }

    .footer_lists > div:first-child {
        margin-bottom: 20px;
    }
}

/*   */

@media (max-width: 767px) {
    .center-footer-list-mobile {
        text-align: center;
        font-size: 1.8rem;
    }

    .widget ul {
        padding: 0;
        margin: 0 0 0;
        text-align: center;
        line-height: 10px;
        list-style-type: none;
    }

    .widget h3 {
        text-align: center;
    }

    ul.list1 li {
        padding: 8px 0 7px 0px;
    }

    ul.list1 li:before {
        display: none;
    }

    #footer-logo-mobile {
        max-width: 80%;
        margin: auto;
        display: block;
    }


}

@media (min-width: 768px) and (max-width: 1024px) {

    .widget li {
        line-height: 2rem;
    }

    ul.list1 li::before {
        top: 1.3rem;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {

    .widget li {
        line-height: 2rem;
    }

    ul.list1 li::before {
        top: 1.3rem;
    }
}




@media (max-width: 991px) {
    .page_breadcrumbs h1 {
        font-size: 32px;
    }
}

@media screen and (min-width: 992px) {
    .page_breadcrumbs .display_table_md {
        width: auto;
        min-width: 0;
    }

    .page_breadcrumbs h1.display_table_cell_md {
        padding-right: 20px;
    }

    .page_breadcrumbs .breadcrumb.display_table_cell_md {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 25px;
    }

    .main-page-center-row {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    section .intro_section .slide_description_wrapper {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (min-width: 600px) {
    .boxed .intro_section .slide_description_wrapper {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (min-width: 992px) {
    .intro_section .slide_description {
        max-width: 50%;
        text-align: left;
    }
}

@media (min-width: 1450px) {
    .intro_section .container {
        width: 1400px;
    }
}

@media (min-width: 992px) and (max-width: 1350px) {
    .intro_section .slide_description_wrapper {
        padding-right: 80px;
    }

    .intro_section .slide_description {
        min-width: 55%;
    }

    .intro_section .slide_description .bottommargin_50,
    .intro_section .slide_description .bottommargin_30,
    .intro_section .slide_description p {
        margin-bottom: 10px;
    }

    .intro_section .slide_description .topmargin_20 {
        margin-top: 0;
    }
}

@media (min-width: 1600px) {
    .flexslider .intro_section .container {
        width: 1580px;
    }
}

@media (max-width: 991px) {
    .intro_section {
        text-align: center;
    }

    .intro_section .nav-container {
        padding: 0;
    }

    .intro_section .flex-control-nav,
    .intro_section .flex-custom-nav {
        width: 100%;
        right: 0;
        text-align: center;
        top: auto;
        bottom: 30px;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    .intro_section .flex-control-nav li,
    .intro_section .flex-custom-nav li {
        display: inline-block;
        padding: 0 5px;
    }

    .intro_section .container {
        position: static;
        width: auto;
        max-width: 100%;
    }

    .intro_section .slide_description_wrapper:before {
        display: none;
    }

    .intro_section .slide_description {
        padding: 20px 20px 80px;
        display: block;
    }

    .intro_section .slide_description_wrapper {
        padding: 0;
        position: static;
    }

    .intro_section .flex-direction-nav .flex-prev,
    .intro_section .flex-direction-nav .flex-next {
        top: auto;
        bottom: 40px;
        right: 50%;
    }

    .intro_section .vertical-nav .flex-direction-nav .flex-prev {
        margin-right: 70px;
    }

    .intro_section .vertical-nav .flex-direction-nav .flex-prev:before {
        content: "\e7c4";
    }

    .intro_section .vertical-nav .flex-direction-nav .flex-next {
        margin-right: -84px;
    }

    .intro_section .vertical-nav .flex-direction-nav .flex-next:before {
        content: "\e7c5";
    }
}

@media screen and (max-width: 400px) {
    .intro_section .slide_description {
        padding: 20px 0 80px;
    }
}

/*
**main menu (min 992px) styles
*/
@media (min-width: 992px) {
    /* menu layout */
    .sf-menu, .sf-menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
        font-size: 18px;
    }

    .sf-menu li {
        position: relative;
    }

    .sf-menu li > ul {
        position: absolute;
        display: none;
        top: 100%;
        z-index: 99;
    }

    .sf-menu > li + li:before {
        content: "\2022";
        position: absolute;
        top: 50%;
        left: -4px;
        margin-top: -13px;
        color: #F5B900;
        display: inline-block;
    }

    .sf-menu a {
        display: block;
        position: relative;
        text-transform: uppercase;
    }

    .sf-menu li > ul > li > ul {
        top: -20px;
        left: 100%;
    }

    /* menu skin */
    .sf-menu a {
        padding: .4em 1.1em;
        text-decoration: none;
        zoom: 1;
        /* IE7 */
        -webkit-transition-property: color, background-color, border-color;
        transition-property: color, background-color, border-color;
    }

    .sf-menu li {
        white-space: nowrap;
        /* no need for Supersubs plugin */
        *white-space: normal;
        /* ...unless you support IE7 (let it wrap) */
        -webkit-transition: background .2s;
        transition: background .2s;
    }

    .sf-menu > li {
        display: inline-block;
        position: relative;
    }

    .sf-menu > li > a {
        padding-top: 0px;
        padding-bottom: 28px;
    }

    .sf-menu > li > a:hover,
    .sf-menu > li.active > a {
        color: #F5B900;
    }

    .bordered_items .sf-menu {
        text-align: center;
    }

    .bordered_items .sf-menu > li {
        padding: 0;
    }

    .bordered_items .sf-menu > li + li:before {
        content: '';
        width: 1px;
        margin-top: 0;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.05);
    }

    .bordered_items.header_darkgrey .sf-menu > li + li:before, .bordered_items.header_gradient .sf-menu > li + li:before {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .header_white .sf-menu > li > a {
        color: #005CA2;
    }

    .header_white .sf-menu > li > a:hover,
    .header_white .sf-menu > li.active > a {
        color: #F5B900;
    }

    .header_darkgrey .sf-menu > li > a,
    .header_darkgrey .sf-menu ul a {
        color: #ffffff;
        font-weight: bolder;
    }

    .header_darkgrey .sf-menu > li > a:hover,
    .header_darkgrey .sf-menu > li.active > a {
        color: #F5B900;
    }

    .header_darkgrey .sf-menu li > ul {
        background-color: #005CA2;
    }

    .header_gradient .sf-menu > li > a {
        color: #ffffff;
    }

    .header_gradient .sf-menu > li > a:hover,
    .header_gradient .sf-menu > li.active > a {
        color: #005CA2;
    }

    .sf-menu li:hover,
    .sf-menu li.sfHover {
        /* only transition out, not in */
        -webkit-transition: none;
        transition: none;
    }

    /* second and next levels */
    .sf-menu > li .mega-menu,
    .sf-menu li > ul {
        margin-top: 1px;
        text-align: left;
        list-style: none;
        padding: 20px 0;
        background-color: #ffffff;
        box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
        min-width: 12em;
        /* allow long menu items to determine submenu width */
        *width: 12em;
        /* no auto sub width for IE7, see white-space comment below */
    }

    .sf-menu ul a {
        color: #005CA2;
        padding-left: 30px;
        padding-right: 30px;
    }

    .sf-menu .mega-menu ul {
        box-shadow: none;
        padding: 0;
    }

    .sf-menu .mega-menu ul a {
        padding-left: 0;
        padding-right: 0;
    }

    .sf-menu ul a:hover,
    .sf-menu ul li.active a {
        color: #F5B900;
        font-weight: 400;
    }

    /* third level */
    .sf-menu ul ul {
        margin-top: 0;
        margin-left: 1px;
    }
}

/* common paddings */
@media (min-width: 992px) {
    .sf-menu > li > a {
        padding-left: 2px;
        padding-right: 0px;
    }

    .bordered_items .sf-menu > li > a {
        padding-right: 40px;
        padding-left: 44px;
    }
}

/* -md- paddings */
@media (min-width: 992px) and (max-width: 1199px) {
    .sf-menu > li > a {
        padding-left: 7px;
        padding-right: 7px;
    }

    .bordered_items .sf-menu > li > a {
        padding-right: 20px;
        padding-left: 24px;
    }
}

/* -lg- paddings */
@media (min-width: 1200px) {
    .sf-menu > li > a {
        padding-left: 15px;
        padding-right: 15px;
    }

    .boxed .col-md-6 .sf-menu > li > a {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (min-width: 1400px) {
    .sf-menu > li > a {
        padding-left: 25px;
        padding-right: 25px;
    }

    .boxed .col-md-6 .sf-menu > li > a {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 1650px) {
    .sf-menu > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .boxed .col-md-6 .sf-menu > li > a {
        padding-left: 35px;
        padding-right: 35px;
    }
}

/*
**main menu mobile styles
*/
@media (max-width: 991px) {
    .mainmenu_wrapper {
        /*position: relative;*/
        position: fixed;
        visibility: hidden;
        z-index: 10;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: transparent;
        opacity: 0;
        -webkit-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }

    .mobile-active .mainmenu_wrapper {
        visibility: visible;
        opacity: 1;
        background-color: #111;
        background-color: rgba(0, 0, 0, 0.9);
    }

    .toggle_menu {
        display: block;
    }

    .toggle_menu.mobile-active {
        background-color: #005CA2;
        border: none;
        left: auto;
        top: 0;
        right: 0;
        position: fixed;
        margin: 0;
        z-index: 3000;
    }

    .toggle_menu.mobile-active:after {
        position: absolute;
        top: 18px;
        left: 10px;
        font-family: 'rt-icons-2';
        content: "\e117";
        font-size: 40px;
        color: #ffffff;
    }

    .toggle_menu.mobile-active span {
        display: none;
    }

    .nav-justified > li > a {
        text-align: left;
    }

    .sf-menu {
        position: fixed;
        overflow: auto;
        background-color: #005CA2;
        padding: 10px 20px 10px 10px;
        top: 0px;
        left: 0px;
        bottom: 0px;
        right: 100%;
        font-size: 1.1em;
        text-transform: uppercase;
        font-weight: 400;
        word-wrap: break-word;
        text-align: left;
        -webkit-transition: all 0.4s ease-out 0s;
        transition: all 0.4s ease-out 0s;
        opacity: 0;
    }

    .mobile-active .sf-menu {
        opacity: 1;
        right: 20px;
    }

    .sf-menu > li > a,
    .sf-menu a {
        color: #ffffff;
    }

    .sf-menu ul {
        list-style: none;
        padding-left: 10px;
    }

    .sf-menu ul li a {
        display: block;
        padding: 10px;
        font-weight: 300;
        font-size: 16px;
        text-transform: none;
    }

    .sf-menu ul li a:before {
        content: '-';
        padding-right: 5px;
    }

    .sf-menu ul ul li a:before {
        content: '--';
        padding-right: 5px;
    }

    /*** arrows (for all except IE7) **/
    .sf-arrows .sf-with-ul {
        padding-right: 2.5em;
        *padding-right: 1em;
        /* no CSS arrows for IE7 (lack pseudo-elements) */
    }

    /* styling for both css and generated arrows */
    .sf-arrows .sf-with-ul:after {
        font-family: 'fontello';
        content: '\e82e';
        position: absolute;
        right: 2.4em;
        height: 0;
        width: 0;
        font-size: 20px;
    }

    /*top menu level*/
    .sf-arrows .sfHover > a,
    .sf-arrows .sfHover > a:hover {
        color: #ffffff;
        background-color: #005CA2;
    }
}

@media (min-width: 992px) {
    .sf-menu .md-hidden {
        display: none;
    }
}

@media (max-width: 991px) {
    #more-li {
        display: none;
    }
}

/* Mega Menu */
@media screen and (min-width: 992px) {
    .primary-navigation ul .mega-menu ul {
        position: static;
        float: none;
        width: 100%;
        display: table;
        table-layout: fixed;
    }

    .primary-navigation .menu-item-has-mega-menu {
        position: relative;
    }

    .primary-navigation .mega-menu {
        display: none;
        position: absolute;
        left: -500px;
        top: 100%;
        z-index: 10;
    }

    .primary-navigation .menu-item-has-mega-menu:hover .mega-menu {
        display: block;
    }

    /* row */
    .primary-navigation .mega-menu-row {
        position: static;
        width: 100%;
        display: table;
        table-layout: fixed;
    }

    /* column */
    .primary-navigation .mega-menu-col {
        display: table-cell;
        width: 1px;
        padding: 0 30px;
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        /* overrides from settings / styling / mega-menu */
    }

    .primary-navigation .mega-menu-col:first-child {
        border-left: none;
    }
}

@media screen and (max-width: 991px) {
    .primary-navigation .mega-menu {
        position: static;
    }
}

@media (max-width: 440px) {
    .about-content .side-item.content-padding .item-content {
        padding: 35px 15px;
    }
}

@media (max-width: 991px) {
    h1.entry-title {
        font-size: 32px;
    }
}

@media (max-width: 400px) {
    article.vertical-item .item-content {
        padding: 35px 15px;
    }
}

@media (max-width: 400px) {
    h4.entry-title {
        font-size: 40px;
    }
}

@media (min-width: 992px) {
    .author-meta .item-content {
        padding-left: 10px;
    }
}

@media (max-width: 991px) {
    .event-item .item-content {
        padding-top: 10px;
        padding-left: 40px;
    }
}

@media (min-width: 992px) {
    .comment-list ol {
        padding-left: 70px;
    }
}

@media (max-width: 500px) {
    .comment-respond i.pull-left {
        display: none;
    }

    .comment-respond .comment-form {
        margin-left: 0;
    }
}

@media (max-width: 400px) {
    .gallery-extended-item .item-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Single model page */
@media (min-width: 1200px) {
    .model-page .isotope-item {
        width: 20%;
    }
}

@media (min-width: 768px) {
    .widget_search .form-group.inline-block,
    .widget_mailchimp .form-group.inline-block {
        min-width: 370px;
        margin-right: 5px;
    }
}

@media (min-width: 768px) {
    .page_copyright .widget_nav_menu li, .page_topline .widget_nav_menu li {
        display: inline-block;
        position: relative;
        border: none;
        padding-right: 5px;
    }

    .page_copyright .widget_nav_menu li:before, .page_topline .widget_nav_menu li:before {
        content: '';
        position: absolute;
        padding: 0;
        left: -5px;
        top: 5px;
        bottom: 5px;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.05);
        opacity: 0.3;
        display: block;
    }

    .page_copyright .widget_nav_menu li:first-child:before, .page_topline .widget_nav_menu li:first-child:before {
        display: none;
    }

    .page_copyright .widget_nav_menu a, .page_topline .widget_nav_menu a {
        padding: 0 10px;
    }

    .page_copyright .widget_nav_menu a:before, .page_topline .widget_nav_menu a:before {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .widget_popular_entries .media-object {
        max-width: 40px;
    }
}

@media (max-width: 767px) {
    .widget_text {
        /*width: 100%;*/
        /*text-align: center;*/
    }

    ul.list1 li:before {
        /*display: none;*/
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    #calendar_wrap {
        overflow-x: auto;
        overflow-y: hidden;
    }
}

@media (max-width: 767px) {
    .login-dropdown,
    .cart-dropdown {
        position: static;
    }

    .login-dropdown .dropdown-menu,
    .cart-dropdown .dropdown-menu {
        margin-left: 0;
        margin-right: 0;
        right: 0;
        left: 0;
        min-width: 0;
    }
}

@media (max-width: 500px) {
    .teaser[class*="_bg_color"], .teaser[class*="with_"] {
        padding: 16px 20px;
    }
}

@media (max-width: 500px) {
    .teaser .media-left {
        padding-right: 20px;
    }
}

@media (max-width: 500px) {
    .teaser h2, .teaser h3, .teaser h4 {
        font-size: 1.4em;
    }

    .teaser h2 span, .teaser h3 span, .teaser h4 span {
        font-size: 1.2em;
    }
}

@media (min-width: 1200px) {
    .borders-angle {
        position: relative;
    }

    .borders-angle:before, .borders-angle:after {
        content: '';
        position: absolute;
        width: 1px;
        top: -30px;
        bottom: 28px;
        left: -1px;
        background-color: rgba(13, 13, 13, 0.1);
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
    }

    .borders-angle:after {
        left: auto;
        right: -5px;
    }
}

@media (min-width: 768px) {
    .teaser.table_section [class*="col-"] * {
        margin: 0;
        top: 0;
    }
}

@media (max-width: 767px) {
    .teaser.table_section [class*="col-"] * {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .single-slide h2 {
        font-size: 50px;
    }
}

@media (max-width: 767px) {
    .contact-email {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .contact-form.parallax {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 40px;
    }
}

@media (max-width: 540px) {
    .calendar-header {
        padding: 0;
    }

    .calendar-header h2 {
        font-size: 20px;
    }

    .calendar-header h2 + a {
        display: none;
    }
}

@media (max-width: 639px) {
    .day-cell.today:before,
    .day-cell * {
        font-size: 12px;
    }

    .week-days > div {
        font-size: 12px;
    }

    .day-cell {
        padding: 20px 0;
    }
}

@media (max-width: 439px) {
    .day-cell.today:before,
    .day-cell * {
        font-size: 8px;
    }

    .day-cell .day-date {
        font-size: 12px;
    }

    .day-cell {
        padding: 15px 0;
    }
}

@media (max-width: 991px) {
    .appointment-slots {
        margin-left: 40px;
    }

    .boxed .appointment-list li > div {
        display: block;
        float: none;
    }

    .boxed .appointment-slots {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .appointment-list li > div {
        display: block;
        float: none;
    }

    .appointment-slots {
        margin-left: 0;
    }
}

@media (max-width: 400px) {
    .big {
        font-size: 40px;
    }
}

@media (max-width: 540px) {
    .extra-big {
        font-size: 50px;
    }
}

@media (min-width: 500px) {
    .columns_padding_25 > [class*="container"] > .row {
        margin-right: -25px;
        margin-left: -25px;
    }

    .columns_padding_25 > [class*="container"] > .row > [class*="col-"] {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (min-width: 1200px) {
    .text-lg-right {
        text-align: right;
    }

    .text-lg-left {
        text-align: left;
    }

    .text-lg-center {
        text-align: center;
    }

    .display_table_lg {
        display: table;
        min-width: 100%;
        height: 100%;
        margin: auto;
    }

    .display_table_cell_lg {
        display: table-cell;
        vertical-align: middle;
        float: none;
        overflow: hidden;
        zoom: 1;
    }
}

@media (min-width: 992px) {
    .text-md-right {
        text-align: right;
    }

    .text-md-left {
        text-align: left;
    }

    .text-md-center {
        text-align: center;
    }

    .display_inline_md {
        display: inline;
    }

    .display_table_md {
        display: table;
        min-width: 100%;
        height: 100%;
        margin: auto;
    }

    .display_table_cell_md {
        display: table-cell;
        vertical-align: middle;
        float: none;
        overflow: hidden;
        zoom: 1;
    }
}

@media (min-width: 768px) {
    .text-sm-right {
        text-align: right;
    }

    .text-sm-left {
        text-align: left;
    }

    .text-sm-center {
        text-align: center;
    }

    .display_table_sm {
        display: table;
        min-width: 100%;
        height: 100%;
        margin: auto;
    }

    .display_table_cell_sm {
        display: table-cell;
        vertical-align: middle;
        float: none;
        overflow: hidden;
        zoom: 1;
    }
}

@media (max-width: 767px) {
    .text-xs-right {
        text-align: right;
    }

    .text-xs-left {
        text-align: left;
    }

    .text-xs-center {
        text-align: center;
    }

    .not_found {
        font-size: 130px;
    }

    .not_found + h2 {
        font-size: 30px;
    }
}

@media (max-width: 500px) {
    .hidden-xxs {
        display: none;
    }
}

@media (max-width: 400px) {
    .side-item.content-padding .item-content {
        padding: 35px 15px;
    }
}

/*-md- paddings and margins*/
@media (min-width: 992px) {
    .side-item.with_border [class*="-md-"] > .item-title {
        margin-top: -1px;
    }
}

/*-sm- paddings and margins*/
@media (min-width: 768px) {
    .side-item.with_border [class*="-sm-"] > .item-title {
        margin-top: -1px;
    }
}

@media (max-width: 400px) {
    .vertical-item.content-absolute .item-content {
        padding: 0 15px 20px;
    }
}

@media (max-width: 767px) {
    .countdown-section {
        padding: 20px 8px 0;
    }

    .countdown-amount {
        font-size: 40px;
    }

    .countdown-period {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .gallery-columns-4 .gallery-item,
    .gallery-columns-5 .gallery-item,
    .gallery-columns-6 .gallery-item,
    .gallery-columns-7 .gallery-item,
    .gallery-columns-8 .gallery-item,
    .gallery-columns-9 .gallery-item {
        width: 33%;
    }

    .gallery-columns-4 .gallery-caption,
    .gallery-columns-5 .gallery-caption,
    .gallery-columns-6 .gallery-caption,
    .gallery-columns-7 .gallery-caption,
    .gallery-columns-8 .gallery-caption,
    .gallery-columns-9 .gallery-caption {
        display: none;
    }
}

/*
Bal és jobb margo mobilnézetben
 */
@media (max-width: 480px) {
    #canvas {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

@media (max-width: 480px) {
    span.top-menu-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-menu-mobile {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .top-menu-icon {
        font-size: 25px;
        margin: 10px;
    }
}

@media (max-width: 767px) {
    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px){

    .mobile-padding {
       padding: 20px;
    }

    .mobile-koszonto-padding-top {
        padding-top: 0;
        margin-top: -50px;
    }

    .mobile-koszonto-hide-br {
        display: none;
    }
}


