@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
    --primary: #4c9eea;
    --secondary: #2f5890;
    --success: #09a247;
    --dark: #0a1931;
    --text: #13305d;
}

* {
    font-family: "Roboto", sans-serif;
}

html {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4 {
    font-weight: bold;
}

p {
    line-height: 1.8;
    color: var(--text);
}

a {
    text-decoration: none !important;
    transition: color 0.25s ease;
}

/*---- typography ----*/
.ex-text-primary {
    color: var(--primary);
}

.ex-text-secondary {
    color: var(--secondary);
}

.ex-text-18 {
    font-size: 18px;
}

.ex-text-20 {
    font-size: 20px;
}

.ex-text-22 {
    font-size: 22px;
}

.ex-text-24 {
    font-size: 24px;
}

/*---- containers ----*/
.container,
.container-fluid {
    padding: 0 1rem;
}

.ex-embed-container {
    position: relative;
    /* padding-bottom: calc(360 / 640 * 100%); */
    overflow: hidden;
    border-radius: 5px;
    /* box-shadow: 0px 1px 2px #d3d8dd, 0px 2px 4px #d3d8dd; */
}

.ex-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.row {
    margin: 0 -1rem;
}

div[class*="col-"] {
    padding: 0 1rem;
}

@media screen and (min-width: 992px) {

    .container,
    .container-fluid {
        padding: 0 1.5rem;
    }

    .row {
        margin: 0 -1.5rem;
    }

    div[class*="col-"] {
        padding: 0 1.5rem;
    }
}

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .col-xxl {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-xxl-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
    }

    .col-xxl-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-xxl-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-xxl-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-xxl-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-xxl-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-xxl-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-xxl-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-xxl-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-xxl-9 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-xxl-10 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-xxl-11 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-xxl-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pt-xxl-5 {
        padding-top: 3rem !important;
    }
}

/*---- header ----*/
.ex-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: #ffffff;
    transition: all 0.25s ease-in-out;
}

.ex-header.sticky {
    position: fixed;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ex-header.sticky+main {
    margin-top: 70px;
}

.ex-navbar {
    margin-bottom: 0.5rem;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #4c9eea40;
    transition: all 0.25s ease-in-out;
}

.ex-header.sticky .ex-navbar {
    margin-bottom: 0;
    padding: 0.75rem 0;
    border-bottom-color: #ffffff;
}

.ex-logo {
    width: 8rem;
    transform: translateY(4px);
}

.ex-navbar-nav {
    margin-left: 1rem;
    align-items: center;
}

.ex-navbar-item+.ex-navbar-item {
    margin-left: 0.5rem;
}

.ex-navbar-link {
    padding: 0.5rem;
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
}

.ex-navbar-link:hover {
    color: var(--primary);
}

.ex-switch-lang {
    position: relative;
}

.ex-switch-lang img {
    width: 24px;
    border: 1px solid #cccccc;
    border-radius: 50%;
}

.ex-switch-lang-btn {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    color: var(--secondary);
}

.ex-switch-lang-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    z-index: 9;
    padding: 0.5rem;
    display: none;
    border-radius: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 0.1875rem 0.375rem rgb(140 152 164 / 25%);
}

.ex-switch-lang-options.active {
    display: block;
}

.ex-switch-lang-options li+li {
    margin-top: 0.25rem;
}

.ex-switch-lang-options a {
    position: relative;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--dark-blue);
    transition: background-color 0.25s ease;
}

.ex-switch-lang-options a.active,
.ex-switch-lang-options a:hover {
    background-color: rgba(189, 197, 209, 0.2);
}

.ex-switch-lang-options a img {
    margin-right: 0.5rem;
}

.ex-switch-lang-options a i {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    opacity: 0;
    font-size: 0.75rem;
    color: var(--success);
    transition: all 0.25s ease;
}

.ex-switch-lang-options a:hover i {
    right: 0.5rem;
    opacity: 1;
}

@media only screen and (min-width: 992px) {
    .ex-logo {
        transform: none;
    }
}

