#advertise-splash {
    visibility: hidden;
    border-radius: 0rem !important;
    /*width:50% !important;
    height:80% !important;*/
}

#advertise-splash.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s;
}


    .align-center{ text-align:center;}
    .align-content{
        align-content:center;
        text-align:center;
    }
.center {
    margin: auto;
    /*width: 75%;*/
    /*padding: 10px;*/
    position: fixed;
    top: 80px;
    /*left: 0px;*/
    width: auto;
    height: auto;
}
.center-screen {
    margin: auto;
    top: 60px;
    /*left: 160px;*/
    position: fixed;
}

#x-closebutton-advertise {
    position: absolute;
    background: white;
    color: gray;
    top: 3px;
    right: 3px;
    font-size: 10px;
    font-weight: 500;
    border: 1px solid;
    border-radius: 4px !important;
}
.img-post-advertise-splash {
    width: 750px;
}
.card-body-splash {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

@media screen and (max-width: 600px) {
    .img-post-advertise-splash {
        height: 50% !important;
        width: 100% !important;
    }

    .center {
        margin: auto;
        /*width: 100%;*/
        padding: 10px;
        /*left: 0px !important;*/
    }
    /*.center-screen {
            width: 91%;
            height: 72%;
           
            bottom: 0px;
            top: 284px;
            left: 15px;
            position: absolute;
        }*/
    .btn {
        margin-bottom: 5px;
        min-width: 222px;
    }
    .h1, h1, .h2, h2, .h3, h3 {
        font-size: 1.5rem;
    }
}

    @media screen and (min-width: 600px) {
    }
/* ----------- samsung landscape ----------- */
@media only screen and (min-device-width: 480px) and (max-device-width: 640px) and (orientation: landscape) {
    .center-screen {
        margin: auto;
    }

}
/* ----------- Pixel 2 ----------- */
/* Portrait */
@media screen and (device-width: 412px) and (device-height: 823px) and (-webkit-device-pixel-ratio: 3.5) and (orientation: portrait) {
    .center-screen {
        margin: auto;
    }
}

/* Landscape */
@media screen and (device-width: 411px) and (device-height: 731px) and (-webkit-device-pixel-ratio: 3.5) and (orientation: landscape) {
    .center-screen {
        margin: auto;
    }
}

/* Target Portrait and Landscape */
@media screen and (device-width: 412px) and (device-height: 823px) and (-webkit-device-pixel-ratio: 3.5) and (orientation: landscape) {
    .center-screen {
        margin: auto;
    }
}

/* ----------- iPad only ----------- */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    .img-post-advertise-splash {
        /*width: 500px !important;*/
        width: auto;
    }
    .center-screen {
        margin: auto;
    }


}
/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
    .center-screen {
        margin: auto;
    }

}