/*
Theme Name: Mercury Child
Theme URI: https://mercurytheme.com/
Description: Child theme for Mercury theme
Author: MercuryTheme.com
Author URI: https://mercurytheme.com/
Template: mercury
Version: 3.9.6
*/
@import url("../mercury/style.css");

/* Custom change start */
::-webkit-scrollbar {
    width: 10px;

}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #7f48d8;
}

::-webkit-scrollbar-thumb:hover {
    background: #7f48d8;
}

table tr:first-child {
    background-color: #220e42;
    color: white;
}

.space-footer-copy {
    background-color: #220e42;
}
.space-footer-copy-left {
    color: white;
}
.space-footer-copy-menu ul li a {
    color: white;
}

.space-header-logo {
    width: 15%;
}
.space-header-menu {
    width: 85%;
}


.space-header-logo-ins {
    margin: 0 7px;
    padding-right: 7px ;
}

.space-header-logo-ins a {
    display: flex;
    align-items: center;
}


.space-header-menu ul.main-menu li a {
    padding: 24px 10px;
}

.header-custom-btns {
    display: flex;
    justify-content: end;
    padding: 16px 0 0;
    width: max-content;
    margin-left: auto;
}

.header-custom-link {
    display: inline-block;
    margin-right: 10px;
    padding: 12px 15px;
    border: 1px solid white;
    border-radius: 10px;
    background: #220e42;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
}

.header-custom-link:hover {
    background-color: #ffffff;
    color: #220e42;
}

@media screen and (max-width: 1200px) {
    .header-custom-btns {
        margin-right: 50px;
        padding-top: 12px;
    }
    .space-header-logo {
        width: 30%!important;
        padding: 10px 0;
    }
    .space-header-menu {
        width: 70%!important;
    }
    .space-header-logo a {
        padding-top: 0!important;
    }
    .header-custom-link {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .space-header-ins {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 7px 0 10px;
    }
    .space-header-logo {
        width: max-content!important;
        padding: 10px 0;
    }
    .space-header-menu {
        width: max-content!important;
    }
    .header-custom-btns {
        margin-right: 40px;
        padding-top: 12px;
    }



    .header-site-name,
    .header-site-name-location {
        font-size: 20px!important;
    }
}

@media screen and (max-width: 540px) {
    .header-custom-btns {
        margin-right: 30px;
        padding-top: 5px;
    }

    .space-mobile-menu-icon {
        top: 10px!important;
        right: 5px!important;
    }
    .space-header-logo-ins a {
        padding-top: 5px!important;
        margin-left: -10px;
    }

    .header-site-name,
    .header-site-name-location {
        font-size: 16px!important;
    }

    .space-header-logo a.text-logo {
        font-size: 18px;
        justify-content: end;
    }
    .header-custom-link {
        margin-right: 5px;
        padding: 7px ;
        font-size: 12px;
    }
}

.space-breadcrumbs a {
    color: #6a3bb3;
}

.space-breadcrumbs span.breadcrumb_last {
    color: #8754d5;
}

.space-front-page {
    padding: 20px 0!important;
}

/* Custom change end */

/* Banner Block Front Page start */
.card {
    background-color: white;
}
.card-block {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}


.card-content {
    padding: 30px 20px;
    width: 50%;
}
.banner-content__title {
    margin-bottom: 16px;
}
.banner-content__text p {
    margin-bottom: 10px;
}

.banner-content__btn {
    display: block;
    text-align: center;
    padding: 15px 30px;
    background-color: #220e42;
    margin: 30px auto 10px;
    width: max-content;
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
    border: 1px solid #220e42;
    border-radius: 10px;
    transition: all ease .3s;
}
.banner-content__btn:hover {
    transform: scale(102%);
    background-color: #ffffff;
    color: #220e42;

}

.card-img-block {
    padding: 30px 0 0 0;
    width: 50%;
}
.card-img-block img {
    width: 100%;
    height: auto;
}
@media screen and (max-width: 768px) {
    .card .space-page-wrapper {
        padding-bottom: 20px;
    }
    .card-block {
        flex-direction: column;
        justify-content: center;
    }
    .card-content {
        margin: 0 20px;
        padding: 30px 0 20px;
        width: auto;
    }

    .card-img-block  {
        padding: 0 0 20px;
        width: 100%;
    }
}
/* Banner Block Front Page end */

/* Pages Link */
.page-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px 30px;
    flex-wrap: wrap;
    width: 100%;
}
.page-links__item {
    display: flex;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #220e42;
    text-transform: uppercase;
    background-color:  #220e42;
    font-weight: bold;
    color: white;
    transition: all ease .3s;
    font-size: 20px;
    line-height: 24px;
}
.page-links__item:hover {
    border: 1px solid #220e42;
    background-color: white;
    color: #220e42;
    transform: scale(102%);
}
/* Pages Link */


/* Custom Demo Block */
.demo-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.buttons-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
}
.iframe-container {
    margin-top: 20px;
}

.btn-demo,
.btn-real-money {
    padding: 10px 20px;
    border-radius: 10px;
     background-color: #220e42 !important;
    box-shadow: 0px 5px 15px 0px rgb(113, 80, 172) !important;
    color: #ffffff !important;
    text-transform: uppercase;
    text-decoration: none!important;
    cursor: pointer;
    font-weight: 900;
    outline: none;
    border: none;
    white-space: nowrap;
    transition: all ease .3s;
}

.btn-demo:hover ,
.btn-real-money:hover {
    transform: scale(101%);
    font-size: 17px;
}
/* Custom Demo Block */


/* Cookie */
.cookie-consent {
    position: fixed;
    bottom: 10px;
    border-radius: 10px;
    background-color: #7f48d8;
    color: white;
    text-align: left;
    padding: 10px;
    box-sizing: border-box;
    display: none;
    width: 70%;
    left: 15%;
    right: 15%;
    z-index: 1;     
}

.cookie-consent a {
    color: #d9d9d9;
    text-decoration: underline;
}

.close-consent {
    position: absolute;
    right: 5px;
    top: 5px;
    float: right;
    font-size: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

#acceptCookie {
    background-color: #43256d;
    border-radius: 10px;
    font-weight: bold;
    color: white;
    padding: 5px 15px;
    margin: 5px;
    cursor: pointer;
    border: 1px solid white;
}
#acceptCookie:hover {
    background-color: #643f99;
}

@media screen and (max-width: 768px) {
    .cookie-consent {
        font-size: 12px;
        width: 90%;
        left: 5%;
        right: 5%;
    }
}

/* Cookie */

/* Shortcode Author Posts */
.recent-posts-by-author {
    display: flex;
    flex-wrap: wrap;
}

.recent-posts-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.recent-post {
    width: 33%; /* Ширина одного допису у рядку */
    box-sizing: border-box;
    padding: 10px;
}

.recent-post a {

}

.recent-post img {
    width: 100%;
    height: 210px;
}

.recent-post h3 {
    font-size: 1.2em;
    margin-top: 10px;
}

@media screen and  (max-width: 768px) {
    .recent-post {
        width: 50%;
    }

    .recent-post img {
        width: 100%;
        height: 160px;
    }
}

@media screen and  (max-width: 540px) {
    .recent-post {
        width: 100%;
    }

    .recent-post img {
        width: 100%;
        height: 210px;
    }
}
/* Shortcode Author Posts */