/* Colors */
body {
    color: #4A4A40 !important;
}

#home-register .glyphicon {
    color: #2d2d2d;
}

.home-braingymmer-purple-bg {
    background: #802988;
}

.home-black-bg{
    background-color: #2d2d2d;
    color: white;
}

.home-purple-bg{
    background-color: #61569E;
    color: white;
}

.home-light-blue-bg {
    background-color: rgb(224, 248, 255);
}

.home-blue-bg{
    background-color: #249FE2;
    color: white;
}

.home-dark-blue-bg{
    background-color: #4E7B9E;
    color: white;
}

.home-green-bg{
    background-color: #2BC77E;
    color: white;
}

.home-yellow-bg{
    background-color: #F6B424;
}

.home-light-grey-bg{
    background-color: #FAFAFA;
    color: #3c3c3c;
}

.home-lighter-yellow-bg{
    background-color: #F7B82E;
}

.home-grey-bg {
    background-color: #FAFAFA;
}

.home-transparent-white{
    color: rgba(255,255,255,0.92);
}

.home-grey{
    color: grey;
}

.home-dark-grey{
    color: #3C3C3C;
}

.home-white-bg {
    background-color: white;
}

.home-white {
    color: white;
}

/* Paddings/margins */
footer {
    margin-top: 0px !important;
}

.no-padding{
    padding: 0;
}

.no-padding-left {
    padding-left: 0;
}

.no-padding-right {
    padding-right: 0;
}

.no-top-margin{
    margin-top: 0 !important;
}

.no-top-padding{
    padding-top: 0 !important;
}

.no-bottom-padding{
    padding-bottom: 0 !important;
}

.no-margin{
    margin: 0;
}

.home-panel-extra-padding {
    padding: 100px 0;
}

.home-panel-padding {
    padding: 50px 0;
}

.home-panel-title{
    margin-top: 0;
    margin-bottom: 40px;
}

.bottom-buffer{
    margin-bottom: 20px;
}

.top-buffer{
    margin-top: 20px;
}

.top-buffer-2{
    margin-top: 40px;
}

.top-buffer-4{
    margin-top: 80px;
}

.top-padding{
    padding-top: 20px;
}

.left-buffer {
    margin-left: 20px;
}

/* Testimonials */
.testimonial-image {
  border-radius: 50%;
  border: 2px solid white;
  width: 50%;
}

.testimonial-quote {
  width: 100%;
  margin: 0 auto;
  max-width: 100%;
  text-align: left;
  font-size: 1.25em;
}

.testimonial-author {
    font-size: 0.8em;
    display: block;
    margin-top: 10px;
    opacity: 0.6;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
}

.valign {
    display: flex;
    align-items: center; 
    justify-content: center;
    height: 100%;
}

/* Miscellaneous */
.btn-orange{
    background: #F4940B;
    color: white;
    border-style: solid;
    border-width: 2px;
    /* border-color: #F4940B; */
    border-radius: 5px;
    font-size: 32px;

    text-decoration: none;
    -webkit-transition: background-color 0.2s ease-out, color 0.2s ease-out;
    transition: background-color 0.2s ease-out, color 0.2s ease-out;
}
.btn-orange:hover, .btn-orange:active, .btn-orange:focus{
    color: white;

    text-decoration: none;
}

.btn-lg{
    width: 400px;
    vertical-align: middle;
    padding: 25px;
    font-size: 36px;
}

.game-categories-full{
    max-height: 300px;
}

.game-category-icon-descr {
    margin-top: 10px;
}

.partner-logo-container{
    height: 100% !important;
}

.partner-logo{
    height: initial !important;
    filter: grayscale(100%);
    opacity: 0.5;
    -webkit-transition: all 0.2s ease-out, color 0.2s ease-out;
    transition: all 0.2s ease-out, color 0.2s ease-out;
}

