@media( max-width: 1440px ) {

    #Top_bar .logo {
        margin: 12px 0 12px 103px;
    }

    .page-template-template-blog .post-item:first-child .image_wrapper, .archive .post-item:first-child .image_wrapper {
        max-width: 100%;
    }

    .page-template-template-blog .post-item .image_wrapper, .archive .post-item .image_wrapper {
        max-width: 100%;
    }

    .page-template-template-blog .post-item:first-child .image_wrapper img, .archive .post-item:first-child .image_wrapper img {
        height: auto !important;
    }

    .page-template-template-blog .post-item .image_wrapper img, .archive .post-item .image_wrapper img {
        height: auto !important;
    }  

    /*Our Work*/
    .our-work__item:first-child {
        height: 630px;
    }

    .our-work__item { width: 408px; }

}

@media ( max-width: 1366px ) {

  .our-work__item { width: 384px; }

  .our-work__item:first-child {
    height: 592px;
  }

  .royalSlider {
    width: 100% !important;
  }

  .royalSlider .rsContainer {
    margin-left: 0;
  }

  .about-team__wrapper {
   /* width: 59%;
    margin-left: 101px;*/
  }

  .royalSlider .about-team__wrapper .text-indent { padding-left: 28px; }

}


@media ( max-width: 1280px ) {
    
    .our-work__item:first-child {
        height: 545px;
    }

    .our-work__item { width: 353px; }

}

@media ( max-width: 1024px) {

    .royalSlider { 
    height: 345px;
    width: 100%; 
  }

  .royalSlider .rsContainer { margin-left: 0; }

  .about-team__wrapper { 
    margin-left: 39px;
    width: 85%; 
  }
    .mobile-text-indent {
        padding-left: 0;
    }
    .our-work__item {
        width: 369px;
    }
    .our-work__item:first-child {
        height: 335px;
    }
    .section-bless-trinity .section_wrapper {
        padding: initial;
    }
    .our-team__left {
        padding-left: 44px;
        width: 47%;
    }
    .our-team__right {
        width: 50%;
    }
    .royalSlider {
        height: 345px !important;
    }
    .royalSlider .name {
        font-size: 27px !important;
    }
    .royalSlider .position-title {
        font-size: 15px;
    }
    #Footer {
        padding: 10px 0;
    }
    #Footer .container {
        max-width: 940px !important;
    }
    #Footer .container .one-second.column {
        width: 50%;
    }
    .footer-services {
        width: 100%;
    }
    .footer-contact-details {
        margin-right: 0;
    }
    .footer-services p,
    .footer-services .call-us,
    .footer-services .popup-link {
        font-size: 40px !important;
    }
    .footer-services .call-us {
        pointer-events: auto;
        border-bottom: 2px solid;
    }
    /* Our Studio - Page(1024) */
    .section-bless-trinity .description {
        width: initial !important;
    }
    .bless-trinity-group {
        padding-left: 0;
    }
    .page-template-template-studio .section_wrapper {
        padding: 0;
    }
    .team-member__item {
        width: 245px;
    }
    /* Contact - Page(1024)*/
    .page-template-template-contact #Footer {
        padding: 0;
    }
    .page-template-template-contact #Footer .container {
        padding-left: 0;
    }
    body.page-template-template-contact:not(.template-slider) #Header {
        min-height: 130px;
    }
    /* Blog - Page(1024) */
    /*.page-template-template-blog #Content .section_wrapper { max-width: 940px !important; }*/
    .page-template-template-blog #Content .section_wrapper {
        max-width: calc(100% - 67px)!important
    }
    .page-template-template-blog .post-item {
        width: 100% !important;
    }
    .page-template-template-blog .post-item:first-child .post-title,
    .page-template-template-blog .post-item:first-child .post-excerpt,
    .archive.category .post-item:first-child .post-title,
    .archive.category .post-item:first-child .post-excerpt {
        width: 100%;
        display: block;
    }
    .page-template-template-blog .post-item:first-child .post-excerpt,
    .archive.category .post-item:first-child .post-excerpt {
        padding-right: 0;
    }
    .page-template-template-blog .post-item:first-child .entry-title,
    .archive.category .post-item:first-child .entry-title {
        margin-right: 0;
    }
    .page-template-template-blog .post-item,
    .archive.category .post-item {
        min-height: 0;
        margin-bottom: 0;
    }
}

