﻿#popup .modal-header-primary {
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #0181d4;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

    #popup .modal-header-primary h4 {
        color: #ffffff;
    }

#popup .modal-footer {
    background: #fff;
}

#popup .modal-body {
    padding: 20px;
    background: #fff;
}

.modal {
    z-index: 99999 !important;
}

.imgpopup {
    max-width: 450px;
    width: 100%;
    height: auto;
    margin: auto;
    display: block;
    border-radius: 35px;
}


@media (min-width: 768px) {
    .modal-dialog {
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%) !important;
        transform: translate(-50%, -50%) !important;
    }
}

#popup .modal-header-primary {
    border-bottom: none !important;
    background-color: transparent !important;
}

#popup .modal-header .close {
    position: absolute;
    width: 48px;
    height: 48px;
    top: 0;
    right: 0;
    background: #fff;
    border-radius: 100%;
    box-shadow: 0 1px 5px rgba(33, 33, 33, 0.4);
    transition: 160ms all linear;
    cursor: pointer;
    color: #707880;
    z-index: 999;
    font-weight: 300;
    font-size: 40px;
    margin-top: 15px;
    margin-right: 55px;
    opacity: 1;
    font-family: initial;
    background: #439053;
    color: #fff;
    margin-right: 0;
}

    #popup .modal-header .close:hover {
        opacity: 0.8;
    }

#popup .modal-header .close {
    padding: 0;
    outline: none;
}

#popup .modal-content {
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none !important;
    max-width: 450px;
    margin: auto;
}

#popup .modal-body {
    z-index: 99;
    background: transparent !important;
}

.link-popup {
    /*color: #3c60ac*/
    color: #fff !important;
    opacity: 1 !important;
}

    .link-popup:hover {
        text-decoration: underline;
    }

    .link-popup:hover, .link-popup:focus, .link-popup:active {
        /*color: #3c60ac;*/
        color: #3c60ac;
        opacity: 0.8;
    }

.titulo-popup {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}
