.popup_tooltip {
    position: absolute;
    margin-top: 55px;
    z-index: 100;
    border: solid 1px #ccc;
    background: #fff;
    display: none;
    min-width: 250px;
    max-width: 400px;
    height: auto;
    width: auto;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 2px 2px 20px 0px rgba(111, 111, 111, 0.4)
}

.scidoo_tooltip.popup_tooltip {
    max-width: 800px;
}

.popup_tooltip .riga_radio {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 13px;
}

.popup_tooltip.riga_radio input[type=radio] {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-top: 0;
}

.popup_tooltip .riga_radio.errore_riga {
    opacity: .9;
    color: #cb0003;
}


/*
div.popup_tooltip:after {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 5%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-bottom: 8px solid #fff;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

div.popup_tooltip:before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 5%;
    margin-right: -2px;
    width: 0;
    height: 0;
    border-bottom: 10px solid #ccc;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}
*/

div.popup_tooltip:not(.modptop):not(.modpleft)::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 5%;
    margin-left: 2px;
    width: 0;
    height: 0;
    border-bottom: 8px solid #fff;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

div.popup_tooltip:not(.modptop):not(.modpleft)::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 5%;
    width: 0;
    height: 0;
    border-bottom: 10px solid #ccc;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}

div.popup_tooltip.modptop:not(.modpleft)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 5%;
    margin-left: 2px;
    width: 0;
    height: 0;
    border-top: 8px solid #fff;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

div.popup_tooltip.modptop:not(.modpleft)::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 5%;
    width: 0;
    height: 0;
    border-top: 10px solid #ccc;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}

div.popup_tooltip.modpleft:not(.modptop)::after {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 5%;
    margin-right: 2px;
    width: 0;
    height: 0;
    border-bottom: 8px solid #fff;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

div.popup_tooltip.modpleft:not(.modptop)::before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 5%;
    width: 0;
    height: 0;
    border-bottom: 10px solid #ccc;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}

div.popup_tooltip.modpleft.modptop::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 5%;
    margin-right: 2px;
    width: 0;
    height: 0;
    border-top: 8px solid #fff;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

div.popup_tooltip.modpleft.modptop::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 5%;
    width: 0;
    height: 0;
    border-top: 10px solid #ccc;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}