@media only screen and (min-width: 1200px) {
    .ex-navbar-nav {
        margin-left: 2.5rem;
    }

    .ex-navbar-link {
        padding: 0.5rem 1rem;
    }
}

/*---- sections ----*/
.ex-section+.ex-section {
    margin-top: 4.5rem;
}

.ex-section-header {
    margin-bottom: 1.5rem;
}

.ex-section-header h2 {
    margin-bottom: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
}

@media only screen and (min-width: 568px) {
    .ex-section-header h2 {
        font-size: 32px;
    }
}

/*---- buttons ----*/
.ex-btn {
    padding: 0.625rem 1rem;
    border: none;
    border-radius: 5px;
    box-shadow: 0 1px 2px #d3d8dd, 0 2px 4px #d3d8dd;
    font-weight: 700;
    letter-spacing: 0.05rem;
    transition: background-color 0.35s ease;
    cursor: pointer;
}

.ex-btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

.ex-btn:focus {
    outline: none;
}

.ex-primary-btn {
    background-color: var(--primary);
    color: #ffffff;
}

.ex-primary-btn:hover {
    background-color: var(--secondary);
}

.ex-success-btn {
    background-color: var(--success);
    color: #ffffff;
}

.ex-success-btn:hover {
    background-color: #068d3c;
    color: #ffffff;
}

.ex-fab-btn {
    position: fixed;
    right: 1rem;
    bottom: 0;
    transform: translateY(100%);
    padding: 0.25rem 0.75rem;
    font-size: 1.125rem;
    transition: all 0.35s ease;
}

.ex-fab-btn.active {
    bottom: 1rem;
    transform: translateY(0);
}

/*---- cards ----*/
.ex-card-container {
    margin: -1rem 0;
}

.ex-card-container .row {
    padding: 0.5rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.ex-card-container .row div[class*="col-"] {
    padding: 0.5rem;
}

.ex-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.ex-card-hover {
    transition: all 0.35s ease;
}

.ex-card-hover:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 9px;
}

/* cards / game card */
.ex-game-card {
    max-width: 186px;
    margin: 0 auto;
}

.ex-game-card h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--primary);
}

.ex-game-card .ex-primary-btn {
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
}

