/* field labels */
#crm-container.crm-public .label,.crm-container .crm-section .label label, #crm-container.crm-container.crm-public .crm-public-form-item label {
  padding-bottom:8px;
  color:var(--ast-global-color-3);
}

div.crm-container label {
  font-size: 16px;
}

.crm-container .crm-multiple-checkbox-radio-options .crm-option-label-pair {
  align-items: center;
}

/* No CRM title */
#crm-container .crm-title {display:none;}

/* required marker */
.crm-container .crm-marker {
  color:var(--ast-global-color-0);
}

/* headings container */
#crm-container .widget-controls, .crm-container .crm-accordion-header {background:var(--ast-global-color-0) !important;}

.crm-container .crm-accordion-wrapper .crm-master-accordion-header, #crm-container .widget-content .crm-accordion-header, .crm-container .header-dark {
	background-color:var(--ast-global-color-0) !important;
	color:#fff;
	padding:10px;
}

/* background of civi */
#crm-container.crm-public .price-set-row .highlight label {font-weight:inherit;}

 .crm-container.crm-public .select2-container a.select2-choice{
    padding:0;
    padding-left: 10px;
}

/*-----------------------------------------------------------------------------------*/
/* Form Fields Colors and Sizing */
/*-----------------------------------------------------------------------------------*/ 

/* field inputs */
.crm-container.crm-public .crm-block input[type="text"],
.crm-container.crm-public .crm-block input[type="password"],
.crm-container.crm-public .crm-block input[type="email"],
.crm-container.crm-public .crm-block select,
.crm-container.crm-public.crm-container div.select2-container,
.crm-container.crm-public textarea {
	width: 30%;
  background:transparent !important;
	border-color:var(--ast-global-color-1);
  border-width:2px;
	}
	
#crm-container.crm-public textarea {
        width:70% !important;
}

/* field inputs selected */
.crm-container.crm-public input[type="text"]:focus,
.crm-container.crm-public input[type="password"]:focus,
.crm-container.crm-public input[type="email"]:focus,
.crm-container.crm-public select:focus,
.crm-container.crm-public.crm-container .select2-container:focus,
.crm-container.crm-public textarea:focus {
    background:none;
    border-color:var(--ast-global-color-0);
    border-width:2px;
	  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* dropdown select *
.select2-drop-mask {
	line-height:inherit;
	}

.select2-container .select2-choice .select2-arrow {display:none;}
.select2-container .select2-choice {border:0;}
*/

/* larger radio selectors */
.crm-section input[type="radio"] {
  border: 1px solid #eee !important;
  width: 20px !important;
  height: 20px;
  margin-right: 5px;
  border-radius: 50px !important;
}

/* larger chechbox selectors */
.crm-section input[type="checkbox"] {
  border: 1px solid #eee !important;
  width: 20px !important;
  height: 20px;
  margin-right:5px;
}

/* padding to radio and checkbox label */
div.crm-container input[type="checkbox"]+label ,div.crm-container input[type="radio"]+label{
    padding-right:15px;
}

.crm-container .crm-form-toggle-container {
  & input[type="checkbox"].crm-form-toggle:checked {
    border: none;
    background-color:var(--ast-global-color-0);
  }
}

/*-----------------------------------------------------------------------------------*/
/* Submit Button */
/*-----------------------------------------------------------------------------------*/ 
#crm-container.crm-public .crm-button {
        padding: 15px 40px;
        background:var(--ast-global-color-0);
        text-shadow:none;
        font-size: 1rem;
	      font-weight:900;
        color:#fff;
        border: none;
        line-height:200%;
        text-transform:uppercase;
        font-family: 'Montserrat',sans-serif;
        letter-spacing: 0.05rem;
}

/* Submit button selected */
#crm-container.crm-public .crm-button:hover,.crm-container .crm-button:focus, #_qf_Main_upload-bottom:focus, .crm-contribute-button-inner:hover {
        background:var(--ast-global-color-2);
        color:#fff;
        transition:all .5s ease;
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}

/* civi button */
.crm-container input[type="button"] {
        background:#fff;
        border:none;
        text-shadow: none;
        color:#fff;
        font-weight:800;
  }

/*-----------------------------------------------------------------------------------*/
/* Start Mobile */
/*-----------------------------------------------------------------------------------*/ 

@media (max-width:960px){
.crm-container fieldset {
	display: flex !important;
	flex-direction: column !important;
  }


/* Mobile view for profiles  */
#crm-container.crm-public .crm-block input[type="text"],
#crm-container.crm-public .crm-block input[type="password"],
#crm-container.crm-public .crm-block input[type="email"],
#crm-container.crm-public .crm-block select, 
#crm-container.crm-public .crm-block select2,
#crm-container.crm-public .crm-block textarea {
	width: 95%;
	}
  
