@import "grid.less";

@columns: 16;
@column-width: 40;
@gutter-width: 20;

@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);

div.container.intro {
  width: 100%;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

ul.thumbnails {
  li {
    .column(4, 16);
  }
}

hr.soften {
  height: 1px;
  background-image: -webkit-linear-gradient(left, transparent, rgba(0, 0, 0, .1), transparent);
  background-image: -moz-linear-gradient(left, transparent, rgba(0, 0, 0, .1), transparent);
  background-image: -ms-linear-gradient(left, transparent, rgba(0, 0, 0, .1), transparent);
  background-image: -o-linear-gradient(left, transparent, rgba(0, 0, 0, .1), transparent);
  border: 0;
}

/* date display */
div.date {
  position: relative;
  width: 70px;
  height: 50px;
  font-family: Georgia, serif;
  color: #999;
  margin: 0 auto;
}

.day, .month, .year {
  position: absolute;
}

.day {
  font-size: 30px;
  top: 15px;
}

.month {
  top: 0;
  left: 0;
  font-size: 18px;
}

.year {
  top: 19px;
  right: 0;
  font-size: 20px;
  rotation: -90deg !important;
  /* ** Hacks ** */
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
}

/* form error list */
ul.errorlist {
  margin: 0 0 0 25px;
}

li.user {
  height: 170px;
}

/* user thumbnail with optional username caption */
div.user.thumbnail {
  .column(3, 16);

  img {
    max-width: 100%;
  }
  div.caption {
    padding-bottom: 4px;
  }
}

/* video thumbnails */
ul.thumbnails {
  li.video {
    width: 160px;
    height: 90px;
    margin: 5px;
    text-align: center;

    img {
      max-width: 100%;
      max-height: 100%;
    }
  }
}

/* form checkbox (make help-block to be inline) */
form {
  input[type="checkbox"] {
    float: left;
    margin-right: 5px;
  }
  input[type="checkbox"] + p.help-block {
    height: 15px;
    margin-top: 5px;
  }
}

/* header section */
div.spacing {
  width: 100%;
  height: 12px;
  background: #fff;
  position: fixed;
  top: 0;
  z-index: 1;
}

div.navbar {
  top: 12px;
  border-top: 4px solid #38c;
  box-shadow: 0px 1px 3px #333;

  a.brand {
    span {
      display: none;
    }
  }
  a.brand.home {
    img {
      position: absolute;
      top: -16px;
      margin-left: -10px;
    }
  }
  a.brand.home + div.nav-collapse {
    margin-left: 150px;
  }
  ul.nav {
    li {
      height: 50px;

      a {
        line-height: 25px;
        padding-left: 5px;
      }
      .btn, .btn-group {
        margin-top: 10px;
      }
    }
    ul.dropdown-menu li {
      height: auto;

      a {
        line-height: auto;
      }
    }
    li.active {
      a {
        background-color: transparent;
      }
    }
  }
  ul.nav.pull-right {
    a.brand {
      color: black;
      font-weight: bold;
      margin-top: 5px;
      padding: 8px 5px;
      text-shadow: 0 1px 0 rgba(255, 255, 255, .1), 0 0 30px rgba(255, 255, 255, .125);
    }
  }
  li.username {
    max-width: 159px;
    overflow: hidden;
  }
}

.btn-wide {
  padding-left: 78px;
  padding-right: 78px;
}

.tooltip-inner {
  font-size: 12px;
  background-color: #999999;
}
.tooltip.bottom .tooltip-arrow {
  border-bottom: 5px solid #999999;
}

/* main section */
#main {
  .row(16);
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;

  #sidebar {
    .column(4, 16);

    ul#submenu {
      margin-top: 40px;
      width: 160px;
    }
  }
  #sidebar.right {
    .column(5, 16);
  }
  #content.with-sidebar {
    .column(12, 16);
  }
  #content.with-sidebar-right {
    .column(11, 16);
  }
  #content {
    .column(16, 16);
  }
}

