body {
	color: #696969;
}
a,
.pagination > li > a, 
.pagination > li > span {
    	color: #93362e;
}
a:hover {
	color: #c7213a;
}
h1, .h1, h2, .h2, h3, .h3 {
    	margin: 20px 0 30px;
	color: #333;
}
h3, .h3 {
    	margin: 30px 0 20px;
}
input {
    border-radius: 4px;
    line-height: 32px;
    border: 1px solid #ccc;
    text-indent: 7px;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #ccc;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #ccc;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #ccc;
}
:-moz-placeholder { /* Firefox 18- */
  color: #ccc;
}
@media screen and (max-width: 1023px){
    .container {
        width: 100%;
    }
    .navbar-default .container {
        width: 100%;
    }
    .form-control {
	padding: 6px;
    }
    .table-bordered >tbody > tr > td:nth-child(3) {
        min-width: 150px;
    }
}
@media screen and (min-width: 1024px){
    .container {
        width: 88%;
    }
.wrap > .container {
    	padding: 70px 15px 40px;
}
.navbar-brand {
    	font-size: 20px;
    	line-height: 18px;
}
.dropdown-menu > li > a:hover {
    	background-color: #5f3889;
}
.dropdown-menu > .active > a {
    	background-color: #5f3889;
}
.dropdown-menu > .active > a:hover {
    	background-color: #7f4bb9;
}

.breadcrumb {
    	background-color: #fff;
    	border-radius: 0;
    	margin-bottom: 20px;
    	padding: 15px 0 10px;
}
.btn-toolbar span.ui-button-text {
	padding: 1px 0 0;
}
.btn-toolbar .btn-group > .btn {
    	border-radius: 4px!important;
}
.btn {
	margin-right: 5px;
}
	.btn:last-child {
		margin-right: 0;
	}
.btn-primary {
    	background-color: #38b44a;
    	border-color: #38b44a;
}
	.btn-primary:hover, .btn-success:hover {
    		background-color: #3fcc52;
    		border-color: #3fcc52;
	}
.btn-danger {
    	background-color: #b84239;
    	border-color: #b84239;
}
	.btn-danger:hover {
    		background-color: #e64f47;
    		border-color: #e64f47;
	}
.table {
    	margin-bottom: 35px;
}
.table-bordered {
    	border: 0;
	background: #f9f9f9;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
	padding: 8px 10px;
}
.table-striped > tbody > tr:nth-of-type(2n+1) {
    	background-color: #eee;
}
.table-striped > tbody > tr:nth-of-type(2n) {
    	background-color: #f9f9f9;
}
.table-bordered {
   	box-shadow: 0 0 6px #b4b4b4;
	margin-bottom: 25px;
}
.table-striped th.action-column
{
	min-width: 100px;
}
.blockHeader {
	background: #5f3889;
	color: #fff;
	font-weight: normal;
	font-size: 18px;
}
.glyphicon {
    	font-size: 16px;
	margin-right: 6px;
}
.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
	border-bottom-width: 1px;
}
.navbar {
	margin-bottom: 30px;
	min-height: 45px;
}
.container .navbar-collapse, .navbar-default .container {
	width: 100%;
	margin-left: 0;
	margin-right: auto;
	padding-left: 0;
}
.in ul.navbar-nav {
    margin-left: -15px;
}
.navbar-inverse {
	background: #5f3889;
	border-color: #511c39;
}
	.navbar-inverse .navbar-nav > li > a {
    		font-size: 0.9em;
    		text-transform: uppercase;
	}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
	border-color: #F5F5F5;
}
.navbar-default .navbar-toggle {
	background: #93362e;
	border-color: #b84239;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background: #b84239;
	border-color: #b84239;
}
.navbar-default .navbar-nav > .open > a {
	background: #5f3889;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #ffffff;
  	background-color: #7f4bb9;
}
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
  	background-color: #7f4bb9;
}
.navbar-collapse {
}
.navbar-default .navbar-nav > li > a {
    	padding-bottom: 12px;
    	padding-top: 12px;
	color: #555;
	margin-right: 8px;
}
.navbar-default {
    	background: #f5f5f5;
    	border-color: #f5f5f5;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus, 
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus {
	background: #5f3889;
	border-radius: 4px;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > .active > a:hover {
	background: #834ebf;
	border-radius: 4px;
}
.nav-tabs {
	margin-bottom: 40px;
}
.summary {
	font-size: 0.83em;
	margin: 5px 0 10px;
	text-align: right;
	color: #999;
}
.breadcrumb > .active {
    	color: #696969;
}
th.action-column::after {
	content: "Actions";
}
label {
	margin-top: 8px;
}
.form-group {
	min-height: 30px;
}
.form-group input[type="checkbox"] {
	margin: 0 5px 0 0;
	vertical-align: bottom;
}
.form-group label.checkBoxLabel {
	display: block;
	margin: 0 0 0 20%;
	float: none;
	width: auto;
	vertical-align: bottom;
}
form div.required label.control-label:after {
        content:" * ";
        color: #c7213a;
	font-size: 15px;
	font-weight: normal;
}
.dynagrid-config-form .form-group label {
	float: none;
	margin-bottom: 10px;
	width: auto;
}
.dynagrid-config-form .hint-block {
	margin: 5px 0 0;
}
.select2-container--bootstrap .select2-selection--single {
    	height: 38px;
	padding: 9px 24px 6px 12px;
}
#login-form label {
	width: auto;
}
#loginform-rememberme {
	float: left;
	margin-top: 8px;
}
.pagination > li > a, .pagination > li > span {
    background: #eee;
    border-radius: 20px;
    padding: 8px 14px;
    margin-right: 5px;
    border: 0;
}
.pagination > li.active > a {
    background: #c7213a;
    border: 0;
    color: #fff;
}
.pagination > li.active > a:hover,
.pagination > li > a:hover {
    background: #3e152b;
    color: #fff;
}
.faded {
	opacity: 0.3;
    	filter: alpha(opacity=50); /* For IE8 and earlier */
}
.company-view .block {
	margin-top: 30px;
}
@media screen and (min-width: 1024px){
	.form-group label {
		float: left;
		width: 20%;
	}
	.form-control {
		width: 80%;
	}
	.block {
		width: 47%;
		float: left;
		margin-right: 0;
		padding-bottom: 10px;
	}
		.block:nth-of-type(2n+1) {
			margin-right: 40px;
			clear:both;
		}
}

