.otr-brand-search {
    /* background: green; */
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
.serp_filters {
    display: inline-block;
    width: calc(100% - 30px);
    background: #00a0dd;
    color: #fff;
    padding: 20px;
}
.serp_filters > label {
    display: inline-block;
    width: 100%;
    position: relative;
    padding-bottom: 6px;
}
.serp_filters > label[for="serp_text"] > span {
    display: none;
}
.serp_filters > label > span {
    display: inline-block;
    text-transform: uppercase;
    width: 100%;
    padding-top: 10px;
    /* color: #3b6696; */
    color: black;
}
.serp_filters > label.disabled {
    width: 0;
    height: 0;
    position: absolute;
    overflow:hidden;
    visibility: hidden;
    opacity: 0;
}
.serp_filters h1 {
    display: inline-block;
    color: #fff;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-weight: bold;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 4px;
    font-size: 2vw;
}
@media screen and (max-width: 1192px) {
    .serp_filters h1 {
        font-size: 36px;
    }
}
@media screen and (min-width:1920px) {
    .serp_filters h1 {  
        font-size: 36px;
        line-height: 40px;
    }
}
.serp_filters h3 {
    display: inline-block;
    color: #000;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-size: 1.4vw;
    font-weight: bold;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 4px;
}
@media screen and (max-width: 1192px) {
    .serp_filters h3 {
        font-size: 16px;
    }
}
@media screen and (min-width:1920px) {
    .serp_filters h3 {  
        font-size: 27px;
        line-height: 31px;
    }
}
.serp_filters > p {
    display: inline-block;
    width: 100%;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    line-height: 1.3;
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    width: calc(100% - 40px);
    font-size: 1vw;
}
@media screen and (max-width: 782px) {
    .serp_filters > p {
        font-size: 14px;
    }
}
@media screen and (min-width:1920px) {
    .serp_filters > p {
        font-size: 19px;
    }
}
.filterstop .serp_filters > p {
    width: auto !important;
    display: inline-block;
    text-align: left;
}

.serp_filters input,
.serp_filters select {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 6px 24px 6px 8px;
    box-sizing: border-box;
    border: 1px solid #999;
}
.serp_filters input {
    /* background: #3b6696;
    border: 1px solid #3b6696;
    color: #fff; */
    background: #fff;
    border: 1px solid #fff;
    color: #444;
    padding: 10px 12px;
    border-radius: 2px;
    font-size: 16px;
}
.serp_filters input:focus {
    /* background: white;
    color: black;
    border: 1px solid #3b6696; */
    background: black;
    border: 1px solid black;
    color: white;
    outline: none;
}
.serp_filters input:not(:placeholder-shown) {
    background: black;
    border: 1px solid black;
    color: white;
}
.serp_filters input::placeholder {
    color: #666;
    opacity: 1;
}
.serp_filters input:focus::placeholder {
    color: #ccc;
    opacity: 1;
}
.serp_filters input::-ms-input-placeholder { /* Edge 12 -18 */
    color: #00a0dd;
}
.serp_filters input:focus::-ms-input-placeholder { /* Edge 12 -18 */
    color: black;
}

.serp_filters select {
    background-color: #999;
    color: #fff;
    font-weight: bold;
    border-color: #999;

    /* background-color: #00a0dd;
    border-color:  #00a0dd; */
}
.serp_filters select.off {
    /* background-color: #00a0dd;
    border-color:  #00a0dd; */

    background-color: #999;
    border-color: #999;
    color: #fff;
}
.serp_filters select.on {
    background-color: #00a0dd;
    border-color:  #00a0dd;
}
/* .serp_filters select:focus {
    background: #02A0DD;
} */
.serp_filters > .serp_filter_buttons {
    padding-top: 10px;
    display: flex;
    justify-items: center;
    justify-content: center;
    padding-top: 20px;
}
.serp_filters button {
    background: #02A0DD;
    min-width: 120px;
    text-align: center;
    padding: 8px 24px;
    /* text-transform: uppercase; */
    border: 1px solid #02A0DD;
    border-radius: 4px;
    color: #fff;
    height: auto;
    cursor: pointer;
    font-size: 18px;
    text-decoration: underline;
}
.serp_filters button:hover {
    border: 1px solid #fff;
}
.serp_filters button:first-child {
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    position: absolute;
}

/* Serps */
/* Raw HTML Tiles */
#otr_serps {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    column-gap: 30px;
    row-gap: 30px;
    max-width: 100%;
    overflow: hidden;
}
#otr_serps .otr_tile {
    display: inline-block;
    width: 100%;
    height: 100%;
    position: relative;
}
#otr_serps .otr_tile a.otr_tile_link {
    position: relative;
    display: grid;
    grid-template-columns: 1;
    text-decoration: none;
}
#otr_serps .otr_tile a.otr_tile_link .otr_tile_img_wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;

}
#otr_serps .otr_tile a.otr_tile_link .otr_tile_img_wrapper > img.otr_tile_img {
    display: block;
    width: 100%;
    height: auto;
}
#otr_serps .otr_tile a.otr_tile_link span.otr_tile_title {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 8px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #444;
    line-height: 18px;
}

