/*!
Theme Name: Yoakum EDC
Author: Eisenberg Inc.
Version: 1.1.5
*/


 /*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Global
# Typography
# Button
# Footer

/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/


:root {
    --max-content-width: 1360px;
    --standard-padding: 7.19%;
}

/* Disable body scrolling when popup is open */
.no-scroll {
    overflow: hidden;
}

.vc_row-has-fill > .vc_column_container > .vc_column-inner, .vc_row-has-fill + .vc_row > .vc_column_container > .vc_column-inner, .vc_row-has-fill + .vc_row-full-width + .vc_row > .vc_column_container > .vc_column-inner, .vc_col-has-fill > .vc_column-inner {
	padding-top: 0 !important;
}

.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid > li {
	margin-bottom: 0 !important;
}

main, #gusta-footer .container  {
	display: block;
	max-width: var(--max-content-width);
	margin: 0 auto;
	padding-left: 40px;
	padding-right: 40px;

}

.border_bottom_lb {
    border-bottom: 2px solid #A7BECE;
}


.align-left {
    justify-content: flex-start;
}

.align-center {
    justify-content: center;
}

.align-right {
    justify-content: flex-end;
}

@media (max-width: 767px) {

	main, #gusta-footer .container  {
	padding-left: 20px;
	padding-right: 20px;
	}


}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

h1 {
	font-weight: 700;
	font-style: normal;
	font-size: clamp(50px,5.20833vw, 100px);
	line-height: 1.2;
}

h2 {
	font-weight: 700;
	font-style: normal;
	font-size: 3.25rem;
	line-height:3.50rem;
	margin-top: 0;
	margin-bottom: 30px;
}

h3 {
	font-weight: 700;
	font-style: normal;
	font-size: 2rem;
	line-height:2.438rem;
	margin-top: 0;
	margin-bottom: 30px;
}


p, main, ol, ul, li {
	font-weight: 500;
	font-style: normal;
	font-size: 1.25rem;
	line-height:1.8rem;

}

.basic_content ol, .basic_content ul,
.basic_content_bottom ul,
.basic_content_bottom ol {
  margin-left: 0;
  list-style-type: disc;
  list-style-position: outside;
}

.basic_content ul li,
.basic_content_bottom ul li {
  position: relative;
  color: inherit;
  margin-bottom: 10px;
}

.basic_content ul li::marker,
.basic_content_bottom ul li::marker {
  color: #0273E3;
}


a {
	transition: all 0.3s;
	text-decoration: none;
}


.white {
	color: #fff;
}

.dark_blue {
	color: var(--dark-blue);
}

.light_blue {
	color: var(--light-blue);
}

.orange {
	color: var(--orange);
}

.accent_db {
	color:	var(--accent-db);
}

.accent_lb {
	color: var(--light-db);
}


@media (max-width: 1200px) {



}


@media (max-width: 767px) {

	h1 {
		font-size: 2.5rem;
	}

	h2 {
		font-size: 2rem;
		line-height:2.375rem;
	}

	p, main, ol, ul, li {
		font-size: 1rem;
		font-weight: normal;
		line-height:1.5rem;
	}

}


/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/


@media (max-width: 767px) {

	.swap-on-mobile {
		display: flex !important;
		flex-direction: column-reverse;
	}


}

/*--------------------------------------------------------------
# Video Header
--------------------------------------------------------------*/

.video-header {
    position: relative;
    width: 100%;
    height: 49.1666vw;
    min-height: 488px;
    overflow: hidden;
}

.video-header video {
    position: absolute;
    top: 0;
    left: 0;
    width:100% ;
    min-height: 100%;
    object-fit: cover;
    object-position: bottom;
    z-index: -1;
}

.video-header .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #04052B, transparent);
}

.video-header .content-wrapper-hero {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: var(--max-content-width);
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
}

.video-header .viewport-header {
	margin-bottom: var(--standard-padding);
}

.video-header .content-wrapper-hero h1 {
	margin: 0 0;
}


/*--------------------------------------------------------------
# Sub Header
--------------------------------------------------------------*/


.sub-header {
    position: relative;
    width: 100%;
    height: 49.1666vw;
    min-height: 488px;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}


