
h1,h2,h3,h4,h5,h6,p,a,span{
    font-family: 'Poppins', sans-serif;
}
p::selection, h1::selection,h2::selection, h3::selection, h4::selection, h5::selection, h6::selection ,span::selection, a::selection{
	color: #fff;
	background:#585858;
}
h2 {
    font-weight: bolder;
    padding-bottom: 5px;
    color: #585858;
    font-size: 27px;
    font-weight: 600;
}
p {
	font-size: 15px;
    color: #9b9b9b;
    line-height: 24px;
}
img{
    object-fit:cover;
    -o-object-fit:cover;
}
span{
    letter-spacing: 0.5px;
    color: #9b9b9b;
}


/*-------------- menu section ----------------*/
.navbar-light .navbar-nav .nav-link {
    color: #242424;
    padding: 25px 15px;
    font-size: 16px;
    font-weight: 500;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #f00;
}
.navbar-light .navbar-nav .nav-item .nav-link.active {
    color: #f00;
}
.navbar-light .navbar-toggler {
    color: #242424;
    border-color: #242424;
    cursor: pointer;
}
.navbar{
    padding: 0px;
}
.sticky{
	background-color: rgba(0,0,0,0.9);
}
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 75px;
  background-color: rgba(255,255,255,0.7);
  z-index: 997;
  transform: translateY(0);
  transition: transform 0.3s ease, background-color 0.3s ease;
  will-change: transform;
}

#header.scrolldown {
  transform: translateY(-100%);
}

#header.scrollup {
  transform: translateY(0);
}

/* #header.header-color{
    background-color: #eee7f4;
} */
.sticky{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
}
/* End menu section */
/* BANNER SLIDER SECTION */
.carousel-caption {
    width: 100% !important;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0 !important;
    bottom: 50px;
    padding: 0;
    margin: 0;
    z-index: 1;
}

/* Subtitles (rotating) */
.subtitle-rotator {
    font-size: 55px;
    letter-spacing: 0.5px;
    font-weight: bold;
    color: #fff;
    line-height: 66px;
    padding-top: 16px;
    padding-bottom: 0;
    -webkit-text-stroke: 1px black;
}

.subtitle-rotator span {
    font-size: 55px;
    letter-spacing: 0.5px;
    font-weight: bold;
    line-height: 66px;
    padding-top: 16px;
    padding-bottom: 0;
    display: none;
    color: transparent;
    background: linear-gradient(120deg, #f84109 0%, #ff2600 30%, #f83909 60%, #ff1100 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 2s linear infinite;
    -webkit-text-stroke: 1px black;

    text-shadow:
        0 0 1px #ffffff, 
        0 0 4px #ff0000
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

.iti__selected-flag {
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 6px 0 25px !important;
}
.iti--allow-dropdown input, .iti--allow-dropdown input[type=tel], .iti--allow-dropdown input[type=text], .iti--separate-dial-code input, .iti--separate-dial-code input[type=tel], .iti--separate-dial-code input[type=text] {
    padding-left: 62px !important;
}
.subtitle-rotator span.active {
    display: inline;
}
/* Main heading */
.carousel-caption h2 {
    font-size: 55px;
    letter-spacing: 0.5px;
    padding-bottom: 0;
    font-weight: bold;
    color: #ffffff;
    line-height: 66px;
    padding-top: 16px;
    -webkit-text-stroke: 1px black;
}

/* Optional paragraph content */
.carousel-caption p {
    font-size: 18px;
    letter-spacing: 0.2px;
    padding: 18px 28%;
    font-weight: bold;
}

/* Button styling */
.carousel-caption .btn.btn-info {
    width: auto;
    font-size: 16px;
    padding: 15px 71px;
    margin-bottom: 10px;
}

/* FULL SCREEN SLIDER */
.carousel-item {
    position: relative;
    height: 100vh;
    min-height: 300px;
    overflow: hidden;
    width: 101%;
}

/* Fullscreen Video Styling */
.carousel-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Dark overlay on video */
.carousel-item .container {
    background-color: rgba(0, 0, 0, 0.6);
}

/*  GLOBAL RESETS  */
* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

.carousel-indicators {
    display: none !important;
}

/*  SUBTITLE FADE-IN/OUT ANIMATION  */
@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: translateY(10px);
    }
    10%, 90% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*  RESPONSIVE MEDIA QUERIES  */
@media (max-width: 1200px) {
    .carousel-caption h2 {
        font-size: 45px;
        line-height: 56px;
    }
    .subtitle-rotator {
        font-size: 28px;
    }
    .carousel-caption p {
        font-size: 16px;
        padding: 18px 15%;
    }
}

@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 32px;
        line-height: 42px;
    }
    .subtitle-rotator {
        font-size: 22px;
    }
    .carousel-caption p {
        font-size: 14px;
        padding: 12px 10%;
    }
    .carousel-caption .btn.btn-info {
        padding: 10px 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .carousel-caption {
        bottom: 20px;
    }
    .carousel-caption h2 {
        font-size: 26px;
        line-height: 34px;
    }
    .subtitle-rotator {
        font-size: 18px;
    }
    .carousel-caption p {
        font-size: 13px;
        padding: 10px 5%;
    }
    .carousel-caption .btn.btn-info {
        padding: 8px 30px;
    }
}

@media (max-width: 320px) {
    .carousel-caption {
        bottom: 15px;
        width: 100%;
        padding: 0 10px;
    }
    .carousel-caption h2 {
        font-size: 22px;
        line-height: 30px;
        padding-top: 8px;
    }
    .subtitle-rotator {
        font-size: 16px;
    }
    .carousel-caption p {
        font-size: 12px;
        padding: 8px 5%;
    }
    .carousel-caption .btn.btn-info {
        padding: 6px 24px;
        font-size: 13px;
    }
}

.carousel-indicators li {
    cursor: pointer;
    background-color: #c6c6c6;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    margin: 0 6px;
}

.carousel-indicators .active {
    background-color: #f2f809;
}

.carousel-indicators li.active::before {
    position: absolute;
    top: -6px;
    left: -6px;
    display: inline-block;
    width: 25px;
    height: 25px;
    content: "";
    border: 2px solid #f2fa01;
    border-radius: 50%;
}

