.row {
     margin-right: 0px;
     margin-left: 0px;
}
a {
     color: #b70833;
}
header nav{
     position:relative;
}

header>.container {
     padding-top: 15px;
     padding-bottom: 15px;
}
header #logo {
     height: 77px;
     -webkit-opacity: 1;
     -moz-opacity: 1;
     opacity: 1;
     -webkit-transition: opacity .3s ease;
     -moz-transition: opacity .3s ease;
     -ms-transition: opacity .3s ease;
     -o-transition: opacity .3s ease;
}
header h1 {
     float: right;
     text-align: right;
     line-height: 38.5px;
     font-weight: 600;
     color: #b70833;
}
header {
     width: 100%;
     margin-bottom: 15px;
}
header #logo img {
     max-height: 75px;
}
h1 {
     font-size: 2.4rem;
     line-height: 2.8rem;
}
header #navbar {
     width: 100%;
     line-height: 3.2rem;
     background: #b70833;
     text-align: right;
     color: #fff;
}
header a {
     color: #fff;
     font-weight: bold;
     font-size: 15px;
}
header a {
     color: #fff;
     font-weight: bold;
}
a:focus,a:hover {
     color: #860625;
     text-decoration: none;
}

header nav a:hover,header nav a:active{
     color:#fff;
     background-color: #a1988a;
     height: 40px;
}
#logged-in-user {
     float: left;
}

#logged-in-user a {
     display: inline;
     font-weight: 700;
     padding: 0 0 0 3.75px;
}
header nav{
     height: 40px;
}
header nav a {
     display: block;
     float: left;
     padding: 3px 20px;
     height: 40px;
     white-space: nowrap;
     -webkit-transition: background .3s ease;
     -moz-transition: background .3s ease;
     -ms-transition: background .3s ease;
     -o-transition: background .3s ease;
}
.forgot-btn,.forgot-btn:hover{
     color: #860625;
     font-weight: bold;
}


#main {
     margin-bottom: 90px;
}
.col-centered {
     float: none;
     margin: 0 auto;
}

.form-panel{
     margin-top: 25px;
     border-color: #ddd!important;
}
#login-panel{
     margin-top: 45px;
}
#login-panel h1 {
     text-align: center;
     font-size: 22px;
}
.panel h1 {
     font-weight: 700;
}
#login-panel p {
     text-align: center;
     padding: 0;
}
.errors, .sciantec-red, .scitech-orange, .text-danger, .text-warning {
     color: #b70833;
}
.nopadding {
     padding: 0 !important;
     margin: 0 !important;
}
.info-wrapper h4{
     text-align: center;
     font-weight: bold;
}
.info-wrapper{
     padding-left: 50px;
     padding-right: 56px;
     font-size: 15px;
     font-weight: bold;
}
.input-group {
     position: relative;
     display: table;
     border-collapse: separate;
}
.row {
     margin-bottom: 15px;
}
.btn-primary{
     color: #fff;
     background-color: #b70833;
     border-color: #9f072c;
}
.btn-primary.active, .btn-primary:active, .btn-primary:hover, .open>.dropdown-toggle.btn-primary {
     color: #fff;
     background-color: #860625;
     border-color: #64041c;
}
.col-md-5 .checkbox {
     margin-left: -13px;

}
.btn-link{
     float: right;
     margin-right: -15px;
     margin-top: 5px;
}

