/*
THIS FILE IS FOR STYLES WHICH OVERWRITE EXISTING STYLES APPLIED BY BOOTSTRAP.
ABSOLUTELY NO CLASSES BEGINNING WITH '.co-' SHOULD BE IN THIS DOCUMENT.
*/

/* Fullscreen background fix */
html:-moz-full-screen {
	background: #efefef;
}
html:-webkit-full-screen {
	background: #efefef;
}
html:-ms-fullscreen {
	background: #efefef;
	width: 100%; /* needed to center contents in IE */
}
html:fullscreen {
	background: #efefef;
}
body {
	padding-top: 112px !important;
	background-color: #e0e0e0 !important;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 14px;
	color: #2c2c2c;
}
a {
    color: #0082e3;
    text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1 {
	margin-top: 20px;
}

/* Unified input styles */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=money], input[type=zip], input[type=ssn], input[type=date], input[type=time], select {
	height: 36px;
	line-height: 36px;
}
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=money], input[type=zip], input[type=ssn], input[type=date], input[type=time], select, textarea {
    padding: 0 10px !important;
    border: 1px solid #d2d2d2 !important;
    border-radius: 0px !important;
    font-weight: normal;
    outline: 0 !important;
}
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, input[type=tel]:focus, input[type=number]:focus, input[type=money]:focus, input[type=zip]:focus, input[type=ssn]:focus, input[type=date]:focus, select:focus, textarea:focus {
	border: 1px solid #0082e3 !important;
}
select {
	padding-right: 30px !important;
    background: url('//cloudone.scdn5.secure.raxcdn.com/assets/images/select_arrow.png') no-repeat #fff !important;
    background-position: right 8px center !important;
	-webkit-appearance: none;
	-moz-appearance: none;
}
select:disabled {
	cursor: not-allowed;
	background-color: #fafafa;
	opacity: 1;
}
textarea {
	padding: 6px 10px !important;
}

/* Checkboxes, radios, & labels */
label {
	margin: 0 20px 0 0;
	cursor: pointer;
	-webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
}
input[type='checkbox'], input[type='radio'] {
	width: 10px;
	margin: 0 11px 12px 1px;
	line-height: .5;
}
@-moz-document url-prefix() { /* Firefox hack */
	input[type='checkbox'], input[type='radio'] {
		width: auto;
		margin: 0 5px 0 1px;
	}
}
input[type='radio'] {
	-webkit-box-sizing: content-box;
    box-sizing: content-box;
}
input[type='checkbox']:before, input[type='radio']:before {
	display: inline-block;
    content: '';
    width: 16px;
    height: 16px;
    margin-left: -1px;
    background: #f8f8f8;
    border: 1px solid #d2d2d2;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}
input[type='checkbox']:disabled:before, input[type='radio']:disabled:before {
    cursor: not-allowed;
}
input[type='radio']:before {
	margin: -1px 0 0 -2px;
	border-radius: 50%;
}
input[type='checkbox']:checked:before {
	content: "\e92a";
	background: #0082e3;
    border: 1px solid #0082e3;
	font-family: 'icomoon';
    color: #fff;
}
input[type='radio']:checked:before {
	width: 8px;
    height: 8px;
	border:	5px solid #0082e3;
	background: #fff;
}
.label-info {
    background-color: #0082e3;
}
.label {
	border-radius: 0;
}

/* Tables */
.table th, .table td {
	padding: 0 4px;
	border: 0;
	line-height: 1.75;
	vertical-align: middle;
}
.table thead th {
    border-bottom: 1px solid #d2d2d2;
}

/* Dropdown fix */
.dropdown-toggle:after {
	display: none;
}

a:focus {
    outline: 0;
    outline: 0;
    outline-offset: 0;
}

button:focus {
   outline:0 !important;
}
.form-control:disabled, .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #fafafa;
    color: #969696;
}

/* Margins and padding */
.m-a {
  margin: 10px !important;
}

.m-t {
  margin-top: 10px !important;
}

.m-r {
  margin-right: 10px !important;
}

.m-b {
  margin-bottom: 10px !important;
}

.m-l {
  margin-left: 10px !important;
}

.m-x {
  margin-right: 10px !important;
  margin-left: 10px !important;
}

