.radiocont, .checkboxcont {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: 600;
    line-height: 130%;
}
  
.checkboxcont input,
.radiocont input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkboxcont .checkmark,
.radiocont .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
}


.checkboxcont input:disabled + .checkmark,
.radiocont input:disabled + .checkmark {
    background-color: #e7e1df;
}

.checkboxcont .checkmark {
    border-radius: 4px;
}   

.checkboxcont:hover input ~ .checkmark ,
.radiocont:hover input ~ .checkmark {
    background-color: #ccc;
}
  
.radiocont .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;    
    border-radius: 50%;
    background: #fff;
}

.checkboxcont .checkmark:after {
    font-family: 'dashicons';
    content: "\f147";
    position: absolute;
    display: none;
    top: 2px;
    left: -4px;
    font-size: 25px;
}

.radiocont input:checked ~ .checkmark:after {
    display: block;
    background-color: #743720;
}

.checkboxcont input:checked ~ .checkmark:after {
    display: block;
    color: #743720;
}

.nw-form ::placeholder {
    font-style: italic;
    color: #a8a8a8;
}

.nw-form * {
    box-sizing: border-box;
}

.nw-form {   
    border: 1px solid #999999;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    color: #555;	
}

.nw-form .form-header {
    background-color: #008B97;
    border-bottom: 1px solid #eee;
    position: relative;
}

.nw-form .form-header .ttl {
    color: #fff;
    font-size: 21px;
    font-weight: 600;
    padding: 20px 35px;
    margin: 0;
    text-transform: uppercase;
}

.nw-form .form-header .btn-close {
	position: absolute;
	right: 15px;
	top: 50%;
	margin-top: -9px;
	cursor: pointer;
}

.nw-form .form-top {
    padding: 25px 30px;
    font-size: 16px;
    line-height: 120%;
    background-color: #fff;
}

.nw-form .form-body {
	position: relative
}

.nw-form .page-content {
	background-color: #f1edeb;
	padding: 25px 35px;
}

.nw-form input[type="text"], .nw-form textarea, .nw-form select {
    border: none;
    padding: 8px 22px;
    border-radius: 4px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
}
#main .container {
    max-width: 1400px;
}

#sections p {
  padding-bottom: 1em;
  line-height: 1.35;
}

#sections ul {
  list-style: disc;
  margin-left: 25px;
}

#sections ul > li > ul {
  list-style: circle;
}

#sections ol {
  list-style: numeric;
  margin-left: 25px;
}

#sections .accordion-body > ul,
#sections .accordion-body > ol {
    margin-bottom: 0.7em;
}

#sections ul li, #sections ol li {
  line-height: 1.35;
  margin-bottom: 0.4em;
}

#sections li > ul {
  margin-top: 5px;
}


#sections table {
  border-collapse: collapse;
  margin-bottom: 1em;
  margin-top: 0.5em;
}

#sections table.reporting-table td, #sections table.reporting-table th {
  border: 1px solid #777;
  padding: 3px 8px;
  line-height: 1.35;
}

#sections .sm-heading {
  font-size: 17px;
  margin-bottom: 0.4em;
  font-weight: 600;
}

#sections .indt {
  padding-left: 10px;
  margin-bottom: 0.9em;
}

#sections a {
    font-weight: 700;
    line-height: 1.1;
    cursor: pointer;
}

#sections a.btn {
  font-weight: 600;
  letter-spacing: normal;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  padding: 7px 15px;
  border-radius: 4px;
}

#sections a.btn:hover {
    background-color: #db6920;
}

#sections .container.tabs {
  width: 100%;
  border: 1px solid #777;
}

#sections .tabs {
  margin-top: 0;
  border: none;
}

#sections .tabs .top-tb {
  padding: 15px 0;
}

#sections .tabs .bot-tb {
  padding: 15px 0;
}

#sections .tabs .tab-sel .ttl {
  font-size: 19px;
  padding: 15px 30px;
}

#sections .sortby {
	display:none;
}	

#main #sections .sec {
  padding: 35px 0 20px 0;
}

#sections {
    margin-top: 45px;
}

#sections .section-header {
    display: flex;
    align-items: center;
    padding: 25px 28px;
    cursor: pointer;
}

#sections .section-header .section-title {
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  flex-grow: 1;
}

#sections .section-header .icn-arrow::after {
  font-family: 'ETmodules';
  font-size: 22px;
  content: "\43";
  color: #fff;
}

#sections .section.expanded .section-header .icn-arrow::after {
  content: "\42";
}

#sections .section[data-type="career_planning"] .section-header { background-color: #0097d4; transition: background-color 0.2s ease; }
#sections .section[data-type="career_planning"] .section-header:hover { background-color: #0088BF; }

