/* Media Query for Mobile Devices */

@media (max-width: 480px) {
    .mb_fullwidth {
        width: 100%;
    }
    .mb_padding_al {
        padding: 10px;
    }
    .mb_padding_tb {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .mb_indent {
        padding-left: 40px !important;
    }
    .onlymob {}
    .onlydesk {
        display: none !important;
    }
}


/* Media Query for low resolution  Tablets, Ipads */

@media (min-width: 481px) and (max-width: 767px) {
    /*remove on production
   body {
       background-color: yellow;
   }
   top color only for development perpos only*/
    .mb_fullwidth {
        width: 100%;
    }
    .mb_padding_al {
        padding: 10px;
    }
    .mb_padding_tb {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .mb_indent {
        padding-left: 40px !important;
    }
    .onlymob {}
    .onlydesk {
        display: none !important;
    }
}


/* Media Query for Tablets Ipads portrait mode */

@media (min-width: 768px) and (max-width: 1023px) {
    .mb_fullwidth {
        width: 100%;
    }
    .mb_padding_al {
        padding: 10px;
    }
    .mb_padding_tb {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .mb_indent {
        padding-left: 40px !important;
    }
    .onlymob {}
    .onlydesk {
        display: none !important;
    }
}


/* Media Query for Laptops and Desktops */

@media (min-width: 1024px) and (max-width: 1280px) {
    .onlymob {
        display: none;
    }
}


/* Media Query for Large screens */

@media (min-width: 1281px) {
    #top_banner {
        width: 100%;
        background: #ff0000;
        visibility: hidden;
        text-align: center;
    }
    .onlymob {
        display: none;
    }
    .onlydesk {}
}

.inliner {
    display: inline-block;
    padding: 5px;
}


/*top banner*/

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

#top_banner {
    width: 100%;
    background: #ff0000;
    visibility: hidden;
    text-align: center;
}

#top_banner ul#fade {
    margin: 0;
    padding: 0;
}

#top_banner ul#fade .banner_item {
    overflow: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

#top_banner .banner_item a {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 0 15px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

#top_banner .banner_item a:hover {
    font-size: 16px;
    text-decoration: underline;
}

#top_banner ul li {
    list-style: none;
    padding: 10px 0;
}


/*top banner*/

.mb_radio-holder {
    display: inline-block;
    padding-top: 10px;
}

.mb_radio-holder~.mb_radio-holder {
    padding-left: 20px;
}

.mb_radio-holder~label,
.mb_radio-holder label {
    margin-left: 5px;
}

.mb_radio-holder input[type='radio'],
.mb_radio-holder input[type='checkbox'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-color: #FFFFFF;
    border: 1px solid #d4d4d4;
    border-radius: 50%;
    height: 30px;
    outline: none;
    vertical-align: middle;
    width: 30px;
}

.mb_radio-holder input[type='radio']:checked,
.mb_radio-holder input[type='checkbox']:checked {
    position: relative;
}

.mb_radio-holder input[type='radio']:checked:before,
.mb_radio-holder input[type='checkbox']:checked:before {
    background-color: #0066cc;
    border-radius: 50%;
    content: "";
    height: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    width: 20px;
}

.mb_radio-holder.mb_flex-box {
    display: -webkit-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    padding: 0;
}

/* Media Query for Mobile Devices - Overview tab issue - 23110 */

