/* CONTAINER STYLES.css */
html, body {
    width: 100%; /* Ensure full width */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}
.mainContainer {
    width: 100% !important; 
    padding: 0 !important; 
    margin-top: 0px !important; 
}
.leftBorder, .rightBorder {
    display: none !important; /* Hide these borders */
}
.headerContainer {
    margin-bottom: 0px;
    margin-top: -34px;
    padding-top: 10px;
    padding-bottom: 10px;
    /*background-color: #E9FCFF;*/
}
.full-width-header {
    /*background-color: #E9FCFF;*/
	width: 100%;
}   
.headerContainer .row {
    display: flex;
    align-items: center;
}
.headerContainer .col-sm-3 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.headerContainer .col-sm-5 img {
margin-bottom: 0;
}
.headerContainer h1 {
    margin: 0;
    /*display: inline-block;*/
    vertical-align: middle;
}
.custom-left-align {
    text-align: left;
    /*padding-left: 50px;*/ /* Adjust as needed */
}
.headerContainer .col-sm-3.text-center:nth-child(2) {
    padding-left: 0;
}
.text-center {
    text-align: center;
}
.alt_font_5 {
    font-family:'Helvetica', sans-serif;  
    font-weight: bold;
    font-size: 60px;
    color: white;
}
.alt_font_6 {
    font-family:'Helvetica', sans-serif;  
    font-weight: lighter;
    font-size: 40px;
    color: white;
}
.alt_font_6B {
    font-family:'Helvetica', sans-serif;  
    font-weight: lighter;
    font-size: 40px;
    color: #80BFC9;
}
.alt_font_7 {
    font-family:'Helvetica', sans-serif;
    font-size: 28px;
    color: #80BFC9;
}
.btn-primary {
    background-color: #80BFC9;
    color: whitesmoke;
    border: none;
}
.btn-primary:hover {
    background-color: #689DA5;
}

.carousel-btn {
	border-radius: 50px;
}

.align-top {
    padding-top: 0px; /* Remove any padding-top */
    margin-top: -20px; /* Adjust margin-top to align text */
}
.container {
  padding-left: 15px;
  padding-right: 15px;
}

.row {
  margin-left: -15px;
  margin-right: -15px;
}

.col-sm-6 {
  padding-left: 15px;
  padding-right: 15px;
}

/* Custom DYNAMIC MENU CSS for nested dropdowns */       
.dropdown {
    margin-top: -0px;
}       
.dropdown-menu {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: -1px;
    border-top: none;
}      
.dropdown-submenu {
    position: relative;
}
/* Ensure the navbar has no bottom margin */
.navbar {
    margin-bottom: 0;
}
/* Center the navbar */
.navbar-nav {
    margin: auto;
    display: table;
    float: none;
}
/* Increase spacing between navbar items */
.navbar-nav > li > a {
    padding-left: 20px; /* Adjust this value as needed */
    padding-right: 20px;
}        
.dropdown-submenu .dropdown-menu {
    top: 1px; /*removes gap above second dropdown*/
    left: 100%;
    margin-left: -2px;
    padding: 0; /* Remove padding */
}           
/* Style the arrows */
.dropdown-submenu > a::after {
    content: '►'; /* Arrow character */
    font-size: 12px; /* Adjust the font size to make the arrow smaller */
    margin-left: 15px; /* Adjust spacing as needed */
    vertical-align: middle; /* Align vertically with the text */
    color: white; /* Set the arrow color */
    transform: scaleX(0.5);
    display: inline-block;
} 
.dropdown-submenu > a:hover::after {
    color: black; /* Change the color of the arrow on hover */
}
.navbar-header {
    margin-top: -12px;
}     
 /* Increase font size for menu items */
