/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

#gform_fields_2 { 
column-gap: 8!important;
}
legend.gfield_label.gform-field-label{
	font-weight:700!important;
}

.trio-box{ 
background:#f7f7f7!important;
	padding:20px!important;
}
h3.gsection_title{ 
font-size:var(--step-2)!important;
}

body .gfield--type-number {
    display: flex;
    align-items: center;
    gap: 16px;
}

body .gfield--type-number .gfield_label {
    margin: 0;
    white-space: nowrap; /* zabrání zalomení labelu */
	font-size:18px!important;
	
}

body .gfield--type-number .ginput_container {
    margin: 0;
}

body .gfield--type-number input[type="number"],
body .gfield--type-number input[type="text"] {
    width: 160px; /* nastav si dle libosti */
}

/* Globální úprava všech číselných výsledků ve Gravity Forms */
body .gfield--type-number input,
body input.gform-text-input-reset[type="text"],
body input.gform-text-input-reset[type="number"] {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    padding: 6px 12px !important;
    border: 2px solid #c5d3e0 !important;
    border-radius: 6px !important;
    background: #f8fbff !important;
    max-width: 180px;
}

/* readonly hodnoty = aby nevypadaly šedě */
body input[readonly],
body input.gform-text-input-reset[readonly] {
    background-color: #f1f7ff !important;
    opacity: 1 !important;
    cursor: default !important;
}
.gform-theme--framework .field_description_below .gfield_description:where(:not(.gfield_creditcard_warning_message):not(.field_validation_above .gfield_validation_message):not(.ginput_counter_tinymce):not(.gfield_choice_limit_message)) {
    padding-right: 15px;
}


/* Snížení mezer mezi poli – pouze formulář ID 3 */
#gform_wrapper_3 .gform_fields {
    --gf-form-gap-y: 20px !important; /* vertikální mezera */
    --gf-form-gap-x: 20px !important; /* horizontální mezera */
}

/* Úprava vzhledu polí – pouze formulář ID 3 */
#gform_wrapper_3.gform-theme--foundation .gfield .ginput_password.large,
#gform_wrapper_3.gform-theme--foundation .gfield input.large {
    border: 1px solid #8cb21d;
    border-radius: 0 !important;
}



.gform_required_legend{
display:none !important;
}

/* Základní styl tlačítka */
#gform_submit_button_3,
#gform_submit_button_3:focus,
#gform_submit_button_3:active,
#gform_submit_button_3:focus-visible {
  background-color: #2d5e29 !important;
  border-color: #2d5e29 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Základní styl tlačítka */
#gform_submit_button_2,
#gform_submit_button_2:focus,
#gform_submit_button_2:active,
#gform_submit_button_2:focus-visible {
  background-color: #0c9441 !important;
  border-color: #0c9441 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Základní styl tlačítka */
#gform_submit_button_5,
#gform_submit_button_5:focus,
#gform_submit_button_5:active,
#gform_submit_button_5:focus-visible {
  background-color: #0c9441 !important;
  border-color: #0c9441 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Hover efekt */
#gform_submit_button_2:hover {
  background-color: #f6b012 !important;
  border-color: #f6b012 !important;
  color: #ffffff !important;
}

