﻿.P21SystemBody, .Content {
    width: 100%;
    max-width: none !important;
}

.HomeWrap {
    max-width: 1920px;
    margin: 0 auto;
    background-color: #f5f5f5;
}

.HomeColor {
    background-color: #f5f5f5;
}

body {
	background-color: white;
}

.PageBox {
    
    margin: 20px 20px;
    background-color: white;
    display: block;
    box-shadow: 6px 6px 6px #616161;
    overflow: auto;
    border-radius: 10px;
    overflow: hidden;
}

h2 {
    color: white !important;
}

h1 {
    color: #065590;
}

.SectionTitle {
  /*  background-image: url(/Customer/asfain/images/Products/productsbanner4.webp);
    overflow: hidden; */
    background-color: #065590;
}

.SectionTitle, h4 {
    margin-bottom: 0px;
    line-height:25px;
    font-size: 25px;
    font-weight:200;
    margin-top: 0px !important;
    color: #f5f5f5 !important;
}


#Slide_Fall_22_Mobile {
    display: none;
}

/****************************
   CATEGORIES WITH SUBCATS
*****************************/

#ProductsWrapper {
    overflow: hidden;
    width: 100%;
    text-align: center;
}

#ProductsWrapper .SecondaryButton {
   /* float: right; */
    padding: 6px 20px;
    margin-right: 10px;
    font-size: 16px;
    margin-top: 20px;
}

.SecondarySpace {
    background-color: white;
}

#Categories {
    text-align: center;
    background-color: white;
}

.CatWrapper {
    display: inline-block;
    width: 330px;
    /*! max-width: 265px; */
    vertical-align: top;
    margin-bottom: 20px;
    position: relative;
}

.CatImageHolder {
    width: 250px;
    height: 250px;
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
}

.CatImageHolder img {
    /*transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    transition-duration: 0.3s;
    transition-property: box-shadow;*/
    max-width: 250px;
    max-height: 250px;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    margin: auto;
    opacity: .7;
}

.CatWrapper a {
    color: #065590;
    display: block;
}

.CatWrapper:hover .CatImageHolder img {
    opacity: 1;
    transition: all .2s ease-in-out;
    transform: scale(1.1)
}

.CatWrapper a:hover {
    text-decoration: none !important;
    color: rgb(219, 145, 33);
}

.CatTitle {
    font-size: 18px;
    margin-top: 10px;
    padding: 5px 10px 5px 10px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease-in;
}

.Active,
.CatWrapper:hover .CatTitle {
    color: rgb(248, 140, 17);
}

.HomeSubCats {
    display: none;
    position: absolute;
    z-index: 9999;
    padding: 0px 5px;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #1A936F;
    background-color: #fff;
    height: auto !important;
    box-shadow: 0 0 1px transparent;
    transition-duration: 0.3s;
}

.HomeSubCats a:nth-child(1) {
    display: none;
}

.HomeSubCats a {
    color: #069 !important;
    display: block;
    padding: 5px;
    border-bottom: 1px solid #069;
    box-sizing: border-box;
}

.HomeSubCats a:nth-last-child(1) {
    border-bottom: none !important;
}

.HomeSubCats a:hover {
    font-weight: bold;
}

.LILogo {
    width:100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

iframe {
    width: 50%;
    height: 650px;
    overflow-x: hidden;
    overflow-y: hidden;
    box-shadow: 5px 5px 10px darkgray;


}


#LinkedinLogo {
    
    margin: 15px;
    vertical-align: middle;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;

}

#LinkedinLogo:hover {
    opacity: 1;
    transition: all .2s ease-in-out;
    transform: scale(1.1)
}

#SocialText {
    color: darkgray !important;
    border-left:5px solid darkgray;
    text-align: left;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    vertical-align: middle;


}

.LinkedinPosts {
    background-color: #f5f5f5;
    text-align: center;
    padding:15px;
    
    
}

@media screen and (max-width: 758px) {
    #Categories {
        max-width: 600px;
        margin: 0 auto;
    }

    .CatWrapper {
        width: 165px;
    }

    .CatImageHolder {
        width: 140px;
        height: 140px;
    }

    .CatImageHolder img {
        max-width: 140px;
        max-height: 140px;
    }

    .CatTitle {
        font-size: 14px;
        line-height: normal;
    }

    @media screen and (max-width: 538px) {
        #Categories {
            width: 400px;
            margin: 0 auto;
            text-align: center;
        }

        @media screen and (max-width: 410px) {
            #Categories {
                width: 320px;
                margin: 0 auto;
                text-align: center;
            }

            .CatWrapper {
                width: 155px;
            }

            .CatTitle {
                width: 100%;
                box-sizing: border-box;
            }
        }
    }
}



/************************
         CATALOG
*************************/