.navbar-nav > li > a, 
.dropdown-menu > li > a {
    font-size: 18px; /* Adjust this value to make the font bigger */
    color: white;
}       
.dropdown-submenu .dropdown-menu {
    margin-right: -5px; /* Adjust the value as needed */
}      
/* Adjust the position of the third submenu under Industries */
.dropdown-submenu .dropdown-menu .dropdown-menu {
    margin-left: -2px; /* Adjust the value as needed */
}   
nav.navbar {
    margin-bottom: -10px;
    background-color: black;
    border: none;  
    border-radius: 0; /* Remove rounded corners */
}     
/* Set background color to black */
.navbar-default,
.navbar-default .navbar-nav > li > a, 
.dropdown-menu {
    background-color: black;
    color: white;
    font-size: 20px;
}       
/* Change dropdown item hover color */
.dropdown-menu > li > a:hover {
    /*background-color: #5494C4;*/
    background-color: #80BFC9;
    color: white;
}       
/* Change main menu item font color on hover */
.navbar-default .navbar-nav > li a:hover,
.navbar-default .navbar-nav > li.active > a:hover {
    /*background-color: #5494C4;*/
    background-color: #80BFC9;
    color: black;
    font-weight: ;
}       
/* Set custom background color for Industries menu item */
.navbar-default .navbar-nav > li.dropdown.open > a,
.navbar-default .navbar-nav > li.dropdown:hover > a {
    /*background-color: #5494C4;*/ /* Set the desired background color */
    background-color: #80BFC9;
    color: black; /* Set the desired text color */
} 
/* Change down caret color for Industries on hover */
#industries-menu:hover > a > .caret {
    border-top-color: black !important; /* This assumes the caret is created using borders */
    color: black !important;
}
.navbar-default .navbar-nav > li.active > a {
    background-color: black;
    color: white;
}        
/* Increase vertical spacing for dropdown menu items */
.dropdown-menu > li > a {
    padding-top: 10px; /* Adjust this value as needed */
    padding-bottom: 10px; /* Adjust this value as needed */
}       
@media (max-width: 767px) {
    .navbar-nav > li.dropdown > .dropdown-menu {
        left: 100%; /* Center the dropdown menu horizontally */
        transform: translateX(10%); /* Shift the dropdown menu to the left by half its width */
    }
    .dropdown-submenu > a::after {
        display: none; /* Hide the caret icon for smaller screens */
    }
}

/*RESPONSIVENESS*/   
@media (max-width: 1565px) and (min-width: 1304px) {
  .row > [class^="col-"] {
    float: none;
    display: inline-block;
    vertical-align: top;
    margin: 0 auto; 
  }
  .col-sm-6 {
    width: 48%; 
  }
  .text-center, .center-block {
    text-align: center;
  }
}    
@media (max-width: 1303px) and (min-width: 1200px) {
  .row > [class^="col-"] {
    float: none;
    display: inline-block;
    vertical-align: top;
    margin: 0 auto; 
  }
  .col-sm-6 {
    width: 48%; 
  }
  .text-center, .center-block {
    text-align: center;
  }
  .header-content, .contact-info, .social-media {
	flex-direction: column;
	margin-top: 20px;
  }
}

/*TEST*/

/*TEST*/

