﻿/* 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. */

body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}


/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}



.btn-toolbar .btn {
    opacity: 0.3;
}

    .btn-toolbar .btn.active {
        opacity: 1;
    }

/* Add top and bottom margin to auto generated Post Code search button */
#getaddress_button {
    margin: 1rem 0 !important;
}


[v-cloak] > * {
    display: none
}

[v-cloak]::before {
    content: "loading…"
}



@media all and (max-width:768px) {
    .calculator tr {
        display: table;
        width: 100%;
    }

    .calculator td {
        display: table-row;
    }
}

/*media images*/
#media-form table img {
    width: 100px;
    height: auto;
}


/* Browser specific (not valid) styles to make preformatted text wrap */

pre {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}



/*bootsrap modal scrollable*/
/* Important part */
.modal-dialog {
    overflow-y: initial !important
}

.modal-body {
    /*max-height: calc(100vh - 200px);*/
    overflow-y: auto;
}

/*full calendar*/
.fc-event-container .fc-content:not([class*="fc-bg"]), .fc-event-container .fc-bg {
    border: black solid 2px;
}


td {
    word-wrap: break-word;
    /*word-break: break-all;*/
    white-space: normal!important;
}

.summary .card {
    width: 100%;
}

.summary .card-body {
    max-height:200px;
    min-height:100px;
    overflow:auto;
}

.summary .card-body img {
    max-height:150px;
    min-height:100px;
}


.summary .panel-body {
    background-color: #b3e6e6;
    color: black;
    font-size: 1.1em
}


/*loading overlay*/
/*https://www.tutorialrepublic.com/faq/how-to-show-loading-spinner-in-jquery.php*/
.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background:  url("//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Phi_fenomeni.gif/50px-Phi_fenomeni.gif") center no-repeat;
    /*background: rgba(255,255,255,0.8) url("loader.gif") center no-repeat;*/
}
/* Turn off scrollbar when body element has the loading class */
body.loading {
    overflow: hidden;
}
    /* Make spinner image visible when body element has the loading class */
    body.loading .overlay {
        display: block;
    }

 .panel-title {
    line-height: 20px;
    font-size: 16px;
}

.dataTables_wrapper {
    width: 100% !important;
}

/*selectize*/
.selectize-dropdown {
    width: 100% !important;
    flex: 0 0 100%;
    max-width: 100%;

}

.summary{
    margin-bottom:2em;
}
.summary .card-body {
    /*max-height: 20vh;*/
    overflow: auto;
}

