@import url("//fonts.googleapis.com/css?family=Lato:400,700");

:root {
  --headline-text-color: #000;
  --header-color: #555;
  --header-height: 40px;
  --mobile-header-height: 15px;
  --text-color: #888;
  --dark-text-color: #6f6f6f;
  --light-text-color: #d4d4d4;
  --orange-color: #FF6600;
  --link-color: var(--orange-color);
  --link-color-hover: #b24700; /* = darken(#FF6600, 15%) */
  --btn-primary-background: var(--orange-color);
  --btn-primary-background-highlight: #ffa600; /* = spin(#FF6600, 15%) */
}

/* --------------------------------------------------------------------------- */
/* Reset (from Bootstrap 2 reset.less) */
/* --------------------------------------------------------------------------- */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; }
a:focus { outline: thin dotted; }
img { max-width: 100%; vertical-align: middle; border: 0; }
button, input, select, textarea { margin: 0; font-size: 100%; vertical-align: middle; }
button, input { line-height: normal; }

/* --------------------------------------------------------------------------- */
/* Scaffolding (from Bootstrap 2 scaffolding.less, variables applied) */
/* --------------------------------------------------------------------------- */

body {
  font-family: Lato, Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #888;
  background-color: #fff;
}
a { color: var(--link-color); text-decoration: none; }
a:hover { color: var(--link-color-hover); text-decoration: underline; }

/* --------------------------------------------------------------------------- */
/* Typography (from Bootstrap 2 type.less) */
/* --------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: bold; color: inherit; text-rendering: optimizelegibility; }
h1 { font-size: 30px; line-height: 36px; }
h2 { font-size: 24px; line-height: 36px; }
h3 { font-size: 18px; line-height: 27px; }
h4 { font-size: 14px; line-height: 18px; }
p { margin: 0 0 9px; }
ul, ol { padding: 0; margin: 0 0 9px 25px; }
ul ul, ol ol { margin-bottom: 0; }

/* --------------------------------------------------------------------------- */
/* Grid (from Bootstrap 2 grid.less + mixins.less) */
/* 12 columns, 60px wide, 20px gutter; span-n = n*80-20px */
/* offset-n = n*80+20px (absorbs span's own 20px margin-left) */
/* --------------------------------------------------------------------------- */

.clearfix:before, .clearfix:after,
.row:before, .row:after,
.container:before, .container:after { display: table; content: ""; }
.clearfix:after, .row:after, .container:after { clear: both; }

.container { width: 940px; margin-left: auto; margin-right: auto; }
.row { margin-left: -20px; }
[class*="span"] { float: left; margin-left: 20px; }

.span1  { width: 60px; }
.span2  { width: 140px; }
.span3  { width: 220px; }
.span4  { width: 300px; }
.span5  { width: 380px; }
.span6  { width: 460px; }
.span7  { width: 540px; }
.span8  { width: 620px; }
.span9  { width: 700px; }
.span10 { width: 780px; }
.span11 { width: 860px; }
.span12 { width: 940px; }

.offset1 { margin-left: 100px; }
.offset2 { margin-left: 180px; }
.offset3 { margin-left: 260px; }
.offset4 { margin-left: 340px; }
.offset9 { margin-left: 740px; }

/* --------------------------------------------------------------------------- */
/* Responsive (from Bootstrap 2 responsive-*.less) */
/* NOTE: body padding at <=767px is required — custom styles use */
/*       .header/.footer { margin-left: -20px; margin-right: -20px; } to compensate. */
/* --------------------------------------------------------------------------- */

.visible-phone { display: none !important; }

@media (max-width: 767px) {
  body { padding-left: 20px; padding-right: 20px; }
  .container { width: auto; }
  .row { margin-left: 0; }
  [class*="span"] { float: none; display: block; width: auto; margin-left: 0; }
  .visible-phone { display: inherit !important; }
  .hidden-phone { display: none !important; }
}

@media (min-width: 768px) and (max-width: 979px) {
  .container { width: 724px; }
  [class*="span"] { margin-left: 20px; }
  .span1  { width: 42px; }   .span2  { width: 104px; }
  .span3  { width: 166px; }  .span4  { width: 228px; }
  .span5  { width: 290px; }  .span6  { width: 352px; }
  .span7  { width: 414px; }  .span8  { width: 476px; }
  .span9  { width: 538px; }  .span10 { width: 600px; }
  .span11 { width: 662px; }  .span12 { width: 724px; }
  .offset1 { margin-left: 82px; }  .offset2 { margin-left: 144px; }
  .offset3 { margin-left: 206px; } .offset4 { margin-left: 268px; }
  .offset9 { margin-left: 538px; }
}