.sub-header .sub-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52%;
    background: linear-gradient(to top, #04052B, transparent);
}

.sub-header .content-wrapper-hero {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: var(--max-content-width);
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
}

.sub-header .viewport-header {
    margin-bottom: var(--standard-padding);
}

.sub-header .content-wrapper-hero h1 {
    margin: 0 0;
}





/*--------------------------------------------------------------
# Basic Content Block
--------------------------------------------------------------*/

.basic_content {
	padding: var(--standard-padding) 0;
}

.basic_content p:first-of-type {
	margin-top: 0;
}

.basic_content_bottom {
    padding-bottom:  var(--standard-padding);
}

.basic_content_bottom p:first-of-type {
    margin-top: 0;
}



.basic_content_border_bottom {
    border-bottom: 2px solid #A7BECE;
}


.basic_content.dark_background {
  color: #fff;
}


/*--------------------------------------------------------------
# Full Width Row
--------------------------------------------------------------*/


.fwc-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    padding: 3% 0;
    overflow: hidden;
}

.fwc-column {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.fwc-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.fwc-content {
    max-width: 647px;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
}

.fwc-row .fwc-column:first-child .fwc-content {
    margin-left: auto; /* Align content to the right in the left column */
    padding-right: 7.5%; /* Add right padding */
}

.fwc-row .fwc-column:last-child .fwc-content {
    padding-left: 7.5%; /* Add left padding */
}


.fwc-content h2 {
    font-size: 2rem;
    line-height: 1.1;
    color: var(--accent-lb);
}

.fwc-content a {
    display: inline-block;
    font-size: 1.25rem;
    margin-top: 20px;
    padding: 8px 22px;
    background-color: var(--accent-lb);
    color: var(--light-blue);
    text-decoration: none;
    transition: background-color 0.3s;
}

.fwc-content a:hover {
    background-color: var(--orange);
}

.fwc-content ul,
.fwc-content ol {
  padding-left: 0;
  margin-left: 20px;
}

.fwc-content li {
  margin-bottom: 1rem;
}

.full_width_dark .fwc-content h2 {
    color: var(--accent-db);
}

.full_width_dark .fwc-content p {
    color: #fff;
}


.full_width_dark .fwc-content a {
    display: inline-block;
    font-size: 1.25rem;
    margin-top: 20px;
    padding: 8px 22px;
    background-color: transparent;
    border: 2px solid var(--accent-db);
    color: var(--light-blue);
    text-decoration: none;
    transition: background-color 0.3s;
}

.full_width_dark .fwc-content a:hover {
    background-color: var(--accent-db);
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .fwc-row {
        flex-direction: column;
        padding: 0 0;
    }
    .fwc-column {
        width: 100%;
        padding: 10px 0; /* Adjust padding for stacked layout */
    }
    .fwc-row .fwc-column:first-child .fwc-content,
    .fwc-row .fwc-column:last-child .fwc-content {
        padding-left: 0;
        padding-right: 0;
    }
    .fwc-image {
        min-height: 350px;
    }
    .fwc-row.image-right {
        flex-direction: column-reverse;
    }
    .fwc-content {
        max-width: 100%;
        width: 100%;
        padding: 40px 40px !important;
    }
}



/*--------------------------------------------------------------
# Target Sector Full Width Row
--------------------------------------------------------------*/

.tsfw-row {
    display: flex;
    width: 100%;
    border-bottom: 13px solid var(--orange);
}

.tsfw-row:last-of-type {
    border-bottom: none; /* Remove bottom border for the last row */
}

.tsfw-column {
    flex: 1;
    padding: 0;
    /*  height: calc(560 / 1920 * 100vw); */
}

.tsfw-column:nth-child(1) {
    background-color: var(--dark-blue);
    color: #fff; /* Ensure all text is white */
}

.tsfw-column:nth-child(2) {
    background-color: var(--accent-lb);
    color: #fff; /* Ensure all text is white */
}

.tsfw_light_background .tsfw-row .tsfw-column:nth-child(1),
.tsfw_light_background .tsfw-row .tsfw-column:nth-child(2) {
    background-color: var(--light-blue);
    color: var(--dark-blue); /* Ensure all text is white */
}

.tsfw-image {
    background-size: cover;
    background-position: center;
    height: 100%;
    /*min-height: 560px;  Adjust based on your needs */
    display: flex;

}

.tsfw-content {
    padding: var(--standard-padding) 0 var(--standard-padding) 6.5%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    max-width: 647px;
    margin-right: auto;
}

.image-right .tsfw-content {
    margin-right: 0; /* Reset margin for right-aligned content */
    margin-left: auto; /* Align content to the left */
    padding-right: 6.5% !important;
    padding-left: 0;
}


.tsfw-content h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.1;
}

