/*
 Theme Name:     Alabama Iron and Steel Council
 Theme URI:      https://crftd.dev/
 Description:    Customzied Divi Child Theme. Do not delete Divi, or this theme.
 Author:         CRFTD
 Author URI:     https://crftd.dev/
 Template:       Divi
 Version:        1.0.2
*/


/* =Theme customization starts here
------------------------------------------------------- */
/***
1. HEADER
2. BODY
3. TYPOGRAPHY
4. ELEMENTS
5. FORM
6. FOOTER
7. WOOCOMMERCE
8. POPUP
***/

/*** 1. HEADER ***/
.mobile-ham .mobile_menu_bar:before {
    content: "\5c";
}

.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul {
	border-radius: 12px;
}

.et_pb_menu .et_mobile_menu, .et_pb_menu .et_mobile_menu ul {
    text-align: right !important;
}

.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu {
	border-radius: 20px;
}

.et_mobile_menu {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.et_pb_menu .et_mobile_menu {
    padding: 2% !important;
}

.et_mobile_menu li a {
    padding: 10px 1%;
}


/*** 2. BODY ***/
#main-content {
    min-height: 600px;
}


/*** 3. TYPOGRAPHY ***/  
body, h1, h2, h3, h4, h5, p {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
	padding-bottom: 0px;
}

blockquote {
	margin: 0px;
    padding: 0px;
}

.ias-blog-featured h3 {
	padding-bottom: 5px;
	padding-left: 5px;
}

.ias-blog-featured p {
	padding-left: 5px;
}

.nap-group h4 {
	padding-bottom: 0px;
	margin: 8px 0;
}

/*** 4. ELEMENTS ***/
.et_pb_button_tb_body:before:hover {
	margin-left: -1.3em !important;
}

.aadc-line-btn {
    background: linear-gradient(#8db2cc, #8db2cc) 0 65% / 100% 10px no-repeat;
}

.aadc-line-btn:hover {
    background: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,0)) 0 65% / 100% 10px no-repeat;
}

.et_pb_group_carousel_dots {
	padding-right: 20px;
}

.et_pb_group_carousel_slide_last_visible {
	filter: blur(0) !important;
}

.impact-slides .et_pb_group_carousel_slide {
	filter: blur(2px);
}


/*** 5. FORM ***/
.gform_wrapper.gravity-theme .gfield_label,
.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices li.search-field input[type=text] {
    color: #fff;
    font-family: 'Vend Sans',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 500;
}

.gform_wrapper.gravity-theme .ginput_complex label,
.gform_wrapper.gravity-theme .ginput_complex legend {
    color: #fff;
}

body .gform_wrapper .gform_body .gform_fields .gfield input[type=text],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=email],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel],
body .gform_wrapper .gform_body .gform_fields .gfield textarea,
body .gform_wrapper .gform-body .gform_fields .gfield select,
.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices {
	font-size: 15px;
	line-height: 22px;
    font-family: 'Vend Sans',Helvetica,Arial,Lucida,sans-serif;
	font-style: normal;
	font-weight: 500;
	text-transform: none;
	letter-spacing: .5px;
	border-radius: 0px;
	padding: 14px;
}

body .gform_wrapper .gform_body .gform_fields .gfield input[type=text],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=email],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel],
body .gform_wrapper .gform-body .gform_fields .gfield select,
.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices {
    height: 52px;
}

body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=text],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=email],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=tel],
body #gform_wrapper_1 .gform_body .gform_fields .gfield select,
body #gform_wrapper_1 .gform_body .gform_fields .gfield textarea {
	background-color: #efeff0;
	border: 1px solid #13366f;
	border-radius: 6px;
    transition: transform 300ms ease 0ms;
}

body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=text]:focus,
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=email]:focus,
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=tel]:focus,
body #gform_wrapper_1 .gform_body .gform_fields .gfield textarea:focus,
body #gform_wrapper_2 .gform_body .gform_fields .gfield input[type=text]:focus,
body #gform_wrapper_2 .gform_body .gform_fields .gfield input[type=email]:focus,
body #gform_wrapper_2 .gform_body .gform_fields .gfield input[type=tel]:focus,
body #gform_wrapper_2 .gform_body .gform_fields .gfield textarea:focus {
    border-bottom: 2px solid #041025;
    color: #fff !important;
    padding: 14px 20px;
    background-color: #13366f !important;
    transform: scaleX(1.05) scaleY(1.05) !important;
    transition: transform 300ms ease 0ms;
}