.partner-logo:hover{
    opacity: 1;
    filter: none;
    -webkit-transition: all 0.2s ease-in, color 0.2s ease-in;
    transition: all 0.2s ease-in, color 0.2s ease-in;
}

div.error-message h4 {
    color: yellow;
    height: 12px;
}

.form-control {
    height: 51px !important;
}

.form-group .right-inner-addon {
    padding: 0;
}

.form-group .right-inner-addon input {
    border-radius: 5px;
}

.right-inner-addon span {
    padding: 12px 0 0;
}

.home-advantage-left{
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}

.home-advantage-right{
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}

.home-text-block{
    line-height: 1.8em;
    font-size: 1.4em;
}

.home-video-panel {
    /*overflow: hidden;*/
    width: 100%;
}

/*header {
    position: relative !important;
}*/

.home-masthead{
    display: block;
}

.home-masthead-container{
    margin-top: 0;
}

.home-masthead-title h1 {
    display: inline;
    color: white;
    font-weight: normal;
    font-size: 1em;
}

.home-masthead-title {
    font-size: 2.8em;
}

.home-try-button {
    background-color: #F7B82E;
}

.home-masthead-image {
    margin: 0 auto;
    width: 100%;
}
.home-masthead-image:before {
    content: "";
    display: block;
    padding-top: 100%;
    float: left;
}

.home-bg-logo {
    height: 35px;
    float: left;
}

.home-register-form-text {
    margin-top: 10px;
}
.home-masthead-images {
    margin-top: 20px;
    margin-bottom: 20px;
}

video { 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    min-width: 100%;
    overflow: hidden;
    background-color: #f9f9f9;
    transition: 1s opacity;
}
#top-block-center-block{
    left: calc(50% - 400px);
    position: absolute;
    bottom: 50%;
    vertical-align: middle;
    transform: translateY(50%);
    width: 800px;
    max-width: 100vw;
}
.bg-home-arrow-down{
    left: calc(50% - 35px);
    position: absolute;
    bottom: 25px;
    vertical-align: middle;
    width: 70px;
    max-width: 100vw;
    height: auto;
    filter: drop-shadow( 0px 0px 6px #000 );
    animation-name: bounce;
    animation-duration: 2.5s;
    animation-fill-mode: both;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
@keyframes bounce {
    0% {transform: translateY(0);}
    50% {transform: translateY(-5px);}
}
#top-block-cta-button{
    box-shadow: 0px 0px 50px 0px #252525;
}
.bg-home-slogan-logo{
    margin-bottom: 50px;
    filter: drop-shadow( 0px 0px 6px #fff );
}
.bg-blog-item-container{
    max-height: 225px;
}
@media (min-width:769px){
    #bgvid{
        max-width: 100%;
    }
}
@media (max-width:768px) {
    #bgvid{
        height: 100%;
    }
    .bg-blog-content-article{
        line-height: 1.5em;
        font-size: 80%;
    }
    .btn-lg{
        width: 250px;
        vertical-align: middle;
        padding: 15px;
        font-size: 28px;
    }
    #top-block-center-block{
        left: calc(50% - 200px);
        width: 400px;
    }
    .bg-home-arrow-down{
        width: 50px;
        left: calc(50% - 25px);
    }
    .bg-home-slogan-logo{
        margin-bottom: 40px;
    }
    #top-block-cta-button{
        box-shadow: 0px 0px 25px 0px #3d3d3d;
    }
    .home-register-form-text {
        text-align: center;
    }

    .home-masthead-container {
        padding-top: 35px !important;
    }
    .home-masthead-title {
        font-size: 1.6em;
    }

    .small-top-buffer-xs {
        margin-top: 10px;
    }

    .top-buffer-xs {
        margin-top: 20px;
    }

    .top-buffer-2-xs {
        margin-top: 40px;
    }

    .no-padding-right-xs {
        padding-right: 0;
    }

    .no-padding-left-xs {
        padding-left: 0;
    }

    .testimonial-quote {
        margin-top: 20px;
        text-align: center !important;
        font-size: 1em;
    }
    .home-text-block{
        line-height: 1.5em;
        font-size: 1.2em;
    }
    .home-panel-title{
        font-size: 24px;
    }
    .top-buffer-2{
        margin-top: 25px;
    }
    .home-advantage-left{
        font-size: 80%;
    }
    .home-advantage-left>h3{
        font-size: 24px;
    }
    .home-advantage-right{
        font-size: 80%;
    }
    .home-advantage-right>h3{
        font-size: 24px;
    }
}

