/* global body padding */
body {
    padding-top:30px;
    padding-bottom:20px;
}
  
/*Hide extra dropdown arrow in IE*/
select::-ms-expand {
    display:none;
}

/*Get rid of top shadow in ios*/
input[type=text], input[type=password] {
    -webkit-appearance:none;
}

/*Fix Modals in inverse theme */
.modal,
.modal h4 {
    color: #cfd2da
}
.modal-header {
	border-bottom: 1px solid #434857;
}
.modal-content {
	background-color: #252830;
}
.modal-content button.close {
	color:#cfd2da;
}
.modal-content button.close {
	color:#cfd2da;
	text-shadow: 0 1px 0 #434857;
}
.modal-footer {
	border-top: 1px solid #434857;
}

/* Fix up validation styles */
.invalid-feedback {
    font-size: 100%;
    font-weight: 700;
}

.was-validated .form-control:valid,
.was-validated .form-control:valid:focus {
    border-color: #1BC98E;
    border-width: 2px;
}

.was-validated .form-control:valid:focus {
    box-shadow:0 0 0 0.2rem rgba(27, 201, 142, 0.25)
}

.was-validated .form-control.is-invalid,
.was-validated .form-control.is-invalid:focus {
    border-color: #E64759;
    border-width: 2px;
}

.was-validated .form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(230, 71, 89, 0.25); 
}

/* font adjustments */
.hr-divider-heading {
    font-size:14px;
}

/* global spacing overrides */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-top:0;
}
hr {
    margin-top:30px;
    margin-bottom:30px;
}

.sidebar-header {
    padding-bottom:0;
    min-height:90px;
}

.nav-item {
	position:relative;
}

.nav-item .back:before {
    position: absolute;
    content: "\EA43";
    left: 2px;
    top: 12px;
}

.navbar-fixed-top,
.navbar-static-top {
    border-bottom:0;
}

.nav-link {
    padding:0.5rem 1rem 0.5rem 1.25rem;
}

.list-group-item {
    padding: 0.625rem 1.25rem;
}

.list-group-item.list-group-item-action span {
    max-width: 80%;
    overflow: hidden;
}

/* Float dl and dt */
dl {
    width: 100%;
    overflow: hidden;
}
dt {
    float: left;
    width: 20%;
    margin:0 8px 4px 16px;
    clear: both;
}
dd {
    float: left;
    width: 65%;
    margin:0 8px 4px 16px;
}

.page-link {
    padding: 0.5rem 0.5rem;
    min-width: 2.2rem;
}

a.disabled {
    pointer-events: none;
    cursor: default;
 }

@keyframes rotate {
    0% {
        transform:rotate(0deg);
    }

    100% {
        transform:rotate(360deg);
    }
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform:rotate(0deg);
    }

    100% {
        -webkit-transform:rotate(360deg);
    }
}