@media screen and (max-width: 1020px){
	.form-group label.checkBoxLabel {
		margin: 0;
	}
}
.order-line-create .block {
	clear: right;
	margin-right: 40px;
	width: 46%;
}
.select2-container--bootstrap {
    display: block;
    float: right;
    width: 80%!Important;
}
ul.filterOptions {
    display: inline-block;
    padding-left: 15px;
}
ul.filterOptions li {
    display: inline-block;
    list-style-type: none;
    padding: 5px 10px 7px;
    background: #f5f5f5;
    border-radius: 3px;
    font-size: 13px;
    margin: 0 8px 0 0;
}
table.table-bordered td.ok {
	border: 1px solid #00aa7f!important;
}
td.nok
{
    background-color: #ea3b4d!important;
    color: white;
}
.nok a {
    color: #fff;
    text-decoration: underline;
}
.nok a:hover {
    text-decoration: none;
}

tr.green, td.green {
    background: #38b44a;
    color: #fff;
}
        .TastingList .green {
                text-align: center;
                vertical-align: middle;
        }
        .TastingList .green a {
                color: #fff;
        }
        .TastingList .table > tbody > tr > td:last-child {
                text-align: center;
                vertical-align: middle;
        }
.table-striped > tbody > tr.blue, .table-striped > tbody > tr > td.blue {
    background: #1d45bb;
    color: #e2e2e2;
}
tr.blue td a {
    color: #81cfff;
}
.table-striped > tbody > tr.blue td.green {
    background: #298636;
}

td.nowrap
{
   white-space: nowrap;
}