.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:first-child>.btn-group:not(:first-child)>.btn, .input-group-btn:first-child>.btn:not(:first-child), .input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group>.btn, .input-group-btn:last-child>.dropdown-toggle {
     border-top-left-radius: 6px;
     border-bottom-left-radius: 6px;
     border-top-right-radius: 6px;
     border-bottom-right-radius: 6px
}
footer {
     width: 100%;
     padding-top: 15px;
     border-top: 1px solid #e3e3e3;
}
footer p {
     font-size: .8em;
}
footer img {
     float: left;
     margin: 0 15px 30px 0;
}
footer .cawood img {
     float: none;
     display: inline-block;
     margin-bottom: -15px;
}
.cawood-green {
     color: #008d7f;
}
.nrm-blue {
     color: #0054a5;
}
.align-center {
     text-align: center;
}
header h1 span {
     font-weight: 300;
}
.panel-body {
	padding: 0;
	clear: both;
}
.panel-default {
     border-color: #fff;
}
#login-panel.panel-default {
     border-color: #ddd!important;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
     z-index: 2;
     color: #fff;
     background-color: #b70833;
     border-color: #b70833;
     cursor: default;
}
div.dataTables_wrapper div.dataTables_filter input {
     margin-left: 0.5em;
     display: inline-block;
     width: auto;
}
ul.samples-grid.allres .results input, ul.samples-grid.allres .operators input, ul.samples-grid.allres .instrument_types select, ul.samples-grid.allres .instrument_types input {
	display: none;
}
.samples-grid {
     float: left;
     width: 100%;
}
.samples-grid li{
     list-style: none;
     float:left;
     width:100%;
     margin-bottom: 10px;
}
.samples-grid li div{
     width:15%;
     float:left;
     margin-right:1%;
}
.submit span{
     float: left;
     margin-right: 5px;
}
.samples-grid li div.submit a{
     padding: 5px;
     color: #fff;
     background-color: #b70833;
     width: 75px;
     text-align: center;
     border-radius: 6px;
     margin-right: 4px;
}
.panel-primary>.panel-heading {
     color: #fff;
     background-color: #b70833;
     border-color: #b70833;
}
.panel-heading {
     padding: 10px 15px;
     border-bottom: 1px solid transparent;
     border-top-right-radius: 3px;
     border-top-left-radius: 3px;
}
.chosen-container{
     width:100%!important;
}
.chosen-choices .search-field input{
     width:100%!important;
}
h1.company{
     margin-top: 0;
}
#myModal .modal-dialog{
     width:1000px;
}
.samples-grid .help-block{
     width:100%;
     position: relative;
     padding: 2px;
}
.add-results{
     display: none;
}

ul.rounds{
     float: left;
     padding: 10px;
     list-style: none;
     width:100%;
}
.rounds li:first-child{
     margin-bottom: 10px;
}
.rounds li  {
     list-style: none;
     width:100%;
     float:left;
     margin-bottom: 30px;
}
.rounds li div {
     width: 24%;
     float: left;
     margin-right:1%;
}

.rounds li div.actions {
     width: 22%;
     float: left;
     margin-right:0%;
}

.rounds li ul.samples{
     width: 100%;
     margin: 10px 0 10px 0;
     float: left;
     padding:10px;
     border: 1px #c1c1c1 solid;
     padding-bottom: 20px;
     list-style: none;
}
.roundsli ul.samples h1{
     padding: 0;
     margin: 0;
     margin-bottom: 5px;
}
.rounds li ul.samples li.sample_list {

     margin-bottom: 15px;
     float: left;
     width: 100%;
}
.rounds li ul.samples div {
     width: 30%;
     float: left;
     margin-right: 1%;
}

.remove_sample,.remove_round{
     color: #860625;
     width:2%!important;
}

.rounds li ul.samples div.chosen-drop{
     width:100%;
}

.rounds li ul.samples li.search-choice{
     width:auto;
}
.admin-nav,.user-nav{position:relative;}
.admin-urls,.user-urls{
     position: absolute;
     width: 168px;
     background-color: #ddd;
     color: #000;
     margin-top: 40px;
     z-index: 9999;
     list-style: none;
     padding: 0;
     right: 508px;
}
.user-urls{
     right: 0px;
}
.admin-urls li,.user-urls li {
     float: left;
     width: 100%;
     border-bottom: 1px solid #c1c1c1;
     padding-bottom: 5px;
     padding-top: 5px;
     clear:both;
}
.admin-urls li:hover,.admin-urls a:hover,.user-urls li:hover,.user-urls a:hover{
     background-color: #c1c1c1;
}
.admin-urls li a,.user-urls li a{
     width: 100%;
     text-align: left;
     color: #000;
}
.form-horizontal{
     padding-top: 20px;
}
.table-btn img{
     height: 31px;
     width: 31px;
     float: left;
}

.table-btn a{
 	float: left;
}
table td{
	padding: 6px !important;
	font-size: 12px;
}
.tt-menu {
     margin: 12px 0;
     width: 100%!important;
     padding: 8px 0;
     background-color: #fff;
     border: 1px solid #ccc;
     border: 1px solid rgba(0, 0, 0, 0.2);
     -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
     border-radius: 8px;
     -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     box-shadow: 0 5px 10px rgba(0,0,0,.2);
}
.tt-dataset{
     width:100%!important;
}
.tt-suggestion {
     padding: 3px 20px;
     font-size: 18px;
     line-height: 24px;
     width:100%!important;
}
.tt-suggestion:hover {
     cursor: pointer;
     color: #fff;
     background-color: #0097cf;
}
.tt-suggestion.tt-cursor {
     color: #fff;
     background-color: #0097cf;
}
.rounds li div.chosen-search{
     width:100%;
}

.tt-suggestion p {
     margin: 0;
}