/* Convert a DataTable to Tiles to make Pagination and Order Easy */
#brands_table_wrapper {
    display: block;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
#brands_table_wrapper .info,
#brands_table_wrapper .info .dataTables_info {
    display: block;
    width: 100%;
    text-align: right;
    padding-top: 0;
    overflow: hidden;
    /* background-color: #9f9f9f; */
}
#brands_table_wrapper > .maintable {

}
#brands_table_wrapper > .maintable > .dataTables_scroll {

}
#brands_table_wrapper > .maintable > .dataTables_scroll .dataTables_scrollHead {
    height: 0;
    visibility: hidden;
}
#brands_table_wrapper > .maintable > .dataTables_scroll .dataTables_scrollBody {

}

#brands_table {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
#brands_table thead {
    display: none;
}
#brands_table tbody {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
@media screen and (max-width:1280px) {
    #brands_table tbody {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width:782px) {
    #brands_table tbody {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
#brands_table tbody tr {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}
#brands_table tbody tr td {
    display: block;
    width: 100%;
    overflow: hidden;
    height: 100%;
    background: none;
    border: none;
    box-shadow: none;
}

#brands_table tbody tr td .otr_tile a.otr_tile_link {
    position: relative;
    display: grid;
    grid-template-columns: 1;
    text-decoration: none;
}
#brands_table tbody tr td .otr_tile a.otr_tile_link .otr_tile_img_wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;

}
#brands_table tbody tr td .otr_tile a.otr_tile_link .otr_tile_img_wrapper > img.otr_tile_img {
    display: block;
    max-width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: auto;
}
#brands_table tbody tr td .otr_tile a.otr_tile_link span.otr_tile_title {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 8px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #444;
    line-height: 18px;
    box-sizing: border-box;
}

/* Debug */
#serp_table_wrapper .dataTable thead>tr>th::before,
#serp_table_wrapper .dataTable thead>tr>th::after {
    display: none;
}
.serps_hider {
    width: 0px;
    height: 0px;
    position: fixed;
    z-index: -1;
    overflow: hidden;
    visibility: hidden;
}
/* #serp_table_wrapper .dataTable thead>tr>th {
    writing-mode: vertical-rl;
    max-width: 80px;
} */
/* .debug {
    height: 0;
    max-height: 1px;
    visibility: hidden;
    overflow:hidden;
} */

/* Products Table */
#products_table_wrapper {

}
#products_table_wrapper .dataTables_scrollHeadInner {
    min-width: 100% !important;
}
#products_table_wrapper > .buttons {
    width: 100%;
    padding-bottom: 4px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: flex-end;
    /* background-color: #9f9f9f; */
}
#products_table_wrapper > .buttons .dataTables_info {
    padding-right: 20px;
    padding-bottom: 4px;
    margin-top: 0;
    padding-top: 0 !important;
}

.filterstop {
    display: grid !important;
    grid-template-columns: 1fr !important;
}
.filterstop .serp_filters {
    background: #00a0dd;
}
.filterstop .serp_filters > p {
    display: none;
}
.filterstop .serp_filters > p:empty {
    display: none;

}
.wp-block-columns.filterstop {
    margin-block-start: 0;
    margin-block-end: 0;
    row-gap: 0;
}
.wp-block-columns.filterstop > .wp-block-column:first-child {
    background: #00a0dd !important;
    padding-bottom: 10px;
    padding-top: 10px;
}