#CatalogsWrapper {
    background-image: linear-gradient(white, #f6f6f6);
    background-repeat: no-repeat;
    height: 300px;
    background-size: cover;
    background-position: center;
    margin-top: 80px;
    position: relative;
    padding-bottom: 130px;
   /* border-bottom: 10px solid #065590; */
}

#MobileBanner {
    display:  none;
}

h3, h4 {
    color:#065590 !important;
}

#Linecard {
    display: block;
    max-width: 400px;
    margin-right: auto;
    margin-left: auto;
}

#Logo {
    display: none;
}

#CatalogsWrapper a:hover {
    text-decoration: none;
}

#CatalogImage {
    float: left;
    margin-left: 10px;
}

#CatalogContent {
    line-height: 35px;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 20px;
}

#CatalogText {
    position: relative;
    text-align: center;
}

.CatalogDesc h3:hover {
    color: rgb(255, 145, 0) !important;
    transition: all .3s ease-in-out;
    border-color: #065590;

}

/*
.CatalogDesc h3:hover {
    opacity: 1;
    transition: all .2s ease-in-out;
    transform: scale(1.1)
}
*/

#h4header h4:hover {
    color: orange !important; 
}

.CatalogDesc {
    margin-left: 10px;
    color: white;
}

.CatalogDesc p {
    font-weight: 300;
    font-size: 18px;
    margin-top: 7px;
    margin-bottom: 9px;
}

/*.CatalogDesc h3 {
    margin: 0;
    font-size: 40px;
    line-height: 25px;
    margin-bottom: 5px;
    border-left: 5px solid white;
    display: inline-block;
    padding: 15px 0px 15px 10px;
    margin-left: 10px;
    position: relative;
    bottom: 49px;
    font-weight: 600;
}*/

.CatalogDesc h3 {
    margin: 0 !important;
    bottom: 0px;
        font-size: 40px;
        line-height: 25px;
        margin-bottom: 5px;
        margin-left: 10px;
        position: relative;
        font-weight: 600;
        text-align: center;
        display: inline-block;
}

#h4header {
    display: inline-block;
    text-align: right;
    margin-bottom: 0;
    margin-right: 5px;
    line-height: 18px;
    border-right: 4px solid #065590;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#CatalogDownload {
    display: inline-block;
    padding: 8px 20px;
    background: #e74c3c;
    color: #065590;
    text-align: center;
    font-size: 25px;
    font-weight: 300;
    transition: .2s ease-in all;
}

#CatalogDownload:hover {
    background: #d23c2c;
}

/*#h4header {
    display: none;
}*/


/********************
      SERVICES
*********************/

.HomeWrap {
    background-color: #f6f6f6;
}

#ServicesWrapper {
    width: 100%;
    padding: 40px 0px;
    background-color: #f6f6f6;
}

.ServiceWrap {
    display: inline-block;
    width: 32.5%;
    padding: 40px 22px 15px 22px;
    box-sizing: border-box;
    vertical-align: top;
    height: 600px;
 /*   box-shadow: 5px 5px 10px rgb(204, 204, 204);
  /*  border-right: 4px solid #f5f5f5;
    border-left: 4px solid #f5f5f5;
    border-bottom: 4px solid #f5f5f5;
    border-top: 4px solid #f5f5f5;
*/
}

.ServiceWrap:hover {
    opacity: 1;
    transition: all .2s ease-in-out;
    transform: scale(1.03);
    background-color: white;

}

.ServiceWrap:nth-child(2), .ServiceWrap:nth-child(4) {
    border-right: none;
}

.ServiceWrap:nth-child(3), .ServiceWrap:nth-child(n+4) {
    border-bottom: none;
    vertical-align: top;
}

.ServiceWrap h2 {
    color: #065590; 
    font-size: 32px;
    line-height: 30px;
    padding: 10px;
    text-align: center;
}

.MainButton {
    vertical-align: bottom;
}

.ServiceWrap .MainButton {
    text-align: center;
    padding: 5px 14px;
    width: auto;
}

.ServiceButton {
    width: 100%;
    text-align: center;
    vertical-align: bottom;
}


.ServiceTitle {
    overflow: hidden;
    padding-bottom: 25px;
    text-align: center;
}

.ServiceTitle img {

    max-width: 100px;
}

.ServiceInfo {
    overflow: hidden;
    margin-bottom: 25px;
    text-align: center;
}

.ServiceInfo p {
    margin-top: 0px;
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    color: #3a3a3a;
}

@media screen and (max-width: 1000px) {

    #CatalogImage {
        display: none;
    }

    #CatalogText {
        height: 200px;
    }

    /*.ServiceWrap {
        width: 50%;
    }*/

    .ServiceWrap:nth-child(n+2):nth-child(even) {
        border-right: none;
    }

    .ServiceWrap:nth-child(3) {
        border-right: 4px solid #f5f5f5;
    }

}