div.flash-error, div.flash-notice, div.flash-success {
        padding:.8em;
        margin-bottom:2em;
        border:1px solid #ddd;
        background:#FBE3E4;
        color:#8a1f11;
        border-color:#FBC2C4;
        border-radius: 3px;
        text-align: center;
}
div.flash-notice {
        background:#d3eaf9;
        color:#2468b1;
        border-color:#94d5f7;
}
div.flash-success {
        background:#c7f5c9;
        color:#218430;
        border-color:#93e28f;
}
input.hasDatepicker {
        width: 110px;
        padding: 8px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #333333;
        background-color: #ffffff;
        background-image: none;
        border: 1px solid #cccccc;
        border-radius: 4px;
} 
.field-sample-status label {
        display: block;
}
#sample-status, #predefined-sample-status {
        width: 39%;
        float:left;
}
#sample-status {
        margin:0 2% 20px 0;
}
.TastingList h3 {
        margin: 40px 0 0;
}
.TastingList h4 {
       margin: 50px 0 15px;
}
.TastingSortOrderManual {
        background: #ccecd1;
        padding: 5px 9px;
        border-radius: 4px;
        color: #2e993d;
        font-size: 13px;
        font-style: italic;
        margin: 0 0 10px 7px;
}       
.TastingSortOrderAuto {
        background: #f7e3e6;
        padding: 5px 9px;
        border-radius: 4px;
        color: #dc4868;
        font-size: 13px;
        font-style: italic;
        margin: 0 0 10px 7px;
}
#report-samepleperclient-grid .table-bordered th:first-of-type {
	width: 150px!important;
}
#report-samepleperclient-grid .table-bordered td {
	padding: 6px 16px;
}
#report-samepleperclient-grid td.sample-gridView-ClientName {
	max-width: 150px;
}
#report-samepleperclient-grid .sample-gridView-row td:first-child {
	max-width: 160px;
}
.simpleForm {
	background: #f9f9f9;
	border-radius: 3px;
	margin-bottom: 30px;
	padding: 20px 25px 25px;
	width: 400px;
}
.simpleForm label {
	min-width: 85px;
	margin-bottom: 15px;
}
.simpleForm label:last-of-type {
	margin-bottom: 25px;
}
.standAlone {
	margin-top: 10px;
}
.standAlone:last-of-type {
	margin-bottom: 10px;
}
.ZeroHeight {
	height: 0;
}
.order-line-form div.flash-notice {
	text-align: left;
	width: 80%;
	margin-top: 30px;
	margin-left: 20%;
}
.hint-block {
	color: #aaa;
	font-style: italic;
	margin: 5px 0 22px 20%;
}
.indentLabel {
	margin-left: 20%;
	margin-bottom: 30px;
}
.indentLabel label {
	margin-right: 30px;
}
.indentLabel .form-control {
	display: inline;
	width: 50%;
}
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
	border: 0!Important;
}
.mail-chimp-report label {
	font-weight: normal;
	margin-top: 2px;
	margin-right: 8px;
}
.agreementForm {
	display: inline-block;
	width: auto;
	background: #f3f3f3;
	padding: 10px 25px 16px;
	border-radius: 4px;
}
.agreementForm input#w0 {
	margin: 0 10px 0 5px;
}
.agreementForm .btn {
	margin-left: 15px;
}
.order-attachment-form .btn-danger, .event-attachment-form .btn {
	margin: 0 10px 10px 0;
}
.order-attachment-form h3 {
	margin-top: 45px;
}
.order-attachment-form #w5 button #w5, .order-attachment-form #w5 .field-order-attachments {
	float: left;
}
.order-attachment-form #w5 .form-group {
	width: auto;
}
.order-attachment-form #w5 label {
	width: 140px;
	font-weight: normal;
	margin-top: 5px;
}
}

#QuickSelect .form-group {
    	float: right;
    	margin-bottom: 0;
	margin-right: 30px;
}
.Select2ContainerClass {
	width: 135px;
}
#QuickSelect .select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
	right: 0px;
}
.Select2DropdownClass {
	width: 280px!important;
}

.site-index #w0 {
	margin-top: 20px;
}
.widget {
        box-shadow: 2px 4px 8px #bdbdbd;
        border-radius: 8px;
        margin: 30px auto;
        background: #fcfcfc;
        padding: 26px 38px 35px;
        width: 100%;
        display: table;
        text-shadow: 1px 1px #fff;
}
@media screen and (min-width: 1024px){
        .col-lg-3, .col-lg-9 {
                padding-right: 30px;
        }
        .widget {
                margin: 40px auto;
        }
}