/* mobile profile fields on own line */  
  #crm-container.crm-public .label {
	display: block;
	float: none;
	text-align:left;
	width: 100%;	
}

/* field labels */
#crm-container.crm-public .label {
 font-size:17px;
 color:black;
}

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

.crm-container .crm-button {
        width: 98%;
	line-height:220%;
}

/* confirmation page buttons */
#crm-container.crm-public #crm-submit-buttons {
        margin:0 !important;
        }

}

/*-----------------------------------------------------------------------------------*/
/* End Mobile */
/*-----------------------------------------------------------------------------------*/ 

/* confirmation page buttons */
#crm-container.crm-public #crm-submit-buttons {
        margin-left:9%;
        }

#crm-container.crm-public .crm-section .content {
	padding-top:0px;
	}

#crm-container.crm-public .content.description {
        padding-top: 0px;
        }

#crm-container.crm-public .price-set-row .highlight .crm-price-amount-label, #crm-container.crm-public .price-set-row .highlight .crm-price-amount-amount {
  color:#fff;
  font-weight:900;
}

#crm-container.crm-public .calc-value, #crm-container.crm-public #priceevalue {
	font-size: 22px;
	font-weight:900;
}

/*
#crm-container.crm-public .price-set-row .crm-price-amount-label, #crm-container.crm-public .price-set-row .crm-price-amount-amount {color:#545454 !important;}
*/

/* select2 fix */
.crm-container.crm-public .select2-container .select2-choice {padding: 0px 10px !important;}

/* padding to price label */
#crm-container.crm-public .crm-price-amount-label {
	padding:5px;
	font-size:18px;
}

fieldset legend {
	margin-bottom:0px;
	font-weight:900 !important;
}

.crm-container fieldset legend {
	font-size:17px;
	font-weight:inherit;
}	

/* margin between fields */
#crm-container.crm-public .crm-section {
  margin-bottom: 15px;
}

#crm-container.crm-public .crm-container input.crm-form-text {padding:5px;}

/* price values */
span.price-set-option-content {font-size:16px;}

.content.description, .crm-container .description {
	font-weight: inherit;
	clear: both;
	display:block;
	color:#666;
}

/*-----------------------------------------------------------------------------------*/
/* SK and Afform */
/*-----------------------------------------------------------------------------------*/ 
/* sticky header for search kit display */
div.crm-search-display-table table thead tr {
  position: sticky;
  top: 10px;
  box-shadow: 0 2px 2px -1px rgb(0 0 0 / 40%);
}

/* afform */
.af-container.af-layout-inline {
    margin-bottom: 2%;
}

.crm-i.fa-check {display: none;}

/* transition  civi button */
.crm-container .crm-button:hover, .crm-container .crm-button:active {
	transition: all .5s ease;
}

/* button margin for empowered by civicrm */
#civicrm-footer {
    margin-top: 5em;
}

/* message status */ 
.crm-container .status, .messages.help, .crm-container .help, .crm-container #help, .messages.status.no-popup {
	padding:1em;
	background-color:transparent;
	border:1px solid #f2f2f2;
	margin:1em 0em;
	font-weight: inherit;
	font-size: 15px;
	border-left: 4px solid #280537;
}

.messages.help p {font-size:15px;} 

/* hr */
.crm-container hr {
    background-color: #fff;
}

#crm-profile-block.crm-container.crm-public h5 {
border-bottom: 1px solid #fff; 
font-size: 17px;
font-weight:900;
}

/* premiums */
#crm-container.crm-public #premiums-listings .premium.premium-disabled .premium-full-disabled {
font-weight:inherit;
font-size: 15px;
}

.crm-container .crm-form-block, #crm-container.crm-public #premiums-listings .premium.premium-no_thanks .premium-full, #crm-container.crm-public #premiums-listings .premium.premium-no_thanks .premium-short {
font-size: 17px;
}

/* column header */
#crm-container.crm-container.crm-public th {
	background-color: #eee;
	color:#545454;
}

/* profile form label *
.crm-container fieldset legend {
	color:#eee;
}
*/

/* highlight donation amount selection */
/* #crm-container.crm-public .price-set-row .highlight .crm-price-amount-label {color:white;} */

#crm-container.crm-public .price-set-row .crm-price-amount-amount, #crm-container.crm-public .price-set-row .crm-price-amount-label {
	font-size: 18px;
	line-height:150%;
	font-weight:normal;
	color:#fff;
	}

/* profile horizontal line color */
.crm-container fieldset {border-top: 1px solid #fff;}

/* table font-weight */
.crm-container .font-light {font-weight: inherit;}

/* remove colon on price sets */
.crm-price-amount-help-post-separator {display: none !important;}

.crm-section.crm-error-message {
    margin-top: 10px;
}

#civicrm-footer {border:none;}

/* stripe */
#card-element {
	background-color:var(--ast-global-color-7) !important;
}