section#yg-slider {
    margin-top: -10px !important;
    background-color: #000;
}
.about.digital-solution.about-page .about-img img[title="About"]{
    max-width: 75% !important;
}
section.about.digital-solution.about-page img[title="why choose RNGplay"] {
  animation: floatUpDown 3s ease-in-out infinite;
}
section.about.digital-solution img[alt="About RNGplay"] {
  animation: floatUpDown 3s ease-in-out infinite;
}
section.about.digital-solution img[title="About us"] {
  width: 80%;
}
@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 6px solid #f3f3f3;
  border-top: 6px solid #333;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  z-index: 10;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* End slider section */
#drupal-live-announce {
  display: none !important;
}
.btn-danger {
  background-color: rgb(247, 16, 17) !important;
  border-color: rgb(247, 16, 17) !important;
  color: #fff;
}
.mt-2, .my-2 {
    margin-top: 18.5rem !important;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  background-color: rgb(200, 0, 0) !important;
  border-color: rgb(200, 0, 0) !important;
  color: #fff;
}

.plus-sign {
  font-weight: bold;
  margin-left: 2px;
}

/* Start Top Games Section */

#top-games-fp {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
  color: white;
  font-family: 'Open Sans', sans-serif;
  padding: 60px 20px;
}

#top-games-fp h2 {
  color: #f2f809;
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

#top-games-fp .container {
  position: relative;
  z-index: 1;
}

#top-games-fp .firefly-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* #top-games-fp .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
} */

#top-games-fp .row {
    gap: 0px;
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
}

/* Flip Card Wrapper */
#top-games-fp .flip-card {
  width: 350px;
  aspect-ratio: 3 / 4;
  perspective: 1200px;
  border-radius: 12px;
  overflow: visible;
  cursor: pointer;
  background: transparent;
  position: relative;
}

/* Inner flipping container */
#top-games-fp .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

/* Flip effect on hover */
#top-games-fp .flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front and Back faces */
#top-games-fp .flip-card-front,
#top-games-fp .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  overflow: hidden;
  top: 0;
  left: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Front side with image */
#top-games-fp .flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Back side styling */
#top-games-fp .flip-card-back {
  background-color: rgb(35 32 32);
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  box-sizing: border-box;
  text-align: center;
}

#top-games-fp .flip-card-back .flip-card-footer {
  margin-top: auto;
  text-align: center;
  width: 100%;
  padding-top: 20px;
}

/* Back side text */
#top-games-fp .flip-card-back h3 {
  font-size: 22px;
  font-weight: 700;
  color: #f71011;
  margin-bottom: 15px;
  position: relative;
}

#top-games-fp .flip-card-back h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin: 8px auto 0;
  background: #f71011;
}

#top-games-fp .flip-card-back p {
  font-size: 14px;
  color: #D6DBDF;
  margin: 0;
  line-height: 1.4;
}

#top-games-fp .flip-card-back .game-logo img {
  width: 300px;
  margin-bottom: 10px;
  display: block;
}

#top-games-fp .flip-card-description {
  overflow-y: auto;
}

#top-games-fp .flip-card-description::-webkit-scrollbar {
  width: 6px;
}

#top-games-fp .flip-card-description::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}


/* Responsive */
@media (max-width: 1200px) and (min-width: 701px) {
  #top-games-fp .flip-card {
    width: 325px;
  }
}

/* Between 412px and 700px */
@media (max-width: 700px) and (min-width: 412px) {
  #top-games-fp .flip-card {
    width: 350px;
  }
}

/* Below 412px */
@media (max-width: 411px) {
  #top-games-fp .flip-card {
    width: 300px;
  }
}
.iframe-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3); 
  backdrop-filter: blur(5px);
  z-index: 9998;
}

.iframe-modal-overlay.active {
  display: flex;
}

.iframe-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.iframe-header {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10000;
  display: flex;
  gap: 10px;
  background: none; 
  padding: 0;
}

.iframe-header button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 18px;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
}

.iframe-modal iframe {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  border: none;
}
.iframe-modal {
  height: calc(var(--vh, 1vh) * 100);
}
@media (max-width: 768px) {
  .iframe-modal {
    border-radius: 0;
    box-shadow: none;
  }

  .iframe-header button {
    font-size: 16px;
    padding: 4px 8px;
  }
}
/* Firefly container relative to the section */
.firefly-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

/* Individual firefly */
.firefly {
  position: absolute;
  width: 6px;
  height: 6px;
  background: yellow;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px yellow;
  animation: move-firefly 12s linear infinite, flash 6s ease-in-out infinite;
}

/* Flashing effect */
@keyframes flash {
  0%, 100% { opacity: 0.2; box-shadow: 0 0 2px yellow; }
  50% { opacity: 1; box-shadow: 0 0 10px 4px yellow; }
}

/* Movement animation — randomize via nth-child */
@keyframes move-firefly {
  0% { transform: translate(0, 0); }
  25% { transform: translate(30px, -40px); }
  50% { transform: translate(-20px, 30px); }
  75% { transform: translate(40px, 10px); }
  100% { transform: translate(0, 0); }
}

/* Random positions and durations */
.firefly:nth-child(1) { top: 10%; left: 15%; animation-duration: 10s; }
.firefly:nth-child(2) { top: 20%; left: 70%; animation-duration: 12s; }
.firefly:nth-child(3) { top: 40%; left: 30%; animation-duration: 14s; }
.firefly:nth-child(4) { top: 60%; left: 50%; animation-duration: 11s; }
.firefly:nth-child(5) { top: 75%; left: 80%; animation-duration: 13s; }
.firefly:nth-child(6) { top: 30%; left: 10%; animation-duration: 15s; }
.firefly:nth-child(7) { top: 55%; left: 25%; animation-duration: 10s; }
.firefly:nth-child(8) { top: 20%; left: 40%; animation-duration: 16s; }
.firefly:nth-child(9) { top: 10%; left: 80%; animation-duration: 14s; }
.firefly:nth-child(10) { top: 90%; left: 20%; animation-duration: 12s; }
.firefly:nth-child(11) { top: 35%; left: 65%; animation-duration: 13s; }
.firefly:nth-child(12) { top: 70%; left: 15%; animation-duration: 11s; }
.firefly:nth-child(13) { top: 45%; left: 85%; animation-duration: 10s; }
.firefly:nth-child(14) { top: 25%; left: 55%; animation-duration: 12s; }
.firefly:nth-child(15) { top: 60%; left: 35%; animation-duration: 13s; }
.firefly:nth-child(16) { top: 50%; left: 10%; animation-duration: 14s; }
.firefly:nth-child(17) { top: 65%; left: 60%; animation-duration: 12s; }
.firefly:nth-child(18) { top: 80%; left: 25%; animation-duration: 11s; }
.firefly:nth-child(19) { top: 15%; left: 35%; animation-duration: 13s; }
.firefly:nth-child(20) { top: 25%; left: 90%; animation-duration: 10s; }
.firefly:nth-child(21) { top: 5%; left: 45%; animation-duration: 12s; }
.firefly:nth-child(22) { top: 85%; left: 50%; animation-duration: 14s; }
.firefly:nth-child(23) { top: 60%; left: 75%; animation-duration: 15s; }
.firefly:nth-child(24) { top: 35%; left: 20%; animation-duration: 13s; }
.firefly:nth-child(25) { top: 70%; left: 40%; animation-duration: 12s; }
.firefly:nth-child(26) { top: 30%; left: 75%; animation-duration: 11s; }
.firefly:nth-child(27) { top: 90%; left: 5%; animation-duration: 13s; }
.firefly:nth-child(28) { top: 15%; left: 60%; animation-duration: 10s; }
.firefly:nth-child(29) { top: 50%; left: 90%; animation-duration: 12s; }
.firefly:nth-child(30) { top: 40%; left: 5%; animation-duration: 14s; }

