﻿
/* HOME STYLES
===================================================================== */

.homebanner {
    background-color: #00386C;
    border-bottom: 1px solid #99AFC4;
    }

.homebannerdivider {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 16px;
    background-image: url("/Themes/Default/Content/Images/bg-banner-red-big-left.png");
    z-index: 20;
    }
 
.gallerytext {
    position: relative;
    margin: 0 auto;
    width: 78%;
    min-width: 1023px;
    max-width: 1280px;
    height: 327px;
    }

.gallerytextbox {
    top: 69px;
    right: 0;
    width: 500px;
}

.gallerycontainer {
    width: 100%;
    height: 275px;
    margin: 0 auto;
}

.gallerytitle {
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .03em;
    width: 440px;
    font-size: 36px;
    line-height: 33px;
  }

.gallerytitledivider {
    width: 440px;
    height: 4px;
    margin: 5px 0;
    background-image: url(/Themes/Default/Content/Images/bg-banner-text-lightred-left.png);
}

.gallerydescrip {
    color: #ffffff;
    font-weight: 400;
    letter-spacing: .03em;
    display: block;
    font-size: 26px;
    line-height: 24px;
    width: 360px;
    }
    
.slides-navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 98%;
    top: 35%;
    }
    
.slides-navigation a.next:before, .slides-navigation a.prev:before {
    font-size: 38px;
    }


.homegridcontent {
    position: relative;
    clear: both;
    display: block;
    width: 95%;
    margin-top:6px;
}


.HomeAboutCBStyle.makeitwhite p {
    color: #ffffff !important;
}

/* =====================================================================
    HOME / VENDOR LIST / NON-RESPONSIVE ELEMENTS 
===================================================================== */
.homeproductsection {
    clear: both;
    display: block;
    color: var(--clr-blue); 
    padding: 50px 0;
    z-index: 3;
    box-shadow: 0 8px 12px rgba(var(--clr-black-hue), 0.2);
}
.homeproductgrid {
    z-index: 95;
    position: relative;
    width: 100%;
    background-color: #ffffff;
    margin: 0 auto;
    text-align: center;
    }

.homeproductgrid .title {
    display: block;
    clear: both;
    position: relative;
    padding-bottom: 20px;
}

.homeproductgrid .title h1 {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.4;
    text-transform: uppercase;
}
         
.vendors {
    display: block;
    padding: 0;
    margin: 0;
     }

.product {
    display: inline-block;
    text-align: center;
    }

.productlines {
    position: relative;
    margin: 0 auto;
    text-align: center;
    padding-top: 10px;
}

.homeproductgrid .viewall h2 {
    padding: 30px 0 0 0;
    margin: 0;
    font-weight: normal;
    }

.homeproductgrid .viewall h2 a {
    font-size: 20px;
    display: inline-block;
    clear: both;
    font-weight: 600;
    color: var(--clr-red); 
    border-top: 1px solid var(--clr-red); 
    text-decoration: none;
    text-transform: uppercase;
    padding: 8px 30px;
    }
    
.homecontentgridlevel1 .viewall h2 a:hover {
    color: #B5020B;   
    }


.jcarousel-container-horizontal {
    width: 964px;
    }

.jcarousel-clip-horizontal {
    width: 881px;
    height: 142px;
    }

.jcarousel-item {
    width: 126px;
    height: 142px;
    }

/* Horizontal Buttons */
.jcarousel-next-horizontal {
    top: 56px;
    right: 9px;
    width: 15px;
    height: 28px;
    }

.jcarousel-prev-horizontal {
    top: 56px;
    left: 9px;
    width: 15px;
    height: 28px;
}

/* =====================================================================
    HOME / ABOUT / NON-RESPONSIVE ELEMENTS 
===================================================================== */ 
.homeaboutsection {
    width: 100%;
    display: block;
    clear: both;
    position: relative;
    border-bottom: 1px solid var(--clr-white);
    box-shadow: 15px 15px 15px rgba(var(--clr-black-hue), 0.3);
    z-index: 5;
}

.homeaboutsectionbg{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: block;
	background-image: url('/Themes/Default/Content/images/bg-grey-slant.png');
	background-repeat: no-repeat;
	background-size: cover;
    height: 100%;
    opacity: .03;
    z-index: 0;
}

.homeaboutgrid {
    position: relative;
    display: grid;
    grid-template-columns: 60% 40%;
    justify-items: stretch;
    align-items: center;
    row-gap: 0;
    column-gap: 0;
    height: 100%;
    min-height: 430px;
    z-index: 1;
}

