@charset "utf-8";

/****************************************
* Typography
****************************************/

p,
li,
label,
h1,
h2,
h3,
h4 {
	margin-bottom: 1rem;
}

p + h2,
ul + h2,
p + h3,
ul + h3,
p + h4,
ul + h4,
p + h5,
ul + h5,
h3 + h2,
content + h2,
content + h3,
content + h4 {
  margin-top: 2rem;
}

.bulleted li:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0;
  height: 0;
  padding: 2px;
  background-color: #888888;
  border-radius: 100%;
}

/****************************************
* Billboard
****************************************/

.billboard content {
  display: block;
}

.billboard {
  background: url(/webfiles/DES/albums/layout_images/or/billboard.jpg);
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.billboard content > p:last-child > .button {
  margin-bottom: 0;
}

#billboard-slider {
  background: url(/webfiles/DES/albums/layout_images/or/billboard.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#billboard-slider,
#video-billboard {
  height: 100%;
}

.billboard .slide,
.billboard .video {
  position: relative;
  display: flex;
  height: 100%;
  padding-bottom: 0;
}

.billboard .box {
  margin: auto;
}

.slide,
.video video {
  position: absolute;
  bottom: -1px;
  right: 0;
  width: auto;
  height: 100%;
}

.video video.cover-height {
  height: 100%;
  width: auto;
  transform: translateX(-50%);
  left: 50%;
}

.video video.cover-width {
  height: auto;
  width: 100%;
}

.billboard .overlay,
.billboard .slide {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/****************************************
* Ribbon
****************************************/

.ribbon {
  padding: 1.5rem;
}

.ribbon h2 {
  margin-bottom: 10px;
  font-size: 40px;
  white-space: nowrap;
  transition: 0.3s all;
}

.ribbon h2 i {
  line-height: 0;
}

.ribbon content > :last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .ribbon .grid {
    padding: 2rem;
    max-width: 1008px;
  }
}

/****************************************
* Sidebar
****************************************/

.sidebar-box {
  margin: 0 auto;
  padding: 1.5rem;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
}

.sidebar-box + .sidebar-box,
.sidebar-box + .course-widget-packages,
.course-widget-packages + .sidebar-box {
  margin-top: 2rem;
}

/****************************************
* Facebook
****************************************/

section.facebook {
  background-color: #fafafa;
}

section.facebook p.links a:first-of-type {
  display: inline-block;
  margin-right: 2rem;
}

section.facebook img.post {
  max-height: 350px;
}

.fb-like {
  display: block;
  margin-bottom: 1rem;
}

/****************************************
* Packages
****************************************/

ul.packages > li {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #dfdfdf;
}

ul.packages > li:first-child {
  margin-top: 0;
}

ul.packages > li > div.register-now {
  font-size: 0;
}

ul.packages > li > div.register-now > .button {
  display: inline-block;
}

ul.packages > li > div.register-now > p.price {
  display: inline-block;
  margin: 0;
  margin-left: 1rem;
  color: #000000;
  font: normal normal 20px/1em 'Open Sans';
  text-align: right;
}

/* Variations */

.packages-bordered > li + li {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #dfdfdf;
}

.packages-two-column {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.packages-two-column > li {
  width: 50%;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

/****************************************
* Instructors / Associations
****************************************/

ul.instructors,
ul.associations {
  padding: 0;
  list-style: none;
}

.bulleted ul.instructors li:before,
.bulleted ul.associations li:before {
  display: none;
}

ul.instructors > li,
ul.associations > li {
  margin: 0;
  padding: 1.5rem 0;
  border-bottom: 1px solid #dfdfdf;
  font-size: 0;
}

ul.instructors > li:last-of-type,
ul.associations > li:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

ul.instructors > li .wrapper,
ul.instructors > li .image-wrapper,
ul.associations > li .wrapper,
ul.associations > li .image-wrapper {
  display: inline-block;
  vertical-align: top;
}

ul.instructors > li .image-wrapper,
ul.associations > li .image-wrapper {
  padding-right: 1.5rem;
  width: 33.3333%;
}

ul.instructors > li .wrapper,
ul.associations > li .wrapper {
  padding-left: 1.5rem;
  width: 66.666%;
}

ul.instructors > li .wrapper > :last-child,
ul.associations > li .wrapper > :last-child {
  margin-bottom: 0;
}

/****************************************
* FAQs
****************************************/

.accordion {
  transition: all 0.3s;
}

.accordion.on .dropdown {
  max-height: 1000px;
}

.accordion .dropdown {
  max-height: 0px;
  overflow: hidden;
  transition: 0.5s all;
}

.accordion:after {
  font: normal normal 36px/0.5em Font Awesome;
  content: '\f13a';
  display: block;
  text-align: center;
  transition: all 0.5s;
  color: #073398;
  cursor: pointer;
  margin-bottom: 20px;
}

.accordion:hover:after {
  color: #3f79ff;
}

.accordion.on:after {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

/****************************************
* Contact
****************************************/

.contact .column > p:last-child {
  margin-bottom: 1rem;
}

form .captcha {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1rem;
}

form .captcha #captcha {
  flex: 0 0 150px;
}

form .captcha input[name="xCAPTCHA"] {
  flex-grow: 1;
  margin: 0;
  width: 0;
}

form .button {
  display: block;
}

/****************************************
* Footer
****************************************/

footer {
  vertical-align: top;
}

footer a[href*='tel'] {
  color: inherit;
  font-size: 20px;
}

/* Contact Links */

footer .contact-links {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

footer .contact-links > p:first-child {
  margin-bottom: 0;
}

footer .contact-links > p:last-child {
  margin-top: .5rem;
}

/* Schools */

footer ul.schools {
  column-count: 2;
}

@media (max-width: 600px) {
  footer ul.schools {
    column-count: 1;
  }
}

footer ul.schools li {
  margin-bottom: .5rem;
}


/****************************************
* Attribution
****************************************/

.attribution {
  padding: 0.5rem 0;
  vertical-align: middle;
}

.attribution a,
.attribution p {
  margin: 0;
  font: normal normal 11px/1.5em 'Open Sans';
  text-align: center;
}

.attribution a {
  color: inherit;
}

.attribution a:hover,
.attribution a:active {
  text-decoration: underline;
}

/******************************
* Buttons
*******************************/

.button,
input[type='submit'] {
  margin: 0px;
  width: auto;
  height: auto;
  cursor: pointer;
}

.button + .button {
  margin-left: 1rem;
}

.small + .small {
  margin-left: 1rem;
}

/****************************************
* Forms
****************************************/

select {
  font-size: 12px;
}

label {
  display: inline-block;
  font: normal normal 16px/1.2em 'Open Sans';
  margin-bottom: 3px;
  padding-top: 5px;
}

#captcha {
  width: 150px;
  height: 42px;
  display: block;
  border-radius: 0px;
  margin-right: 10px;
  background: url('/captcha/captcha_show.php');
}

input[type='radio']:checked + label:before,
input[type='checkbox']:checked + label:before {
  top: -1px;
  background: #CEA539;
}

input[type='radio'] + label,
input[type='checkbox'] + label {
  padding-left: 1.25em;
  line-height: 0.25em;
  cursor: pointer;
}

input[type='radio'].invalid:not(:checked) + label:before,
input[type='radio'].invalid ~ input[type='radio']:not(:checked) + label:before,
input[type='checkbox'].invalid ~ input[type='radio']:not(:checked) + label:before,
input[type='checkbox'].invalid:not(:checked) + label:before {
  border-color: #d00;
}

/****************************************
* Common
****************************************/

iframe {
  width: 100%;
  height: 100%;
  margin-bottom: 1rem;
}

.no-padding {
  padding: 0 !important;
}

.no-margin {
  margin: 0 !important;
}

.anchor {
  margin-top: -125px;
  margin-bottom: 125px;
  display: block;
}

.embed-map {
  border: 1px solid black;
  width: 100%;
  height: 350px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.video {
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.video iframe,
.video object,
.video embed,
.video .placeholder {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.video .placeholder {
  background-size: cover;
  background-position: center center;
  transition: 0.5s all;
}

.video .placeholder:hover {
  box-shadow: inset 0px 0px 30px rgba(0, 0, 0, 0.7);
}

.video .placeholder:before {
  position: absolute;
  font: normal normal 50px/0.5em Font Awesome;
  top: 50%;
  left: 50%;
  content: '\f16a';
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  transition: all 0.5s;
  cursor: pointer;
}

.video .placeholder:hover:before {
  color: rgba(204, 24, 30, 0.9);
}

/****************************************
* Misc
****************************************/

.des-wrapper .des-create-modify {
  padding-top: 50px;
}

.inner-grid [class*='col']:first-of-type {
  padding-left: 0;
}

.inner-grid [class*='col']:last-of-type {
  padding-right: 0;
}

.grid {
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}
