/* Space out content a bit */
body {
    margin-top: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4 {
    font-weight: 500;
}

h1 {
    font-size: 33px;
}

h2 {
    font-size: 28px;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}

.container {
    padding-right: 35px;
    padding-left: 35px;
    margin-right: auto;
    margin-left: auto;
}

div.wordmark {
  background-image: url('purple_bar_secondary.png');
  background-size: 1000px 75px;
  background-repeat: no-repeat;
  height: 75px;
  clear: both;
}

@media screen and (max-width: 666px) {
    div.wordmark {
        background-size: 666px 50px;
        height: 50px
    }
}

@media screen and (max-width: 500px) {
    div.wordmark {
        background-size: 500px 37px;
        height: 37px
    }
    .container{
        padding-right: 5px;
        padding-left: 5px;
    }
}

.btn {
  margin-right: 10px;
}

.btn-success {
  background-color: #593D8F;
  border-color: #593D8F;
}
.btn-success:hover {
  background-color: #593D8F;
  border-color: #593D8F;
}

.nav-pills > li > a,
.nav-pills > li > a:hover,
.nav-pills > li > a:focus {
  color: #fff;
  background-color: #71A4D2;
}


/* Everything but the jumbotron gets side spacing for mobile first views */
/*.header,
.marketing,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}*/

/* Make the masthead heading the same height as the navigation */
.header h3 {
  padding-bottom: 19px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

/* Custom page footer */
.footer {
  margin-top: 10px;
  padding-top: 19px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

/* Customize container */
@media (min-width: 768px) {
  .container {
    max-width: 1030px;
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}

.row {padding-bottom: 5px;}
label {padding-top:5px;}
label.checkbox-inline {margin-left:10px;}
label.checkbox {margin-left:20px; margin-top:1px;}

.bolder {
    font-weight:bold;
}

.keep-ws {
    white-space:pre-wrap;
}

div.success {
  background-image: url('/icons/silk/accept.png');
  background-repeat: no-repeat;
  padding-left: 20px;
  color: #0D0;
}

div.error {
  background-image: url('/icons/silk/error.png');
  background-repeat: no-repeat;
  padding-left: 20px;
  color: #D00;
}

.error-text {
    color: #D00;
}

textarea {
    resize: vertical;
}

textarea.taller-ta {
    height: 8em;
    resize : vertical;
}

textarea.extra-tall-ta {
    height: 20em;
    resize : vertical;    
}


/* Bootstrap considers the printed page width to be in the range of 
a mobile device, thus columns get stacked.  This hacks the print layout 
to make it keep columns more or less intact. */
@media print {
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
      float: left;
    }
    .col-sm-12 {
      width: 100%;
    }
    .col-sm-11 {
      width: 91.66666666666666%;
    }
    .col-sm-10 {
      width: 83.33333333333334%;
    }
    .col-sm-9 {
      width: 75%;
    }
    .col-sm-8 {
      width: 66.66666666666666%;
    }
    .col-sm-7 {
      width: 58.333333333333336%;
    }
    .col-sm-6 {
      width: 50%;
    }
    .col-sm-5 {
      width: 41.66666666666667%;
    }
    .col-sm-4 {
      width: 33.33333333333333%;
     }
     .col-sm-3 {
       width: 25%;
     }
     .col-sm-2 {
       width: 16.666666666666664%;
     }
     .col-sm-1 {
      width: 8.333333333333332%;
     }
}

@media print {
  /* Override default bootstrap behavior that puts the URLs into the 
     printed representation. */
  a[href]:after {
    content: none;
  }
  
  /* Hide the nav buttons when printing */
  ul.nav-pills {
      display:none;
  }
  
  /* Can't count on a background image printing (it's a browser setting), 
     so take it out for all cases. */
  div.wordmark {
      display:none;
  }
  
  /* Make the image display instead */
  #print-wordmark {
      display:block !important;
  }
}

/* Help overlays. These are initially hidden. */
.help-overlay {
    display:none;
    z-index:10000;    
    background-color:#FFF; 
    width:400px;
    min-height:300px;
    -moz-box-shadow:0 0 3em .5em #666;
    -webkit-box-shadow: 0 0 3em #666;
}

.help-overlay h1 {
    color: #888888;
    border-bottom: 1px solid #DDDDDD;
    font-size: 20px;
    line-height: 1;
    margin: 0;
    padding-bottom: 5px;
    padding-left: 5px;
}
 
/* close button positioned on upper right corner */
.help-overlay .close {
    background-image:url("../img/close.png");
    position:absolute;
    right:-15px;
    top:-15px;
    cursor:pointer;
    height:35px;
    width:35px;
    opacity: 1.0;
}

/* The content of the overlay */
.help-details {
    position:absolute;
    top:15px;
    left:15px;
}

.help-text {
    margin-top:1em;
}

div.riform label {
    color: #000;
    font-size: 100%;
    line-height: inherit;  
}

h3.popover-title {
    font-weight: bold;
}

.nowrap {
    white-space: nowrap;
}

div.menu-input:not(:last-child) {
    border-bottom: #DDD solid 1px;
}
div.menu-input {
    padding: 5px;
}
div.menu-input span {
    padding-left: 5px;
}

label.ridisplay {
    font-weight: bold !important;
}

option:disabled {
    color:#CCC;
}

/* Read-only view rows */
div.ro-view {
    padding: 10px;
    border-bottom: 1px solid #CCC;
}

div.table-responsive {
    margin-top: 10px;
}

/* Make the repeat widget buttons resemble the bootstrap style */
button[name="riedit"], 
button[name="ridelete"],
input.risavebutton,
input.ricancelbutton {
    background-color: #337AB7;
    color: #FFF;
    border-radius: 4px;
    line-height: 1.43;
    font-size: 14px;
    font-weight:400;
    padding: 6px 12px;
    border: 1px solid transparent;
}

div#riformfields input {
    line-height:initial;
}

.highlight-green {
    color: #0D0;
}

