/*
 Theme Name:     YGS Licensing Store Theme
 Theme URI:      https://theygsgroup.com/
 Description:   YGS Licensing Child Theme
 Author:         Nick Lamb nick@redrocketindustries.com
 Author URI:     https://theygsgroup.com/
 Template:       Divi
 Version:        1.0.1
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/*
 ** Header
*/

/* Add linkedin and youtube soical media icons */
.et-social-linkedin a.icon:before {
content: "\E09D";
}
.et-social-youtube a.icon:before {
content: "\e0a3";
}


/*
 ** Single product pages 
*/
.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td.value span:after {
	content: none;
}
.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td select {
	border-width: 1px;
	background-color: white;
	font-weight: 400;
	font-size: 14px;
	line-height: 16px;
	margin: 0px;
	color: #112337 !important;
	padding-top: 10px;
}

table.variations tbody tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.variations td.value {
    width: 100%;
}

.woocommerce div.product form.cart .variations label {
	font-weight: 500;
	margin-bottom: 5px;
	color: #112337;
}

.woocommerce div.product form.cart .variations td {
    padding: 0 40px 10px 0 !important;
}

.woocommerce .woocommerce-message {
    background: #0054A6;
}

.woocommerce-message a.button.wc-forward {
	color: #0054A6 !important;
}

woocommerce-page a.button, woocommerce a.button {
	color: #0054A6 !important;
}

.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
	line-height: 2.75em;
}

.woocommerce div.product form.cart .variations {
	margin-bottom: -40px;
}

/* Gravity Forms */
#gform_28 > div > div.woocommerce-variation.single_variation > div.woocommerce-variation-price {
	display: none;
}

.gform-theme--foundation .gform_fields {
  grid-row-gap: 20px !important;
}

body .gform_wrapper .gform_footer input[type=submit] {
	background-color: #576b83 !important;
	margin-bottom: 15px !important;
}

body .gform_wrapper .gform_footer input[type=submit]:hover {
border: 1px solid rgba(114,114,114,0.6);
background-color: #6e849f !important;
}

body .gform_wrapper .gform_footer input[type=submit]:active {
border: 1px solid #ed1c24 !important;
top: 1px;
}

body .gform_wrapper .gform_footer input[type=submit]:focus {
border-color: green !important;
background-color: green !important;

}

#gform_10 > div > div.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled > button {
	background-color: #0054A6;
}

body .gform_wrapper label.gfield_label {
	margin-top: 0px !important;
	padding-top: 0px !important;
}

div.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled > div.quantity
.quantity[style] {
	display: inline !important;
}

.et_pb_wc_add_to_cart form.cart .button,.et_pb_wc_add_to_cart form.cart div.quantity  {
	float: left !important;
}

    #gfield_description_28_6, #gfield_description_28_8, #gfield_description_28_17, #gfield_description_28_20, #gfield_description_28_21, #gfield_description_28_22, #gfield_description_28_25, #gfield_description_28_30, #gfield_description_28_33, #gfield_description_28_45, #gfield_description_28_48, #gfield_description_28_50, #gfield_description_28_51, #gfield_description_28_52,  #gfield_description_28_54, #gfield_description_28_70, #gfield_description_28_71, #gfield_description_28_72, #gfield_description_28_73, #gfield_description_28_84, #gfield_description_28_90, #gfield_description_28_113, #gfield_description_28_136, #gfield_description_28_141, #gfield_description_28_142  {
    display: none;
}

/* HIDES LOCAL IMAGE PROOF NOTE AFTER 7 SECONDS */
#field_28_140 {
    -moz-animation: cssAnimation 0s ease-in 7s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 0s ease-in 7s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 0s ease-in 7s forwards;
    /* Opera */
    animation: cssAnimation 0s ease-in 7s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
@keyframes cssAnimation {
    to {
        width:0;
        height:0;
        overflow:hidden;
    }
}
@-webkit-keyframes cssAnimation {
    to {
        width:0;
        height:0;
        visibility:hidden;
    }
}

/**
* snippet Make embeded videos responsive
* how-to Read at https://wcsuccessacademy.com/?p=27
* source code https://wcsuccessacademy.com/?p=27
* author John Cook
* tested with WooCommerce 3.3.3
*/
.ResponsivevideoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
  float:left;
  width:100%
}
.ResponsivevideoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Product Image Overlays  */
.woocommerce-product-gallery__wrapper {
    position: relative;
    }

.image-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .image-overlay p {
    margin: 0;
    }

/*
 ** Shop Archive pages
*/

.et-db #et-boc .et-l .et_overlay:before {
	color: #0054A6;
}

/* WOOCOMMERCE BUTTONS */
.woocommerce a.button, .woocommerce-page a.button {
	color: #0054a6;
}


