/* ----------- topfaida grid 1 -----------*/

#topfaida-container {
    display: grid;
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "tf-header tf-header" "tf-notice tf-notice " "tf-main tf-main" "tf-footer tf-footer";
}

#tf-header {
    grid-area: tf-header;
}

#tf-notice {
    grid-area: tf-notice;
}

#tf-main {
    grid-area: tf-main;
    padding: 20px;
    margin: 10px 0;
    position: relative;
}

#tf-footer {
    grid-area: tf-footer;
}

@media only screen and (max-width: 550px) {
    #topfaida-container {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto auto;
        grid-template-areas: "tf-header" "tf-notice" "tf-main" "tf-footer";
        padding: 0;
    }
}


/* ----------- topfaida grid 1 -----------*/


/* ----------- topfaida Main 1 -----------*/

.topfaida-pro-main {
    padding: 30px 0;
    position: relative;
}


/* ----------- topfaida Main 1 -----------*/


/* ----------- topfaida Grid 1 -----------*/

.topfaida-pro-grid-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1em;
    padding: 20px 0;
}

.topfaida-pro-grid-1-card:nth-child(1) {
    grid-column: 1 / -2;
    background: rgba(200, 200, 255, 0.3);
    border: 1px solid #0000003b;
}

.topfaida-pro-grid-1-card {
    padding: 1em;
    background: #fff;
    box-shadow: var(--tfpro-shadow-3d);
    border-radius: 15px;
    position: relative;
    z-index: 1;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.topfaida-pro-grid-1-card-image img{
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.topfaida-pro-grid-1-card.sticky::before {
    position: absolute;
    top: 5px;
    right: 8px;
    content: "\f08d";
    font-family: var(--tfpro-icon);
    rotate: 30deg;
    color: #20d100;
    font-size: 22px;
}

.topfaida-pro-grid-1-card:nth-child(1) img {
    width: 100%;
    height: auto;
}

.topfaida-pro-grid-1-card-content p {
    padding: 10px 0 0 0;
    color: #0000006b;
    font-size: 15px;
}

.topfaida-pro-grid-1-card-meta {
    font-size: 12px;
    padding: 10px 5px;
    color: #00000073;
    width: 100%;
}

.topfaida-pro-grid-1-card-title {
    font-size: 20px;
    padding: 8px 0;
}

.topfaida-pro-grid-1-card-meta a {
    color: #0043ffb3;
}


/* ----------- topfaida Grid 1 -----------*/




/* ----------- topfaida Grid 2 -----------*/
.topfaida-pro-grid-2 {
    margin: 15px 0;
}
.topfaida-pro-grid-2-card{
    display: flex;
    box-shadow: var(--tfpro-shadow-dark);
    border-radius: 20px;
    margin: 10px 0;
    padding: 10px;
    height: auto;
    background: #ffffff;
    position: relative;
    z-index: 1;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.topfaida-pro-grid-2-card.sticky{
    display: flex !important;
}

.topfaida-pro-grid-2-card.sticky::before {
    position: absolute;
    top: 10px;
    right: 15px;
    content: "\f08d";
    font-family: var(--tfpro-icon);
    rotate: 30deg;
    color: #20d100;
}

.topfaida-pro-grid-2-card div{
    float: left;
    
}
.topfaida-pro-grid-2-image{
    width: 40%;
}
.topfaida-pro-grid-2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.topfaida-pro-grid-2-content{
    width: 100%;
    padding-left: 10px;
}
.topfaida-pro-grid-2-content h2{
    font-size: 1.3rem;
}
.topfaida-pro-grid-2-content p,
.topfaida-pro-grid-2-content span{
    font-size: 13px;
    padding: 5px 0;
}
.topfaida-pro-grid-2-content span{
    background: #e7e7e7;
    margin: 2px;
    padding: 2px 7px;
    border-radius: 15px;
}
/* ----------- topfaida Grid 2 -----------*/






/* ----------- topfaida Grid 3 -----------*/
.topfaida-pro-grid-3{
    max-width: 100%;
    margin: 10px auto;
    padding: 10px;
    display: grid;
    grid-gap: 25px;
    grid-template-columns: repeat(5, 1fr); /* change */
}
.topfaida-pro-grid-3-card{
    box-shadow: var(--tfpro-shadow-dark);
    border-radius: 20px;
    margin: 10px 0;
    padding: 10px;
    background: #ffffff;
    height: auto;
    position: relative;
    z-index: 1;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.topfaida-pro-grid-3-top img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}
.topfaida-pro-grid-3-content{
    width: 100%;
    padding-left: 10px;
}
.topfaida-pro-grid-3-content h2{
    font-size: 1rem;
    padding: 6px 0;
}

.topfaida-pro-grid-3-content span{
    font-size: 12px;
    padding: 5px 0;
}

@media only screen and (max-width: 550px) {
    .topfaida-pro-grid-3{
        grid-gap: 15px;
        grid-template-columns: repeat(2, 1fr); /* change */
    }
}
@media all and (min-width: 550px) and (max-width: 1000px) {
    .topfaida-pro-grid-3{
        /* grid-template-columns: repeat(4, 1fr); */
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
@media all and (min-width: 1000px) {
    .topfaida-pro-grid-3{
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        /*grid-template-columns: repeat(6, 1fr);*/ /* change */
    }
}
/* ----------- topfaida Grid 3 -----------*/






/* ----------- topfaida Grid 4 -----------*/
.topfaida-pro-grid-4{
    max-width: 100%;
    margin: 10px auto;
    padding: 10px;
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(6, 1fr); /* change */
}
.topfaida-pro-grid-4-card{
    box-shadow: var(--tfpro-shadow-dark);
    border-radius: 20px;
    margin: 10px 0;
    padding: 10px;
    height: auto;
    position: relative;
    z-index: 1;
    background: #ffffff;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
.topfaida-pro-grid-4-top{
    display: flex;
}
.topfaida-pro-grid-4-top img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.topfaida-pro-grid-4-content{
    width: 100%;
    padding-left: 10px;
}
.topfaida-pro-grid-4-top h2{
    font-size: 1rem;
    padding: 6px 3px;
}

.topfaida-pro-grid-4-content span{
    font-size: 12px;
    padding: 5px 0;
}

@media only screen and (max-width: 550px) {
    .topfaida-pro-grid-4{
        grid-gap: 15px;
        grid-template-columns: repeat(2, 1fr); /* change */
    }
}
@media all and (min-width: 550px) and (max-width: 1000px) {
    .topfaida-pro-grid-4{
        grid-template-columns: repeat(4, 1fr); /* change */
    }
}
@media all and (min-width: 1000px) {
    .topfaida-pro-grid-4{
        grid-template-columns: repeat(6, 1fr); /* change */
    }
}
/* ----------- topfaida Grid 4 -----------*/






/* ----------- topfaida Grid 5 -----------*/

.topfaida-pro-grid-5 {
    margin: 15px 0;
}
.topfaida-pro-grid-5-card{
    display: flex;
    box-shadow: var(--tfpro-shadow-dark);
    border-radius: 20px;
    margin: 10px 0;
    padding: 10px;
    background-color: #fff;
    height: auto;
    position: relative;
    z-index: 1;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
.topfaida-pro-grid-5-card div{
    float: left;
    
}
.topfaida-pro-grid-5-image{
    width: 40%;
}
.topfaida-pro-grid-5-image img {
    width: 100%;
    height: 100%;
    max-width: 260px;
    max-height: 260px;
    object-fit: contain;
    border-radius: 15px;
}
.topfaida-pro-grid-5-content{
    width: 100%;
    padding-left: 10px;
}
.topfaida-pro-grid-5-content h2{
    font-size: 1.3rem;
}
.topfaida-pro-grid-5-content p,
.topfaida-pro-grid-5-content span{
    font-size: 13px;
    padding: 5px 0;
}
.topfaida-pro-grid-5-content span{
    background: #e7e7e7;
    margin: 2px;
    padding: 2px 7px;
    border-radius: 15px;
}
@media only screen and (max-width: 550px) {
    .topfaida-pro-grid-5-card {
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
    }
}
/* ----------- topfaida Grid 5 -----------*/





/* ----------- topfaida Grid 6 -----------*/
.topfaida-pro-grid-6{
    display: grid;
    grid-gap: 16px;
    padding: 10px;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr)) !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px,1fr);
    margin: 15px 0;
}

.topfaida-pro-grid-6-card{
    background: #ffffff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: var(--tfpro-shadow-light);
    position: relative;
    z-index: 1;
}
.topfaida-pro-grid-6-top{
    height: 100px;
}
.topfaida-pro-grid-6-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.topfaida-pro-grid-6-content{
    width: 100%;
}
.topfaida-pro-grid-6-content h2{
    font-size: 13px !important;
    padding: 6px 3px;
}

.topfaida-pro-grid-6-content span{
    font-size: 12px;
    padding: 5px 0;
}

@media only screen and (max-width: 550px) {
    .topfaida-pro-grid-6{
        grid-gap: 15px;
        grid-template-columns: repeat(2, 1fr); /* change */
    }
}
/* ----------- topfaida Grid 6 -----------*/

/* ----------- topfaida Navigation button 1 -----------*/

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links .nav-previous a {
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: var(--tfpro-shadow-dark);
    display: inline-block;
    margin: 5px 0;
    color: #1b22ff87;
    font-size: 13px;
}

.nav-links .nav-previous a,
.nav-links .nav-next a {
    background: var(--tfpro-set-b1);
    color: var(--tfpro-set-c1);
}

.nav-links .nav-previous a::before {
    content: "\f060";
    font-family: var(--tfpro-icon);
    margin: 0 10px 0 0;
}

.nav-links .nav-next a::after {
    content: "\f061";
    font-family: var(--tfpro-icon);
    margin: 0 0 0 10px;
}


/* ----------- topfaida Navigation button 1 -----------*/










/* ----------- topfaida Single post 1 -----------*/

.topfaida-pro-single-page, 
.topfaida-pro-single-post {
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--tfpro-shadow-light);
}




/* ******************* Breadcrumb ************/
.topfaida-pro-breadcrumb {
    list-style-type: none;
    font-size: 13px;
    margin: -10px 0 5px 0;
    padding: 5px 0 0 0;
    align-items: center;
}
.topfaida-pro-breadcrumb li {
    padding: 5px 2px;
    display: inline;
}


/* ******************* Post Header ************/
.topfaida-pro-post-thumbnail img{
    width: 100%;
    overflow: hidden;
    object-fit: cover;
    box-shadow: var(--tfpro-shadow-light);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

/* ******************* Post TOC ************/
.topfaida-pro-table-of-content {
    background-color: #e9e9e9;
    border-radius: 10px;
    box-shadow: var(--tfpro-shadow-light);
    padding: 10px;
    margin: 10px 0;
    display: block;
}
.topfaida-pro-table-of-content h2 {
    border: none !important;
    margin: 0 !important;
    display: inline;
    font-size: 25px;
}
.topfaida-pro-table-of-content ul{
    list-style: none;
}
.topfaida-pro-table-of-content #topfaida-pro-toggle-toc {
    display: inline;
    float: right;
    margin-left: 25px;
}
.topfaida-pro-table-of-content li {
    margin: 0;
}

.topfaida-pro-table-of-content a {
    font-size: 15px;
    color: #3b45bd;
}
.topfaida-pro-table-of-content .heading-level-3,
.topfaida-pro-table-of-content .heading-level-4,
.topfaida-pro-table-of-content .heading-level-5,
.topfaida-pro-table-of-content .heading-level-6 {
    margin-left: 2em;
}




/* ----------- topfaida Single post 1 -----------*/













/* ----------- topfaida Sidebar 1 -----------*/

.topfaida-pro-sidebar .widget {
    padding: 10px;
    border-radius: 10px;
    box-shadow: var(--tfpro-shadow-light);
    margin: 0 0 4.5em;
    background: var(--tfpro-bg);
    color: var(--tfpro-clr);
    position: relative;
    z-index: 1;
}

.topfaida-pro-sidebar .widget h2,
.woocommerce-shop .wp-block-heading {
    font-size: 25px;
    box-shadow: var(--tfpro-shadow-dark);
    padding: 3px 10px;
    margin: -30px 0 30px 0;
    border-radius: 10px;
    background: var(--tfpro-set-b2);
    color: var(--tfpro-set-c2);

}
.topfaida-pro-sidebar ol,
.topfaida-pro-sidebar ul {
    list-style: none;
    padding-left: 10px;
    margin-left: 1.5em;
}

.topfaida-pro-sidebar li {
    padding: 5px 0;
    border-bottom: 1px solid #00000017;
}
.topfaida-pro-sidebar li a {
    color: #011740c9 !important;
}
.topfaida-pro-sidebar li:before {
    content: "\f0a4";
    font-family: var(--tfpro-icon);
    display: inline-block;
    margin-left: -1.3em;
    width: 1.3em;
}

.woocommerce .topfaida-pro-sidebar li:before{
    content: none;
}

/* sidebar grid ---------------------------*/

.topfaida-pro-sidebar-article article {
    display: flex;
    box-shadow: var(--tfpro-shadow);
    border-radius: 10px;
    margin: 10px 0;
    padding: 10px;
    height: auto;
    z-index: 1;
    background-color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.topfaida-pro-sidebar-article-title {
    font-size: 16px;
    line-height: normal;
    margin: 0 0 10px 0;
}

.topfaida-pro-sidebar-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topfaida-pro-sidebar-article-image {
    width: 40%;
}

.topfaida-pro-sidebar-article-content {
    width: 100%;
    padding-left: 10px;
}

.topfaida-pro-sidebar-article-content p {
    font-size: 15px;
}

.topfaida-pro-sidebar-article-meta {
    font-size: 12px;
    color: #8b8b8b;
}

.topfaida-pro-sidebar-article-meta a {
    color: #0e0270bf;
}


/* ----------- topfaida Sidebar 1 -----------*/













/* ----------- topfaida footer 1 -----------*/

#tf-footer {
    background: var(--tfpro-dark);
}

#tf-footer h4 {
    color: #fff;
    font-size: 17px;
}

#tf-footer a {
    color: #858b9f;
    transition: all ease .4s;
    font-size: 14px;
}

img.img-footer {
    max-width: 180px;
    margin-bottom: 2rem;
}

.footer-widget {
    padding: 70px 0;
}

.footer-widget ul {
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    list-style: none;
    margin-top: 15px;
    display: block;
}

.footer-bottom {
    padding: 20px 0;
    background: #1b2132;
}


.footer-bottom p {
    margin: 0;
}

#tf-footer .footer-bottom-social li {
    display: inline-block;
    list-style: none;
    margin-right: 17px;
    margin-top: 0;
}

