﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 0px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    /*max-width: 280px;*/
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

.fixed-header-wrapper {
    top: 0;
    left: 0;
    width: 100%;
}

.navbar-fixed-stacked {
    border-radius: 0;
    border: none;
}

.main-content-wrapper {
    position: relative;
}

.body-content{
    margin-top:20px;
}

.image-container {
    text-align: center;
    background: #3E3725;
}

footer {
    text-align: center;
}

.nested-form {
    margin-left: 15px !important;
    margin-right: 15px !important;
}

.thumbnail .panel-body {
    min-height: 155px;
}

.bordered {
    border: solid #ccc 1px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 1px #ccc;
    -moz-box-shadow: 0 1px 1px #ccc;
    box-shadow: 0 1px 1px #ccc;
}

    .bordered tr:hover {
        background: #fbf8e9;
        -o-transition: all 0.1s ease-in-out;
        -webkit-transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        -ms-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
    }

    .bordered td, .bordered th {
        border-left: 1px solid #ccc;
        border-top: 1px solid #ccc;
        padding: 10px;
        text-align: left;
    }

    .bordered th {
        background-color: #f5f5f5;
        background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#f5f5f5));
        background-image: -webkit-linear-gradient(top, #ebf3fc, #f5f5f5);
        background-image: -moz-linear-gradient(top, #ebf3fc, #f5f5f5);
        background-image: -ms-linear-gradient(top, #ebf3fc, #f5f5f5);
        background-image: -o-linear-gradient(top, #ebf3fc, #f5f5f5);
        background-image: linear-gradient(top, #ebf3fc, #f5f5f5);
        -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
        -moz-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
        box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
        border-top: none;
        text-shadow: 0 1px 0 rgba(255,255,255,.5);
    }

        .bordered td:first-child, .bordered th:first-child {
            border-left: none;
        }

        .bordered th:first-child {
            -moz-border-radius: 6px 0 0 0 !important;
            -webkit-border-radius: 6px 0 0 0 !important;
            border-radius: 6px 0 0 0 !important;
        }

        .bordered th:last-child {
            -moz-border-radius: 0 6px 0 0 !important;
            -webkit-border-radius: 0 6px 0 0 !important;
            border-radius: 0 6px 0 0 !important;
        }

        .bordered th:only-child {
            -moz-border-radius: 6px 6px 0 0 !important;
            -webkit-border-radius: 6px 6px 0 0 !important;
            border-radius: 6px 6px 0 0 !important;
        }

    .bordered tr:last-child td:first-child {
        -moz-border-radius: 0 0 0 6px !important;
        -webkit-border-radius: 0 0 0 6px !important;
        border-radius: 0 0 0 6px !important;
    }

    .bordered tr:last-child td:last-child {
        -moz-border-radius: 0 0 6px 0 !important;
        -webkit-border-radius: 0 0 6px 0 !important;
        border-radius: 0 0 6px 0 !important;
    }

/* OVERRIDE BOOTSTRAP + TAGS */

/*allow full height mobile dropdown inc. search bar*/
.navbar-collapse{
    max-height:100%;
}
.tag.label {
    font-size: 100% !important;
}

.admin-link {
    color: red !important;
}

.trial-disclaimer {
    margin-top: 50px;
}

textarea {
    max-width: 600px;
    width: 600px;
    max-height: 300px;
    min-height: 100px;
}

.validationError {
    line-height: 0.2em;
    color: red;
    font-weight: bold;
    font-size: 1.5em;
}

.bootstrap-tagsinput {
    min-width: 200px !important;
    max-width: 100%;
}

.keyword-wrapper {
    display: block;
}

.or-selector {
    font-weight: bold;
    font-size: large;
    text-align: center;
}

input[type=checkbox] {
    float: left;
    margin-right: 0.4em;
    width: 15px;
    height: 15px;
}

    input[type=checkbox] + label {
        font-weight: normal;
        display: inline-block;
        margin-left: 0.2em;
        margin-right: 2em;
        line-height: 1em;
    }

.form-inline .form-group {
    height:100%;
    vertical-align: bottom !important;
}

.small-text {
    font-size: small;
}

/*NEWS STYLING*/
.news p {
    font-size: smaller;
    text-transform: uppercase;
    margin-bottom: 0;
}

.news > a {
    display: inline-block;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.news > hr {
    border-top: 1px solid #808080;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}


/*GRIDVIEW PAGER*/
.gridview-pager {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .gridview-pager table > tbody > tr > td {
        display: inline;
    }

        .gridview-pager table > tbody > tr > td > a,
        .gridview-pager table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #dd4814;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .gridview-pager table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

        .gridview-pager table > tbody > tr > td:first-child > a,
        .gridview-pager table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .gridview-pager table > tbody > tr > td:last-child > a,
        .gridview-pager table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .gridview-pager table > tbody > tr > td > a:hover,
        .gridview-pager table > tbody > tr > td > span:hover,
        .gridview-pager table > tbody > tr > td > a:focus,
        .gridview-pager table > tbody > tr > td > span:focus {
            color: #97310e;
            background-color: #eeeeee;
            border-color: #dddddd;
        }

    .gridview-pager table > tbody > tr > td {
        border: none;
    }

/*override twitter timeline*/
a.twitter-timeline {
    /* Buttonish */
    display: inline-block;
    padding: 6px 12px 6px 30px;
    margin: 10px 0;
    border: #ccc solid 1px;
    border-radius: 3px;
    background: #f8f8f8 url(//platform.twitter.com/images/bird.png) 8px 8px no-repeat;
    /* Text */
    font: normal 12px/18px Helvetica, Arial, sans-serif;
    color: #333;
    white-space: nowrap;
}

.spacer-50 {
    margin-top: 50px;
}

.highlight {
    background-color: #f9ff61;
}

.dropdown:hover .dropdown-menu {
    margin:-1px;
    display: block;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.dropdown-menu{
    background-color:#222222;
}

.dropdown-menu > li a{
    color:#999999;
}

.dropdown-menu > li a:hover{
    background-color:#808080;
}

.searchbar{
    max-width:100% !important;
}

.delete-button {
    margin-top: -5px;
    margin-left: 5px;
}

.ajax__calendar_day_disabled
{
    background-color:#ccc !important;
    color:#eee !important;
}

.well-inverted{
    background-color:#FFFFFF !important;
}

.table-header{
    padding:1px !important;
}

.full-size{
    min-height:100% !important;
    min-width:100% !important;
    height:650px !important;
    width:100% !important;
}

.tab-pane{
    padding-top:20px;
    padding-bottom:20px;
    border-left: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
}

/*
    .rd-grid th,
.rd-grid td{
    border-right: 1px solid #808080;
}
.rd-grid td{
    border-bottom:1px solid #808080;
}

.rd-grid th:nth-child(n+2){
    border-top:1px solid #808080;
}

*/

.rd-grid th,
.rd-grid td{
    border:1px solid #808080;
    padding:5px !important;
}

.rd-grid th:nth-child(1){
    border-top:0;
    border-left:0;
}

.max-width .modal-dialog { width: 850px; }


#nav.affix {
    position: fixed;
    top: 0px;
    width: 100%;
}

@media (min-width: 768px) {
  .header-image {
    width:100%;
    max-width:768px;
  }
}

@media (max-width: 768px) {
  .header-image {
    width:100%;
    max-width:500px;
  }
  
}

@media (max-width: 1000px) {
  #nav li a{
      padding-top:5px;
      padding-right:2px;
      padding-bottom:5px;
      font-size:14px;
  }
}

@media (max-width: 1200px) {
  .body-content {
    margin-top:40px;
  }
}

.layout-test{

}

.inline-row [class*="col-"] {
    float: none;
    display: table-cell;
    vertical-align: bottom;
}

.update-progress{
    display:inline-block;
}

.non-block{
    display:inline !important;
}

.latest-item{
    font-size:0.75em;
    text-transform:uppercase;
}

.nav-container{
    max-width:1200px !important;
    padding: 0 !important;
    margin-left:auto;
    margin-right:auto;
}

/* DATE PICKER STYLING */
/* DatePicker Container */
.ui-datepicker {
    width: 216px;
    height: auto;
    margin: 5px auto 0;
    font: 9pt Arial, sans-serif;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
    background-color: #f7f7f7;
}

    .ui-datepicker a {
        text-decoration: none;
    }
    /* DatePicker Table */
    .ui-datepicker table {
        width: 100%;
    }

.ui-datepicker-header {
    background: #000;
    color: #3e3e3e;
    font-weight: bold;
    -webkit-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, 2);
    -moz-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2);
    box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2);
    text-shadow: 1px -1px 0px #000;
    filter: dropshadow(color=#000, offx=1, offy=-1);
    line-height: 30px;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #111;
}

.ui-datepicker-title {
    text-align: center;
}

.ui-datepicker-prev, .ui-datepicker-next {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    background-image: url('../Images/arrow.png');
    background-repeat: no-repeat;
    line-height: 600%;
    overflow: hidden;
}

.ui-datepicker-prev {
    float: left;
    background-position: center -30px;
}

.ui-datepicker-next {
    float: right;
    background-position: center 0px;
}

.ui-datepicker thead {
    background-color: #f7f7f7;
    border-bottom: 1px solid #bbb;
    background-image: linear-gradient(top, #f7f7f7 0%,#f1f1f1 100%);
}

.ui-datepicker th {
    text-transform: uppercase;
    font-size: 6pt;
    padding: 5px 0;
    color: #666666;
    text-shadow: 1px 0px 0px #fff;
    filter: dropshadow(color=#fff, offx=1, offy=0);
}

.ui-datepicker tbody td {
    padding: 0;
    border-right: 1px solid #bbb;
}

    .ui-datepicker tbody td:last-child {
        border-right: 0px;
    }

.ui-datepicker tbody tr {
    border-bottom: 1px solid #bbb;
}

    .ui-datepicker tbody tr:last-child {
        border-bottom: 0px;
    }

.ui-datepicker td span, .ui-datepicker td a {
    display: inline-block;
    font-weight: bold;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #444444;
    text-shadow: 1px 1px 0px #fff;
    filter: dropshadow(color=#fff, offx=1, offy=1);
}

.ui-datepicker-calendar .ui-state-default {
    background: #ededed;
    background: -moz-linear-gradient(top, #ededed 0%, #dedede 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ededed), color-stop(100%,#dedede));
    background: -webkit-linear-gradient(top, #ededed 0%,#dedede 100%);
    background: -o-linear-gradient(top, #ededed 0%,#dedede 100%);
    background: -ms-linear-gradient(top, #ededed 0%,#dedede 100%);
    background: linear-gradient(top, #ededed 0%,#dedede 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#dedede',GradientType=0 );
    -webkit-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
    -moz-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
    box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
    margin-top: 0;
}

.ui-datepicker-calendar .ui-state-hover {
    background: #ff6a00;
}

.ui-datepicker-calendar .ui-state-active {
    background: #de5c00;
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
    box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
    color: #e0e0e0;
    text-shadow: 0px 1px 0px #4d7a85;
    filter: dropshadow(color=#4d7a85, offx=0, offy=1);
    border: 1px solid #55838f;
    position: relative;
    margin: -1px;
}

.ui-datepicker-unselectable .ui-state-default {
    background: #f4f4f4;
    color: #b4b3b3;
}

.ui-datepicker-calendar td:first-child .ui-state-active {
    width: 29px;
    margin-left: 0;
}

.ui-datepicker-calendar td:last-child .ui-state-active {
    width: 29px;
    margin-right: 0;
}

.ui-datepicker-calendar tr:last-child .ui-state-active {
    height: 29px;
    margin-bottom: 0;
}

.ui-datepicker-buttonpane {
    text-align: center;
    padding-top: 3px;
    border-top: double 3px #de5c00;
    margin-bottom: 3px;
}

    .ui-datepicker-buttonpane button {
        display: inline-block;
        padding: 3px 6px;
        margin-bottom: 0;
        font-size: 12px;
        font-weight: normal;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
        color: #333;
        background-color: #fff;
        border-color: #ccc;
        margin-left: 20px;
        margin-right: 20px;
    }