/*
Theme Name: Campos Férias - Hello Child Theme
Theme URI: https://github.com/Mavaware-Technologies/campos-ferias-hello-child-theme
Description: Tema child do Hello Elementor para o projeto Campos Férias.
Author: Mavaware Technologies
Author URI: https://mava.pt
Template: hello-elementor
Version: 2.0.0
Text Domain: campos-ferias-hello-child-theme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* WPForms */


label.wpforms-field-label,
legend.wpforms-field-label{
    font-weight: 500 !important;
  color: #555 !important;     margin-bottom: 8px !important;
}


.wpforms-field-container input {
    background-color: #EDEDED  !important;
  border: 1px solid #d8d8d8  !important;
  border-radius: 10px  !important;
}

#wpforms-2763-field_3-container,
label#wpforms-2683-field_3_suggestion {
    display: none;
}


.wpforms-submit-container button.fgs-button {
    background-color: #E97406 !important;
    width: 100% !important;
    border-radius: 10px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}



/* My Account */

.woocommerce-account .hide_frontend {
    display: none;
}

@media (max-width: 768px) {
  .woocommerce-account .acf-form .acf-field {
    width: 100% !important;
  }
  .woocommerce-account .acf-form .acf-field {
    padding-right: 0;
  }

  /* Só inputs de texto etc. */
  .woocommerce-account .acf-form input:not([type="radio"]):not([type="checkbox"]),
  .woocommerce-account .acf-form textarea,
  .woocommerce-account .acf-form select {
    width: 100% !important;
    box-sizing: border-box;
  }

  .woocommerce-account .acf-form .acf-input {
    width: 100%;
  }
}


.woocommerce-account .acf-fields>.acf-field {
    padding-left: 0;
}


.woocommerce-account a.acf-button.button {
    font-weight: 500;
    font-size: 90%;
}

body.woocommerce-account:not(.woocommerce-participantes) form {
  padding: 2rem;
  background-color: #f5f4f2;
  border-radius: 8px;
  border: 1px solid #ccc;
}

body.woocommerce-account form input{
    border-color: #c9c6ba !important;
}

body.woocommerce-account .acf-fields>.acf-field {
    border: 0 !important;
}



.woocommerce-account .acf-form-submit,
.woocommerce-account button[type=submit] {
    /*margin-top: 1rem;*/
}

.woocommerce-account input:not([type="submit"]),
.woocommerce-account select,
.woocommerce-account textarea {
    border-radius: 3px !important;
    padding: 6px 12px !important;
}

.woocommerce-account input:not([type="submit"]),
.woocommerce-account select {
    height: 40px !important;
    font-size: 16px !important;
}

.woocommerce-account form label {
    line-height: 1;
    font-family: 'Roboto' !important;
    font-weight: 500;
}

.woocommerce-participantes input[type=file] {
    margin-bottom: 8px;
}


.woocommerce-os-meus-dados .acf-form .acf-fields {
    border: 0 !important;
}


/* Menu My Account */
#my-account-menu .user-profile {
    padding: 2rem 1rem;
    background-color: #f5f4f2;
    border-radius: 8px;
    margin-bottom: 0;
}


#my-account-menu .user-profile .logout {
    display: none;
}

.woocommerce-account .page-content {
    margin-top: 2rem;
}

ul.myaccount-menu {
    padding-left: 2rem !important;
}

.myaccount-menu .item-label {
    font-size: 1.1rem !important;
}

.myaccount-menu li.active .item-label  {
    font-size: 105%;
    font-weight: bold;
}

.woocommerce-account .woocommerce-MyAccount-content + p {
    margin: 0;
}


.woocommerce-edit-account .edit-account .woocommerce-form-row--first,
.woocommerce-edit-account .edit-account .woocommerce-form-row--last,
.woocommerce-edit-account #account_display_name_description
{
    display: none;
}



 .woocommerce a.button:not(.acf-button),
 .woocommerce-account button[type=submit]:not(.acf-button) {
    background-color: var(--e-global-color-accent);
     color: white;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    border-style: none;
    border-radius: 4px;
    padding: 10px 24px;
    margin-top: 1rem;
}


 .woocommerce:not(.woocommerce-lost-password) a.button:not(.acf-button):hover,
 .woocommerce-account:not(.woocommerce-lost-password) button[type=submit]:not(.acf-button):hover  {
    text-decoration: none;
    background-color: #C76200;
    color: white;
}


.woocommerce form .form-row {
    /*padding-bottom: 1rem;*/
}


body:not(.woocommerce-novo-participante) .titulo_participante {
    display: none;
}

h3.endpoint_title {
    padding-bottom: 1rem;
    border-bottom: 1px solid;
}

.yith-wcmap-banner {
  flex: 0 1 230px !important;
    border-radius: 8px;
}

