/* If you want to add your own CSS code, please do it in this file */

html, body {
  overflow-x: hidden;
}
body {
  position: relative
}
* {
  box-sizing: border-box;
}

#Wrapper {
    margin-bottom: 80px;
}

#Subheader .title {
    padding-left: 0 !important;
    font-size: 40px !important;
}

.breadcrumbs {
    margin-bottom: 20px;
}

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

#Wrapper {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    margin-bottom: 30px
}

.container {
    width: 100% !important;
}

 #Header #logo {
    float: none;
    position: static;
    width: 100%;
    text-align: left;
 }

  #Header .sixteen.columns, #Top_bar .sixteen.columns{
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
 }

#Header #menu > ul > li.current_page_item > a {
    background: #757575;
    color: white;
}

#Subheader .title {
    padding-left: 20px !important;
    font-size: 30px !important;
}

.container .sixteen.columns{
    width: 100% !important;
    padding: 0 20px;
 }

#logo {
    padding-left: 20px !important;
}

img.scale-with-grid {
    padding: 20px;
}

}

.btn {
    width: fit-content;
    margin-left: 0 !important;
    margin-top: 20px !important;
    text-transform: 
}

/* Home CTAs */


.column.one-fourth.column-fixed {
    padding-left: 5px !important;
    padding-right: 5px !important;
    box-sizing: border-box !important;
}

.column.one-fourth.column-fixed .inner-padding {
    padding: 30px !important;
}

.call_to_action.lozad {
    height: 100%;
    background-size: cover;
}

@media screen and (min-width: 768) {
.column.one-fourth.column-fixed .inner-padding {
    padding: 10px !important;
}

}

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

.column.one-fourth.column-fixed {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 15px;
 }

 .column.one-fourth.column-fixed .inner-padding {
    padding: 30px !important;
}
}

/* HERO BANNER */

.hbupro-hero-banner-wrp-1 {
    height: 800px !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    position:relative;
}

.hbupro-hero-banner-wrp-1:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00146B;
    background: linear-gradient(335deg, rgba(0, 20, 107, 0) 0%, rgba(0, 20, 107, 0.7) 70%, rgba(0, 20, 107, 0.8) 90%);
    z-index: 2;
}

.hbupro-hero-banner {
    height: 100%!important;
    max-height: 800px !important;
}

.hbupro-hero-banner-links {
    margin-top: 30px;
}

.hbupro-hero-banner-links a.hbupro-button {
   font-size: 18px !important;
   padding: 10px 15px !important;
}

a.hbupro-white {
    color: #00146B !important;
}

.hbupro-hero-banner-wrp-1 .container-player-inner,
.hbupro-hero-banner-wrp-1 .container-player-poster {
    top: 0 !important;
    transform: translateY(0) !important;
}

.hbupro-hero-banner-wrp-1 .container-player-inner iframe {
    object-fit: cover;
    object-position: top center;
}

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

.hbupro-hero-banner-inner {
    width: 1200px;
    margin: auto;
}

.hbupro-text-left {
    padding-left: 0 !important;
}
}


.super-simple-slider img {
    height: 600px !important;
    object-fit: cover;
}

h2 {
    padding-bottom: 20px;
}

.home .inner-padding{
    padding: 30px !important;
} 

.home .one .inner-padding{
    padding:  0 !important;
}

.the_content {
    padding: 0;
}

@media screen and (max-width: 768px) {
.the_content {
    padding-left: 20px;
    padding-right: 20px;
}

.the_content .inner-padding{
    padding-left: 0 !important;
    padding-right: 0 !important;
}
}

.column.two-third .the_content {
    padding: 0 30px;
}

/* ABOUT PAGE */

@media screen and (min-width: 1200px) {
.about .column.two-third .inner-padding {
    padding: 0 60px !important;
}
}

@media screen and (max-width: 768px) {
.divider hr {
    margin: 10px 0 10px !important;
}
}

/* NEWS */

.blog .the_content.the_content_wrapper {
    margin: auto;
}

@media screen and (min-width: 1200px) {
.blog .the_content.the_content_wrapper {
    width: 80%;
}
}
.post h3 a {
    color: #00146b;
    font-size: 35px;
    line-height: 1.2em;
}

.single-post .the_content.the_content_wrapper {
    width: 80%;
    margin: auto;
}

