﻿.alert {
    /*visibility: hidden;*/
    min-width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    bottom: 0px;
    
    visibility: visible;
    -webkit-animation: fadein 1.25s;
    animation: fadein 1.25s;
}

    .alert p {
        font-size: .75rem;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .alert.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

    @media only screen and (min-width: 650px){
        .alert p{
            font-size: 1rem;
            margin-left: 5vw;
            min-width: 0;
            width: 80vw;
            
        }
    }
    @media only screen and (min-width: 1000px){
        .alert p {
            font-size: 1.15rem;
        }
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 30px;
        opacity: 0;
    }

    to {
        bottom: 0px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.alert a.close {
    -o-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -webkit-border-radius: 1rem;
    border-radius: 1rem;
    border: 1px solid #fff;
    display: block;
    font-size: .7rem;
    padding: 0px 8px;
    position: absolute;
    right: 5px;
    text-decoration: none;
    top: 5px;
}


.vertical-line-right {
    padding-right: 10px;
    border-right: 1px solid #ccc;
}



.center-vertical {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -100px;
}