.yith-wcmap-banner .banner-icon-counter i {
    font-size: 60px !important;
}

.yith-wcmap-banners-wrapper .yith-wcmap-banner .banner-title {
    text-transform: none !important;
}




body:not([data-elementor-device-mode="mobile"]) .only_on_mobile {
    display: none;
}


[data-elementor-device-mode="mobile"] .yith-wcmap-banner {
    flex: 0 1 100% !important;
}


body:not(.logged-in) .hide_if_loggedout,
body:not(.logged-in) footer {
    display: none;
}


div.wpforms-container-full .wpforms-confirmation-container-full,
div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    background: var(--e-global-color-d2e8563) !important;
    border: 0 !important;
}


.woocommerce-lost-password button:hover {
    background-color: #b75c04 !important;
}




.woocommerce .u-column1.col-1 {
    display: none;
}

.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2,
.woocommerce-ResetPassword {
    float: none;
    width: 600px;
    margin: auto;
}


.woocommerce-ResetPassword .woocommerce-form-row,
.woocommerce-ResetPassword button{
    width: 100% !important;
}

.woocommerce-ResetPassword {
    margin-top: 2rem;
}

.button.woocommerce-form-register__submit {
        width: 100%;
    text-transform: uppercase;
}




/* ENDPOINT - INSCRIÇÕES */

.inscricoes-table {
    width: 100%;
}

.inscricoes-table th,
.inscricoes-table td {
    text-align: center;
    vertical-align: middle;
}

/* Espaçamento entre botões de pagamento na tabela de inscrições. */
.inscricoes-table td .button,
.woocommerce-orders-table td .button {
    margin-right: 8px;
}


.inscritos {
    margin-top: 2rem;
    background-color: #f5f4f2;
    border-radius: 8px;
  border: 1px solid #ccc;
}

.inscritos form {
    padding-top: 0 !important;
    border: 0 !important;
    border-top: 1px solid #ccc;
}

.inscritos h4 {
    color: #333;
    text-align: center;
    padding: 2rem 2rem 0;
}


.inscritos_message_note {
    color: darkred;
    font-style: italic;
    font-weight: 500;
}

/* ORDER-PAY: faturação à esquerda, tabela/pagamento à direita */
body.woocommerce-order-pay form#order_review .campos-order-pay-layout {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(420px, 1fr);
    gap: 24px;
    align-items: start;
}

body.woocommerce-order-pay form#order_review .campos-order-pay-left {
    grid-column: 1;
    min-width: 0;
}

body.woocommerce-order-pay form#order_review .campos-order-pay-right {
    grid-column: 2;
    min-width: 0;
}

body.woocommerce-order-pay form#order_review .campos-order-pay-left .campos-order-pay-billing-acf {
    margin: 0 !important;
}

body.woocommerce-order-pay form#order_review .campos-order-pay-right > table.shop_table,
body.woocommerce-order-pay form#order_review .campos-order-pay-right > #payment {
    width: 100%;
}

@media (max-width: 1024px) {
    body.woocommerce-order-pay form#order_review .campos-order-pay-layout {
        grid-template-columns: 1fr;
    }

    body.woocommerce-order-pay form#order_review .campos-order-pay-left,
    body.woocommerce-order-pay form#order_review .campos-order-pay-right {
        grid-column: 1;
    }
}

.woocommerce-order-pay .acf-fields > .acf-field {
    border: 0 !important;
		padding: 12px !important;
		padding-left: 0 !important;
}


body.woocommerce-order-pay form#order_review .campos-order-pay-billing-acf {
    background-color: #f7f7f7;
    padding: 2rem;
    border-radius: 6px;
}

.woocommerce-order-pay .woocommerce .shop_table thead,
.woocommerce-order-pay .woocommerce .shop_table tfoot,
.woocommerce-order-pay .woocommerce .shop_table .product-quantity{
    display: none;
}

.woocommerce-order-pay .product-name {
	font-size: 1rem;
	font-weight: 500;
	line-height: 2em !important;
	padding-left: 1rem !important;
	color: #064661 !important;
}


.woocommerce-order-pay ul.wc-item-meta {
	padding: 0 !important;
	font-size: 85%;

}

.woocommerce-order-pay .shop_table,
.woocommerce-order-pay #payment {
	padding: 1rem !important;
	background-color: #f7f7f7 !important;
  border-radius: 6px;
}

.woocommerce-order-pay .woocommerce-Price-amount {
	font-weight:500 !important;       font-size: 1.1rem;
}
.woocommerce-order-pay td.product-subtotal {
	text-align: right;
}

.woocommerce-order-pay  #place_order {
	width: 100%;
}

.woocommerce-order-pay  ul.payment_methods label {
	color: black !important;
}