/* End Top Games Section */
/* Start Games gallery Section */
#games-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #131b24;
  padding: 50px 0 115px;
  min-height: auto;
  overflow: hidden;
  position: relative;
}

#games-gallery .firefly-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#games-gallery .row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 125px;
}

#games-gallery h2 {
  color: #f2f809;
  font-weight: 700;
  font-size: 2.2rem;
  text-align: center;
  margin: 0;
}

#games-gallery .gallery-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#games-gallery .gallery {
  position: relative;
  width: clamp(180px, 40vw, 300px);
  height: calc(clamp(180px, 40vw, 300px) * 4 / 3); 
  transform-style: preserve-3d;
  animation: rotate 40s linear infinite;
}

@keyframes rotate {
  from {
    transform: perspective(1200px) rotateY(0deg);
  }
  to {
    transform: perspective(1200px) rotateY(360deg);
  }
}
#games-gallery .gallery span {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * 72deg)) translateZ(clamp(250px, 45vw, 275px));
}

#games-gallery .gallery span img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Responsive */
@media (min-width: 1601px) {
  .gallery {
    width: 300px;
    height: 400px;
  }

  .gallery span {
    transform: rotateY(calc(var(--i) * 72deg)) translateZ(275px) !important;
  }
}
@media (min-width: 1370px) and (max-width: 1600px) {
  .gallery {
    width: 280px;
    height: 373px;
  }

  .gallery span {
    transform: rotateY(calc(var(--i) * 72deg)) translateZ(250px) !important;
  }
}
@media (min-width: 1024px) and (max-width: 1369px) {
  .gallery {
    width: 260px;
    height: 346px;
  }

  .gallery span {
    transform: rotateY(calc(var(--i) * 72deg)) translateZ(230px) !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .gallery {
    width: 240px;
    height: 320px;
  }

  .gallery span {
    transform: rotateY(calc(var(--i) * 72deg)) translateZ(210px) !important;
  }
}
@media (max-width: 767px) {
  .gallery {
    width: 200px;
    height: 266px;
  }

  .gallery span {
    transform: rotateY(calc(var(--i) * 72deg)) translateZ(170px) !important;
  }
}
/* End Games gallery Section */
/* Work process */
#subscribes{
    background-size: cover;
}
.subscribe {
    padding: 68px 0;
}
.subscribe span{
    font-size: 16px;
    margin-bottom: 0px;
    color: #fdfcfd;
	display: block;
}
.subscribe .btn.btn-infos {
    background-color: transparent;
    color: #f3f90e;
    font-weight: 600;
    border-radius: 46px;
    padding: 5px 28px;
    margin-top: 43px;
    cursor: pointer;
    font-size: 16px;
    border: 2px solid #fff;
    font-family: 'Poppins', sans-serif !important;
    right: 55px;
    position: relative;

}
.subscribe .btn.btn-infos:hover{
    background-color: #f7f7f7;
    color: #551887;
}
.subscribe h2{
    color: #f3f90e;
    font-size: 26px;
    letter-spacing: 0.5px;
    font-weight: 600;
    position: relative;
    top: 15px;
    left: 36px;

}
.subscribe input{
    width: 85%;
    border-radius: 46px;
    height: 40px;
    box-shadow: none;
    border: none;
    transition: none;
}
.subscribe :focus {
    outline: none;
}
.subscribe .form-control:focus{
    box-shadow:none !important;
}
.subscribe .form-group {
    padding-top: 40px;
    margin-bottom: 0px;
}
/* End Work process */

