@font-face {
    font-family: 'Diplomat';
    src: url('../fonts/Far_Diplomat.eot') format("embedded-opentype"),
url('../fonts/Far_Diplomat.woff') format('woff'),
url('../fonts/Far_Diplomat.ttf') format('truetype'),
url('../fonts/Far_Diplomat.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Takrim';
    src: url('../fonts/Takrim.eot') format("embedded-opentype"),
url('../fonts/Takrim.woff') format('woff'),
url('../fonts/Takrim.ttf') format('truetype'),
url('../fonts/Takrim.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
:root,[data-bs-theme="light"] {
    --dg-auth-color: #0078fe;
    --dg-filter-invert: 0;
    --dg-filter: brightness(100%) contrast(100%);
    --dg-library-bg-color: #41aa9a;
    --dg-logo-gradian-1: #64b1fc;
    --dg-logo-gradian-2: #007bc0;
    --dg-description-bg-color: #37548f;
    --dg-search-border-color: 1 50 130;
}

[data-bs-theme="dark"] {
    --dg-auth-color: #0078fe;
    --dg-filter-invert: 1;
    --dg-filter: brightness(53%) contrast(1900%);
    --dg-library-bg-color: #004858;
    --dg-logo-gradian-1: #083561;
    --dg-logo-gradian-2: #00598b;
    --dg-description-bg-color: #012e59;
    --dg-search-border-color: 97 152 242;
}
.font1 {
    font-family: 'Takrim',Tahoma;
    font-size: 36px;
    text-align: justify;
}
.font2 {
    font-family: 'Diplomat',Tahoma;
    font-size: 16px;
    font-weight: 300;
}
a, a:hover {
    text-decoration: none;
}
.auth-abs img {
    /*filter: invert(var(--dg-filter-invert));*/
    filter: var(--dg-filter);
}

.auth .auth-abs a {
    color: var(--dg-auth-color);
}
.auth1 form .auth-abs {
    top: 22px !important;
    position: absolute;
    left: 1rem;
}
.auth1 .auth-abs {
    top: 22px !important;
    position: absolute;
    left: 0;
}
.auth .dropdown-toggle::after {
    display:none;
}
/***************** change theme ******************/
.bd-theme button.btn {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    /*color: rgba(255,255,255,0.85);*/
}
.bd-theme .bi {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentcolor;
}
.bd-theme .dropdown-menu .dropdown-item {
    border-radius: 0.25rem;
}
.bd-theme .dropdown-menu li+li {
    margin-top: 0.125rem;
}
.bd-theme .dropdown-menu {
    --bs-dropdown-min-width: 8rem;
    --bs-dropdown-padding-x: .25rem;
    --bs-dropdown-padding-y: .25rem;
    --bs-dropdown-link-hover-bg: rgba(13, 110, 253, .15);
    --bs-dropdown-font-size: .875rem;
    font-size: .875rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}
.bd-theme .dropdown-menu .active {
    font-weight: 600;
}
.bd-theme .dropdown-menu .dropdown-item {
    border-radius: 0.25rem;
    font-weight: 300;
}
.bd-theme .dropdown-menu .active .bi {
    display: block !important;
}
/***********************************/
body {
    font-family: 'IRANSans', serif;
}
:lang(ar) body {
    font-family: 'Droid Arabic Kufi', serif;
}

header{
    /*background: radial-gradient(ellipse at center, #21d7f4 0%, #1D8FE1 48%, #625EB1 100%);*/
    background: radial-gradient(circle at 50% 101%,var(--dg-logo-gradian-1),var(--dg-logo-gradian-2) 86%);

    /*position: relative;*/
}
.decription {
    background-color: var(--dg-description-bg-color);
}

#mainNav {
    font-family: 'Diplomat',Tahoma;
    font-size: 21px;
    font-weight: 300;
}
.bg-secondary {
    background-color: #2c3e50 !important;
}
.divider-custom {
    margin: 1.25rem 0 0.5rem;
}
.divider-custom .divider-custom-line {
    max-width: 16rem;
}

.IconbarDiv {
    /*display: table;*/
    /*height: 0px;*/
    /*margin: 0 auto;*/
    /*width: 184px;*/
}
.positionCommon {
    position: relative;
}
.Iconbar {
    border-radius: 50%;
    height: 184px;
    top: -192px;
    width: 184px;
    z-index: 3;

    left:0;
    right: 0;
    margin: 0 auto;
}
.classroomico {
    background: transparent url("/img/icon_classroom.svg") no-repeat scroll 0 0;
}
.libraryico {
    background: transparent url("/img/icon_library.svg") no-repeat scroll 0 0;
}
.infoico {
    background: transparent url("/img/icon_info.svg") no-repeat scroll 0 0;
}
.raveshhaico {
    background: transparent url("/img/icon_raveshha.svg") no-repeat scroll 0 0;
}
.liveico {
    background: transparent url("/img/icon_class_live.svg") no-repeat scroll 0 0;
}
.positionAbs {
    position: absolute;
}
/******************************************/
#mbook .item:nth-child(26n+1) .tile{background-image: linear-gradient(180deg,#e156df,#ae2e86)}
#mbook .item:nth-child(26n+2) .tile{background-image: linear-gradient(180deg,#4d9dec,#3460db);}
#mbook .item:nth-child(26n+3) .tile{background-image: linear-gradient(180deg,#f44881,#ec454f)}
#mbook .item:nth-child(26n+4) .tile{background-image: linear-gradient(180deg,#89ef62,#3a752a);}
#mbook .item:nth-child(26n+5) .tile{background-image: linear-gradient(180deg,#6edcc4,#1aab8b)}
#mbook .item:nth-child(26n+6) .tile{background-image: linear-gradient(180deg,#c561bc,#9b58b5)}
#mbook .item:nth-child(26n+7) .tile{background-image: linear-gradient(180deg,#ea1a1a,#da2d2f)}
#mbook .item:nth-child(26n+8) .tile{background-image: linear-gradient(180deg,#8b60ed,#b372bd);}
#mbook .item:nth-child(26n+9) .tile{background-image: linear-gradient(180deg,#ffcf00,#fd5d00);}
#mbook .item:nth-child(26n+10) .tile{background-image: linear-gradient(180deg,#21c8f6,#637bff);}
#mbook .item:nth-child(26n+11) .tile{background-image: linear-gradient(180deg,#9a168b,#9a165a);}
#mbook .item:nth-child(26n+12) .tile{background-color:#3598db}
#mbook .item:nth-child(26n+13) .tile{background-color:#2ecd71}
#mbook .item:nth-child(26n+14) .tile{background-color:#43a0c1}
#mbook .item:nth-child(26n+15) .tile{background-color:#d80073}
#mbook .item:nth-child(26n+16) .tile{background-color:#f0a30a}
#mbook .item:nth-child(26n+17) .tile{background-color:#1bbc9b}
#mbook .item:nth-child(26n+18) .tile{background-color:#a20025}
#mbook .item:nth-child(26n+19) .tile{background-color:#945dc5}
#mbook .item:nth-child(26n+20) .tile{background-color:#7ad61d}
#mbook .item:nth-child(26n+21) .tile{background-color:#b347bf}
#mbook .item:nth-child(26n+22) .tile{background-color:#e84c3d}
#mbook .item:nth-child(26n+23) .tile{background-color:#3c61c9}
#mbook .item:nth-child(26n+24) .tile{background-color:#e77e23}
#mbook .item:nth-child(26n+25) .tile{background-color:#4eb25a}
#mbook .item:nth-child(26n+26) .tile{background-color:#52d7c4}
#mbook .item:nth-child(26n+27) .tile{background-color:#53a1cf}
#mbook .item:nth-child(26n+28) .tile{background-color:#de467f}
#mbook .item:nth-child(26n+29) .tile{background-color:#3447d4}
#mbook .item:nth-child(26n+30) .tile{background-color:#3460db}
#mbook .item .tile{
    border:0;
    border-radius: 2rem;
    box-shadow: 0 0 8px 1px #0000004a;
    background-color:#77bd64;
    text-align: center;
    position: relative;
}
#mbook .item .tile h2 {
    display: inline-block;
    vertical-align: middle;
    font-family: 'Takrim', "Traditional Arabic", Arial, serif;
    font-size: 42px;
    line-height: 55px;
    font-weight: 300;
    color:#fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    /*text-shadow: 0 0 1px rgba(0,0,0,0.3);*/
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
    transform: rotate(-0.0000000001deg);
}
#mbook .item .caption {
    background: rgba(24, 188, 156, 0.8) none repeat scroll 0 0;
    height: 100%;
    opacity: 0;
    position: absolute;
    transition: all 0.5s ease 0s;
    width: 100%;
}
#mbook .item .caption:hover{
    opacity: 1;
}
#mbook .item .footer {
    line-height: 1.2em;
    font-size: .9em;
    padding: 5% 5%;
    color: #ccc;
    font-family: 'IRANSans';
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0 0 2rem 2rem;
    font-weight: 300;
}
#mbook .item .footer img{
    width: 60px;
    border: 3px solid #ffffff3d;
    border-radius: 1.1rem;
}
@media(max-width:767px){
    #mbook .item .content {
        min-height: 140px;
        line-height: 140px;
    }
    #mbook .item .content span {
        font-size: 42px;
        line-height: 58px;
        padding:70px 30px 0;
    }
    #mbook .item .footer {
        line-height: 1.6em;
        font-size: 1.6em;
    }
}
@media(min-width:768px){
    #mbook .item .content {
        min-height: 140px;
        line-height: 140px;
    }
    #mbook .item .content span {
        font-size: 24px;
        line-height: 36px;
        padding:35px 30px 0;
    }
    #mbook .item .footer {
        line-height: 1.0em;
        font-size: 1.0em;
    }
}
@media(min-width:992px){
    #mbook .item .content {
        min-height: 200px;
        line-height: 200px;
    }
    #mbook .item .content span {
        font-size: 36px;
        line-height: 48px;
        padding:20px 30px 0;
    }
    #mbook .item .footer {
        line-height: 1.3em;
        font-size: 1.3em;
    }
}
@media(min-width:1200px){
    #mbook .item .content {
        min-height: 210px;
        line-height: 210px;
    }
    #mbook .item .content span {
        font-size: 42px;
        line-height: 56px;
        padding:20px 30px 0;
    }
    #mbook .item .footer {
        line-height: 1.6em;
        font-size: 1.3em;
        padding: 3%;
    }
}
/*---------- ribbon new -------------*/
/* common */
.ribbon {
    width: 110px;
    height: 110px;
    overflow: hidden;
    position: absolute;
}
.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #2980b9;
}
.ribbon span {
    position: absolute;
    display: block;
    width: 175px;
    padding: 10px 0;
    background-color: #3498db;
    box-shadow: 6px 2px 7px rgba(0, 0, 0, 0.3);
    color: #fff;
    font: 400 24px/0.6 'IRANSans', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
}