.wp-block-columns.filterstop #products_table_wrapper .maintable {
    margin-top: 0;
    padding-top: 0;
    background: #fff;
}
.serp_filter_header {
    display: inline-block;
    width: 100%;
    overflow: hidden;
}
.filterstop .serp_filter_header {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    width: calc(100% + 20px);
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -30px;
}
.filterstop .serp_filter_header > h1.serp_title {
    font-size: 24px;
    justify-self: flex-end;
    text-align: right;
    padding-top: 4px;
    padding-bottom: 4px;
}
.filterstop .serp_filter_header > h3.serp_subtitle {
    font-size: 24px;
    justify-self: flex-start;
    text-align: left;
    color: #fff;
    font-weight: normal;
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Filters on Top??? */

.wp-block-columns.filterstop > div {
    flex-basis: 100% !important;
}
.wp-block-columns.filterstop .serp_filters {
    display: block;
    width: auto;
    /*justify-self: flex-start;*/
    padding: 20px 20px 20px 20px;
    /* background-color: #9f9f9f;
    background-color: rgba(0,0,0,0.05); */
}

.wp-block-columns.filterstop .serp_filters > label[for="serp_text"] > span {
    display: inline-block;
}

.wp-block-columns.filterstop .serp_filters > label {
    width: auto;
    float: left;
    max-width: 200px;
    margin-right: 20px;
}
.wp-block-columns.filterstop .serp_filters > select {
    float: left;
    width: auto;
    max-width: 200px;
}
.wp-block-columns.filterstop .serp_filters .serp_filter_buttons {
    float: right;
}
.wp-block-columns.filterstop .serp_filters .serp_filter_buttons button {
    border: 1px solid rgba(255,255,255,0.3);
    margin-left: 6px;
}
.wp-block-columns.filterstop .serp_filters .serp_filter_buttons button:hover {
    border: 1px solid rgba(255,255,255,1);
}
.wp-block-columns.filterstop > .wp-block-column:first-child {
    background-color: #9f9f9f;
    background-color: rgba(0,0,0,0.05);
}
.wp-block-columns.filterstop #products_hider {
    margin-block-start: 0 !important;
}

.wp-block-columns.filterstop #products_table_wrapper > .buttons {
    /* background-color: #9f9f9f;
    background-color: rgba(0,0,0,0.05); */
    background-color: #00a0dd !important;
}
.wp-block-columns th.ui-state-default {
    background: black;
    color: #fff;
}

/* Filters Hidden */
.wp-block-columns.nofilter {
    display: grid;
    grid-template-columns: 1fr;
}
.wp-block-columns.nofilter > .wp-block-column:first-child {
    flex-basis: 0%;
    width: 0px;
    overflow: hidden;
    height: 0px;
    opacity: 0;
    visibility: hidden;

}
.wp-block-columns.nofilter > .wp-block-column:last-child {
    flex-basis: 100%;
}

/* WP Overrides */
.attachment-post-thumbnail {
    max-height: 300px !important;
}
.otr-brand-search .wp-block-columns:not(.filterstop) {
    display: grid;
    grid-template-columns: minmax(300px,1fr) 3fr;
    column-gap: 40px;
}
@media screen and (max-width:782px) {
    .otr-brand-search .wp-block-columns:not(.filterstop) {
        display: grid;
        grid-template-columns: 1fr !important;
    }
}