@media all and (max-width: 700px) {
    .footer-widget {
        padding: .5em 0 1em;
    }
}


/* ----------- topfaida footer 1 -----------*/









/* ----------- topfaida Alert Box 1 -----------*/

.topfaida-pro-alert {
    display: block;
    position: fixed;
    z-index: 1;
    padding-top: 30%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgb(0 0 0 / 63%);
}

.topfaida-pro-alert-massage {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
    padding: 15px;
    box-shadow: var(--tfpro-shadow-3d);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}



/* ----------- topfaida Alert Box 1 -----------close*/








/* ----------- topfaida Animation -----------start*/
/* change
img::before{
    background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
    );
    content: "";
    display: block;
    height: 100%;
    left: -75%;
    position: absolute;
    top: 0;
    transform: skewX(-25deg);
    width: 50%;
    z-index: 2;
}
*/
img:hover::before,
img:focus::before {
    -webkit-animation: shine 0.85s;
    animation: shine 0.85s;
}
@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}
@keyframes shine {
    100% {
        left: 125%;
    }
}
/* ----------- topfaida Animation -----------close*/


/* ----------- topfaida Slider / Carousel -----------Start*/

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
}

.dot.active{
    background-color: rgb(75, 75, 75);
}

/* ----------- topfaida Slider / Carousel -----------End*/






