/*
Theme Name: Dalco Website
Theme URI: http://basework.studio
Author: Basework Studio
Author URI: http://basework.studio
Version: 1.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: dalco
*/

/*
 * Offsets the scroll stop so a section opened by anchor (e.g. /services/#consulting)
 * doesn't hide its heading under the fixed header.
 *
 * The design has no anchors — added for comp-4's "Explore" buttons, so it lives
 * here rather than in the frontend's main.css. `id` is only printed when the
 * editor sets `custom_id` in the Advance tab, so the rule affects no other
 * section.
 */
section[id] {
	scroll-margin-top: 140px;
}

@media (max-width: 991px) {
	section[id] {
		scroll-margin-top: 100px;
	}
}

/*
 * GF's anchor (`#gf_{id}`): when a non-AJAX form (contact) reloads with a validation
 * error, the browser jumps here. Without an offset the first field row and its
 * error stayed under the fixed header.
 */
.gform_anchor {
	scroll-margin-top: 140px;
}

@media (max-width: 991px) {
	.gform_anchor {
		scroll-margin-top: 110px;
	}
}

@media only screen and (min-width: 1201px) and (max-width: 1439px) {
    .comp-12-intro .description, .comp-12-intro .title {
        font-size: 20px !important;
    }
}

/*
 * comp-7's background was an image in the design, switched to video. The
 * .comp-7-media rule in main.css only covers img/picture (comp-1's selectors
 * include video, comp-7's don't) — the missing video rule is added here.
 */
.comp-7-media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.comp-38-item img {
	width: 60% !important;
	height: auto !important;
}

.comp-7-media video {
		display: block;
		width: 100%;
		height: auto;
}

.footer-social-icon {
	opacity: 0.5;
	height: 32px !important;
	width: 32px !important;
}

/*
 * comp-16 wasn't designed as a hero, so it has no top spacing of its own
 * (comp-15 and comp-18 have `padding-top: 140px`). When it's the page's first
 * block, the spacing comes from here.
 */
main > .comp-16:first-child {
	padding-top: 180px;
}

@media only screen and (min-width: 320px) and (max-width: 1023px) {
	main > .comp-16:first-child {
		padding-top: 160px;
	}
}


.comp-15-media-style-2 .comp-15-figure {
	height: auto;
}
/* comp-49 custom logo — main.css only sizes the inline svg */
.comp-49-logo img {
	display: block;
	width: auto;
	height: 34px;
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
	.comp-49-logo img {
		height: 28px;
	}
}
@media only screen and (min-width: 320px) and (max-width: 1023px) {
	.comp-49-logo img {
		height: 22px;
	}
}


.comp-44 .comp-44-head {
	display: flex;
	max-width: 100%;
	justify-content: space-between;
}
/* Checkbox group in quote forms (network → Product Type): main.css only styles radios */
.comp-33-form .gfield--type-checkbox > .quote-field-name {
	display: none;
}
.comp-33-form .gfield_checkbox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
	min-height: 34px;
	padding: 0 0 12px;
	border-bottom: 0.5px solid rgba(56, 56, 56, 0.5);
}

.product-popup-media-tag {
		color: #626262;
    font-family: LT Superior Regular;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    padding-bottom: 24px;
		margin-top: 12px;
}

.comp-17 {
	display: none;
}

.comp-15-footer {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.comp-15-footer-button {
	display: flex;
	justify-content: center;
}
.comp-15-item .subheading {
        font-size: 18px;
    margin-top: 4px;
}

.comp-19-action {
	display: flex;
	justify-content: center;
	margin-bottom: 120px;
}

.comp-19-action .button {
	background: #fb290e;
    border-color: #fb290e;
    color: #fff;
    font-family: LT Superior Bold;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    max-width: 100%;
    text-decoration: none !important;
}
.comp-19-action .button:hover {
	    background: #fff;
    color: #fb290e;
}