.m-y {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
.p-a {
  padding: 10px !important;
}

.p-t {
  padding-top: 10px !important;
}

.p-r {
  padding-right: 10px !important;
}

.p-b {
  padding-bottom: 10px !important;
}

.p-l {
  padding-left: 10px !important;
}

.p-x {
  padding-right: 10px !important;
  padding-left: 10px !important;
}

.p-y {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.small {
	font-size: 11px;
}
.container, .container-fluid {
	margin: 20px;
	padding: 0;
}
.card {
	min-width: 250px;
	margin: 0;
	background: #fff;
	border: 1px solid #d2d2d2;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.card .card { /* cards in cards, dawg */
	margin-bottom: 20px;
	border: 1px solid #ddd !important;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.card-header, .card-primary {
	height: 48px;
	padding: 0 20px;
	background-color: #f8f8f8;
	border-bottom: 1px solid #d2d2d2;
	font-size: 16px;
	font-weight: bold;
	color: #2c2c2c;
	line-height: 48px;
}
.card-header:first-child {
    border-radius: 0;
}
.card-primary a span {
	margin-left: 6px;
}
.card-primary input[type=button] {
	content:"\e003";
	margin: -3px 0 0 8px;
	padding: 1px 10px;
	background: transparent;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-radius: 3px;
	font-size: 13px;
}
.card-primary select {
	height: 23px;
	margin: 7px 0 0 8px;
	padding: 1px !important;
	font-size: 14px !important;
	font-weight: normal;
	color: #000;
}
.card-primary input[type=text] {
	width: 125px;
	height: 23px;
	margin: 6px 0 0 -24px;
	font-size: 15px;
	line-height: 1em;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: .0625rem solid #ccc;
	font-weight: normal;
}
.card-header .fa-search {
	position: relative;
	font-size: 14px;
	color: grey;
	z-index: 100;
}
.card-primary .dropdown {
	display: initial;
}
.card-primary .dropdown-item {
	color: #000 !important;
	text-decoration: none !important;
}
.card-primary .dropdown-menu {
	top: 22px;
	right: -13px;
	left: auto;
	border-radius: 0 0 4px 4px;
}
.card-header .label-as-badge {
	margin-top: 8px;
}
.card-block {
	padding: 30px;
	overflow-y: hidden;
}
.form-control {
	border-radius: 0 !important;
	font-size: 14px;
	color: #2c2c2c;
}
.form-control:focus {
    border-color: #0082e3;
}
.input-group {
	width: 100%;
}
.input-group-addon {
	padding: 0.6rem 0.75rem; /* icon alignment fix */
	min-width: 40px;
}
.btn {
	height: 32px;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	font-size: 14px;
	line-height: 30px;
	outline: 0 !important;
}
.btn-primary {
	background-color: #0082e3;
	color: #fff !important;
}
.btn-default {
	background-color: #f8f8f8;
	border: 1px solid #b4b4b4;
	color: #2c2c2c;
}
.btn-default:hover {
	background-color: #f8f8f8;
	border: 1px solid #0082e3;
	color: #0082e3;
}
.btn-default:active {
	background-color: #0082e3;
	border: 1px solid #0082e3;
	color: #fff;
}
.btn:disabled, .btn:disabled:hover {
	background-color: #f8f8f8 !important;
	border: 1px solid #c8c8c8 !important;
	color: #b4b4b4 !important;
	opacity: 1;
}
.dropdown-menu {
	border-radius: 0;
}

/* Text & button colors */
.text-info, .text-info:hover {
	color: #0082e3 !important;
}
.text-success, .text-success:hover {
	color: #5eb94d !important;
}
.text-warning, .text-warning:hover {
	color: #f66a4d !important;
}
.text-danger, .text-danger:hover {
	color: #d21e34 !important;
}
.bg-info, .btn-info, btn-info:hover {
	background-color: #0082e3 !important;
}
.bg-success, .btn-success, btn-success:hover {
	background-color: #5eb94d !important;
}
.bg-warning, .btn-warning, btn-warning:hover {
	background-color: #f66a4d !important;
}
.bg-danger, .btn-danger {
	background-color: #d21e34 !important;
}
.btn-danger:hover {
	background-color: #a81626 !important;
}

/* Alerts */
.alert {
	padding: 15px 20px;
	border: 0 !important;
	border-radius: 0 !important;
	color: #fff;
}
.alert-danger {
	background-color: rgba(210,30,52,0.8);
}
.alert-warning {
	background-color: rgba(245,106,77,0.8);
}
.alert-warning .alert-link {
    color: #d21e34;
}
.alert-success {
	background-color: rgba(94,185,77,0.8);
}
.alert-info {
	background-color: rgba(0,130,227,0.8);
}

/* Forms */
.form-group {
	margin: 10px 0 20px 0;
}

/* Modals */
.close {
	outline: 0;
}
.modal {
	z-index: 2004;
}
.modal-backdrop {
	z-index: 2003;
}
.modal-header {
	height: 60px;
	padding: 0 20px;
	background-color: #f8f8f8;
	border-color: #d2d2d2;
	font-size: 18px;
	line-height: 60px;
	font-weight: bold;
	overflow: hidden;
}
.modal-header .close {
    margin-top: 22px;
    opacity: 1;
    font-size: 14px;
    color: #2c2c2c;
}
.modal-header .close:hover {
	color: #0082e3;
}
.modal-content {
	border: 0;
	border-radius: 0;
}
.modal-body {
	padding: 20px;
}
.modal-body .form-group {
	font-size: 14px;
}
.modal-body .co-form-row, .modal-body .co-form-row .form-group:last-child {
	margin-bottom: 0;
}
.modal-footer {
	padding: 20px;
}
.modal-footer .btn + .btn {
    margin-left: 16px;
}

/* Tabs */
.nav-tabs {
	margin-top: -15px;
	margin-bottom: 46px !important;
	border-bottom: 1px solid #d2d2d2;
}
.nav-tabs, .nav-link {
	margin-top: 0;
	padding: 5px 20px !important;
	border-radius: 0 !important;
	font-size: 13px;
	color: #2c2c2c !important;
}
.nav-tabs .nav-link {
	background-color: rgba(0, 0, 0, 0.06) !important;
}
.nav-tabs .nav-item:first-child {
    margin-left: -10px;
}
.nav-tabs .nav-item + .nav-item {
    margin-left: 10px;
}
.nav-tabs .nav-item {
    margin-bottom: -5px !important;
}
.nav-tabs .nav-link:hover {
	border-color: transparent transparent transparent !important;
	color: #0082ec !important;
}
.nav-link.active, .nav-link.active:hover {
	background-color: #0082ec !important;
	border-color: #0082ec #0082ec transparent !important;
	color: #fff !important;
}
@media only screen and (max-width: 1750px) {
	ul.nav-tabs {
		margin-top: -15px;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.nav-tabs .nav-item:first-child {
		margin-left: 10px;
	}
	.nav-link {
		margin-top: 15px;
	}
}

/* Dropdowns */
.dropdown-menu {
	margin: 3px 0 0;
	border: 1px solid #d2d2d2 !important;
}
.dropdown-item {
    padding: 0 20px;
    font-size: 14px;
    line-height: 40px;
    color: #2c2c2c;
}

/* Tooltips */
.tooltip {
	z-index: 9999;
	/* white-space: nowrap; sidebar tooltip fix */
}
.tooltip.in {
	opacity: 1;
}
.tooltip-arrow {
	display: none;
}
.tooltip-inner {
	max-width: 400px;
	padding: 10px;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 11px;
	color: #2c2c2c;
	text-align: left;
	background-color: #fff;
	border: 1px solid #0082e3;
	border-radius: 0;
	-webkit-box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 2px 7px 0px rgba(0,0,0,0.25);
	font-size: 12px;
}
@media screen and (max-width: 480px) {
	.tooltip-inner {
		max-width: calc(100% - 20px);
	}
}

/* Datepicker */
.ui-datepicker {
	z-index: 99999 !important; /* make sure datepicker is always on top */
}
.img-thumbnail {
	border-radius: 0;
}

/* Highcharts */
.highcharts-container {
	overflow: visible !important;
}

/* Temporary tableize overrides */
.tableize th, .tableize td {
    white-space: nowrap !important;
}
@media screen and (max-width: 1024px) {
	body.up {
		padding-top: 147px !important;
		transition: all .3s;
	}
}