/*------------------------------------------------------------------
[Media Stylesheet]
-------------------------------------------------------------------*/

/*------------------------------------------------------------------
[Table of contents]

1. Min width 992px and Max width: 1199px
2. Max width: 1140px 
3. Max width: 992px
4. Max width: 992px and min width: 768px
5. Max width: 767px
6. Max width: 480px
7. Custom media for IE

-------------------------------------------------------------------*/

@media (min-width: 1530px) {
    .page-template-template-results-half-map .sort-models-wrapper .content-wrapper {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 883px;
        -webkit-flex: 0 0 883px;
        flex: 0 0 883px;
        max-width: 883px;
    }

    .page-template-template-results-half-map .sort-models-wrapper .map-wrapper {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(100% - 883px);
        -webkit-flex: 0 0 calc(100% - 883px);
        flex: 0 0 calc(100% - 883px);
        max-width: calc(100% - 883px);
    }

    .models-map-view .map-wrapper .sw_wrap .map {
        width: -webkit-calc(100% - 908px);
        width: -webkit-calc(100vw - 908px);
        width: calc(100vw - 908px);
        position: fixed !important;
    }
}

@media (min-width: 1380px) {
}

@media (min-width: 1140px) and (max-width: 1350px) {
}

/*------------------------------------------------------------------
[1. Min width 992px and Max width: 1199px ]
*/

@media (min-width: 992px) and (max-width: 1199px) {
}

/*------------------------------------------------------------------
[2. Max width: 1199px ]
*/
@media (max-width: 1228px) {
    
    .ic-slider.slick-slider {
        margin: 0 40px;
    }
    
    .ic-slider-box .slick-slider:after {
        width: calc(100% + 80px);
        left: -40px;
        top: -55px;
    }
    
    .ic-slider-box .ic-header .title {
        font-size: 85px;
        margin-bottom: 7px;
    }
    
}

/*------------------------------------------------------------------
[2. Max width: 1199px ]
*/
@media (max-width: 1199px) {
    .models-map-view .map-wrapper .sw_wrap .map {
        width: -webkit-calc(33.333333% - 15px);
        width: -webkit-calc(33.333333vw - 15px);
        width: calc(33.333333vw - 15px);
    }

    .model-row-wrap .models-list-item .model-row {
        padding: 0;
    }

    .model-row-wrap .models-list-item .model-row .row-model-info {
        padding: 15px 0;
    }
    
}

/*------------------------------------------------------------------
[2. Max width: 1140px ]
*/
@media (max-width: 1140px) {
}

