/* General Body and Typography */
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #53555c;
    font-weight: lighter;
}

.logo {
}

h1, h2, h3, h4, h5 {
    font-size: 32px;
    margin: auto;
    padding: initial;
    color: black;
    font-weight: lighter;
}

a {
    color: #006699;
    text-shadow: 0 0 1px #0d0d0d7a;
    text-decoration: underline;
}

/* Active State */
.active {
    border-bottom: 4px solid #d7d7d7 !important;
}

/* Info Section */
#infoot {
    max-width: 98%;
    margin: auto;
}

#infoot pre {
    font-family: Raleway, sans-serif;
}

/* Footer */
#footer {
    padding-top: 50px;
    color: #000000;
    z-index: 99;
    font-size: 14px;
    background: #dbdbdb;
}

#footer a {
    color: #000000;
}

/* Top Bar */
#topBar {
    width: 100%;
    background-color: white;
    z-index: 10001;
    border-bottom: 1px solid grey;
    box-shadow: 0 0 12px 5px rgb(0 0 0 / 49%);
}

#banner {
    padding: 15px;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
}

#banner {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease;
}

#banner .logo {
    height: 90px;
    transition: all 0.3s ease;
}

#cssmenu ul li a {
    transition: all 0.3s ease;
}

/* Shrunk version */
#banner.shrink {
    padding: 5px 0;
}

#banner.shrink .logo {
    height: 55px;
}

#banner.shrink #cssmenu ul li a {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 15px;
}

div#topSocials {
    color: #ffffff;
    text-decoration: none;
    text-align: right;
    background: #000000;
    padding: 5px;
    font-size: 16px;
}

div#topSocials a {
                 color: #d7d7d7;
                 text-decoration:none;
                 }


.setStyle.intro {
    background: rgb(239 239 239 / 9%);
    padding-top: 90px;
    padding-bottom: 90px;
}

/* Three Footer Section */
#threeFooter {
    text-align: center;
    margin: auto;
    max-width: 87%;
}

#threeFooter div {
    width: 31%;
    overflow: hidden;
    padding-bottom: 17px;
    margin-bottom: 15px;
    display: inline-block;
    vertical-align: top;
    z-index: 100;
    position: relative;
}

#threeFooter h3 {
    color: #ffffff;
    text-transform: capitalize;
}

#threeFooter div:first-child {
    margin-left: 0 !important;
    text-align: left;
    float: left;
}

#threeFooter div:last-child {
    margin-right: 0 !important;
    float: right;
    text-align: right;
}

#threeFooter ul {
    list-style: none;
    padding: 0;
}

#threeFooter li a {
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #585d69;
    padding: 7px;
    font-size: 16px;
    padding-right: 20px;
    text-transform: lowercase;
}

/* Misc Layout */
.textBoxes {
    position: relative;
    margin: auto;
    background: #fff;
}

.readingBit {
    padding-top: 1px;
    display: flow-root;
    margin: auto;
    margin-top: -1px;
}

/* Flexbox Utility */

.setStyle > div {
    max-width: 1600px;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: auto;
    flex: 1;
    display: flex;
    box-sizing: border-box;
}

.setStyle > div > div {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding: 1%;
    box-sizing: border-box;
    flex: 1;
    position: relative;
}
 div#bread {
    background: #efefef;
    padding: 10px;
}
/*BLog Section */

main.news {
    width: 100%;
    margin: auto;
}

.news section {
    border: 1px solid #d7d7d7;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    text-align: left;
    content-visibility: auto;
    margin-bottom: 20px;
}

img.blogIcon {
    float: left;
    margin-right: 30px;
    max-width: 200px;
}

#galBoxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

#galBoxes div {
    flex: 1 1 calc(20% - 10px); /* Adjust to control how many items per row */
    max-width: calc(20% - 10px);
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

#galBoxes img {
    width: 100%;
    height: 180px; /* Adjust height as needed */
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 6px;
}

#galBoxes div:hover {
    transform: translateY(-5px);
}

#galBoxes div:hover img {
    transform: scale(1.1);
}

#topSocials > div {
    max-width: 1570px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}


#bgvid {
    background-image: url("../../pictures/VideoBG.webp");
    background-size: cover;
    background-position: center;
    background-color: #195d46;
}

