p {
  font-size: 14px !important;
}

p.lead {
  font-size: 2em !important;
}

h3.lessonsAccordianHeader {
  position: relative;
  font-size: 1em;
  padding: 5px 1px;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

h4.panel-title {
  font-size: 14px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;

}

a.lessonAccordLink {
  margin-left: 24px;
  font-size: 14px;
  line-height: 1em;
}

a.lessonAccordLink:before {
  position: absolute;
  left: 15px;
  content: '\f105';
  font-family: 'FontAwesome';
  font-size: 1em;
  opacity: 0.6;
}

#ama-main {
  position: relative;
}

.alert {
  font-weight: normal;
}

.checkbox.custom {
  position: relative;
  margin: 0;
}

.checkbox.custom label {
  position: relative;
  padding-left: 30px;
  z-index: 0;
}

.checkbox.custom > label > input[type=checkbox] {
  position: absolute;
  z-index: -1000;
  left: -1000px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.checkbox.custom > label > input[type=checkbox] + .clabel {
  position: relative;
  padding-left: 12px;
  height: 24px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: 0 0;
  vertical-align: middle;
  cursor: pointer;
  z-index: 2;
}

.clabel {
  line-height: 24px;
  font-weight: bold;
  font-size: 1.3em;
}

.checkbox.custom > label > input[type=checkbox] + .clabel:after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  top: -1px;
  left: -30px;
  line-height: 0.45em;
  background-color: #fff;
  box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1), inset 0 0 3px rgba(0,0,0,0.1), 1px 1px 0 #eee;
  -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1), inset 0 0 3px rgba(0,0,0,0.1), 1px 1px 0 #eee;
  -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1), inset 0 0 3px rgba(0,0,0,0.1), 1px 1px 0 #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 3;
}

.checkbox.custom > label > input[type=checkbox].hidden + .clabel {
  padding-left: 0;
  margin-left: -30px;
}

.checkbox.custom > label > input[type=checkbox].hidden + .clabel:after {
  display: none;
}

.checkbox.custom > label > input[type=checkbox]:checked + .clabel:after {
  content: '\f00c';
  font-family: FontAwesome;
  color: #84c55f;
  font-size: 1.8em;

}

.checkbox.custom.check-black > label > input[type=checkbox]:checked + .clabel:after {
  color: #333;

}

.checkbox.custom > label > input[type=checkbox].ck_agreement + .clabel {
  font-size: 16px;
  line-height: 18px;
}

.checkbox.custom > label > input[type=checkbox].ck_agreement + .clabel:after {
  line-height: 0.45em !important;
}

.onPrgBarEdit {
  font-size: 10px;
  color: #000;
}

h3.lessonsAccordianHeader.ui-state-active a.lessonAccordLink:before {
  content: '\f107';
}

.ui-accordion-header-active.ui-state-active {
  border-bottom: transparent;
}

.ui-accordion .ui-accordion-content {
  border-top-right-radius: 0;
  -moz-border-top-right-radius: 0;
  -webkit-border-top-right-radius: 0;
  border-top-left-radius: 0;
  -moz-border-top-left-radius: 0;
  -webkit-border-top-left-radius: 0;
  padding: 15px;
}

#accordion {
  margin-bottom: 30px;
}

#dlgPrgBarEdit .modal-body {
  position: relative;
}

#dlgPrgBarEdit .input-group-addon {
  padding: 4px 12px;
}

#dlgPrgBarEdit .input-group-addon .jPicker {
  margin: 0 !important;
}

.jPicker {
  margin-left: 15px;
}

.jPicker.Container {
  z-index: 999999 !important;
}

.sub-prog-img {
  position: relative;
  top: -8px;
  float: left;
  margin-right: 15px;
  border: 1px solid #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.15), 2px 5px 20px rgba(0,0,0,0.1);
  -moz-box-shadow: 0 0 15px rgba(0,0,0,0.15), 2px 5px 20px rgba(0,0,0,0.1);
  -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.15), 2px 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

.sub-prog-img img {
  position: relative;
  width: 100px;
  height: auto;
}

.class-img {
  display: none;
  float: left;
  width: 64px;
  height: 64px;
  border-radius: 100%;
  position: relative;
  top: -8px;
  border: 1px solid #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.15), 2px 5px 20px rgba(0,0,0,0.1);
  -moz-box-shadow: 0 0 15px rgba(0,0,0,0.15), 2px 5px 20px rgba(0,0,0,0.1);
  -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.15), 2px 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

.class-img img {
  position: absolute;
  top: 50%;
  margin-top: -35px;
  left: 50%;
  width: auto;
  height: 70px;
}

.panel-heading {
  position: relative;
}

.inst-img {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 100%;
  position: absolute;
  top: -5px;
  border: 1px solid #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.15), 2px 5px 20px rgba(0,0,0,0.1);
  -moz-box-shadow: 0 0 15px rgba(0,0,0,0.15), 2px 5px 20px rgba(0,0,0,0.1);
  -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.15), 2px 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

.inst-img img {
  position: absolute;
  top: 50%;
  margin-top: -22px;
  left: 50%;
  width: auto;
  height: 50px;
}

.well .class-img {
  float: none;
}

.well label {
  font-weight: normal;
}

.well .form-group {
  margin: 0;
}

.well .form-group + .form-group {
  margin-top: 5px;
}

.row + .class-row {
  border-top: 1px solid #ddd;
}

.class-row {
  padding-top: 20px;
}

.class-sched + .class-sched {
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid #ddd;
}

.class-sched:nth-child(even) {
  background-color: #f3f3f3;
}

.class-sched th {
  text-align: center !important;
}

.new-account,
.forgot-pw,
.gmapIframe,
.addStudent {
  display: none;
}

.invoice-item + .invoice-item {
  border-top: 1px solid #ddd;
  margin-top: 20px;
}

a.disabled {
  visibility: visible !important;
}

.location-trigger {
  cursor: pointer;
}

.class-header {
  background-color: #ddd;
  padding: 5px 15px;
}

.class-sched:first-child .class-header {
  display: none;
}

.ama-header h2 small {
  color: #999;
}

.cartLink {
  display: none;
  position: absolute;
  background-color: #84c55f;
  color: #fff;
  padding: 15px;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.cartLink a {
  margin-top: 10px;
}

.alerts-wrap {
  margin-bottom: 30px !important;
}

a .panel-title {
  position: relative;
  padding-left: 24px;
}

a .panel-title:before {
  font-family: FontAwesome;
  content: '\f054';
  padding: 2px 4px;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 0;
  transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
  transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}

a.collapsed .panel-title:before {
  transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}

a[data-parent="#instructors"] .panel-title {
  padding-left: 78px;
}

a[data-parent="#instructors"] .panel-title:before {
  left: 54px;
}

ol {
  padding-left: 20px !important;
}

.fa-pencil {
  margin-right: 2px;
}

@media (max-width: 768px) {
  .ama-header {
    padding-top: 15px;
  }

  .ama-header h2 {
    font-size: 22px !important;
  }

  .cartLink {
    padding-top: 65px;
  }
}

@media print {
  .well {
    text-align: left;
  }

  .location-trigger {
    display: none;
  }

  .class-sched > .container-fluid {
    display: none;
  }
}
