/*
 Theme Name:   Blocksy Child
 Theme URI:    https://creativethemes.com/blocksy/
 Description:  Child theme per Blocksy
 Author:       Tribe Value
 Author URI:   https: //www.tribevalue.it/
 Template:     blocksy
 Version:      1.0.0
*/

/* Importa gli stili del tema genitore */
@import url("../blocksy/style.css");

body.wp-admin .edit-post-visual-editor__post-title-wrapper .editor-post-title.editor-post-title {
    color: red !important;
}


/* Margin */
.margin-top-small {margin-top:30px}
.margin-top-large {margin-top:60px}
.margin-bottom-small {margin-bottom:30px}
.margin-bottom-large {margin-bottom:60px}
.margin-top-bottom-small {margin-top:30px;margin-bottom:30px;}
.margin-top-bottom-large {margin-top:60px;margin-bottom:60px;}
.margin-bottom-zero{margin-bottom: 0}

/* Padding */
.padding-top-small {padding-top:30px;}
.padding-top-large {padding-top:60px;}
.padding-bottom-small {padding-bottom:30px;}
.padding-bottom-large {padding-bottom:60px;}
.padding-top-bottom-small {padding-top:30px;padding-bottom:30px;}
.padding-top-bottom-large {padding-top:60px;padding-bottom:60px;}
.padding-bottom-zero{padding-bottom: 0}

/* Header*/
header#header {
    display: none !important;
}

.wp-block-kadence-navigation .navigation, .wp-block-kadence-navigation .menu-container .voci_menu {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.ct-block-wrapper.social_menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

/*Home*/

.wp-block-kadence-advancedbtn .kb-svg-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.whsapp_cta {
    max-width: 150px !important;
}


.box_info {
    min-height: 70vh !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width:767px) {
    .box_info {
        min-height: 0 !important;

    }

    .whsapp_cta {
        max-width: 100% !important;
    }
    
}

/* Footer */
div#block-34 {
    width: 100%;
}

.ct-icon, .ct-icon-container {
    position: relative;
    fill: var(--theme-text-color-\));
}

h3#contatti {
    font-weight: 500 !important;
    font-size: 40px !important;
}

/* Input e textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  background-color: transparent;
  color: white;
  padding: 8px 0;
  margin-bottom: 20px;
  font-size: 16px;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #ccc;
}

/* Bottone personalizzato */
.cf7-button {
  background-color: #afb42b !important;
  border: none !important;
  color: #004056 !important;
  padding: 10px 20px !important;
  border-radius: 20px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  transition: background-color 0.3s ease;
width:30%;
}

.cf7-button:hover {
  background-color: #004056 !important;
   color:#afb42b !important;
   border: 1px solid #afb42b !important;
}

.cf7-button .arrow {
  font-size: 14px;
}

.privacy_box {
    padding: 30px 0;
}

.form_contatti{
width: 100%;

}

.form-group {
    text-align: left;
}

a.ct-back-to-top.ct-hidden-sm.ct-show {
    border: 1px solid var(--theme-palette-color-4);
}

@media screen and (max-width:767px) {
    [data-footer*="type-1"] .ct-footer [data-column="widget-area-2"] {
        --margin: 0 !important;
    }

    div#block-34 {
        padding: 0 15px;
    }
    
    .cf7-button {
        width: 100%;
    }

    #footer > div:nth-child(2) > div.ct-container-fluid {
        display: flex;
        flex-direction: column-reverse;
    }

    .kb-imageblock-10_a1350b-00 {
        max-width: 300px !important;
    }

    

}

/* CTA whatspp */

@media screen and (min-width:767px) {
    div#ht-ctc-chat {
    display: none !important;
}
}


/*Home*/

.wp-block-kadence-advancedheading.kt-adv-heading20_296a2e-80, .wp-block-kadence-advancedheading.kt-adv-heading20_296a2e-80[data-kb-block="kb-adv-heading20_296a2e-80"] {
    font-weight: 500 !important;
}

span.kt-adv-heading757_ee2d9e-a8.wp-block-kadence-advancedheading.has-palette-color-1-color.has-text-color {
    font-weight: 700 !important ;
}

/*Servizi*/
@media screen and (max-width:767px){div#progettazione,div#urbanistica-catasto,div#settore-energetico {
    min-height: 50vh;
    display: flex;
    justify-content: center;
}
}