/* 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;
}

/* 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 !important;
    background-color: #1b6ec2 !important;
    border-color: #1861ac !important;
}

/* 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;
    line-height: 60px; /* Vertically center the text there */
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db;
    border-bottom: 16px solid #3498db;
    /*border-right: 16px solid green;
    border-bottom: 16px solid red;*/
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin: auto;
    /*position: absolute;*/
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.topBar {
    height: 50px;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    font-size: 1.25rem;
    text-align: right;
    background-color: rgb(50, 54, 57);
}

.frame {
    height: 100%;
    width: calc(100% - 3px);
    position: absolute;
    top: 0px;
    left: 0;
    /*border: 1px solid black;*/
    overflow-x: hidden;
    overflow-y: scroll;
}

.iframe-toolbar{
    margin-right: 100px;
}

/*.btn {
    background-color: rgb(50, 54, 57);
    border: none;
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    display: none;
    position: absolute;
    top: 15px;
    left: 15px;
}*/

    /* Darker background on mouse-over */
    /*.btn:hover {
        background-color: rgb(169, 169, 169);
    }*/

.frame-container {
    position: relative;
}

.iframe-button {
    display: none;
    position: absolute;
    top: 10px;
    right: 50px;
    background-color: rgb(50, 54, 57);
    border: none;
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
}

/* Only show the button when the parent is hovered: */

.frame-container:hover .iframe-button {
    display: initial;
}

#HoaDonViewer .modal {
    padding: 0 !important;
}

#HoaDonViewer .modal-dialog {
    width: 90%;
    max-width: none;
    height: 97%;
    margin-top: 0.1rem;
}

#HoaDonViewer .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}