body {
    /* adjust this if the height of the menu bar changes */
    margin-top: 55px;
}


@media (min-width: 767px) {
    body {
        /* adjust this if the height of the menu bar changes */
        /*margin-top: 150px;*/
        margin-top: 75px;
    }
}

.main-nav {
    /* this is a faux center fix for the nav options -
    adjust this if you wish to change the logo height
    or the font of the menu items */
    margin-top: 6px;
}

@media (min-width: 767px) {
    .navbar-header {
        min-height: 62px;
    }
}

img {
    max-width: 100%;
}

/* override the button color */
.btn-primary, .btn-success, .btn-default,
.btn-primary:hover, .btn-success:hover, .btn-default:hover,
.btn-primary:focus, .btn-success:focus, .btn-default:focus,
.btn-primary:active, .btn-success:active, .btn-default:active {
    background-color: #4F6F89 !important;
    border-color: rgba(0, 0, 0, 0.587) !important;
    outline: none;
    text-decoration: none;
    color:white;
}

/* Begin: Sticky Footer */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 70px;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 70px;
    background-color: #f8f8f8;
}

#footer .container {
    width: auto;
    line-height: 65px;
    color: gray;
}
#footer .container .text-muted {
    margin: 20px 0;
}
#footer a {
    color: gray;
}
/* End: Sticky Footer */


/* Begin: Idle Timeout */
#idletimeout {
    background: #f5ce02;
    border: 3px solid #f5ce02;
    color: #000;
    font-family: arial, sans-serif;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    position: relative;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 100000;
    display: none;
}

#idletimeout a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

#idletimeout span {
    font-weight: bold
}
/* End: Idle Timeout */
/* jQuery Validation Plugin */
/*
.error {
    border: 1px solid #f00 !important;
}
*/
.error {
    color: #f00 !important;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    background-color: #3B6E38;
    border-color: #3B6E38;
    color: #FFFFFF;
}


.pagination li a {
    color: #4F6F89 !important;
}


/* enable sub-menus http://www.bootply.com/nZaxpxfiXz */
.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#555;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

a:link {
    color: #0E225F;
    text-decoration: none;
}
a:visited {
    color: #0E225F;
}
a:hover {
    color: #0E225F;
    text-decoration: underline;
}
a:active {
    color: #0E225F;
}

#form-enrollment input[type=number] {
    -webkit-text-security: disc;
}
#form-enrollment input[type=number]::-webkit-inner-spin-button,
#form-enrollment input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=checkbox][disabled] + label {
    color: #ccc;
}

#gridCustomSearchFormErrorMessage span {
    font-weight: bold;
}

/* begin: agreements modal window modifications */
.modal.modal-wide .modal-dialog {
    width: 90%;
}
.modal-wide .modal-body {
    overflow-y: auto;
}

.modal .modal-body {
    max-height: 420px;
    overflow-y: auto;
}

#bootgrid_current_page_custom{
    width: 80px;
    position: relative;
    float: left;
    padding: 7px 12px;
    line-height: 1.45;
    text-align: center;
    border: 1px solid #ccc;
    border-left: none;
    border-right: none;
    margin-right: 1px;
    box-shadow: inset 0 0 1px 1px #ccc;
}
#bootgrid_current_page_custom::-webkit-inner-spin-button,
#bootgrid_current_page_custom::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#bootgrid_current_page_custom{
    -moz-appearance:textfield
}
th.grid-commands-1{
    width: 70px;
}
th.grid-commands-2{
    width: 95px;
}
th.grid-commands-3{
    width: 140px;
}
th.grid-commands-4{
    width: 185px;
}
@media (min-width: 1200px) {
    .modal-xlg {
        width: 1020px;
    }
}

/* Google login */
.signin{
    position: relative;
}

.g-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.g-login-box{
    height:210px;
    min-height: 150px;
    position: relative;
}

.g-box-wrap {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    min-width:250px;
}

.google-btn a {
    width: 184px;
    height: 42px;
    display: block;
}

