/* CSS grid styles for ads for Fundspec */

/* General styles */

/** Search */

/*** > check */
/*
li.sqpp-trigger-search-box,
li.sqpp-trigger-search-box a {
    pointer-events: none !important;
}
*/

body.search-results .entry-content {
    display: none !important;
}

.search-results article.sqppvideo h2.entry-title a:before,
.search-results article.vimeo-video h2.entry-title a:before,
.search-results article.video h2.entry-title a:before {
    content: "Video ";
    font-weight: normal !important;
    color: #ff6600;
}

/** /Search */

.push-right,
.pushright {
    margin-right: 0px;
    margin-left: auto;
}
.push-left,
.pushleft {
    margin-right: auto;
    margin-left: 0px;
}

.sidebar-push {
    margin-right: auto;
    margin-left: 0px;
}
@media screen and (min-width: 901px) {
    .sidebar-push {
        margin-right: 0px;
        margin-left: auto;
    }
}
@media screen and (min-width: 1201px) {
    body.page-template-tpl-builder-ads .sidebar-push {
        margin-right: 0px;
        margin-left: auto;
    }
}

/* Ad dev styles */

#page-builder-ads { 
display: flex; 
}
.halfpipe-outerwrap { 
width: 320px; 
}
#page-builder-ads .halfpipe-outerwrap-left {
display: none;
}
.crumbs-spacer.eh-crumbs {
    margin-bottom: 12px;
}
.halfpipe-wrap-left {
    width: 300px;
    margin-right: auto;
    margin-left: 0px;
}
.halfpipe-wrap-right {
    width: 300px;
    margin-right: 0px;
    margin-left: auto;
}

/** sqpp-check > delete */
.2-col-rectangle-right {
margin-left: calc( 100% - 300px ) !important;
margin-right: 0px !important;
}
/** /sqpp-check > delete */


.rectangle-width {
    width: 100%;
}
.rectangle-width h4,
.rectangle-width h4 + div {
    max-width: 300px;
}
@media screen and (min-width: 901px) {
    .rectangle-width {
        width: 300px;
    }
}
@media screen and (min-width: 1201px) {
    body.page-template-tpl-builder-ads .rectangle-width {
        width: 300px;
    }
}

/** Media queries */

@media screen and (min-width: 2151px) {

    #page-builder-ads .halfpipe-outerwrap-left {
        display: block;
    }

}


@media screen and (min-width: 1851px) and (max-width: 2150px) {

body.page-template-tpl-builder-ads .site-header .wrap,
body.page-template-tpl-builder-ads .sqpp-logo .wrap,
body.page-template-tpl-builder-ads .menu-primary,
body.page-template-tpl-builder-ads .menu-secondary,
body.page-template-tpl-builder-ads .site-inner {
margin-left: 0px !important;
}

body.page-template-tpl-builder-ads .site-inner,
.page-builder-ads {
    width: 100%;
    max-width: 1800px !important;
}
body.page-template-tpl-builder-ads.full-width-content .content-area {
    width: calc(100% - 320px);
    max-width: 1480px;
}

#page-builder-ads .halfpipe-outerwrap-left {
display: none;
}

} /* (min-width: 1851px) and (max-width: 2150px) */

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

body.page-template-tpl-builder-ads .site-header .wrap,
body.page-template-tpl-builder-ads .sqpp-logo .wrap,
body.page-template-tpl-builder-ads .menu-primary,
body.page-template-tpl-builder-ads .menu-secondary,
body.page-template-tpl-builder-ads .site-inner {
margin-left: auto !important;
}

body.page-template-tpl-builder-ads .site-inner,
.page-builder-ads {
    width: 100%;
    max-width: 1480px !important;
}
body.page-template-tpl-builder-ads .content-area {
    width: calc(100% - 320px);
    max-width: 1320px;
}

#page-builder-ads .halfpipe-outerwrap-left {
display: none;
}

} /* (max-width: 1850px) */

/** /Media queries */

/* sqpp builder grid styles for ads page template */

/**** sqpp-5 */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 > div.panel-grid-cell:nth-of-type(1) {
        float: none !important;
        width: 100% !important;
    }
}