/* TESTIMONIALS */

.testimonials-page ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media screen and (min-width: 768px) {
    .testimonials-page ul {
        gap: 10px;
    }
}

.testimonials-page ul li {
    flex: 0 0 calc(50% - 10px);
    box-sizing: border-box;
    display: flex;
}

.testimonials-page blockquote {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 0;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.testimonials-page .photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.testimonials-page .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonials-page .content {
    flex: 1;
}

.testimonials-page .author {
    display: flex;
    flex-direction: row;
}

.testimonials-page .author h6 {
    margin: 0 0 5px 0;
    font-weight: 600;
}

.testimonials-page .author .company {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #666;
}

.testimonials-page blockquote .author .photo {
    width: 100%;
    box-shadow: none;
    margin-left: 0;
}

.testimonials-page .txt {
    margin-bottom: 0;
}

.testimonials-page .txt p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .testimonials-page ul li {
        flex: 0 0 100%;
    }
    
    .testimonials-page blockquote {
        flex-direction: column;
    }
}

/* Custom Styles taken from Admin area */
.the_content ul{
    list-style: inherit;
    padding-left: 20px;
    padding-bottom: 10px;
}

.home #Content .container {
    background: white;
}

.single-portfolio .desc h4 {
    display: none;
}


/* Styles for the back link to offshorepaintingservices.co.uk in the header */
.ops-back-link:before {
    content: '\f104';
    font-family: 'fontawesome';
    line-height: 34px;
}

@media screen and (max-width: 767px) {
    .ops-back-link {
        text-align: center;
        display: block;
    }
}


/* Styles for the mini basket in the header */
.cart-header{
    text-align: center;
    float: right;
    margin: 0 30px 0 0;
    background: #004bff;
    color: white !important;
    padding: 3px 10px;
    font-size: 14px;
}

@media screen and (max-width: 767px) {
    .cart-header{
        display: block;
        margin: 0 auto;
        float: none;
    }
}

.cart-header:before {
    content: '\f07a';
    font-family: 'fontawesome';
    padding: 0 8px 0 0;
}

.cart-header:hover{
    text-decoration: none;
    background: #eeeeee;
}



/* Styles for the footer menu */

#menu-footer-menu li {
    display: inline-block;
    padding: 0px 10px;
    border-right: 1px solid white;
    font-size: 12px;
}

#menu-footer-menu li:first-child {
    padding-left: 0;
}

#menu-footer-menu li:last-child {
    border-right: none;
}

 #Footer .widget {
    padding: 10px 0px;
}



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

 #Footer {
    padding-left: 30px !important;
    padding-right: 30px !important;
 }   

 .wp-container-core-social-links-is-layout-765c4724 {
    justify-content: flex-start !important;
 }

.wp-block-image .alignright {
    float: left !important;
    margin-left: 0 !important;

 }

    .footer-links .menu-footer-menu-container {
        margin: 20px 0 0;
        text-align: center;
    }

#Header #menu > ul > li.current_page_item > a {
    background: #757575;
    color: white;
}
}

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

#menu-footer-menu {
    float: right;
}
}

/* Fix for coupon input */

.woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 140px;
}

/* Fix for woocommerce notifications */
.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
    padding-left: 1.5em !important;
}

/* Fix for woocommerce table borders */
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-color: #e5e5e5;
}



/* Lozad Styles for preloading images */
.home .feature_box img.lozad,
.home .photo_wrapper img.lozad {
    display: block;
}


.home .feature_box img.lozad {
    width: 300px;
    height: 128px;
}

@media screen and (min-width: 480px) {
    .home .feature_box img.lozad {
        width: 420px;
        height: 179px;
    }
}

@media screen and (min-width: 768px) {
    .home .feature_box img.lozad {
        width: 242px;
        height: 103px;
    }
}

@media screen and (min-width: 960px) {
    .home .feature_box img.lozad {
        width: 320px;
        height: 136px;
    }
}

@media screen and (min-width: 1240px) {
    .home .feature_box img.lozad {
        width: 400px;
        height: 170px;
    }
}

.home .photo_wrapper img.lozad {
    width: 300px;
    height: 300px;
}

.home .photo_wrapper img.lozad {
    width: 100%;
    height: auto;
}

