/*
Copyright 2021 Netsyms Technologies.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*
    Created on : Jun 27, 2021, 7:34:10 PM
    Author     : Skylar Ittner
*/

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

html {
    background-image: linear-gradient(151deg, rgba(0,0,0,1) 0%, rgba(46,46,46,1) 38%, rgba(46,46,46,1) 58%, rgba(15,14,14,1) 100%);
}

body {
    opacity: 0;
}

body.load {
    opacity: 1;
    transition: opacity 0.25s ease-in;
}


#page-canvas-container {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    overflow: auto;
}


#page-canvas-container .page-canvas {
    margin: 0.5em;
    box-shadow: inset 1px 1px rgba(255, 255, 255, 0.2), inset -1px -1px rgba(255, 255, 255, 0.1), 1px 3px 24px -1px rgba(0, 0, 0, 0.15);
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0);
}

#page-canvas-container .page-canvas.active {
    margin: 0.5em;
    box-shadow: inset 1px 1px rgba(255, 255, 255, 0.7), inset -1px -1px rgba(255, 255, 255, 0.6), 1px 3px 24px -1px rgba(0, 0, 0, 0.55);
    height: 100%;
    border: 2px solid var(--bs-green);
}

#page-canvas-container #placementguidebox {
    opacity: 0.5;
    position: absolute;
    float: left;
    padding: 0;
    pointer-events: none;
}

#signature_pad {
    border: 1px solid black;
}


.signature-wrapper {
    background-color: transparent;
    background-image: linear-gradient(125deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2) 70%);
    box-shadow: inset 1px 1px rgba(255, 255, 255, 0.2), inset -1px -1px rgba(255, 255, 255, 0.1), 1px 3px 24px -1px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    position: relative;
    width: 400px;
    height: 200px;
    margin: 0 auto;
    /* fix bug on iOS where image sticks out right side and makes entire page scroll horiz. */
    overflow: hidden;
    user-select: none;
}

.signature-wrapper img {
    position: absolute;
    bottom: 0;
    left: 0;
}

.signature-wrapper canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 400px;
    height: 200px;
}

#toolbar-bin .card {
    margin: 0.25rem;
}

#page-canvas-container-card {
    margin: 0.25rem;
}

@media (min-width: 800px) and (max-width: 991px) {
    .modal-dialog.modal-lg {
        max-width: 700px;
    }
}
@media (min-width: 1600px) {
    .modal-dialog.modal-xxl {
        max-width: 90vw;
    }
}