/**
Theme Name: EC Computers
Author: Free Range Web
Author URI: https://www.freerangeweb.co.uk
Description: Child theme for EC Computers
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ec-computers
Template: astra
*/

@media screen and (min-width: 912px) {
	
	.flex-block {
		transition: 0.3s;
		/*0overflow: hidden;*/
		height: 390px;
	}
	.flex-block:hover {
		max-width: 33%!important;
		width: 180%!important;
		transition: 0.3s;
	}
	.flex-block .wp-block-columns {
		min-width: 200%;
		transition: 0.3s;
	}
	.flex-block:hover .wp-block-columns {
		min-width: 100%;
		transition: 0.3s;
	}
	
	.flex-block:hover .wp-block-columns div:nth-child(2) {
		display:block;
	}
	.flex-block .wp-block-columns div:nth-child(2) p {
		color: transparent;
	}
	.flex-block:hover .wp-block-columns div:nth-child(2) p {
		color: var(--ast-global-color-0);
		transition: 3s;
	}
	.ast-sticky-shrunk .astra-full-megamenu-wrapper {
		top: 62px!important;
	}
}

#gform_wrapper_1 .gform_required_legend {
	display: none;
}
.homepage-form input[type="text"], .homepage-form input[type="email"], .homepage-form input[type="tel"],
.homepage-form textarea {
	background: var(--ast-global-color-7)!important;
}
.homepage-form .gform_page_footer.top_label {
	padding-bottom: 0;
}
.homepage-form input[type="button"] {
	margin-bottom: 0!important;
}

body.ast-left-sidebar .is-layout-flex.wp-block-columns {
	margin-bottom: 40px;
}

/*Sidebar*/

#secondary .sidebar-main aside {
	padding: 20px;
	background: #fff;
}

#menu-sidebar-menu {
	list-style: '>  ' outside;
	padding-left: 20px;
}

#secondary .sidebar-main .gform_required_legend {
	display: none;
}

form .gform-body input:not([type="submit"]), form .gform-body textarea {
	border: 3px solid #E2E8F0;
}

.ecc-contact-form div.gfield_checkbox {
	display: flex;
	justify-content: space-between;
	gap: 0px;
	flex-wrap: wrap;
}
.ecc-contact-form div.gfield_checkbox .gchoice {
	max-width: 49%;
}

#secondary .sidebar-main input[type="submit"] {
	transition: 0.3s;
	margin-top: 32px;
	margin-bottom: 0;
}

#secondary .sidebar-main .gform_wrapper {
	margin-top: 0;
}

.ast-search-box.header-cover {
	background: var(--ast-global-color-3);
}