.tsfw-content p {
   font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.tsfw-content a {
    margin-top: 20px;
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-lb);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.tsfw-content a:hover {
    background-color: var(--orange);
    color: var(--dark-blue);
}

.image-right .tsfw-image {
    order: 2;
}



/* Responsive styles */

@media (max-width: 1350px) {

  .tsfw-content {
    padding: var(--standard-padding) 40px var(--standard-padding) 6.5%;
  }

  .image-right .tsfw-content {
    padding-left: 40px;
  }

}

@media (max-width: 1200px) {

  .tsfw-content h2 {
      margin-bottom: 15px;
  }

  .tsfw-content p {
     margin-top: 5px;
  }

}


@media (max-width: 1100px) {
    .tsfw-row {
        flex-direction: column;
    }

    .tsfw-column {
        width: 100%;
    }

    .tsfw-image {
        order: 1; /* Ensure image is always on top */
        height: calc(1062 / 1920 * 100vw);
        min-height: auto;
    }

    .image-right .tsfw-image {
        order: 1; /* Ensure image is always on top */
    }

    .tsfw-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 767px) {


    .tsfw-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/*--------------------------------------------------------------
# Sub Navigation
--------------------------------------------------------------*/

.sub-navigation-container {
    text-align: center;
    margin: 0 auto;
}

.sub-navigation {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.sub-navigation li {
    display: inline;
    margin: 0 10px;
}

.sub-navigation li a {
    color: var(--dark-blue);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px; /* 5px border-radius */
    border: 1px solid transparent; /* Transparent border to prevent shifting */
    transition: all 0.3s ease;
}

.sub-navigation li a:hover,
.sub-navigation li.current-menu-item a {
    border-color:var(--accent-lb); /* 1px solid border on hover and active */
}

.sub-navigation li a:visited {
    color: var(--dark-blue);
}

.sub-navigation-toggle {
    display: none;
}

/* Responsive adjustments for dropdown */
@media (max-width: 992px) {

    .sub_menu_box {
        overflow: visible !important;
        z-index: 5;
    }

    .sub-navigation-container {
        position: relative;
    }
    .sub-navigation {
        display: none; /* Hide the menu by default */
        position: absolute;
        top: 100%; /* Position below the toggle button */
        left: 0;
        right: 0;
        background: var(--light-blue);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .sub-navigation.open {
        display: block; /* Show the menu when open */
    }
    .sub-navigation li {
        display: block;
        margin: 10px 0; /* Spacing between menu items */
    }
    .sub-navigation-toggle {
        display: block;
        cursor: pointer;
        padding: 10px;
        background-color: #04052B;
        color: white;
        border-radius: 5px;
    }

    .sub-navigation li a:hover,
    .sub-navigation li.current-menu-item a {
        border-color:transparent;
        color: var(--orange);
    }





}


/*--------------------------------------------------------------
# Masonry Grid
--------------------------------------------------------------*/

.masonry-grid {
    display: flex;
    margin: -10px; /* Adjust based on your design */
    flex-wrap: wrap;
    margin-bottom: 6.5%;
}

.masonry-item {
    width: calc(50% - 20px); /* Two columns with spacing */
    margin: 10px; /* Adjust based on your design */
    box-sizing: border-box;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .masonry-item {
        width: calc(100% - 20px); /* One column for smaller screens */
    }
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

.gform_heading {display: none;}

.gform_wrapper form {
    margin-top: 5.5%;
}

legend.gfield_label,
label.gfield_label,
.gform-field-label.gform-field-label--type-sub  {
    display: none !important;
}

.gform-theme--foundation .gform_footer {
    justify-content: center; /* Center items horizontally */
    align-items: center;
}

.gform_button.button {
    padding: 19px 50px !important;
    font-size: 1.25rem !important;
}

.gform_button.button:hover {
    background-color: var(--orange) !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="week"],
input[type="color"],
input[type="file"],
input[type="checkbox"],
input[type="radio"],
textarea,
select {
    font-size: 1.25rem !important;
}


/*--------------------------------------------------------------
# Feature List
--------------------------------------------------------------*/

.feature-list {
    display: flex;
    flex-direction: column;
}

.feature-item {
    font-size: 1.125rem; /
    line-height: 1.5;
}

.feature-item h2 {
    font-size:2rem;
    line-height: 2.438rem;
    color: var(--accent-lb);
    margin-bottom: 10px;
}

.feature-item p {
    margin-bottom: 7%; /* Adjust as needed */
}

.feature-item a {
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    background-color: var(--accent-lb);
    padding: 8px 24px;
    border-radius: 5px;
    transition: all 0.3s;
}

.feature-item a:hover {
   background-color: var(--orange); /* Adjust as needed */
}


/*--------------------------------------------------------------
# Feature Business List
--------------------------------------------------------------*/



.business-info-block-container .business-info-block {
    display: flex;
    width: 100%;
    align-items: top; /* Vertically center the logo and content */
    margin-bottom: 60px;
}

.business-info-block-container .business-info-block:last-of-type {
    margin-bottom: 0;
}

.bib-column {
    padding: 10px;
    box-sizing: border-box;
}

.bib-logo {
    flex: 0 0 76px; /* Fixed size for the logo column */
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bib-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure the logo fits within the 76px by 76px area */
}

.bib-content {
    flex: 1;
    padding-left: 20px;
}

.bib-content h2 {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--accent-lb);
  margin-bottom: 20px;
}

.bib-content h3 {
    font-size: 1.375rem;
    color: var(--accent-lb);
    line-height: 1.5;
    margin-bottom: 20px;
}


.bib-content a {
    color: var(--accent-lb);
    text-decoration: underline;
}

.bib-content a:hover {
    color: var(--orange);
}

@media (max-width: 992px) {
    .business-info-block {
        flex-direction: column;
        align-items: flex-start; /* Align items to the start in column layout */
    }

    .bib-logo,
    .bib-content {
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .bib-content {
        text-align: left;
    }
}



/*--------------------------------------------------------------
# College Info Block
--------------------------------------------------------------*/

.college-info-block {
  margin-bottom: 65px;
}

.college-info-block h2,
.college-info-block h3,
.college-info-block h4 {
  color: var(--accent-lb);
}

.college-info-block h3 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 5px;
}

.college-info-block h4 {
  font-size: 1.563rem;
  font-weight: 300;
  margin-top: 0;
}

/*--------------------------------------------------------------
# 2 Column Left
--------------------------------------------------------------*/

.two-column-left-full-width {
    display: flex;
    width: 100%;
    position: relative;

}

.two-column-left-full-width .left-column,
.two-column-left-full-width .right-column {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--standard-padding) 0;
}

.two-column-left-full-width .left-column {
    justify-content: flex-end; /* Align the text-container to the right */
}

.two-column-left-full-width .text-container {
    max-width: 647px;
    width: 100%;
    text-align: left; /* Align text inside the container to the left */
    padding: 40px;
    box-sizing: border-box;
}

.two-column-left-full-width .right-column {
    background-size: cover;
    background-position: center;
    min-height: 100%;
}

.two-column-left-full-width .text-container h2 {
    color: var(--accent-lb);
    font-size: 2 rem;
}

@media (max-width: 992px) {
    .two-column-left-full-width .two-column-left-full-width {
        flex-direction: column;
    }

    .two-column-left-full-width .left-column,
    .two-column-left-full-width .right-column {
        width: 100%;
        height: auto; /* Adjust height for mobile view */
    }

    .two-column-left-full-width .left-column {
        justify-content: center; /* Center the text-container on mobile view */
    }

    .two-column-left-full-width .text-container {
        max-width: 100%;
    }

    .two-column-left-full-width .right-column {
        min-height: 350px; /* Set a minimum height for mobile view */
    }
}

/*--------------------------------------------------------------
# Banner Image
--------------------------------------------------------------*/

.banner_image {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 41.875%; /* 41.875% is 0.41875 * 100 to maintain the aspect ratio */
}

.banner_image::before {
    content: "";
    display: block;
    padding-top: 41.875%; /* Maintain aspect ratio by using padding-top */
}

.banner_image_medium {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 36.98%; /* 41.875% is 0.41875 * 100 to maintain the aspect ratio */
}

.banner_image_medium::before {
   content: "";
    display: block;
    padding-top: 36.98%; /* Maintain aspect ratio by using padding-top */
}


.banner_image_small {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 21.77%; /* 41.875% is 0.41875 * 100 to maintain the aspect ratio */
}

.banner_image_small::before {
   content: "";
    display: block;
    padding-top: 21.77%; /* Maintain aspect ratio by using padding-top */
}

/*--------------------------------------------------------------
# Content Image Gallery
--------------------------------------------------------------*/

.content-with-image-gallery_container {
    background: linear-gradient(to bottom, #EAF2FA 65%, #fff 65%);
    box-sizing: border-box;
}

.cw-content {
    margin-left: 8.33%; /* Offset by 1 column (assuming 12-column grid) */
    padding: 20px 0;
}

.cw-image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Ensure space between items */
    gap: 20px;
    margin-top: 20px;
}

.cw-gallery-item {
    width: calc(50% - 10px); /* Two items per row with gap */
    margin-bottom: 20px;
}

.cw-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}



/*--------------------------------------------------------------
# Contact Information
--------------------------------------------------------------*/

.contact_information h2 {
    color: var(--accent-lb);
    font-size: 2rem;
}


/*--------------------------------------------------------------
# Search Page
--------------------------------------------------------------*/

.serach_page {
    padding: var(--standard-padding) 0;
}

.serach_page article {
    border-bottom: 2px solid var(--orange);
    margin-bottom: 3%;
}

.serach_page .entry-summary {
    margin-bottom: 50px;
}


/*--------------------------------------------------------------
# Logo List
--------------------------------------------------------------*/

.logo-list-container {
    display: flex;
    justify-content: center; /* Centers the entire logo list */
    width: 100%;
}

.logo-list-grid {
    display: flex;
    flex-wrap: wrap; /* Allows logos to wrap to the next line */
    gap: 30px; /* Space between logos */
    justify-content: center; /* Centers logos within each row */
    align-items: center;
}

.logo-item {
    flex: 0 1 auto; /* Adjusts size based on content */
}

.logo-item img {
    max-height: 113px;
    width: auto;
    display: block;
    transition: transform 0.3s;
}

.logo-item:hover img {
    transform: scale(1.05);
}

/*--------------------------------------------------------------
# Custom Table Laborshed
--------------------------------------------------------------*/
.custom-distance-table.laborshed_overide


.custom-distance-table.laborshed_overide {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.custom-distance-table.laborshed_overide thead th {
  color: #0273E3; /* blue text */
  font-weight: bold;
  text-align: left;
  padding: 12px 15px;
  border-bottom: 2px solid #ccc;
}

.custom-distance-table.laborshed_overide tbody td {
  padding: 12px 15px;
  color: #0A0A23; /* dark navy text */
}

.custom-distance-table.laborshed_overide tbody tr:nth-child(even) td {
  background-color: transparent; /* no zebra striping */
}

.custom-distance-table.laborshed_overide tbody tr td {
  border-bottom: 1px solid #ccc;
}

.custom-distance-table.laborshed_overide tbody tr:last-child td {
  border-bottom: none; /* remove border on last row */
}

/* Make columns evenly spaced */
.custom-distance-table.laborshed_overide thead th,
.custom-distance-table.laborshed_overide tbody td {
  width: 25%; /* 4 columns → 25% each */
}


/* Add horizontal scroll at small screens */
@media (max-width: 600px) {

  .custom-distance-table.laborshed_overide {
    min-width: 650px; /* set this to the table's natural width */
    width: 650px;
  }

  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  }
}


/*--------------------------------------------------------------
# Blue Box Cal Out
--------------------------------------------------------------*/

.blue_callout_box>.vc_column-inner  {
  border-radius: 20px;
  padding: 5% 0 !important;
}
