/* global overrides */
body {
    padding: 0;
    margin: 0;
}

a:link,
a:focus,
a:visited {
    color: inherit;
}
/* global overrides */

#main-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    opacity: .9;
    z-index: 1000;
    display: none;
}
#main-spinner .spinner-caption {
    margin-bottom: 10px;
}
#main-spinner .spinner-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: bold;
}
/* TEMPLATE */
#template-body {
    margin: 0 16px 0 16px; /* account for the nav bar height */
    padding-top: 65px;
    /* position: relative; */
}

.large-form {
    margin: 0 16px 0 16px;
}

.centered-form {
    width: 75%;
    margin: 0 auto;
}

.section {
    border: 1px solid rgba(0,0,0,0.19);
    box-shadow:  0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}
/* TEMPLATE */

/* LOGIN FORM */
.login-form-wrapper {
    text-align: center;
}

.login-form-wrapper .alert {
    /* show a bootstrap alert half the screen width and centered for login errors */
    position: relative;
    width: 50%;
    left: 25%;
}

.login-form-wrapper h1 {
    margin-bottom: 30px;
}

/* .login-form input:not([type="submit"]) { */
.login-form input,
.login-form .checkbox {
    position: relative;
    margin-bottom: 20px;
    /* width: 20%;
    left: 40%; */
}
/* LOGIN FORM */

/* REGISTRATION CAROUSEL */
header#myCarousel {
    margin-top: -18px;
    margin-bottom: 10px;
}
/* REGISTRATION CAROUSEL */

/* MAIN FOOTER */
.main-footer {
    margin: 10px 0;
    text-align: center;
}
/* MAIN FOOTER */

/* TEMPLATE ERROR PANEL */
.template-error-panel .alert {
    /* show a bootstrap alert half the screen width and centered for top level errors */
    position: relative;
    width: 70%;
    left: 15%;
}
/* TEMPLATE ERROR PANEL */

/* FORM VALIDATION */
.validate-form select:invalid,
.validate-form input[type="text"]:invalid {
    /* color: red; */
    border-left: 3px solid red;
}

.validate-form select:valid,
.validate-form input[type="text"]:required:valid {
    border-left: 3px solid green;
}

.validate-form input[type="date"]:invalid {
    /* color: red; */
    border-left: 3px solid red;
}


.validate-form input[type="date"]:required:valid {
    border-left: 3px solid green;
}

.validate-form input[type="checkbox"]:invalid {
    /* color: red; */
    box-shadow: -3px 0px 0px 0px red;
}

.validate-form input[type="checkbox"]:required:valid {
    box-shadow: -3px 0px 0px 0px green;
}

.validate-form select:invalid,
.validate-form textarea:invalid {
    /* color: red; */
    border-left: 3px solid red;
}

.validate-form select:valid,
.validate-form textarea:required:valid {
    border-left: 3px solid green;
}



#builder-agreement-emailed.show-validation-error,
#builder-work-type.show-validation-error {
	border: 1px solid #f5c6cb;
	border-radius: 5px;
	box-shadow:  2px 3px 5px #f5c6cb;
	padding: 5px;
}



/* FORM VALIDATION */

/* MODALS */
.modal-header .close {
    position: relative;
    top: 4px;
}
.modal-danger {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background: #d9534f;
    color: #fff;
}
.modal-danger .modal-content {
    color: black;
}
.modal-warning {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background: yellow;
    color: brown;
}
.modal-success {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background: green;
    color: white;
}
/* MODALS */

/* WARRANTY FORM */
.row-padded {
    margin-top: 20px;
}

.warranty-entry-form .save-button-row {
    text-align: center;
}

.warranty-entry-form #overrideExpiry {
    cursor: pointer;
    background: yellow;
    color: black;
}

.warranty-entry-form #overrideExpiry.override {
    background: red;
    color: white;
}
/* WARRANTY FORM */

/* FILE LIST CONTROL */
.file-list-container {
    padding-top: 5px;
    max-height: 10em;
    overflow: auto;
}

.file-list-input {
    padding-top: 5px;
}

.file-list-item {
    margin-bottom: 2px;
}

.file-list-item .glyphicon {
    color: #449d44;
}
/* FILE LIST CONTROL */

/* DASHBOARD */
.dashboard .panel {
    box-shadow: 0 10px 20px rgba(0,0,0,0.19);
}

.dashboard .panel-heading {
    font-size: 18px;
}

.dashboard .panel-body {
    padding: 10px;
    height: 250px;
    overflow-y: auto;
    font-size: 5px !important;
}

.dashboard .panel-body table {
    font-size: 12px;
}

.dashboard .panel-footer {
    text-align: right;
}
/* DASHBOARD */

/* DATA TABLES OVERRIDES */
.dataTables_processing {
	top: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	margin-left: 0 !important;
	margin-top: 0 !important;
	height: unset !important;
	width: unset !important;
	background: rgba(255,255,255,.8) !important;
}
.dataTables_processing .dataTables_processing_spinner {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 65px;
	background: #fff;
	box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.38);
}
/* DATA TABLES OVERRIDES */


.hidden-txt{
    width: 1px;
    border-top:none;
    border-bottom: none;
    border-right: none;
}

p.shallow-p{
    /* background-color: green; */
    margin: 0 0 5px;
    font-weight: bold;
}
p.shallow-p input[type=checkbox]{
    margin-right: 5px;
}
.checkbox{
    font-weight: bold;
}
.dabox {
    font-weight: bold;
}