﻿@charset "utf-8";
/* CSS Document */

.modal-dialog .btn,
.modal-dialog input[type="button"].btn {
    display: inline-block;
    padding: 8px 15px;
    text-decoration: none;
    text-align: center;
    min-width: 60px;
    position: relative;
    transition: color .1s ease;
    float: right;
    margin-right: 10px;
}

.tabelle_carrello .modal-dialog .label_module,
.tabelle_carrello .modal-dialog .field_module {
    width: 100%;
}

.modal-body .semplice th {
    background-color: var(--cc-marrone);
    color: white;
    padding: 10px;
}

.modal-body .semplice tr:nth-child(1) td {
    font-size: inherit;
}

.modal-dialog.big .btn {
    float: left;
}

    .modal-dialog.big .btn.salva {
        float: right;
        background-color: var(--cc-rosso);
    }


.modal-body .campo_form span {
    margin-left: 10px;
    top: -1px;
    position: relative;
}


.modal-dialog.big .campo_form {
    text-align: left;
}



.modal-dialog.big h4 {
    font-size: 20px;
    color: #333;
    width: 100%;
    display: inline-block;
    clear: both;
    margin: 20px 0px 10px 0px;
}

.modal-dialog.big hr {
    margin: 0px 0px 10px 0px;
    display: inline-block;
}

.modal-dialog .btn-close {
    color: var(--cc-nero);
    font-size: 34px;
    text-decoration: none;
    position: absolute;
    right: 14px;
    top: 11px;
}

    .modal-dialog .btn-close:hover {
        color: #909090;
    }

.modal:before {
    content: "";
    display: none;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.modal:target:before {
    -webkit-transition: -webkit-transform 0.9s ease-out;
    -moz-transition: -moz-transform 0.9s ease-out;
    -o-transition: -o-transform 0.9s ease-out;
    transition: transform 0.9s ease-out;
    z-index: 999;
    background: rgba(0, 0, 0, 0.6);
    display: block;
}

.modal:target + .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    top: 20%;
}

    .modal:target + .modal-dialog.big {
        top: 0%;
    }

.modal-dialog.big {
    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;
    overflow: auto;
    border-radius: 0px;
    border: none;
}

.modal-body .field_module {
    border: 1px solid #ccc;
}

.modal-dialog {
    background: #fefefe;
    border: #333 solid 1px;
    border-radius: 5px;
    /* margin-left: -200px; */
    position: fixed;
    left: 25%;
    top: -100%;
    z-index: 9999999;
    width: 50%;
    -webkit-transform: translate(0, -500%);
    -ms-transform: translate(0, -500%);
    transform: translate(0, -500%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}

.modal-body {
    padding: 20px;
    text-align: center;
}

    .modal-body.modal-login {
        text-align: left;
    }

    .modal-body h3 {
        color: black;
        font-size: 22px;
        line-height: 22px;
        text-align: center;
        margin: 20px 0px;
    }

.modal-header {
    padding: 10px 20px;
    border-bottom: #eee solid 1px;
}

.modal-footer {
    padding: 20px;
    margin-top: 0px;
    text-align: center;
    border-top: #eee solid 1px;
}

.modal-dialog .clear {
}

.modal-footer p {
    font-size: 16px;
    color: #333;
    line-height: 20px;
    font-weight: bold;
}

    .modal-footer p a {
        color: var(--cc-rosso);
        font-weight: bold;
        vertical-align: middle;
    }

.modal-header h3 {
    /* font-weight: bold; */
    font-size: 23px;
    text-align: left;
    margin-bottom: 0px;
    color: var(--cc-marrone);
    margin-top: 0px;
}


@media screen and (max-width:1034px) {
    .modal-footer p a {
        line-height: 34px;
    }

    .modal-dialog {
        left: 17%;
        width: 65%;
    }
}

@media screen and (max-width:875px) {
    .modal-body {
        padding: 40px;
    }

        .modal-body .campo_form span {
            margin-left: 10px;
            top: 0px;
            position: relative;
        }

    .modal-dialog {
        left: 0%;
        top: 0%;
        width: 100%;
    }

    .modal:target + .modal-dialog {
        top: 0%;
    }

    .modal-dialog .btn {
        margin: 10px 0px !important;
        text-align: center !important;
    }

    .modal-dialog {
        border: none;
        -moz-border-radius: 0px;
        border-radius: 0px;
        height: 100%;
        overflow: auto;
    }
}


@media screen and (max-width:600px) {
    .modal-dialog .btn, .modal-dialog input[type="button"].btn {
        /*float: left;*/
    }
}
