/***
    1. Base - Styles applied to element selectors
    2. Layout - Major layout styling/formatting - nav, sidebar, footer. id's can be used here
    3. Module - Modular components of the page that can be reused and can stand alone
    4. State - Augments and overrides all other styles. Describes how things look in a particular state.
    5. Theme - colors, typography
    6. Changing State - Any changes with javascript events, pseudo class styling, or media queries
    **/
/*
In the naming of classes: cl(classic) sh(shareview) fnd(foundation)
/*********************************** Global Styles **********************/

/************************************************************************/
/****************** 2. LAYOUT *******************************************/
/************************************************************************/

/*********** Chartering Setup ************/
.ELA-section.ELA-section {
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}
.l-ordering-priority {
    text-align:center;
}
.ordering-link {
    display: block;
    -webkit-transform: translateX(25%);
    -ms-transform: translateX(25%);
    -o-transform: translateX(25%);
    transform: translateX(25%);
}
.l-ordering-priority a {
    height:3rem; /* match the height of materialize input*/

}

/************************************************************************/
/****************** 2. THEME ********************************************/
/************************************************************************/
.l-ordering-priority input {
    text-align: center;
}
.l-ordering-priority a {
    color: #5f6160;
}
.ordering-link {
    font-size: 1rem;
    letter-spacing: 0.02rem;
    line-height: 1.7rem;
    color: #5f6160;
}
/************************************************************************/
/***************** 3. MODULE *******************************************/
/***********************************************************************/
.ui-spinner-button {
    position: absolute;
    top: 8px;
}

.ui-spinner.ui-spinner input {
    width: 50%;
}

.ui-spinner-down {
    left: 20px;
}

.ui-spinner-up {
    right: 20px;
}
.ui-spinner {
    text-align: center;
}

/* These classes have not been organized in the SMACSS strucutre*/
.org-header {
    position: relative;
    margin: 20px 0 0;
}

.org-header h1 > * {
    vertical-align: middle;
}

.org-header h1 {
  font-family: DSG Sans !important;
  letter-spacing: 0.75px;
  font-weight: 400;
  font-size: 2rem;
  margin: 0;
}

.org-header img {
  height: auto;
  max-width: 10%
}

.org-header span {
  display: inline-block;
  max-width: 80%;
}

.org-header-logo {
  width: 75px;
}

.btn-sub-text {
    line-height: 34px;
    font-size: 12px;
}

.btn-link-text {
    line-height: 34px;
    font-size: 14px;
}

.form-section .section-heading {
  margin-bottom: 1rem;
}

.form-section .section-heading span {
  color: #304A9A;
  margin-left: 0;
}

input.required + label:before {
  position: absolute;
  top: 0;
  left: -7px;
  content: "*";
  width: 10px;
  height: 10px;
  color: #b13200;
}

.login-error:not(:empty) {
  display: block;
  color: #b13200;
  border-bottom: 1px dotted #b13200;
  margin-bottom: 0;
  font-size: 12px;
}

.login-error-ASM:not(:empty) {
    display: block;
    color: #b13200;
    border-bottom: 1px dotted #b13200;
    margin-bottom: 0;
    font-size: 20px;
}

.required-error {
  color: #b13200;
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  border-top: 1px solid #b13200;
  display: block;
  padding-top: 5px;
  margin-top: 0;
  font-size: 12px;
}

.required-error.contact-error-left {
    padding-left: inherit;
    border: revert;
}

.active + .required-error,
.valid + label + .required-error {
  border-top-width: 2px;
}

.required-error.format-error {
  top: -49px;
  border-top-width: 2px;
}

.radio-buttons .required-error {
  border: 0 none;
  bottom: -10px;
  top: auto;
  left: 10px;
}

textarea + label + .required-error {
    bottom: 2px;
    top: auto;
}

.radio-buttons,
.dropdown,
.checkbox,
.upload-control {
  position: relative;
}

.radio-buttons.required-control > p:before,
.dropdown.required-control > p:before,
.checkbox.required-control > p:before {
  content: "*";
  color: #b13200;
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  left: 3px;
}

.radio-buttons.required-control > p:before {
  left: -7px;
}

.dropdown label,
.select-wrapper + label {
  top: -14px;
}

.dropdown.required-control label:before {
  content: "*";
  color: #b13200;
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  left: -7px;
}

.upload-control > span:before {
  content: "*";
  color: #b13200;
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  left: 4px;
}

.checkbox .required-error {
  top: auto;
  left: 15px;
  right: 0;
  border-top: 0 none;
  padding-top: 0;
}

textarea.required + label:before {
    position: relative;
    top: -18px;
    left: -8px;
    content: '*';
    color: #b13200;
    font-size: 14.5px;
}