@media ( max-width: 768px) {
    /*BASE*/
    h2 {
        font-size: 2.2em!important;
    }
    .column {
        margin: 0 1% 40px;
    }
    .home #Content {
        background: none;
    }
    /*MENU NAVIGATION*/

    #menu-item-395.menu-item > a:before {
        width: 47%;
        left: 3px;
    }
    #menu-item-446.menu-item > a:before {
        width: 31%;
        left: 3px;
    }
    #menu-item-448.menu-item > a:before {
        width: 22%;
        left: 3px;
    }
    #menu-item-447.menu-item > a:before {
        width: 38%;
        left: 3px;
    }

    #Top_bar .logo {
        margin: 12px 0;
    }

    #Top_bar .menu_wrapper {
        background-color: #efefef;
        position: initial;
        top: 0;
        left: 0;
    }

    #Top_bar #menu ul li a { font-size: 30px !important; }

    #Top_bar a.responsive-menu-toggle {
        top: 40px;
        right: 20px;
    }
    
    #Top_bar .menu > li > a,
    #Top_bar #menu ul li.submenu .menu-toggle {
        color: #000 !important;
    }
    .menu-item > a:before,
    .menu-item.current_page_item a:before {
        background-color: #000;
    }
    .dbg-lay-id-397 .c-hamburger span {
        background: #000;
    }
    .dbg-lay-id-397 .c-hamburger span::before,
    .dbg-lay-id-397 .c-hamburger span::after {
        background: #000;
    }
    .dbg-lay-id-397 .c-hamburger--htx.is-active span {
        background: none !important;
    }
    /*TOP REGION*/
    #Top_bar #menu {
        /*background-color: transparent !important;*/
        background-color: #efefef;
    }
    #Top_bar #menu {
        /*width: 186px !important; */
    }
    #Top_bar #menu ul li {
        padding-bottom: 20px !important;
    }
    #Header #menu > ul > li.current-menu-item > a, #Header #menu > ul > li.current_page_item > a {
        background: rgba(0,0,0,0) !important;
    }
    /*OUR WORK*/
    .section-our-work .section_wrapper,
    .section-bless-trinity .section_wrapper {
        padding: 0;
    }
    .bless-designs .icon_box .desc_wrapper,
    .bless-digital .icon_box .desc_wrapper,
    .bless-displays .icon_box .desc_wrapper {
        width: 100%;
    }
    .column_portfolio {
        margin: 0 0 40px;
    }
    .our-work__item {
        width: 353px;
    }
    /* Blog Page */
    .page-template-template-blog .post-item .post-title .entry-title a,
    .archive.category .post-item .post-title .entry-title a {
        font-size: 1em !important;
    }
    /*COMPARISON SLIDER*/
    .section-comparison-slider,
    .section-team {
        display: none;
    }
    /*footer*/
    #Footer .container .one-second.column {
        width: 47%;
    }
}

@media ( max-width: 414px) {
    .mobile-tr-header #Top_bar {
        top: 0;
    }
    .footer-services .call-us {
        pointer-events: auto;
    }
    /*MENU NAVIGATION*/
    /* padding bottom 135px is not ideal.*/
    #Top_bar #menu {
        padding: 108px 50px 135px;
    }
    .c-hamburger--htx.is-active span::before,
    .c-hamburger--htx.is-active span::after {
        background-color: #00f;
    }
    #menu-item-395.menu-item > a:before {
        width: 4.696em !important;
        left: 3px;
    }
    #menu-item-446.menu-item > a:before {
        width: 3.065em !important;
        left: 3px;
    }
    #menu-item-448.menu-item > a:before {
        width: 2.130em !important;
        left: 3px;
    }
    #menu-item-447.menu-item > a:before {
        width: 3.826em !important;
        left: 3px;
    }
    /*BLOG PAGE*/
    body.page-template-template-blog:not(.template-slider):not(.header-simple) #Header,
    body.single-post:not(.template-slider):not(.header-simple) #Header {
        min-height: 130px;
    }
    /*OUR WORK SINGLE*/
    .single-portfolio #Content .section_wrapper,
    .single-portfolio .description p,
    .portfolio-description {
        padding: 0;
    }
    /*REVSLIDER HIDDEN TEXT*/
    #slide-10-layer-1,
    #slide-2-layer-2,
    #slide-4-layer-1 {
        display: none;
    }
}


/*HOMEPAGE FIXES*/