/* footer section */
#footer {
  .row(16);
  margin: 30px -20px;

  #secondary-menu {
    text-align: center;
    clear: both;

    li {
      float:none;
      display:inline-block;
      *display: inline;     /* for IE7 */
      *zoom:1;              /* for IE7 */
    }
  }
  #company-logo {
    .column(2, 16);
  }
  #company-info {
    .column(8, 16);
  }
  #bizspark {
    .column(3, 16);
    width: 125px;
    display: none;

    img {
      max-width: 100%;
    }
  }
  #mixpanel {
    .column(3, 16);
    width: 114px;
  }
  #links {
    .column(3, 16);
    float: right;
    margin-right: 20px;

    li {
      float: left;
      margin-left: 5px;
    }
  }
  div.fb-like {
    width: 100px;
    float: right;
    margin-top: 5px;
    margin-right: 14px;
  }
  #copyright {
    .column(4, 16);
    .push(12);
    font-size: 11px;
  }
}

/* home - header */
#home-header {
  overflow: hidden;
  width: 100%;
  height: 320px;
  margin: 0px;
  border-bottom: solid 10px #0088cc;

  .slide-item {

    .slide-content {
      .row(16);
      position: relative;
      height: 320px;
      padding-top: 30px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 10px;
      background-color: transparent;

      .text {
        .column(8, 16);
        padding-top: 54px;

        h1 {
          font-size: 34px;
          line-height: 50px;
          font-weight: bold;
          margin-left: 15px;
          letter-spacing: -2px;
        }
        p {
          font-size: 17px;
          font-weight: bold;
          line-height: 34px;
          margin: 15px 30px;
          text-align: left;
        }
      }
      .video {
        .column(8, 16);
        margin: 0px -10px;
      }
      .btn {
        background-image: none;
      }
      .btn-home {
        color: #fff;
        font-size: 16px;
        width: 80px;
        border: 1px solid #0097d8;
        background-color: #5fb5e3;

        &:hover {
          border: 1px solid #0097d8;
          background-color: #0097d8;
        }
      }
    }
  }
  .slide-item.first {
    background: url("/virect/static/img/bg.png") repeat-x;
    color: #38c;

    .text {
      a {
        margin: 10px 0px 40px 140px;
      }
    }
  }
  .slide-item.second {
    background-color: #1b2732;
    color: #fff;

    .text {
      padding-top: 74px;
      height: 283px;
      background: url("/virect/static/img/slide2-bg.png") no-repeat -20px -34px;

      a {
        margin: 50px 0px 40px 120px;
      }
    }
  }
  .slide-item.third {
    background-color: #212322;
    color: #fff;

    .text {
      padding-top: 74px;
      height: 283px;
      background: url("/virect/static/img/slide3-bg.png") no-repeat -20px -34px;

      a {
        margin: 50px 0px 40px 120px;
      }
    }
  }
  button.slick-prev, button.slick-next {
    display: none !important;
  }
  .slick-dots {
    position: absolute;
    top: 5px;
    min-width: 960px;
    height: 30px;
    text-align: right;
    margin: 0;

    li {
      width: 10px;
      height: 10px;
    }
    button {
      width: 10px;
      height: 10px;
      background-color: #38c;
      opacity: 0.25;

      &:before {
        content: none;
      }
    }
    .slick-active {
      button {
        opacity: 1;
      }
    }
  }
}

/* home - main */
#home-main {
  .row(16);
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
}

/* videos panel */
section#videos-panel {
  margin: 20px -10px;

  ul {
    li {
      width: 172px;
    }
  }
}

/* services panel */
section#services-panel {
  margin: 30px -10px;
  // margin-top: 60px;
}

section {
  .row(16);

  h1.page-header {
    .column(16, 16);
  }
  h2 {
    .column(16, 16);
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
  }
  span {
    .column(16, 16);

    ul.thumbnails {
      .row(16);

      li {
        a, img {
          max-width: 100%;
        }
      }
    }
  }
}

/* clients panel */
section#clients-panel {
  ul.thumbnails li {
    width: 940px;
    margin-bottom: 10px;
  }
  // float option of .column() fixin occurs issues in firefox
  h2 {
    display: inline-block;
    float: none;
  }
}

