/*
--------------------------------------------------------------------------
---- BOOTSTRAP GRID OVERRIDES ----
--------------------------------------------------------------------------
*/

.row .col:first-child {
  padding-left: 0px;
}

.row .col:last-child {
  padding-right: 0px;
}

/*
--------------------------------------------------------------------------
---- BOOTSTRAP FORM OVERRIDES ----
--------------------------------------------------------------------------
*/

.form-group label {
	margin: 0px;
	padding: 0px;
}

.bottom-form-group {
	margin: 0px;
	padding: 0px;
}

/*
--------------------------------------------------------------------------
---- BOOTSTRAP MODAL OVERRIDES ----
--------------------------------------------------------------------------
*/

.modal .modal-header {
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	
	background-color: #0d437e;
}

.modal .modal-header .modal-title {
	color: #ffffff;
}

.modal .modal-header .close {
	display: none;
	
	text-shadow: none;
	
	opacity: 1;
}

.modal .modal-header .close span {
	color: #ffffff;
}

/* ---------------------------------------------- */

.modal .modal-content  {
	margin: 0px;
	padding: 0px;
	
	-webkit-border-radius: 0px 0px 8px 8px;
	-moz-border-radius: 0px 0px 8px 8px;
	border-radius: 0px 0px 8px 8px; 
}

/* ---------------------------------------------- */

.modal {
	overflow-y: auto;
}

/* ---------------------------------------------- */

.modal {
  background: rgba(0, 0, 0, 0.5);
}

.modal-backdrop.show {
  display: none;
}

/*

// The above classes are a css-only solution that allow multiple modals and
// modal-backdrops to be properly stacked one on top of the other. The benefit
// of this is that is appears this will work with any number of modals.

* ---------------------------------------------- *

// The following is old code that forced the success-failure modal and 
// modal-backdrop to always be on top of all other modals and modal-backdrops. 
// This assumes that there will only ever be two modals stack on top of one 
// another and that the success-failure modal and modal-backdrop is always the 
// modal that is on top.

#modal-success-failure {
	z-index: 1062;
}

#modal-backdrop-success-failure {
	z-index: 1061;
}

// jQuery code to add id to last modal-backdrop
$(".modal-backdrop").last().attr("id", "modal-backdrop-success-failure");

* ---------------------------------------------- *

// Yet another old css-only solution. Again, this assumes that there will
// only ever be two modals stack on top of one another.

.modal + .modal {
  z-index: 1062;
}

.modal-backdrop.show + .modal-backdrop.show {
  z-index: 1061;
}

*/

/*
--------------------------------------------------------------------------
---- BOOTSTRAP TABS OVERRIDES ----
--------------------------------------------------------------------------
*/

.nav-tabs .nav-item .nav-link.active {
	font-weight: bold;
}

.tab-content .tab-pane {
	margin: 15px 0px 0px 0px;
	padding: 0px;
}

.content-paragraph + .nav-tabs {
	margin: 0px 0px 0px 0px;
	padding: 5px 0px 0px 0px;
}

/*
--------------------------------------------------------------------------
---- BOOTSTRAP BUTTON OVERRIDES ----
--------------------------------------------------------------------------
*/

/*
normal      = #4b77c1
darken 7.5% = #3b65ab (59, 101, 171)
darken 10%  = #385fa1
lighten 5%  = #5e85c8
lighten 10% = #7194ce
darken 30%  = #1d3256
*/

.btn-logan-blue {
    color: #ffffff;
    background-color: #4b77c1; /* normal */
    border-color: #4b77c1; /* normal - should be darken 7.5% */
}

.btn-logan-blue:hover {
    color: #ffffff;
    background-color: #385fa1; /* darken 10% */
    border-color: #385fa1; /* darken 10% - should be lighten 5% */
}

.btn-logan-blue:focus,
.btn-logan-blue.focus {
    box-shadow: 0 0 0 .2rem rgba(59, 101, 171, 0.5); /* darken 7.5% */
}

.btn-logan-blue.disabled,
.btn-logan-blue:disabled {
    color: #ffffff;
    background-color: #4b77c1; /* normal */
    border-color: #4b77c1; /* normal - should be darken 7.5% */
}

.btn-logan-blue:not(:disabled):not(.disabled):active,
.btn-logan-blue:not(:disabled):not(.disabled).active,
.show>.btn-logan-blue.dropdown-toggle {
    color: #ffffff;
    background-color: #7194ce; /* lighten 10% */
    border-color: #7194ce; /* lighten 10% - should darken 30% */
}

.btn-logan-blue:not(:disabled):not(.disabled):active:focus,
.btn-logan-blue:not(:disabled):not(.disabled).active:focus,
.show>.btn-logan-blue.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(59, 101, 171, 0.5); /* darken 7.5% */
}

/* ---------------------------------------------- */

/*
normal      = #b60404
darken 7.5% = #910303 (145, 3, 3)
darken 10%  = #840303
lighten 5%  = #cf0505
lighten 10% = #e80505
darken 30%  = #200101
*/

.btn-logan-red {
    color: #ffffff;
    background-color: #b60404; /* normal */
    border-color: #b60404; /* normal - should be darken 7.5% */
}

.btn-logan-red:hover {
    color: #ffffff;
    background-color: #840303; /* darken 10% */
    border-color: #840303; /* darken 10% - should be lighten 5% */
}

.btn-logan-red:focus,
.btn-logan-red.focus {
    box-shadow: 0 0 0 .2rem rgba(145, 3, 3, 0.5); /* darken 7.5% */
}

.btn-logan-red.disabled,
.btn-logan-red:disabled {
    color: #ffffff;
    background-color: #b60404; /* normal */
    border-color: #b60404; /* normal - should be darken 7.5% */
}

.btn-logan-red:not(:disabled):not(.disabled):active,
.btn-logan-red:not(:disabled):not(.disabled).active,
.show>.btn-logan-red.dropdown-toggle {
    color: #ffffff;
    background-color: #e80505; /* lighten 10% */
    border-color: #e80505; /* lighten 10% - should darken 30% */
}

.btn-logan-red:not(:disabled):not(.disabled):active:focus,
.btn-logan-red:not(:disabled):not(.disabled).active:focus,
.show>.btn-logan-red.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(145, 3, 3, 0.5); /* darken 7.5% */
}

/* ---------------------------------------------- */

.btn-with-spinner > .spinner-border-sm {
	margin-right: 3px;
	margin-bottom: 1px;
}