/*------------------------------------------------------------------
[3. Max width: 991px ]
*/
@media (max-width: 991px) {
    
   .navigation > ul#top-menu .sub-menu {
        min-width: initial;
    } 
    
    .team {
        overflow: hidden;
    }
    
    .header-inner .fa-bars {
        margin-left: 15px;
    }

    .navigation > ul#top-menu > li:hover:after,
    .navigation > ul#top-menu > li.current-menu-parent:after, 
    .navigation > ul#top-menu > li.current-menu-item:after {
        display: none;
    }

    .right-sec-nav {
        flex: 1 2 auto;
        display: flex;
        justify-content: flex-end;
    }

    .section-promo .line-item {
        font-size: 56px;
    }

    .featured-items-row {
        margin-left: -15px;
        margin-right: -15px;
    }

    .slider-promo {
        width: initial;
        margin-right: -35px;
        margin-left: -35px;
        max-width: initial;
    }

    .cloud-carousel {
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    .cloud-carousel > .side.cloud-body {
        width: 100%;
    }

    .cloud-slider.slick-slider .slick-next, .cloud-slider.slick-slider .slick-prev {
        display: none !important;
    }

    .sort-models-wrapper #sw_map_results {
        margin: 0 -15px;
        width: initial;
    }

    #comments,
    .single-post-content.blog-entry #comments {
        margin-bottom: 40px;
    }

    .model-row-wrap .model-row .row-model-info {
        padding: 15px 0;
    }

    .hero.over-header .searh-model .submit {
        width: 100%;
    }

    .hero.over-header .select-item {
        min-width: 150px;
    }

    .admin-bar .models-map-view .map-wrapper .sw_wrap .map,
    .models-map-view .map-wrapper .sw_wrap .map {
        position: relative !important;
        top: initial;
        right: initial;
        left: initial;
        width: 100%;
        height: 450px;
    }

    .page-template-template-results-half-map .site-footer .container {
        margin: 0;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .category-models-item {
        margin-bottom: 40px;
    }

    .categories {
        margin-bottom: -40px;
    }

    .page-template-template-results-half-map .sort-models-wrapper .map-wrapper {
        margin-top: 0;
    }

    .page-template-template-results-half-map .header.full-width.fixed > .container-fluid {
        padding-right: 15px;
        padding-left: 15px;
    }

    .header.full-width:not(.white) .navigation-wr #search-form {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        margin-bottom: 0;
    }

    .header-search-button {
        width: 30px;
        min-width: 30px;
    }

    .logged-in .navigation-wr .fa-times {
        top: 43px;
        padding-bottom: 5px;
    }

    .logged-in .header.full-width .navigation-wr {
        padding-top: 90px;
    }

    .logged-in .navigation-wr .login {
        margin: 0;
        display: none !important;
    }

    .navigation-wr .fa-times {
        right: 15px;
    }

    .blog-entry.blog-standart .navigation.pagination {
        margin-bottom: 90px;
    }

    .listing-preview-wp .model-contacts {
        text-align: center;
    }

    .listing-preview-wp .sidebar .model-contacts,
    .listing-preview-wp .sidebar {
        margin-bottom: 0;
    }

    .cloud-carousel > .side {
        width: 100%;
    }
}

/*------------------------------------------------------------------
[4. Max width: 992px and min width: 768px]
*/

@media (min-width: 768px) and (max-width: 991px) {
}