/* top left*/
.ribbon-top-left {
    top: -10px;
    left: -10px;
}
.ribbon-top-left::before,
.ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
}
.ribbon-top-left::before {
    top: 0;
    right: 0;
}
.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}
.ribbon-top-left span {
    right: -21px;
    top: 25px;
    transform: rotate(-45deg);
}

/* top right*/
.ribbon-top-right {
    top: -10px;
    right: -10px;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}
.ribbon-top-right::before {
    top: 0;
    left: 0;
}
.ribbon-top-right::after {
    bottom: 0;
    right: 0;
}
.ribbon-top-right span {
    left: -21px;
    top: 26px;
    transform: rotate(45deg);
}

/*------------ ribbon level --------------*/
.ribbon_level {
    /*width: 190px;*/
    /*height: 40px;*/
    /*line-height: 40px;*/
    /*padding-left: 15px;*/
    /*position: absolute;*/
    left: -8px;
    top: 4px;

}
.ribbon_level:before, .ribbon_level:after {
    content: "";
    position: absolute;
}
.ribbon_level:before {
    height: 0;
    width: 0;
    top: -11.5px;
    left: 0.1px;
    border-bottom: 9px solid black;
    border-left: 9px solid transparent;
}
.ribbon_level span {
    font-size: 1em;
    padding: 3px 5%;
    text-align: right;
    border: 1px solid #9e0000;
    border-radius: 0 .5rem .5rem 0;
    color: #ffffff;
    font-family: 'IRANSans';
    text-shadow: 1px 1px 1px #000000a3;
    background: #b93030;
    box-shadow: 1px 0px 3px 0px rgba(0, 0, 0, 0.3);
}
/************** book shelve *****************/
:root{
    --dg-shelf-background: var(--dg-library-bg-color);
}
#library {
    background-color: var(--dg-shelf-background);
}
.book {
    box-shadow: 0 0 1px #000000;
    margin: 25px auto 0;
}
#library .thumb:before { /* Just to give a little puddle of a shadow without adding another element */
    content: '';
    display: block;
    width: 100%;
    height: 1em;
    left: 0;
    background: rgba(0,0,0,.35);
    border-radius: 50%;
    position: absolute;
    bottom:-10px;
    -webkit-filter: blur(5px);
    filter: blur(5px);
    z-index:-1;
}
#library .bookname {
    bottom: -48px;
    display: block;
    height: 28px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    text-align: center;
    line-height: 1.3;
}
#library .bookname span {
    /*background: rgb(255, 255, 255) linear-gradient(rgba(248, 246, 241, 0.4), rgba(198, 196, 189, 0.4)) repeat scroll 0 0;*/
    /*background: rgb(255, 255, 255) -webkit-linear-gradient(rgba(248, 246, 241, 0.4), rgba(198, 196, 189, 0.4)) repeat scroll 0 0;*/
    /*background: rgb(255, 255, 255) -moz-linear-gradient(rgba(248, 246, 241, 0.4), rgba(198, 196, 189, 0.4)) repeat scroll 0 0;*/
    /*background: rgb(255, 255, 255) -o-linear-gradient(rgba(248, 246, 241, 0.4), rgba(198, 196, 189, 0.4)) repeat scroll 0 0;*/
    /*background: rgb(255, 255, 255) linear-gradient(rgba(248, 246, 241, 0.4), rgba(198, 196, 189, 0.4)) repeat scroll 0 0;*/
    background: #fff7ec;
    color: #7b674d;
    font-family: tahoma;
    font-size: 12px;
    padding: 4px 10px;
    /*border: 1px solid #e0e0e0;*/
    word-spacing: -2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    border-radius: 0 0 6px 6px;
}
.shelf {
    background: #e0a545fa url(/img/bg-shelf1.png) repeat-x scroll right top;
    top: -15px;
    height: 30px;
    width: calc(100% + 40px);
    /*margin: 0 -20px;*/
    position: relative;
    margin-bottom: 30px;
    z-index: 0;
}

