/**
 * Custom Style per CiviHost Theme based Boostrap Bario
 */


/************************************
* General
************************************/

body{

}


.main-content .section{
  padding: 0 2rem;
  padding-top: 2rem;
}

table{
  caption-side: top;
}



/************************************
* Header
************************************/


a.navbar-brand{
  padding: 0rem;
  padding-left: 1rem;;
}

img.branding-logo{
  height: 70px;
  margin: 0.5rem;
  margin-left: 1rem;
  width: auto;
  transition: 0.5s linear all;
}

.scrolled img.branding-logo{
  height: 40px;
  width: auto;
}

h1.branding_title{
  display: none;
}

.block-system-breadcrumb-block{
  padding: 1rem 0rem;
}

.block-system-breadcrumb-block a{
  font-weight: bold;
  text-decoration: none;
}

.navbar-toggler.navbar-toggler-right{
  margin-right: 1rem;
  border-radius: 0px;
}

#navbar-main{
    flex-direction: row-reverse;
}

#navbar-main  li.nav-item.menu-item--expanded {
  padding-right: 1rem;
}

#navbar-main .nav-item{
  position: relative;
}

#navbar-main .nav-item a{
  padding: 0.3rem 0.8rem;
  font-size: 1.1rem;
}

#navbar-main .nav-item:after{
  position: absolute;
  bottom: 0px;
  content: '';
  height: 2px;
  width: 0%;
  left: 50%;
  transition: 0.3s linear all;
}

#navbar-main .nav-item:hover:after,
#navbar-main .nav-item.active:after{
  width: 60%;
  left: 20%;
}

#navbar-main .nav-item.dropdown:hover:after,
#navbar-main .nav-item.dropdown.active:after{
  width: 50%;
  left: calc(20% - 0.5rem);
}

#block-navigazioneprincipale{
  padding-left: 2rem;
}

.navbar-expand-md .navbar-nav .dropdown-menu{
  border-radius: 0px;
}

.navbar-expand-md .navbar-nav .dropdown-menu a{
  text-decoration: none;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #1e2125;
    background-color: #e9ecef;
}
/************************************
* Secondo sidebar - affix
************************************/
#sidebar_second{

}

#sidebar_second .section{
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding-top: 2rem;
}

#sidebar_second.sidebar .block {
    border-style: solid;
    border-width: 0px;
}

.sidebar h1,
.sidebar h2,
.sidebar h3 {
    margin: 0 0 0.5em;
    border-bottom: 0px;
}

.sidebar h1{font-size: 3rem;}
.sidebar h2{font-size: 2rem;}
.sidebar h3{font-size: 1.8rem;}
.sidebar h4{font-size: 1.3rem;}
.sidebar h5{font-size: 1.1rem;}

/************************************
* Footer
************************************/

.site-footer__bottom{

}

.site-footer__bottom ul.navbar-nav {
    display: flex;
    flex-direction: initial;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.site-footer__bottom li.nav-item{
  display: inline-block;
  padding: 1rem 2rem;
}

.site-footer__bottom li.nav-item a{
  color: #fff;
}

.footer_gotop{
  display: block;
  width: 100%;
}


.footer_gotop_icon a
{
  color: #fff;
  font-size: 30px;
  display: block;
  float: right;
  border: 1px solid #fff;
  border-radius: 20px;
  text-decoration: none;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  margin-right: 15px;
  margin-bottom: 15px;
}

.footer_gotop_icon a:hover{
  background-color: #fff;
  color: #000;
}

.site-footer .block{
  border: 0px;
}




/************************************
* Forms
************************************/

form .form-control,
form .form-select,
form .btn {
  border-radius: 0px;
  border-width: 3px;
}



form label{
  font-weight: normal;
  font-size: 1.2rem;
}

.webform-custom-options-button{
  cursor: pointer;
  border-width: 3px;
  border-radius: 0px;
  font-weight: bold;
}

.webform-custom-options-button:hover{

}

form label.form-required{
}


form label.error{
  color: #c70000;
}

form.webform-submission-form #billing-payment-block #payment_information{
  /* display: none !important; */
}

form.webform-submission-form #billing-payment-block #card-errors{
  display: none;
}

form.webform-submission-form .js-form-item {
    margin: 0px;
}