video#bgvid {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.intro > div > div:first-child {
    padding-right: 80px;
    padding-left: 35px;
    border-left: 7px double rgb(45 50 95 / 33%);
    box-sizing: border-box;
}

.intro > div > div:last-child {
    /* flex: 0 0 33%; */
    max-width: 40%;
}

.intro > div > div:last-child::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: 90px;
    height: 90px;
    border-top: 2px solid rgb(45 50 95 / 33%);
    border-left: 2px solid rgb(45 50 95 / 33%);
}

.intro > div > div:last-child::after {
    content: "";
    position: absolute;
    right: 0px;
    bottom: -3px;
    width: 90px;
    height: 90px;
    border-right: 2px solid rgb(45 50 95 / 33%);
    border-bottom: 2px solid rgb(45 50 95 / 33%);
}

.intro > div > div:last-child img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 1px 0px 6px rgb(0 0 0 / 48%);
    border-radius: 2px;
}

.intro .delement {
}


.setStyle.section1 {
    background: url("../../pictures/MicroMeasure.webp") no-repeat center;
    background-size: cover;
    background-blend-mode: lighten;
    padding-top: 120px;
    padding-bottom: 120px;
    background-attachment: fixed;
    background-color: rgb(255 255 255 / 26%);
    background-blend-mode: lighten;
}

.setStyle.section1 > .delement > div:nth-child(2) {
    background: rgb(255 255 255 / 94%);
    padding: 30px;
    box-sizing: border-box;
    max-width: 40%;
    box-shadow: 2px 0px 24px #00000040;
}

.threeWide .delement > div {
    /* border: 1px solid rgb(0 0 0 / 13%); */
    margin: 20px;
    background: rgb(241 238 238 / 57%);
    border-radius: 5px;
}


.threeWide .delement > div {
    flex: 0 1 calc(33.333% - 25px);
    box-sizing: border-box;
    border: 1px solid #c9c4c4;
    border-radius: 3px;
    background: white;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    padding-bottom: 70px;
}

.threeWide .delement > div:hover {
    transform: scale(0.995
                    );
    box-shadow:
        inset 0 0 3px rgba(0, 0, 0, 0.18);
    background: #fbfbfb;
}




.threeWide {
    padding-top: 90px;
    padding-bottom: 90px;
    box-shadow: 0px 0px 17px -9px black;
    z-index: 2;
    position: relative;
}



/* fajax form*/
.ajax-file-upload-statusbar {
    border: 1px solid #3563c5;
    margin-top: 10px;
    width: 420px;
    margin-right: 10px;
    margin: 5px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 5px 5px 5px 15px
  }
  .ajax-file-upload-filename {
    width: 100%;
    height: auto;
    margin: 0 5px 5px 0px;
  }
  .ajax-file-upload-filesize {
    width: 50px;
    height: auto;
    margin: 0 5px 5px 0px;
    display: inline-block;
    vertical-align: middle;
  }
  .ajax-file-upload-progress {
    margin: 5px 10px 5px 0px;
    position: relative;
    width: 98%;
    border: 1px solid #ddd;
    padding: 1px;
    border-radius: 3px;
    display: inline-block;
    color: #FFFFFF;
  }
  .ajax-file-upload-bar {
    background-color: #0099FF;
    width: 0;
    height: 20px;
    border-radius: 3px;
    color: #FFFFFF;
  }
  .ajax-file-upload-percent {
    position: absolute;
    display: inline-block;
    top: 3px;
    left: 48%
  }
  .ajax-file-upload-red {
    -moz-box-shadow: inset 0 39px 0 -24px #e67a73;
    -webkit-box-shadow: inset 0 39px 0 -24px #e67a73;
    box-shadow: inset 0 39px 0 -24px #e67a73;
    background-color: #e4685d;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: inline-block;
    color: #fff;
    font-family: arial;
    font-size: 13px;
    font-weight: normal;
    padding: 4px 15px;
    text-decoration: none;
    text-shadow: 0 1px 0 #b23e35;
    cursor: pointer;
    vertical-align: top;
    margin: 5px 10px 5px 0px;
  }
  .ajax-file-upload-green {
    background-color: #77b55a;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin: 0;
    padding: 0;
    display: inline-block;
    color: #fff;
    font-family: arial;
    font-size: 13px;
    font-weight: normal;
    padding: 4px 15px;
    text-decoration: none;
    cursor: pointer;
    text-shadow: 0 1px 0 #5b8a3c;
    vertical-align: top;
    margin: 5px 10px 5px 0px;
  }
  .ajax-file-upload {
    cursor: pointer;
    background: #3664c5 !important;
    padding: 10px !important;
    font-size: 15px;
    border-radius: 6px !important;
    color: white !important;
    /* border: solid 2px #FF9800 !important; */
    margin: 0;
    text-decoration: none;
    width: fit-content;
  }
  .ajax-file-upload form {
    position: unset !important;
  }
  .ajax-file-upload:hover {
    background: #404040;
    -moz-box-shadow: 0 2px 0 0 #15719f;
    /* -webkit-box-shadow: 0 2px 0 0 #15719f; */
    /* box-shadow: 0 2px 0 0 #15719f; */
  }
  .ajax-upload-dragdrop {
    border: 1px dotted #A5A5C7;
    width: 100%;
    color: #4f7c9e;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    background: rgba(204, 204, 204, 0.30980392156862746);
  }
  .state-hover {
    border: 2px solid #A5A5C7;
  }
  .ajax-file-upload-container {
    margin: 20px 0px 20px 0px;
  }