@media ( min-width: 320px) and ( max-width: 680px) {
    .home .rev_slider.fullwidthabanner,
    .page-template-template-studio .rev_slider.fullwidthabanner {
        height: 660px!important;
    }
    .home .section-our-work,
    .page-template-template-studio .section-bless-trinity {
        margin-top: 490px;
    }
    .home .tp-bgimg.defaultimg,
    .page-template-template-studio .tp-bgimg.defaultimg {
        background-position: -380px 0 !important;
        background-size: 1113px 640px !important;
    }
    .home .tp-caption.tp-resizeme,
    .page-template-template-studio .tp-caption.tp-resizeme {
        font-size: 2.1em !important;
        font-weight: normal !important;
        line-height: 41px !important;
        /*margin: 190px 0 0 -60px !important;*/
        margin: 190px auto -60px !important;
        max-width: 400px !important;
        text-align: center !important;
        width: 368px !important;
    }
    .home .tp-caption.tp-resizeme br,
    .page-template-template-studio .tp-caption.tp-resizeme br {
        display: none;
    }
    .home .tp-caption.tp-resizeme, .page-template-template-studio .tp-caption.tp-resizeme { width: 320px !important; }
}

@media ( min-width: 320px) and ( max-width: 767px) {
    /*BASE*/
    h2 {
        font-size: 2.2em!important;
    }
    .home #Content {
        background: none;
    }
    .mobile-tr-header #Top_bar {
        position: absolute;
        top: 0
    }
    #Top_bar #logo img.logo-mobile {
        display: block
    }
    #Top_bar .logo #logo {
        margin: 10px 50px 10px 20px;
    }
    #Top_bar .menu_wrapper {
        position: absolute;
    }
    #Top_bar #menu ul li a {
        font-size: 46px !important;
    }

    /*#menu-item-395.menu-item > a:before {
        width: 30%;
        left: 3px;
    }
    #menu-item-446.menu-item > a:before {
        width: 19%;
        left: 3px;
    }
    #menu-item-448.menu-item > a:before {
        width: 14%;
        left: 3px;
    }
    #menu-item-447.menu-item > a:before {
        width: 24%;
        left: 3px;
    }*/

  /* fixes for iOS 7 and below */

  .our-work__list {
     display: flex;
  }


    /*OUR WORK*/
    .home .section-our-work {
        margin-top: 490px;
    }
    .our-work__image img {
        height: auto !important;
        width: 100%;
    }
    .our-work__item:first-child .our-work__image img {
        height: 245px !important;
    }
    .our-work__item,
    .our-work__item:first-child {
        height: auto;
    }
    .our-work__item a {
        line-height: 0.6;
    }
    .our-work__list .our-work__item:nth-child(n+5) {
        display: none;
    }
    /*COMPARISON SLIDER*/
    .section-comparison-slider,
    .section-team {
        display: none;
    }
    /*POPUP FORM*/
    .form-details {
        padding: 25px;
    }
    .form-details .form-group .form-input {
        width: 100%;
    }
    .form-details .form-heading {
        font-size: 30px;
        line-height: 30px;
    }
    #fancybox-close {
        right: 0 !important;
        top: 15px !important;
    }
    /*Contact*/
    .page-template-template-contact #Footer {
        margin-top: -80px;
        padding: 20px;
    }
    /*Footer*/
    #Footer {
        padding: 10px 23px;
    }
    .footer-services p,
    .footer-services .call-us,
    .footer-services .popup-link {
        font-size: 28px !important;
    }
}

@media ( min-width: 320px) and ( max-width: 680px) and (orientation: landscape) {
    /*Homepage fixes*/
    .home .tp-bgimg.defaultimg,
    .page-template-template-studio .tp-bgimg.defaultimg {
        background-position: -141px -40px !important;
        background-size: 835px 480px !important;
    }
    .home .section-our-work {
        margin-top: 150px;
    }
    /*MENU NAVIGATION*/
    #Top_bar .menu_wrapper {
        background-color: #efefef;
        position: absolute;
        top: 0;
        left: 0;
        padding: 0 0 0 30px;
    }
    .c-hamburger--htx.is-active span::before,
    .c-hamburger--htx.is-active span::after {
        background-color: #00f;
    }
    #Top_bar a.responsive-menu-toggle {
        z-index: 250;
    }
    .home .tp-caption.tp-resizeme,
    .page-template-template-studio .tp-caption.tp-resizeme {
        margin: -90px auto -60px !important;
    }
    /*OUR WORK*/
    .our-work__item {
        width: 100%;
    }
    .our-work__item:first-child .our-work__image img {
        height: 453px !important;
    }
    /*Footer*/
    .footer-contact-details {
        float: left;
        margin-right: 0;
        width: 50%;
    }
    .footer-contact-details,
    .footer-social-media {
        display: inline-block;
        width: 50%;
    }
    #Footer #text-4.widget_text {
        float: none;
    }
}