/* our services */
#our-services {
    padding: 115px 0px;
}
.section-title span,.about span{
    text-transform: uppercase;
    font-size: 15px;
    display: block;
}
.section-title {
    padding-bottom: 38px;
    padding-left: 90px;
}
.services-lists-inner {
    background-color: #fff;
    border: 2px solid #e9e9e9;
    display: grid !important;
    border-radius: 10px;
    padding: 20px 25px;
}
.services-lists-inner .services-icon  {
    color: #113054;
    font-size: 30px;
    text-align: left;
    position: relative;
    left: -10px;
    top: -4px;
}
.services-content {
    text-align: left;
    padding-top: 23px;
}
.heading>a{
    color: #585858;
    font-size: 19px;
}
.about .fa,
.about .far,
.about .fas,
#our-services .fa,
#our-services .far,
#our-services .fas{
    padding: 17px 24px;
    background-color: #f00;
    border-radius: 20%;
    color: #fff;
}
.about .fa-lightbulb,
#our-services .fa-lightbulb {
    padding: 17px 24px;
    background-color: #7cadf3;
    border-radius: 20%;
    color: #fff;
}
.about .fa-fire,
#our-services .fa-fire {
    padding: 17px 21px;
    background-color: #ff7597;
    border-radius: 20%;
    color: #fff;
}
.about .fa-gift,
#our-services .fa-gift {
    padding: 17px 21px;
    background-color: #44f7a1;
    border-radius: 20%;
    color: #fff;
}
.services-lists {
    padding: 0px 16px;
    margin-bottom: 15px;
}
.services-content p{
    padding-bottom: 25px;
    line-height: 20px;
}
.services-icon {
    height: 65px;
}
#our-services .row .services-lists:first-child .services-lists-inner{
    box-shadow: 1px -1px 65px 8px rgba(242,242,242,1);
}
#our-services .row .services-lists:nth-child(2) .services-lists-inner{
box-shadow: 1px -1px 65px -4px rgba(242,242,242,1);
}
.heading>a:hover{
    color: #f00 !important
}
/* our services */
/*About section*/
.about {
    padding: 100px 0px;
    background-color: #f1f1f1;

}
/* .about img{
  width: 100%;
} */
.about h2{
    padding-right: 90px;
}
.about-description {
    padding-top: 100px;
}
/*End About section*/
/*Counter section*/
#counters{
    padding: 70px 0px;
    background-color: #242424;
}
#counters h6{
    color: #f2f809;
    font-size: 15px;
    line-height:0;
}
#counters span {
    font-size: 42px;
    font-weight: bold;
    color: #f2f809;
    font-family: 'Poppins';
}
.counter-list::after {
    background: #fff none repeat scroll 0 0;
    content: "";
    float: left;
    height: 47px;
    position: absolute;
    right: 0;
    top: 26px;
    width: 2px;
}
#counters .row .counter-list:last-child:after  {
   background:  none ;
}
/* End counter section */
/* start Digital solution section */
/* .about.digital-solution img{
    width: 100% !important;
} */
.about.digital-solution{
    background-color: #fff; 
    padding: 70px 0px;
}
.about.digital-solution{
    padding-right: 43px;
}
img[title="Creative Team"] {
    margin-bottom: -110px;
}
/* .about.digital-solution .about-description {
    padding-top: 65px;
} */
/* End Digital solution section */
/* About Business Grow section */
.about.business-grow{
    height: 600px;
}
.about.business-grow h2{
    color:#f3f911;
}
.about.business-grow span,.about.business-grow p{
    color: #fff;
}
/* .about.business-grow .about-description{
    padding-right: 92px;
} */
.about.business-grow .about-description {
    padding: 0px 0px 15px 12px;
    background-color: #242424a3;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 1.3);
}
.about.business-grow {
    padding: 70px 0px;
}
.about.business-grow p{
    padding-bottom: 0px;
    margin-bottom: 0px;
}
.about.business-grow .about-description {
    padding-top: 125px;
}
/* End Business Grow section */

/* testimonila section */
.testimonial.owl-theme .owl-nav {
    margin-top: 0px;
    color: #550887;
    font-size: 27px;
    float: left;
}
.testimonial p{
    padding-bottom: 0px !important;
    margin-bottom: 0px;
}
.testimonial.owl-theme .owl-nav [class*=owl-]:hover {
    background: none;
    color: #550887;
}
:focus {
    outline: none !important;
}

.about.digital-solution .testimonial img {
    width: 80% !important;
    margin: 0 auto !important;
}
.about.digital-solution .testimonial .about-description {
    padding-top: 77px;
}
.fa.fa-arrow-right ,.fa.fa-arrow-left{
    color: #ffffff;
}
.fa.fa-arrow-right:hover ,.fa.fa-arrow-left:hover{
    color: #fbec00;
}
/* End testimonial section */

/* Our Clients section*/
#our-clients{
    padding:45px 0px 60px;
    background-color: #f2f2f2;
    height: 340px;
}
#our-clients  .section-title h2 {
    margin-bottom: 50px;
    font-size: 27px;
    font-weight: 300;
    color: #3d3d3d;
}
#our-clients .section-title{
    padding-left: 0px !important;
    padding-bottom: 0px !important;
}
#our-clients .item {
    text-align: center;
}
/* End Our clients section*/

/*Footer section*/

#footer{
    background: #242424;
    color: #fff;
    padding: 80px 0px;
}
.footer-columns{
    margin-top: 30px;
}
.footer-columns p{
    margin-bottom: 0px;
    font-size: 14px;
    color: #fff;
}
.footer-columns a{
    color: #fff;
}
.footer-columns h6{
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-columns img{
    position: relative;
    bottom: 16px;
}
#footer .social {
    padding: 0px;
    float: none !important;
}
.footer-columns a i{
    color: #fff;
    padding-right: 10px;
}
.social ul {
    padding: 0px;
}
.social li {
    list-style: none;
    color: #fff;
    display: inline-block;
}
.social li .fa {
    color: #242424;
    background: #ffffff;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 20px;
    padding: 5px;
    font-size: 14px;
    font-weight: 600;
}
.lets-talk p:last-child{
    margin-top: 5px !important;
}
.footer-menu ul {
    list-style-type: none;
    display: inline-flex;
    padding-left: 0px;
}
.footer-menu a {
    color: #fff;
    font-size: 16px;
    padding: 22px;
    font-family: 'Open sans' !important;
    font-weight: 600;
}
.footer-menu .active {
    color: #f00;
}
.footer-menu a:hover{
    text-decoration: none;
    color: #f00;
}
/*Copyright section*/
#copyright {
    background: #1D1D1D;
    padding: 20px 0px;
}
#copyright a{
    color: #ff0000;
}
#copyright p{
    margin-bottom: 0px;
    color: #657582;
    font-size: 14px;
}
#copyright p span{
    color: #FDC135;
}
/* Top banner section */
#top-banner {
    background: #f1f1f1;
}
#top-banner {
    height: 500px;
    margin-top: 74px;
}
#top-banner h1{
    color: #ffffff;
    font-size: 82px;
    font-weight: bolder;
    letter-spacing: 5px;    
    text-shadow: 0 0 15px #000000ba;
}
#top-banner p{
    color: #fff;
}
.top-banner-caption{
    padding-top: 90px;
}
#top-banner img{
    position: relative;
    width: 100%;
    top: 331px;
}
.top-banner-bg {
  background-size: cover;
  background-repeat: no-repeat;
  height: 620px;
  background-position: center;
}
/* End Top banner section */
/* About page*/
.about.digital-solution.about-page{
    background-color: #f1f1f1 !important;
    padding: 50px 0px !important;
}
.about.about-page{
    background-color: #fff;
}
/* End About page*/
/* Services detail page */
section.about.digital-solution.about-page:has(img[src$="Crash_Game.png"]) {
    padding: 0 !important;
}
img[title="Crash Game Development"] {
    padding-top: 150px;
    animation: floatUpDown 3s ease-in-out infinite;
}
@media (max-width: 768px) {
    img[title="Crash Game Development"] {
        padding-top: 0 !important;
    }
}
img[title="Multiplayer Table Games Development"] {
    padding-top: 140px;
}
img[title="HTML5 Game Development Framework"] {
    padding-top: 60px;
}
img[title="Game Concept Design & Prototyping"] {
    padding-top: 100px;
}
img[title="Game Development Technical Support"] {
    padding-top: 80px;
}
img[title="RGS Development"] {
    margin-top: 50px;
}
.services-icon  .fa.fa-lightbulb-o{
    padding: 25px 35px;
    background-color: #7cadf3;
    border-radius: 20%;
    color: #fff;
    font-size: 45px;
    margin-bottom: 15px;
    font-size: 32px;
}
.service-detail-page{
    padding-left: 33px;
    padding-top: 60px
}
.service-detail-page p {
    font-size: 16px;
    color: #6a6a6a;
    padding-bottom: 25px;
    padding-right: 37px;
}
.fa.fa-lightbulb-o{
    padding: 28px 35px;
    background-color: #7cadf3;
    border-radius: 20%;
    color: #fff;
    font-size: 45px;
    margin-bottom: 15px;
    font-size: 32px;
    }