/*status panel */
section div#status-panel {
  background: url("/virect/static/img/status_bg.png") repeat-x;
  width: 100%;
  height: 76px;

  p {
    color: #08c;
    font-weight: bold;
    text-align: left;
    display: inline;
  }
  p.unit-title {
    font-size: 18px;
    margin-left: 18px;
    vertical-align: 120%;
  }
  p.count-unit{
    font-size: 13px;
    margin-left: 4px;
    vertical-align: 80%;
  }
  ul {
    display: inline-block;
    list-style: none;
    margin-left: 2px;
    letter-spacing: -3px;

    li {
      display: inline-block;
      width: 36px;
      height: 49px;
      margin-top: 22px;
    }
    li.number0 {
      background: url("/virect/static/img/status.png") 0 0;
    }
    li.number1 {
      background: url("/virect/static/img/status.png") -40px 0;
    }
    li.number2 {
      background: url("/virect/static/img/status.png") -80px 0;
    }
    li.number3 {
      background: url("/virect/static/img/status.png") -120px 0;
    }
    li.number4 {
      background: url("/virect/static/img/status.png") -160px 0;
    }
    li.number5 {
      background: url("/virect/static/img/status.png") -200px 0;
    }
    li.number6 {
      background: url("/virect/static/img/status.png") -240px 0;
    }
    li.number7 {
      background: url("/virect/static/img/status.png") -280px 0;
    }
    li.number8 {
      background: url("/virect/static/img/status.png") -320px 0;
    }
    li.number9 {
      background: url("/virect/static/img/status.png") -360px 0;
    }
  }
}

/* Press panel */
section#press-panel {
  margin-top: 10px;

  img {
    float: left;
    margin-left: 10px;
  }
  ul {
    li {
      margin: 15px 0px;
      overflow: hidden;

      div.article {
        width: 680px;
        float: left;
        margin-left: 30px;

        p.date {
          font-size: 11px;
          color: #888;
          margin-bottom: 0px;
        }
        p.lead {
          font-size: 14px;
          margin: 0px 0px 10px 0px;
        }
        a {
          font-size: 13px;
          float: right;
          margin-right: 180px;
        }
      }
    }
  }
}

/* callout panel */
section#callout-panel {
  span {
    ul {
      .row(16);

      li {
        span {
          font-size: 32px;
          font-weight: bold;
          letter-spacing: 12px;
          max-width: 100%;
        }
      }
      li.user-count {
        .column(4, 16);
      }
      li.video-count {
        .column(4, 16);
      }
      li.payout {
        .column(6, 16);
      }
      li.callout {
        .column(2, 16);
      }
    }
  }
}

/* video list */
section#videos {
  h1 {
    width: 646px;
    border-bottom: none;
  }
  form {
    margin: 0px;
    width: 940;
    border-bottom: 1px solid #eeeeee;

    div.control-group {
      margin: 0px;
      display: inline-block;

      div.controls {
        margin-top: 10px;
        margin-left: 0px;
      }
    }
  }
  form.form-search {
    padding: 10px 60px 0px 10px;
    border-bottom: 0px;
  }
  ul.thumbnails {
    margin: 10px 20px;
  }
  li.video {
    .column(5, 16);
    height: 198px;
    margin: 5px 10px;
    text-align: center;

    div.image-box {
      overflow: hidden;
      width: 100%;
      max-height: 151.875px;
    }
    div.caption {
      text-align: left;
    }
  }
}

/* video sidebar */
dl#video-sidebar.dl-horizontal {
  margin-top: 80px;

  dt {
    width: 60px;
  }
  dd {
    margin-left: 80px;

    div.user.thumbnail {
      margin: 0;
    }
  }
}

/* manage videos */
#manage-videos {
  section#import-videos {
    position: relative;
    margin-bottom: 20px;
    min-height: 350px;
  }
  ul.thumbnails {
    li {
      margin-top: 10px;
      margin-bottom: 30px;
    }
    .thumbnail {
      position: relative;

      &:hover {
        text-decoration: none;
      }
      img {
        width: 210px;
        height: 118px;
      }
      .marker {
        color: #000;
        font-weight: bold;
        font-size: 20px;
      }
      .marker.topright {
        position: absolute;
        top: 5%;
        right: 5%;
      }
      .act-guide {
        position: absolute;
        top: 30%;
        width: 100%;
        text-align: center;
        color: #000;
        font-weight: bold;
        font-size: 20px;
      }
    }
    .truncate {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  .exist {
    opacity: 0.3;
  }
  .loading {
    opacity: 0.5;
  }

  .spinner-box {
    position: relative;
  }
  .spinner {
    position: absolute;
    margin: 0 auto;
    width: 93%;
    height: 30px;
    text-align: center;
    font-size: 10px;
  }
  .spinner.lg {
    top: 40%;
  }
  .spinner.md {
    top: 45%;
  }
  .spinner.sm {
    top: 30%;
  }

  .spinner > div {
    background-color: #38c;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
    animation: stretchdelay 1.2s infinite ease-in-out;
  }

  .spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
  }

  .spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
  }

  .spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
  }

  .spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
  }

  @-webkit-keyframes stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
    20% { -webkit-transform: scaleY(1.0) }
  }

  @keyframes stretchdelay {
    0%, 40%, 100% {
      transform: scaleY(0.4);
      -webkit-transform: scaleY(0.4);
    }  20% {
      transform: scaleY(1.0);
      -webkit-transform: scaleY(1.0);
    }
  }
}