body #gform_wrapper_2 .gform_body .gform_fields .gfield input[type=text],
body #gform_wrapper_2 .gform_body .gform_fields .gfield input[type=email],
body #gform_wrapper_2 .gform_body .gform_fields .gfield input[type=tel],
body #gform_wrapper_2 .gform_body .gform_fields .gfield select,
body #gform_wrapper_2 .gform_body .gform_fields .gfield textarea {
	background-color: #efeff0;
	border: 1px solid #13366f;
	border-radius: 6px;
    transition: transform 300ms ease 0ms;
}

body .gform_wrapper .gform_footer input[type=submit],
body .gform_wrapper .gform_footer input[type=submit]:hover,
.gform_wrapper.gravity-theme .gform_footer button,
.gform_wrapper.gravity-theme .gform_footer button:hover,
.gform-theme--framework .gform_footer input[type="submit"].gform_button,
.gform-theme--framework .gform_footer input[type="submit"].gform_button:hover {
	color: #fff!important;
	background-color: #99272e !important;
	border: 1px solid #99272e;
	border-radius: 100px !important;
    font-family: 'Vend Sans',Helvetica,Arial,Lucida,sans-serif;
	font-size: 16px;
	line-height: 1.7em!important;
	font-weight: 600!important;
	text-transform: uppercase!important;
    letter-spacing: .5px;
	padding-top: 16px!important;
	padding-right: 30px!important;
	padding-bottom: 16px!important;
	padding-left: 30px!important;
	width: 100%;
    margin-left: 0px !important;
    box-shadow: 0px 12px 18px -6px rgba(0,18,43,0.46);
    transition: transform 300ms ease 0ms;
}

body .gform_wrapper .gform_footer input[type=submit]:hover,
.gform-theme--framework .gform_footer input[type="submit"].gform_button:hover {
    transform: scaleX(1.05) scaleY(1.05) !important;
}

/* Other Fields */
.gform_wrapper .gform_fields .gfield input::-webkit-input-placeholder,
.gform_wrapper .gform_body .gform_fields .gfield textarea::-webkit-input-placeholder {
	color: #1b1f26;
	text-transform: none;
	font-weight: 500;
	letter-spacing: .5px;
}

.gform_wrapper .gform_fields .gfield input::-webkit-input-placeholder:focus,
.gform_wrapper .gform_body .gform_fields .gfield textarea::-webkit-input-placeholder:focus,
input:focus::placeholder,
textarea:focus::placeholder {
    color: #fff !important;
    letter-spacing: .5px;
}

.gform_confirmation_message_1 .gform_confirmation_message {
  color: white !important;
  margin-bottom: 30px !important;
}

.gform_confirmation_message {
    color: #ffffff !important;
    margin: 50px 0;
    height: 100%;
    border-radius: 40px;
    border-width: 1px;
    border-style: outset;
    border-color: #94d4eb;
    padding: 60px 40px;
}

/*** 6. FOOTER ***/

/*** 7. WOOCOMMERCE ***/


/*** 8. POPUP ***/
/*** 9. MOBILE ***/
/*change hamburger icon to x when mobile menu is open*/
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}

/*adjust the new toggle element which is added via jQuery*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 100px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}

/*some code to keep everyting positioned properly*/
ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}

/*remove default background color from menu items that have children*/
.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}

/*hide the submenu by default*/
ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}

/*show the submenu when toggled open*/
ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}

/*adjust the toggle icon position and transparency*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}

/*submenu toggle icon when closed*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: #000;
	background: #f0f3f6;
	border-radius: 50%;
	padding: 3px;
}

/*submenu toggle icon when open*/
ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}

/*add point on top of the menu submenu dropdown*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}

/*adjust the position of the hamburger menu*/
.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 10px;
	line-height: 0;
}

/*force the background color and add a rounded border*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}