/*------------------------------------------------------------------
[5. Max width: 767px]
*/
@media (max-width: 767px) {

    .section-promo .sbg-image > .bg-image {
        width: 100%;
        left: 0;
        margin-right: 0;
        max-width: initial;
    }

    .section-promo .line-item {
        font-size: 40px;
    }

    .slider-promo {
        width: initial;
        margin-right: -15px;
        margin-left: -15px;
        max-width: initial;
    }

    .container-wide {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-excerption {
        padding: 35px 0;
        padding-bottom: 100px;
    }

    .excerption-box .text {
        font-size: 38px;
        font-weight: 400;
    }

    .model-row-wrap .model-row .row-model-info,
    .model-row-wrap .models-list-item .model-row .row-model-info {
        padding: 30px 0;
    }

    .model-row-wrap.models-list .model-row .title {
        margin-top: -3px;
    }

    .header-search-button {
        width: 50px;
    }

    .models-list-item .column.column-social {
        display: none;
    }

    .model-attr .attr-item {
        margin-bottom: 0;
    }

    .model-attr .attr-item {
        display: none;
    }

    .model-attr .attr-item:nth-child(3),
    .model-attr .attr-item:nth-child(2),
    .model-attr .attr-item:nth-child(1) {
        display: block;
    }

    .rewiew-section .blog-comment .author-name {
        margin-bottom: 15px;
    }

    .sw-listing-results.model-row-wrap.models-list {
        margin-bottom: 0;
        width: 100%;
    }

    #results-profile .sw-listing-results.model-row-wrap.models-list {
        width: initial;
    }

    section.last-posts.small {
        margin-bottom: 40px;
    }

    /* global margin/padding fix */
    #listing-preview .widget {
        margin-bottom: 25px;
    }

    .post-content .agancy-prof-aside .info {
        margin: 40px 0;
    }

    .main {
        margin-top: 40px;
    }

    .site-footer {
        padding: 40px 0 40px;
    }

    .post-content .info p {
        margin-bottom: 15px;
    }

    .sort-models-wrapper .pagination {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .model-row-wrap .model-row {
        padding: 0;
    }

    main.main div.container div.wrapper-breadcrumbs #breadcrumbs {
        line-height: 1;
    }

    .profile-reviews,
    .sign-form-wr,
    main .services,
    .widgets,
    .hero.over-header .title,
    .testimonials,
    #listing-preview .widget,
    .profile-entry .soc-icons,
    .site-footer,
    #comments, .form,
    .post-content .agancy-prof-aside p.soc-icons,
    .post-content {
        margin-top: 45px;
    }

    .blog-grid .post-wrap,
    .col-lg-3.widgets,
    .sign-form-wr,
    .blog-entry.blog-standart .recent-posts-item:last-of-type,
    .contact-entry, .faq-entry, .pricing-entry,
    .agancy-item-inner .agancy-content,
    .widgets,
    .last-posts.small,
    .widget,
    .single-post-entry,
    .section-title {
        margin-bottom: 45px;
    }

    .services-item-wr {
        margin-bottom: 35px;
    }

    .col-lg-3.widgets,
    .post-content,
    .profile-reviews {
        margin-top: 0;
    }

    .col-lg-3.widgets,
    .single-post-entry .post-content {
        padding-bottom: 0;
    }

    .model-attr {
        margin-bottom: -10px;
    }

    .comment-form {
        margin-bottom: -15px;
    }

    .profile-entry .profile-header {
        margin-top: 65px;
    }

    .agancy-item,
    .profile-reviews .sidebar .model-contacts,
    .profile-reviews .sidebar {
        margin-bottom: 0;
    }

    .blog-grid,
    .popular-models.model-section {
        margin-bottom: 40px;
        padding-bottom: 0;
    }

    .team,
    .popular-models.model-section,
    .last-posts,
    .categories,
    .recently-featured,
    .popular-models.model-section {
        padding-top: 40px;
    }

    .widget, .single-post-entry, .section-title {
        line-height: 1;
    }

    .hero.over-header {
        padding-bottom: 25px;
    }

    .full-screen-quote .full-screen-quote-text {
        padding: 40px 30px;
    }

    .full-screen-quote .quotes {
        margin: -90px 0 -90px;
    }

    main .services,
    .wrapper-breadcrumbs,
    .model-row-wrap.popular-models {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .full-width-bg .full-width-bg-inner {
        padding: 40px 0 !important;
    }

    .testimonials .quotes {
        margin-bottom: -65px;
        margin-top: -55px;
    }

    .profile-entry .model-description {
        margin-top: 30px;
    }

    .alert {
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .agancy-logo {
        margin-bottom: 15px;
    }

    .single-post-entry .agentsresults-pagin-parent:empty {
        margin-bottom: -40px;
    }

    .slick-slider .agancy-logo {
        margin-bottom: 0;
    }

    .sort-models-wrapper {
        margin-bottom: 40px;
    }

    .sort-models-wrapper #sw_map_results {
        margin: 0 -15px;
        width: initial;
    }

    .navigation.pagination .nav-links {
        margin-bottom: -10px;
    }

    .page-header {
        margin-bottom: 40px;
        margin-top: 40px;
    }

    .post-content p:last-child,
    .single-post-entry .post-content p:last-child {
        margin-bottom: 0;
    }

    .wrapper-breadcrumbs .soc-icons {
        line-height: 1;
    }

    .col-lg-9 > .alert:last-child {
        margin-bottom: 40px;
    }

    .single-post-content .post-title {
        font-size: 30px;
    }

    .blog-entry.blog-standart .navigation.pagination {
        margin-bottom: 40px;
    }

    .blog-entry.blog-standart {
        margin-bottom: 0;
    }

    .listing-overview .lv-header {
        margin-bottom: 33px;
    }

    .page-template-template-listing-preview .profile-entry.container {
        padding-bottom: 45px;
        margin-bottom: 0 !important;
    }

    .widget-reviews .blog-comment {
        margin-bottom: 0px;
        padding-bottom: 10px;
    }

    .form .title {
        margin-bottom: 42px;
    }

    .page-template-template-listing-preview .profile-entry.container {
        margin-top: 0;
    }

    .wrapper-breadcrumbs .spage-title {
        margin-bottom: 15px;
    }

    .page-template-template-listing-preview .main {
        margin-top: 5px;
    }

    .wrapper-breadcrumbs #breadcrumbs {
        margin-bottom: 0;
    }

    .widget.side {
        margin-bottom: 45px;
    }

    main .wrapper-breadcrumbs {
        margin-top: -40px;
    }
    /* end global margin/padding fix */

    .agancy-prof .agancy-header .agancy-logo img {
        max-height: 250px;
        max-width: 250px;
    }

    .profile-entry .soc-icons {
        line-height: 1;
    }

    .faq-entry .wr-ads {
        background: transparent;
    }

    .agancy-item {
        border-bottom: 0;
    }

    .geo-hero .title {
        font-size: 45px;
    }

    .blog-comment .author-photo-wr {
        text-align: left;
    }

    .contact-entry .aside,
    .agancy-item-inner .agancy-header,
    .agancy-item-inner .agancy-header .agancy-title,
    .agancy-item-inner,
    .profile-reviews .sidebar .model-contacts,
    .agent-details {
        text-align: center;
    }

    .agancy-item-inner .agancy-header .agancy-title {
        width: 100%;
    }

    main.main div.container div.wrapper-breadcrumbs {
        margin-bottom: 47px;
        margin-top: 40px;
    }

    .agancy-logo-wr .slick-next {
        right: 15px;
    }

    .agancy-logo-wr .slick-prev {
        left: 15px;
    }

    .widget-ads-right {
        text-align: center;
    }

    .widget-listing-agent .agent-logo {
        text-align: center;
    }

    .testimonials .slick-arrow,
    .hero-slider-wr .slick-arrow {
        display: none !important;
    }

    .geo-hero > .container > .row > *:first-child {
        display: block;
        margin-bottom: 50px;
    }

    .hero.over-header {
        margin-top: 0;
        padding-bottom: 15px;
    }

    .hero.over-header .over-header-inner {
        height: auto;
        margin-bottom: 30px;
    }

    .agancy {
        padding: 45px 15px 45px;
    }

    .listing-overview .btn-classic {
        min-width: initial;
        padding: 25px 30px;
    }

    .agancy-header .models-counter {
        display: none;
    }

    .agancy-header .agancy-logo {
        order: 1;
    }

    .agancy-header .agancy-title {
        order: 2;
    }

    contact-entry .aside {
        text-align: center;
    }

    .full-width-bg .title {
        font-size: 40px;
    }

    .header-inner {
        padding: 15px 0;
    }

    .header .site-logo-text {
        margin-bottom: 0;
    }

    .agancy-prof-entry .agancy-header {
        -webkit-flex-direction: column;
        flex-direction: column;
        height: initial;
    }

    .agancy-header .agancy-logo {
        order: 1;
        margin-bottom: 15px;
    }

    .page-header .text-right {
        text-align: left;
        margin-top: 34px;
    }

    .popular-models.model-section {
        padding-top: 40px;
    }

    .post-content p {
        margin-top: -7px;
    }

    .wrapper-breadcrumbs .profile-nav-link, .wrapper-breadcrumbs .soc-icons {
        -webkit-align-self: flex-start;
        align-self: flex-start;
        margin-top: 0;
    }

    .wrapper-breadcrumbs .profile-nav-link {
        margin-top: 20px;
    }

    .select-small {
        width: calc(100% + 10px);
    }

    .header.full-width:not(.white) #search-form .search {
        padding-right: 15px;
    }

    .pricing-entry,
    .popular-models.model-section .no-margin-bottom .button {
        margin-top: 0;
    }

    .rewiew-section .form {
        margin-top: 40px;
    }

    .post-content .agancy-prof-aside > div:first-child {
        margin-top: 0;
    }

    main .services {
        padding-bottom: 20px;
    }

    .blog-entry.blog-standart .recent-posts-item {
        margin-bottom: 40px;
    }

    .blog-entry.blog-standart .post-footer {
        margin-top: 0;
    }

    .models-list .models-list-item,
    body .sort-models-wrapper {
        margin-bottom: 40px;
    }

    body .site-footer {
        padding: 40px 0 40px;
        text-align: center;
        background-color: #0C0C0C;
    }

    .navigation.post-navigation {
        margin-top: 35px;
    }

    #listing-preview.bootstrap-wrapper > div:last-child {
        margin-bottom: 40px;
    }

    .widget-ads-right {
        margin-top: 40px;
    }

    .single-post-entry .col-lg-3.widgets {
        margin-bottom: 0;
    }

    #widget-search-form {
        margin-bottom: 40px;
    }

    .widgets ul {
        margin-bottom: -5px;
    }

    .contact-entry .aside {
        margin-top: 40px;
    }

    body .sort-models-wrapper .pagination {
        margin-top: 0;
    }

    .widget:last-child {
        margin-bottom: 40px;
    }

    .col-lg-3.widgets .widget:last-child {
        margin-bottom: 45px;
    }

    .ic-slider-box .ic-header .title {
        font-size: 69px;
        margin-bottom: 56px;
    }

    #listing-preview .widget.widget-overview {
        margin-top: 40px;
    }

    .hero.over-header .title {
        font-size: 34px;
    }

    .agancy-logo-wr .slick-slide {
        margin: 0 5px;
    }

    .agancy-logo-wr .slick-list {
        margin: 0 -5px;
    }

    .section-promo-container {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .ic-slider.slick-slider {
        height: 460px;
    }

    .ic-slider.slick-slider {
        padding-bottom: 94px;
    }

    .ic-slider.slick-slider .slick-next, .ic-slider.slick-slider .slick-prev {
        bottom: 40px;
    }

    .section-featured-items {
        padding: 45px 0;
    }

    .ic-slider-box .slick-slider:after {
        display: none;
    }

    .sfi-item {
        margin-left: 0;
        margin-right: 0;
        flex: initial;
        width: initial;
    }

    .pricing-entry .pricing-item {
        margin-bottom: 15px;
    }

    .pricing-entry {
        padding-bottom: 31px;
    }

    .featured-items-row {
        flex-direction: column;
    }

    .section-featured-items.alt {
        padding-bottom: 20px;
    }

    .section-text-box {
        padding: 35px 0;
        padding-bottom: 40px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .team-item.alt {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .team {
        padding-bottom: 45px;
    }

    .ic-slider-box .ic-header .title {
        font-size: 69px;
        margin-bottom: 30px;
        margin-top: -35px;
    }

    /* padding / margin 
   *  margin: 45px 0
   *
   */ 

    .widget .widget-title {
        margin-top: -3px;
    }

    .section-latest-categories.section-line:after {
        display: none;
    }

    .cloud-carousel > .side.cloud-body {
        padding-top: 29px;
    }

    .cloud-carousel .cloud-body .slide-item .text,
    .cloud-carousel .cloud-body .slide-item .header .title {
        margin-bottom: 35px;
    }

    .dg-wrapper {
        max-width: 100%;
    }

    body .banner {
        padding: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .section-sw_video {
        padding: 5px 0;
        padding-top: 0;
    }

    .cloud-carousel .btn-register {
        right: 20px;
    }

    .models-carousel-slider.slick-slider {
        padding-bottom: 50px;
    }

    .section-history-article .his-art-header {
        margin-bottom: 30px;
    }

    .excerption-box .excerption-sugnature {
        margin-top: 30px;
    }

    .excerption-box {
        padding: 110px 15px 25px 15px;
    }

    .excerption-box:after {
        top: 5px;
    }

    .models-carousel-featured {
        padding: 40px 0;
        padding-bottom: 15px;
    }

    .card.card-latest-categories {
        margin-bottom: 45px;
    }

    .section-excerption {
        padding: 0px 0;
        padding-bottom: 16px;
    }

    .full-screen-quote {
        margin-top: 55px;
    }

    .section-history-article .his-art-signature {
        margin-bottom: 0;
    }

    .section-history-article {
        padding: 30px 0;
        padding-bottom: 42px;
    }

    .section-latest-categories {
        padding: 45px 0;
        padding-bottom: 0;
    }

    .section-cloud-carousel {
        padding: 0px 0;
        padding-bottom: 15px;
    }

    .section-featured-items {
        padding: 45px 0;
        padding-bottom: 40px;
    }

    .section-cloud-carousel .cloud-carousel {
        padding-bottom: 0;
    }

    .section-cloud-carousel {
        padding-bottom: 0;
    }

    .section-featured-items {
        padding-bottom: 20px;
    }

    .cloud-carousel > .side {
        padding-bottom: 00px;
    }

    .cloud-carousel > .side.cloud-images {
        padding-bottom: 0;
    }

    .full-screen-quote .full-screen-quote-text {
        padding: 70px 30px;
        padding-bottom: 38px;
    }

    .full-screen-quote .author-img-wr {
        margin-top: 45px;
    }

    /* end padding / margin */ 

    .wrapper-breadcrumbs {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .contact-us-row .preview {
        display: none;
    }

    .contact-us-row .cus-body {
        padding: 0 10px;
    }

    .contact-us {
        padding: 0;
        padding-bottom: 40px;
    }

    .section-contact {
        margin-top: 0;
    }

    .blog-entry.blog-standart {
        margin-top: 0;
    }

    .blog-entry.blog-standart .post-footer .share {
        display: none;
    }

    .page-template-template-listing-preview .main .wrapper-breadcrumbs {
        margin-top: 0;
    }

    .featured-items-row {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-us-row .cus-body .cus-title {
        margin-bottom: 1px;
    }

    .widget-reviews .blog-comment {
        padding-left: 0;
        padding-right: 0;
    }

    .blog-entry.blog-standart .recent-posts-item .post-img-wr {
        height: 358px;
    }
}

/*------------------------------------------------------------------
[6. Max width: 540px]
*/

@media (max-width:640px) {

    .blog-entry.blog-standart .title-wr + .publish-age {
        margin-bottom: 25px;
    }
    
    .section-promo .line-item {
        font-size: 28px;
    }
    
    .blog-entry.blog-standart .title-wr .title {
        font-size: 24px;
    }
    
    .blog-entry.blog-standart .title-wr + .publish-age {
        display: flex;
        flex-wrap: wrap;
    }
    
    .blog-entry.blog-standart .title-wr + .publish-age .meta {
        display: block;
        width: 100%;
        order: 0;
        margin-bottom: 4px;
    }
    
    .blog-entry.blog-standart .title-wr + .publish-age .separator {
        display: none;
    }
    
    .blog-entry.blog-standart .title-wr + .publish-age .comments {
        order: 1;
    }
    
    .blog-entry.blog-standart .title-wr + .publish-age .date {
        order: 2;
        flex: 1 2 auto;
        text-align: right;
    }
    
    .blog-entry.blog-standart .title-wr + .publish-age  .sticky-post {
        margin: 0 auto;
        margin-bottom: 7px;
    }
}

/*------------------------------------------------------------------
[6. Max width: 540px]
*/

@media (max-width:575px) {
    .listing-overview {
        padding: 0;
        padding-top: 45px;
    }
}

@media (max-width:540px) {
    .section-promo .line-item {
        font-size: 28px;
    }

    .section-promo-container {
        padding-top: 60px;
        padding-bottom: 71px;
    }
}

/*------------------------------------------------------------------
[7. Custom media for IE]
*/

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
}

@media screen and (max-width:1140px) and (-ms-high-contrast: active) and (-ms-high-contrast: none) {
}

@media screen and (max-width:768px) and (-ms-high-contrast: active) and (-ms-high-contrast: none) {
}
