/* The Modal (background) */

body {
    background-color: transparent;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    text-align: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

div.checkbox {
    display: flex;
    flex-direction: row-reverse;
    margin: 1em 0;
}

    div.checkbox > label {
        margin: 0 0 0 0.7em;
    }

    div.checkbox > input[type=checkbox] {
    }

#form1 {
    padding: 15px;
}

h1, h2, h3, .h1, .h2, .h3 {
    text-align: center;
}

label {
    display: block;
    margin-bottom: .5rem;
}

span.location label {
    display: inline;
}

.input_label_location, .input_text_location {
    font-size: 0.9em;
}

.input_text_location {
    font-style: italic;
}

.text-center {
    text-align: center !important;
    margin: auto !important;
}

.confirmation-code {
    text-align: center;
    font-size: 2em !important;
    width: 6em !important;
    margin: auto !important;
}

div.row {
    padding: 0.5em 0;
}

input[type=checkbox].form-control {
    width: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
}

input[type="text"], textarea, textarea[name="message"], input[type="email"], input[type="password"], input[type="number"] {
    /*border: 1px solid #ced4da !important;
    width: 98%;*/
}

.div-container.text-center input[type=file] {
    /* clear: both; */
    display: block;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

span.required_field_indicator {
    color: red;
    padding: 5px;
}

.div-container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1000px;
}

    .div-container.text-center h1, .div-container.text-center h2, .div-container.text-center h3 {
        text-align: center;
    }

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.submit-button {
    text-align: center;
}

    .submit-button > button.btn.btn-success {
        font-size: 1.3em;
        margin: 1em;
    }

div#pnForm2 {
    text-align: center;
    margin-top: 4em;
}

div#imaginiPanel {
    width: auto;
}

img.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    height: auto;
    padding: 7px;
}

img.gallery {
    -webkit-box-shadow: 0px 20px 0px -10px #FFFFFF, 0px -20px 0px -10px #FFFFFF, 20px 0px 0px -10px #FFFFFF, -20px 0px 0px -10px #FFFFFF, 0px 0px 0px 2px #777, 5px 5px 15px 5px rgba(0,0,0,0);
    box-shadow: 0px 20px 0px -10px #FFFFFF, 0px -20px 0px -10px #FFFFFF, 20px 0px 0px -10px #FFFFFF, -20px 0px 0px -10px #FFFFFF, 0px 0px 0px 3px #777, 5px 5px 15px 5px rgba(0,0,0,0);
    background: #FFFFFF;
}

    img.gallery:hover {
        -webkit-box-shadow: 0px 20px 0px -10px #FFFFFF, 0px -20px 0px -10px #FFFFFF, 20px 0px 0px -10px #FFFFFF, -20px 0px 0px -10px #FFFFFF, 0px 0px 0px 2px #777, 5px 5px 15px 5px rgba(0,0,0,0);
        box-shadow: 0px 20px 0px -10px #FFFFFF, 0px -20px 0px -10px #FFFFFF, 20px 0px 0px -10px #FFFFFF, -20px 0px 0px -10px #FFFFFF, 0px 0px 0px 3px #777, 5px 5px 15px 5px rgba(0,0,0,0);
        background: #FFFFFF;
    }


.buttonText {
    background-image: url('../imagini/camera.png');
    width: 50px;
    height: 50px;
    background-position: left;
    background-repeat: no-repeat;
    display: block;
    background-clip: content-box;
    background-size: 50px;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

    .btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show > .btn-success.dropdown-toggle {
        color: #fff;
        background-color: #1e7e34;
        border-color: #1c7430;
    }

    .btn-success:hover {
        color: #fff;
        background-color: #218838;
        border-color: #1e7e34;
    }

.btn:hover {
    color: #212529;
    text-decoration: none;
}

.modal {
    z-index: 10;
}

    .modal .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        position: relative;
    }

        .modal .modal-content .close {
            color: #aaa;
            text-align: right;
            font-size: 28px;
            font-weight: bold;
            display: block;
            position: absolute;
            top: 0;
            right: 0.3em;
        }

.display-none {
    display: none !important;
}

.readOnly {
    pointer-events: none;
}

.border-none {
    border: none !important;
}

.font-bold {
    font-weight: bold;
}
