/*
 Theme Name:     Nationwide Video
 Theme URI:      https://nationwidevideo.com/
 Description:    Custom theme for Nationwide Video
 Author:         Real Integrated
 Author URI:     https://www.realintegrated.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

.hide{display:none;}

/* BOF ::: Turn mobile menu into accordion style drop downs */
/**** This hides the sub menu items on mobile ****/
#page-container .mobile_nav li ul.hide {
    display: none !important;
}
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
#page-container .mobile_nav .menu-item-has-children {
    position: relative;
}
#page-container .mobile_nav .menu-item-has-children > a {
    background: transparent;
}
/**** This styles the icon and moves it to the right ****/
#page-container .mobile_nav .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}
/**** Here you can swap out the actual icons ****/
#page-container span.menu-closed:before {
    content: "\4c";
    display: block;
    color: #000;
    font-size: 16px;
    font-family: ETmodules;
}
#page-container span.menu-closed.menu-open:before {
    content: "\4d";
}
/* EOF ::: Turn mobile menu into accordion style drop downs */


/* Vertically center text when "equalize" row option is set */
.et_pb_equal_columns >.et_pb_column {
margin-top:auto;
margin-bottom:auto;
}

/* Make product img container bg white */
#prod-img-wrap .woocommerce-product-gallery__image, #prod-img-wrap .flex-control-thumbs img{
	background-color: white;
}
#prod-img-wrap .flex-control-thumbs li img{
	opacity: 1;
}

/* Remove quote buttons from recommended gear line */
#rec-gear .yith-ywraq-add-to-quote{
	display:none;
}

/* Remove bottome border from product tabs controls */
#prod-tabs ul.et_pb_tabs_controls:after{
	border: 0;
}

#prod-atq-butt a.add-request-quote-button{
	width: 100%;
    text-align: center;
    font-size: 18px;
    letter-spacing: 2px;
    padding: 15px 0 !important;
	background:url(https://nationwidevideo.com/wp-content/uploads/2021/02/nw-product-butt-fire.png) no-repeat center;
}

/* Mega Menu Styles */
.et_pb_menu_0_tb_header.et_pb_menu .mega-menu ul li a, .et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu .mega-menu ul li a,
.mega-menu .menu-item a, .mega-menu .menu-item .menu-item a{
	font-family:'Evogria Reg',Helvetica,Arial,Lucida,sans-serif;
	color: #00833e !important;
	font-weight: normal !important;
	font-size:18px !important;
}
.mega-menu .menu-item .menu-item .menu-item a, .et-db #et-boc .et-l .mega-menu .menu-item .menu-item .menu-item a{
	font-family:'Lato',Helvetica,Arial,Lucida,sans-serif !important;
	color: #000000 !important;
	text-transform:none !important;
	padding-top:0;
	padding-bottom:0;
	line-height:1.4em;
	font-size:16px !important;
}
.et-menu-nav li.mega-menu li>a{
	width: 240px !important;
}
.et-menu-nav li.mega-menu>ul>li>a:first-child{
	border:0 !important;
}
.et-menu-nav li.mega-menu>ul{
	background: url(https://nationwidevideo.com/wp-content/uploads/2021/02/nw-mega-paisley.jpg) repeat-x bottom ;
}
.hideme>a{ display: none !important; }
.hideme>ul>li>a{
	padding-top: 0;
}
.hideme .sub-menu .sub-menu li:last-child a{
	padding-bottom: 6px !important;
}
.mega-toggle-block.mega-html-block{
	font-family:'Evogria Reg',Helvetica,Arial,Lucida,sans-serif;
	color: black;
}

/* Other Custom Menu Styles */
.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li.inner-dd ul.sub-menu a{
	color: #00833e !important;
}
.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li.inner-dd ul.sub-menu .current_page_item a{
	color: #000 !important;
}

/* YITH Quotes Styles */
.woocommerce div[class*='ywraq'] h1, .woocommerce div[class*='ywraq'] h2, .woocommerce div[class*='ywraq'] h3, .woocommerce div[class*='ywraq'] h4, .woocommerce div[class*='ywraq'] h5, .woocommerce div[class*='ywraq'] h6, .ywraq_my_account_quotes_title{
	font-family: 'Evogria Reg',Helvetica,Arial,Lucida,sans-serif;
}
.ywraq-form-table-wrapper.wide form#yith-ywraq-form{
	flex-basis: 80% !important;
}
.yith-ywraq-mail-form-wrapper{
	background: white;
	border: 2px solid black;
}
form#yith-ywraq-form table{
	background: white;
	border: 2px solid;
	border-radius: 0;
}
form#yith-ywraq-form table.shop_table td{
	border-top: 2px solid;
}
#yith-ywraq-form .update-list-wrapper{
	float: right;
}
#yith-ywraq-form .update-list-wrapper input[type="submit"]{
	margin-top: 0 !important;
}
.ywraq-form-table-wrapper.wide form#yith-ywraq-form{
	margin-bottom: 30px;
}