#sections .section[data-type="education"] .section-header { background-color: #008748; transition: background-color 0.2s ease; }
#sections .section[data-type="education"] .section-header:hover { background-color: #007A41; }

#sections .section[data-type="laptop_lending"] .section-header { background-color: #005776; transition: background-color 0.2s ease; }
#sections .section[data-type="laptop_lending"] .section-header:hover { background-color: #004E6A; }

#sections .section[data-type="wage_replacement"] .section-header { background-color: #97a229; transition: background-color 0.2s ease; }
#sections .section[data-type="wage_replacement"] .section-header:hover { background-color: #889225; }

#sections .section .section-body {
    display: none;
}

#sections .section-content {
  padding: 20px 10px;
}


#sections .tab-buttons {
    display: flex;
    flex-wrap: wrap;            /* allows wrapping into multiple rows */
    border-bottom: 1px solid #ccc;
    margin-top: 10px; /*todo remove*/
}

#sections .tab-buttons button {
    padding: 12px 20px;
    border: 1px solid transparent;
    border-bottom-color: transparent;
    cursor: pointer;
    font-size: 16px;
    background-color: #fff;
}

#sections .tab-buttons button.active {
    border: 1px solid #ccc;
    border-bottom-color: #fff;
    font-weight: bold;
    position: relative;
    top: 1px;
}

#sections .tab-panels {
  display: grid;
  grid-template-columns: 1fr 250px;
  margin-top: 20px;
  margin-bottom: 20px;
}

#sections .tab-panel {
    display: none;
}

#sections .tab-panel.active {
    display: block;
}

#sections .accordion-header {
    display: none;
}

#sections .accordion-body {
    padding: 0 20px;
}

#sections .quicklinks {
    border-left: 1px solid #666;
    padding-bottom: 20px;
}

#sections .quicklinks .ql-cont {
  padding: 0 20px;
}

#sections .quicklinks .ql-header {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  padding: 4px 20px;
}

#sections .section[data-type="wage_replacement"] .quicklinks .ql-header { background-color: #97a229; }
#sections .section[data-type="career_planning"] .quicklinks .ql-header { background-color: #0097d4; }
#sections .section[data-type="laptop_lending"] .quicklinks .ql-header { background-color: #005776; }
#sections .section[data-type="education"] .quicklinks .ql-header { background-color: #008748; }

#sections .quicklinks .ql-link {
  display: grid;
  grid-template-columns: 16px 1fr;
  font-size: 16px;
  line-height: 1.1;
  margin-top: 15px;
}

#sections .quicklinks .ql-link > span {
    color: #f47524;
}

#sections .quicklinks .ql-link a {
    color: #000;
}

#sections .quicklinks .ql-link a:hover {
    color: #f47524;
}

#sections .icn-txt {
  display: flex;
  align-items: center;
}

#sections .icn-txt img {
  width: 20px;
  margin-right: 11px;
}

#sections .icn-txt img.download-icon {
  width: 22px;
}

/* -- Education -- */

#sections #edu-content .toggle-cont {
  text-align: center;
  padding: 15px 15px 30px;
}

#sections #edu-content .edu-toggle {
  display: inline-block;
  margin-right: 10px;
  padding: 8px 15px;
  background-color: #f0f0f0;
  color: #666;
  min-width: 160px;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.2;
}

#sections #edu-content .edu-toggle:hover {
  background-color: #d8d8d8;;
}

#sections #edu-content .edu-toggle.selected {
  background-color: #ff6b00;
  color: #fff;
}

#edu-content .tab-section {
  display: none;
}

#edu-content .tab-section[data-type="degree"] {
  display: block;
}

#edu-content .cdc-appt-cont{
  margin-top: 8px;
}

#edu-content .apply-cont {
  margin-top: 12px;
}

#edu-content .apply-cont .btn-cont {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#edu-content .apply-cont .btn {
  min-width: 130px;
  margin-right: 20px;
}

#edu-content .apply-cont .app-expl {
  font-style: italic;
  font-weight: 600;
}

#sections #benu_payments table th:nth-child(5), 
#sections #benu_payments table td:nth-child(5) {
  display: none;
}

/* -- wage replacement -- */
#sections a.btn.appt-btn {
    margin-top: 6px;
    margin-bottom: 6px;
    width: 240px;
}

#wage-replacement .apply-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

#wage-replacement .apply-section .btn {
  display:none;
}

#wage-replacement #loading-docs {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  margin-top: 20px;
}

#wage-replacement #loading-docs img {
  width: 25px;
  margin-right: 10px;
}