/* cards / app card */
.ex-app-card {
    max-width: 300px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ex-app-card h3 {
    font-size: 1.125rem;
    color: var(--primary);
}

.ex-app-card .app-icon {
    width: 36px;
    margin-bottom: 1rem;
}

.ex-app-card .app-code {
    max-width: 120px;
    margin-bottom: 1rem;
}

.ex-app-card .ex-btn {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    border: 1px solid #ced6e4;
    box-shadow: none;
    color: var(--secondary);
}

.ex-app-card .ex-btn:hover {
    background-color: var(--secondary);
    color: #ffffff;
}

/* cards / payment card */
.ex-payment-card {
    position: relative;
    max-width: 240px;
    margin: 0 auto;
    padding: 0.25rem;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0px 1px 2px #d3d8dd, 0px 2px 4px #d3d8dd;
}

.ex-payment-card .circles {
    position: absolute;
    right: 0.375rem;
    bottom: 0.375rem;
    display: flex;
    opacity: 0.25;
}

.ex-payment-card .circles span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ex-payment-card .circles span:first-child {
    transform: translateX(4px);
    background-color: var(--secondary);
}

.ex-payment-card .circles span:last-child {
    background-color: var(--primary);
}

/* cards / currency card */
.ex-currency-card {
    height: 100%;
    padding: 1.5rem;
}

.ex-currency-card .ex-coins {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.ex-currency-card .ex-coins img {
    max-width: 60px;
    margin: 0.75rem;
}

/* cards / licence card */
.ex-license-card {
    position: relative;
    height: 100%;
    padding: 1.5rem;
}

.ex-license-card li {
    color: var(--text);
}

.ex-license-card li+li {
    margin-top: 0.25rem;
}

.ex-license-card li i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.ex-license-card-img {
    width: 180px;
    margin: 1.5rem auto 0;
}

/* cards / country card */
.ex-country-card {
    display: block;
    border-radius: 5px;
    padding: 0.5rem 0;
    border: 1px solid #ffffff;
    overflow: hidden;
}

.ex-country-card,
.ex-country-card img {
    transition: all 0.25s ease;
}

.ex-country-card:hover {
    border: 1px solid #4c9eea20;
    box-shadow: 0px 1px 2px #d3d8dd, 0px 2px 4px #d3d8dd;
}

.ex-country-card:hover img {
    transform: scale(1.1);
}

@media screen and (min-width: 568px) {
    .ex-license-card-img {
        position: absolute;
        right: 1.5rem;
        bottom: 1.5rem;
        margin: 0;
        width: 150px;
    }

    .ex-game-card .ex-primary-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media screen and (min-width: 992px) {
    .ex-card-container {
        margin: -1.5rem 0;
    }

    .ex-card-container .row {
        padding: 0.75rem;
    }

    .ex-card-container .row div[class*="col-"] {
        padding: 0.75rem;
    }
}

@media screen and (min-width: 1200px) {
    .ex-payment-card {
        padding: 0.5rem 1rem;
    }

    .ex-payment-card .circles {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .ex-payment-card .circles span {
        width: 12px;
        height: 12px;
    }
}

/*---- swiper ----*/
.swiper .swiper-pagination {
    bottom: 0;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary);
}

/* swiper / banner swiper */
.ex-banner-swiper {
    margin: 0 -1rem 2rem;
    padding: 1rem 1rem 2rem;
}

.ex-banner-swiper .swiper-slide {
    border: 2px solid var(--light);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px -1px rgba(50, 50, 93, 0.25), 0 1px 3px -1px rgba(0, 0, 0, 0.3);
}

.ex-banner-swiper .swiper-pagination {
    bottom: 0;
}

/* swiper / app swiper */
.ex-app-swiper {
    margin-top: -1rem;
    padding: 1rem 0 2.5rem;
}

.ex-app-swiper .swiper-slide {
    height: auto;
    transition: padding 0.35s ease, opacity 0.35s ease;
}

.ex-app-swiper .swiper-slide img {
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
        rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.ex-app-swiper .swiper-slide:first-child,
.ex-app-swiper .swiper-slide:last-child {
    opacity: 0;
    transition: none;
}

.ex-app-swiper .swiper-slide:not(:first-child, :last-child, .swiper-slide-next) {
    padding: 1.5rem 1rem;
    opacity: 0.5;
}

@media only screen and (min-width: 768px) {
    .ex-banner-swiper {
        margin-bottom: 4rem;
        padding-bottom: 3rem;
    }
}

/*---- faqs ----*/
.ex-faqs {
    border: 1px solid #e1e1e1;
    border-radius: 0.5rem;
    background-color: #fafafa;
}

.ex-faqs-item+.ex-faqs-item {
    border-top: 1px solid #e1e1e1;
}

.ex-faqs-item>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
}

.ex-faqs-item h2,
.ex-faqs-item>a i {
    font-size: 1.25rem;
    color: var(--dark);
}

.ex-faqs-item h2 {
    margin-bottom: 0;
}

.ex-faqs-item>a i {
    transition: transform 0.35s ease;
}

.ex-faqs-item>a[aria-expanded="true"] i {
    transform: rotateZ(90deg);
}

.ex-faqs-content {
    padding: 0 1.5rem;
}

.ex-faqs-content h3 {
    margin: 3rem 0 1rem;
    font-size: 1.125rem;
}

.ex-faqs-content-list {
    list-style: square inside;
}

.ex-faqs-content-list li+li {
    margin-top: 0.75rem;
}

.ex-faqs-content-table,
.ex-faqs-content-table thead,
.ex-faqs-content-table tbody,
.ex-faqs-content-table tr {
    width: 100%;
}

.ex-faqs-content-table th,
.ex-faqs-content-table td {
    width: 50%;
    padding: 0.625rem 1.25rem;
    border: 1px solid #e1e1e1;
}

@media only screen and (min-width: 768px) {

    .ex-article,
    .ex-article-content {
        padding-top: 4.875rem;
    }

    h2.ex-article-title {
        font-size: 32px;
    }
}

/*---- footer ----*/
.ex-footer-wrapper {
    max-width: 768px;
    margin: 0 auto;
    padding: 3rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 2px solid #4c9eea40;
}

.ex-footer-social {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ex-footer-social li+li {
    margin-left: 1rem;
}

.ex-footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary);
    font-size: 18px;
    color: #ffffff;
    transition: background-color 0.35s ease;
}

.ex-footer-social-link:hover {
    background-color: var(--secondary);
    color: #ffffff;
}

.ex-footer-link {
    color: var(--primary);
}

.ex-footer-link:hover {
    color: var(--secondary);
}

.ex-footer-link+.ex-footer-link {
    margin-left: 1.5rem;
}

@media only screen and (min-width: 768px) {
    .ex-footer-social {
        margin-bottom: 2.5rem;
    }
}


/*cusome style 8xbet.games*/

.wrapper {
    display: none;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 999;
    position: fixed;
    width: 100%;
}
.loading {
    display: flex;
    position:fixed;
    z-index: 1;
}
.loading .dot {
    position: relative;
    width: 0.6em;
    height: 0.6em;
    margin: 0.6em;
    border-radius: 50%;
}
.loading .dot::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: wave 2s ease-out infinite;
}
.loading .dot:nth-child(1) {
    background: #4C9EEA;
}

.loading .dot:nth-child(1)::before {
    animation-delay: 0.2s;
}

.loading .dot:nth-child(2) {
    background: #1B83E4;
}

.loading .dot:nth-child(2)::before {
    animation-delay: 0.4s;
}

.loading .dot:nth-child(3) {
    background: #1B83E4;
}

.loading .dot:nth-child(3)::before {
    animation-delay: 0.6s;
}

.loading .dot:nth-child(4) {
    background: #386AAD;
}

.loading .dot:nth-child(4)::before {
    animation-delay: 0.8s;
}

.loading .dot:nth-child(5) {
    background: #2F5890;
}

.loading .dot:nth-child(5)::before {
    animation-delay: 1s;
}

.loading .dot:nth-child(5)::before {
    animation-delay: 1s;
}
@keyframes wave {
    50%, 75% {
        transform: scale(2.5);
   }
    80%, 100% {
        opacity: 0;
   }
}
.done{
display:none;
}



@media only screen and (min-width: 1200px) {
    .ex-license-card-img {
        width: 150px;
    }
}

@media only screen and (min-width: 1400px) {
    .ex-license-card-img {
        width: 180px;
    }
}

.texts table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.5em;
    width: 100%;
}

