@import "client/common.scss";

html {
  min-height:100%;
}

p, div {
  white-space: normal;
}

.dialog {
  position:fixed !important;
}

body.web {
  background-repeat: repeat-x;
  margin:0 !important;
  padding:0 !important;
  position:relative !important;
  overflow: auto  !important;
  width:auto !important;
  min-height:100%;

  div.wrapper {
    width:1100px;
    margin:0 auto;
    white-space:nowrap;
    position:relative;

    .home-questions {
      font-size: 20px;
      color: #ed3618;
      padding-top:30px;
      padding-bottom:40px;
      text-align:center;
    }
  }

  .after-black-bar-border {
    border-top:1px solid #444;
    margin: 0 6%;
    box-sizing: border-box;
  }
  #profile.userinfo {
    margin-top:30px;
  }

  .logo-home {
    width: 298px;
    margin: 30px 0;
    display: inline-block;
  }

  .landing-tag {
    display:inline-block;
    margin-left:70px;
    width:400px;

    &.no-user-dropdown {
      margin-left:0;
      margin-top:30px;
      position:absolute;
      top:0;
      right:0;
      text-align:center;
      width:350px;
    }

    h1 {
      color:#ed3618;
      font-size:26px;
      font-weight:300;
      line-height:30px;
    }
  }

  .login-wrapper {
    #signin {
      margin-top:8px;
      width:348px;
      text-align:center;
    }
  }

  &.register {
    .landing-content {
      min-height:460px;
    }
  }

  .landing-content {
    background-color:black;
    width:100%;
    min-height: 366px;
    position:relative;
    padding-bottom:30px;

    p {
      color:#CCC;
      line-height:150%;
    }

    .welcome {
      padding-top: 30px;
    }

    .wrapper h1 {
      position:relative;
      padding-top:15px;
      color:#ed3618 !important;
      font-weight:normal;
      font-size:40px;
    }

    .wrapper h2 {
      font-weight:300;
    }

    h2 {
      font-size:24px;
      color:#ccc;
      font-weight:200;
    }

    .button-orange, .button-grey {
      display:inline-block;
      height: 20px;
      line-height:20px;
      margin-bottom:10px;
      margin-right:0px;
    }

    input.button-orange {
      height:28px;
    }

    .button-grey:hover {
      cursor:default;
      background-color:#666;
      color:#ccc;
    }
  }

  &.entity-landing .wrapper.after-black-bar {
    z-index:-1; // to let sidebar be interactable
  }

  .landing-sidebar {
    width:350px;
    background:#353535;
    border:solid 1px #ed3618;
    float:right;
    right:0;
    padding:25px;
    padding-top:0;
    line-height:130%;

    h2 {
      font-size:18px !important;
      line-height:normal;
      color:#fff;
    }
    a {
      text-decoration: underline !important;
    }

    em {
      font-style: italic !important;
    }
  }

  .landing-band {
    float:left;
    text-align:center;
    width: 115px;
    margin-right:25px;
    font-size:17px;
    color:#fff;
  }

  .landing-avatar {
    padding:2px;
    width:110px;
    height:110px;
    background-color:#ed3618;
    -webkit-border-radius:57px;
    -moz-border-radius:57px;
    border-radius:57px;
    margin-bottom:10px;

    img {
      width:110px;
      height:110px;
      -webkit-border-radius:55px;
      -moz-border-radius:55px;
      border-radius:55px;
    }
  }

  .landing-details {
    float:left;
    width:515px;
    font-size:14px;
    font-weight:400;
    color:#666;

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

      &:hover {
        color:#fff;
      }
    }
  }

  .landing-comments {
    margin-left:140px;
    width:515px;

    a {
      text-decoration:none;
      font-weight:bold;
      color:#ED3618;
    }

    .button-orange {
      margin: 0px 8px 0px 8px;
      background-color: #ED3618;
      border: solid 1px #F27861;
      outline: solid 2px #ED3618;
      padding: 3px 10px;
      font-size: 12px;
      font-weight: 300;
      cursor: pointer;
      color: #FC9;
      text-decoration: none;
    }
  }

  .landing-comment-scroller {
    height:470px;
    overflow:auto;
  }

  .landing .cta {
    margin-top:25px;
  }

  .avatar-small {
    float:left;
    padding:1px;
    width:36px;
    height:36px;
    background-color:#ed3618;
    margin:10px;
    -webkit-border-radius:18px;
    -moz-border-radius:18px;
    border-radius:18px;

    img {
      width: 36px;
      height: 36px;
      -webkit-border-radius:18px;
      -moz-border-radius:18px;
      border-radius:18px;
    }
  }

  .avatar-tiny {
    float:left;
    padding:1px;
    width:24px;
    height:24px;
    background-color:#ed3618;
    -webkit-border-radius:12px;
    -moz-border-radius:12px;
    border-radius:12px;
  }

  .avatar-tiny img {
    width: 24px;
    height: 24px;
    -webkit-border-radius:12px;
    -moz-border-radius:12px;
    border-radius:12px;
  }

  .cta {
    margin-top:40px;
    text-align:center;
    width:345px;
    font-size:12px;
  }

  white-space: nowrap;

  p, ul {
    color:#999;
    line-height:160%;
    width:90%;
    white-space:normal;
  }

  ul {
    font-size:16px;
    margin-bottom:20px;
  }

  p {
    font-size:14px;
  }

  h2 {
    font-size: 1.5em;
    font-weight:300;
  }

  .content-wrapper {
    border-bottom: medium none;
    padding: 0;
  }

  #footer-container {
    top:initial;
    height:initial;
    padding-bottom:40px;
  }

  // all custom CSS for the register page goes here
  .register-page {

    display:inline-block;

    .register-container {
      padding:0 10px 10px;
      margin-left: 45px;
      margin-top: 20px;
    }

    input.register-musician {

    }

    .create-account-header, .subscription-type-header {
      padding-top:10px;
      margin-left:10px;
    }

    .radio-field {
      margin-bottom:5px;
    }
    .subscription-options {

      margin-top:16px;
      margin-left:49px;

      label {
        display:inline;
      }
    }

    .actions {
      margin-top:20px;
      input, a {
        font-size:18px;
      }
      input {
        margin-left:2px;
      }
      a {
        margin-left:10px;
      }
    }

    .error {
      padding: 5px 12px 5px 5px;
      margin-left:-5px;
      margin-right:-12px;
    }

    div.register-as {
      margin-left:45px;
      display:none;
    }

    input.register-fan {
      margin-left:20px;
    }

    input[type=text], input[type=password] {
      margin-top:1px;
      width:100%;
      @include border_box_sizing;
    }

    select {
      width:100%;
    }

    #instrument_selector .easydropdown-wrapper .easydropdown {
      box-shadow: none !important;
    }

    .easydropdown-wrapper {

      width:100%;

      .easydropdown {
        padding: 0px;
        width:100%;

      }

    }

    .left-side {
      float:left;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
      -o-box-sizing: border-box;
      box-sizing: border-box;
      width:30rem;
    }

    .right-side {
      margin-left:40px;
      float:left;
      width:25rem;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
      -o-box-sizing: border-box;
      box-sizing: border-box;
    }

    @media (min-width:320px){
      .left-side {
        float:none;
        clear:both;
      }
      .right-side {
        margin-top:20px;
        margin-left:0;
        float:none;
        clear:both;
      }
    }

    @media (min-width:900px){
      .left-side {
        float:left;
        clear:none;
      }
      .right-side {
        margin-top:0;
        margin-left:40px;
        float:left;
        width:25rem;
        clear:none;
      }
    }

    .comparison-block {
      margin:15px 0 40px 25px;
      a {
        margin-bottom:15px;
      }

    }
    .pricing-info {
      font-style:italic;
    }


      select {
        width:104%;
      }

      div.field {
        margin-top: 18px;
        width: 100%;
      }


    .register-right {

      margin-top:40px;

      table {
        border-collapse:separate;
        border-spacing:6px;
      }

      label.instruments {
        margin-bottom:2px;
      }

      div.field {
        margin-top:15px;
      }

      a.tos {
        text-decoration: underline;
      }

      .ftue-instrumentlist {
        width:100%;
      }
    }

    .field.terms_of_service .field_with_errors {
      display:inline;
    }
  }

  ul {
    list-style: none outside none;
  }

  h3 {
    font-size:20px;
    font-weight:normal;
  }


  div.proceed {
    margin:40px 0 250px  5px;
  }

  .congratulations {
    padding-top:1px;
  }

  .recordings-page, .sessions-page {
    padding-top:15px;
  }
}