.gist {
     font-size: 14px;
}
.tab-pane{
     padding: 20px;
}

.navbar-toggle .icon-bar {
     display: block;
     width: 22px;
     height: 8px;
     border-radius: 1px;
     float: right;
     margin-top: -15px;
}

.glyphicon.spinning {
     animation: spin 1s infinite linear;
     -webkit-animation: spin2 1s infinite linear;
}
.add_type,.remove_type {
     margin-top:10px;
}
.heading h1 span{
     font-weight: bold;
     margin-left: 10px;

}
.heading a{
     margin-top: 18px;
}

.heading h1 img{
     height: 31px;
     display: inline-block;
     margin-top: -15px;
}
#foundSubscriptionsModal .modal-body,#missingSubscriptionsModal .modal-body{
     overflow: hidden;
}
#foundSubscriptionsModal .modal-body  p{
     width:33%;
     float:left;
     margin-bottom: 10px;
}

#missingSubscriptionsModal .modal-body  p{
     width:33%;
     float:left;
     margin-bottom: 10px;
}
.subscriptions .twitter-typeahead{
     width:100%!important;
}
.commit-message{
     margin-bottom: 10px;
     padding-left: 0px;
     padding-top: 15px;
     margin-top: 15px;
}
.notes{
     display: none;
     margin-left: 25px;
}
.schemes_div,.rounds_div,.results_div{
     display:none;
}


div.results,ul.samples-grid li div:nth-child(3){
     width:8%!important;
}
div.tests,ul.samples-grid li div:nth-child(2){
     width:23%!important;
}
@keyframes spin {
     from { transform: scale(1) rotate(0deg); }
     to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
     from { -webkit-transform: rotate(0deg); }
     to { -webkit-transform: rotate(360deg); }
}


@media (max-width: 769px) {
     header nav a {
          display: block;
          float: right;
          width: 100%;
          padding: 0 10px;
          text-align: left;
          position: relative;
          white-space: nowrap;
          -webkit-transition: background .3s ease;
          -moz-transition: background .3s ease;
          -ms-transition: background .3s ease;
          -o-transition: background .3s ease;
     }

}

@media (min-width: 992px){
     .admin-urls {
          right: 308px;
     }
}

@media (min-width: 1200px){
     .admin-urls {
          right: 508px;
     }
}

ul#testsgrid, ul#valuegrid{
	list-style: none;
	width: 49%;
	margin: 0 1% 0 0;
	float: left;
}
.mainGraph{
	background: url("/images/background.png") repeat 0 0;
}

.mainGraph.trend {
	background: url("/images/background2.png") repeat 0 0;     
}



@media (min-width: 1300px){
     .container {
          width: 1270px !important;
     }
     .admin-urls{
     	right: 499px;
     }
}

@media (min-width: 1400px){
     .container {
          width: 1370px !important;
     }
     .admin-urls{
         right: 699px;
     }
}

table.report td{
	border-width: 0 1px 0 0;
	border-color: #ddd;
	border-style: solid;
}
table.report td:first-child{
	border-left-width: 2px;
}