form.webform-submission-form .js-form-item.fakebutton{
  margin: 1rem;
}

.btn{
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.5rem 2rem;
}



.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 3px solid #ced4da;
    border-radius: 0px;
}

.input-group-prepend .input-group-text{
  border-right: 0px;
}

.input-group-append .input-group-text{
  border-left: 0px;
}



/* Login Form */
#block-userlogin{

}

#block-userlogin .list-group .list-group-item{
  border: 0px;
  background-color: transparent;
  margin-bottom: 0.5rem;
}

/* CiviCRM form */

#block-civihost-page-title h1.title{
  margin-top: 1rem;
  margin-bottom: 3rem;
}

#crm-container{
  margin-bottom: 5rem;
}




.form-check-input {
    border: 3px solid rgba(0,0,0,.25);
}

.page-civicrm #crm-main-content-wrapper {
    background: #ffffff !important;
}


.crm-container .crm-section .content {
    margin-left: 0%;
}

#crm-container.crm-public .crm-section,
.crm-section {
    margin-bottom: 2rem;
    width: 100%;
}

#crm-container p {
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
}

#crm-container h1,
#crm-container h2,
#crm-container h3{
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}


#crm-container .crm-submit-buttons {
  margin-top: 3rem;
}

#crm-container.crm-public .crm-section .crm-section,
#crm-container.crm-public fieldset.crm-profile .crm-section{
    margin-bottom: 1rem;
}

#crm-container.crm-public .crm-section .crm-section .label,
#crm-container.crm-public .crm-section .crm-section .content {
  display: block;
}

#crm-container.crm-public .crm-section .label{
  margin-bottom: 0.5rem;
}

#crm-container.crm-public .form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
}

#crm-container.crm-public fieldset legend {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#crm-container.crm-public input[type="text"],
#crm-container.crm-public input[type="password"],
#crm-container.crm-public input[type="email"],
#crm-container.crm-public select {
    font-size: 1rem;
    padding: 5px;
    border-radius: 0px;
    vertical-align: middle;
    max-width: 100%;
    display: block;
    width: 80%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 3px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0px;
    border-width: 3px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#crm-container.crm-public select{
  margin-top: 1rem;
  width: auto;
  display: inline-block;
  margin-left: 1rem;
  margin-top: -0.4rem;
  padding-right: 3rem;
}

#crm-container.crm-public select:disabled{
  background-color: #ced4da;
}

input[type="checkbox" i] {

    cursor: default;
    appearance: auto;
    box-sizing: border-box;
    margin: 3px 3px 3px 4px;
    padding: initial;
    border: initial;
    border: 3px;
}

.is_recur-section input.form-check-input,
#auto_renew_section input.form-check-input{
  visibility: hidden;
}

.is_recur-section .square,
#auto_renew_section .square {
    height: 24px;
    width: 24px !important;
    font-size: 1rem;
    border-radius: 0px;
    vertical-align: middle;
    max-width: none;
    margin-top: -2px;
    margin-left: -32px;
    display: inline-block;
    width: 100%;
    margin-right: 15px;
    padding: 0;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-clip: padding-box;
    border: 3px solid #ced4da;
    border-width: 3px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-color: #fff;
}

.is_recur-section .form-check.checked .square,
.checked .form-check-label .square {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6' /%3E%3C/svg%3E");
  background-color: green;
  border-color: green;
}

.is_recur-section input.form-check-input:focus .square,
#auto_renew_section input.form-check-input:focus .square {
    border-color: #ced4da;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

.is_recur-section input.form-check-input:focus,
#auto_renew_section input.form-check-input:focus{
    border-color: #86b7fe;
    border: 0px;
    outline: 0;
    box-shadow: none;
}

#crm-container.crm-public .calc-value,
#crm-container.crm-public .content {
    padding-top: 0.5rem;
    font-size: 1rem;
}

#crm-container.crm-public .crm-profile .content{
  padding-top: 0rem;
}

#crm-container.crm-public .price-set-row,
#crm-container.crm-public .crm-section.form-item,
#crm-container.crm-public .crm-section.other_amount-section .content
{
  margin-left: 2.5rem;
}

#crm-container.crm-public .price-set-row,
#crm-container.crm-public .form-check-label{
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    margin-top: -0.1rem;
    vertical-align: baseline;
}

