﻿.fade
{
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

    .fade.in
    {
        opacity: 1;
    }

.modal
{
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

    .modal.fade .modal-dialog
    {
        -webkit-transform: translate(0, -25%);
        -ms-transform: translate(0, -25%);
        -o-transform: translate(0, -25%);
        transform: translate(0, -25%);
        -webkit-transition: -webkit-transform 0.3s ease-out;
        -o-transition: -o-transform 0.3s ease-out;
        transition: transform 0.3s ease-out;
    }

    .modal.in .modal-dialog
    {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }


.modal-open .modal
{
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog90 {
    position: relative;
    width: 90%;
    min-height: 40%;
    margin: 20px auto;
}

.modal-dialog80
{
    position: relative;
    width: 80%;
    min-height: 40%;
    margin: 20px auto;
}

.modal-dialog60
{
    position: relative;
    width: 60%;
    min-height: 40%;
    margin: 20px auto;
}

.modal-dialog40
{
    position: relative;
    width: 40%;
    min-height: 40%;
    margin: 20px auto;
}

.modal-content
{
    position: relative;
    background-color: #f5f5f5;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,0.5);
    box-shadow: 0 3px 9px rgba(0,0,0,0.5);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
    padding: 0;
}

.modal-backdrop
{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

    .modal-backdrop.fade
    {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    .modal-backdrop.in
    {
        opacity: .5;
        filter: alpha(opacity=50);
    }

.modal-body
{
    position: relative;
    padding: 10px 0 0 0;
}

.modal-scrollbar-measure
{
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

.modal-close
{
    position: absolute;
    right: -10px;
    top: -10px;
    font-size: 20px;
    font-weight: bold;
    line-height: 25px;
    width: 26px;
    height: 26px;
    text-align: center;
    color: rgb(120, 120, 120);
    background-color: #e8e8e8;
    z-index: 9999;
    border-radius: 50%;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 1px 2px rgba(0,0,0,0.5);
    cursor: pointer;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 1);
}

    .modal-close:hover, .modal-close:focus
    {
        color: #313534;
        text-decoration: none;
    }

.modal-open
{
    overflow: hidden;
}

.Modal_Messaggi
{
    color: #ffffff;
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    position: absolute;
    top: -36px;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-weight: 700;
    text-align: center;
    z-index: 1;
    background-color: rgba(33, 114, 161, 0.80);
    line-height: 40px;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 1);
    text-transform: capitalize;
}