/* YITH Nav Widget Styles */
.et_pb_menu .site-raq{
	display:flex;
	align-items:center;
}
.et_pb_menu .widget_ywraq_mini_list_quote .yith-ywraq-list-wrapper{
	right:0;
}
.raqListButt .widget_ywraq_mini_list_quote .raq-info{
	border: none;
	color: white;
	padding: 10px 0 10px 18px;
}
.raqListButt .ywraq-quote-icon-icon_quote:before{
	color: #fff;
	font-size: 26px;
}
.raqListButt li.no-product{
	width: 100%;
	padding: 0 !important;
	text-align: center;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li a.button, .et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li a.button{
	color: black !important;
	font-size: 14px;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li a.button:hover, .et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li a.button:hover{
	background-color: #00833E !important;
	color: white !important;
	opacity: 1;
}
.et_pb_menu .yith-ywraq-list-content ul{
	visibility: visible;
	opacity:1;
	border:none;
	box-shadow:none;
}
.et_pb_menu_0_tb_header.et_pb_menu .yith-ywraq-list-content ul li a, .et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu .yith-ywraq-list-content ul li a{
	color:#00833e !important;
	line-height:1.2;
}
.et_pb_menu .site-raq li.yith-ywraq-list-item{
	padding: 10px 0 5px 23px;
	width: 100%;
}
.et_pb_menu .site-raq ul.yith-ywraq-list a.yith-ywraq-item-remove.remove{
	top:4px;
}
.et_pb_menu .site-raq a.yith-ywraq-item-remove{
	padding:0 0 29px;
}
.et_pb_menu .site-raq a.yith-ywraq-list-item-info{
	padding:0;
	width:100%;
}

/* YITH Product Add-On Styles */
.yith-wapo-addon-type-checkbox h4{
	font-family: 'Evogria Reg',Helvetica,Arial,Lucida,sans-serif;
	color: black;
	font-size: 20px;
	margin-bottom: 0 !important;
}
#nw-paddon .ywapo_group_container.form-row.form-row-wide, #nw-paddon .ywapo_input_container{
	margin-bottom: 0 !important;
}
#nw-paddon .yith_wapo_groups_container{
	margin-top: 0 !important;
}
.ywapo_group_container input[type=checkbox]{
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	appearance: none;	
}
.ywapo_input_container_checkbox {
    display: inline-flex;
    cursor: pointer;
    position: relative;
}

.ywapo_input_container_checkbox > label > span {
    padding: 0.5rem 0.25rem;
}

.ywapo_input_container_checkbox > input {
    height: 25px;
    width: 25px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: 1px solid #000;
    border-radius: 4px;
    outline: none;
    transition-duration: 0.3s;
    background-color: #00833e;
    cursor: pointer;
	margin-bottom: -5px;
  }

.ywapo_input_container_checkbox > input:checked {
    border: 1px solid #00833e;
    background-color: #000;
}

.ywapo_input_container_checkbox > input:checked + label > span::before {
    content: '\2713';
    display: block;
    text-align: center;
    color: #00833e;
    position: absolute;
    left: 0.6rem;
    top: 0rem;
	font-weight: bold;
}

.ywapo_input_container_checkbox > input:active {
    border: 2px solid #000;
}

/* Footer Styles */
ul[id*='menu-footer'] li:last-of-type{
	display: none !important;
}

/* Form Styles for Popups */
.dsm-popup{
	background-color: black;
	border: 2px solid white;
	padding: 0 15px;
}
.nw-form-pop .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):not([type=number]){
	padding: 15px 4px;
}
.nw-form-pop .gform_wrapper ul.gform_fields li.gfield{
	padding-right: 0;
}
.nw-form-pop .top_label .gfield_label{
	color:#00833e !important;
	font-family: 'Evogria Reg',Helvetica,Arial,Lucida,sans-serif;
}
.nw-form-pop .gform_wrapper ul li.gfield{
	margin-top: 10px;
}
.nw-form-pop .gform_wrapper .gform_footer{
	margin: 0;
}
.nw-form-pop .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit]{
	width: 100%;
    border: 2px solid white;
    background: #00833e;
    color: white;
	font-family: 'Evogria Reg',Helvetica,Arial,Lucida,sans-serif;
	font-size: 20px;
	padding: 15px 0;
}
.nw-form-pop .gform_wrapper div.validation_error, .nw-form-pop .gform_wrapper li.gfield.gfield_error, .nw-form-pop .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning{
	background-color: rgba(255,223,224,.75);
}
.nw-form-pop .gform_confirmation_message{
	color: white;
    font-size: 22px;
    line-height: 1.4em;
    padding-bottom: 15px;
}
.nw-form-pop .gform_wrapper .gfield_required{
	font-family: initial;
	color: red;
}
.nw-form-pop .gform_wrapper ul.gfield_checkbox li label, .nw-form-pop .gform_wrapper ul.gfield_radio li label{
    color: white;
	font-family: 'Evogria Reg',Helvetica,Arial,Lucida,sans-serif;
	font-weight: normal !important;
}