.about.about-page .fa,
.about.about-page .fa.fa-lightbulb-o{
    padding: 22px 32px;
    font-size: 45px;
}
#top-banner.top-bg{
    background-color: #fff !important;
}
/* End Services detail page */

/* Special Work  SECTION*/
#works {
    padding: 80px 0px 230px;
    background-color: #f1f1f1;
}
#works h2{
    color: #000;
    font-weight: bolder;
    font-size: 75px;
    line-height: 54px;
}
#works img {
     width:100%;
     height: 500px;
}
.work-lists {
    padding: 8px;
    height: 500px;
}
#works span {
    color: #e8002a;
}
#works h3 {
    color: #525252;
    font-size: 42px;
    text-transform: uppercase;
    font-weight: 100;
}
.special-menu-title {
    padding-bottom: 55px;
}

.hovereffect {
width:100%;
height:100%;
float:left;
overflow:hidden;
position:relative;
text-align:center;
cursor:default;
border-radius: 30px;
}

.hovereffect .overlay {
width:100%;
height:100%;
position:absolute;
overflow:hidden;
top:0;
left:0;
opacity:0;
background-color: #353535c2;
-webkit-transition:all .4s ease-in-out;
transition:all .4s ease-in-out;
color: #fff;
padding:50px 20px 0px;
}
.overlay h4 {
    font-size: 40px;
    margin-bottom: 0px;
    color: #ffffff;
    font-weight: 610;
    text-shadow: 0 0 15px #000000ba;
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
}
.overlay p {
    font-size: 16px;
    font-weight: 100;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    line-height: 22px;
    color: #fff;
    width: 80%;
}
.overlay .btn.btn-info {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 45px;
    border: 2px solid #fff;
    border-radius: 38px;
    background-color: transparent;
    color: #ff0404;
    font-weight: 600;
    font-size: 20px;
}
.overlay h5 {
    font-weight: bolder;
    font-size: 45px;
    padding-bottom: 42px;
}
.overlay .btn.btn-info:hover{
    border:2px solid #fff;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
}
.hovereffect img {
display:block;
position:relative;
-webkit-transition:all .4s linear;
transition:all .4s linear;
}

.hovereffect a.info {
text-decoration:none;
display:inline-block;
color:#fff;
background-color:transparent;
opacity:0;
filter:alpha(opacity=0);
-webkit-transition:all .2s ease-in-out;
transition:all .2s ease-in-out;
position: relative;
top: 105px;
padding:7px 14px;
}


.hovereffect:hover img {
-ms-transform:scale(1.2);
-webkit-transform:scale(1.2);
transform:scale(1.2);
}

.hovereffect:hover .overlay {
opacity:1;
filter:alpha(opacity=100);
}

.hovereffect:hover h2,.hovereffect:hover a.info {
opacity:1;
filter:alpha(opacity=100);
-ms-transform:translatey(0);
-webkit-transform:translatey(0);
transform:translatey(0);
}

.hovereffect:hover a.info {
-webkit-transition-delay:.2s;
transition-delay:.2s;
}
#works .work-lists:nth-child(2) {
    position: relative;
    top: 120px;
}
#works .work-lists:nth-child(5) {
    position: relative;
    top: 120px;
}
#works .work-lists:nth-child(8) {
    position: relative;
    top: 120px;
}
#works .work-lists:nth-child(11) {
    position: relative;
    top: 120px;
}
#works .work-lists:nth-child(14) {
    position: relative;
    top: 120px;
}
#works .work-lists:nth-child(17) {
    position: relative;
    top: 120px;
}
#works .work-lists:nth-child(20) {
    position: relative;
    top: 120px;
}
#works .work-lists:nth-child(23) {
    position: relative;
    top: 120px;
}
#works .work-lists:nth-child(26) {
    position: relative;
    top: 120px;
}
#works .work-lists:nth-child(29) {
    position: relative;
    top: 120px;
}
#works .work-lists:nth-child(32) {
    position: relative;
    top: 120px;
}
/*END WORK SECTION*/

