/*
Theme Name: BlackTower Logistics Theme
Theme URI: 
Description: A child theme for TMS Base Theme, allowing custom styling and functionality without modifying the parent theme.
Template: tms-wp-theme
Author: TMS WP Team
Author URI: 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tms-child-theme
Tags: child-theme
*/

/* ===== Button ===== */
.tms-button {
	border-radius: 3px !important;
}

/* ===== Alternating/Staggered Grid ===== */
.alternating-grid > .wp-block-group {
	flex-wrap: wrap;
	align-items: normal;
}
.alternating-grid > .wp-block-group > * {
	width: 50%;
}
.alternating-grid > .wp-block-group .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.alternating-grid > .wp-block-group > .wp-block-group {
	align-self: center;
}

@media (max-width: 1200px) {
	.alternating-grid {
		padding-top: 2.5rem !important;
		padding-bottom: 2.5rem !important;
	}
}
@media (max-width: 840px) {
	.alternating-grid > .wp-block-group > * {
		width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.alternating-grid > .wp-block-group > .wp-block-group {
		order: 1;
	}
}
@media (max-width: 768px) {
	.alternating-grid {
		padding-top: 1rem !important;
		padding-bottom: 1rem !important;
	}
}

/* ===== Topbar ===== */
header .content-icon-paragraph__nolink {
    align-items: center;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

/* ===== Homepage ===== */

.home #wp--skip-link--target {
	margin-top: 0;
}
.content-buckets-medium{
margin-top:0;
}
.hero-simple__heading{
text-align:center;
}
.content-tabs {
    padding: 0;
}
.testimonial-carousel__card--with-image .testimonial-carousel__card-image-wrapper img {
    width: auto;
}
/* ===== Contact ===== */
.gform_wrapper .gform_heading {
	display: block;
}
.gform-footer .gform_button {
	background: var(--wp--preset--color--tms-primary) !important;
	border-radius: 3px !important;
}
.gform-footer .gform_button:hover,
.gform-footer .gform_button:focus {
	background: var(--wp--preset--color--tms-secondary) !important;
}
.gform_wrapper .gfield--type-fileupload .gfield_label {
    background-color: transparent;
    border: 2px solid var(--wp--preset--color--tms-secondary-button-text-color);
    border-radius: .1875rem;
    color: var(--wp--preset--color--tms-secondary-button-text-color);
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    margin-right: .75rem;
    padding: .5rem .75rem;
	transition: all .3s;
}
.gform_wrapper .gfield--type-fileupload .gfield_label:hover {
	color: #fff;
	background: var(--wp--preset--color--tms-secondary-button-text-color);
}
.gform_wrapper .gform_fields {
	grid-row-gap: var(--gf-form-gap-x);
	row-gap: var(--gf-form-gap-x);
}
.gform_wrapper .ginput_container_address {
	flex-direction: column;
}
.gform_wrapper .gform-grid-col {
	inline-size: 100%;	
}
.gform_wrapper .gform_fields select,
.gform_wrapper .gform_fields input[type="text"] {
	width: 100%;
}
@media (max-width: 1024px) {
    .content-icon-list__column-img {
        order: 1;
    }
}
@media (max-width: 768px) {
    .hero-simple__button-group {
        flex-direction: column;
    }
	.hero-simple__button-group .wp-block-tms-blocks-tms-button{
	     width:100%;
		justify-content: center;
	}
	.hero-simple__button-group .wp-block-tms-blocks-tms-button .tms-button{
	width:35%;
	}
	.cta-banner-background-image__button-group .wp-block-tms-blocks-tms-button {
    display: flex;
    width: 100%;
    justify-content: center;
}
	.cta-banner-background-image__button-group .wp-block-tms-blocks-tms-button .tms-button{
	width:35%;
	}	
}
@media (min-width: 767px) and (max-width: 1023px) {
     .content-buckets-large__items.has-4-columns {
        gap: 20px;
    }
}
@media screen and (max-width: 1000px) {
    .content-tabs__tab--mobile.active .content-tabs__content{
        max-height: fit-content !important;
    }
}