td.purple, td div.purple{color:#7410b4; background-color: #bb90d7; }
td.red, td div.red{color:#ff0000; background-color:  #efd0cf; }
td.green, td div.green{color:#238d23; background-color: #cdf8c6; }
td.amber, td div.amber{color:#000000; background-color: #FFE79E; }
td.blue, td div.blue{color:#0909d2; background-color: #c6cdf8; }

td.black{color: #000; }


.mainGraph svg>g>g>g>g>rect[stroke="#ffffff"][stroke-width="1"] {
  stroke: black !important;
  stroke-width: 2px !important;
}

#fountainG{
     position:relative;
     width:234px;
     height:28px;
     margin: 60px auto;
     margin-bottom: 100px;
     display: none;
}

#fountainG h4 {
    margin: 60px auto;
    display: block;
    text-align: center;
}

.fountainG{
     position:absolute;
     top:60px;
     background-color:rgb(183,8,51);
     width:28px;
     height:28px;
     animation-name:bounce_fountainG;
          -o-animation-name:bounce_fountainG;
          -ms-animation-name:bounce_fountainG;
          -webkit-animation-name:bounce_fountainG;
          -moz-animation-name:bounce_fountainG;
     animation-duration:1.5s;
          -o-animation-duration:1.5s;
          -ms-animation-duration:1.5s;
          -webkit-animation-duration:1.5s;
          -moz-animation-duration:1.5s;
     animation-iteration-count:infinite;
          -o-animation-iteration-count:infinite;
          -ms-animation-iteration-count:infinite;
          -webkit-animation-iteration-count:infinite;
          -moz-animation-iteration-count:infinite;
     animation-direction:normal;
          -o-animation-direction:normal;
          -ms-animation-direction:normal;
          -webkit-animation-direction:normal;
          -moz-animation-direction:normal;
     transform:scale(.3);
          -o-transform:scale(.3);
          -ms-transform:scale(.3);
          -webkit-transform:scale(.3);
          -moz-transform:scale(.3);
     border-radius:19px;
          -o-border-radius:19px;
          -ms-border-radius:19px;
          -webkit-border-radius:19px;
          -moz-border-radius:19px;     
}

#fountainG_1{
     left:0;
     animation-delay:0.6s;
          -o-animation-delay:0.6s;
          -ms-animation-delay:0.6s;
          -webkit-animation-delay:0.6s;
          -moz-animation-delay:0.6s;
}

#fountainG_2{
     left:29px;
     animation-delay:0.75s;
          -o-animation-delay:0.75s;
          -ms-animation-delay:0.75s;
          -webkit-animation-delay:0.75s;
          -moz-animation-delay:0.75s;
}

#fountainG_3{
     left:58px;
     animation-delay:0.9s;
          -o-animation-delay:0.9s;
          -ms-animation-delay:0.9s;
          -webkit-animation-delay:0.9s;
          -moz-animation-delay:0.9s;
}

#fountainG_4{
     left:88px;
     animation-delay:1.05s;
          -o-animation-delay:1.05s;
          -ms-animation-delay:1.05s;
          -webkit-animation-delay:1.05s;
          -moz-animation-delay:1.05s;
}

#fountainG_5{
     left:117px;
     animation-delay:1.2s;
          -o-animation-delay:1.2s;
          -ms-animation-delay:1.2s;
          -webkit-animation-delay:1.2s;
          -moz-animation-delay:1.2s;
}

#fountainG_6{
     left:146px;
     animation-delay:1.35s;
          -o-animation-delay:1.35s;
          -ms-animation-delay:1.35s;
          -webkit-animation-delay:1.35s;
          -moz-animation-delay:1.35s;
}

#fountainG_7{
     left:175px;
     animation-delay:1.5s;
          -o-animation-delay:1.5s;
          -ms-animation-delay:1.5s;
          -webkit-animation-delay:1.5s;
          -moz-animation-delay:1.5s;
}

#fountainG_8{
     left:205px;
     animation-delay:1.64s;
          -o-animation-delay:1.64s;
          -ms-animation-delay:1.64s;
          -webkit-animation-delay:1.64s;
          -moz-animation-delay:1.64s;
}

@keyframes bounce_fountainG{
     0%{
     transform:scale(1);
          background-color:rgb(183,8,51);
     }

     100%{
     transform:scale(.3);
          background-color:rgb(255,255,255);
     }
}

@-o-keyframes bounce_fountainG{
     0%{
     -o-transform:scale(1);
          background-color:rgb(183,8,51);
     }

     100%{
     -o-transform:scale(.3);
          background-color:rgb(255,255,255);
     }
}

@-ms-keyframes bounce_fountainG{
     0%{
     -ms-transform:scale(1);
          background-color:rgb(183,8,51);
     }

     100%{
     -ms-transform:scale(.3);
          background-color:rgb(255,255,255);
     }
}

@-webkit-keyframes bounce_fountainG{
     0%{
     -webkit-transform:scale(1);
          background-color:rgb(183,8,51);
     }

     100%{
     -webkit-transform:scale(.3);
          background-color:rgb(255,255,255);
     }
}

@-moz-keyframes bounce_fountainG{
     0%{
     -moz-transform:scale(1);
          background-color:rgb(183,8,51);
     }

     100%{
     -moz-transform:scale(.3);
          background-color:rgb(255,255,255);
     }
}
.comments{
	width: 80%;
	float: right;
}
.comments form{
	float: right;
}
.comments textarea{
	width: calc(100% - 140px);
}

td div.green, td div.red, td div.orange{
	text-align: center;
	width: 100%;
}
#last-login, #hideSort{
	padding-right: 4px;
}
#hideSort:after{
	display: none !important;
	content: ' ' !important;
	width: 0 !important;
}
.hide_sort{
	border-right-width: 0px !important;
}

#navbar .visible-sm{
	display: none !important;
}
#navbar .hidden-xs{
	display: block !important;
}

#colourKey{
	display: inline-block;
	vertical-align: top;
	width: 58%;
}

#scoreKey{
	display: inline-block;
	vertical-align: top;
	width: 40%;
	font-size: 14px;
	float: right;	
}