/*
 * Leaflet.BigImage CSS
 */

.bigimage-unicode-icon {
    font-size: 18px;
    font-weight: bold;
    display: block;
    text-decoration: none;
    color: #333;
    padding: 5px;
    border-radius: 2px;
}

.bigimage-unicode-icon:hover {
    background-color: #f4f4f4;
}

.bigimage-unicode-icon-disable {
    opacity: 0.5;
    pointer-events: none;
}

#print-container {
    background: white;
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

#print-params {
    display: none;
    background: white;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 10px;
    margin-top: 1px;
    width: 200px;
    box-sizing: border-box;
}

#print-container.leaflet-control-layers-expanded #print-params {
    display: block;
}

#print-params h6 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.close {
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
}

.close:hover {
    color: #333;
}

#print-params input,
#print-params select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-bottom: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

#print-params label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #666;
}

.download-button {
    padding: 8px;
    background: #5cb85c;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.bigimage-unicode-icon-disable {
    display: none !important;
}

.download-button:hover {
    background: #4cae4c;
}

.print-disabled {
    opacity: 0.6;
    pointer-events: none;
}

#print-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 30px;
    width: 30px;
    margin: -15px 0 0 -15px;
    border: 4px rgb(167, 164, 171) solid;
    border-top: 4px #52006d solid;
    border-radius: 50%;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

#print-loading.show {
    display: block;
}