/* job list */
section#jobs {
  .nojobs {
    font-size: 1.5em;
    line-height: 1;
    padding: 20px 0 150px 0;
    text-align: center;
  }
  table {
    .row(16);

    th {
      text-align: center;
    }
    th, td {
      padding: 8px 0;
      position: relative;
    }
    tbody {
      tr {
        height: 151px;
        overflow: hidden;
      }
    }
    thead, tbody {
      .column(16, 16);

      tr {
        .row(16);

        td.client, td.price, td.director {
          vertical-align: middle;
        }
        span.image {
          .column(4, 16);
        }
        img.newribbon {
          position: absolute;
          top: 0px;
          left: 0px;
          opacity: 0.95;
        }
        span.title, span.description {
          .column(8, 16);
        }
        div.body {
          margin-top: 5px;
          height: 96px;
          overflow: hidden;
        }
        span.client, h4.client {
          .column(2, 16);
          text-align: center;
        }
        span.price, h4.price {
          .column(2, 16);
          text-align: center;
        }
        span.director, h4.director {
          .column(2, 16);
          text-align: center;
        }
      }
    }
  }
}

/* job detail */
div#job {
  img {
    max-width: 100%;
  }
  p.center {
    margin: 18px 0;
  }
  div.modal-body {
    max-height: 500px;

    div.surcharge_rate,
    div.message {
      p.help-block {
        font-size: 12px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
        border-radius: 3px;
        background: #FFD7D7;
        padding: 5px;
        width: 305px;
      }
    }
  }
  div.form-actions {
    background-color: #ffffff;
  }
  div#signupModal {
    ul {
      list-style: none;

      * {
        display: inline;
      }
      li {
        min-width: 100px;
      }
    }
  }
}

/* service list */
div#overview {
  li.service {
    height: 200px;
    padding: 10px 0;

    border-bottom: 1px solid #eee;

    h3 {
      margin: 10px 16px 10px 0;
      padding-right: 10px;
      border-right: 4px solid #36c;
      display: inline-block;
      width: 120px;
    }
    span.price {
      font-size: 18px;
    }
    div.description, div.buttons {
      overflow: hidden;
      margin: 10px 10px 10px 0;
      font-size: 14px;
      line-height: 20px;
    }
    div.buttons {
      text-align: center;
      margin-top: 20px;
    }
    iframe {
      float: right;
      padding-left: 10px;
    }
  }
}

/* job signups */
div#signups {
  li.signup {
    clear: both;
    overflow: auto;
    padding: 8px 0;
    border-top: 1px solid #eee;

    div.user.thumbnail {
      position: relative;
      .column(3, 16);

      img.surcharge-label {
        position: absolute;
        top: 0;
        left: 0;
        background-color: transparent;
      }
    }
    div.info {
      .column(11, 16);
      width: 610px;
      position: relative;

      p.plan {
        margin: 15px 0;
      }
      ul.thumbnails {
        margin-left: 0;
      }
      .info-controls {
        display: block;
        position: absolute;
        top: 0px;
        right: 0px;

        button.btn {
          width: 100px;
          margin: 10px 0;
        }
      }
    }
    div.profile {
      .column(2, 16);

      .btn {
        width: 100px;
        margin: 10px 0;
      }
      a.btn {
        width: 78px;
      }

      li {
        height: 28px;
        line-height: 25px;
        border-bottom: 1px solid #eee;

        a.number {
          var {
            font-weight: bold;
            font-size: 20px;
          }
        }
      }
      form {
        margin: 0;
      }
      .toggling-container {
        &.on .unrecommend, .recommend {
          display: inline;
        }
        &.on .recommend, .unrecommend {
          display: none;
        }
      }
    }
    span.star-rank {
      display: inline-block;
      width: 125px !important;
      margin-bottom: 12px;

      img {
        width: 21px;
        height: 20px;
      }
    }
  }
}

