﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

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

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;*/
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}

/*.background-gray {
    background-color: gray;
}*/

/*.modal-lg {
    max-width: 80% !important;
}*/

#OutstandingInvoicesIndexViewModelWrapper h4#Title,
#PaidInvoicesIndexViewModelWrapper h4#Title,
#SavedCreditCardViewModelWrapper h4#Title,
#CyberSourceDataModelWrapper h4#Title,
#PaymentIndexViewModelWrapper h4#Title {
    font-size: 20px;
    color: #444;
    margin: 0;
    background: transparent;
    padding: 0px 15px 0 0px;
    font-weight: 300;
    margin: 15px 0;
}

#OutstandingInvoicesIndexViewModelWrapper table,
#PaidInvoicesIndexViewModelWrapper table,
#SavedCreditCardViewModelWrapper table {
    display: inline-table;
    border: 1px solid #e7e8e8;
    min-height: .01%;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    background: #ffffff;
    border-spacing: 0;
    border-collapse: collapse;
}

#OutstandingInvoicesIndexViewModelWrapper table thead,
#PaidInvoicesIndexViewModelWrapper table thead,
#SavedCreditCardViewModelWrapper table thead {
    background: #f3f3f3;
    color: #6a6a6a;
}

#OutstandingInvoicesIndexViewModelWrapper table thead th,
#PaidInvoicesIndexViewModelWrapper table thead th,
#SavedCreditCardViewModelWrapper table thead th {
    vertical-align: middle !important;
    background: #f3f3f3;
    color: #585b63;
    font-weight: 600;
    height: 60px;
    padding: 0 20px !important;
}

#OutstandingInvoicesIndexViewModelWrapper table tbody th,
#PaidInvoicesIndexViewModelWrapper table tbody th,
#SavedCreditCardViewModelWrapper table tbody th {
    padding: 0 12px !important;
    height: 45px;
    vertical-align: middle !important;
}

#OutstandingInvoicesIndexViewModelWrapper table tbody tr:hover,
#PaidInvoicesIndexViewModelWrapper table tbody tr:hover,
#SavedCreditCardViewModelWrapper table tbody tr:hover {
    background: rgb(229, 241, 249);
}

#OutstandingInvoicesIndexViewModelWrapper .dropdown-menu,
#PaidInvoicesIndexViewModelWrapper .dropdown-menu {
    left: -105px;
    border-top: 3px solid #6900ce;
    border-radius: 0px;
    padding: 0px;
    margin-top: 1px;
    box-shadow: none;
}

#OutstandingInvoicesIndexViewModelWrapper .dropdown-menu:before,
#PaidInvoicesIndexViewModelWrapper .dropdown-menu:before {
    border-color: transparent transparent #6900ce transparent;
    top: -15px;
    right: 40px;
}

#OutstandingInvoicesIndexViewModelWrapper .dropdown-menu > li > a,
#PaidInvoicesIndexViewModelWrapper .dropdown-menu > li > a {
    padding: 6px 20px;
    color: #666666;
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

#OutstandingInvoicesIndexViewModelWrapper .dropdown-menu > li > a:hover,
#PaidInvoicesIndexViewModelWrapper .dropdown-menu > li > a:hover {
    background: #f3f3f3;
}

#OutstandingInvoiceDetailWrapper h1,
#PaidInvoiceDetailWrapper h1 {
    font-size: 22px;
    color: #585b63;
    margin: 0;
    background: transparent;
    padding: 0px 15px 0 0px;
    font-weight: 300;
}

#OutstandingInvoiceDetailWrapper #DetailsHeader,
#PaidInvoiceDetailWrapper #DetailsHeader {
    margin-top: 1em;
}

#PaidInvoiceDetailWrapper #DetailsHeader a {
    float: right;
    margin: 0.75em 0.75em 0 0;
}

#OutstandingInvoiceDetailWrapper #DetailsHeader h3,
#PaidInvoiceDetailWrapper #DetailsHeader h3 { 
    background: #f3f3f3;
    color: #585b63;
    font-weight: 600;
    height: 60px;
    font-size: 16px;
    line-height: 60px;
    padding: 0px 0px 0px 15px;
    border: 1px solid #e8e8e8;
    margin: 0px;
}

#OutstandingInvoiceDetailWrapper #DetailsSection .detailsSection,
#PaidInvoiceDetailWrapper #DetailsSection .detailsSection {
    padding: 1em !important;
    border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

/* Autopay Switch */

.onoffswitch {
    position: relative;
    width: 70px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border-radius: 15px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before,
.onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "ON";
    padding-left: 15px;
    background-color: #6eb842;
    color: #ffffff;
}

.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 12px;
    background-color: #898a8e;
    color: #ffffff;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 22px;
    margin: 4px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 39px;
    border-radius: 15px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

#SavedCreditCardViewModelWrapper h4#Title {
    font-size: 22px;
    color: #585b63;
    margin: 0;
    background: transparent;
    padding: 0px 15px 0 0px;
    font-weight: 300;
    margin-bottom: 15px !important;
}

#SavedCreditCardViewModelWrapper .titleWrapper {
    display: inline-block;
    float: left;
    margin-top: 1em;
}

#SavedCreditCardViewModelWrapper .switchWrapper {
    display: inline-block;
    margin-top: 1em;
}

.currentUser {
}
    .currentUser img {
        border: 1px solid #dedede;
        border-radius: 50%;
        margin-right: 10px;
        padding: 0;
    }

@media only screen and (max-width: 768px) {
    /* Control the navigation menu when in a smaller view */
    .navbar-2 .navbar-toggler {
        left: -12px;
        position: relative;
        top: 14px;
        z-index: 100;
        outline: none;
    }

    .navbar-2 .navbar-collapse {
        background: #ffffff;
        border-bottom: 1px solid #ffffff;
        box-shadow: 0px 5px 4px -5px #bfbdc1;
        position: relative;
        top: -22px;
        z-index: 90;
    }

    .navbar-2 .navbar-nav .nav-item {
        text-align: left;
    }

        .navbar-2 .navbar-nav .nav-item a {
            padding-left: 40px;
        }
}


/* Style when in a frame */
.in-iframe {
    background: transparent;
}

    .in-iframe body {
        background: transparent !important;
        min-height: auto;
    }

    .in-iframe .navbar-2 {
        background: transparent;
    }

        .in-iframe .navbar-2.navbar-fixed-top {
            height: 40px;
        }

        .in-iframe .navbar-2 .container {
            padding: 0;
        }

        .in-iframe .navbar-2 .navbar-nav {
            width: 100%;
        }

        .in-iframe .navbar-2 .nav-item {
            width: 33%;
            text-align: center;
        }

        .in-iframe .navbar-2 .active {
            background: #f3f3f3 !important;
        }

        .in-iframe .navbar-2 .navbar-nav li > a {
            line-height: 20px;
        }

        .in-iframe .navbar-2 .homeLink {
            display: none;
        }

    .in-iframe header, .in-iframe footer {
        display: none !important;
    }

    .in-iframe .body {
        display: block !important;
        margin: 10px 0;
    }

        .in-iframe .body h3 {
        }

    .in-iframe .container {
        width: 100%;
        max-width: 100%;
    }

html.in-iframe .modal-dialog {
    /* use padding instead of margin as the getBoundingClientRect method used by iframe-resizer */
    /* ignore margins. Fortunately the visual effect is the same. */
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

@media only screen and (max-width: 768px) {
    .in-iframe .navbar-2 .navbar-nav .nav-item {
        text-align: left;
        width: auto;
    }
}

.background-color-navigation-menu {
    background: #2bcff3 !important;
}