@media only screen and (max-width: 1024px) {
    .overview-content.product_content_bottom_details_mobile table tr {
        display: table !important;
        margin-bottom: 0 !important;
    }

    .overview-content.product_content_bottom_details_mobile table tr td {
        width: 7% !important;
        padding: 5px 0 5px 5px;
    }

    .overview-content.product_content_bottom_details_mobile table tr:nth-of-type(2) td {
        width: 21% !important;
        text-align: center;
    }

    .overview-content.product_content_bottom_details_mobile table tr:nth-of-type(2) td:first-of-type {
        text-align: left;
    }

    .overview-content.product_content_bottom_details_mobile table tr td:first-of-type {
        width: 36% !important;
        float: none !important;
        display: table-cell !important;
    }

    .overview-content.product_content_bottom_details_mobile table tr td:last-of-type {
        width: auto !important;
        float: none !important;
        display: table-cell !important;
    }

    

    .overview-content.product_content_bottom_details_mobile table tr:nth-of-type(3) td {
        width: 11% !important;
        float: left !important;
        display: table-cell !important;
        text-align: center;
        vertical-align: middle;
    }
    
    .overview-content.product_content_bottom_details_mobile table tr:nth-of-type(3) td:first-of-type {
        width: 36% !important;
        float: none !important;
        display: table-cell !important;
    }

    /* the-biggie-pack */

    .overview-content.product_content_bottom_details_mobile table.the-biggie-pack tr:first-of-type td:first-of-type,
    .overview-content.product_content_bottom_details_mobile table.the-biggie-pack tr:first-of-type td:last-of-type {
        width: 50% !important;
        text-align: center !important;
    }

    .overview-content.product_content_bottom_details_mobile table.the-biggie-pack tr td:first-of-type {
        width: 50% !important;
        text-align: left !important;
    }

    .overview-content.product_content_bottom_details_mobile table.the-biggie-pack tr td:nth-of-type(2),
    .overview-content.product_content_bottom_details_mobile table.the-biggie-pack tr td:nth-of-type(3) {
        width: 25% !important;
        float: none !important;
    }

    /* Fish-packs */

    .overview-content.product_content_bottom_details_mobile table.fish-packs tr:first-of-type td:first-of-type {
        width: 40% !important;
        text-align: center !important;
    }

    .overview-content.product_content_bottom_details_mobile table.fish-packs tr:first-of-type td:last-of-type {
        width: 60% !important;
        text-align: center !important;
    }

    .overview-content.product_content_bottom_details_mobile table.fish-packs tr td:first-of-type {
        width: 40% !important;
        text-align: left !important;
    }

    .overview-content.product_content_bottom_details_mobile table.fish-packs tr td:nth-of-type(2),
    .overview-content.product_content_bottom_details_mobile table.fish-packs tr td:nth-of-type(3),
    .overview-content.product_content_bottom_details_mobile table.fish-packs tr td:nth-of-type(4) {
        width: 20% !important;
        float: none !important;
    }

    /* Aquatic Life Pack */

    .overview-content.product_content_bottom_details_mobile table.aquatic-life-pack tr td:first-of-type {
        width: 75% !important;
        text-align: left !important;
        padding-left: 5px !important;
    }

    .overview-content.product_content_bottom_details_mobile table.aquatic-life-pack tr td:last-of-type {
        width: 25% !important;
        float: none !important;
    }

    /* Aquarium Plant Pack */
    
    .overview-content.product_content_bottom_details_mobile table.aquarium-plant-pack tr td:first-of-type {
        width: 60% !important;
        text-align: left !important;
        padding-left: 5px !important;
    }

    .overview-content.product_content_bottom_details_mobile table.aquarium-plant-pack tr:first-of-type td:last-of-type {
        width: 40% !important;
    }

    .overview-content.product_content_bottom_details_mobile table.aquarium-plant-pack tr td {
        width: 10% !important;
        float: none !important;
        text-align: center !important;
    }

}


@media (max-width: 440px) {
    .overview-content.product_content_bottom_details_mobile table tr {
        font-size: 12px !important;
    } 
    
    .overview-content.product_content_bottom_details_mobile table tr td {
        padding: 5px 0;
    }
}

@media (max-width: 340px) {
    .overview-content.product_content_bottom_details_mobile table tr {
        font-size: 11px !important;
    } 
}


/* video-content page */

.video-title {
    text-align: center;
    color: #194F90;
    font-size: 40px;
    margin: 20px 0;
}

.video-searchbox {
    position: absolute;
    margin: 0 auto;
    display: block;
    width: 290px;
    right: 0;
    left: 0;
}

.video-searchbox #search-criteria {
    border: solid 1px #aaa;  
    padding: 0 40px 0 17px;     
    border-radius: 20px;    
    background: #fff;      
    height: 40px;
    width: 100%;
}

.video-searchbox #search-criteria:focus-visible {
    outline: none !important;
}

.video-searchbox .fa-close,
.video-searchbox .fa-search { 
    display: inline-block;
    vertical-align: top;
    position: absolute;
    font-size: 18px;    
    cursor: pointer;
    color: #bbb;    
 
 
    right: 15px;
    padding: 0;
    border: 0;
    margin: 0; 
    top: 10px;
}

.video-searchbox #search { 
    position: absolute;
    cursor: pointer;
    right: 10px;    
    width: 30px;
    opacity: 0;
    top: 10px;
}

.video-searchbox.is-hidden + ul.video-filters {
    margin: 0 60px 10px 60px;
}

ul.video-filters {    
    text-align: center;
    margin: 100px 60px 10px 60px;
    display: table;
    padding: 0;
}

ul.video-filters li { 
    border-radius: 5px;
    margin-bottom: 20px;
    background: none;
    list-style: none;
    cursor: pointer;    
    float: left; 
}

ul.video-filters li:last-of-type {
    margin-right: 0;
}

ul.video-filters li span {    
    padding: 5px 10px;
    font-weight: bold;
    color: #222222; 
    font-size: 16px;   
    display: block;
}

ul.video-filters li:hover {   
    -webkit-box-shadow: 0px 0px 5px 0px #777;
    -moz-box-shadow: 0px 0px 5px 0px #777;
    box-shadow: 0px 0px 5px 0px #777;
    background: #fff;
}

