﻿/* BARRA DE NEWSLETTER FLUTUANTE */
#newsbar a#closeNewsbar {
    float: right;
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
}

#newsbar #closeNewsbar span {
    font-style: normal;
    font-size: 20px;
    font-family: Arial;
}

#newsbar {
    min-height: 90px;
    position: fixed;
    bottom: 0px;
    transition: all .3s;
    font-family: 'Source Sans Pro', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 100;
    display: none;
}

    #newsbar span {
        font-size: 17px;
        font-style: italic;
        color: #ffffff;
        font-family: 'Source Sans Pro', sans-serif;
        text-align: center;
    }

    #newsbar strong {
        font-weight: bold;
    }

    #newsbar .content {
        width: 1246px;
        min-height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

#formnewsbar, #newsbarSuccess, #newsbarError {
    width: 100%;
    min-height: 90px;
    display: flex;
    padding: 20px 0px;
    box-sizing: border-box;
}

#newsbarSuccess, #newsbarError {
    display: none;
}

#formnewsbar {
    background-color: #59595b;
}

#newsbarSuccess {
    background-color: #325d3d;
}

#newsbarError {
    background-color: #7e3b3c;
}

#formnewsbar form label {
    display: none !important;
}

#formnewsbar form {
    margin-left: 20px;
}

#formnewsbar input[type="text"] {
    width: 420px;
    height: 43px;
    line-height: 43px;
    border: 1px solid #aaaaaa;
    padding: 0px 15px;
    font-size: 16px;
    font-weight: 300;
    margin-right: 10px;
    box-sizing: border-box;
    font-style: italic;
    outline: none;
    font-family: 'Source Sans Pro', sans-serif;
    float: left;
}

    #formnewsbar input[type="text"].error {
        border-color: #f35757 !important;
        color: #ff5454;
    }



#formnewsbar input[type="submit"] {
    width: 123px;
    height: 43px;
    background-color: #19497a;
    border-radius: 3px;
    border: none;
    font-size: 17px;
    font-weight: bold;
    color: #ffffff;
    box-sizing: border-box;
    transition: all .3s;
    font-family: 'Source Sans Pro', sans-serif;
    transition: all .2s ease-in-out;
}

    #formnewsbar input[type="submit"].loading {
        font-size: 0px;
        color: transparent;
        background-image: url(/Img/ajax-loader-azul.gif);
        background-repeat: no-repeat;
        background-position: center;
    }

    #formnewsbar input[type="submit"]:focus:not(:disabled), #formnewsbar input[type="submit"]:hover:not(:disabled) {
        cursor: pointer;
        background-color: #123456;
    }

    #formnewsbar input[type="submit"]:disabled {
        opacity: 0.8;
        cursor: not-allowed;
    }


@media (max-width: 1245px) {
    #newsbar .content {
        width: 90%;
        flex-direction: column;
    }

    #formnewsbar form {
        margin-top: 15px;
        margin-left: 0px;
    }
}

@media (max-width: 742px) {
    #formnewsbar input[type="text"] {
        width: 260px;
    }
}

@media (max-width: 450px) {
    #formnewsbar input[type="text"] {
        width: 300px;
        margin: 0px;
    }

    #formnewsbar input[type="submit"] {
        float: right;
        margin-top: 10px;
        width: 100%;
    }

    #formnewsbar form {
        max-width: 300px;
    }
}
/* BARRA DE NEWSLETTER FLUTUANTE - FIM */