/* spread the word */
.crm-container .status.crm-ok {
  border-color: inherit;
  background-color: inherit;
  color:var(--ast-global-color-0);
}

/* fieldset legend */
.crm-container fieldset legend {
  display: block;
  font-size: 18px;
  font-weight: 500;
  padding: 18px 10px 18px 20px;
  background: none;
  background-color:var(--ast-global-color-0);
  color: #fff;
  position: relative;
  text-indent: 0;
  width: 100% !important;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Montserrat',sans-serif;
  letter-spacing: 0.05rem;
}


/* spacing on field labels */
.crm-container fieldset .label {
  margin-right: 20px;
}

/* checkboxes */
.crm-container .crm-multiple-checkbox-radio-options {
  --checkbox-width: 2em;
  display: flex;
  flex-wrap: wrap;
}

/* hide cividiscount - used for auto discounts only */
#crm-container.crm-public .crm-public-form-item.crm-section.cividiscount-section.cividiscount {
  display: none;
}

/* hide wrench for priceset edits */
#priceset div.float-right {
 	display:none;
}

/*-----------------------------------------------------------------------------------*/
/* Form Builder */
/*-----------------------------------------------------------------------------------*/
/* inputs */
 #bootstrap-theme .form-control {
	height: 40px;
	border-color:var(--ast-global-color-1);
  background-color:none;
  border-width:2px;
  -webkit-box-shadow: none;
  border-bottom-style: solid;
  border-radius:3px;
}

/* selected input */
#bootstrap-theme .form-control:focus, #bootstrap-theme textarea:focus {
  border-color:var(--ast-global-color-0);
  transition: all 0.3s ease-in-out;
  box-shadow: none;;
}

/* afform spacing */
#bootstrap-theme .af-container.af-layout-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom:10px;
}

#bootstrap-theme .af-container.af-layout-inline {
  margin-bottom: 2%;
}

/* container title */
#bootstrap-theme .af-container legend.af-title {
  padding: 10px;
  color: white;
  font-family: 'Montserrat',sans-serif;
  font-weight: 800;
}

/* form inputs */
#bootstrap-theme .crm-af-field-label.ng-binding.ng-scope {
  font-size:1rem;
}

/* checkbox option values */
#bootstrap-theme label.ng-binding {
  font-weight:inherit;
}

/* textarea input */
#bootstrap-theme textarea {
	border-color:var(--ast-global-color-1);
  border-width:2px;
  -webkit-box-shadow: none;
  border-bottom-style: solid;
  border-radius:3px;
}

/* checkbox fields */
#bootstrap-theme ul.crm-checkbox-list {
  border: none !important;
  width: 100% !important;
  max-width: 100%;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
}

 @media only screen and (min-width: 544px) {
#bootstrap-theme ul.crm-checkbox-list li {
  display: inline-block;
  box-sizing: border-box; /* Ensures padding doesn't affect the width */
}
}

#bootstrap-theme ul.crm-checkbox-list li:nth-child(2n) label {
  background-color: #fff !important;
}

#bootstrap-theme ul.crm-checkbox-list li input:checked + label {
  background-color: inherit !important;
}

#bootstrap-theme .af-field-type-radio .crm-af-field {flex-wrap: wrap;}

/* field label */
#bootstrap-theme div.crm-container label {
	font-weight:inherit;
	padding-right:10px;
}

#bootstrap-theme label.crm-af-field-label.ng-binding.ng-scope {
	color: var(--ast-global-color-3);
	font-weight:700;
  margin-top: 2%;
}

/* buttons */
#bootstrap-theme .btn:not(.dropdown-toggle) {
  padding: 10px 25px;
  margin-top:25px;
  text-shadow:none;
  font-size: 15px;
  color:#fff;
  font-weight:700;
  border: none;
  border-radius:5px;
  text-transform:uppercase;
}

#bootstrap-theme .btn-primary, #bootstrap-theme .btn-default {
  background:var(--ast-global-color-0);
	color:white;
}

/* button hover */
#bootstrap-theme .btn-primary:hover, #bootstrap-theme .btn-primary:active, #bootstrap-theme .btn-default:hover, #bootstrap-theme .btn-primary:focus {
 	background:var(--ast-global-color-2);
  color:#fff;
  transition:all .5s ease;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}

/* table text */
#bootstrap-theme .table > tbody > tr > td {
	font-size:0.9rem;
}

/* confirmation message */
.afform-confirmation {
  background-color:var(--ast-global-color-2);
  color:white;
  padding: 1%;
  border-radius:3px;
}

/* pre help text */
.crm-af-field-help-pre, .crm-af-field-help-post {
  color: #62656a;
}


/* mobile afform */
@media only screen and (max-width:544px) {
.af-container.af-layout-cols, .crm-container ul.crm-checkbox-list {
  flex-direction: column;
	}
}

/* event time as row */
.crm-form-date-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