/* job signup - proposal */
div#proposal,
div#proposal-create {
  .section-header {
    padding-bottom: 10px;
    margin: 10px 0;
    border-bottom: 1px solid #eeeeee;
  }
  #player-modal {
    min-width: 670px;
  }
  .proposal-viewer {
    position: relative;

    .viewer-not-supported {
      display: none;
    }
    .disabled-screen {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 99%;
      background-color: #000;
      opacity: .5;

    }
    .disabled-message {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      text-align: center;
      margin-top: 230px;

      p {
        width: 80%;
        color: #fff;
        margin: 0 auto;
        // font-size: 14px;
      }
    }
  }
  #form-signup.hidden {
    display: none;
  }
}

/* service detail */
div#service {
  div {
    ul {
      margin-bottom: 10px;
    }
    ul.thumbnails {
      .row(12);
      margin-bottom: 10px;

      li {
        width: 160px;
        margin: 0 10px;
      }
    }
  }
  a.btn {
    width: 80px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* user profile */
div#profile-sidebar {
  .row(4);

  div, dl {
    .column(4, 4);
  }
  dl {
    margin: 10px;
  }
  img.thumbnail {
    // TODO: special case handling for thumbnail classes
    width: 210px;
  }
}

div#profile {
  .row(12);

  h2 a {
    width: 90px;
  }

  span {
    .column(12, 12);

    h4 {
      margin-bottom: 10px;
    }
    ul.thumbnails {
      .row(12);
      margin: 0 10px;
    }
    ul.ratings {
      .row(12);

      li.rating {
        border-top: 1px solid #eee;
        padding: 10px 0;
        overflow: hidden;

        div.rate {
          .column(1, 12);
          font-weight: bold;
        }
        div.job {
          .column(7, 12);
          color: #aaa;
        }
        div.client {
          .column(2, 12);
        }
        div.pub_date {
          .column(2, 12);
          text-align: right;
        }
        div.rating {
          .push(1);
          margin-top: -15px;
        }
      }
    }
  }

  h2, h3, div {
    .column(12, 12);
  }
  h3.ratings {
    margin-top: 20px;
  }
  div.well {
    width: 660px;
    margin: 10px;
  }
  div.fb-comments {
    margin: 10px 0;
    overflow: hidden;
  }
}
div#hire-modal {
  top: 40%;

  .modal-body {
    padding: 15px 0 0 0;
    max-height: 520px;
  }
  .form-horizontal {
    margin-bottom: 0;
  }
  .form-actions {
    margin-bottom: 0;
  }
}

/* process */
div#process {
  li {
    height: 170px;
    margin: 10px 0;
  }
  h3 {
    position: relative;
    color: #f7f7f7;
    top: -155px;
    right: -190px;
  }
  p {
    position: relative;
    top: -120px;
    right: -210px;
    width: 470px;
  }
}

/* pricing */
div#pricing {
  table {
    td, th {
      text-align: center;
      width: 200px;
    }
    td.item, th.item {
      width: 100px;
      text-align: right;
    }
  }
}

/* promotion */
div#promotion {
  div.product {
    float: left;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    width: 220px;
    margin-right: 20px;
    outline: 1px solid #ddd;

    div.title {
      position: relative;
      color: #fff;
      font-weight: normal;
      height: 120px;
      padding-top: 36px;

      span.price {
        font-size: 20px;
      }
      img {
        position: absolute;
        top: 110px;
        left: 0px;
      }
    }
    ul.summary {
      text-align: left;
      font-size: 14px;
      padding-top: 140px;
      height: 160px;

      li {
        margin: 5px 0;
      }
    }
    button {
      width: 80%;
      height: 40px;
      margin: 20px 0;
      color: #fff;

      background-color: #394a59;
      border: 1px solid #1a2732;
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      -ms-border-radius: 5px;
      -o-border-radius: 5px;
      border-radius: 5px;

      &:hover {
        background-color: #1a2732;
      }
    }
    a {
      color: #fff;
      text-decoration: none;
    }
  }
  div.product.last {
    margin-right: 0px;
  }
  div.product.typography {
    div.title {
      background-color: #003045;
    }
    span.price {
      color: #34b6e4;
    }
  }
  div.product.stillcut {
    div.title {
      background-color: #00b091;
    }
    span.price {
      color: #afe8db;
    }
  }
  div.product.motion {
    div.title {
      background-color: #ff535b;
    }
    span.price {
      color: #ffcccc;
    }
  }
}