/* works Detail page */
.work-detail-description {
    width: 90%;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: -1px 1px 72px 12px rgba(209,202,209,1);
    border-radius: 15px;

}
#work-detail {
    background-color: #f1f1f1;
    padding: 60px 0px 120px;
}
.work-detail-description img{
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.work-detail-desc {
    padding: 40px;
}
.work-detail-desc h2{
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
}
.work-detail-desc p{
    color: #5e5e5e;
}
.work-detail-desc .btn.btn-infos{
    background-color: #f00;
    color: #fff;
    font-weight: 100;
    border-radius: 30px;
    padding: 12px 93px;
    margin-top: 12px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 50px;
    transition: 0.6s;
}
.work-detail-desc .btn.btn-infos:hover{
    background-color: rgb(186 35 35);
    transition: 0.6s;
}

/*------------------18. blog-area start --------------------*/
.blog-area.ptb-140.bg-1 {
    background-color: #f1f1f1;
    padding: 130px 0px 30px;
}
.blog-img{
  position:relative;
  z-index:99;
  overflow:hidden;
}
.blog-meta{
  margin-bottom:0px;
  color: #7a7a7a;
}
.blog-meta span{
    font-size: 13px;
    color:#7a7a7a;
}
.blog-content h3{
  margin-bottom:4px;
}
.blog-content h3 a{
  font-size:19px;
  text-transform:capitalize;
  color:#555!important;
}
.blog-content h3 a:hover{
    color: #f00 !important;
}
.blog-lists{
    margin-bottom: 90px;
    padding: 6px;
}
.blog-content p{
  margin-bottom:20px;
 line-height: 20px;
 color: #7a7a7a;
 padding-right: 20px;
 letter-spacing: 1px;
}
.blog-content a.btn-style{
  border:1px solid #296dc1;
}

.blog-img img {
    width: 100%;
}
img {
    max-width: 100%;
    height: auto;
}
.blog-body h1 a{
    font-size: 20px;
    color: #1c233b !important;
    font-weight: 700;
    margin:40px 0px;
}
.blog-body p{
    font-size:20px;
    color: #a6acb7;
    line-height: 30px;
    padding-bottom: 30px;
}

.blog-body {
    padding: 10px;
    box-shadow: 0px 4px 30px #dadadaad;
    padding-bottom: 25px;
}

/* Blog Detail page */
#blog-detail {
    background-color: #f1f1f1;
}
.blog-detail-description {
    width: 90%;
    margin: 0 auto;
    padding: 90px 0px;
}
.blog-detail-description img{
    width: 100%;
    height: 400px;
}
.blog-detail-description h2{
    font-size: 29px;
    letter-spacing: 1px;
}
.blog-detail-header {
    padding-bottom: 25px;
}
.blog-detail-header span{
    color: #7a7a7a;
    font-size: 15px;
    font-weight: 100;
}
.recent span{
    color:#cdbcdc;
}
.blog-detail-desc {
    padding-top: 35px;
}
.blog-detail-description p {
    line-height: 22px;
    color: #343434;
    letter-spacing: 0.5px;
    padding: 0px 20px;
    margin-bottom: 0px;
}
.blog-area.ptb-140.bg-1.recent-blog {
    background-color: #f00;
    padding: 38px 0px 30px;
}
.blog-area.ptb-140.bg-1.recent-blog h2{
    color: #fff;
    font-weight: 600;
    font-size: 28px;
    padding-bottom: 45px;
}
.blog-area.ptb-140.bg-1.recent-blog .blog-content h3 a {
    font-size: 18px;
    color: #e3d6ec!important;
}
.blog-area.ptb-140.bg-1.recent-blog .blog-content p{
    color: #cdbcdc;
}
.blog-area.ptb-140.bg-1.recent-blog .blog-meta {
    color: #cdbcdc;
}
.blog-content{
    padding-top: 8px;
}
.blog-area.ptb-140.bg-1.recent-blog .col{
    margin-bottom: 40px;
}
.latest-blog .owl-theme .owl-nav.disabled+.owl-dots{
    padding-bottom: 30px;
}
.latest-blog.owl-theme .owl-dots .owl-dot.active::before span{
   position: absolute;
    top: -6px;
    left: -6px;
    display: inline-block;
    width: 25px;
    height: 25px;
    content: "";
    border: 2px solid #fff;
    border-radius: 50%;
}
.latest-blog.owl-theme .owl-dots .owl-dot.active span{
    background-color: #f2f80d;
}
.latest-blog.owl-theme .owl-dots .owl-dot.active span::before{

    position: relative;
    top: -7px;
    left: -7px;
    display: block;
    width: 26px;
    height: 26px;
    content: "";
    border: 2px solid #fff;
    border-radius: 50%;

}
.latest-blog.owl-theme .owl-dots .owl-dot span {
    background: #fff;
    width: 12px;
    height: 12px;
}
/* End Blog Detail page */
/* Map section*/
#map{
    padding: 100px 0px;
    margin-bottom: 80px;
}
#map iframe{
    width: 100%;
    height: 700px;
}
/* End Map section*/
#contact{
    padding: 100px 0px;
    background-color: #f1f1f1;
}
section#contact h2 {
    color: #2a292a;
    font-size: 27px;
    letter-spacing: 0px;
    padding-bottom: 20px;
    font-weight: 100;
    text-align: center;
}
#contact input.form-control {
    background-color: #fff !important;
    border-radius: 37px;
    line-height: 45px;
    border: 1px solid #f4f4f4;
    font-size: 19px;
    padding-right: 125px;
}
#contact textarea{
    background-color: #fff !important;
    border-radius: 20px;
    line-height: 38px;
    border: 1px solid #f4f4f4;
    font-size: 19px;
    margin-top: 23px;
}
#contact .btn.btn-info {
    font-size: 18px;
    padding: 13px 51px;
    border-radius: 34px;
    letter-spacing: 1px;
    width:auto;
    border:none;
    font-weight:bolder;
    background-color: #f2f809;
    color:#000;
}
#contact .btn.btn-info:hover{
    background-color: rgba(103, 0, 155, 0.78);
    transition: 0.6s;
}
#contact  .form-control::-webkit-input-placeholder {
  color: #afafaf !important;
  letter-spacing: 1px;
  padding-left: 25px;
}
/* #contact  .form-control:focus{
    padding-left: 25px;
} */
.btn-info:not([disabled]):not(.disabled):active{
    box-shadow: 0 0 0 0.2rem rgba(23,162,184,.5);
}
.contact-btn{
    text-align: center;
    padding-top: 25px;
}
fieldset.captcha > legend{
  display: none;
}
.captcha__description{
    display: none !important;
}
/* Responsive Quries*/
@media screen and (min-width:992px) and (max-width:1199px){
.navbar-light .navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 600;
}
.carousel-caption{
    left: 0%;
}
.overlay .btn.btn-info{
    margin-top: 25px;
}
.subscribe h2{
    left: 0px;
}
}
@media screen and (min-width:768px) and (max-width:991px){

#mainNav img{
    max-width: 190px;
    position: absolute;
    left: 15px;
}
nav#mainNav {
    margin-top: -28px;
}

div#navbarResponsive {
    background-color: #e5e5e5;
    position: relative;
    top: 29px;
    border-top: 1px solid #550887;
}
.navbar-light .navbar-toggler {
    position: relative;
    top: 10px;
    right: 15px;
}
#header {
    padding: 19px 0px;
}
#header .container{
    padding-right: 0;
    padding-left: 0;
    max-width: 100%
}
.carousel-caption{
    left: -45px;
}
.subscribe h2 {
    font-size: 20px;
    letter-spacing: 0;
}
.services-content p{
    padding-bottom: 0px;
}
.services-lists{
    flex: 0 0 50%;
    max-width: 50%;
}
.about .about-img{
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-img img{
    width: 90%;
}
.about .about-description{
    flex: 0 0 100%;
    max-width: 100%;
}
 .about.digital-solution .about-description {
    padding-top: 40px;
}
.testimonial.owl-theme .owl-nav{
    margin-left: 20px;
}
.footer-menu a{
    padding: 9px;
}
.hovereffect .overlay{
    padding: 30px 10px 0px;
}
.overlay h4{
    font-size: 22px;
}
.overlay p{
    padding-top: 5px;
}
.overlay .btn.btn-info{
    margin-top: 10px;
}
.subscribe .btn.btn-infos{
    right: 0px;
}
.subscribe h2{
    left: 0px;
}
.subscribe input{
    width: 100%;
}
}