@media (min-width: 1200px) {
  .container { width: 1170px; }
  .row { margin-left: -30px; }
  [class*="span"] { margin-left: 30px; }
  .span1  { width: 70px; }   .span2  { width: 170px; }
  .span3  { width: 270px; }  .span4  { width: 370px; }
  .span5  { width: 470px; }  .span6  { width: 570px; }
  .span7  { width: 670px; }  .span8  { width: 770px; }
  .span9  { width: 870px; }  .span10 { width: 970px; }
  .span11 { width: 1070px; } .span12 { width: 1170px; }
  .offset1 { margin-left: 130px; }  .offset2 { margin-left: 230px; }
  .offset3 { margin-left: 330px; }  .offset4 { margin-left: 430px; }
  .offset9 { margin-left: 930px; }
}

/* --------------------------------------------------------------------------- */
/* Alerts (from Bootstrap 2 alerts.less) */
/* message_type values: "error", "success" (from config/messages.yaml) */
/* --------------------------------------------------------------------------- */

.alert {
  padding: 8px 35px 8px 14px;
  margin-bottom: 18px;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  border-radius: 4px;
  color: #c09853;
}
.alert-success { background-color: #dff0d8; border-color: #d6e9c6; color: #468847; }
.alert-error   { background-color: #f2dede; border-color: #eed3d7; color: #b94a48; }
.alert-info    { background-color: #d9edf7; border-color: #bce8f1; color: #3a87ad; }

/* --------------------------------------------------------------------------- */
/* Buttons (from Bootstrap 2 buttons.less, variables applied) */
/* --------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 18px;
  color: #333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255,255,255,.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: #f5f5f5;
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  border-bottom-color: #b3b3b3;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.btn:hover {
  color: #333;
  text-decoration: none;
  background-color: #e6e6e6;
  background-position: 0 -15px;
  transition: background-position .1s linear;
}
.btn-large { padding: 9px 14px; font-size: 15px; line-height: normal; border-radius: 5px; }
.btn-large [class^="icon-"] {
    margin-top: 1px;
}
.btn-primary, .btn-primary:hover { color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.25); }
.btn-primary {
  background-color: #ff8000;
  background-image: -webkit-linear-gradient(top, var(--btn-primary-background), var(--btn-primary-background-highlight));
  background-image: -o-linear-gradient(top, var(--btn-primary-background), var(--btn-primary-background-highlight));
  background-image: linear-gradient(to bottom, var(--btn-primary-background), var(--btn-primary-background-highlight));
  background-repeat: repeat-x;
  border-color: var(--btn-primary-background-highlight) var(--btn-primary-background-highlight) #b37400;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary[disabled] { background-color: var(--btn-primary-background-highlight); }

/* --------------------------------------------------------------------------- */
/* Forms (from Bootstrap 2 forms.less) */
/* No default width on inputs — Bootstrap 2 does not set one. */
/* --------------------------------------------------------------------------- */

form { margin: 0 0 18px; }
label { display: block; margin-bottom: 5px; }
label, input, button, select, textarea {
  font-size: 13px;
  font-weight: normal;
  line-height: 18px;
}
input, button, select, textarea {
  font-family: Lato,Arial,sans-serif;
}
::placeholder {
  color: #999;
}
input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="search"], textarea, select {
  display: inline-block;
  height: 18px;
  padding: 4px;
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 18px;
  color: #555;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
input[type="password"] {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s,box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s,box-shadow linear 0.2s;
    -ms-transition: border linear 0.2s,box-shadow linear 0.2s;
    -o-transition: border linear 0.2s,box-shadow linear 0.2s;
    transition: border linear 0.2s,box-shadow linear 0.2s;
}
.form-horizontal input {
    display: inline-block;
    margin-bottom: 0;
}
.form-horizontal .control-group { margin-bottom: 18px; }
.form-horizontal .control-group:before,
.form-horizontal .control-group:after { display: table; content: ""; }
.form-horizontal .control-group:after { clear: both; }
.form-horizontal .control-label { float: left; width: 140px; padding-top: 5px; text-align: right; }
.form-horizontal .controls { margin-left: 160px; }
legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 27px;
  font-size: 19.5px;
  line-height: 36px;
  color: #333333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}
/* Legend collapses margin, so next element is responsible for spacing */
legend + .control-group {
  margin-top: 18px;
  -webkit-margin-top-collapse: separate;
}

/* --------------------------------------------------------------------------- */
/* Icons (from Bootstrap 2 sprites.less) */
/* --------------------------------------------------------------------------- */

[class^="icon-"], [class*=" icon-"] {
  display: inline-block;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("../img/glyphicons-halflings.png");
  background-position: 14px 14px;
  background-repeat: no-repeat;
}
.icon-white       { background-image: url("../img/glyphicons-halflings-white.png"); }
.icon-lock        { background-position: -287px -24px; }
.icon-play-circle { background-position: -192px -24px; }

/* --------------------------------------------------------------------------- */
/* Utilities (from Bootstrap 2 utilities.less) */
/* --------------------------------------------------------------------------- */

.pull-right { float: right; }
.pull-left  { float: left; }
.hide       { display: none; }
.show       { display: block; }
.invisible  { visibility: hidden; }

html, body {
  height: 100%;
  margin: 0;
}

.header, .footer {
  background-color: var(--header-color);
  height: var(--header-height);
  overflow: hidden;
}

.wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto calc(0px - var(--header-height));
}

.push {
  height: var(--header-height);
}

.header {
  margin-bottom: 60px;
}

h1 {
  color: var(--headline-text-color);
  font-weight: normal;
  font-size: 32px;
  line-height: 42px;
  height: 42px;
  overflow: hidden;
}

.back-button-row {
  margin-top: -40px;
  margin-bottom: 10px;
}

.grey-button {
  color: #FFF;
  font-size: 16px;
  line-height: 24px;
  padding: 3px 10px;
  text-transform: uppercase;
  font-weight: bold;
  background: #CCC;
  height: 24px;
  border-radius: 7px;
  display: inline-block;

  &:hover {
    color: #FFF;
    background: var(--orange-color);
    text-decoration: none;
  }

  & em {
    font-weight: normal;
    text-transform: none;
    display: inline-block;
    margin-right: 2px;
    margin-left: 1px;
  }
}

.header-logo {
  font-size: 16px;
  height: 24px;
  line-height: 24px;
  padding-top: 8px;
  color: #FFF;
  text-align: right;
  padding-right: 67px;
  background: url("/static/images/ustudio_logo.png") right 13px no-repeat;
  display: block;

  &:hover {
    text-decoration: none;
    color: #FFF;
  }
}

.ustudio-powered {
  display: none;
}

.banner-row {
  margin-bottom: 28px;
}

.heading-row {
  margin-bottom: 14px;
}

.heading-description p {
  font-size: 17px;
  line-height: 24px;
  color: var(--text-color);
  margin-top: 0;
  margin-bottom: 16px;
}

.video-group-heading {
  margin-top: 26px;
  margin-bottom: 10px;
  color: var(--orange-color);
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}

.heading-description {
  position: relative;
}

.video-row {
  margin-bottom: 20px;

  .video {
    margin: 0 auto;

    &:hover {
      cursor: pointer;

      img.video-image {
        padding: 0;
        border: 3px solid var(--orange-color);
        color: var(--orange-color);
      }
    }

    img.video-image {
      width: 100%;
      border: 2px solid #FFF;
      display: block;
      background: #000;
      padding: 1px;
    }

    h3 {
      font-weight: normal;
      color: #222;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      height: 24px;
      line-height: 24px;
      font-size: 18px;
      margin-bottom: 20px;
    }

    a:hover {
      text-decoration: none;

      h3 {
        color: #000;
      }
    }
  }
}

.heading-description strong {
  color: var(--orange-color);
}

.embed-video {
  position: relative;
  max-width: 640px;
  margin: 30px auto 34px;
  aspect-ratio: 16 / 9;

  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

@media (max-width: 480px) {

  .header, .footer {
    height: var(--mobile-header-height);
    margin-left: -20px;
    margin-right: -20px;
  }

  .header {
    margin-bottom: 20px;
  }

  .wrapper {
    margin-bottom: calc(0px - var(--mobile-header-height));
  }

  .push {
    height: var(--mobile-header-height);
  }

  h1 {
    font-size: 22px;
    line-height: 28px;
    height: auto;
    overflow: visible;
  }

  .back-button {
    font-size: 12px;
  }
}


@media (max-width: 767px) {

  .header, .footer {
    margin-left: -20px;
    margin-right: -20px;
  }

}

.auth-container {
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--text-color);
  padding: 16px;

  legend {
    margin: -16px -16px 16px;
    padding: 8px 16px;
    line-height: 28px;
    background: var(--light-text-color);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 1.0);
    border-bottom: 1px solid var(--text-color);
    border-radius: 4px 4px 0 0;

    .icon {
      margin-top: 6px;
      margin-right: 6px;
    }
  }

  label {
    font-size: 18px;
    line-height: 22px;
  }

  input {
    font-size: 18px;
    line-height: 24px;
    padding: 6px 8px;
  }
}

.notice {
  margin-top: 40px;
  padding: 20px 30px 20px;
  border-radius: 10px;
  background: #DFDFDF;

  h3 {
    color: var(--dark-text-color);
    font-size: 24px;
    line-height: 38px;
    padding-bottom: 10px;
    border-bottom: 1px solid #FFF;
    margin-bottom: 14px;
    box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1);
  }

  p {
    font-size: 16px;
    line-height: 24px;
  }
}

.block-button {
  display: block;
  font-size: 16px;
  padding: 8px;
  margin: 0 24px;
  text-align: center;
}

.row.button-row {
  margin-bottom: 34px;
}
