/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 *
 */

$baseFontFamily: 'Gentium Basic', Helvetica, Arial, sans-serif !default;
$font-family-sans-serif: $baseFontFamily;

@import "bootstrap";
@import "util_common";

.prepend-top {margin-top:1.5rem;}
.prepend-top5rem {margin-top:5rem;}
.append-bottom {margin-bottom:1.5rem;}

table.table_morph {
  width: '50%';
  td {
    min-height: 50px;
  }
}

.highlight_box {
  padding: 2px;
  border: 1px solid;
  background-color: #3276b1;
  color: #FFFFFF;
  font-style: italic;
  text-decoration: underline;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  //background-color: #495672;
  background-color: #e0995e;
}


.home_menu {

  .navbar-brand {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #FFFFFF;
    background-color: #e0995e;
  }

  .navbar-default {
    border-color: #f3cc70;
  }
}

.body-box {

  $_nav_bar_height : 60px;

  padding-top: $_nav_bar_height;
  margin: 5px auto;
  @include responsive-width;
  min-height: $min-designer-height - 25rem;

  .section_header {
    border-bottom: 2px solid $border-color;
    background-color: #ebebeb;
    padding: 5px;
    font-size: 2rem;
    font-weight: bold;
  }

  .anchor_feature {
    padding-top: $_nav_bar_height;
    margin-top: -$_nav_bar_height;
  }

  .separator {
    border-bottom: 1px solid $border-color;
    margin-bottom: 1rem;
  }

  .create_new_doc {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  ul.doc_list {
    @include ul_plain;

    > li {
      padding: 1rem 0 1rem .5rem;
      border-bottom: 1px dotted $border-color;

      .doc_title {
        a {
          color: inherit;
          text-decoration: none;
        }

        a:hover {
          color: #06c;
          font-weight: bold;
          text-decoration: underline;
        }
      }

      ul.doc_actions {
        @include ul_plain;
        display: none;
        > li {
          display: inline;
          margin: 5px;
        }
      }
    }
  }
}

table.saved_instance_list {
  width: 100%;
  thead tr {
    background-color: #DFEAF4;
    color: #333333;
    border-top: 1px dotted #333333;

    td.row_id {
      width: 3%;
    }

    td {
      border-right: 1px dotted #333333;
      border-left: 1px dotted #333333;
      font-weight: bold;
    }
  }

  tbody {
    tr.saved_instance_row td {
      border-right: 1px dotted #333333;
      border-left: 1px dotted #333333;
      border-bottom: 1px dotted #333333;
    }
  }
}

.field_list {
  max-height: 20rem;
  width: 17.5rem;
  position: absolute;
  margin-left: 25rem;
  background: #DFEAF4;
  border: 1px solid #333;
  overflow: auto;
  overflow-x: hidden;
  z-index: 2000;
  color: #333333;
  opacity: 0.85;

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

    li:hover {
      cursor: pointer;
    }

    li {
      margin: 1rem;
      border-bottom: 1px dotted #000;
    }

    li .col_name {
      margin-left: 2.5rem;
      font-size: 1.1rem;
      font-weight: bold;
    }

    li.visible {
      background: url(asset_path("actions/16/tick.png")) no-repeat;
    }

  }


  .field_list_close {
    margin-right: 10px;
    text-align: center;
  }

  .field_list_close a {
    font-size: 1.5rem;
    color: #333333;
  }

  .right {
    float: right;
  }

  .clear {
    clear:both;
  }

}

.add_field {
  margin-right: 1px;
  float: right;
  width: 20px;
  text-align: center;
  background-color: #fff;
  border: 1px dotted #333333;
  border-bottom: 0;
  font-size: 15px;
  font-weight: bold;
  color: #000;
}

.add_field a {
  text-decoration: none;
  color: #000;
}

.clear {
  clear: both;
}

.mandatory {
  color: #ff6666;
  margin-left: 2px;
}

/* providers */

.provider {
  float : left;
  width: 64px;
  height: 64px;
  border: 2px solid #DDD;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  margin: 15px 15px 15px 0;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 2px 2px 4px #ddd;
  -moz-box-shadow: 2px 2px 4px #ddd;
  -webkit-box-shadow: 2px 2px 4px #ddd;
  cursor : pointer;
}