@media (max-width: 1199px) and (min-width: 769px) {
  .row > [class^="col-"] {
    float: none;
    display: inline-block;
    vertical-align: top;
    width: 75%; 
    margin: 0 auto;
  }
  .col-sm-6 {
    width: 100%; 
  }
  .text-center, .center-block {
    text-align: center;
  }
  
}
@media (max-width: 768px) {
  div[style*="padding: 30px 200px 50px 200px;"] {
    padding: 30px 15px 50px 15px !important; 
  }
  .container, .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .col-xs-12, .col-sm-6, .col-md-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/*---------------------------------*/


/*PAGE_TOP SECTION*/
.full-width-header {
	width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    padding: 20px 0; /* Add vertical padding for spacing */
	margin-top: -40px;
	margin-bottom: -29px;
}
.headerContainer {
    padding-left: 15px;
    padding-right: 15px;
}
.header-row {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between; 
	align-items: center;
}
.header-content, .contact-info, .social-media {
    margin-top: 20px;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-wrap: nowrap; /* Prevent wrapping */
	width: 100%;
}
.img-fixed {
    margin-right: 30px;
    flex-shrink: 0;
    max-width: 100%; 
    height: auto;
}
.header-text {
    margin: 0;
    white-space: nowrap;
    flex-shrink: 1;
	text-align: center;
}
.contact-info, .social-media {
	text-align: left;
    align-items: flex-start;
}
@media (max-width: 1565px) {
	.header-inner {
		margin-top: 20px;
	}
	.contact-info, .social-media {
        padding-top: 20px;
    }
}
@media (max-width: 1303px) {
    .row {
        flex-direction: column; /* Stack divs vertically */
    }
	.header-inner {
        text-align: center; /* Center items within header-inner */
		margin-top: 30px;
    }
	.contact-info {
        text-align: center; /* Center text */
    }
}
@media (max-width: 1199px) {
	.social-media {
        text-align: center; /* Center text */
    }
	.header-inner {
		justify-content: center;
	}
}
@media (max-width: 992px) {
    .header-inner {
        flex-direction: row; /* Ensures image and text stay side by side */
        align-items: center;
        justify-content: center;
    }
    .header-inner img {
        margin-right: 15px;
    }
    .col-md-12.col-lg-4,
    .col-md-12.col-sm-4 {
        margin-top: 20px;
    }
}
@media (max-width: 768px) {
    .contact-info, .social-media {
        order: 1;
    }
    .header-content {
        order: 0;
    }
}




/*CAROUSEL STYLE*/
#main-slide .carousel {
    margin: 0;
    padding: 0;
    }
#main-slide .carousel-inner {
    width: 100%; /* Ensure full width */
    position: relative;
    overflow: hidden;
    }
#main-slide .carousel-inner .prev {
    transform: translateX(-100%);
}
#main-slide .carousel-inner .item.active {
    display: block; /* Show active item */
}
#main-slide .carousel-inner .item img {
    width: 100%;
    height: 500px;
    max-height: 500px;
    object-fit: cover; /* Ensures the image covers the container, cutting off parts if necessary */
}
#main-slide .carousel-caption h1,
#main-slide .carousel-caption h2, {
    opacity: 0;
    transition: opacity 1s ease-in;
}
#main-slide .carousel-caption.fade-in {
    opacity: 1;
}
#main-slide .carousel-control {
    width: 59px;
    height: 50px;
    top: 220px;
} 
/*CAROUSEL CAPTIONS*/
#main-slide .carousel-caption {
    text-align: left; 
    position: absolute;
    top: 0px;
    left: 200px;
    padding: 10px;
    opacity: 0;
    transition: opacity 2s ease-in;
}
#main-slide .carousel-caption.fade-in {
    opacity: 1;
}
.mainContainer .carousel-btn {
    border-radius: 0;
    border: none;
    border-width: medium;
    background-color: #80BFC9;
    font-size: 16px;
    color: #F1F1F1;
    font-weight: bold;
}
.mainContainer .carousel-btn:hover {
    background-color: #699DA5;
}
/*INDEX Carousel Control*/
.index-carousel .carousel-inner .item {
    position: absolute;
    width: 100%;
    transition: transform 1s ease-in-out;
}
.index-carousel .carousel-inner .active {
    position: relative;
    transform: translateX(0);
}
.index-carousel .carousel-inner .next {
    transform: translateX(100%);
}
@media (max-width: 767px) {
	#main-slide .carousel-caption {
		text-align: left; /* Align text to the left */
        left: 0; /* Align captions to the left of the carousel */
        right: auto; /* Override the default right position */
        padding-left: 15px; 
        padding-right: 15px; 
	}
	#main-slide .carousel-caption h1, #main-slide .carousel-caption h2, #main-slide .carousel-caption a {
        text-align: left; /* Ensure all elements within the caption are aligned left */
    }
	#main-slide .carousel-caption h1 {
        font-size: 50px; /* Make headers smaller */
    }
    #main-slide .carousel-caption h2 {
        font-size: 30px; /* Make sub-headers smaller */
		font-weight: 400;
    }
    #main-slide .carousel-control {
        display: none; /* Hide carousel controls */
    }

}