.texts table,
.texts td,
.texts th {
    border: 1px solid rgba(0, 0, 0, .1);
}

.texts tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.texts td,
.texts th {
    padding: 8px;
    border-width: 0 1px 1px 0;
}

.texts .entry-content p {
    margin-bottom: 1.6em;
}

.texts ul.ul-faq,
.ambb ul {
    list-style: disc;
}

.texts ol,
.texts ul.ul-faq,
.ambb ul {
    margin: 0 0 1.5rem 2rem;
}

.texts {
    margin: 3rem 0;
}

.ex-card .col-8,
.ambb .col-lg-7 {
    align-self: center;
}

.ambb {
    margin: 3rem 0;
}

.ambb h2 a {
    color: #212529;
}

.ambb .btn {
    background-color: #FAC000;
    color: #ffffff;
    border-radius: 4px;
    padding-top: 8px;
    padding-right: 24px;
    padding-bottom: 8px;
    padding-left: 24px;
}

/* Blog style */
.blog-page {
    background-color: #F5F5F5;
}

.blog {
    padding: 2rem 0 0 0;
}
.home.blog {
    padding: 0;
}
.card,
.cards {
    cursor: pointer;
}

.animated {
    background-image: linear-gradient(white, white), linear-gradient(180deg, #E9ECF1, #E9ECF1, #F6F7F9 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 200%;
    background-position: 0 0, 0 100%;
    background-origin: padding-box, border-box;
    animation: highlight 1s infinite alternate;
}

.card {
    background-image: linear-gradient(white, white), linear-gradient(270deg, #E9ECF1, #E9ECF1, #F6F7F9 100%);
    background-repeat: no-repeat;
    background-origin: padding-box, border-box;
    border: 6px solid transparent;
    box-sizing: border-box;
}

.card,
.cards {
    border-radius: 0;
    border: 6px solid #e8e8e8;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    overflow: hidden;
    box-shadow: 1px 1px 15px rgb(0 0 0 / 14%);
}

.card a,
.cards a {
    display: inline-block;
    width: 100%;
}

a {
    color: #4A4A4A;
    text-decoration: none;
}

.page-archive .card-body,
.content-detail .event-body {
    position: relative;
    z-index: 10;
    background-color: #fff;
}


.blog .card-body {
    flex: 1 1 auto;
    padding: 1.5rem;
}


.blog .category {
    text-decoration: none;
    color: #4C9EEA;
    margin-bottom: 1rem;
    display: block;
}

.blog .btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1;
    color: #5B5B5C;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.8rem 1rem;
    border-radius: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.comment .Author span,
.comment .update span {
    font-weight: 700;
    color: #4a4a4a;
}

.blog .btn-primary,
.blog-content .btn-primary {
    color: #fff;
    background-color: #4C9EEA;
    border-color: #4C9EEA;
    float: right;
}

.side .card .btn.btn-primary {
    float: none;
    text-align: center;
    margin: 0 auto 1rem;
    display: block;
    width: 60%;
}

.side .card-text.summary-news {
    margin-bottom: 1rem;
}

.blog a,
.content-page a {
    color: #4a4a4a;
    text-decoration: none;
}

.side .card-img {
    margin: 0 auto 1rem auto;
    text-align: center;
}

.container.content-detail .col-md-7 * {
    cursor: default;
}


.container.content-detail main .card:hover .card-body {
    background: #fff !important;
}

.container.content-detail .col-md-7.col-lg-8 .card-body img {
    width: 100%;
    height: auto;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    overflow: hidden;
    box-shadow: 1px 1px 15px rgb(0 0 0 / 14%);
}

.cards {
    box-shadow: 1px 1px 15px rgb(0 0 0 / 14%);
}

@keyframes animatedgradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.card>hr {
    margin-right: 0;
    margin-left: 0;
}

.card>.list-group {
    border-top: inherit;
    border-bottom: inherit;
}

.card>.list-group:first-child {
    border-top-width: 0;
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.card>.list-group:last-child {
    border-bottom-width: 0;
    border-bottom-right-radius: calc(0.25rem - 1px);
    border-bottom-left-radius: calc(0.25rem - 1px);
}

.card>.card-header+.list-group,
.card>.list-group+.card-footer {
    border-top: 0;
}

.card {

    background-image:
        linear-gradient(white, white),
        linear-gradient(270deg, #E9ECF1, #E9ECF1, #F6F7F9 100%);
    background-repeat: no-repeat;
    background-origin: padding-box, border-box;

    border: 6px solid transparent;
    box-sizing: border-box;
}

.animated {
    background-image:
        linear-gradient(white, white),
        linear-gradient(180deg, #E9ECF1, #E9ECF1, #F6F7F9 100%);

    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 200%;
    background-position: 0 0, 0 100%;
    background-origin: padding-box, border-box;
    animation: highlight 1s infinite alternate;
}

@keyframes highlight {
    100% {
        background-position: 0 0, 0 0;
    }
}

.card:before {
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(255, 255, 255, 0);
    content: "";
    position: absolute;
    pointer-events: none;
    top: -5px;
    left: -5px;
    bottom: -5px;
    right: -5px;
}

.card:after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: -15px;
    left: -5px;
    bottom: -15px;
    right: -5px;
    background-image:
        radial-gradient(hsla(0, 0%, 100%, .8) 15%, hsla(0, 0%, 100%, .15) 38%, hsla(0, 0%, 100%, 0) 50%),
        radial-gradient(hsla(0, 0%, 100%, .8) 15%, hsla(0, 0%, 100%, .15) 38%, hsla(0, 0%, 100%, 0) 50%),
        radial-gradient(hsla(0, 0%, 100%, .8) 15%, hsla(0, 0%, 100%, .35) 35%, hsla(0, 0%, 100%, .15) 40%, hsla(0, 0%, 100%, 0) 50%),
        radial-gradient(hsla(0, 0%, 100%, .8) 15%, hsla(0, 0%, 100%, .35) 35%, hsla(0, 0%, 100%, .15) 40%, hsla(0, 0%, 100%, 0) 50%);
    background-repeat: no-repeat;
    background-position:
        left -120px top 6px,
        right -120px bottom 5px,
        left 0 top -1px,
        right 0 bottom -2px;
    background-size:
        300px 14px,
        300px 14px,
        60px 28px,
        60px 28px;
    opacity: 0;
    transition: background-position 0.5s ease-out, opacity 0.5s ease-out;
    will-change: background-position, opacity;
}

.card:before {
    content: "";
    position: absolute;
    pointer-events: none;
    top: -15px;
    left: -5px;
    bottom: -15px;
    right: -5px;
    background-image:
        radial-gradient(hsla(0, 0%, 100%, .8) 15%, hsla(0, 0%, 100%, .15) 38%, hsla(0, 0%, 100%, 0) 50%),
        radial-gradient(hsla(0, 0%, 100%, .8) 15%, hsla(0, 0%, 100%, .15) 38%, hsla(0, 0%, 100%, 0) 50%),
        radial-gradient(hsla(0, 0%, 100%, .8) 15%, hsla(0, 0%, 100%, .35) 35%, hsla(0, 0%, 100%, .15) 40%, hsla(0, 0%, 100%, 0) 50%),
        radial-gradient(hsla(0, 0%, 100%, .8) 15%, hsla(0, 0%, 100%, .35) 35%, hsla(0, 0%, 100%, .15) 40%, hsla(0, 0%, 100%, 0) 50%);
    background-repeat: no-repeat;
    background-position:
        left -120px top 6px,
        right -120px bottom 5px,
        left 0 top -1px,
        right 0 bottom -2px;
    background-size:
        300px 14px,
        300px 14px,
        60px 28px,
        60px 28px;
    opacity: 0;
    transition: background-position 0.5s ease-out, opacity 0.5s ease-out;
    will-change: background-position, opacity;
}

.card:hover:after,
.card:hover:before {
    background-position:
        left calc(100% + 67px) top 6px,
        right calc(100% + 67px) bottom 5px,
        left calc(100% - 50px) top -1px,
        right calc(100% - 50px) bottom -1px;
    opacity: 0.9;
}

.card:hover {
    border-color: 5px solid rgba(255, 255, 255, 0.1);
    ;
}

.cards {
    overflow: hidden;
}

.zoom .card-img-top {
    transition: transform 0.7s ease-out, opacity 0.5s ease-out;
}

.zoom:hover .card-img-top {
    transform: scale(1.2);
}

.blogt .card-body,
.blog .card-body {
    position: relative;
    z-index: 10;
    background-color: #fff;
}

.category {
    text-decoration: none;
    color: #4c9eea;
    margin-bottom: 1rem;
    display: block;
}

.card a {
    display: inline-block;
    width: 100%;
}

.card-img-top,
.card-img-bottom {
    width: 100%;
}

.card:hover .card-body {
    background: #c6c6c6;
    background: linear-gradient(0deg, rgba(226, 227, 228, 1) 0%, rgba(250, 250, 250, 1) 100%);
}

.content-detail .comment {
    display: flex;
}

.content-detail .card .prev {
    position: absolute;
    left: 0;
    right: auto;
    cursor: pointer !important;
}

.content-detail .card .next {
    position: absolute;
    right: 0;
    cursor: pointer !important;
}

.content-detail .b-btn {
    position: relative;
    width: 100%;
    height: 50px;
}

.content-detail .card a {
    display: inline-block;
    width: auto !important;
}

@media (max-width: 576px) {

    .content-detail .comment,
    .content-detail .comment .update,
    .content-detail .comment a {
        display: block;
        position: static;
    }

    .content-detail .update.next a {
        display: inline;
    }

    .page-content .col-md-7.col-lg-8 {
        padding: 0;
    }

    .side {
        display: none;
    }

    .blog .mb-5,
    .blog .mb-4 {
        margin-bottom: 1rem !important;
        padding: 0;
    }

    .blog .card,
    .blog-content .card {
        border: none;
        box-shadow: 0 0 3px rgb(0 0 0 / 15%);
    }

    .blog .card {
        display: table;
        width: 100%;
        padding: 1rem;
    }

    .blog .category {
        padding-bottom: 0.5rem;
        margin-bottom: 0;
    }

    .blog h3 {
        font-size: 1rem;
    }

    .card-title {
        margin-bottom: 0.5rem;
    }

    .blog .summary-news a {
        overflow: hidden;
        display: inline-block;
        height: 50px;
        line-height: 25px;
    }

    .blog .card-img {
        display: block;
        width: 50%;
        padding-bottom: 0;
        margin: 0 auto;
    }

    .card {
        border: none;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
    }

    .cards {
        border: none;
        box-shadow: none;
    }

    .page-archive .card .btn.btn-primary,
    .page-archive .card .coment {
        display: none;
    }


    .page-archive .card-body {
        vertical-align: top;
    }

    .page-archive .card-body,
    .event-txt {
        display: inline-block;
        width: auto;
        padding: 0;
        padding-left: 1rem;
        vertical-align: top;
    }

    .page-archive .card {
        display: table;
        width: 100%;
        padding: 1rem;
    }

    .blog section h2 {
        padding-left: 1rem;
        padding-bottom: 0.5rem;
    }

    .page-archive .zoom:hover .card-img-top {
        transform: scale(1);
    }

    .page-archive .card-img {
        display: table-cell;
        width: 40%;
        padding-bottom: 0;
        vertical-align: middle;
    }

    .card-img {
        display: table-cell;
        width: 40%;
        padding-bottom: 0;
    }

    .blog .card .btn.btn-primary,
    .blog .card .coment,
    .blog .posts .summary-news,
    .blog .events .card-text {
        display: none;
    }

    .blog-content .blog .card .btn.btn-primary {
        display: inline;
    }
}

@media (min-width: 992px) {
    .container.posts .card-text.summary-news {
        overflow: hidden;
        display: inline-block;
        height: 120px;
    }

    .blog .card-title {
        min-height: 100px;
    }
}


@media (max-width:1480px) {
    .ex-navbar-link {
        padding: 0.5rem 0.2rem;
        display: block;
        font-size: 14px;
        font-weight: 700;
        color: var(--secondary);
    }
}
.ex-switch-lang.mr-3.ml-auto {
    display: inline-block;
    vertical-align: middle;
}

@media (min-width:1200px) and (max-width:1480px)
{
    .ex-navbar-link{
        padding: 0.5rem 0.39rem; 
        font-size: 15px;
    }
}

.ex-footer-link{
    color:#4c9eea !important;
}
.ex-footer-link:hover{
    color:#258890 !important;
}

.swiper-slide video,
.swiper-slide img {
    height: 100%;
    object-fit: cover;
}

.swiper-slide {
    height: auto;
}
.home.blog{padding-top:0;}
/*making server images small*/
.ex-card-container .row{
    text-align:center !important;
}
.ex-country-card {
    text-align:center !important;
}
.ex-country-card img {
    width:80%;
    text-align:center;
}
 .page-archive.blog .container.posts .card-text.summary-news {height: auto;} 
@media only screen and (max-width: 767px) {
    .slick-prev,
    .slick-next{
        opacity: 0.3;
        width: 36px;
        height: 36px;
    }
    .slick-prev::after,
    .slick-next::after {
        font-size: 14px!important;
    }
}