﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    height: 100%;
}

body {
    height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}



.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


/* Page Structure styles
-------------------------------------------------- */


/* within _Layout.cshtml */
#page-container {
    position: relative;
    min-height: 100vh;
  
}

/* within STPP/Index.cshtml */
#content-pane {
  /*  margin-left: 0px;
    margin-right: 0px;*/
}

/* within each ViewComponent */
#view-content {
    width: 100%;
    min-height: 65vh;
}


#header-content {

}

#footer-content {
    /* ajax refers to this class */
}


.table {
    margin-bottom: .5rem;
}

.table td, .table th {
    padding: .2rem;
}

.form-group label {
    margin-bottom: .2rem;
}

/* loader styles */

.loader-main, .achloader-main {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    /*background: rgba(0, 0, 0, 0.5);*/
    align-items: center;
    z-index: 99999999;
    /*margin-top:-10px;*/
}

.achloader-main {
    background: rgba(0, 0, 0, 0.1);
}

    /* https://stackoverflow.com/a/1964871/244361 */
    .loadingModal {
        display: none;
        position: fixed;
        z-index: 1000;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        opacity: 0.40;
        background: #DCDCDC;
    }

/* When the body has the loading class, we turn the scrollbar off with overflow:hidden */
body.loading .loadingModal {
    overflow: hidden;
}

/* Anytime the body has the loading class, our modal element will be visible */
body.loading .loadingModal {
    display: block;
}

.spinner-child {
    width: 50px;
    height: 50px;
    /* Center vertically and horizontally */
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px; /* apply negative top and left margins to truly center the element */
}



/* Form styles
-------------------------------------------------- */


form .form-group.wp-form-group .wp-form-control.is-invalid {
    background-image: none;
    border-color: red;
    color: red;
}

form .form-group.wp-make-payment-form-group .wp-form-control, form .form-group.wp-make-payment-form-group input.wp-form-control {
    font-size: 15px;
    padding-right: 15px;
}

form .form-group.wp-form-group .wp-form-control {
    /*height: 60px;*/
    /*border: 2px solid #000;*/
    /*border: 1px solid #000;*/
    border: thin solid #CED4DA;
    /*border-radius: 0;*/
    border-radius: 5px;
    color: #495057;
    /*font-size: 18px;*/
}

form .form-group.wp-form-group input {
    -webkit-font-smoothing: auto;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E);
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}


/* Page loader css */
.pageload-overlay {
    position: fixed;
    display: none;
    width: 1px;
    height: 1px;
}

.pageload-overlay.show {
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.5);
}

.pageload-overlay div {
    width: 64px;
    height: 64px;
    top: calc(50vh - 32px);
    left: calc(50vw - 32px);
}

@media(min-width: 768px) {
    .pageload-overlay {
        position: fixed;
        display: none;
        width: 1px;
        height: 1px;
    }
}

.unclickable {
    pointer-events: none;
}


.row-no-margin {
    margin-left: -15px;
    margin-right: -15px;
}

.no-margin {
    margin-left: -15px;
    margin-right: -15px;
}

.no-margin-padding {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 0px;
    padding-right: 0px;
}


.no-margin-bottom {
    margin-bottom: 0rem;
}



.generic-header {
    /*background-color: #e4e4e4;*/
    border-bottom: 1px solid #E3E3E3;
    /*padding: 5px 0;*/
    margin-bottom: 0;
    border-radius: 0;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 15px 0 10px 0;
    min-height: 79px;
}

.field-validation-error {
    color: #f00;
    display: block;
}

input.is-valid {
    border-color: green;
}

input.is-invalid {
    border-color: red;
}

@media (min-width: 575px) {
    #addNewCardContainer {
        margin-bottom: 0px;
    }
}

@media (max-width: 767px) {
    #addNewCardContainer {
        margin-bottom: 30px;
    }
}