.shelf:before {
    content: '';
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 30px solid transparent;
    border-left: 20px solid var(--dg-shelf-background);
    border-right: 20px solid var(--dg-shelf-background);
    z-index: 2;
}

.shelf:after {
    content: '';
    background: #c1822b url(/img/bg-shelf0.png) repeat-x right top;
    height: 18px;
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 2;
    box-shadow: rgb(35 35 56 / 38%) 0px 11px 15px -3px, rgb(0 0 0 / 30%) 0px 7px 5px -7px;
}

.bookcover {
    z-index: 1;
}

.thumb {
    background-image: radial-gradient(circle, #d8d8d8, #d1d1d1, #e9e9e9);
    background-repeat:no-repeat;
    background-position: center bottom;
    background-size: 130px 190px;
    min-height: 210px;
}

#bigSearchForm {
    margin-top: 30px;
    border: solid rgb(var(--dg-search-border-color) / 50%) 4px;
    border-radius: 2px;
    font-size: 14px;
    font-family: IRANSans, tahoma, serif;
    padding: 0;
}
#bigSearchForm .input-group .search-input {
    border-radius: 0;
}
#bigSearchForm .input-group .dropdown-toggle {
    background-color: #fff;
    border: solid #cdcdcb 1px;
}
#bigSearchForm .input-group button.search-btn, #bigSearchForm .input-group button.voice-btn {
    background-color: #003972;
    border-color: #3467ba;
    color: #ffffff;
    border-radius: 0;
    width: 46px;
    padding: 0;
}