@media screen and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 > div.panel-grid-cell:nth-of-type(1) {
        float: none !important;
        width: 100% !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 {
        margin-left: -10px !important; /* CHECK */
        margin-right: -10px !important; /* CHECK */
    }
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 div.panel-grid-cell {
        float: none !important;
        width: auto !important;
        width: 100% !important;
    /*padding-left: 15px !important;*/
    /*padding-right: 15px !important;*/
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 div.panel-grid-cell {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-5 */

/**** sqpp-1-4 */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-4 div.panel-grid-cell:nth-of-type(1) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-4 div.panel-grid-cell:nth-of-type(2) {
        width: 80% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-1-4 div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-4 div.panel-grid-cell:nth-of-type(2) {
        width: 100% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-4 div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-4 div.panel-grid-cell:nth-of-type(2) {
        width: 100% !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-4 div.panel-grid-cell {
        float: none !important;
        width: 100% !important;
    }
}

/***** sqpp-1-4.ad-wideboard-row */
/*** sqpp special grid style for row if it has a wideboard ad */
@media screen and (min-width: 1401px) and (max-width: 1835px) { 
    .page-template-tpl-builder-ads #page.site #page-wrap .sqpp-1-4.ad-wideboard-row div.panel-grid-cell:nth-of-type(1), 
    .page-template-tpl-builder-ads #page.site #page-wrap .sqpp-1-4.ad-wideboard-row div.panel-grid-cell:nth-of-type(2) { 
        float: none !important;
        width: 100% !important;
    }
}
/* *** */
/***** /sqpp-1-4.ad-wideboard-row */

/**** /sqpp-1-4 */

/**** sqpp-1-3-1 */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell:nth-of-type(1) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell:nth-of-type(2) {
        width: 60% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell:nth-of-type(3) {
        width: 20% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell:nth-of-type(2) {
        width: 75% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell:nth-of-type(3) {
        width: 25% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell:nth-of-type(1),
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell:nth-of-type(2) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell:nth-of-type(3) {
        -ms-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important;
        width: 100% !important;
        margin-right: -10px !important;
        margin-left: -10px !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell:nth-of-type(3) > div {
        -ms-box-sizing: content-box !important;
        -moz-box-sizing: content-box !important;
        -webkit-box-sizing: content-box !important;
        box-sizing: content-box !important;
        width: 50% !important;
        float: left !important;
        padding-right: 10px !important;
        padding-left: 10px !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-3-1 div.panel-grid-cell {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-1-3-1 */

/**** sqpp-1-1-1-1-1 */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(1),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(3),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(4),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(5) {
        width: 20% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) { 
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(1) {
        float: none !important;
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(3),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(4),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(5) {
        width: 25% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(1) {
        float: none !important;
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(3),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(4),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(5) {
        width: 50% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 > div[id$="-3"] {
        clear: left !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(1),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(3),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(4),
    .page-template-tpl-builder-ads .sqpp-1-1-1-1-1 div.panel-grid-cell:nth-of-type(5) {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-1-1-1-1-1 */

/**** sqpp-1-1-1-2 */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(1),
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(3) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(4) {
        width: 40% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) { 
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(1) {
        float: none !important;
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(3) {
        width: 25% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(4) {
        width: 50% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(1) {
        float: none !important;
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(3) {
        width: 50% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell:nth-of-type(4) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 > div[id$="-3"] {
        clear: left !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-1-1-2 div.panel-grid-cell {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-1-1-1-2 */

/**** sqpp-1-2-1-1 */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(1),
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(3),
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(4) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(2) {
        width: 40% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(1) {
        float: none !important;
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(3),
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(4) {
        width: 25% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(2) {
        width: 50% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(1) {
        float: none !important;
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(3),
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(4) {
        width: 50% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell:nth-of-type(2) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 > div[id$="-2"] {
        clear: left !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-2-1-1 div.panel-grid-cell {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-1-2-1-1 */

/**** sqpp-1-2-2 */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-2-2 div.panel-grid-cell:nth-of-type(1) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-2 div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2-2 div.panel-grid-cell:nth-of-type(3) {
        width: 40% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-1-2-2 div.panel-grid-cell:nth-of-type(1) {
        float: none !important;
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-2 div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2-2 div.panel-grid-cell:nth-of-type(3) {
        width: 50% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-2-2 div.panel-grid-cell:nth-of-type(1) {
        float: none !important;
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-2 div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2-2 div.panel-grid-cell:nth-of-type(3) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-2 > div[id$="-2"] {
        clear: left !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-2-2 div.panel-grid-cell {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-1-2-2 */

/**** General sqpp-pb styles */
.page-template-tpl-builder-ads .sqpp-sub-pb div.panel-grid {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-sub-pb div.panel-grid {
        margin-left: -10px !important; /* CHECK */
        margin-right: -10px !important; /* CHECK */
    }
}

/**** /General sqpp-pb styles */

/**** sqpp-1-2pb-2pb */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-2pb > div.panel-grid-cell:nth-of-type(1) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-2pb > div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2pb-2pb > div.panel-grid-cell:nth-of-type(3) {
        width: 40% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-2pb > div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-2pb > div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2pb-2pb > div.panel-grid-cell:nth-of-type(3) {
        width: 50% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-2pb > div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-2pb > div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2pb-2pb > div.panel-grid-cell:nth-of-type(3) {
        width: 100% !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-2pb > div.panel-grid-cell {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-1-2pb-2pb */

/**** sqpp-1-2-2pb */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div.panel-grid-cell:nth-of-type(1) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div.panel-grid-cell:nth-of-type(3) {
        width: 40% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div.panel-grid-cell:nth-of-type(3) {
        width: 50% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div.panel-grid-cell:nth-of-type(3) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div[id$="-2"] {
        clear: left !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-2-2pb > div.panel-grid-cell {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-1-2-2pb */

/**** sqpp-1-1-1-2pb */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb div.panel-grid-cell:nth-of-type(1) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb div.panel-grid-cell:nth-of-type(3) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb > div.panel-grid-cell:nth-of-type(4) {
        width: 40% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb div.panel-grid-cell:nth-of-type(3) {
        width: 25% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb > div.panel-grid-cell:nth-of-type(4) {
        width: 50% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb div.panel-grid-cell:nth-of-type(3) {
        width: 50% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb > div.panel-grid-cell:nth-of-type(4) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb > div[id$="-3"] {
        clear: left !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-1-1-2pb div.panel-grid-cell {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-1-1-1-2pb */

/**** sqpp-1-2pb-1-1 */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 > div.panel-grid-cell:nth-of-type(1) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 div.panel-grid-cell:nth-of-type(3),
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 div.panel-grid-cell:nth-of-type(4) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 > div.panel-grid-cell:nth-of-type(2) {
        width: 40% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 > div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 div.panel-grid-cell:nth-of-type(3),
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 div.panel-grid-cell:nth-of-type(4) {
        width: 25% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 > div.panel-grid-cell:nth-of-type(2) {
        width: 50% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 > div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 div.panel-grid-cell:nth-of-type(3),
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 div.panel-grid-cell:nth-of-type(4) {
        width: 50% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 > div.panel-grid-cell:nth-of-type(2) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 > div[id$="-2"] {
        clear: left !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-1-1 div.panel-grid-cell  {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-1-2pb-1-1 */

/**** sqpp-1-2pb-2 */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-2 > div.panel-grid-cell:nth-of-type(1) {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-2 > div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2pb-2 > div.panel-grid-cell:nth-of-type(3) {
        width: 40% !important;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-2 > div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-2 > div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2pb-2 > div.panel-grid-cell:nth-of-type(3) {
        width: 50% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-2 > div.panel-grid-cell:nth-of-type(2),
    .page-template-tpl-builder-ads .sqpp-1-2pb-2 > div.panel-grid-cell:nth-of-type(3) {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads .sqpp-1-2pb-2 > div[id$="-2"] {
        clear: left !important;
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-1-2pb-2 > div.panel-grid-cell  {
        float: none !important;
        width: 100% !important;
    }
}

/**** /sqpp-1-2-2pb */

/**** sqpp non SO Page Builder columns */
.page-template-tpl-builder-ads .sqpp-box-cols-wrap {
    margin-right: -10px !important;
    margin-left: -10px !important;
}

/**** sqpp pb box sqpp-5 */

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .sqpp-box-cols-wrap .sqpp-cols.sqpp-5 {
        width: 100% !important;
        margin-left: -10px !important; /* CHECK */
        margin-right: -10px !important; /* CHECK */
    }
}   

@media screen and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-box-cols-wrap .sqpp-cols.sqpp-5 {
        width: 100% !important;
        margin-left: -10px !important; /* CHECK */
        margin-right: -10px !important; /* CHECK */
    }
}

@media screen and (max-width: 800px) {
    .page-template-tpl-builder-ads .sqpp-box-cols-wrap .sqpp-cols.sqpp-5 {
        width: 100% !important;
        margin-left: -10px !important; /* CHECK */
        margin-right: -10px !important; /* CHECK */
    }
}

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .page-template-tpl-builder-ads .sqpp-cols.sqpp-5 div.panel-grid-cell:nth-of-type(1) {
        width: 100% !important;
    }
}

/**** /sqpp-5 */

/** sqpp new grid styles */

@media screen and (min-width: 801px) {
    .page-template-tpl-builder-ads #page.site #page-wrap .grid-wrap-1-4 .grid-wrap-item:first-of-type {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads #page.site #page-wrap .grid-wrap-1-4 .grid-wrap-item:last-of-type {
        width: 100% !important;
    }
}

@media screen and (min-width: 1201px) {
    .page-template-tpl-builder-ads .grid-wrap.grid-wrap-1-4 {
        flex-wrap: wrap !important;
    }
    .page-template-tpl-builder-ads #page.site #page-wrap .grid-wrap-1-4 .grid-wrap-item:first-of-type {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads #page.site #page-wrap .grid-wrap-1-4 .grid-wrap-item:last-of-type {
        width: 100% !important;
    }
}

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .grid-wrap.grid-wrap-1-4 {
        flex-wrap: nowrap;
    }
    .page-template-tpl-builder-ads #page.site #page-wrap .grid-wrap-1-4 .grid-wrap-item:first-of-type {
        width: 20% !important;
    }
    .page-template-tpl-builder-ads #page.site #page-wrap .grid-wrap-1-4 .grid-wrap-item:last-of-type {
        width: 80% !important;
    }
}

/* *** */

/*** sqpp special grid style for row if it has a wideboard ad */
@media screen and (min-width: 1401px) and (max-width: 1835px) { 
    .page-template-tpl-builder-ads #page.site #page-wrap .grid-wrap.sqpp-1-4.grid-wrap-1-4-wideboard {
        flex-wrap: wrap !important;
    }
    .page-template-tpl-builder-ads #page.site #page-wrap .grid-wrap-1-4.grid-wrap-1-4-wideboard .grid-wrap-item:first-of-type {
        width: 100% !important;
    }
    .page-template-tpl-builder-ads #page.site #page-wrap .grid-wrap-1-4.grid-wrap-1-4-wideboard .grid-wrap-item:last-of-type {
        width: 100% !important;
    }
}

/* *** */


@media screen and (min-width: 801px) {
    .page-template-tpl-builder-ads .ggrid.grid-11>div .grid-item,
    .page-template-tpl-builder-ads .epgrid-11>div[id^="CEP"]>div .grid-item,
    .page-template-tpl-builder-ads .grid-11>.grid-item {
        width: 100%;
    }
    .page-template-tpl-builder-ads .grid-211>.grid-item:nth-of-type(3n+1) {
        width: 100%;
    }
    .page-template-tpl-builder-ads .grid-211>.grid-item:nth-of-type(3n+2) {
        width: 50%;
    }
    .page-template-tpl-builder-ads .grid-211>.grid-item:nth-of-type(3n+3) {
        width: 50%;
    }
    .page-template-tpl-builder-ads .grid-112>.grid-item:nth-of-type(3n+1) {
        width: 50%;
    }
    .page-template-tpl-builder-ads .grid-112>.grid-item:nth-of-type(3n+2) {
        width: 50%;
    }
    .page-template-tpl-builder-ads .grid-112>.grid-item:nth-of-type(3n+3) {
        width: 100%;
    }
    .page-template-tpl-builder-ads .ggrid.grid-1111>div .grid-item,
    .page-template-tpl-builder-ads .epgrid-1111>div[id^="CEP"]>div .grid-item,
    .page-template-tpl-builder-ads .grid-1111>.grid-item {
        width: 50%;
    }
}

@media screen and (min-width: 1201px) {
    .page-template-tpl-builder-ads .ggrid.grid-11>div .grid-item,
    .page-template-tpl-builder-ads .epgrid-11>div[id^="CEP"]>div .grid-item,
    .page-template-tpl-builder-ads .grid-11>.grid-item {
        width: 50%;
    }
    .page-template-tpl-builder-ads .grid-211>.grid-item:nth-of-type(3n+1) {
        width: 50%;
    }
    .page-template-tpl-builder-ads .grid-211>.grid-item:nth-of-type(3n+2) {
        width: 25%;
    }
    .page-template-tpl-builder-ads .grid-211>.grid-item:nth-of-type(3n+3) {
        width: 25%;
    }
    .page-template-tpl-builder-ads .grid-112>.grid-item:nth-of-type(3n+1) {
        width: 25%;
    }
    .page-template-tpl-builder-ads .grid-112>.grid-item:nth-of-type(3n+2) {
        width: 25%;
    }
    .page-template-tpl-builder-ads .grid-112>.grid-item:nth-of-type(3n+3) {
        width: 50%;
    }
    .page-template-tpl-builder-ads .ggrid.grid-1111>div .grid-item,
    .page-template-tpl-builder-ads .epgrid-1111>div[id^="CEP"]>div .grid-item,
    .page-template-tpl-builder-ads .grid-1111>.grid-item {
        width: 25%;
    }
    .page-template-tpl-builder-ads .video-single-featured-newest.video-single-featured-newest-1,
    .page-template-tpl-builder-ads .video-single-featured-newest.video-single-featured-newest-2 {
        padding-bottom: 0px;
    }
}

@media screen and (min-width: 1501px) {
    .page-template-tpl-builder-ads .ggrid.grid-11>div .grid-item,
    .page-template-tpl-builder-ads .epgrid-11>div[class^="CEP"]>div .grid-item,
    .page-template-tpl-builder-ads .grid-11>.grid-item {
        width: 50%;
    }
    .page-template-tpl-builder-ads .grid-211>.grid-item:nth-of-type(3n+1) {
        width: 50%;
    }
    .page-template-tpl-builder-ads .grid-211>.grid-item:nth-of-type(3n+2) {
        width: 25%;
    }
    .page-template-tpl-builder-ads .grid-211>.grid-item:nth-of-type(3n+3) {
        width: 25%;
    }
    .page-template-tpl-builder-ads .grid-112>.grid-item:nth-of-type(3n+1) {
        width: 25%;
    }
    .page-template-tpl-builder-ads .grid-112>.grid-item:nth-of-type(3n+2) {
        width: 25%;
    }
    .page-template-tpl-builder-ads .grid-112>.grid-item:nth-of-type(3n+3) {
        width: 50%;
    }
    .page-template-tpl-builder-ads .ggrid.grid-1111>div .grid-item,
    .page-template-tpl-builder-ads .epgrid-1111>div[class^="CEP"]>div .grid-item,
    .page-template-tpl-builder-ads .grid-1111>.grid-item {
        width: 25%;
    }
}

/*** Laptop and desktop Beyond grid style */

@media screen and (min-width: 1201px) {

    .page-template-tpl-builder-ads div.spez-grid.beyond-grid > div {
        display: flex;
    }

    .page-template-tpl-builder-ads div.beyond-grid-imgs {
        /*float: left;*/
        width: 75%;
        margin-bottom: 0px;
    }
    .page-template-tpl-builder-ads div.beyond-grid-imgs div.beyond-grid-img-wrap:nth-of-type(1) {
        float: left;
        width: 67%;
        padding-right: 5px;
        padding-bottom: 0px;
    }
    .page-template-tpl-builder-ads div.beyond-grid-imgs div.beyond-grid-img-wrap:nth-of-type(1) .beyond-ratio {
        padding-bottom: 56.65%;
    }

    .page-template-tpl-builder-ads div.beyond-grid-imgs div.beyond-grid-img-wrap:nth-of-type(2),
    .page-template-tpl-builder-ads div.beyond-grid-imgs div.beyond-grid-img-wrap:nth-of-type(3) {
        width: 33%;
    }
    .page-template-tpl-builder-ads div.beyond-grid-imgs div.beyond-grid-img-wrap:nth-of-type(2) {
        float: right;
        padding-right: 0px;
        padding-left: 5px;
        padding-bottom: 5px;
    }
    .page-template-tpl-builder-ads div.beyond-grid-imgs div.beyond-grid-img-wrap:nth-of-type(3) {
        float: right;
        padding-top: 5px;
        padding-right: 0px;
        padding-left: 5px;
    }

    .page-template-tpl-builder-ads div.beyond-grid-infos {
        /*float: right;*/
        width: 25%;
    }
    .page-template-tpl-builder-ads div.beyond-grid-info {
        max-width: 100%;
    }
    .page-template-tpl-builder-ads div.beyond-grid-infos div.beyond-grid-info:nth-of-type(1) {
        border-top: 1px solid;
        padding-top: 3px;
    }
}

/** /Beyond grid styles - temp sqpp */


/** /sqpp new grid styles */

/* /sqpp builder grid styles for ads page template */

/* /Ad dev styles */
