#crm-container.crm-public div.label{
    text-align:left;
}

.crm-container .label label{
    font-weight:bold;
}

#crm-container.crm-public .price-set-row span.crm-price-amount-label{
    font-weight:normal;
}

#crm-container.crm-public .price-set-row .highlight span.crm-price-amount-label{
    font-weight:bold;
}

#crm-container.crm-public .price-set-row span.crm-price-amount-amount{
    font-weight:bold;
}

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

.crm-container div.crm-search-tasks{
    padding: 10px 15px 15px;
}

/* SUBMIT BUTTON STYLE  */
#crm-container span.crm-button{
  padding:0;
}
#crm-container .crm-button .crm-form-submit {
  padding: 15px;
  margin: 0px;
  /* IE6 only */
  border: none;
  background-color: #222;
  box-sizing: content-box;
  display: inline-block;
  float: left;
  width: auto;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
}
.crm-i.fa-check{
  display:none;
}

/* KEEP ASTRISK ON THE SAME LINE AS LABEL */
.crm-section.billing_name_address-section div.label, .crm-block .credit_card_info-group div.label, .crm-section.other_amount-section, .crm-public-form-item.crm-section.email-5-section, .crm-section.other_amount-section, .crm-public-form-item.email-5-section, .crm-profile-name-event_registration .label, .crm-section.price_set-section .label {
	white-space:nowrap;
}

/* STYLE THE FIELDSETS */

div.crm-container fieldset {
	border: 1px solid #bbb;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

.crm-container fieldset legend {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 4px;
  background: none;
  border: medium none;
  background-color: transparent;
  color: #3E3E3E;
  position: relative;
  text-indent: 0px;
  width: auto;
}

#crm-container.crm-public .crm-section,
div.crm-section {
  margin-bottom: 15px;
}

/* MODIFY HEIGHt and WIDTH OF TEXT INPUT FIELDS */
#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 {
  font-size: 0.85em;
  padding: 2px 5px 0;
}

/* PROVIDE SUFFICIENT SPACE TO THE LEFT PAYMENT PAGE COLUMNS */
.crm-container .crm-section div.content {
  margin-left: 25%;
}

/* CORRECT WIDTH FOR CC EXP */
#crm-container.crm-public div.crm-block select {
    width:20%;
}

/* ADD SPACE BTW INPUTS */
#crm-container.crm-public div.crm-section{
	margin-bottom: 15px;
}

/* REMOVE PRINT BUTTON */
#crm-container .fa-print {
    display:none;
}

/* SECURITY CODE */
#crm-container input#cvv2 {
    max-width: 60px;
    display: inline;
}

/* FORCE WIDE TABLES TO SCROLL INSTEAD OF OVERFLOWING OFF THE PAGE */
.crm-main-content-wrapper form{
	overflow: scroll;
}

/* LABELS ON THEIR OWN ROW */
	#crm-container .label {
    display: block;
    float: none;
}

/* 25% WIDTH for textfields  */
#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 {
  width: 25%;
}

/* Smaller width targeting dollar amounts */
#crm-container.crm-public .crm-block input[type="text"][price]{
  width:10%;
}

/* WIDTH for discount code  */
#crm-container.crm-public .crm-block input[type="text"][name="discountcode"]{
  width: 100%;
}

/* PROVIDE SUFFICIENT SPACE TO THE LEFT PAYMENT PAGE COLUMNS */
.crm-container .crm-section div.content {
  margin-left: 0;
}

/* MOBILE CORRECT WIDTH FOR LABELS */
#crm-container.crm-public div.label{
    width: 100%;
}

/* move helper text to right of input */
.crm-section.price_set-section input{
    display:inline-block;
    margin-right:10px
}

/* set the reoccuring inputs to the same line */
#crm-container #frequency_interval, #crm-container #installments{
    width:10%;
    display:inline-block;
}


div#crm-container.crm-container {
    max-width: 100%;
}

.crm-public-form-item label, #priceset label {
    display: inline;
}

#_qf_Main_reload {
    float: right;
}

.cividiscount #_qf_Main_reload {
    float: none;
    padding: 15px;
    margin: 0px;
    border: none;
    background-color: #222;
    background-image: none;
    box-sizing: content-box;
    display: inline-block;
    width: auto;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1;
}

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

/* this is to correct the width of the discount module table*/
.crm-container .cividiscount.form-layout-compressed td.label, .crm-container table.cividiscount.form-layout-compressed {
    width: auto;
}