@media screen and (min-width:481px) and (max-width:992px) {
    #mainNav img{
    position: absolute;
}
.navbar-light .navbar-toggler{
    margin-top: 25px;
}
}
@media screen and (min-width:481px) and (max-width:767px) {
#mainNav img{
    max-width: 190px;
    position: absolute;
    left: 15px;
}
nav#mainNav {
    margin-top: -28px;
}

div#navbarResponsive {
    background-color: #e5e5e5;
    position: relative;
    top: 29px;
    border-top: 1px solid #550887;
}
.navbar-light .navbar-toggler {
    position: relative;
    top: 10px;
    right: 15px;
}
#header {
    padding: 19px 0px;
}
#header .container{
    padding-right: 0;
    padding-left: 0;
    max-width: 100%;
}
.carousel-caption h2{
    font-size: 42px;
}
.carousel-caption span{
    font-size: 32px;
}
.footer-menu a {
    font-size: 15px;
    padding: 11px;
}
}
@media screen and (min-width:320px) and (max-width:575px) {
 .blog-lists{
    padding:0px 20px;
 }
 .work-detail-desc {
    padding: 40px 15px;
}
}
@media screen and (min-width:320px) and (max-width:480px) {
#mainNav img{
	max-width: 190px;
    position: absolute;
    left: 15px;
}
nav#mainNav {
    margin-top: -28px;
}

div#navbarResponsive {
    background-color: #e5e5e5;
    position: relative;
    top: 43px;
    border-top: 1px solid #550887;
}
.navbar-light .navbar-toggler {
    position: relative;
    top: 20px;
    right: 15px;
}
#header {
    padding: 30px 0px;
}
#header .container{
    padding-right: 0;
    padding-left: 0;
}
.carousel-caption h2{
    font-size: 42px;
}
.carousel-caption span{
    font-size: 42px;
    padding-right:0%;
}
.carousel-caption .subtitle-rotator span {
    position: relative;
    top: -15px;
}
.subtitle-rotator span{
    margin-top: 20px;
}
#top-banner h1 {
    color: #ffffff;
    font-size: 38px;
    text-shadow: 0 0 15px #000000ba;
}
.footer-menu ul{
    display: block;
}

.overlay p{
    padding-top: 20px;
}
.overlay .btn.btn-info{
    margin-top: 30px;
}

}
@media screen and (min-width:320px) and (max-width:767px) {

div#navbarResponsive {
    background-color: #eee7f4;
}
.navbar-light .navbar-nav .nav-link {
    padding:15px;
}
.navbar-light .navbar-nav .nav-item .btn.btn-infos{
    margin-left: 15px;
}
.carousel-caption{
    left: 0%;
}
.subscribe .btn.btn-infos{
    margin-bottom: 80px;
}
.section-title {
    padding-left: 30px;
}
.counter-list::after{
    display: none;
}
.counter-list{
    padding-bottom: 25px;
}
.about.digital-solution .about-description {
    padding-top: 40px;
}
.about.digital-solution .testimonial .about-description {
    margin: 0 20px;
}
.about.business-grow {
     height: auto;
}
.about.business-grow .about-description {
    padding-right: 20px;
    padding-top: 0px;
}
.about h2{
    padding-right: 20px;
}
.testimonial.owl-theme .owl-nav{
    margin-left: 20px;
}
#our-clients{
    height: auto;
}
#our-clients .item {
    margin-bottom: 45px;
}
#works .work-lists:nth-child(2), #works .work-lists:nth-child(5), #works .work-lists:nth-child(8), #works .work-lists:nth-child(11), #works .work-lists:nth-child(14), #works .work-lists:nth-child(17), #works .work-lists:nth-child(20), #works .work-lists:nth-child(23), #works .work-lists:nth-child(26), #works .work-lists:nth-child(29), #works .work-lists:nth-child(32) {
    top: 0px;
}
.subscribe .btn.btn-infos{
    right: 0px;
}
.subscribe h2{
    left: 0px;
}
}
/* End Responsive quries*/

/*Theme Section Start*/
.user-logged-in #top-banner{
    margin-top:0px;
}
.user-logged-in.path-user .region-content{
    position: relative;
    top: 120px;
}
.user-logged-in .region-content{
    position: relative;
    top: 80px;
}
.node__meta{
    display: none;
}
.subscribe input {
     width: 100%;
 }
 .viewsreference--view-title{
    display: none;
 }
.field--name-field-subscribe-form{
    width: 50%;
}
.field--name-field-subscribe-form form{
    display: inline-flex;
}
.subscribe .form-group{
    padding-top: 20px;
}
.subscribe .btn.btn-infos{
    right: 0px;
    margin-top: 20px;
    width: fit-content;
}
@media screen and (max-width: 767px){
    .field--name-field-subscribe-form form {
        display: block;
    }
    .field--name-field-subscribe-form{
        width: 85%;
    }

}
/*menu Section Start*/
.toolbar-fixed #header{
 top:90px
}
body.toolbar-tray-open #header{
    top:120px;
    z-index: 500;
}
.region-primary-menu{
    display: contents;
    /*margin-left: auto;*/
}
#header .show .nav-link:hover #header .contextual{
    top: 100px;
}
#block-yg-creative-main-menu{
    display: contents;
}
.menu--footer{
    display: inline-flex !important;
}
.user-logged-in #footer{
    margin-top: 80px;
}
.path-user #footer{
    margin-top: 150px;
}
@media screen and (max-width: 481px){
    .menu--footer{
        display: block !important;
    }
}
/*Menu Section end*/
/*Footer Section Start*/
.find_us_area{
    width: 90%;
}
/*Theme Section End*/

/* page not found */
#not-found-section {
    padding: 100px 0px 100px;
}

.not-found{
  height: 650px !important;
}
.not-found-body {
    width: 70%;
    margin: auto;
}

.not-found-body h2 {
    font-size: 25px;
    font-weight: 600;
}

.not-title {
    border: 2px solid #f00;;
    padding: 40px 50px;
    width: 45%;
    margin: auto;
    margin-bottom: 40px;
    border-radius: 10px;
}