/* clients */
div#clients {
  li.client {
    img {
      float: left;
    }
    h3 {
      line-height: 60px;
    }
    .column(4, 12);
    .push(1);
    padding: 10px 0;
  }
}

/* virect */
div#virect {
  div.well {
    margin-top: 10px;
    width: 650px;
  }
}

/* user list */
div#pdnetwork {
  li.user {
    margin-bottom: 5px;

    .bio {
      height: 100px;
      overflow: hidden;
    }
  }
  input.search-query {
    padding-left:26px;
  }

  form.form-search {
      position: relative;
  }

  form.form-search:before {
      content:'';
      display: block;
      width: 14px;
      height: 14px;
      background-image: url(/virect/static/img/glyphicons-halflings.png);
      background-position: -48px 0;
      position: absolute;
      top:14px;
      left:8px;
      opacity: .5;
      z-index: 1000;
  }
}

/* narrowcast */
div#narrowcast {
  div.well {
    width: 600px;
  }
}

/* members */
div#members {
  ul.members {
    margin-top: 30px;
  }
  li.member {
    margin: 20px 0;
  }
}

/* press */
div#press {
}

/* brand */
div#brand {
  img {
    margin-top: 30px;
    .center();
  }
  div {
    text-align: center;
    margin-top: 30px;
  }
  div.description {
    margin-top: 20px;
  }
}

/* privacy */
div#privacy {
  span#date {
    float: right;
  }
}

/* terms */
div#terms {
  span#date {
    float: right;
  }
}

/* signup type choice */
div#signup_choice {
  div.type-choice {
    float: left;
    padding-bottom: 100px;

    span.choice {
      margin: 30px 0px;
      padding: 0px 50px;

      &:first-child {
        border-right: 1px solid #cccccc;
      }
      a:hover {
        text-decoration: none;
      }
      div.choice-label {
        font-size: 14px;
        font-color: #000000;
      }
      button.btn-choice {
        position: relative;
        margin: 30px 0px;
        padding-left: 60px;
        width: 360px;
        height: 60px;
        font-size: 18px;
        color: #ffffff;
        background-color: #002147;
        background-image: none;
        border: 1px solid #51626f;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
        border-radius: 4px;

        i.addon {
          position: absolute;
          top: 0;
          left: 0;
          display: inline-block;
          background-color: #51626f;
          width: 58px;
          height: 58px;
          margin: 0;
          padding: 0;
        }
        &:hover {
          background-color: #51626f;
        }
      }
      button.clients {
        background-color: #3b60af;
        border: 1px solid #7f93dc;

        i.addon {
          background-color: #7f93dc;
        }
        &:hover {
          background-color: #7f93dc;
        }
      }
    }
  }
}

/* signup */
div#signup {
  form {
    button + span {
      position: relative;
      top: 1px;
    }
  }
}

/* settings */
div#settings {
  form {
    label.checkbox {
      width: 100px;
      margin-left: 0px;
    }
    input#profile_image-clear_id {
      margin: 0;
      height: 15px;
      float: none;
    }
    input#profile_image-clear_id + label {
      display: inline;
    }
  }
}

/* quote form */
div#quote {
  input[type="radio"] {
    margin: 0;
  }
  div.control-group {
    display: none;
  }
}

div#quote-contact div.control-group div.controls ul{
  list-style: none;
  margin: 0;

  input {
    margin: -3px 0;
  }
}

div#quote-sidebar {
  table.table {
    td.amount, th.amount {
      text-align: right;
    }
    tfoot {
      font-weight: bold;
      background: #f1f1ff;
    }
  }
}

div#survey {
  div.survey_field {
    margin: 20px;

    div.survey_field_answer {
      margin: 10px;

      textarea {
        width: 500px;
        margin-left: 24px;
      }

      ul {
        list-style: none;

        input {
          margin: -4px 0;
        }
      }
    }
  }
}

