/*
Theme Name: Alfa Theme
Author: WebDev 
Description: The theme is designed to take full advantage of the custom pages creation.
Version: 1.1
*/



* { margin:0; padding:0; box-sizing:border-box; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;}
body { overflow-x:hidden; position: relative; background: var(--main);}
a {text-decoration:none; transition: 0.3s; }
input, button {border:none; box-shadow:none; transition:0.3s;}
input {outline:none;}
p, span, li, a { font-size:18px; line-height:30px;}
h1, h2, h3, h4, h5, h6 {text-align:center; padding: 20px 0; color: var(--text);}
p, span, li, h1, h2, h3, a, b, i, label, input, button, td, tr, figcaption { color: var(--text);}
p {padding-bottom:20px;}
li {list-style:none;}
button { cursor:pointer; background:transparent;}
img {max-width:100%; display:block;}
i {font-style:normal;}

.wrapper {width:95%; max-width:1200px; margin:0 auto;}


:root{
--main: #121218;	
--gradient: linear-gradient(103.42deg,#00b7ff 6.06%,#ac28f8 77.61%);
--text: #fff;
--header: #212c4c;

--color-primary: #00b7ff;
--color-secondary: #ac28f8;
--color-font1:#9b9bb3;
--color-back:#242432;

--color-hover:#373748;

--border_button: 10px;
--shadow-primary: 0 0 50px 5px rgba(0, 0, 0, 0.1);
--border: 15px;
}





/*  Header  */

header {padding:8px 0; position:fixed; top:0; left:0; width:100%; background: var(--header); z-index:9;
box-shadow: var(--shadow-primary); height: 61px; }
.header_top {width:100%; justify-content: space-between; align-items:center; display:flex; }
.header .logo img {width:120px; height:45px;}

.header .buttons button {border-radius: var(--border_button); padding:8px 12px 8px 35px;  text-transform:uppercase;
font-size:14px; transition: background 1s ease-out; font-weight:bold;}
.header .logButton {margin-right:15px; } 


/*  Buttons  */
.logButton {color:#fff; position:relative;background:var(--color-primary);}
.header .logButton:before {content:'';position: absolute;top: 8px;left: 2px; background:url(/wp-content/themes/alfatheme/img/enter.svg)no-repeat;
width:20px; height:20px; background-size:cover;}
.regButton {background:var(--color-secondary); position:relative;}
.header .regButton:before {content:'';position: absolute;top: 8px;left: 4px; background:url(/wp-content/themes/alfatheme/img/person.svg)no-repeat;
width:20px; height:20px; background-size:cover;}


.menuDesktop {display:flex; justify-content:center;}
.menuDesktop li {display:inline-block;margin:0 10px;} 
.menuDesktop a {font-size:15px; line-height:20px;padding:5px; border-radius:5px; color:var(--color-font1);}

.menuDesktop a[aria-current] { position:relative; padding-bottom: 6px;}

.deskMenu ul {display:flex;}
.deskMenu ul li {margin:0 8px;}
.deskMenu ul li a:hover {color:var(--color-primary);}
.deskMenu ul li a[aria-current] {color: var(--color-primary);}


/*  Header  submenu */

.menuDesktop .menu-item-has-children {position:relative;}
.deskMenu .sub-menu-wrap { display:none;  position: absolute; left:-20px; top:20px; padding-top: 20px;  }
.deskMenu .sub-menu {background: var(--header); 
box-shadow: 0 0 50px 5px rgba(0, 0, 0, 0.1); width:180px; padding: 10px;}
.menuDesktop .sub-menu li {display:block; }
.deskMenu .menu-item-has-children:hover > .sub-menu-wrap {display: block;}


/* Burger */

.headerDesktop .burger {display: none;}
.burger img {width:28px; height:28px;}
.menu_mobile,amp-sidebar {background: var(--main);box-shadow: var(--shadow-primary);
width: 100%; padding: 0 30px; max-width: 350px; min-height: 100vh;
position: fixed; top: 0; right: -100%; display: block; transition: right 0.8s; z-index: 11;}
.menu_mobile.show  {right: 0; transition: right 0.8s;  }
header .overlay {display: none;width: 100%; height: 100vh;background: rgba(0,0,0,0.5);
position: absolute;top: 0;left: 0;z-index: 9;}
header .overlay.active {display: block;}
.menu_mobile .close {display: flex;justify-content: center;padding: 20px 0;}
.menu_mobile .close img {width: 28px; height:28px;}
.menu_mobile ul {display: flex;align-items: flex-start;flex-direction: column;}
.menu_mobile .sub-menu {padding-left:20px;}



/* Langs switcher */

.lang_choose .choose { padding: 0 14px;display: flex;justify-content: space-between;align-items: center;
position: relative; height: 100%; cursor: pointer;}
.lang_choose span {position: relative; padding: 0 18px 0 0px!important;}
/* .lang_choose span:after {content: ''; width: 10px; height: 10px; position: absolute; top:2px; right: 0; 
background: url(/wp-content/themes/mostbet999/img/menu_down.png)no-repeat; background-size: cover;} */
.lang_choose img {width: 18px; height: 18px;border-radius: 50%;margin-right: 8px;}
.lang_choose  a, .lang_choose .choose span {color: #FFF; padding: 0 11px;font-size: 13px;font-weight: 600;}


.lang_choose .submenu {position:absolute; top:30px; left:0; background: var(--header); width: 230px; display:none; }
.submenu div {display:flex; align-items:center;}
.submenu img, .choose img {width:18px; height:18px; border-radius:50%; margin-right:8px;}
.submenu a {display:flex; width:100%; padding:5px 10px 5px 14px; align-items: center;}
   
.lang_choose:hover .submenu {display:block;}



/* AMP */

.header.pam_content {display:flex; justify-content:space-between;}
amp-script {opacity:1;}
.amp-sidebar-mask {background: rgba(0,0,0,0.5)!important; z-index:10!important;}
amp-sidebar { min-width: 320px; opacity: 1!important;  }
amp-sidebar .closeButton { padding: 20px 0 19px 0;text-align: center;margin: 0 auto;display: block;}
amp-sidebar .closeButton img {width:28px; height:28px;}
amp-sidebar ul { max-height: 80vh; overflow-y: auto; flex-wrap: wrap; display: flex;}
amp-sidebar .sub-menu {padding-left:20px;}
amp-sidebar ul li {display: block; width: 100%;}

.lang_choose .choose .toggled {display:flex; align-items:center;}
#amp-mobile-version-switcher {display:none;}



/* CONTENT */

.content_page {padding:80px 20px 40px 20px;}

h1 {font-size: 36px; line-height: 40px;}
h2 {font-size: 32px; line-height: 40px;}
h3 {font-size: 26px; line-height: 36px;}
h4 {font-size: 20px; line-height: 28px;}
h5, h6 {font-size: 18px; line-height: 28px;}

.content_page a {color:var(--color-primary); text-decoration:none;}
.content_page a:hover {text-decoration:underline;}
.content_page section {background:var(--header); border-radius: var(--border); margin-bottom:20px; padding:10px;
}


/* 404 */
.page404 {min-height:100vh; display:flex; justify-content:center; flex-direction:column;}
.page404 img {margin:0 auto; border-radius: var(--border); display: block;}
.button404 {display:flex; justify-content:center;}
.button404 button {padding: 4px 14px; font-size:18px;}





/* Lists   */
.content_page ul {margin-left: 15px; margin-bottom: 20px; display:flex; justify-content:space-between;flex-wrap:wrap;list-style:none;  }
.content_page ul li {width:48%; position: relative; padding-bottom:10px; padding-left:35px;}
.content_page ul li:before, .wp-block-column ul li:before {position: absolute; width: 20px; height:20px;
background: url(/wp-content/themes/alfatheme/img/list.svg)no-repeat; background-size:cover;
content: ""; left: 0; top:5px;}
.wp-block-column ul li {position: relative; padding-bottom:10px; padding-left:35px;}

.content_page ol {margin-left: 30px; margin-bottom: 20px; display:flex; justify-content:space-between;flex-wrap:wrap;}
.content_page ol li {list-style: decimal; position: relative; padding-left:10px; margin-bottom: 10px; width:48%;}
.content_page ol li::marker {font-size:17px; color:#fff; }
.content_page ol li:before {content:''; width:26px; height:26px; background:var(--gradient); border-radius:50%; position:absolute; top:2px;
left:-26px; z-index:-1;}

.content_page li > ul li {width:100%;}
.content_page li > ul li:before {position: absolute; width: 20px; height:20px;
background: var(--color-primary); background-size:cover;
content: ""; left: 0; top:5px; border-radius:50%;}

.wp-block-column ol li, .wp-block-column ul li {width:100%!important;}



/* BREADCRUMBS   */

.rank-math-breadcrumb p {padding-bottom:0; line-height: 24px;}
.rank-math-breadcrumb a, .rank-math-breadcrumb span {font-size:15px; line-height: 25px;}



/* IMG content */

.wp-block-image { margin: 0 auto; margin-bottom:20px;width: 100%; max-width: 800px; display:flex; flex-direction: column;}
.wp-block-image figure {margin: 0 auto; display: flex; justify-content: center;
flex-direction: column;}
.wp-block-image img {height: 100%; max-height: 500px; width: auto; margin: 0 auto; margin-bottom: 15px; border-radius: var(--border);}
.wp-block-image figcaption {text-align: center; color: #eee; font-size: 14px;}

.wp-block-columns {display:flex; align-items:center;}
.wp-block-column {width:50%;}
.wp-block-columns img {max-height: 500px !important; width: auto;
max-width: 100% !important; margin:0 auto; margin-bottom: 15px; border-radius: var(--border);}

.wp-block-media-text {display:flex; justify-content:space-between; align-items: center;
margin:15px 0; flex-wrap: wrap;}
.wp-block-media-text .wp-block-media-text__content, .wp-block-media-text__media {width:48%;}
.wp-block-media-text img {max-height: 500px !important; width: auto; }

.wp-block-columns ul li {width:100%;}


/* Table content */

.wp-block-table {max-width: 100%;overflow-x:auto;}
.wp-block-table table {width:100%;  border-collapse: collapse; margin-bottom:20px;}
.wp-block-table table td { text-align:center; border: 1px solid rgba(251,251,251,.1); padding:10px;}
.wp-block-table table tr:nth-child(2n) {background:#384b80;}




/* BLOCKQUOTE */

blockquote {background:#384b80; border-radius:var(--border); padding:20px 20px 0 40px;
margin-bottom:20px; box-shadow:var(--shadow-primary); position:relative;}
blockquote:before {content:''; position:absolute; top:0; left:0; height:100%; width:10px; border-radius:var(--border);
background:var(--gradient); }



/* FAQ */

.content_page .rank-math-answer {display: none;}
.content_page.pam_content .rank-math-answer {display: block;}
.rank-math-answer.active { display: block;}
.rank-math-list-item {background: #384b80 url('/wp-content/themes/alfatheme/img/faq-down.svg') no-repeat;
background-size: 20px; background-position: 96% 19px;  cursor: pointer; border-radius:var(--border);
position: relative; padding: 20px 50px 20px 40px; margin-bottom: 20px; box-shadow:var(--shadow-primary);
border:5px solid #9b9bb3;}
/* .rank-math-list-item:before {content:''; position:absolute; top:0; left:0; height:100%; width:10px; border-radius: var(--border);
background:var(--gradient);} */
.rank-math-list-item.minus {background: #384b80 url('/wp-content/themes/alfatheme/img/faq-up.svg') no-repeat;
background-size: 20px;background-position: 96% 19px;}
.rank-math-question {text-align:left;  padding-bottom:0;}
.rank-math-question span, .rank-math-question { font-size:20px!important;line-height:30px!important; 
padding-bottom:0; padding-top:0; }
.rank-math-answer p { padding-top:5px; padding-bottom:0px;}

#rank-math-faq { position: relative; z-index: 4; }


/* TABLE OF CONTENTS */

#alfa__contents input[type='checkbox'] { display: none; } 
#alfa__contents { margin: 1.2rem 0; } 
.lbl-toggle {display: inline-block; font-weight: bold; font-family: monospace; font-size: 15px; text-transform: uppercase; text-align: center;
padding: 10px; color: #DDD; background: #0069ff; cursor: pointer; border-radius: 7px; transition: all 0.25s ease-out; } 
.lbl-toggle:hover { color: #FFF; } .lbl-toggle::before { content: ' '; display: inline-block; border-top: 5px solid transparent;
border-bottom: 5px solid transparent; border-left: 5px solid currentColor; vertical-align: middle; margin-right: .7rem; transform: translateY(-2px); transition: transform .2s ease-out; } .toggle:checked+.lbl-toggle::before { transform: rotate(90deg) translateX(-3px); } 
.alfa__contents-submenu { max-height: 0px; overflow: hidden; transition: max-height .25s ease-in-out; display: flex;
flex-direction: column; } 
.toggle:checked + .lbl-toggle + .alfa__contents-submenu { max-height: 1000px; } 
.toggle:checked+.lbl-toggle { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.alfa__contents-submenu a {color:#fff;}




/* Footer */

footer {background: var(--main); padding:30px 0 60px 0; box-shadow: var(--shadow-primary);}
.footerInner .copy {text-align:center; padding-bottom:15px;}
.footerInner .copy span { font-size:15px;}
.footerInner .copy a {color:#9b9bb3;}
.footerInner .copy a:hover {color:var(--color-primary);}

.footerLinks {border-top:1px solid #ddd; padding:10px 0 20px 0;max-width: 90%; margin: 0 auto; }
.footerLinks ul {display:flex; justify-content:center; flex-wrap:wrap;}
.footerLinks ul li {font-size:16px; line-height:25px; margin:0 8px; text-align:center;}
.footerLinks ul li a:hover {color:var(--color-primary);}


/* Scroll to top */

.scrollToTop {opacity:0; background: var(--gradient); width:30px; height:30px; transition:0.4s;
border-radius: 50%;position:fixed; bottom:70px; right:30px; box-shadow: var(--shadow-primary);
display:flex; justify-content:center; align-items:center; cursor: pointer; z-index: 5;}
.scrollToTop img {width:15px; height:15px;}
.scrollToTop.pam_content {opacity:1;}


/* Fixed buttons */
.fixed_buttons {display: none; position: fixed; width: 100%; padding: 12px 0; justify-content: center; background: var(--main);
box-shadow:var(--shadow-primary); bottom: 0; left: 0; z-index:8;}
.fixed_buttonsInner {display:flex; justify-content: center; align-items:center;}
.fixed_buttons button {border-radius: var(--border_button); padding:10px 10px; color:#fff;  text-transform:uppercase;
font-size:16px; width:48.5%; max-width:200px; margin:0 10px;}



.buttonWrapper {margin-bottom:15px; text-align: center; display:flex; flex-direction: column; justify-content: center; align-items: center;}
.buttonWrapper button { position: relative; display: inline-block; padding: 0; width: 240px; height: 50px; font-size: 21px; font-weight: 500;   background: #ac28f8; text-transform: uppercase; line-height: 42px; transition: all 0.3s ease; box-shadow: 0 0 5px #ac28f8,  0 0 8px #ac28f8; border-radius: 5px; margin-bottom: 10px;}

.buttonWrapper button:hover{
  background: transparent;
  color: #00b7ff;
	box-shadow:  0 0 5px #00b7ff,  0 0 5px #00b7ff inset;
}
.buttonWrapper button::before,
.buttonWrapper button::after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  background: #00b7ff;
  width:0;
  box-shadow:  0 0 5px #00b7ff  0 0 5px #00b7ff inset;
  transition:400ms ease all;
}

.buttonWrapper button::before {
	right:2px;
}

.buttonWrapper button::after{
  right:inherit;
  top:inherit;
  left:2px;
  bottom:0;
}
.buttonWrapper button:hover::before,
.buttonWrapper button:hover::after{
  width: 98%;
  transition:800ms ease all;
}

.buttonWrapper {
	position: relative;
	padding: 20px;
	border-radius: 20px;
}

.buttonWrapper::before {
  content: "";
  position: absolute;
  inset: calc(0px - 3px);
  border-radius: 15px;
  padding: 3px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.buttonWrapper .buttonWrapperDate {
	border-bottom: 1px solid #fff;
}

.buttonWrapper p {
	padding: 0;
}


/* Banner  */
.banner {display: flex; justify-content: space-between; position: relative; top: 75px;}
.bannerLeft {background-image: linear-gradient(110deg,#1e283f,rgba(20,27,46,.6) 100%);
border-radius: 15px; padding: 20px; box-shadow: 4px 6px 10px 0.5px var(--color-secondary);
width: calc(100% - 380px); display: flex;align-items: center;}
.bannerLeft button {background: var(--gradient); font-size: 18px; padding: 10px 20px; border-radius: var(--border_button);}
.bannerLeft .bannerText {width: 100%; max-width: 550px;}
.bannerLeft .title {font-size: 40px; line-height:50px; font-weight: bold; }
.bannerLeft .afterTitle {font-size: 22px;}
.bannerLeft button:hover {box-shadow: 4px 6px 10px 0.5px rgba(251, 251, 251, 0.2);}
.bannerImg {width:253px; height:215px;}

.bannerRight {width: 350px;}
.bannerRight button {width: 100%; background-image: linear-gradient(110deg,#1e283f,rgba(20,27,46,.6) 100%);
box-shadow: 4px 6px 10px 0.5px rgba(251, 251, 251, 0.2); border-radius: 15px; display: flex; justify-content: space-between;
padding: 5px 15px; align-items: center; margin-bottom: 20px;}
.bannerRight button:last-child {margin-bottom: 0;}
.bannerRight .buttonInner {display: flex; flex-direction: column; text-align: left;}
.bannerRight img {width: 70px; height: 70px;}
.bannerRight .buttonInner span {font-size: 18px; font-weight: bold;}
.bannerRight .buttonInner i {font-size: 16px;}
.bannerRight button:hover {box-shadow: 4px 6px 10px 0.5px var(--color-secondary);}



.app-buttons {display:flex; justify-content: center; padding:5px 0 20px 0;}
.app-buttons button {margin: 0 10px; position:relative;}
.app-buttons img {width:150px; height:46px;}
.app-buttons button:before {content: '';
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
position: absolute;top: -2px;left:-2px; background-size: 400%;z-index: -1; width: calc(100% + 4px);
height: calc(100% + 4px);animation: glowing 20s linear infinite;border-radius: 5px;
}
@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}
.pam_content .app-buttons button:before {top: -4px;}


@media screen and (max-width: 500px) {
.buttonsApp button {margin:15px 0px;}	
}



@media screen and (max-width: 1250px) {

.headerDesktop .burger {display: flex;align-items: center;	}
header .deskMenu {display: none!important;}
.header .buttons {display:none;}
.header .logo img {width: 100px; height: 38px;}

.lang_choose:hover .submenu {display:none;}
.lang_choose .submenu.show {display:block;}


.content_page {padding: 60px 20px 10px 20px;}

.fixed_buttons {display:block;}
.footerLinks {padding:10px 0 40px 0; }


.wp-block-column {width:100%;}
.wp-block-columns img {max-height: 300px !important;}
.wp-block-columns {flex-wrap:wrap!important;}



h1 {font-size: 26px; line-height: 30px;}
h2 {font-size: 22px; line-height: 32px;}
h3 {font-size: 20px; line-height: 30px;}
h4 {font-size: 18px; line-height: 28px;}
h5, h6 {font-size: 16px; line-height: 26px;}

h1, h2, h3, h4, h5, h6 {padding: 10px 0;}

.content_page ul li, .content_page ol li {width:100%;}

.rank-math-question span, .rank-math-question {font-size: 18px !important;line-height: 28px !important;}
.rank-math-list-item {padding: 10px 50px 10px 10px;}

blockquote {padding: 20px 20px 0 28px;}


p, span, li {font-size: 17px; line-height: 28px;}
.content_page ul {margin-left:0;}

.wp-block-media-text__media { width: 100%; display: flex; justify-content: center; }
.wp-block-media-text__media img { max-width: 100%; height: auto; margin-bottom: 15px; }

.wp-block-media-text .wp-block-media-text__content, .wp-block-media-text__media {width:100%;}
.wp-block-media-text__media img {margin:0 auto;}

body .is-layout-flex > * {flex-basis: 100% !important;}


.banner {margin-bottom:25px;}
.bannerRight {display:none;}
.bannerLeft {width:100%; padding: 10px; flex-direction:column;}
.bannerLeft .bannerText {max-width:100%; text-align:center; padding-bottom:10px;}
.bannerLeft .title {font-size: 22px; line-height: 30px; padding-bottom:5px;}
.bannerLeft .afterTitle {padding-bottom:5px; font-size: 18px;}
.bannerLeft button {padding: 5px 20px;}
.bannerImg {width: 177px; height: 150px;}

.app-buttons img {width:120px; height:37px;}

}

@media screen and (max-width: 480px) {
.fixed_buttonsInner {justify-content: space-between;}
.fixed_buttons button { margin:0 0px;}
}









