/*
Theme Name: machinery-world-child
Template: machinery-world
Author: Redbox
Text Domain: machinery-world-child
*/



:root {
  --red: #ca130f; 
  --dark: #333333;
  --blue: #00325D;
  --lgrey: #e5e5e5
}


body{
    background-color: #f0f0f0 !important;
}

@media (min-width: 1650px) {
    .container {
        width: 1570px;
    }



}


form.cart{
    display: none;
}

.slider-for, .slider-nav { overflow: hidden; min-width: 100%; width: 0; }


.woocommerce div.product div.summary{
    width: 50%;
    margin-top: 0 !important;
}

.single-product div.product{
    display: flex !important;
    max-width: 1570px;
    justify-content: space-between;
    gap: 20px;
}


.woocommerce-product__gallery{
    width: 50%;
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: 685px;
}


.woocommerce-product__gallery .slider-for .slick-slide{
    padding: 0 9px;
}

.woocommerce-product__gallery .slider-for img{
    border-radius: 8px;
}

.woocommerce-product__gallery .slider-nav{
    margin-top: 10px;
}

.woocommerce-product__gallery .slider-nav img{
    padding: 0 9px;
    padding: 0;
    border-radius: 8px;
}

.woocommerce-product__gallery .slider-nav img:hover{
    cursor: pointer;
}

.woocommerce-product__gallery .slider-arrows{
    display: flex;
    justify-content: space-between;
    /* position: absolute; */
    bottom: 0;
    width: 100%;
    display: none;
}

.woocommerce-product__gallery .slider-arrows .prev{
    position: absolute;
    left: 0;
    bottom: 5px;
    display: none !important;
}

.woocommerce-product__gallery .slider-arrows .next{
    position: absolute;
    right: 10px;
    bottom: 35px;
}

.woocommerce-product__gallery .slider-arrows i{
    font-size: 80px;
    color: var(--red);
}

.slider-nav .slick-slide.slick-current img{
    border: 2px solid var(--red);
}

.slider-nav .slick-slide:not(.slick-current){
    opacity: 0.3;
}

.slider-nav .slick-slide{
    padding: 0 9px;
    transition: all .2s;
}

.woocommerce-product__gallery p{
    text-align: right;
    margin-right: 9px;
}