.signin-overlay {
  position:relative;
  top:0;
}

.landing-overlay {
  position:relative;
  top:0;
}

strong {
  font-weight: 600;
}
.logo-message {
  display: block;
  margin: 0 auto;
  width: 247px;
}

.message-wrapper {
  margin: 0 auto;
  width: 480px;
  .left {
    display: block;
    overflow: visible;
  }
}
.message {
  display: block;
  float: left;
  margin-left: 20px;
  overflow: visible;
  width: 320px;

  h2 {
    border-bottom: 1px solid #FFFFFF;
    color: #FFFFFF;
    display: block;
    font-weight: 200;
    margin-bottom: 10px;
    font-size:21px;
  }
}

.spinner-large {
  vertical-align:middle;
  text-align: center;
  margin: 125px auto;
}


.client-download {
  margin-bottom:20px;
}

.currentOS {
  span.platform {
    font-size:18px;
  }
}

// all custom CSS for the sign-in page goes here
.signin-page {
  .ftue-inner {
    line-height:18px;
  }

  .ftue-left, .ftue-right {

  }

  fieldset[name=text-input]{
    float:right;
    margin-right:18px;
  }

  fieldset[name=signin-options] {
    float:left;
    margin:10px 0 0 10px;

    small {
      float:left;
    }
  }

  fieldset[name=actions] {
    float:right;
    margin: 10px 19px 0 0;
  }

  .field {
    right:0;
  }

  .email {
    float:left;
    margin-right:10px;

  }

  .password {
    float:left;
  }

  label {
    margin:27px 0 10px;
  }



  .already-member {

  }

  .keep-logged-in {

  }

  .forgot-password {
    font-size:11px;
    float:right;
    margin:15px 19px 0 0;

    a {
      text-decoration: underline;
    }
  }

  .login-error {
    background-color: #330000;
    border: 1px solid #990000;
    padding:4px;
  }

  .login-error-msg {
    display:none;
    margin-top:10px;
    text-align:center;
    color:#F00;
    font-size:11px;
  }

  fieldset.login-error .login-error-msg {
    display:block;
  }
}

body.jam.web .no-websocket-connection {
  display:none;
}