/*!
Theme Name: PhranakornSoft Themes for Hello Elementor Child
Theme URI: https://www.phranakornsoft.com/
Author: PhranakornSoft
Author URI: https://www.phranakornsoft.com
Template: hello-elementor
Description: PhranakornSoft Themes for Elementor Child Themes
Version: 1.1
*/

a {
	background-color: transparent;
	text-decoration: none;
	color: #f29a1b; 
}
a:hover, a:active {
	color: #f29a1b;
}
a:not([href]):not([tabindex]) {
	color: inherit;
	text-decoration: none; 
}
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
	color: inherit;
	text-decoration: none;
}
a:not([href]):not([tabindex]):focus {
	outline: 0;
}

.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background-color: #f29a1b;
}
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background-color: #818a91;
}

.elementor-menu-cart__footer-buttons .elementor-button {
	padding: 10px;
}

/*--------------------------------------------------------------------------------*/

/* Single Product */
.yith-ywraq-add-to-quote {
	font-family: 'Noto Sans Thai' !important;
	font-size: 16px !important;
	font-weight: 500;
}

a.add-request-quote-button.button {
    font-family: 'Noto Sans Thai' !important;
}

.yith_ywraq_add_item_browse_message a {
	font-family: 'Noto Sans Thai' !important;
	font-size: 16px !important;
	font-weight: 400 !important;
    color: #FE6700 !important;;
    border-radius: 0 !important;
}

.yith-ywraq-before-table a {
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: 1em !important;
    font-weight: 400 !important;
    background-color: #f26b2c !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}

li#tab-title-description {
    display: none;
}

li#tab-title-additional_information {
    display: none;
}

/* Gravity Form */
#gform_fields_6 {
    font-family: 'Noto Sans Thai', sans-serif !important;
}

.gform_heading {
    display: none;
}

.gform_wrapper.gravity-theme .gform_fields {
	display: flex !important;
	flex-direction: row !important;
	grid-column-gap: 12px !important;
	grid-row-gap: 16px !important;
	flex-wrap: wrap !important;
}

.name, .address, .province, .state {
    width: 100%;
}

.company, .tax-id, .tel, .email, .shipping, .total-product, .vat, .total {
	width: 49%;
}

.gform_wrapper.gravity-theme .gfield textarea.small {
	height: 60px !important;
}

.shipping, .total-product, .vat, .total {
	pointer-events: none;
}

input#gform_submit_button_6 {
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: 1em;
    font-weight: 500;
    padding: 12px;
    background-color: #f26b2c;
    color: #ffffff;
}

#gform_fields_6 input[type=email], #gform_fields_6 input[type=number], #gform_fields_6 input[type=tel], #gform_fields_6 input[type=text], #gform_fields_6 select, #gform_fields_6 textarea {
	border: 1px solid #f26b2c !important;	
	border-radius: 5px !important;
}

@media screen and (max-width: 1440px) {
	.company, .tax-id, .tel, .email, .shipping, .total-product, .vat, .total {
		width: 100% !important;
	}
}

/* YITH */
form#yith-ywraq-form {
    font-family: 'Noto Sans Thai', sans-serif;
}

.ywraq-with-form .ywraq-form-table-wrapper.wide {
	grid-column-gap: 1.5em !important;
	grid-row-gap: 2em !important;
}

#yith-ywraq-form table td.product-thumbnail {
    width: 15% !important;
}

table#yith-ywrq-table-list th {
    padding: 10px !important;
}

table#yith-ywrq-table-list .woocommerce td.product-quantity {
    width: 100% !important;
}

.ywraq-wrapper select,
.ywraq-wrapper textarea,
#yith-ywraq-form select,
#yith-ywraq-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    box-sizing: border-box;
}

input[type=number], .input-text .qty .text {
    width: 100% !important;
}

#ywraq-other-form {
    padding: 2em;
    background-color: #f5f5f5;
}

.ywraq-form-title {
    font-size: 1.2em;
    font-weight: 700;
	text-transform: capitalize;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

.woocommerce table.shop_table td {
	background-color: transparent !important;
}
table tbody tr:hover>td, table tbody tr:hover>th {
	background-color: transparent !important;
}

.woocommerce table.shop_table {
	border-collapse: collapse !important;
}

#yith-ywraq-form th.product-quantity {
    width: 25%;
}

td.product-name a {
	color: #f26b2c !important;
}

button#ywraq-list-to-pdf, #yith-ywraq-form .update-list-wrapper input[type="submit"] {
	font-family: 'Noto Sans Thai', sans-serif;
    font-size: 1em;
    font-weight: 400;
    padding: 12px;
    background-color: #f26b2c !important;
    color: #ffffff;
    border-radius: 0 !important;
}

#yith-ywraq-form .update-list-wrapper input[type="submit"] {
	margin: 0 !important;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: transparent !important;
}

@media screen and (max-width: 768px) {
    .ywraq_responsive .product-name {
        width: 40% !important; 
		font-size: 1em !important; 
    }
	table#yith-ywrq-table-list th {
		padding: 10px !important;
		border: none;
	}
	#ywraq-other-form {
		padding: 2em 1em;
	}
}

/* PDF Template */
.title-header, .desc-header {
    font-family: 'Angsana New', sans-serif;
}

/*=====================*/
/*===== YITH FORM =====*/
/*=====================*/
.yith-ywraq-mail-form-wrapper, .select2-results__option {
    font-family: 'Noto Sans Thai', sans-serif;
	font-weight: 400 !important;
}

.yith-ywraq-mail-form-wrapper {
    background-color: #F0F0F0;
    padding: 2em !important;
    margin: 0 !important;
}

form#yith-ywraq-default-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 15px;
    column-gap: 12px;
}

.yith-ywraq-mail-form-wrapper h3 {
    font-weight: bold;
    text-transform: capitalize;
}

#first_name_field, #last_name_field, #tax_company_field, #tax_id_field, #tel_field, #email_field, #shipping_field, #product_total_field, #vat_field, #result_total_field {
    width: 49%;
}

#address_field, #province_field, #state_field, .select2.select2-container {
    width: 100% !important;
    padding: 0 !important;
}

.select2-selection {
    height: 42px !important;
/*     height: auto !important; */
}

#yith-ywraq-default-form input[type=date], #yith-ywraq-default-form input[type=email], #yith-ywraq-default-form input[type=number], 
#yith-ywraq-default-form input[type=tel], #yith-ywraq-default-form input[type=text], #yith-ywraq-default-form select, #yith-ywraq-default-form textarea,
.select2-container--default .select2-selection--single, select#province {
    border: 1px solid #888888 !important;
    border-radius: 0 !important;
}

input.button.raq-send-request {
    font-family: 'Noto Sans Thai', sans-serif;
    font-weight: 400;
    font-size: 1em;
    background-color: #f26b2c;
    border-radius: 0 !important;
    padding: 15px;
    color: #FFFFFF;
}

input.button.raq-send-request:hover {
    background-color: #ffaa82;
    color: #000000;
}
