﻿/*************************/
/* per popup form overlay*/
/*************************/
.modal {
    background-color: #fff;
    display: none;
    width: 350px;
    padding: 15px;
    text-align: left;
    border: 2px solid #333;
    /*opacity:0.8;*/
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0 0 50px #ccc;
    -webkit-box-shadow: 0 0 50px #ccc;
}

    .modal h2 {
        background: url(../images/noteedit36.png) 0 50% no-repeat;
        margin: 0px;
        padding: 10px 0 10px 45px;
        border-bottom: 1px solid #333;
        font-size: 20px;
    }

/* per ajax load */
.apple_overlay {
    display: none;
    background-color: #F0F0F0;
    width: 640px;
    padding: 15px;
    text-align: left;
    border: 2px solid #333;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0 0 50px #ccc;
    -webkit-box-shadow: 0 0 50px #ccc;
}

    .apple_overlay .close {
        background-image: url(../images/close-window-24.png);
        position: absolute;
        right: 5px;
        top: 5px;
        cursor: pointer;
        height: 35px;
        width: 35px;
    }

/* 	the overlayed element 
	without dimensions
*/
.modal_nodim {
    display: none;
    background-color: #fdfdfd;
    text-align: left;
    /*
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius: 6px;
    */
    box-shadow: 0 0 50px #333;
    -moz-box-shadow: 0 0 50px #333;
    -webkit-box-shadow: 0 0 50px #333;
    left: 50%;
    margin-left: -325px; /* negative half of width above */
    margin-right: -325px; /* negative half of height above */
}

@media all and (max-width:767px) {
    .modal_nodim {
        top: 45px !important;
        left: 0 !important;
        bottom: 0;
        right: 0;
        border: 0;
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

.contentWrap {
    min-height: 400px;
    overflow-y: auto;
}

@media all and (min-width:768px) {
    .contentWrap {
        width: 650px;
    }
}

.contentWrap button {
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #aaa;
    padding: 5px;
    text-align: center;
    cursor: pointer;
    margin: 3px;
    min-width: 80px;
    max-width: 150px;
}

    .contentWrap button:hover {
        background-color: #ddd;
    }

/* default close button positioned on upper right corner */
.modal_nodim .close, .modal_nodim .close2 {
    background-image: url(../images/close-window-24.png);
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    height: 24px;
    width: 24px;
    opacity: 1 !important;
}

@media all and (max-width:767px) {
    .modal_nodim .close, .modal_nodim .close2 {
        background-image: url(../images/close-window-24.png);
        position: absolute;
        right: 15px;
        top: 20px;
        cursor: pointer;
        height: 24px;
        width: 24px;
    }
}

.popform input[type="text"], .popform input[type="password"], .popform textarea, .popform select {
    border: solid 1px #DDD;
    background-color: #F0F0F0;
}

/**************************/
/* styling dei popup      */
/**************************/
.pop-title {
    background-position: top left;
    background-repeat: no-repeat;
    padding-left: 60px;
    padding-right: 20px;
    min-height: 35px;
    font-weight: bold;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 5px;
    border-bottom: 1px solid #000;
    background-size: contain;
}

.popTitle {
    padding: 10px 35px 10px 10px;
    font-weight: bold;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 5px;
    background: #2f4858;
    color: #fff;
}

.popContent {
    padding: 10px;
    max-height: 550px;
    overflow-y: auto;
}

.pop-title-working {
    background-image: url("../images/maintenance48.png");
}

.pop-title-editing {
    background-image: url("../images/ordering48.png");
}

.pop-title-prelievo {
    background-image: url("../images/handle-icon-48.png");
}

.pop-title-warning {
    background-image: url("../images/warning-icon-48.png");
}

.pop-title-print {
    background-image: url("../images/print48.png");
}

.pop-title-attestato {
    background-image: url("../images/attestato48.png");
}

.pop-title-userimport {
    background-image: url("/..images/noniscritto48.png");
}

.pop-info-pedice {
    text-align: center;
    border-top: 1px solid #000;
    font-style: italic;
}

.pop-cerca {
    padding-bottom: 5px;
    text-align: right;
    border-bottom: 1px solid #ddd;
}

.pop-alert {
    text-align: center;
    height: 73px;
    padding-top: 63px;
}

.pop-content {
    padding: 15px;
}

/* Confirm Box*/
#confirmExpose {
    position: absolute;
    display: none;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    opacity: 0.5;
    z-index: 10001;
    background-color: rgb(112, 112, 112);
}

#confirmBox {
    display: none;
    background-color: #FFF;
    border-radius: 5px;
    border: 5px solid #553e4c;
    position: fixed;
    width: 450px;
    left: 50%;
    margin-left: -225px;
    padding: 18px 8px;
    box-sizing: border-box;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10002;
}

    #confirmBox button {
        background-color: #ccc;
        display: inline-block;
        border-radius: 3px;
        border: 1px solid #aaa;
        padding: 2px;
        text-align: center;
        width: 80px;
        cursor: pointer;
    }

        #confirmBox button:hover {
            background-color: #ddd;
        }

    #confirmBox .confirmMsg {
        text-align: center;
        margin-bottom: 8px;
    }


/* form con presentation SIPRA*/
.popContent .row {
    margin-bottom: 15px
}

.popContent .col-titolo {
    margin-bottom: 5px;
}

    .popContent .col-titolo label {
        font-weight: bold;
    }

.popContent .long, .popContent .medium {
    width: 100%
}

.popContent .short {
    width: 50%
}

@media only screen and (min-width: 768px) {
    .popContent .long {
        width: 100%
    }

    .popContent .medium {
        width: 50%
    }

    .popContent .short {
        width: 25%
    }
}

.popContent input[type="text"], .popContent input[type="password"], .popContent textarea, .popContent select {
    border: solid 1px #999;
    background-color: #fff;
    padding: 5px 0px 5px 5px;
    width: 98.5%;
    margin: 5px 0 0 0;
}

/* SELECT2 */
.popContent .select2-container {
    margin: 4px 0 0 0;
}

.popContent .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 3px 14px;
}
