/* ==========================================================================
   DMIRS custom bootstrap styling overriding bootstrap and leveraging http://getbootstrap.com/customize/
   See details below.
   ========================================================================== */

/*!
 * Bootstrap v3.3.5 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
* GENERATED STYLES HAVE BEEN CUSTOMISED AND MODIFIED
 * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=847c574e42dc4c6b299c) 
 * Config saved to config.json and https://gist.github.com/847c574e42dc4c6b299c
 */
/*!
 * Bootstrap v3.3.5 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*
 *Default Primary colour 
 #983222 (red) 
 #0057A0 (blue)
 */


/*buttons*/
.btn-default{ background: #333; border-color: #dbdbdb; border-color: #ccc; color: #fff !important; border: 0; }
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .btn-default:active:focus{ background-color: #1A1A1A; border-color: #1A1A1A; color: #fff;}
.btn-default.disabled, .btn-default[disabled], fieldset[disabled] .btn-default, .btn-default.disabled:hover, .btn-default[disabled]:hover, fieldset[disabled] .btn-default:hover, .btn-default.disabled:focus, .btn-default[disabled]:focus, fieldset[disabled] .btn-default:focus, .btn-default.disabled.focus, .btn-default[disabled].focus, fieldset[disabled] .btn-default.focus, .btn-default.disabled:active, .btn-default[disabled]:active, fieldset[disabled] .btn-default:active, .btn-default.disabled.active, .btn-default[disabled].active, fieldset[disabled] .btn-default.active
{ background-color: #e0e0e0; background-image: none;}

.btn-primary{ border-color: #0057A0; color: #fff !important; background-color:#003E87 !important;}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary:active:focus{ background-color: #0057A0; border-color: #0057A0;}
.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active
{ background-color: #003E87;background-image: none;}

.btn-success{ border-color: #007402; color: #fff !important;}
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success:active:focus{ background-color: #005B00; border-color: #005B00;}
.btn-success.disabled, .btn-success[disabled], fieldset[disabled] .btn-success, .btn-success.disabled:hover, .btn-success[disabled]:hover, fieldset[disabled] .btn-success:hover, .btn-success.disabled:focus, .btn-success[disabled]:focus, fieldset[disabled] .btn-success:focus, .btn-success.disabled.focus, .btn-success[disabled].focus, fieldset[disabled] .btn-success.focus, .btn-success.disabled:active, .btn-success[disabled]:active, fieldset[disabled] .btn-success:active, .btn-success.disabled.active, .btn-success[disabled].active, fieldset[disabled] .btn-success.active
{ background-color: #005B00; background-image: none;}

.btn-info{ border-color: #48188e; color: #fff !important;}
.btn-info:hover, .btn-info:focus, .btn-info:active:focus, .btn-info:active, .btn-info.active{ background-color: #2F0075; border-color: #2F0075;}
.btn-info.disabled, .btn-info[disabled], fieldset[disabled] .btn-info, .btn-info.disabled:hover, .btn-info[disabled]:hover, fieldset[disabled] .btn-info:hover, .btn-info.disabled:focus, .btn-info[disabled]:focus, fieldset[disabled] .btn-info:focus, .btn-info.disabled.focus, .btn-info[disabled].focus, fieldset[disabled] .btn-info.focus, .btn-info.disabled:active, .btn-info[disabled]:active, fieldset[disabled] .btn-info:active, .btn-info.disabled.active, .btn-info[disabled].active, fieldset[disabled] .btn-info.active
{ background-color: #2F0075;}

.btn-warning{ border-color: #a85a01; color: #fff !important;}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active:focus, .btn-warning:active, .btn-warning.active { background-color: #8F4100; border-color:#8F4100;}
.btn-warning.disabled, .btn-warning[disabled], fieldset[disabled] .btn-warning, .btn-warning.disabled:hover, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning:hover, .btn-warning.disabled:focus, .btn-warning[disabled]:focus, fieldset[disabled] .btn-warning:focus, .btn-warning.disabled.focus, .btn-warning[disabled].focus, fieldset[disabled] .btn-warning.focus, .btn-warning.disabled:active, .btn-warning[disabled]:active, fieldset[disabled] .btn-warning:active, .btn-warning.disabled.active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning.active{ background-color: #6b3901;}

.btn-danger{ border-color: #cc0000; color: #fff !important;}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active:focus, .btn-danger:active, .btn-danger.active{ background-color: #A70000; border-color: #A70000;}
.btn-danger.disabled, .btn-danger[disabled], fieldset[disabled] .btn-danger, .btn-danger.disabled:hover, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger:hover, .btn-danger.disabled:focus, .btn-danger[disabled]:focus, fieldset[disabled] .btn-danger:focus, .btn-danger.disabled.focus, .btn-danger[disabled].focus, fieldset[disabled] .btn-danger.focus, .btn-danger.disabled:active, .btn-danger[disabled]:active, fieldset[disabled] .btn-danger:active, .btn-danger.disabled.active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger.active{background-color: #8f0000;background-image: none;}

.btn-lg, .btn-group-lg > .btn{border-radius: 2px; font-size: 14px;}


/*panels*/
.panel-default  { border-color:#e0e0e0;}
.panel-default > .panel-heading { background: #e0e0e0; border-color:#e0e0e0;}
.panel-primary {border-color:#983222; }
.panel-primary > .panel-heading{ background: #983222; border-color:#983222; color: #fff;}
.panel-success {border-color:#007402; }
.panel-success > .panel-heading{ background: #007402; border-color:#007402; color: #fff;}
.panel-info  {border-color: #48188E;}
.panel-info > .panel-heading{ background: #48188E; border-color: #48188E; color: #fff;}
.panel-warning { border-color:#a85a01;}
.panel-warning > .panel-heading{ background: #a85a01; border-color:#a85a01; color: #fff;}
.panel-danger {border-color:#C00;}
.panel-danger > .panel-heading{ background: #C00; border-color:#C00;color: #fff;}

/*wells*/
.well{ background: #e0e0e0; box-shadow: none; border: 0;position: relative;}
.well:before{ content: "";width: 0px;height: 0px;border-top: 15px solid transparent;border-bottom: 15px solid transparent;border-left: 15px solid #e0e0e0;position: absolute;left: 0;bottom: -15px;}

/*jumbotron*/
.jumbotron {padding-left:30px; padding-right:30px;}

/*labels*/
.label-default{ background: #707274;color: #fff;}
.label-danger{ background-color: #C00;}
.label-success{background-color: #007402;}
.label-warning{background-color: #a85a01;}
.label-info {background-color: #48188E;}

.label-transparent{border: 1px solid #333;color: #333;background: transparent;}


/*badges*/
.badge{ border-radius: 0;font-weight: normal;text-transform: uppercase;}

/*tabs*/
.nav-tabs {background:#ddd; text-transform:uppercase; }
.nav-tabs > li > a { color: #333; margin:0;}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {color: #333; font-weight: bold; z-index:1; }
.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {background-color:transparent; border-color:transparent; color:#983222;}
.nav-tabs > li > a:before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 1px;
    height: 20px;
    background-color: #fff;
    left: -2px;
    top: 9px;
}
.nav-tabs > li:first-child > a:before, .nav-tabs > li.active > a:before {display:none;}

.tab-content { border:1px solid #e0e0e0; margin-top:-1px;}

/*pagination*/
.breadcrumb{ background: transparent; padding-left: 0; padding-right: 0;}


/*validation -green*/
.has-success .help-block, .has-success .control-label, .has-success .radio, .has-success .checkbox, .has-success .radio-inline, .has-success .checkbox-inline, .has-success.radio label, .has-success.checkbox label, .has-success.radio-inline label, .has-success.checkbox-inline label{color: #007402;}

/*validation - red*/
.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label
{color: #C00;}

/*validation - warning yellow*/
.has-warning .help-block, .has-warning .control-label, .has-warning .radio, .has-warning .checkbox, .has-warning .radio-inline, .has-warning .checkbox-inline, .has-warning.radio label, .has-warning.checkbox label, .has-warning.radio-inline label, .has-warning.checkbox-inline label { color: #a85a01;}

/*jumbotron*/
.container .jumbotron, .container-fluid .jumbotron{ border-radius: 0;}

/*list group*/
.list-group-item.active .list-group-item-text, .list-group-item.active:hover .list-group-item-text, .list-group-item.active:focus .list-group-item-text{ color: #f0f0f0;}


/* ==========================================================================
  Extending bootstrap - additional helper classes, custom components and styles
   ========================================================================== */

/*additional custom button classes*/
.btn-transparent-black { border: 1px solid #333;color: #333; background: transparent;}
.btn-transparent-black:hover, .btn-transparent-black:focus{ background: #333; color: #fff;}
.btn-transparent-white{ border: 1px solid #fff; color: #fff;background: transparent;}
.btn-transparent-white:hover, .btn-transparent-white:focus{ background: #fff; color: #333;}
.btn-transparent-primary {border: 1px solid #003E87;color: #003E87;background: transparent;}
.btn-transparent-primary:hover, .btn-transparent-primary:focus{background: #003E87;color: #fff;}

/*additional background colour classes*/
.bg-white{background: #fff;}
.bg-light-grey-1{background: #f0f0f0;}
.bg-light-grey-2{background: #e0e0e0;}
.bg-light-grey-3{background: #ccc;}
.bg-red {background:#cc0000;}
.bg-purple {background:#48188E;}
.bg-green {background:#007402;}
.bg-blue {background:#0057A0;}

/*add a border to sections or divs*/
.bordered {outline: 1px solid #e0e0e0;}

 /*add margin top to stacked elements like rows*/
.vertical-margin-2  { margin-top: 2px; }
.vertical-margin-5 { margin-top: 5px; }
.vertical-margin-10 { margin-top: 10px; }
.vertical-margin-15 { margin-top: 15px; }
.vertical-margin-30 { margin-top: 30px; }
.vertical-margin-40 { margin-top: 40px; }

/*add margin bottom*/
.margin-bottom-2 { margin-bottom: 2px; }
.margin-bottom-5 { margin-bottom: 5px; }
.margin-bottom-10 { margin-bottom: 10px; }

.row[class*='vertical-margin-']:not([class*='equal-height-columns']) {margin-top:0; }
.row:not(.equal-height-columns).vertical-margin-2 [class*='col-'] { margin-top: 2px; }
.row:not(.equal-height-columns).vertical-margin-5 [class*='col-'] { margin-top: 5px; }
.row:not(.equal-height-columns).vertical-margin-10 [class*='col-'] { margin-top: 10px; }
.row:not(.equal-height-columns).vertical-margin-15 [class*='col-'] { margin-top: 15px; }
.row:not(.equal-height-columns).vertical-margin-30 [class*='col-'] { margin-top: 30px; }
.row:not(.equal-height-columns).vertical-margin-40 [class*='col-'] { margin-top: 40px; }

/*add padding inside divs*/
.vertical-padding-0 {padding-top:0px; padding-bottom:0px;}
.vertical-padding-10 {padding-top:10px; padding-bottom:25px;}
.vertical-padding-15 {padding-top:15px; padding-bottom:30px;}
.vertical-padding-20 {padding-top:20px; padding-bottom:35px;}
.vertical-padding-30 {padding-top:30px; padding-bottom:45px;}
.vertical-padding-40 {padding-top:40px; padding-bottom:55px;}
.vertical-padding-50 {padding-top:50px; padding-bottom:65px;}

.horizontal-padding-0 {padding-left:0px; padding-right:0px;}
.horizontal-padding-10 {padding-left:10px; padding-right:10px;}
.horizontal-padding-15 {padding-left:15px; padding-right:15px;}
.horizontal-padding-20 {padding-left:20px; padding-right:20px;}
.horizontal-padding-30 {padding-left:30px; padding-right:30px;}
.horizontal-padding-40 {padding-left:40px; padding-right:40px;}
.horizontal-padding-50 {padding-left:50px; padding-right:50px;}

/*absolute position elements like buttons. Outer div needs position defined ie: position:relative*/
.bottom-right, .bottom-left, .top-right, .top-left {position:absolute;}
.bottom-right {bottom:0; right:0;}
.bottom-left {bottom:0; left:0;}
.top-left {top:0; left:0;}
.top-right {top:0; right:0;}

[class*='col-'] .bottom-right, [class*='col-'] .top-right {right:15px;}
[class*='col-'] .bottom-left, [class*='col-'] .top-left {left:15px;}

.embed-responsive {margin:20px 0 20px;}

/*equal height columns*/
.equal-height-columns-xs {display:table;}
.equal-height-columns-xs > * {display:table-cell; float: none; vertical-align:top;}


/*table padding small*/
.table-small > thead > tr > th, .table-small > tbody > tr > th, .table-small > tfoot > tr > th, .table-small > thead > tr > td, .table-small > tbody > tr > td, .table-small > tfoot > tr > td {
    padding: 5px 10px;
}

/*figure captions*/
figcaption {
    font-size: 12px;
    padding: 10px 5px 30px;
}

/*scrollable, responsive table*/
.table-scroll {
    overflow-x: auto;
	display: block;
    padding:30px 0 0 0;
}

.table-scroll-container {
    position:relative;
}

.table-scroll-container:before {
    content:"< swipe >";
    font-weight:bold;
    font-size:10px;
    width:80px;
    text-transform:uppercase;
    background:#999;
    color:#fff;
    padding:3px 10px;
    display:inline-block;
    position:absolute; 
    left:50%;
    top:0;
    margin-left:-40px;
    text-align:center;

}


/*remove input shadow on ios*/
input[type="text"], input[type="email"], input[type="search"], input[type="password"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/*page header spacing*/
.page-header {
  margin-bottom: 30px;
}
.page-header .lead {
  margin-bottom: 10px;
}

/*adding accordion arrows*/
.panel-heading a {
    display:block;
}
.panel-heading a:hover, .panel-heading a:focus {
    text-decoration:none;    
}
.panel-heading [data-toggle="collapse"]:after
{
    font-family: 'FontAwesome';
    content: "\f105"; 
    float: right;
    color: #333;
    font-size: 24px;
    line-height:16px;

    /* rotate "play" icon from > (right arrow) to down arrow */
    -webkit-transform: rotate(90deg);
    -moz-transform:    rotate(90deg);
    -ms-transform:     rotate(90deg);
    -o-transform:      rotate(90deg);
    transform:         rotate(90deg);
}
.panel-heading [data-toggle="collapse"].collapsed:after
{
    /* rotate "play" icon from > (right arrow) to ^ (up arrow) */
    -webkit-transform: rotate(0deg);
    -moz-transform:    rotate(0deg);
    -ms-transform:     rotate(0deg);
    -o-transform:      rotate(0deg);
    transform:         rotate(0deg);
}


/**********************************************
*small devices
***********************************************/
@media only screen and (min-width:768px){

/*no gutter on columns*/
.no-gutter > [class*='col-'] { padding-right:0; padding-left:0;}


}



/**********************************************
*medium devices
***********************************************/
@media only screen and (min-width:992px){

/*additional custom helper classes*/
.equal-height-columns {display:table;}
.equal-height-columns > * {display:table-cell; float: none; vertical-align:top;}


/*jumbotron*/
.jumbotron {padding-left:60px; padding-right:60px;}

/*tabs*/
.nav-tabs {letter-spacing:2px;}
.nav-tabs > li > a {padding:12px 25px;}
.nav-tabs > li > a:before {height:25px;}


/*left aligned tabs*/
.tabs-left > .nav-tabs { border-bottom: 0; background-color:transparent; text-transform:none; letter-spacing:0;}  
.tabs-left + .tab-content {border-width:1px 1px 1px 0; border-style:solid; border-color:#e0e0e0;}  
.tabs-left + .tab-content > .active, .pill-content > .active { display: block; } 
.tabs-left > .nav-tabs > li { float: none; margin-bottom:0; }  
.tabs-left > .nav-tabs > li > a { min-width: 74px; margin-right: 0; padding:10px 15px;}  
.tabs-left > .nav-tabs > li > a:before {display:none;}
.tabs-left > .nav-tabs { float: left; width:100%; margin-right: 19px;  }  
.tabs-left > .nav-tabs > li > a { border-bottom:1px solid #fff; }  
.tabs-left > .nav-tabs > li > a:hover, .tabs-left > .nav-tabs > li > a:focus { background:#ccc; border-color:#ccc #ccc #fff #ccc; color:#333;}  
.tabs-left > .nav-tabs .active > a, .tabs-left > .nav-tabs .active > a:hover, .tabs-left > .nav-tabs .active > a:focus { border-color: #ccc #ccc #fff #ccc; *border-bottom-color: #ffffff; background-color:#ccc; font-weight:bold; }  


/*scrollable, responsive table*/
.table-scroll-container:before {
    display:none;
}


}

/*********************************************
*mobile only
***********************************************/
@media only screen and (max-width:768px){

/*prevent zoom on mobile forms*/
.form-control {font-size:16px;}


}