ul.video-filters li .is-select { 
    background: #D4E5FA;
    border-radius: 5px;
    color: #194F90;
}

ul.video-gallery {    
    overflow: hidden;
    padding: 0;
}

ul.video-gallery li { 
    min-height: 210px;
    margin: 0 2% 30px 2%;
    background: none;
    list-style: none;
    cursor: pointer;    
    float: left;    
    width: 21%;
}

ul.video-gallery li a .video-title {
    text-overflow: ellipsis;    
    white-space: nowrap; 
    line-height: 24px;
    font-weight: bold;
    text-align: left;
    overflow: hidden; 
    color: #2e2e2e;
    font-size: 16px;
    display: block;
    width: 100%;
    margin: 0;
}

ul.video-gallery li a .video-subtitle {
    text-overflow: ellipsis;
    white-space: nowrap; 
    line-height: 18px;
    font-weight: bold;
    overflow: hidden; 
    font-size: 14px;
    display: block;
    color: #999;
    width: 100%;
}

ul.video-gallery li a::first-line {
    border-bottom:1px dashed black;
    display:block;
}

ul.video-gallery li a:hover {    
    text-decoration: none;
    cursor: pointer;
}

ul.video-gallery li a img {
    border-radius: 10px;
    margin-bottom: 15px;
    max-height: 150px;
    width: 100%;
}

ul.video-gallery + #more {
    background-color: #00315c;
    border: 1px solid #00315c;
    border-radius: 4px;   
    margin: 20px auto;
    font-size: 16px;  
    display: block;
    padding: 10px;
    color: #fff;
    width: 150px;
}

ul.video-gallery #e_message {
    text-align: center;
    font-weight: 400;
    font-size: x-large;
    color: darkgray;
}

.is-hidden {
    display: none !important;
}

#lbOuterContainer,
#lbIframeContainer,
#lbIframe {
    border: none !important;
    padding: 0;
}

#lbMain {
    width: 90% !important;
    left: 5%;
}

#lbIframe {
    width: 640px !important;
    height: 365px !important;
}

#lbOuterContainer {
    height: 365px !important;
    width: 640px !important;
    border-radius: 10px;
    position: relative;    
    background: none;
}

#lbIframeContainer {
    position: absolute;    
    left: 0;
    top: 0;
}

#lbDetailsContainer {    
    border: none !important;
    width: 20px !important;
    background: #fff;
    border-radius: 50%;
    position: absolute; 
    right: -630px;    
    top: 0;
    left: 0;
}

#lbDetailsContainer #lbDetails,
#lbDetailsContainer #lbPause,
#lbDetailsContainer #lbPlay {
    display: none;
}

#lbClose {
    width: 20px;
    height: 20px;
}

#lbClose:active {
    color: #666;
}

#lbClose.grey {
    background: none !important;
}

#lbClose:before {   
    font-weight: bold;
    position: absolute;
    font-size: 14px;
    color: #666;
    content: "X";    
    top: 3px;
    right: 0;
    left: 0;
}



@media (max-width: 1024px) {  
    #container.wd1024 #my-page #main-section #content-block .inner-content {
        margin: 0 auto;
        width: 90% !important;
    }
    
    #lbOuterContainer {
        width: auto !important;
    }

    #lbMain #lbOuterContainer #lbIframe #ytplayer,
    #lbMain #lbOuterContainer #lbIframe,
    #lbMain #lbOuterContainer iframe {
        width: 100% !important;
    } 

    .video-searchbox #search-criteria {    
        border-radius: 20px !important; 
    }

    .video-searchbox .fa-close,
    .video-searchbox .fa-search {
        top: 10px !important;
    }

    #lbMain {
        width: 50% !important;
        left: 25%;
    }

    #lbOuterContainer {
        height: 270px !important;
    }

    #lbMain #lbDetailsContainer.grey {
        width: 20px !important;
        right: -97% !important;
    }

    #lbMain #lbOuterContainer.grey #lbIframeContainer,
    iframe#ytplayer {
        width: 100%;
    }

}

@media (max-width: 768px) {

    ul.video-gallery li {
        margin: 0 2% 30px 2%;
        width: 46%;
    }

    #lbMain {
        width: 68% !important;
        left: 16%;
    } 
    
    #lbOuterContainer {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    ul.video-filters {
        margin: 100px 0 10px 0;
    }

    ul.video-gallery li {
        margin: 0 1% 30px 1%;
        width: 98%;
    }

    .video-searchbox .fa-close,
    .video-searchbox .fa-search { 
        top: 10px !important;
    }

    #lbMain {
        width: 80% !important;
        left: 10%;
    }

    #lbOuterContainer {
        height: 150px !important;
    }

    #lbMain #lbDetailsContainer.grey {
        right: -95% !important;
    }

    ul.video-gallery li a img {        
        max-height: 290px;
    }
}