.home .info_box {
    background: lightgrey;
    padding: 20px;
}

.home .column.one-second {
    height: 360px;
    display: flex;
}

.home .column.one-second .inner-padding {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 768px) {
.container .one.column {
    width: 100% !important;
}

}

@media screen and (min-width: 768px) {
    .home .column.one-second {
    height: 500px;
}
.home .column.one-second .inner-padding {
    border-top: 1px solid #cccccc;
}
.home .photo_wrapper {
   border: 1px solid #cccccc;
}
}

@media screen and (min-width: 992px) {
    .home .column.one-second {
    height: 400px;
}
}

.home .column.one-second .wp-caption.scale-with-grid {
    height: 100%;
    width: 100%;
}

.home .column.one-second .photo {
    height: 100%;
}

.home .column.one-second .photo_wrapper {
    height: 100%;
    box-shadow: none !important;
}

.photo_wrapper {
    box-shadow: none !important;
}

.home .column.one-second img {
    height: 100%;
    object-fit: cover;
}

.home .column-fixed {
    margin-top: 60px;
}

@media screen and (max-width: 768px) {
.home .column-fixed {
    margin-top: 30px;
}
}

.ops-full-width-title {
    text-align: center;
    margin: 30px 0;
    position: relative;
}
@media screen and (min-width: 768px) {
    .ops-full-width-title::before {
        position: absolute;
        top: 12px;
        left: 0px;
        content: "";
        width: 100%;
        height: 1px;
        border-bottom: 1px solid #2c3e50;
    }

    .ops-full-width-title span {
        padding: 8px 12px;
        background: #ffffff;
        position: absolute;
        z-index: 1;
        top: -8px;
        left: 50%;
        width: 300px;
        margin-left: -150px;
    }
}
@media screen and (max-width: 479px) {
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .woocommerce-page[class*=columns-] ul.products li.product,
    .woocommerce[class*=columns-] ul.products li.product{
        width: 100%;
    }
}

.woocommerce #Wrapper {
    margin-bottom: 0;
    padding-bottom: 0 !important;
    margin-top: 30px !important;
}

.woocommerce .products {
    margin: 0;
}
.woocommerce .related, .woocommerce .upsells {
    position: relative;
    z-index: 20;
}

.woocommerce .related .woocommerce-loop-product__title{
    background: none !important;
}

.woocommerce div.product .product_title {
padding-bottom: 20px !important;
 }

.woocommerce .related {
    padding-bottom: 40px;
}

.woocommerce .related h2 {
    padding-top: 40px;
}

.woocommerce .related:before {
    height: 100%;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    position:relative;
    background: #eeeeee;
    position: absolute;
    content: '';
    z-index: -1;
}

.woocommerce .products .product .woocommerce-LoopProduct-link{

}

.woocommerce .products .product .woocommerce-LoopProduct-link img{
    aspect-ratio: 16 / 9;
    height: 200px;
    object-fit: cover;
    margin: 0 !important;
}

.woocommerce .products .product .woocommerce-LoopProduct-link > *:not(img){
    position: absolute;
}

.woocommerce .products .product .woocommerce-LoopProduct-link .woocommerce-loop-product__title {
    position: relative;
    background: #ffffff;
    color: #00146b;
    text-align: left;
    font-size: 17px;
    font-weight: normal;
    padding-top: 10px;
    line-height: 22px;
    min-height: 40px;
    text-transform: capitalize;
}

.woocommerce .products .product .add_to_cart_button {
    display: none;
}

@media screen and (min-width: 1242px) {
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    margin-bottom: 30px;
}
}

.woocommerce .products .product .woocommerce-LoopProduct-link .price {
    top: 10px;
    right: 10px;
    background: #004bff;
    padding: 3px 5px;
    color: #fff;
    font-weight: bold;
}
.woocommerce .products .product .woocommerce-LoopProduct-link .star-rating {
    display: none;
}

.ops-readmore {
    background: none;
    color: #004bff;
    font-weight: normal;
    border: 1px solid #004bff;
    border-radius: 0;
    padding: 8px 12px;
    margin: 2em 0;
    display: inline-block;
}

.ops-readmore:hover {
    color: #fff;
    background: #004bff;
    text-decoration: none;
}

.ops-readmore ~ *:not(hr) {
    display: none;
}