﻿.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Personal property roll-up line (Views/Home/Partials/_TaxRecordSearchResultDetail.cshtml).
   The Collector role can open it to see the items behind the summary. The summary is a block,
   so the browser's own disclosure marker is suppressed and .pp-rollup-arrow stands in for it. */
details.pp-rollup > summary { display: block; cursor: pointer; list-style: none; }
details.pp-rollup > summary::-webkit-details-marker { display: none; }
details.pp-rollup > summary:hover { background-color: #f5f5f5; }
details.pp-rollup > summary:focus-visible { outline: 2px solid #337ab7; outline-offset: 1px; }
.pp-rollup-arrow { display: inline-block; width: 1.2em; font-size: 10px; color: #337ab7; transition: transform .15s; }
details.pp-rollup[open] > summary .pp-rollup-arrow { transform: rotate(90deg); }
.pp-rollup-count { color: #777; font-size: 12px; }
.pp-rollup-items { margin: 2px 0 6px 18px; padding-left: 8px; border-left: 3px solid #d9edf7; color: #555; }
@media (prefers-reduced-motion: reduce) { .pp-rollup-arrow { transition: none; } }