@media (min-width: 768px){
    .valign-testimonial{
        display: flex;
        align-items: center; 
        justify-content: center;
        height: 100%;
    }

    .row-eq-height-sm {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display:         flex;
        padding-bottom: 50px;
    }
}

@media (max-width: 767px){
    .flip-clock-wrapper ul {
        margin: 1px !important;
        width: 31px !important;
        height: 60px !important;
        padding: 0 0 0 27px !important;
        line-height: 67px !important;
    }
    .flip-clock-wrapper ul li{
        line-height: 67px !important;
    }
}

@media (min-width: 768px){
    .flip-clock-wrapper ul {
        margin: 5px !important;
        width: 39px !important;
        height: 70px !important;
        line-height: 77px !important;
    }
    .flip-clock-wrapper ul li{
        line-height: 77px !important;
    }
}

@media (min-width: 992px){
    .flip-clock-wrapper ul {
        margin: 1px !important;
        width: 31px !important;
        height: 80px !important;
        padding: 0 0 0 27px !important;
        line-height: 87px !important;
    }
    .flip-clock-wrapper ul li{
        line-height: 87px !important;
    }
    .home-masthead-images{
        padding: 0;
        margin: 0;
    }
}

@media (min-width: 1201px){
    .flip-clock-wrapper ul {
        margin: 2px !important;
        width: 39px !important;
        height: 80px !important;
        line-height: 87px !important;
    }
    .flip-clock-wrapper ul li{
        line-height: 87px !important;
    }
}

@media(max-width: 480px){
    #top-block-center-block{
        left: calc(50% - 150px);
        width: 300px;
    }
    .bg-home-arrow-down{
        width: 40px;
        left: calc(50% - 20px);
    }
    .bg-home-slogan-logo{
        margin-bottom: 20px;
    }
}

/* Counters */
.counter-title {
    font-size: 1.4em;
}

.counter-loading {
    font-style: italic;
    margin: 10px 0;
}

.flip-clock-wrapper ul li a div div.inn {
    font-size: 45px !important;
    background-color: white !important;
    color: rgba(0,0,0,0.6) !important;
    text-shadow: 0 1px 1px lightgrey !important;
}

.flip-clock-wrapper .flip {
    background: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45) !important;
}

.flip-clock-wrapper {
    width: initial !important;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonial */
#testimonials-slider {
    height: auto !important;
}

.lSSlideOuter .lSPager.lSpg>li.active a, .lSSlideOuter .lSPager.lSpg>li:hover a {
    background-color: rgba(0,0,0,0.7) !important;
}

.lSSlideOuter .lSPager.lSpg>li a {
    background-color: rgba(0,0,0,0.3) !important;
}


/* Video */
.fullscreen-bg {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: -100;
  opacity: 0.7;
}

.fullscreen-bg__video {
  width: 100%;
  height: 100%;
}

@media (min-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    height: 300%;
    top: -100%;
  }
}

@media (max-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    width: 300%;
    left: -100%;
  }
}

@media (max-width: 1024px) {
  .fullscreen-bg__video {
    display: none;
  }
}

/* Blog */
.bg-blog-image {
    width: 100%;
}

@media (min-width: 768px){
    .bg-blog-item-container {
        height: 175px;
    }
}

.lSPager.lSpg{
    margin-top: 35px !important;
}