div#thanks {
  div#downloads {
    padding: 30px;
    border-color: #ccc;
    background-color: transparent;

    ol {
      list-style-position: inside;
    }
    p {
      font-size: 14px;
    }
    a.btn-large {
      margin-top: 10px;
    }
  }
}

div#evaluation {
  .page-header {
    padding-bottom: 0;
  }
  div.survey_field {
    margin-bottom: 60px;

    label.survey-lable {
      font-size: 14px;
      margin-bottom: 18px;
    }
  }
  div.survey_field_answer {
    textarea {
      width: 600px;
    }
  }
  div.star-rank {
    width: 400px !important;
    margin-bottom: 12px;

    img {
      margin-right: 20px;
    }
  }
  .start-hint {
    // height: 40px;
  }
  .star-tooltip {
    line-height: 13px;
    font-size: 13px;
    color: #999999;

    padding: 5px;
    border: 1px solid #999999;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
  }
  div.form-actions {
    padding-top: 0;
    background-color: #ffffff;
    border-top: none;
  }

}

div#partners {
  h1, h2, h3, h4, p, div, span, a, ul, li, input {
    font-family: "Apple SD Gothic Neo", "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Nanum Gothic", "Malgun Gothic", "Dotum", sans-serif;
  }
  color: #777;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;

  h2 {
    color: #005296;
    font-size: 24px;
    margin: 30px 0 20px 0;
    border-bottom: none;
  }
  h3 {
    color: #0078bb;
    font-size: 20px;
  }
  .text-emphasis {
    color: #333;
  }
  .section {
    padding-bottom: 60px;
  }
  .btn-virect {
    font-size: 18px;
    line-height: 2;
    padding: 10px 20px;

    border-color: #0078bb;
    background-color: #0078bb;
    background-image: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

    &:hover {
      border-color: #005296;
      background-color: #005296;
    }
  }
  #control-bar {
    width: 100%;
    background-color: #fff;
    position: fixed;
    z-index: 1030;

    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    height: 20px;
    padding: 20px 0;
    box-shadow: 0 2px 2px #777;

    ul.controls {
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        display: block;
        float: left;
        margin-left: 76px;

        a {
          text-decoration: none;
          color: #333;

          &:hover {
            color: #0078bb;
          }
        }
      }
      li.active {
        color: #0078bb;
      }
    }
  }
  #jumbotron {
    padding-top: 120px;
    padding-bottom: 60px;
    color: #fff;
    background: url("/virect/static/img/partners/bg.png") no-repeat 0 60px;

    .heading {
      margin: 0 48px;

      .head {
        color: #fff;
        font-size: 30px;
        margin-top: 100px;
      }
      .sub {
        line-height: 2;
        margin-top: 30px;
        margin-bottom: 60px;
      }
    }
  }
  #partner-program {
    .next {
      padding: 24px 0;
    }
    .text h3 {
      padding-bottom: 30px;
    }
    .text li {
      line-height: 30px;
    }
    .step1 .text {
      padding-top: 80px;
    }
    .step2 .text {
      padding-top: 60px;
    }
    .step3 .text {
      padding-top: 80px;
    }
  }
  #success-stories {
    img {
      width: 300px;
    }
    .title {
      line-height: 40px;
    }
  }
  #success-stories {
    .modal {
      width: 680px;

      .modal-body {
        max-height: none;
      }
    }
  }
  #registration {
    .content {
      background-color: #eee;
      padding: 60px 0;

      form {
        margin-top: 35px;
      }
      input[type="text"] {
        width: 300px;
        height: 30px;
        color: #777;
        font-size: 14px;
        line-height: 30px;
        padding: 2px 10px;
      }
      input[type="submit"] {
        margin-top: 25px;
      }
      .text {
        line-height: 40px;
      }
      .help {
        margin-top: 60px;
        margin-bottom: 65px;
      }
    }
  }
  #benefits1,
  #benefits2,
  #partner-program,
  #virect-partners,
  #success-stories,
  #registration {
    border-bottom: 1px solid #eee;

    &:before {
      display: block;
      content: " ";
      margin-top: -60px;
      height: 60px;
      visibility: hidden;
    }
  }
}

// For angularjs ngCloak directive
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}