/* SSA specific alert colors slightkly off style guide to provide proper contrast*/

div.crm-container .status {
  background-color: #BCE2E7;
  border: 1px solid #5599A4;
  color: rgba(0, 0, 0, 1);
  }

div.crm-container .status a {
  background-color: #BCE2E7;
  color: #3D6E76;
  }

  /* Page and form-level 'help' */
  div.crm-container .help,
  div.crm-container #help {
    background-color: #FFF0CF;
    border: 1px solid #FFD2CF;
    color: #000;
  }

table.cividiscount tbody tr:nth-child(even){
    background-color:transparent;
}

.crm-i-button i {
    display:none;
}

/* fix nav buttons on confirmation page */
.crm-contribution-confirm-form-block div#crm-submit-buttons{
  height:inherit;
}
.crm-contribution-confirm-form-block div#crm-submit-buttons:after {
  content:"";
  display:table;
  clear:both;
}

/* update white issues with profile page */
#crm-container.crm-public fieldset.crm-profile-view div.crm-section{
  display: inline-block;
  padding:15px;
  margin: 0;
}

/* member roster search */
.crm-container .CRM_Profile_Form_Search table.form-layout-compressed {
    width:100%;
}

.crm-container .CRM_Profile_Form_Search td.description {
    width:50%;
}

/* member roster profile */
.crm-profile-view .crm-container > div {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#crm-container.crm-public .crm-profile-view div.label{
    font-weight: bold;
}

/* use of not() is to deal with the different implementations of the profile display */
#crm-container.crm-public .crm-profile-view div.crm-section{
    padding:15px;
    border-right: solid thin lightgrey;
}

#crm-container.crm-public .crm-profile-view div.crm-section:last-child{
    border-right: none;
}

/* fix the cancel button for edting profile */
.crm-container a.button.cancel {
    padding: 15px;
    margin: 0px;
    border: none;
    background-color: #222;
    box-sizing: content-box;
    display: none;
    float: left;
    width: auto;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 135%;
    background-image: none;
}

.crm-container a.button.cancel i{
    display:none;
}

/* style event page confirmation */
#crm-container.crm-public .participant_info-group div.crm-section {
    display:inline-block;
    padding: 0 10px;
    border-right:solid #e7e3d6 thin;
    vertical-align: top;
}

#crm-container.crm-public div.label{
    font-weight:bold;
}

.participant_info-group fieldset:nth-child(2){
    border-bottom: #5599A4 thin solid;
    margin-bottom: 25px;
}

.crm-container .header-dark {
    background-color: #5599A4;
}

/* increase spacing between radio buttons in payment options section */
#CIVICRM_QFID_0_payment_processor_id {
    margin-left: 15px;
}

/* Remove spacing to current employer section input descriptions */
#crm-container div#editrow-current_employer {
    margin-bottom: 0;
}

#helprow-current_employer p {
    margin-top:0;
}

#crm-container #helprow-current_employer .content {
  padding-top: 0;
}

/* Update for SSA event registration form */

.companion_registration-section +  .content.description h4{
    margin: 5px 0;
}

.guest_2_lunch_selection-section + .content.description p{
    margin: 10px 0;
}

#priceset .content{
    margin-left:0;
}

/* OVERRIDES ASTERISK ON SAME LINE AS LABEL FIX ABOVE*/
.crm-event-id-12 .crm-section.price_set-section .label {
  white-space:normal;
}

/* correct for confirmation buttons on the confirmation page */
#crm-container.crm-public #crm-submit-buttons {
  margin-top: 0;
}

.crm-container .crm-submit-buttons{
  height: 57px;
}

/* Just fixing some spacing issues in the registration code for SSA */
#priceset.crm-section .content.description h4 + p, #priceset.crm-section .content.description p  {
    margin-bottom: 0;
}

#priceset.crm-section .content.description h2{
    margin-bottom: 5px;
    margin-top: 40px;
}

/* make the <br> tags go away at least till we physically remove them */
#priceset.crm-section .content.description > br  {
    display:none;
}


/* Media queries */

@media (max-width:640px){
  /* 100% WIDTH for textfields  */
  #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 {
    width: 95%;
  }

.crm-container .CRM_Profile_Form_Search td.description {
    width:65%;
}  
}
/* Override in-line css */
#crm-container.crm-public .content.calc-value {
    display:block !important;
}
/* remove hover in directory as css is broken in 5.74+ */
i.crm-i.fa-fw.fa-user {
    display:none;
}