/* Custom Styles for WooCommerce My Account Area */
.woocommerce-message a{ color:white; }
.woocommerce-account .woocommerce-MyAccount-navigation{
	width: 22%;
}
.woocommerce-account .woocommerce-MyAccount-content{
	width: 70%;
}
@media only screen and (max-width:768px){
	.woocommerce-account .woocommerce-MyAccount-navigation{
		width: 100%;
	}
	.woocommerce-account .woocommerce-MyAccount-content{
		width: 100%;
}
	
}
.woocommerce-MyAccount-navigation ul{
	padding: 0;
}
.woocommerce-MyAccount-navigation ul li{
	list-style: none;
	font-family: 'Evogria Reg',Helvetica,Arial,Lucida,sans-serif;
	font-size: 18px;
	line-height: 45px;
	padding: 0 10px;
	border-bottom: 1px solid #d1d1d1;
}
.woocommerce-MyAccount-navigation ul li a{
	color: black;
}
.woocommerce-MyAccount-navigation ul li.is-active a{
    color: #00833e;	
}

/* General WooCommerce Custom Styles */
p.woocommerce-result-count{
	font-family: 'Evogria Reg',Helvetica,Arial,Lucida,sans-serif;
	color: black;	
}
.orderby, .woocommerce div.product form.cart .variations td select{
	background-color: white;
	border-radius: 0;
	color: black !important;
	font-size: 14px;
	border: 2px solid #00833e;
	font-family: 'Evogria Reg',Helvetica,Arial,Lucida,sans-serif !important;
	font-weight: normal;
}
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span{
	font-family: 'Evogria Reg',Helvetica,Arial,Lucida,sans-serif !important;	
}
form.woocommerce-ordering{
	/*display: none !important;*/
}
.yith_ywraq_add_item_browse_message a{
	background-color: #00833e;
	color: white;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 2px;
	padding: 15px 20px;
	line-height: 5em;
	
}

/* Product Page Recently Viewed Widget Styles */
.recent.products li.product{
	margin-bottom: 2em !important;
}
.recent.products .product .et_shop_image{
	border: 4px solid #f2f2f3;
	width: 180px;
	height: 180px;
	background-color: white;
	margin-top: auto;
	margin-bottom: auto;
	overflow: hidden;
}
@media (max-width: 479px){
	.woocommerce-page ul.rc_wc_rvp_product_list_widget.products li.product:nth-child(n){
		width: 48%!important;
	}
	.recent.products .product .et_shop_image{
		height: 150px;
		width: 100%;
		max-width: 180px;
	}
}
.recent.products .product h2{
	font-family: 'Evogria Reg',Helvetica,Arial,Lucida,sans-serif;
    color: #00833e;	
	font-size: 16px;
	line-height: 26px;
	text-align: center;
}

/* Gravity Form Constant Contact Styles */
#gform_wrapper_7 {
	position:relative;
	width:100%;
	max-width: 464px;
	float:left;
	margin: 0;
}
#gform_wrapper_7 .validation_error{
	display: none !important;
}
#gform_wrapper_7 .gform_footer{
	margin: 0;
	padding: 0;
}
#gform_wrapper_7 li.hidden_label input, #gform_wrapper_7 div.ginput_container, #gform_wrapper_7 ul li.gfield{
	margin: 0 !important;
	padding: 0 !important;
}
#gform_wrapper_7 input#input_7_1{
	width: 100%;
	max-width: 464px;
	height: 64px;
	font-size: 16px;
	font-style: italic;
	color: black;

	padding-left: 20px !important;
}
#gform_wrapper_7 .gform_footer {
	width:64px;
	height:62px;
	position:absolute;
	top:1px;
	right:0;

}
#gform_submit_button_7{
	background-color: white;
	border: none;
	height: 62px;
	margin-bottom: 0;
}
#gform_wrapper_7 .gform_required_legend{
	display: none;
}

/* LED Tile Repair Custom Styles */
.led-tile-card h4{
	padding-bottom: 0;
}

/* Tribe Events Calendar Management Styles */
body.tribe-events-page-template #et-main-area, .woocommerce-checkout #et-main-area, .woocommerce-cart #et-main-area{
	margin-top: 85px;
}