.widget .btn {
        text-shadow: none;
}
.widget h2 {
        margin: 10px;
}
.widget h3 {
        margin-top: 0;
        font-size: 21px;
	text-align: center;
}
.widgetBlock {
        font-size: 18px;
        float: left;
        padding: 0;
        text-align: center;
        color: #555;
	margin: 0 auto;
	width: 100%;
	min-width: 270px;
}
.widgetBlock span {
        color: #222;
        font-size: 50px;
        clear: both;
        display: block;
}
.widgetSingle {
	float: none;
}
.widget .table-striped {
	box-shadow: none;
	margin-bottom: 10px;
}
.widget .table-bordered > tbody > tr > td:nth-child(3) {
    	min-width: 150px;
}
.widgetOrderBlock {
	float: left;
	padding: 10px 0 15px;
	width: 50%;
}
.widgetOrderBlock:nth-of-type(odd) {
	clear:both;
}
.widgetOrderBlock span {
	font-size: 33px;
}

.company-dashboard .col-lg-2 .table-bordered {
	width: 97%;
	box-shadow: 0px 1px 3px #b2b2b2;
	margin: 4px 0 30px 4px;
}
.company-dashboard .col-lg-2 .table-bordered > tbody > tr > th {
	font-weight: normal;	
}
.company-dashboard .col-lg-2 .table-bordered > tbody > tr > th.FullName {
	font-weight: bold;	
	background: #fff;
}
.company-dashboard .col-lg-2 .table-striped > tbody > tr:nth-of-type(2n+1) {
    	background-color: #f5f5f5;
}
.company-dashboard .col-lg-4 {
    	padding: 0 25px 0 15px;
}
.company-dashboard .table-responsive {
	border: 0;
}
input[type="file"] {
    display: inline-flex;
    padding: 10px;
}
.documentPreviewDiv {
        margin: 15px 0 10px;
}
.company-dashboard h1, .company-view h1 {
	display: inline-block;
}
.company-dashboard h1 div, .company-view h1 div {
	display: inline-block;
	margin: -4px 0 0 16px;
	padding: 8px 12px;
	color: #fff;
	border-radius: 5px;
	font-size: 16px;
	vertical-align: top;
}
.CompanyRatingA {
	background: #c7213a;
}
.CompanyRatingAA {
	background: #f1aa47;
}
.CompanyRatingAAA {
	background: #41c767;
}
div.StreakLinkOnCompanyPage {
	background: #5f3889;
    	border-radius: 4px;
	margin-left: 0!important;
}
div.StreakLinkOnCompanyPage:hover {
	background: #834ebf;
}
.StreakLinkOnCompanyPage a {
	color: #fff;
}
.StreakLinkOnCompanyPage a:hover {
	text-decoration: none;
}
.right {
	text-align: right;
}
.bold {
	font-weight: 700;
}
.DownloadLabAnalysisButton {
	display: block;
	color: #fff;
	font-size: 16px;
	text-decoration: none;
	border-radius: 6px;
	margin: 0;
	background: #5f3889;
	padding: 20px 35px;
	width: auto;
	height: 150px;
	text-align: center;
	vertical-align: baseline;
	float: right;
}
.DownloadLabAnalysisButton:before{
  	content:"\e025";
  	color: #fff;
  	font-family:"Glyphicons Halflings";
	font-size: 30px;
  	line-height: 1;
  	margin: 5px 0 20px;
  	display:inline-block;
}
.DownloadLabAnalysisButton:hover {
	background: #7f4bb9;
}
.form-group label.switch {
	margin-top: 0;
	width: 40px;
}
 /* The switch - the box around the slider */
        .switch {
            position: relative;
            display: inline-block;
            width: 40px;
            /* Reduced width */
            height: 24px;
            /* Reduced height */
        }

        /* Hide default HTML checkbox */
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        /* The slider */
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            -webkit-transition: .4s;
            transition: .4s;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 16px;
            /* Reduced height */
            width: 16px;
            /* Reduced width */
            left: 4px;
            bottom: 4px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

        input:checked+.slider {
            background-color: #2196F3;
        }

        input:focus+.slider {
            box-shadow: 0 0 1px #2196F3;
        }

        input:checked+.slider:before {
            -webkit-transform: translateX(16px);
            /* Adjusted transform */
            -ms-transform: translateX(16px);
            transform: translateX(16px);
        }

        /* Rounded sliders */
        .slider.round {
            border-radius: 24px;
            /* Adjusted border-radius */
        }

        .slider.round:before {
            border-radius: 50%;
        }
	#proforma-received-at-display {
		font-size: 16px;
	}