/* subenus */

 
.setStyle.subMenu {
    padding-top: 60px;
    padding-bottom: 120px;
    text-align: center;
}

.setStyle.subMenu h2 {
    font-size: 25px;
    text-shadow: none;
}

.subMenu {
}
.subMenu .delement {
    max-width: 1600px;
}

.subMenu .delement > div {
    max-width: 1200px;
    border: 1px solid #c9c4c4;
    margin: 12px;
    border-radius: 6px;
    background: white;
}

.subMenu img {
    width: 100%;
    border-radius: 3px;
}

.subMenu .delement > div a {
    text-decoration: none;
    font-size: 27px;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
}
.subMenu .delement {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 0px;
    max-width: 1600px;
    margin: 0 auto;
}

.subMenu .delement > div {
    flex: 0 1 calc(33.333% - 25px); /* 3 per row, minus gap */
    box-sizing: border-box;
    border: 1px solid #c9c4c4;
    border-radius: 6px;
    background: white;
    overflow: hidden;
}

.subMenu .delement > div {
    flex: 0 1 calc(33.333% - 25px);
    box-sizing: border-box;
    border: 1px solid #c9c4c4;
    border-radius: 6px;
    background: white;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.subMenu .delement > div:hover {
    transform: scale(0.995
                    );
    box-shadow:
        inset 0 0 3px rgba(0, 0, 0, 0.18);
    background: #fbfbfb;
}

.subMenu .delement > div a {
    display: block;
    text-decoration: none;
    font-size: 27px;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

 
.subMenu .delement > div:hover a {
    color: #111;
}

.setStyle.pageIntro {
    padding-top: 90px;
    font-weight: 900;
}

.contacts > div {align-items: baseline;padding-top: 90px;font-size: 26px;}

.contacts {
    background-image: url("../../pictures/FormBG.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.threeWide a {
    text-decoration: none;
    font-weight: 900;
    color: black;
}

.threeWide img {
    margin-bottom: 20px;
}

a.btn {
    padding: 10px;
    position: absolute;
    bottom: 20px;
    border: 1px solid;
}

a.btn:after{
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgb(255 199 93);
  transition: all .35s;
}

a.btn:hover{
  color: #000000;
}

a.btn:hover:after{
  width: 100%;
}

.btn b {
    position: relative;
    z-index: 2;
}

.setStyle {
    position: relative;
    z-index: 1;
    padding: 70px 20px;
}

.setStyle + .setStyle {
    margin-top: -20px;
    padding-top: 100px;
}



.setStyle::before,
.setStyle::after {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    width: 20px;
    pointer-events: none;
    z-index: -1;
}

.setStyle::before {
    left: 7%;
    box-shadow: -12px 0 18px rgb(0 0 0 / 3%);
}

.setStyle::after {
    right: 7%;
    box-shadow: 12px 0 18px rgb(0 0 0 / 5%);
}


.setStyle.contacts {
    position: relative;
    z-index: 1;
    background-image: url("../../pictures/FormBG.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


.setStyle {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 2s ease;
}

.setStyle.showSection {
    opacity: 1;
    transform: translateY(0);
}