.not-title h1 {
    font-size: 125px;
    font-family: monospace;
    color: #f00;
}

.not-title h2 {
    font-size: 25px;
    margin: 0px;
    color: #f00;
}

@media (min-width: 320px) and (max-width: 480px){
    .not-title h1 {
        font-size: 92px !important;
        margin: 0px !important;
        color: #f00 !important;
    }
    .not-title h2 {
        font-size: 22px !important;
        margin: 0px !important;
        color: #f00 !important;
    }
    .not-title {
        border: 2px solid #f00 !important;
        padding: 10px 50px 30px 50px !important;
        width: 100% !important;
        margin: auto !important;
        margin-bottom: 40px !important;
        border-radius: 10px !important;
     }
}

@media (min-width: 481px) and (max-width: 768px) {
    .not-title h1 {
        font-size: 92px !important;
        margin: 0px !important;
        color: #f00 !important;
    }
    .not-title h2 {
        font-size: 22px !important;
        margin: 0px !important;
        color: #f00 !important;
    }
    .not-title {
        border: 2px solid #f00 !important;
        padding: 30px 50px !important;
        width: 100% !important;
        margin: auto !important;
        margin-bottom: 40px !important;
        border-radius: 10px !important;
    }
}


@media (min-width: 768px) and (max-width: 992px) {
.not-title h1 {
    font-size: 92px !important;
    margin: 0px !important;
    color: #f00 !important;
}
.not-title h2 {
    font-size: 22px !important;
    margin: 0px !important;
    color: #f00 !important;
}
.not-title {
    border: 2px solid #f00 !important;
    padding: 40px 50px 30px 50px !important;
    width: 70% !important;
    margin: auto !important;
    margin-bottom: 40px !important;
    border-radius: 10px !important;
}
}
/* end page not found */

/* User login Section Start */
#user-login {
    max-width: 40%;
    margin: auto;
    padding: 20px 40px 40px;
    border: 2px solid #f00;
    /* margin-bottom: 40px; */
    margin-top: 80px;
    overflow: hidden;
}

.login-text .form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
}

.not-found-body a,
.login-button a{
    text-decoration: none !important;
    font-weight: 600 !important;
}
.not-found-body a,
.login-button a,
.path-user input[type="submit"] {
    font-size: 18px;
    padding: 13px 51px;
    border-radius: 34px;
    letter-spacing: 1px;
    width:auto;
    border:none;
    font-weight:bolder;
    background-color: #f00;
    color: #fff;
}
.not-found-body a:hover,
.login-button a:hover,
.path-user input[type="submit"]:hover{
    background-color: rgb(221 31 31);
    transition: 0.6s;
}

.login-button , #user-register-form .form-actions ,#user-pass .form-actions{
    text-align: center;
}
.login-button .form-actions{
    display: inline-flex;
}
#user-register-form , #user-pass{
    max-width: 60%;
    margin: auto;
    margin-top: 80px;
    margin-bottom: 40px;
    border: 2px solid #f00;
    padding: 20px 20px 40px;
    overflow: hidden;
}

#user-register-form .js-form-item {
    margin-bottom: 20px !important;
}

#user-register-form .js-form-item input:not([type="checkbox"]),
#user-pass .js-form-item input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
}

@media only screen and (max-width: 610px) {
    #user-login {
        max-width: 95% !important;
        margin: auto;
        border: 2px solid #f00;
        margin-bottom: 40px;
        margin-top: 80px;
        overflow: hidden;
    }
    #user-register-form , #user-pass{
        max-width: 95% !important;
        margin: auto;
        margin-top: 80px;
        margin-bottom: 40px;
        border: 2px solid #f00;
        padding: 20px 20px 40px;
        overflow: hidden;
    }
    .blog-detail-body {
        padding: 50px;
    }
}
@media (min-width: 768px) and (max-width: 992px) {
    #user-login {
        max-width: 60% !important;
        margin: auto;
        margin-top: 80px;
        overflow: hidden;
    }

    #user-register-form , #user-pass{
        max-width: 95% !important;
        margin: auto;
        margin-top: 80px;
        margin-bottom: 40px;
        border: 2px solid #f00;
        padding: 20px 20px 40px;
        overflow: hidden;
    }
}

/* Start Games Page Section */
    #Configuration {
    padding-top: 25px;
    padding-bottom: 25px;
    /* background: #f1f1f1; */
    }

    .config-container {
        background: #6d6a6a; /* grey background */
        border-radius: 10px;
        padding: 20px;
        max-width: 900px;
        margin: auto;
    }

    .config-container h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #fff;
        font-weight: bold;
    }

    .config-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px dashed #999;
        padding: 10px 0;
    }

    .config-item span:first-child {
        font-weight: bold;
        color: #fff;
        flex: 1;
    }

    .config-item span:last-child {
        color: #eee;
        flex: 1;
        text-align: right;
    }

    #game-features {
        border-radius: 12px;
        /* margin-bottom: 100px; */
        padding-bottom: 20px;
        padding-top: 20px;
        position: relative;
        z-index: 1;
        background: #f1f1f1;
    }
    #game-features h2 {
        font-size: 2rem;
        margin-bottom: 30px;
        text-align: center;
    }
    #game-features h3 {
        color: #585858;
    }
    .feature {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 40px;
        gap: 20px;
    }
    .feature-text {
        flex: 1;
    }
    .feature img {
        flex: 0 0 220px;
        max-width: 220px;
        border-radius: 10px;
    }
    .feature:nth-child(even) {
        flex-direction: row-reverse;
    }
    .demo-link-wrapper {
        padding-bottom: 20px;
    }
/* End Games Page Section */
/* Calender Url  */
    .calendar-wrapper {
        max-width: 100%;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    }

    .calendar-wrapper iframe {
        width: 100%;
        height: 600px;
        border: none;
    }
/* User login Section End */

.status-message{
    margin-left: 25px;
}
/* Enable dropdown on hover for Bootstrap-based menus */
.navbar .dropdown:hover > .dropdown-menu {
  display: block;
}

/* Ensure child items are clickable */
.navbar .dropdown-menu {
  position: absolute;
}
/* Only affect #top-banner when inside Events nodes */
.events-node-wrapper #top-banner {
  height: 550px;
}
@media (max-width: 768px) {
  .events-node-wrapper .top-banner-bg {
    height: 240px;
  }

  .events-node-wrapper #top-banner {
    height: 250px;
  }
}
/* To align righ col image in event page */
.page-node-type-events .about-img {
   align-items: center;
   justify-content: center;
   display: flex;
}