/* ----------- Flotting Bolls -----------Start*/
.ball {
    position: absolute;
    border-radius: 100%;
    opacity: 0.7;
    z-index: 0;
}
/* ----------- Flotting Bolls -----------End*/



/* ----------- Image Slideshow -----------Start*/

.topfaida-pro-slideshow{
    position: relative;
    overflow: hidden;
    margin: -28px -34px 15px -34px;
}
.slideshow-slider {
    width: 100%;
}

.slideshow-container {
    display: flex;
    box-shadow: var(--tfpro-shadow-light);
    border-radius: 10px;
}

.slideshow-slide {
    width: 100%;
    display: none;
}
.slideshow-slide img{
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}
.slideshow-nav .prev,
.slideshow-nav .next {
    position: absolute;
    top: 45%;
    z-index: 2;
    background: #fff;
    opacity: 0.6;
    width: 40px;
    height: 40px;
    padding: 10px 15px;
    box-shadow: var(--tfpro-shadow-bt);
    border: none;
    border-radius: 0 5px 5px 0;
    color: #000;
    transition: all .3s linear;
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    -ms-border-radius: 0 5px 5px 0;
    -o-border-radius: 0 5px 5px 0;
}

.slideshow-nav .next {
    right: 0;
    border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    -ms-border-radius: 5px 0 0 5px;
    -o-border-radius: 5px 0 0 5px;
}