.provider.google_app {
  width : 220px;
  height : 55px;
}
.provider:hover {
  border: 2px solid #999;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

.google {
  margin-left : 3rem;
}

.google_app, .google_app_form {
  margin-left : 3rem;
}

.provider.google {
  background : url(asset_path("actions/64/google_64.png")) no-repeat scroll 50% 50% transparent;
}

.provider.yahoo {
  background : url(asset_path("actions/64/yahoo_64.png")) no-repeat scroll 50% 50% transparent;
}


.provider.google_app {
  background : url(asset_path("actions/64/google_app.png")) no-repeat scroll 50% 50% transparent;
}

.provider.aol {
  background : url(asset_path("actions/64/aol_64.png")) no-repeat scroll 50% 50% transparent;
}

.provider.facebook {
  background : url(asset_path("actions/64/facebook_64.png")) no-repeat scroll 50% 50% transparent;
}

.signin {
  .colborder {
    border-left: 3px dotted silver;
  }
}

#user_signin_options {
  padding-bottom: 5rem;

  ul {
    margin: 0;
    padding: 0;
    li {
      list-style: none;
      display: inline;
      letter-spacing: 1px;
      float: left;
      margin: 0 4px;

      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      border-right: 2px solid #e0995e;
      border-bottom: 2px solid #e0995e;
      box-shadow: 2px 2px 4px #ddd;
      -moz-box-shadow: 2px 2px 4px #ddd;
      -webkit-box-shadow: 2px 2px 4px #ddd;

      a {
        text-decoration: none;
        font-weight: bold;
        font-size: 1.3rem;
        display: inline-block;
        position: relative;
        color: #333333;
        padding: 0 5px;
      }

      &:hover {
        text-decoration: none;
        border: 2px solid #e0995e;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
      }
    }
  }

}

.pricing .heading {
  font-size: 3.5rem;
  font-weight: bold;
  text-align: center;
}

.pricing .sub_heading {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.pricing .plan {
  padding: .5rem;
  border: 1px solid #999;
  margin-top: 5rem;
  display:inline-block;
  width: 25rem;
}

.pricing .plan h1, .pricing .plan h1 a, .pricing .plan h2 {
  color: #333;
  text-decoration: none;
  text-align: center;
}

.pricing .plan h1, .pricing .plan h1 a, .pricing .best h1, .pricing .best h1 a {
  margin: 0;
  padding: 0;
  font-size: 3.5rem;
  font-weight: bold;
}

.pricing .plan h2, .pricing .best h2 {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  font-weight: normal;
}

.pricing .plan h3, .pricing .best h3 {
  margin: 0 0 .5rem 0;
  padding: 0;
  font-size: 1.2rem;
  font-weight: normal;
  text-align: center;
}

.pricing .plan h1, .pricing .plan h1 a, .pricing .plan h2, .pricing .plan h3 {
  color: #333;
}

.pricing .best h1, .pricing .best h1 a, .pricing .best h2, .pricing .best h3 {
  color: #000;
}

.pricing .plan .features {
  border-top: 2px dotted silver;
  padding-top: 5px;
  text-align: center;
}

.pricing .plan .features .primary {
  font-size: 1.5rem;
  color: #333;
}

.pricing .plan ul {
  list-style: none outside none;
  margin: 0;
  padding: 0;
}


.pricing .plan .features .primary li {
  padding-top: 5px;
}

.pricing .plan .features .secondary {
  border-top: 1px dotted silver;
  margin-top: 5px;
  font-size: 1.2rem;
  color: #333;
}

.pricing .plan .features .secondary li {
  padding-top: 3px;
}

.pricing .best {
  border: 5px solid #8CB332;
}

.pricing .best .features {
  border-top: 2px dotted #8CB332;
}

.pricing .best .features .primary {
  color: #000;
}

.pricing .best .features .secondary {
  border-top: 1px dotted #8CB332;
  color: #000;
}

.pricing .no_r {
  border-right: 0;
}

.pricing .no_l {
  border-left: 0;
}

.pricing li strong {
  color: #3671A1;
}

.pricing .plan {
  text-align: center;
  margin-top: 10px;
}



//.pricing .best .signup .action_button {
//  height: 30px;
//  width: 90px;
//  font-size: 20px;
//  text-decoration: none;
//  padding-top: 15px;
//}

.pricing_addons {
  margin-top: 3rem;
}


.pricing_addons .addon .title {
  color: #333;
  font-weight: bold;
}

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

.feature .title {
  font-size : 2.5rem;
  margin-bottom : 2rem;
}

.pitch {
  height : 48rem;
  width: 80rem;

  min-height: 8rem;
  border-radius: 2rem;
  margin-bottom:1rem;

  background-image:url(https://s3.amazonaws.com/paperstencil/assets/product_bg.jpg);
  border: 1px solid #f3cc70;
}

.pitch .highlight1 {

  padding: 2rem;
  background-color : rgba(255,255,255,.3);
  min-height: 8rem;
  border-radius: 2rem;
  color: #FFFFCC;

  margin-top: 7rem;
  margin-left: 13.5rem;
  margin-right: 12rem;
  text-align:center;
}

.pitch .highlight2 {
  padding: 2rem;
  background-color : rgba(255,255,255,.3);
  min-height: 8rem;
  border-radius: 2rem;

  margin-top: 8rem;
  margin-left: 13.5rem;
  margin-right: 12rem;
  text-align:center;
  color: #FFFFCC;

  font-weight: bold;
  font-size : 2rem;
}


.feature {
  padding-top : 2rem;
  padding-bottom : 2rem;
  border-top: 3px dotted #c84755;
}

.feature.even {
  background-color : #F2F2F2;
}

.pitch .actions {
  margin-top :3rem;
}

.pitch .actions ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline;
}

.pitch .actions ul li {
  display: inline;
  margin: 10px;
}


.white_bold {
  font-weight: bold;
  color : #fff;
}