/*Organization Long Names: Required to fit within table element */
#lbmbrname, 
[id*="lblChapter"], 
.mbrname {
    word-break:break-all;
}

#lbmbrname, 
[id*="lblChapter"] {
    display:inline-block;
}

.required-control > .select-wrapper + label:after {
    position: absolute;
    left: -8px;
    content: '*';
    color: #b13200;
    font-size: .8rem;
}

.listalt2 .report0 {
  border-bottom: 1px solid #d0d0d0;
}

.report0 label {
  color: #000;
  font-size: 1rem;
}

.reporthead {
  font-weight: 700;
  border-bottom: 1px solid #d0d0d0;
}

/* Payment and Receipt */
#itemsec td,
#makepayment .listalt2 {
  border-bottom: 0 none;
}

hr {
  display: none;
}

.RadButton {
  position: relative;
  display: inline-block;
  width: auto !important;
  border: none;
  border-radius: 2px;
  height: 36px;
  line-height: 36px;
  padding: 0 2rem;
  text-transform: uppercase;
  background-color: #304A9A;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  font-family: DSG Sans !important;
  color: #fff;
  font-size: 1rem;
  outline: 0;
  text-decoration: none;
  text-align: center;
  letter-spacing: .5px;
  cursor: pointer;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  vertical-align: middle;
  z-index: 1;
  -webkit-transition: .3s ease-out;
  -o-transition: .3s ease-out;
  transition: .3s ease-out;
}

.RadButton:hover {
  background-color: #3955aa;
  -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
}

.RadButton:focus {
    background-color: #4565c7;
}

#makepayment {
  position: relative;
}

#makepayment .caret,
#makepayment .select-dropdown {
     display: none; 
}

#makepayment .select-wrapper { 
    display: inline-block; 
}
 
#makepayment select {
    display: inline-block;
    margin-bottom: 20px;
}

#paytypetle {
  color: #304A9A;
  font-family: 'DSG Sans';
  text-transform: uppercase;
  padding-bottom: .5rem;
  margin-bottom: 20px;
  border-bottom: 1px solid #d0d0d0;
}

#addressarea .formTR,
#addressarea .formT,
#ptfields .formTR,
#cvv2info .formT,
#payinfo1tle,
#payinfo2tle,
#payexptle {
  color: #304A9A;
  font-size: .8rem;
}

#cvv2info .txt {
  font-size: .8rem;
  top: -2rem;
  position: relative;
}

#cvv2info td {
  padding-left: 0;
}

#addressarea {
  padding-top: 123px;
  vertical-align: top;
}

#ptfields > div {
  padding: 11px 4.5px 11px 0;
}

.error,
[id*="Error"] {
  color: #b13200;
}

/*Modal Popup*/
.modalPopup {
    border-radius: 2px;
    -webkit-box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 
              0 3px 14px 2px rgba(0,0,0,0.12), 
              0 5px 5px -3px rgba(0,0,0,0.3);
        box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 
              0 3px 14px 2px rgba(0,0,0,0.12), 
              0 5px 5px -3px rgba(0,0,0,0.3);
    background-color: #fff;
}

.modalp-content {
  padding: 24px;
}

.modalp-footer {
  text-align: right;
  padding: 4px 24px;
  height: 56px;
}

.modalBackground{
    background-color: rgba(0,0,0,0.5);
}

/* Uploads */
table[id*="Upload_radRequired"] {
    width: auto;
}
table[id*="Upload_radRequired"] td {
    padding: 0 20px 0 0;
}
.upload-section {
    margin-bottom: 30px;
}


/* Contacts */
[id*="deleteUserBtn"] {
    color: #333;
}

[id*="deleteUserBtn"]:hover {
    color: #666;
}


/* Custom Questions */
.custom-q-table {
  counter-reset: q;
}

.q-counter {
  font-family: 'DSG Sans', Arial, sans-serif;
}

.q-counter:before {
  counter-increment: q;
  content: counter(q);
  font-family: 'DSG Sans', Arial, sans-serif;
  text-align: center;
  font-weight: 700;
}   

.required.true:before {
  content: "Required";
} 


/* Froala Overrides */
.fr-form input[type="file"] {
  display: block !important; /* materialize hides */
}



/* Fix for tabs wider than screen (making it backwards-compatible with NPAL (v1.0)) */
.tab-scroller {
  overflow-x: auto;
  overflow-y: visible;
}

.tab-scroller > .tabs {
  overflow-x: visible;
  overflow-y: visible;
}

@media only screen and (max-width:600px) {
    .org-header > * {
        display: block;
        margin: 0 auto;
    }
}

/* Fix for image uploads bug (removes the "x" on the input fields) */
input::-ms-clear {
    display:none;
}