.login-box-container{
    background-color: #f8f8f8;
    width: 500px;
    padding: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px -3px #333;
    text-align: center;
    margin: 0;
    position: absolute;
    top: 48%;
    left:50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.google-btn {
    width: 184px;
    height: 42px;
    background-color: #1e93bd;
    border-radius: 2px;
    box-shadow: 0 3px 4px 0 rgba(37, 150, 190, 0.25);
    margin-left:auto;
    margin-right:auto;
}
.google-btn .google-icon-wrapper {
    position: absolute;
    margin-top: 1px;
    margin-left: 1px;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background-color: #fff;
}
.google-btn .google-icon {
    position: absolute;
    width: 18px;
    height: 18px;
    left: 11px;
    top: 11px;
}
.google-btn .btn-text {
    float: right;
    margin: 11px 11px 0 0;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.2px;
    font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
}
.google-btn:hover {
    box-shadow: 0 0 6px #2596be;
}
.google-btn:active {
    background: #2596be;
}

.g-box-wrap h3 {
    font-size: 18px !important;
    margin-top: 0 !important;
    margin-bottom:23px !important;
}

/* Archive page styling */
.archiveContainer button.btn.btn-sm.btn-default.command-view,
.archiveContainer button.btn.btn-sm.btn-default.command-edit {
    background: #236657 !important;
}

.archiveContainer button.btn.btn-default,
.archiveContainer button.btn.btn-default.dropdown-toggle {
    background: #236657 !important;
    border-color: rgba(0, 0, 0, 0.587) !important;
}

.archiveContainer a#gridViewReturn {
    background-color: #236657 !important;
    border-color: rgba(0, 0, 0, 0.587) !important;
}

.archiveContainer a#gridViewSave {
    background-color: #236657 !important;
    border-color: rgba(0, 0, 0, 0.587) !important;
}

.archiveContainer .panel-heading {
    background: #236657 !important;
    border-color: #5eb1a1 !important;
}

.archiveContainer .panel-body {
    background: #2D8370 !important;
    border-color: #5eb1a1 !important;
}

.archiveContainer .glyphicon-th-large {
    color: white;
}

.archiveContainer .pagination li a {
    color: #236657 !important;
}

.archiveContainer .pagination>.active>a,
.archiveContainer .pagination>.active>span,
.archiveContainer .pagination>.active>a:hover,
.archiveContainer .pagination>.active>span:hover,
.archiveContainer .pagination>.active>a:focus,
.archiveContainer .pagination>.active>span:focus{
    background-color: #236657;
    border-color: #236657;
    color:white !important;
}

.archiveContainer .archiveHeading{
    background-color: #A6A6A6;
}
.archiveHeading{
    background-color: #A6A6A6;
}

.archiveHeading label{
    font-size:18px;
}

/* Returned transaction page styling */
.return-transactions .loader-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    z-index: 1000; /* Higher z-index to overlay on other elements */
}

.return-transactions .loader-div img {
    width: 50px;
    height: 50px;
}

.return-transactions-container .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.return-transactions .loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #3B6E38;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    top: 50%;
    left: 50%;
    display: inline-block;
    position: absolute;
    z-index: 999;
}

.return-transactions-container .modal-content {
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.return-transactions-container .modal-body {
    min-height: 595px;
    padding: 10px 20px;
}

.return-transactions-container .modal-footer,
.return-transactions-container .modal-header {
    display:block;
    text-align: center;
}


@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes rotation {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-o-keyframes rotation {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(360deg);
    }
}

@-ms-keyframes rotation {
    0% {
        -ms-transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(360deg);
    }
}

/* Navbar custom styling */
.navbar a:link {
    color: #777 !important;
    text-decoration: none;
}

.navbar a:hover {
    color: #333 !important;
    text-decoration: none;
}

.signout button:active {
    background-color: #1e93bd !important;
}

.navbar{
    border: 1px solid transparent !important;
    border-color: #e7e7e7 !important;
}

/* Grid action dropdown styling */
.actionBar label{
    font-weight: 700 !important;
}

.actionBar .active {
    background-color: blue !important;
}

.actionBar .active a{
    color: white !important;
}

.actionBar .active a:hover{
    color: #333 !important;
}

/* Consumer notes next and previous button disable styling */
.btn-default.disabled{
    background-color: #fff !important;
    border-color: #ccc !important;
}

h4 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

h2 {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

h3 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    font-size: 20px !important;
}

h5 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    font-size: 14px !important;
}

/* Fade effect on 'Actions' button in view-edit pages*/
#gridViewActionsDropdown .dropdown-toggle.btn-default.show {
    color: #333 !important;
    background-color: #ebebeb !important;
    border-color: #adadad !important;
}

body{
    font-size: 14px;
    line-height: 1.428571429;
    color: #333;
}

/* bootbox alert close button styling */
.bootbox button.close {
    padding: 0 !important;
    cursor: pointer !important;
    background: 0 0 !important;
    border: 0 !important;
    float: right !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #000 !important;
    text-shadow: 0 1px 0 #fff !important;
    opacity: .2 !important;
}

/* Authplatform inquiry styling */
pre{
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.428571429;
    word-break: break-all;
    word-wrap: break-word;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* end: */