/*#micVolume {*/
/*    --mic-volume-size: calc(var(--mic-button-size) + var(--mic-volume-level) * (var(--mic-container-size) - var(--mic-button-size)));*/
/*    align-items: center;*/
/*    background-color: var(--color-new-tab-page-border);*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    height: var(--mic-volume-size);*/
/*    justify-content: center;*/
/*    transition-duration: var(--mic-volume-duration);*/
/*    transition-property: height,width;*/
/*    transition-timing-function: ease-in-out;*/
/*    width: var(--mic-volume-size);*/
/*}*/
.form-control::-moz-placeholder {
    color:#999;
    opacity:1
}
.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:#999;
}
.form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: red;
}
.form-control::-webkit-input-placeholder {
    color:#999;
}
#library .bi-play-circle {
    position: absolute;
    right: 8%;
    bottom: -20px;
    top: auto;
    padding: 0;
    margin: 0;
}
#library .bi-play-circle::before {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0px 2px 11px 0px #0006;
}

.thumbnail {
    background-color: #f5f5f5;
    border: 1px solid #d4d5db;
    padding: 4%;
    direction: rtl;
}
.thumbnail:focus, .thumbnail:hover, .thumbnail:active {
    box-shadow: 0px 0px 7px #777;
    background-color: #eceef2;
}
.thumbnail img, .panel img{
    border: 1px solid #babac5;
}
.caption h3 {
    line-height: 1.6em;
    max-height: 4.2em;
    height: 4em;
    overflow: hidden;
    font-size: 1.3em;
    margin-top: 0;
}
.caption p {
    line-height: 2em;
    max-height: 2em;
    overflow: hidden;
    font-size: 1.1em;
    font-weight: 300;
    margin: 0 0 0px;
    color: #777;
}
.caption span {
    color: #86bd6f;
    padding-left: 3px;
}
.caption span.last {
    padding-right: 16px;
}
h3 .glyphicon.glyphicon-blackboard {
    color:#5ba3cb;
    position: relative;
    top: 12px;
    right: 0;
    padding-left: 12px;
    height: 48px;
    line-height: 1.1em;
    font-size: 1.7em;
}
.glyphicon.glyphicon-blackboard {
    color:#5ba3cb;
    position: relative;
    top: 4px;
    right: 0;
}
/** live **/
.box_post {
    border-radius: 10px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 60%);
    padding: 15px 15px 0 15px;
    transition: all 0.3s;
    background: #fff;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
}
.box_post .tile {
    margin-top: -60px;
    border-radius: 10px;
    width: 100%;
    height: 225px;
    background-color: #0579e8;
    color: white;
    text-align: center;
    padding: 35px 5px;
}
.box_post .category_comment {
    padding: 10px;
    background: #f9f8fd;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.box_post .category_comment li {
    list-style: none;
    display: flex;
    align-items: center;
}
.box_post .category_comment li a {
    color: #ff9e4e;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
}
.box_post .category_comment li a:before {
    content: '';
    width: 5px;
    height: 5px;
    background: #ff9e4e;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.2s;
    border-radius: 100%;
    margin-left: 2px;
}
.box_post .category_comment li i {
    color: #ff9e4e;
}
.sarzamin-comment-lines:before {
    content: "\e906";
}
.box_post .category_comment li span {
    font-size: 14px;
    margin-right: 5px;
    line-height: 1;
}
.box_post a.button {
    height: 32px;
    background: #ff9e4e;
    background: linear-gradient(to bottom, #ff9e4ead, #ff9e4e);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #fff;
    box-shadow: 0 2px 10px -1px #ff9e4ea6;
    padding-bottom: 2px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: none;
    user-select: none;
    width: fit-content;
    text-decoration: none;
    margin: 0 auto -12px auto;
    font-size: 15px;
}
/** slider  **/
@media (max-width: 767px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {

    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(-25%);
    }

    .carousel-inner .carousel-item-start.active,
    .carousel-inner .carousel-item-prev {
        transform: translateX(25%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start {
    transform: translateX(0);
}

/** Bootstrap Carousel Controls Outside of Carousel **/
.carousel {
    padding-left: 50px;
    padding-right: 50px;
}
.carousel-control-next, .carousel-control-prev {
    background-color: #5b5b5b;
    opacity: 0.3;
    width: 45px;
    border-radius: 4px;
}
.carousel .card {
    margin-left: 10px;
    margin-right: 10px;
}
footer {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #2c3e50;
    color: #ccc;
}
#scrolly {
    cursor: grab;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

#scrolly article {
    display: inline-block;
}
/**************** Shockwave fresh *********************/
.box_post .live {
    position: relative;
}
.live .pulsatingDot {
    position: absolute;
    bottom: 20px;
    right: calc(100% - 20px);
    z-index: 1;
}
.live .pulsatingDot:after {
    display: block;
    content: 'درحال برگزاری';
    top: -22px;
    left: -10px;
    border-width: 2px;
    border-style: solid;
    border-color: #fff;
    color: #fff;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    position: absolute;
    white-space: nowrap;

    -webkit-animation: pulse 3s ease-out;
    -moz-animation: pulse 3s ease-out;
    animation: pulse 3s ease-out;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
:lang(ar) .live .pulsatingDot:after {
    content: 'بث مباشر';
}
@-webkit-keyframes pulse {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 0.8;
    }
    60% {
        opacity: 1;
    }
    60% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
    }
}

@-moz-keyframes pulse {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 0.8;
    }
    60% {
        opacity: 1;
    }
    60% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 0.8;
    }
    60% {
        opacity: 1;
    }
    60% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
    }
}