/* Chosen overrides */
.chosen-search-input {
    color: #444 !important;
}
.chosen-container-single .chosen-single {
    /* background: #F6F6F6 !important; */
    background: #3b6696 !important;
    /* border: 1px solid #3b6696 !important; */
    color: #00a0dd !important;
    border-radius: 4px;
    height: 40px;
    min-height: 40px;
    line-height: 40px;
    vertical-align: middle;
    box-shadow: none !important;
    border-radius: 2px;
}
/* .chosen-container-single {
    border: 1px solid #3b6696 !important;
    background: #3b6696 !important;
    color: #00a0dd !important;
} */
.chosen-container-single .chosen-single.chosen-default,
.chosen-container-single .chosen-single.chosen-default.chosen-single-with-deselect {
    /* border: 1px solid #3b6696 !important;
    background: #3b6696 !important;
    color: #00a0dd !important; */
    border: 1px solid #fff !important;
    background: #fff !important;
    color: #444 !important;
    border-radius: 2px !important;
}
.chosen-container-single .chosen-single.chosen-single-with-deselect {
    /* border: 1px solid #FFF !important;
    background: #fff !important;
    color: #000 !important; */
    border: 1px solid #000 !important;
    background: #000 !important;
    color: #fff !important;
    border-radius: 2px;
}
.chosen-container-single .chosen-single > span {
    /* padding-top: 8px;
    padding-bottom: 8px; */
    font-size: 16px;
    /* padding-top: 8px; */
}
.chosen-container-active.chosen-with-drop .chosen-single {
    /* padding-top: 10px;
    padding-bottom: 10px; */
    min-height: 40px;
    background: #F6F6F6 !important;
    color: #444;
    line-height: 40px;
    vertical-align: middle;
}


.chosen-container-active.chosen-with-drop .chosen-single > span {
    padding-top: 0px;
    padding-bottom: 8px;
}
/* .chosen-single > span::after {
    content: " ...";
    display: inline;
}
.chosen-single.chosen-single-with-deselect > span::after {
    content: "";
} */
body .chosen-container-single .chosen-single div b {
    background-position: -18px 10px !important;
    opacity: 0;
}
/* body .chosen-container-active.chosen-with-drop .chosen-single div b {
    background-position: -18px 10px !important;
} */
body .chosen-container .chosen-drop {
    border: 1px solid #fff;
}
.chosen-container-single .chosen-single abbr {
    position: absolute;
    top: 6px !important;
    right: 30px !important;
    display: block;
    width: 12px;
    height: 12px;
    /* background: url(chosen-sprite.png) -42px 1px no-repeat; */
    background: none !important;
    font-size: 1px;
    transform: scale(1.2);
    z-index: 3;
}
.chosen-container-single .chosen-single abbr::after {
    content: "✕";
    /* color: rgba(255,255,255,0.7);
    color: #00a0dd; */
    /* color: rgba(2,160,221,0.7); */
    color: #fff;
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 16px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    opacity: 1;
    z-index: 99;
}
.chosen-container-single .chosen-single abbr:hover::after {
    color: rgba(2,160,221,1);
}

.chosen-container-single .chosen-single div::after {
    /* content: "⌄"; */
    font-family: "dashicons";

    content: "\f347";
    /* color: white;
    color: #00a0dd; */
    color: black;
    position: absolute;
    top: 0px;
    left: -8px;
    font-size: 20px;
    width: 20px;
    height: 20px;
    z-index: 2;
    transition: all .1s ease;
    transform-origin: 50% 50%;
}
.chosen-container-single .chosen-single div {
    display: inline-block;
    z-index: 2;
}
.chosen-container-single.chosen-with-drop .chosen-single div::after {
    top: 16px;
    transform-origin: 50% 50%;
    transform: rotate(180deg);
}
/* .chosen-container-single .chosen-single.chosen-single-with-deselect div {
    display: none;
} */

.blue_btn {
    display: inline-block;
    text-decoration: none;
    color: #fff !important;
    background: #00a0dd;
    padding: 8px 24px;
    border: 1px solid #00a0dd;
    border-radius: 4px;
}

.product-table-section table.dataTable tr:nth-child(1) {
    
    background-color: inherit !important;
    color: inherit !important;
    font-weight: normal;
 }

 body > main {
    overflow: visible !important;
 }

 /* Roller Guide Type */
a.rgt_link {
    color: black;
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    align-content: center;
    text-decoration: none;
    cursor: pointer;
    padding-right: 1px;
    grid-column-gap: 1px;
    opacity: 0.6;
    transition: all .25s ease;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
}
a.rgt_link span {
    display: inline-grid;
    font-family: monospace;
    /* color: white;
    background: black; */
    width: 36px;
    height: auto;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    align-content: center;
    justify-content: center;

}
a.rgt_link span svg {
    width: 30px;
    height: auto;
    display: inline-block;
}
a.rgt_link:hover {
    opacity: 1;
}