#sections #wage-replacement #mydocs a.btn {
  font-size: 12px;
  padding: 4px 10px;
  margin-top: 8px;
}

/* -- TAP -- */

#edu-content .tap-apply-cont {
  padding-top: 20px;
}

#tap-form-cont {
  display: none;
}

#tap-form .next-year-only {
  padding: 25px 25px;
  font-size: 15px;
  border-bottom: 1px solid #ddd;
  display: none;
}

#tap-form #tap-next-year-only .icon {
  font-size: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-right: 10px;
  color: #c90202;
}

#tap-form .year-choice-panel {
  padding: 15px 25px;
  border-bottom: 1px solid #ddd;
  display: none;
}

#tap-form .year-choice-panel .expl {
  margin-bottom: 10px;
}

#tap-form .help {
  margin-bottom: 15px;
  font-weight: 600;
}

#tap-form .userdata {
  display: grid;
  grid-template-columns: 175px auto;
  row-gap: 5px;
  margin-bottom: 25px;
}

#tap-form .userdata .vals {
  padding-left: 10px;
  font-weight: 600;
}

#tap-form .userdata .vals.input {
  padding-left: 0;
}

#tap-form.nw-form input[type="text"] {
  padding: 3px 10px;
}

#tap-form .userdata .vals.input input {
  width: 290px;
}

#tap-form #tap-checks {
    margin-top: 20px;
}

#tap-form .check-row {
  display: flex;
  margin-bottom: 12px;
  line-height: 1.4;
  align-items: center;
}

#tap-form .checkboxcont {
    height: 20px;
}

#tap-form .disclaimer {
  margin-left: 10px;
}

#tap-form .form-footer {
  padding: 20px 35px;
  text-align: right;
  border-top: 1px solid #ddd;
}

/* laptop lending */

#sections #bookform .disclaim li {
  margin-bottom: 0.6em;
}

/* contact popup */

#contact-popup {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.4);  
  z-index: 100;
}

.contact-modal {
  max-height: 90vh;
  overflow-y: auto;
  width: 100%;
  max-width: 700px;
  background: #559db3;
  padding: 20px;
  border: 1px solid #555;
  position: relative;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s, transform 0.2s ease;
}

.contact-modal.on {
  opacity: 1;
  transform: scale(1);
}

.ct-close {
  position: absolute;
  right: 22px;
  top: 25px;
  width: 15px;
  height: 13px;
  cursor: pointer;
}

#contact-popup .heading {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #fff;
}

#contact-popup input, #contact-popup textarea {
  width: 100%;
  border: none;
  padding: 15px 15px;
  font-size: 13px;
  margin-bottom: 20px;
}

#contact-popup textarea {
  resize: none;
  height: 200px;
}

#contact-popup input::placeholder,
#contact-popup textarea::placeholder {
  font-style: italic;
}


#contact-popup .submit-area {
  text-align: right;
}

#contact-popup .submit {
  display: inline-block;
  background: #a1d4d8;
  color: #1595a0;
  font-weight: 600;
  text-decoration: none;
  padding: 0 38px;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 20px;
  line-height: 30px;
}

#contact-popup .submit:hover {
  background: #0098b0;
  color: #fff;
}

#top-menu #menu-item-57 > ul,
#top-menu #menu-item-57 > ul > li {
  width: 260px;
}

#top-menu li li a {
  width: 100%;
}

@media (max-width: 1024px) {
    #sections .tab-panels {
        grid-template-columns: 1fr;  /* single column layout */
    }

    #sections .quicklinks {
        border-left: none;
        border-top: 1px solid #666;
        margin-top: 20px;
        padding-top: 15px;
    }
}

@media (max-width:900px) {
	
  #sections .sortby {
    display:block;
  }

}

@media (max-width: 600px) {
    #sections .tab-buttons {
        display: none;           /* hide tab row */
    }

    #sections .tab-panel {
        display: block;          /* each panel visible as item */
        margin-bottom: 10px;
    }

    #sections .accordion-header {
        display: block;
        width: 100%;
        text-align: left;
        background: #f0f0f0;
        border: 1px solid #ccc;
        padding: 12px 16px;
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;
    }

    #sections .accordion-body {
        display: none;           /* collapsed by default */
        border: 1px solid #ccc;
        border-top: none;
        padding: 15px;
    }

    #sections .tab-panel.active .accordion-body {
        display: block;          /* expanded for active panel */
    }

    #sections #edu-content .edu-toggle {
      width: 100%;
    }

    #contact-popup {
      align-items: flex-start;
      padding-top: 1rem;
    }
}