.slideshow-nav .prev:hover,
.slideshow-nav .next:hover {
    opacity: 1;
    border: 1px solid var(--tfpro-hover-clr);
    outline: 3px solid #fff;
}

/* Dot indicator styling */
.dot-slideshow {
    text-align: center;
    padding: 8px;
    margin: -8px 0 12px 0;
}

.slideshow-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    -webkit-transition: background-color 0.6s ease;
    -moz-transition: background-color 0.6s ease;
    -ms-transition: background-color 0.6s ease;
    -o-transition: background-color 0.6s ease;
    box-shadow: var(--tfpro-shadow-3d);
}

.topfaida-pro-slideshow .active,
.slideshow-dot:hover {
    background-color: #717171;
}

/* ----------- Image Slideshow -----------End*/


/* ----------- BlogAi Flotting Widget Bar -----------Start*/
.blogai-flotting-widget-bar {
    position: fixed;
    display: none;
    z-index: 99;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: inherit;
    padding: 50px 0;
}

.blogai-flotting-widget-content {
    display: block;
    position: relative;
    height: 100%;
    overflow-y: scroll;
}
/* ----------- BlogAi Flotting Widget Bar -----------End*/


/* ----------- topfaida Alert / Massage -----------Start*/

#snackbar {
    visibility: hidden;
    opacity: 0;
    /*width: auto;
    */min-width: 250px;
    max-width: 400px;
    background-color: #333;
    color: #fff;
    font-weight: 800;
    border-radius: 10px;
    text-align: center;
    border-radius: 10px;
    padding: 16px;
    position: fixed;
    z-index: 100;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 7em;
    border: 1px solid #7c7c7c;
    box-shadow: var(--tfpro-shadow-dark);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
#snackbar.show {
    filter: blur(none);
    opacity: 1;
    visibility: visible;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}
#overlay {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: #444;
    z-index: 98;
    -moz-opacity: 0.7;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
}
#snackbar.show .close {
    position: absolute;
    background-color: red;
    color: #fff;
    font-size: 20px;
    top: -7px;
    right: -4px;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    display: flex;
}
/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 9em; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 9em; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 9em; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

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


/* ----------- topfaida Alert / Massage -----------close*/