.header{
    background-color: #000000;
    padding: 2em 2em 0 2em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header__topbar{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.5em;
    width: 100%;
}

.header__topbar--right{
    display: flex;
    align-items: center;
    gap: 1.5em;
    margin-left: auto;
}


.header__botbar{
    display: flex;
    background: #000000;
    /* align-items: flex-end; */
    justify-content: space-between;
    flex-direction: row;
    gap: 1.5em;
    width: 100%;
    margin-top: 0;
    padding: 2em;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header__botbar--nav{
    /* min-width: 1370px; */
}


.header__botbar--nav ul{
    /* display: flex; */
    flex-wrap: wrap;
}

.header__quote{
	display: none;
}

.mega_main_menu.menu-1.primary_style-buttons > .menu_holder > .menu_inner > ul > li > .item_link{
    margin: 10px 2px 0 !important;
}

body .mega_main_menu.direction-horizontal > .menu_holder > .menu_inner > ul > li > .item_link:after {
    border-top-color: var(--red) !important;
}

.mega_main_menu > .menu_holder > .menu_inner > ul > li > .item_link:after {
    right: 3px !important;
    margin-top: -3px !important;
    border-width: 7px 5px !important;
}

.header__botbar--search{
    margin-left: auto;
    width: 100%;
    max-width: 400px;
}

.header__botbar--search input{
    padding: 15px;
	display: inline-block;
    width: 100%;
}

.header__topbar .rb-btn{
    letter-spacing: 0 !important;
    padding: .5em 1em;
}


.header__topbar i{
    margin-left: .5em;
}

.header__phone i{
    color: var(--blue);
    margin-right: .5em;
}


.header__phone a{
    color: #ffffff;
    font-size: 16px;
}

.header__language{
    background: #fff;
    padding: .4em .5em;
    border-radius: 5px;
}

.header__language select{
    border: none !important;
}

.mega_main_menu_ul{
    display: flex;
    align-items: center !important;
}

.mega_main_menu ul:after{
    width: auto !important;
}

.quote-li a{
    padding: .5em 1em;
    color: #fff;
    background: var(--blue);
    border-radius: 5px;
}

.mega_main_menu.menu-1{
    margin-top: 0 !important;
    min-height: 20px !important;
}

.added_to_quote{
    display: none !important;
}

.woocommerce-result-count{
    display: none;
}

.woocommerce-products-header{
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0;
}


.machine-name-box > a:link, .machine-name-box > a:visited{
    color: inherit !important;
}

.add_to_cart_button,
.rb-btn,
.rb-btn a{
    border-radius: 5px;
    text-transform: uppercase;
    padding: .5em;
}

.add_to_cart_button,
a.rb-btn--red,
.rb-btn--red{
    background: var(--red) !important;
    color: #fff;
}

a.rb-btn--blue,
.rb-btn--blue a{
    background: var(--blue) !important;
    color: #fff !important;
}

a.rb-btn--white{
    background: #fff;
    color: var(--dark) !important;
}

h1.entry-title,
h1.page-title{
    color: #000000 !important; 
    letter-spacing: 0 !important;
    margin-top: 0;
    font-weight: 800;
}

.instock-message{
    color: var(--red);
    font-size: 16px;
    margin: .5em 0;
}

.product-meta span{
    border-right: 2px solid var(--red);
    padding: 0 1em;
}

.product-meta span:first-child{
    border-left: 2px solid var(--red);
}



.product-meta span:last-child{
    border: none;
}


.woocommerce-products-header__title{
    font-weight: 800;
    color: #000000 !important;
}



.woocommerce-cat__intro{
    color: #333333;
    font-size: 1.1em;
}


.woocommerce-cat__cta{
    background: var(--blue);
    padding: 1.5em 2em;
    border-radius: 5px;
    color: #fff;
    margin-bottom: 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.woocommerce-cat__wbum{
    display: flex;
    align-items: flex-start;
    /* justify-content: space-between; */
    justify-content: flex-start;
    gap: 2em;
}


.woocommerce-cat__wbum i{
    font-size: 3em;
    color: var(--red);
    margin-right: .5em;
}

.woocommerce-cat__bottom-info--col,
.woocommerce-cat__wbum--col{
    border-left: 2px solid #f0f0f0;
    padding: 0 1em;
    display: flex;
    max-width: 300px;
}


.woocommerce-cat__bottom-info--col{
    border-color: #55698a;
    width: 16.66666666666667%;
}

.woocommerce-cat__bottom-info--col:first-of-type{
    border: none !important;
}



.woocommerce-cat__bottom-info--col-inner,
.woocommerce-cat__bottom--col-inner{
    max-width: 130px;
}


.woocommerce-cat__bottom-info--col-inner:first-child{
    /* align-items: center;
    display: flex; */
}


.woocommerce-cat__bottom-info--col:first-of-type{
    border: none;
    padding-left: 0;
}

.woocommerce-cat__wbum--col h3{
    margin-bottom: .5em !important;
}

.woocommerce-cat__wbum--col-inner span{
    display: block;
    margin-bottom: 1em;
    font-weight: 600;
}

.woocommerce-cat__wbum--col:first-of-type{
    max-width: 355px;
    border: none;
    display: block;
    margin-right: auto;
}


.woocommerce-cat__wbum p,
.woocommerce-cat__cta p{
    margin: 1em 0 0 0;
}

.woocommerce-cat__wbum h3,
.woocommerce-cat__desc h3,
.woocommerce-cat__cta h3{
    font-weight: 900;
    margin: 0;
}

.woocommerce-cat__wbum h3 span,
.woocommerce-cat__desc h3 span,
.woocommerce-cat__cta h3 span{
    color: var(--red);
}

.woocommerce-cat__cta i{
    margin-left: .5em;
}

.woocommerce-cat__cta a{
    background-color: var(--red) !important;
    padding: 1.3em 4em;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: .5px;
    border-radius: 5px;
}

.woocommerce-cat__desc{
    background: #fefefe;
    padding: 1.5em 2em;
    border-radius: 5px;
    margin-bottom: 2em;
    border: 1px solid var(--lgrey);
}

.cat-top-wrapper{
	display: flex;
	flex-direction: row;
}

.cat-top-tp{
    background: #fefefe;
    padding: 1.5em 2em;
    border-radius: 5px;
    margin-top: 2em;
    max-width: 1100px;
    border: 1px solid var(--lgrey);
	max-width: 40%;
	margin-left: 2em;
}


.woocommerce-cat__wbum{
    background: #fefefe;
    padding: 1.5em 2em;
    border-radius: 5px;
    margin-bottom: 2em;
    border: 1px solid var(--lgrey);
}


.woocommerce-cat__bottom-info,
.woocommerce-cat__stats{
    background: var(--blue);
    padding: 1.5em 2em;
    border-radius: 5px;
    color: #fff;
    margin-bottom: 2em;
    display: flex;
    align-items: flex-start;
    /* justify-content: space-between; */
    justify-content: flex-start;
    gap: 2em;
    border: 1px solid var(--lgrey);
}

.woocommerce-cat__bottom-info.light{
    background: #fefefe;
    color: var(--dark);
    
}



.woocommerce-cat__bottom-info.light .woocommerce-cat__bottom-info--col{
    border-left: 2px solid #f0f0f0 !important;
}

.woocommerce-cat__bottom-info.light .woocommerce-cat__bottom-info--col:first-of-type{
    border: none !important;
}

.woocommerce-product__description{
    background: #fefefe;
    padding: 1.2em;
    border-radius: 5px;
    margin-bottom: 2em;
    border: 1px solid var(--lgrey);
}


.woocommerce-cat__bottom-info{
    padding: 2em;
    gap: 0;
    margin-top: 2em;
}


.woocommerce-cat__bottom-info span{
    font-size: 1.6em;
    font-weight: 600;
    display: block;
}


.woocommerce-cat__bottom-info i{
    font-size: 3em;
    margin-right: .5em;
    color: var(--red);
}



.woocommerce .woocommerce-breadcrumb{
    font-size: 1em;
    margin: 2em 0 1em;
}

.brand-name{
    margin-top: .5em;
    font-size: 13px;
}


.product-card{
    background-color: var(--blue);
    color: #fff;
    padding: 1em;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.product-card a{
    color: #fff;
}

.product-card__links{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
}

.add_to_cart_button,
.product-card .rb-btn{
    font-size: 13px;
    text-align: center;
    display: inline-block;
    width: 100%;
    font-weight: 700 !important;
}


.products .product img{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}


.stock-status{
    position: absolute;
    top: 10px;
    right: 10px;
    padding: .25em .5em;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 900;
}

.stock-status__instock{
    background: #01b868;
}

.stock-status__outofstock{
    background: #535353;
}



.cat-top-info{
    display: flex;
    align-items: center;
    margin: 2em 0 0;
    /* justify-content: space-between; */
}

.cat-top-info__item{
    display: flex;
    align-items: center;
    max-width: 276px;
    gap: 0 1em;
    border-right: 2px solid var(--lgrey);
    padding: 0 2em;
}

.cat-top-info__item:first-child{
    padding-left: 0;
}

.cat-top-info__item:last-child{
    padding-right: 0;
    border-right: 0;
}

.cat-top-info__item--icon{
    color: var(--red);
    font-size: 2em;
    line-height: 1;
}

.cat-top-info__item--text{
    color: var(--dark);
    font-size: 1em;
    font-weight: 600;
}



.woocommerce-single-product{
    display: flex;
    justify-content: space-between;
    gap: 2em;
    align-items: flex-start;
}


.woocommerce-product__sidebar{
    min-width: 400px;
    width: 400px;
}

.product label,
.product input,
.woocommerce-product__sidebar label,
.woocommerce-product__sidebar input{
    width: 100%;

}
.product textarea,
.product input,
.woocommerce-product__sidebar input,
.woocommerce-product__sidebar textarea{
    padding: 10px !important;
    border-radius: 5px;
}


.product input[type=submit]{
    margin-bottom: 0;
}

.product textarea{
    height: 44px;
}

.product select,
.woocommerce-product__sidebar select{
    width: 100%;
    padding: 10px !important;
    border-radius: 5px;
}

.sidebar__form{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
}

.sidebar__form--half{
    width: calc(33% - 5px) !important;
}

.sidebar__form--twothird{
    width: calc(66% - 2px) !important;
}


.woocommerce-product__sidebar h5{
    font-size: 1.2em !important;
    color: var(--dark);
    font-weight: 600;
    padding-top: 1em;
    margin: 1em 0;
    border-top: 2px solid var(--lgrey);
}

.woocommerce-product__sidebar--enquiry,
.woocommerce-product__sidebar--review,
.woocommerce-product__sidebar--videos{
    background: #fefefe;
    padding: 1.2em;
    border-radius: 5px;
    margin-bottom: 2em;
    border: 1px solid var(--lgrey);
}


.woocommerce-product__sidebar--review h3{
    color: var(--red);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
}

.woocommerce-product__sidebar--review h2{
    color: var(--dark);
    font-weight: 900 !important;
    font-size: 2.5em;
    margin: 0.5em 0;
}

.woocommerce-product__sidebar--review p{
    font-size: 12px;
    margin-bottom: 5px;
}

.woocommerce-product__sidebar--review strong{
    font-size: 14px;
}

.woocommerce-product__sidebar--stats{
    margin: 2em 0;
}

.woocommerce-product__sidebar--stats-item{
    display: flex;
    gap: 2em;
    padding:  20px 0 15px;
    border-bottom: 2px solid #f0f0f0
}

.woocommerce-product__sidebar--stats-item i{
    font-size: 2.5em;
}

.woocommerce-product__sidebar-button,
.wpcf7-submit{
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
    padding: 1em !important;
    text-align: center;
    border: 1px solid var(--lgrey);
    margin-bottom: 1em;
    border-radius: 5px !important;
    font-weight: 600;
    position: relative;
    transition: all .2s;
}

.wpcf7-submit{
    height: 44px !important;
}

.wpcf7-submit:after{
    font-family: 'FontAwesome';
    content: '\f1d8';
    /* margin:0 5px 0 -15px; */
    color: #fff;
}

.woocommerce-product__sidebar-button i{
    position: absolute;
    left: .5em;
    font-size: 1.8em;
    top: .4em;
    font-weight: 100 !important;
}

a.woocommerce-product__sidebar-button--call{
    border-color: var(--dark);
    color: var(--dark) !important;
}

a.woocommerce-product__sidebar-button--call:hover{
    background: var(--dark);
    color: #fff !important;
}

a.woocommerce-product__sidebar-button--whatsapp{
    border-color: #129a49;
    color: #129a49;
}

a.woocommerce-product__sidebar-button--whatsapp:hover{
    background: #129a49;
    color:  #fff !important;
}

a.woocommerce-product__sidebar-button--email{
    border-color: var(--red);
    color: var(--red);
}

a.woocommerce-product__sidebar-button--email:hover{
    background: var(--red);
    color:  #fff !important;
}



.woocommerce-product__sidebar-list{
    list-style: none;
    background: #f3f4f6;
    padding: 0;
    border: 1px solid var(--lgrey);
    margin: 1em 0;
    border-radius: 5px;
    color: #061847;
    font-weight: 400;
}

.woocommerce-product__sidebar-list li{
    border-bottom: 1px solid var(--lgrey);
    padding: 1em;
    display: flex;
}

.woocommerce-product__sidebar-list li i{
    font-size: 1.5em;
    margin-right: 1em;
}

.woocommerce-product__sidebar--videos{
    padding: 0;
}

.woocommerce-product__sidebar--videos-header{
    background-color: var(--blue) !important;
    color: #fff;
    padding: 1em;
    text-transform: uppercase;
    font-weight: 600;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.woocommerce-product__sidebar--videos-content{
    padding: 1em;
    display: flex;
    gap: 1rem;
}





div.product-search-form {
    display: block;
    float: none;
    position: relative;
    width: 100%;
}


.product-meta__wrap{
    display: flex;
    align-items: center;
}

.product-meta{
    margin-bottom: 0;
    margin-left: 1em;
}



.woocommerce-product__enquiry h3{
    font-size: 20px !important;
}


.wpcf7-spinner {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    margin: auto;
    right: 0;
}

.videowrapper {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 25%;
    padding-top: 25px;
    height: 0;
}
.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



@media (max-width: 1024px) {

    .product-meta__wrap{
        flex-direction: column;
        align-items: flex-start;
    }

     .product-meta{
        margin-left: 0;
     }

    .product-meta span{
        border-right: 2px solid var(--red);
        padding: 0 1em;
    }

    .product-meta span:first-child{
        border-left: none;
        padding-left: 0;
    }


    .header__topbar{

        /* flex-direction: column; */
    }

    .header__topbar--right{
         flex-direction: column;
         align-items: flex-end;
    }

    .header__botbar--nav {
        min-width: 100%;
        max-width: 100%;
    }

    .header__botbar{
        flex-direction: column-reverse;
    }

   .header__botbar--search{
        max-width: 100%;
    }


    .header__phone,
    .header__language{
        display: none;
    }

    .cat-top-info{
        flex-wrap: wrap;
        gap: 2em;
    }

    .cat-top-info__item{
        display: flex;
        align-items: center;
        width: 50%;
        gap: 1em;
        border-right: none;
        padding: 0;
    }


    
    .woocommerce-cat__cta {
        text-align: center;
        flex-direction: column;
    }

    .woocommerce-cat__cta--right {
        display: flex;
        margin-top: 2em;
    }

    .woocommerce-cat__bottom-info,
    .woocommerce-cat__wbum{
        flex-direction: column;
    }

    .woocommerce-cat__bottom-info--col,
    .woocommerce-cat__wbum--col{
        border: none;
        max-width: 100%;
        width: 100%;
    }

    .woocommerce-cat__bottom-info--col-inner, .woocommerce-cat__bottom--col-inner{
        width: 100%;
        max-width: 100%;
    }

    .woocommerce-cat__bottom-info--col{
        padding: 1em 0;
    }

    .woocommerce-cat__wbum--col:first-of-type{
        max-width: 100%;
    }

    .woocommerce-cat__bottom-info--col-inner:first-child{
        width: 100px;
    }
    

    .woocommerce-single-product{
        flex-direction: column;
    }

    .woocommerce-product__sidebar{
        width: 100%;
    }



    .single-product div.product{
        flex-direction: column-reverse;
    }


    
    .woocommerce div.product div.summary{
        width: 100%;
    }

    .woocommerce-product__gallery{
        width: 100%;
    }

    .cat-top-wrapper{
		display: flex;
		flex-direction: column;
	}
	
	.cat-top-tp{
		max-width: 100%;
		margin-left: 0;
	}

    .woocommerce-product__sidebar--videos-content{
        flex-direction: column;
        align-items: center;
    }


}



@media (max-width: 767px) {

    .header__botbar--nav ul{
        display: none;
    }

}

/* 
.woocommerce-ordering{
    visibility: visible !important;
} */