.homeaboutgriditem { 
    height: 100%;
    display: flex; /* Using flexbox to center content inside the grid item */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.homeaboutgriditem.aboutasset {
    display: block;
	background-image: url('/Themes/Default/Content/images/AIV-Master-Valve-Distributor-home.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
    height: 100%;
    min-height: 430px;
}

.homecontentcontainer {
    padding: 0 40px;
    width: 85%;
}

.homecontentcontainer .title {
    position: relative;
}

.homecontentcontainer .title:before {
    content: '';
    position: absolute;
    top: 26px;
    left: -112px;
    height: 1px;
    width: 100px;
    background-color: var(--clr-red);
}

.homecontentcontainer .title h1, .homecontentcontainer .title h2 {
    color: var(--clr-blue);
    font-size: 36px;
    line-height: 1.4;
    font-weight: 900;
}

.homecontentcontainer .viewall a {
    display: inline-block;
    clear: both;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: .06em;
    color: var(--clr-blue);
    border-top: 1px solid var(--clr-blue);
    margin: 30px 0 0 0;
    padding: 5px 40px 0 0;
    text-decoration: none;
    text-transform: uppercase;  
    }

.homecontentcontainer .viewall a:hover {
    color: var(--clr-redmed);
    border-top: 1px solid var(--clr-redmed);
    padding: 5px 60px 0 0;
    }



/* =====================================================================
    HOME / MOD / NON-RESPONSIVE ELEMENTS 
===================================================================== */
.homemodsection {
    position: relative;
    clear: both;
    display: block;
    min-height: 500px;
    color: var(--clr-white); 
    border-top: 1px solid var(--clr-blue);
    border-bottom: 1px solid var(--clr-white);
    z-index: 21;
}

.modgridtitlebar {
    padding: 0 20px 0 70px;
}

.modgrid {
    display: grid;
    grid-template-columns: 40% 60%;
    align-content: space-around;
    justify-items: stretch;
    align-items: center;
    row-gap: 0;
    column-gap: 0;
    height: 100%;
    color: var(--clr-blue); 
}

.modgriditem:first-child { 
    height: 100%;
    display: flex; /* Using flexbox to center content inside the grid item */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%;
	background-image: url('/Themes/Default/Content/images/AIV-Valve-Modifications-home.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
    border-right: 1px solid var(--clr-white);
}

.modgriditem { 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    min-height: 500px;
}

.modlabel {
    display: block;
    clear: both;
    position: relative;
}

.modlabel h2 {
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
}

.modlabel:before {
    content: '';
    position: absolute;
    top: 18px;
    left: -132px;
    height: 1px;
    width: 112px;
    background-color: var(--clr-red);
    letter-spacing: .05em;
}

.modreadlink {}

.modreadlink a {
    display: inline-block;
    clear: both;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .06em;
    color: var(--clr-blue);
    border-top: 1px solid var(--clr-blue);
    margin: 40px 0 0 0;
    padding: 5px 40px 0 0;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 5;
    } 

.modreadlink a:hover {   
    padding: 5px 80px 0 0;
    } 

/* =====================================================================
    HOME / VIDEO / NON-RESPONSIVE ELEMENTS 
===================================================================== */
.homevideosection {
    position: relative;
    clear: both;
    display: block;
    min-height: 500px;
    color: var(--clr-white); 
    border-bottom: 1px solid var(--clr-white);
    background-color: var(--clr-blue);
    z-index: 1;
}

.homevideosectionbg{
    position: absolute;
    top: 0;
    right: -10%;
    width: 100%;
    height: 100%;
    display: block;
	background-image: url('/Themes/Default/Content/images/bg-blue-slant.png');
	background-repeat: no-repeat;
	background-size: cover;
    height: 100%;
    opacity: .8;
    z-index: 0;
}

.homevideolabel h2 {
    font-weight: 900;
    color: var(--clr-white);
    font-size: 40px;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.homevideogrid {
    position:relative;
    width: 65%;
    margin: 0 auto;
    padding: 50px 0;
    z-index: 2;
}

.homevideolabel {
    text-align: center;
    margin-bottom: 20px;
}

.homevideocatpion {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 20px;
}

.homevideocatpion h3 {
    font-weight: 600;
    color: var(--clr-white);
    font-size: 20px;
    line-height: 30px;
    letter-spacing: .03em;
}

/* =====================================================================
    HOME / VALVE / NON-RESPONSIVE ELEMENTS 
===================================================================== */
.homevalvesection {
    position: relative;
    clear: both;
    display: block;
    background-color: var(--clr-blue);
    min-height: 500px;
    color: var(--clr-white); 
    border-bottom: 1px solid var(--clr-white);
    z-index: 6;
}

.homevalvegriditem.valueautoasset {
    display: block;
	background-image: url('/Themes/Default/Content/images/AIV-Turn-Key-Valve-Automation-home.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
    height: 100%;
    min-height: 500px;
}

.valvegridtitlebar {
    padding: 0 20px 0 70px;
}

.valvegrid {
    display: grid;
    grid-template-columns: 60% 40%;
    align-content: space-around;
    justify-items: stretch;
    align-items: center;
    row-gap: 0;
    column-gap: 0;
    height: 100%;
    color: var(--clr-white); 
}

.valvegriditem:last-child { 
    height: 100%;
    display: flex; /* Using flexbox to center content inside the grid item */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%;
    border-right: 1px solid var(--clr-white);
}

.valvegriditem { 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    min-height: 420px;
}

.valvelabel {
    display: block;
    clear: both;
    position: relative;
}

.valvelabel h2 {
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
}

.valvelabel:before {
    content: '';
    position: absolute;
    top: 17px;
    left: -124px;
    height: 1px;
    width: 112px;
    background-color: var(--clr-white);
    letter-spacing: .05em;
}

.valvereadlink {}

.valvereadlink a {
    display: inline-block;
    clear: both;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .06em;
    color: var(--clr-white);
    border-top: 1px solid var(--clr-white);
    margin: 40px 0 0 0;
    padding: 5px 40px 0 0;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 5;
    } 

.valvereadlink a:hover {   
    padding: 5px 80px 0 0;
    } 

.homesectiondivider {
    position: relative;
    width: 100%;
    height: 4px;
    background-image: url(/Themes/Default/Content/Images/bg-red-angle.png);
    z-index: 20;
    background-repeat: repeat-x;
    margin-top: -5px;
}
/* =====================================================================
    HOME / LOCATIONS / NON-RESPONSIVE ELEMENTS 
===================================================================== */
.homelocationsection {
    position: relative;
    clear: both;
    display: block;
    background-color: var(--clr-white);
    min-height: 420px;
    color: #333333; 
	background-position-x: 300px;
    z-index: 4;
}

.locationgridtitlebar {
    padding: 0 20px 0 70px;
}

.locationgrid {
    display: grid;
    grid-template-columns: 40% 60%;
    align-content: space-around;
    justify-items: stretch;
    align-items: center;
    row-gap: 0;
    column-gap: 0;
    height: 100%;
    color: var(--clr-white); 
}

.locationgriditem:first-child { 
    display: flex; /* Using flexbox to center content inside the grid item */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%;
	background-image: url('/Themes/Default/Content/images/AIV-Strategic-Locations-home.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
    border-right: 1px solid var(--clr-white)
}

.locationgriditem { 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    min-height: 420px;
}

.locationlabel {
    display: block;
    clear: both;
    position: relative;
}

.locationlabel h2 {
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
    color: var(--clr-blue);
}

.locationlabel:before {
    content: '';
    position: absolute;
    top: 18px;
    left: -132px;
    height: 1px;
    width: 112px;
    background-color: var(--clr-red);
    letter-spacing: .05em;
}

.locationtitle h4 {
    font-size: 30px;
    line-height: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.locationlink {}

.locationlink a {
    display: inline-block;
    clear: both;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .04em;
    color: var(--clr-blue);
    border-top: 1px solid var(--clr-blue);
    margin: 40px 0 0 0;
    padding: 5px 40px 0 0;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 5;
    } 

.locationlink a:hover {   
    padding: 5px 100px 0 0;
    } 


/* =====================================================================
    HOME / NEWS / NON-RESPONSIVE ELEMENTS 
===================================================================== */
.homenewssection {
    position: relative;
    clear: both;
    display: block;
    min-height: 460px;
    width: 100%;
    z-index: 2;
    border-top: 1px solid rgba(var(--clr-blue-hue), 0.2);
}

.homenewsgridcontainer {
    width: 90%;
    margin: 0 auto;
}

.homenewstitlebar {
    background-color: #F4F5F5;
    padding: 40px 0px 20px 0;
    text-align: center;
}

.homenewsdivider {
    display: block;
    width: 100%;
    height: 2px;
    margin: 0 0;
    background-image: url(/Themes/Default/Content/Images/bg-banner-text-lightblue-right.png);
    background-color: #ffffff;
}

.homenewslabel h2 {
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
    color: var(--clr-blue);
}

.homenewsgrid {
    display: grid;
    width: 90%;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    grid-column-gap: 60px;
    grid-row-gap: 60px;
    padding: 0 0;
    box-sizing: border-box;
    margin: 30px auto;
}

.homenewsgrid .homenewsgriditem {
    padding: 20px;
    position: relative;
    height: 100%;
    text-align: left;
    box-sizing: border-box;
    border: 1px solid #DEDDDE;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 5px 9px rgba(var(--clr-black-hue), 0.2);
}

.homeblogimagecontainer {
    width: 100%;
    padding: 0;
}

.homeblogimagecontainer img {
    width: 100%;
    border: 1px solid rgba(var(--clr-blue-hue), 0.4);
    outline: 1px solid rgba(var(--clr-white-hue), 0.5);
    outline-offset: -6px;
}

.newsdate {
    clear: both;
    text-align: left;
}

.newsdate h4 {
    padding: 5px 0 6px 0;
    letter-spacing: .05em;
    color: var(--clr-red);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 1px solid #DEDDDE;
}

.newstitle {
    display: block;
}

.newstitle a {
    display: block;
    clear: both;
    color: var(--clr-blue);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: .01em;
    padding: 15px 0 5px 0;
    text-decoration: none;
    text-align: left;
}

.newstitle a h3 {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--clr-blue);
    text-decoration: none;
    padding: 5px 0;
}

.homenewsgriditem .readmore {
    text-align: left;
    margin-top: auto; /* pushes it to bottom */
}

.homenewsviewall {
    display: block;
    text-align: center;
    margin: 30px 0 40px 0;
}

.homenewsviewall a {
    display: inline-block;
    clear: both;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .06em;
    color: var(--clr-blue);
    border-top: 1px solid var(--clr-blue);
    padding: 5px 10px;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 5;
    } 

.homenewsviewall a:hover {   
    padding: 5px 30px;
    } 


/* =====================================================================
    HOME / VALVE / NON-RESPONSIVE ELEMENTS 
===================================================================== */
.homecelebratesection {
    position: relative;
    clear: both;
    display: block;
    background-color: var(--clr-red);
    padding: 45px 0;
    color: var(--clr-white);
    border-top: 1px solid rgba(var(--clr-blue-hue), 0.2);
    border-bottom: 1px solid var(--clr-white);
    z-index: 6;
}

.homecelebrategriditem.imagecontainer {
    display: flex;
    align-items: center;
    justify-content: center; 
    width: 100%;
}

.homecelebrategriditem.imagecontainer .imagepadding {
    display: flex;
    align-items: center;
    justify-content: center; 
    width: 80%;
    padding: 40px 20px;
    background-color: var(--clr-white);    
    outline: 2px solid rgba(var(--clr-white-hue), 0.2);
    outline-offset: 6px;    
    box-shadow: 15px 15px 30px rgba(var(--clr-black-hue), 0.4);
}

.homecelebrategriditem.imagecontainer .imagepadding img {
    width: 75%;
    height: auto;
}

.celebrategridtitlebar {
    padding: 0 20px 0 70px;
}

.celebrategrid {
    display: grid;
    grid-template-columns: 60% 40%;
    align-content: space-around;
    justify-items: stretch;
    align-items: center;
    row-gap: 0;
    column-gap: 0;
    height: 100%;
    color: var(--clr-white); 
}

.celebrategriditem:last-child { 
    height: 100%;
    display: flex; /* Using flexbox to center content inside the grid item */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%;
    border-right: 1px solid var(--clr-white);
}

.celebrategriditem { 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    min-height: 420px;
}

.celebratelabel {
    display: block;
    clear: both;
    position: relative;
}

.celebratelabel h2 {
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
}

.celebratelabel:before {
    content: '';
    position: absolute;
    top: 17px;
    left: -124px;
    height: 1px;
    width: 112px;
    background-color: var(--clr-white);
    letter-spacing: .05em;
}

.celebratereadlink {}

.celebratereadlink a {
    display: inline-block;
    clear: both;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .06em;
    color: var(--clr-white);
    border-top: 1px solid var(--clr-white);
    margin: 40px 0 0 0;
    padding: 5px 40px 0 0;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 5;
    } 

.celebratereadlink a:hover {   
    padding: 5px 80px 0 0;
    } 

.homesectiondivider {
    position: relative;
    width: 100%;
    height: 4px;
    background-image: url(/Themes/Default/Content/Images/bg-red-angle.png);
    z-index: 20;
    background-repeat: repeat-x;
    margin-top: -5px;
}