#crm-container.crm-public input.crm-form-checkbox{
  margin-top: 0.5rem;
  border-radius: 0px;
}

#crm-container.crm-public .radio.form-check label,
#crm-container.crm-public .price-set-row label{
  padding-left: 0.5rem;
  font-size: 1.2rem;
  vertical-align: baseline;
}

#crm-container.crm-public .price-set-row,
#crm-container.crm-public .price-set-row label{
  line-height: 1.2rem;
}

#crm-container.crm-public .price-set-row input.form-check-input{
  margin-top: 0px;
}

#crm-container.crm-public .radio.form-check .clearfix{
  content: '';
  display: block;
  clear: both;
  width: 100%;
}

.crm-container .crm-section .label {
    float: none;
    width: auto;
    text-align: left;
}

#crm-container.crm-public .label,
#crm-container.crm-public .price-field-amount,
.crm-container .crm-section .label label {
    font-weight: bold;
    font-size: 1.2rem;
}


#ThankYou .crm-contribution-thankyou-form-block help{
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#Confirm .crm-group,
#Confirm .crm-profile-view,
#ThankYou .crm-group,
#ThankYou .crm-profile-view{
  background-color: #eee;
  padding: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

#Confirm .crm-group .crm-section,
#Confirm .crm-profile-view .crm-section,
#ThankYou .crm-group .crm-section,
#ThankYou .crm-profile-view .crm-section{
      margin-bottom: 0rem;
}

#crm-container.crm-public #Confirm .crm-section.form-item,
#crm-container.crm-public #ThankYou .crm-section.form-item{
  margin-left: 0rem;
}

#Confirm .crm-group .label,
#Confirm .crm-profile-view .label,
#ThankYou .crm-group .label,
#ThankYou .crm-profile-view .label{
    display: inline-block;
    margin-right: 1rem;
}

#Confirm .crm-group .label label,
#Confirm .crm-profile-view .label label,
#ThankYou .crm-group .label label,
#ThankYou .crm-profile-view .label label{
  font-weight: normal;
    font-size: 1rem;
}


#Confirm .crm-group .content,
#Confirm .crm-profile-view .content,
#ThankYou .crm-group .content,
#ThankYou .crm-profile-view .content{
    display: inline-block;
    font-weight: bold;
}

#Confirm .header-dark,
#ThankYou .header-dark{
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  font-weight: bold;
  border-bottom: 1px solid #000;
}

#Confirm button.cancel.crm-button-type-back.btn-primary,
#ThankYou button.cancel.crm-button-type-back.btn-primary{
  background-color: #ced4da;
  border-color: #ced4da;
  color: #000;
}


.crm-contribution-thankyou-form-block .help{
  padding: 1rem;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Unsubrscribe */
#crm-container #Unsubscribe .messages,
#crm-container #Unsubscribe .selector,
#crm-container #Unsubscribe .crm-form-block{
  margin-bottom: 3rem;
}

#crm-container #Unsubscribe .selector{

}

#crm-container #Unsubscribe .selector *{
  margin: 0;
  padding: 0;
}

#crm-container #Unsubscribe .selector tr{
  background: none;
  list-style-type: disc;
}

#crm-container #Unsubscribe .selector tr strong{
  font-weight: normal;
  font-size: 1.75rem;
}

table.dashboard-elements{
  font-size: 1rem;
}

table.dashboard-elements td{
  padding: 1rem;
}

table.dashboard-elements td .header-dark{
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Profile */




/* Webform */

.webform-custom-options-buttons{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-left: -1rem;
  margin-right: -1rem;
}

.webform-custom-options-buttons .webform-custom-options-button{
  border: 2px solid #ccc;
  padding: 1rem;
  margin: 1rem;
  width: 100%;
}
.webform-custom-options-buttons .fakebutton{
  padding: 0px;
}

.webform-custom-options-buttons .fakebutton label{
  padding: 1rem;
  display: block;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
}

.webform-custom-options-buttons .fakebutton input{
  visibility: hidden;
}

.webform-custom-options-button[data-option-value][aria-checked=true]:focus,
.webform-custom-options-button[data-option-value][aria-checked=true],
.webform-custom-options-button.checked {
    color: #fff !important;
}

form.webform-submission-form{

}

form.webform-submission-form label.form-required{

}