/*LOWER CONTAINER*/ 	
.lower-container a {
    float: left;
    border-radius: 5px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-width: 50px;
    display: table;
    padding: 5px 10px;
    border: none;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    text-align: center;
    /*color: #777;*/ /*original color*/
    color: #B4B4B4;
    /*color: #689DA5;*/
    text-decoration: none;
    /*font-weight: bold;*/
}
.lower-container a:hover {
    background-color: white !important;
}
.lower-container span {
    position: relative;
    z-index: 1;
    line-height: 24px;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    -ms-transition: 0.3s ease;
}
.lower-container a:hover span {
    /*color: #5a5a5a;*/
    color: #80BFC9;
}
.lower-container .btnBefore, .lower-container .btnAfter {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    border: solid #000;
    border-width: 0;
    border-radius: 0;
    transition: 0;
    -webkit-transition: 0;
    -moz-transition: 0;
    -o-transition: 0;
    -ms-transition: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-color: #80BFC9;
    border-radius: 5px;
}
.lower-container a .btnBefore {
    right: 0;
    bottom: 0;
}
.lower-container a .btnAfter {
    left: 0;
    top: 0;
}
.lower-container a:hover .btnBefore {
    border-width: 0 0 3px 3px;
}
.lower-container a:hover .btnAfter {
    border-width: 3px 3px 0 0;
}
.lower-container a:hover .btnAfter,
.lower-container a:hover .btnBefore {
height: 100%;
width: 100%;
transition: width 0.5s ease, height 0.5s ease 0.5s, border-top-right-radius 0.1s ease 0.4s, border-bottom-left-radius 0.1s ease 0.4s, border-bottom-right-radius 0.1s ease 0.9s, border-top-left-radius 0.1s ease 0.9s;
-webkit-transition: width 0.5s ease, height 0.5s ease 0.5s, border-top-right-radius 0.1s ease 0.4s, border-bottom-left-radius 0.1s ease 0.4s, border-bottom-right-radius 0.1s ease 0.9s, border-top-left-radius 0.1s ease 0.9s;
-moz-transition: width 0.5s ease, height 0.5s ease 0.5s, border-top-right-radius 0.1s ease 0.4s, border-bottom-left-radius 0.1s ease 0.4s, border-bottom-right-radius 0.1s ease 0.9s, border-top-left-radius 0.1s ease 0.9s;
-o-transition: width 0.5s ease, height 0.5s ease 0.5s, border-top-right-radius 0.1s ease 0.4s, border-bottom-left-radius 0.1s ease 0.4s, border-bottom-right-radius 0.1s ease 0.9s, border-top-left-radius 0.1s ease 0.9s;
-ms-transition: width 0.5s ease, height 0.5s ease 0.5s, border-top-right-radius 0.1s ease 0.4s, border-bottom-left-radius 0.1s ease 0.4s, border-bottom-right-radius 0.1s ease 0.9s, border-top-left-radius 0.1s ease 0.9s;
}

	
.lower-container .row > .col-sm-6 {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center contents */
}
/* Ensure the images do not resize */
.lower-container .img-responsive {
    width: 100%;
    max-width: none; /* Prevent image from scaling beyond its container */
}
/* Ensure each image-text pairing is centered within its container */
.lower-container .row {
    justify-content: center; /* Center content horizontally */
}
/* Ensure images and text blocks do not exceed each other's width */
.lower-container .col-sm-6 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
/* Maintain the text above/below the images */
.lower-container .col-sm-6.align-top {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center text within its column */
}
/* Remove the offset for screens smaller than 1500px */
@media (min-width:767px) and (max-width: 1299px) {
    .lower-container .col-sm-10.col-sm-offset-1 {
        margin-left: -50px !important; /* Remove offset */
    }
}	
@media (min-width: 768px) and (max-width: 1199px) {
    /* Adjust layout for screen widths between 768px and 1199px */
    .lower-container .row {
        flex-direction: column;
    }
	.lower-container {
		max-width: 100%;
		margin-left: 30px !important;
	}
}
@media (max-width: 767px) {
    /* Adjust layout for small screens */
    .lower-container .row {
        flex-direction: column;
    }
}   