.dark {
    color:#cdcdcd;
}
.blink_me {
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}
.race-ticker {
    padding: 10px;
    text-align: center;
    margin: 0 auto;

}
.race-ticker  a.blinker {
    color:#f28c00;
    text-decoration: none;
}

.table_top_menu_item {
    padding: 3px;
    font-size: 15px;

}

.footer-stripes {
    height: 18px; width:100%;
}
.gold, .gold a {
    background-color: #DDDC00 !important;
    color:#000;
    font-weight: 400;
}
.silver, .silver a {
    background-color: #CBBB9F !important;
    color:#000;
    font-weight: 400;
}
.bronze, .bronze a {
    background-color: #F28C00 !important;
    color:#000;
    font-weight: 400;
}
.green {
    color:#1CAC3E;
}
.btn-team-platinum {
    background-color: #CBBB9F !important;
}
.btn-team-gold {
    background-color: #FFEA46 !important;
}
.btn-team-official {
    background-color: #9ED6F5 !important;
}
.btn-team-development {
    background-color: #F0F0F0 !important;
}

.row:before, .row:after {
content:'';
display:block;
width:100%;
height:0;
}
.row:after {
clear:both;
}

.table_rider_flag {
    width: 35px; height: 25px;
    float: left;
    clear: right; vertical-align: middle; padding: 5px 10px 0px 0px; margin-top: 5px;
}
.table_rider_info {
    display: block;
}
.hero-countors {
    opacity: 0.2;
}
.stage_number_holder > .row {
    overflow-x: auto;
    white-space: nowrap;
}
.stage_number_holder > .row > .col-xs-4, .stage_number_holder > .row > .col-md-2,.stage_number_holder > .row > .col-lg-2 {
    display: inline-block;
    float: none;
}
/********************************/
/*       Fade Bs-carousel       */
/********************************/
.fade-carousel {
    margin:10px auto;
    position: relative;
    max-width: 1170px;
    max-height: 670px;
    height: 670px;
    overflow: hidden;
}
.fade-carousel .carousel-inner .item {
    height: 100vh;
}
.fade-carousel .carousel-indicators > li {
    margin: 0 2px;
    background-color: #FFF;
    border-color: #FFF;
    opacity: .8;
}
.fade-carousel .carousel-indicators > li.active {
    width: 10px;
    height: 10px;
    opacity: 1;
}

.ews-select {
    margin-top: 20px;
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
}
.ews-cat-select
{
    width:100%;
    margin-top: 20px;
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
}
.nav-pills > li > a
{
    border-radius: 0;
    padding: 10px 12px;
    border: 1px solid transparent;
    color: #666666;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
}
.nav-pills > li > a:hover
{
    color: #000;

}

/********************************/
/*          Hero Headers        */
/********************************/
.hero {
    position: absolute;
    top: 55%;
    left: 50%;
    z-index: 3;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
    -webkit-transform: translate3d(-50%,-50%,0);
    -moz-transform: translate3d(-50%,-50%,0);
    -ms-transform: translate3d(-50%,-50%,0);
    -o-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
    background-color: rgba(0, 0, 0, 0.4);
}

.hero h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
    padding: 0;
    color: #fff;
}
.hero h1 a {
    color: #f28c00;
    text-decoration: none;
}
.hero h1 a:hover {
    color: #FFF;
    text-decoration: none;
}
.hero h2 {
    font-size: 2em;
    font-weight: 300;
    margin: 0;
    padding: 0;
    color: #fff;
    text-transform: none;
}
.hero h3 {
    font-size: 1.5em;
    font-weight: 400;
    margin: 0 auto;
    padding: 0;
    color: #fff;
    width: 50%;
    text-transform: none;
    text-align: center;
}

.hero .calltoaction a {
    font-size:1em;
    font-weight: 600;
    color:#000;padding: 2px 10px;
    background-color: rgba(255, 255, 255, 0.65);
    border:1px solid #FFF;
    border-radius: 4px;
    text-shadow: 0px 2px 26px #FFF;

}
.fade-carousel .carousel-inner .item .hero {
    opacity: 0;
    -webkit-transition: 1s all ease-in-out .1s;
    -moz-transition: 1s all ease-in-out .1s;
    -ms-transition: 1s all ease-in-out .1s;
    -o-transition: 1s all ease-in-out .1s;
    transition: 1s all ease-in-out .1s;
}
.fade-carousel .carousel-inner .item.active .hero {
    opacity: 1;
    -webkit-transition: 1s all ease-in-out .1s;
    -moz-transition: 1s all ease-in-out .1s;
    -ms-transition: 1s all ease-in-out .1s;
    -o-transition: 1s all ease-in-out .1s;
    transition: 1s all ease-in-out .1s;
}

/********************************/
/*            Overlay           */
/********************************/
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #080d15;
    opacity: .7;
}

/********************************/
/*          Custom Buttons      */
/********************************/
.btn.btn-lg {padding: 10px 40px;}
.btn.btn-hero,
.btn.btn-hero:hover,
.btn.btn-hero:focus {
    color: #f5f5f5;
    background-color: #1abc9c;
    border-color: #1abc9c;
    outline: none;
    margin: 20px auto;
}
.btn.btn-lg {padding: 10px 40px;}
.btn.btn-global-rank,
.btn.btn-global-rank:hover,
.btn.btn-global-rank:focus {
    color: #f5f5f5;
    background-color: ##337ab7;
    border-color: ##337ab7;
    outline: none;
    margin: 20px auto;
}
/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide-1,
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3 {
    height: 100%;
    background-size:auto ;
    background-position:top center;
    background-repeat: no-repeat;
}
/*.fade-carousel .slides .slide-1 {
  background-image: url(https://ununsplash.imgix.net/photo-1416339134316-0e91dc9ded92?q=75&fm=jpg&s=883a422e10fc4149893984019f63c818);
}
.fade-carousel .slides .slide-2 {
  background-image: url(https://ununsplash.imgix.net/photo-1416339684178-3a239570f315?q=75&fm=jpg&s=c39d9a3bf66d6566b9608a9f1f3765af);
}
.fade-carousel .slides .slide-3 {
  background-image: url(https://ununsplash.imgix.net/photo-1416339276121-ba1dfa199912?q=75&fm=jpg&s=9bf9f2ef5be5cb5eee5255e7765cb327);
}*/

/*EWS News stories*/
.dark-bg a:not(.btn)  {
    text-decoration: none;
}

ul.ews_news_listing {
    list-style: none;
    padding: 10px 0px 10px 20px;
}
ul.ews_news_listing li   {
    padding-bottom: 10px;
}
ul.ews_news_listing li a  {
    font-size: 16px;
}
ul.ews_news_listing li a:hover  {
    color:#f28c00;
}
ul.ews_news_listing li a span  {
    font-size: 22px;
    font-weight: 500;
}
ul.ews_news_listing li a span:hover  {
    color:#f28c00;
}

.ews_ranking_news {
    position: absolute;
    margin: 0;
    height: 100%;
    background-size: cover;
    background-position:bottom center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.ews_ranking_news_content {
    position: relative;
    color: #fff;
    text-align: left;
    text-shadow: 1px 1px 0 rgba(0,0,0,.9);
    padding: 380px 10px 20px 20px;
}
.ews_ranking_news a {
    margin: 0;
    padding: 0;
    color: #fff;
}
.ews_ranking_news a:hover {
    margin: 0;
    padding: 0;
    color:#f28c00;
    text-decoration: none;
}
.ews_ranking_news h1 {
    font-size: 1.9em;
    font-weight: 500;
    margin: 0;
    padding: 0;
    color: #fff;
    width: 100%;
}
.ews_ranking_news h2 {
    font-size: 1.2em;
    font-weight: 400;
    margin: 0;
    padding: 0;
    color: #fff;
    text-transform: none;
    width: 75%;
}


.ews_small_news_left {
    position: absolute;
    top:0;
    bottom: 0;
    margin: 0;
    min-height: 300px;
    height: 100%;
    color: #fff;
    text-align: left;
    text-shadow: 1px 1px 0 rgba(0,0,0,.9);
    padding: 180px 10px 20px 10px;
    background-size: cover;
    background-position:bottom center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.ews_small_news_left a {
    margin: 0;
    padding: 0;
    color: #fff;
}
.ews_small_news_left a:hover {
    margin: 0;
    padding: 0;
    color:#f28c00;
    text-decoration: none;
}
.ews_small_news_left h1 {
    font-size: 1.9em;
    font-weight: 500;
    margin: 0;
    padding: 0;
    color: #fff;
    width: 100%;
}
.ews_small_news_left h2 {
    font-size: 1.2em;
    font-weight: 400;
    margin: 0;
    padding: 0;
    color: #fff;
    text-transform: none;
    width: 75%;
}




.home-content-section {
    padding: 10px 0px;
}

/* carousel */
.partner .carousel
{
    margin-bottom: 0px;
    padding: 12px 0px 0px 0px;
    background: #000;
}
.partner .thumbnail {
    background: #000;
    border: none;
    margin-bottom: 5px;

}
.partner .carousel img
{
    width: 93px;
    height: 40px;
}

.partner .carousel-control 			 { width:  4%; }
.partner .carousel-control.left,.carousel-control.right {margin-left:15px;background-image:none;}
@media (max-width: 767px) {
    .partner.carousel-inner .active.left { left: -100%; }
    .partner .carousel-inner .next        { left:  100%; }
    .partner.carousel-inner .prev		 { left: -100%; }
    /*.active > div { display:none; }
    .active > div:first-child { display:block; }
	update for mobile slider render
  */
.carousel .carousel-inner .item > div {
    background-position: center;
    height: 100%;
    background-size: cover;
}
	
	
    #rider_results_filter { display: none; visibility: hidden}
}
@media (min-width: 767px) and (max-width: 992px ) {
    .partner.carousel-inner .active.left { left: -50%; }
    .partner.carousel-inner .next        { left:  50%; }
    .partner.carousel-inner .prev		 { left: -50%; }
    /*.active > div { display:none; }*/
    .active > div:first-child { display:block; }
    .active > div:first-child + div { display:block; }
}
@media (min-width: 992px ) {
    .partner.carousel-inner .active.left { left: -25%; }
    .partner.carousel-inner .next        { left:  25%; }
    .partner.carousel-inner .prev		 { left: -25%; }
    .rider-profile-index img {
        border-radius: 50%;
    }
    .rider-profile-index h3 {
        margin-top: 3px;
    }
    .rider-profile-index h4 {
        font-weight: 400;
        font-size: 14px;
    }
    .rider-profile-index .flag {
        border-radius: 2px;
        text-align: center;
        vertical-align: middle;
        margin: 5px auto 0px auto;
    }
}
.ews-heading {
    color:#f28c00;
    font-weight: 600;
}




/* End carousel */
h2.homeh2 {
    margin-bottom: 10px;
}
/********************************/
/*          Media Queries       */
/********************************/
.team-profile {
    background-position: center top;
    background-size: cover;
    width: 100%;
    min-height: 400px;
}
.team-profile img {
    position: relative;
    float: left;
    bottom: 20px;
    left:20px;
    margin: 280px 0px 0px 0px;
    max-height: 150px;

}
.team-rider-list {
    margin-left:auto;
    margin-right:auto;
    display:block;
    text-align: center;
}
.team-rider-list .rider-img {
    width: 200px;
    height: 200px;
    border-radius: 50% 50%;
    margin-left:auto;
    margin-right:auto;
}
.team-rider-list .flag {
    margin-left:auto;
    margin-right:auto;
}

.rider-follow {
    position: relative;
    right:10px;
    bottom: 0px;
    float: right;
}
.rider-profile {
    background-image: url(/images/rider_backer.jpg);
    background-position: right top;
    width: 100%;
    min-height: 300px;
    height: 100%;
}
.rider-profile img {
    position: relative;
    float: left;
    bottom: 20px;
    left:20px;
    margin: 100px 0px 0px 0px;
    width: 200px;
    height: 200px;
    border-radius: 50% 50%;
}

.rider-profile-text {
    position: relative;
    bottom:20px;
    float: left;
    margin-left: 35px;
    padding: 110px 0px 0px 0px;
}

.rider-profile-text .flag {
    border-radius: 2px;
    width: 35px; height: 25px;
}
.rider-profile-text .social-links {
    list-style: none;
    font-size: 0;
    padding: 0;
    margin: 10px 0 10px 0;
}
.rider-profile-text h1{
    font-size: 32px;
    color:#FFFFFF;
    margin: 0px;
    padding: 0px;
}
.rider-profile-text h2{
    font-size: 28px;
    color:#FFFFFF;
    margin: 0px;
    padding: 0px;
}
.rider-profile-text h3{
    font-size: 18px;
    color:#FFFFFF;
    font-weight: 400;
    margin: 4px 0px 0px 0px;
    padding: 0px;
}
.rider-follow {
    position: relative;
    right:10px;
    bottom: 10px;
    float: right;
    margin: 250px 10px 0px 0px;
    height:35px;
}
.team-follow {
    position: relative;
    float: right;
    margin: 290px -110px 0px 0px;
    height:45px;
}
.rider_results th {
    font-size: 20px;
    font-weight: 500;
}
.rider_results td {
    font-size: 16px;
    font-weight:400;
}
.rider_results {
    margin-bottom: 30px;
}
.rider_ranking_results th {
    font-size: 17px;
    font-weight: 600;
}
.rider_ranking_results td {
    font-size: 15px;
    font-weight:400;
}
.rider_ranking_results {
    margin-bottom: 30px;
}
@media (max-width:768px)
{
    .index-rider-listing-content {
        margin-top: -10px;
    }
    .index-rider-listing  {
        padding-bottom: 10px;
    }
    .index-rider-listing h3 {
        font-size: 16px;
        font-weight: 500;
    }
    .index-rider-listing h4 {
        font-size: 14px;
        font-weight: 400;
    }
    .index-rider-listing p {
        font-size: 14px;
        font-weight: 300;
    }
    .index-rider-listing img {
        border-radius: 50%;
    }
    h2.ews-news-header {
        font-size: 20px;
        font-weight: 300;
    }
    ul.ews_news_listing {
        list-style: none;
        padding: 10px 0px 10px 20px;
    }
    ul.ews_news_listing li   {
        padding-bottom: 10px;
    }
    ul.ews_news_listing li a  {
        font-size: 15px;
        color:#f28c00
    }
    ul.ews_news_listing li a:hover  {
        color:#EEE;

    }
    ul.ews_news_listing li a span  {
        font-size: 18px;
        font-weight: 400;
    }
    ul.ews_news_listing li a span:hover  {
        color:#f28c00;
    }
    .rider-follow {
        position: relative;
        float: right;
        margin: -20px 0px 0px 0px;
        height:35px;

    }
}

@media (min-width: 1200px){
    h2.ews-news-header {
        font-size: 20px;
        font-weight: 300;
    }
    ul.ews_news_listing {
        list-style: none;
        padding: 10px 0px 10px 20px;
    }
    ul.ews_news_listing li   {
        padding-bottom: 10px;
    }
    ul.ews_news_listing li a  {
        font-size: 15px;
        color:#f28c00;
    }
    ul.ews_news_listing li a:hover  {
        color:#EEE;

    }
    ul.ews_news_listing li a span  {
        font-size: 18px;
        font-weight: 400;
    }
    ul.ews_news_listing li a span:hover  {
        color:#f28c00;
    }
    .row.display-flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .row.display-flex > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

    .ews_small_news {
        position: absolute;
        top:0;
        bottom: 0;
        margin: 0;

        height: 100%;
        color: #fff;
        text-align: left;
        /*    text-shadow: 1px 1px 0 rgba(0,0,0,.9);
        */	padding: 160px 10px 20px 15px;
        background-size: cover;
        background-position:bottom center;
        background-repeat: no-repeat;
        overflow: hidden;
    }
    .ews_small_news a {
        margin: 0;
        padding: 0;
        color: #fff;
    }
    .ews_small_news a:hover {
        margin: 0;
        padding: 0;
        color:#f28c00;
        text-decoration: none;
    }
    .ews_small_news h1 {
        font-size: 24px;
        font-weight: 400;
        margin: 0;
        padding: 0;
        color: #fff;
        width: 100%;
    }
    .ews_small_news h2 {
        font-size: 16px;
        font-weight: 400;
        margin: 0;
        padding: 0;
        color: #fff;
        text-transform: none;
        width: 75%;
    }

    .ews_ranking_news {
        position: absolute;
        margin: 0;
        height: 100%;
        padding: 0;
        min-height: 300px;
        background-size: cover;
        background-position:bottom center;
        background-repeat: no-repeat;
        overflow: hidden;
    }
    .ews_ranking_news_content {
        position: relative;
        color: #fff;
        text-align: left;
        text-shadow: 1px 1px 0 rgba(0,0,0,.9);
        padding: 450px 10px 20px 20px;
    }
    .ews_ranking_news a {
        margin: 0;
        padding: 0;
        color: #fff;
    }
    .ews_ranking_news a:hover {
        margin: 0;
        padding: 0;
        color:#f28c00;
        text-decoration: none;
    }
    .ews_ranking_news h1 {
        font-size: 1.9em;
        font-weight: 500;
        margin: 0;
        padding: 0;
        color: #fff;
        width: 100%;
    }
    .ews_ranking_news h2 {
        font-size: 1.2em;
        font-weight: 400;
        margin: 0;
        padding: 0;
        color: #fff;
        text-transform: none;
        width: 75%;
    }
    .index-rider-listing h3 {
        font-size: 16px;
        font-weight: 500;
    }
    .index-rider-listing h4 {
        font-size: 14px;
        font-weight: 400;
    }
    .index-rider-listing p {
        font-size: 14px;
        font-weight: 300;
    }
    .index-rider-listing img {
        border-radius: 50%;
    }

    img.img-rider-listing-img {
        width:200px;
    }

    .rider-profile-index img {
        border-radius: 50%;
    }
    .rider-profile-index h3 {
        margin-top: 3px;
    }
    .rider-profile-index h4 {
        font-weight: 400;
        font-size: 14px;
    }
    .rider-profile-index .flag {
        border-radius: 2px;
        text-align: center;
        vertical-align: middle;
        margin: 5px auto 0px auto;
    }

}
.hero h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
    padding: 0;
    width: 100%;
    color: #fff;
}
.hero h2 {
    font-size: 1.5em;
    font-weight: 300;
    margin: 0;
    padding: 0;
    color: #fff;
    text-transform: none;
}
.hero h3 {
    font-size: 1.5em;
    font-weight: 500;
    margin: 0 auto;
    padding: 0;
    color: #fff;
    width: 100%;
    text-transform: none;
    text-align: center;
}

.hero a.calltoaction {
    font-size:0.3em;
    font-weight: 600;
    color:#000;padding: 2px 10px;
    background-color: rgba(255, 255, 255, 0.6);
    border:1px solid #FFF;
    border-radius: 4px;
    text-shadow: 0px 2px 26px #FFF;
}
/* #####  END 1200 MIN ###### */


@media screen and (min-width: 980px){
    .hero { width: 980px; }
    .row.display-flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .row.display-flex > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
}

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

    .ews_small_news a {
        margin: 0;
        padding: 0;
        color: #fff;
    }
    .ews_small_news a:hover {
        margin: 0;
        padding: 0;
        color:#f28c00;
        text-decoration: none;
    }
    .ews_small_news h1 {
        font-size: 1.9em;
        font-weight: 500;
        margin: 0;
        padding: 0;
        color: #fff;
        width: 100%;
    }
    .ews_small_news h2 {
        font-size: 1.2em;
        font-weight: 400;
        margin: 0;
        padding: 0;
        color: #fff;
        text-transform: none;
        width: 75%;
    }

    .rider-profile-index img {
        border-radius: 50%;
        width: 200px;
        margin: 0px auto;
    }
    .rider-profile-index h3 {
        margin-top: 3px;
    }
    .rider-profile-index h4 {
        font-weight: 400;
        font-size: 14px;
    }
    .rider-profile-index .flag {
        border-radius: 2px;
        text-align: center;
        vertical-align: middle;
        margin: 5px auto 0px auto;
    }
}
@media screen and (max-width: 640px){
    .hero {
        top: 50%;
        width: 100%;
    }
    .hero h1 {
        font-size: 1.7em;
        font-weight: 700;
        margin: 0;
        padding: 0;
        width: 100%;
        color: #fff;
    }
    .hero h2 {
        font-size: 1.6em;
        font-weight: 300;
        margin: 0;
        padding: 0;
        color: #fff;
        width: 100%;
        text-transform: none;
    }
    .hero h3 {
        font-size: 1.45em;
        font-weight: 600;
        margin: 0 auto;
        padding: 0;
        color: #fff;
        width: 100%;
        text-transform: none;
        text-align: center;
    }

    .hero .calltoaction a {
        font-size:1.3em;
        font-weight: 600;
        color:#000;padding: 2px 10px;
        background-color: rgba(255, 255, 255, 0.65);
        border:1px solid #FFF;
        border-radius: 4px;
        text-shadow: 0px 2px 26px #FFF;

    }
    .ews_small_news {
        min-height: 300px;
        height: 100%;
        position: relative;
        color: #fff;
        text-align: left;
        text-shadow: 1px 1px 0 rgba(0,0,0,.9);
        padding: 150px 10px 20px 20px;
    }
    .ews_small_news a {

        color: #fff;
    }
    .ews_small_news a:hover {

        color:#f28c00;
        text-decoration: none;
    }
    .ews_small_news h1 {
        font-size: 1.9em;
        font-weight: 500;

        color: #fff;
        width: 100%;
    }
    .ews_small_news h2 {
        font-size: 1.2em;
        font-weight: 400;

        color: #fff;
        text-transform: none;
    }
    .rider-profile-index img {
        border-radius: 50%;
        width: 200px;
        margin: 0px auto;
    }
    .rider-profile-index h3 {
        margin-top: 3px;
    }
    .rider-profile-index h4 {
        font-weight: 400;
        font-size: 14px;
    }
    .rider-profile-index .flag {
        border-radius: 2px;
        text-align: center;
        vertical-align: middle;
        margin: 5px auto 0px auto;
    }
}

@media screen and (min-width: 641px) and  (max-width: 797px){
    .hero {
        top: 60%;
    }
    .hero h1 {
        font-size: 3em;
        font-weight: bold;
        margin: 0;
        padding: 0;
        width: 100%;
        color: #fff;
    }
    .hero h2 {
        font-size: 1.5em;
        font-weight: 300;
        margin: 0;
        padding: 0;
        color: #fff;
        text-transform: none;
    }
    .hero h3 {
        font-size: 1.5em;
        font-weight: 500;
        margin: 0 auto;
        padding: 0;
        color: #fff;
        width: 100%;
        text-transform: none;
        text-align: center;
    }

    .hero a.calltoaction {
        font-size:0.3em;
        font-weight: 600;
        color:#000;padding: 2px 10px;
        background-color: rgba(255, 255, 255, 0.6);
        border:1px solid #FFF;
        border-radius: 4px;
        text-shadow: 0px 2px 26px #FFF;
    }

}


/* homepage */

.desktop-absolute{
    position:absolute;
}


@media (max-width: 767px) {
    .fade-carousel .slides .slide-1,
    .fade-carousel .slides .slide-2,
    .fade-carousel .slides .slide-3 {
        height: 100%;
        background-size:cover ;
        background-position:top center;
        background-repeat: no-repeat;
    }


    .front .home-content-section.section-carousel .carousel {
        margin:0;
        height: 40vh;
        /*max-height:300px;*/
    }


    .front .home-content-section.section-carousel .carousel .carousel-inner .item{
        padding:0;
        height: 40vh;
    }
    .front .carousel .carousel-inner .item{
        /*padding:10px 0;*/
        /*float:left;*/
    }
    .front .carousel .carousel-inner .item img{
        margin:auto;
        padding: 10px 0 !important;
        height:40px;
    }

    .front .home-content-section{
        padding-top:0;
    }


    .footer-content{
        margin:20px 0;
    }
    .front .ews_ranking_news{
        position:inherit;
    }

    .header-top-dropdown .dropdown > button{
        padding: 8px 7px;
    }

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

    .no-bottom-mobile-margin{
        margin-bottom:0 !important;
    }

    .fade-carousel .carousel-inner .item .hero{
        display: block;
        width: 100%;
        font-size: 12px;
        padding: 10px;
        opacity:1;
		margin-top: 70px;
    }

    /*.navbar{
        position: absolute;
        right: 0;
        top: -60px;
        background: none;
        border: none;
        width: 100%;
        z-index: 99999;
    }*/
    .dark.header .navbar-default{
        background: none !important;
        border:none;
        min-height: auto;
        margin:0;
    }
    .dark.header .navbar-default .navbar-toggle{
        position: absolute;
        right: 0;
        top: -50px;
    }
    .navbar {
        background: none;
        min-height:inhert;
    }
    .navbar-default .navbar-collapse{
        margin: 12px 0 5px;
    }

    .col2grid .no-gutter-mobile{
        padding:0 !important;

    }

    .hero {
        text-shadow: 0px 2px 20px #111;
        background-color: rgba(0, 0, 0, 0);
    }

    .hero a.btn{
        background-color:#f28c00;
        border:none;
    }


}  /* end of 767 limit*/


.no-col-padding {padding-left:0; padding-right:0;}
.front .no-mobile-padding{padding-right:0;  overflow-x:hidden;}
.front .section-carousel .carousel .carousel-inner .item{
    padding:0;

}
.front .ews-select{
    width:100%;
}
.front .row {
    margin-bottom: 1rem;
}
.front .home-content-section{
    padding:0;
    margin:0;
}
#dropdownMenuLink, #ewscatselector{
    text-align: left;
    display:block;
    color:#fff;
}

.dropdown-menu{
    background-color:#1f1f1f;
    z-index:99999;
}
.dropdown .dropdown-menu .dropdown-item {
    padding:10px 10px;
    display:block;
}

.carousel.fade {
    opacity: 1;
}
.carousel.fade .item {
    /* transition: opacity ease-out .7s; */
    left: 0;
    display:none;
    top: 0;
    position: absolute;
    width: 100%;
    /* display: block; */
}
.carousel.fade .item:first-child {
    top: auto;
    display:block;
    position: relative;
}
.carousel.fade .item.active {
    display:block;
}


td.details-control {
    background: url('https://www.datatables.net/examples/resources/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('https://www.datatables.net/examples/resources/details_close.png') no-repeat center center;
}

/* Wpdreamer Edits */

.latest-news ul.ews_news_listing li a span{
    color:#f28c00;
}
.header-top.dark .row{
    margin-bottom:0;
}

.sideham{
    display:none;
}






@media screen and (max-width: 640px){
    .front .ews_ranking_news{
        background-position:top center;
    }
    .front .ews_ranking_news_content{
        padding-top: 60px;
    }
    .front .ews_small_news{
        background-size: cover;
        padding-top: 50px;
        min-height: inherit;
    }

    #logo{
        margin-left: 25%;
    }
    .dark.header .navbar-default .navbar-toggle{
        left:20px;
        max-width:44px;
    }
    .rider-profile-text{
        margin-left: 0;
        padding: 15px;
        background: #000;
        width: 100%;
        padding-bottom: 10px;
    }

    .latest-news h2.ews-news-header{
        color:#343434;
    }
    .latest-news{
        background:#fff;
    }
    .latest-news .ews_news_listing li a{
        color:#343434;
    }
    .hero H4 a{
        font-size: 22px;
        color:#000;
        border:none;
        text-shadow: 0px 2px 26px #FFF;
    }




    #sidenav{
        display:none;
    }
    /*edit by ML*/
    .sideham {
        display:block;
        font-size:20px;
        text-decoration:none !important;
        border:1px #C4C4C4 solid;
        border-radius: 3px;
        margin: 0px auto 10px auto;
        padding: 2px 0px 0px 5px;
        background: #E9871D;
        color:#FFF;
    }
    .sideham .fa {
        float: right;
        padding: 5px 8px;
    }


}

/* end 678 */

@media (max-width: 1028px) {
    .desktop-absolute{
        position:inherit;
    }
    .col2grid .desktop-absolute{
        margin-top:1rem;
    }
    .rider-follow{
        position: inherit;
        padding: 0px 0px 0px 0px;
        /*top: 170px;
        right: 18px;*/
    }
    .scrolltable{
        overflow:scroll;
    }

}


.carousel-inner .item {
    padding: 0px 5px 0px 5px;
}


@media (min-width: 1028px) {
    .carousel .item-wp-container{
        display:table;
    }

    .carousel .item-wp-wrapper{
        display:table-cell;
    }

    .carousel-inner .item img {
        text-align: center;
        vertical-align:middle;
        margin:auto;
    }

    .carousel, .carousel div{
        height:100%;
        vertical-align:middle;
    }

    .hero {
        top: 98%;
    }
    .hero {
        text-shadow: 0px 2px 20px #222;
        background-color: rgba(0, 0, 0, 0);
    }

    .hero a.btn{
        background-color:#f28c00;
        border:none;
    }
    .hero h1 {
        font-size: 2.2em;
        font-weight: 800;
        margin: 0;
        padding: 0;
        width: 100%;
        color: #fff;
    }
    .hero h2 {
        font-size: 1.2em;
        font-weight: 300;
        margin: 0;
        padding: 0;
        color: #fff;
        text-transform: none;
    }


    .hero .calltoaction a {
        font-size:1.2em;
        font-weight: 600;
        color:#111;padding: 4px 18px;
        background-color: rgba(255, 255, 255, 0.5);
        border:1px solid #FFF;
        border-radius: 4px;
        text-shadow: 0px 2px 26px #FFF;

    }

}

@media (min-width: 1280px) {
    .carousel .item-wp-container{
        display:table;
    }

    .carousel .item-wp-wrapper{
        display:table-cell;
    }

    .carousel-inner .item img {
        text-align: center;
        vertical-align:middle;
        margin:auto;
    }

    .carousel, .carousel div{
        height:100%;
        vertical-align:middle;
    }

    .hero {
        top: 90%;
    }
    .hero {
        text-shadow: 0px 2px 20px #222;
        background-color: rgba(0, 0, 0, 0);
    }

    .hero a.btn{
        background-color:#f28c00;
        border:none;
    }
    .hero h1 {
        font-size: 2.2em;
        font-weight: 800;
        margin: 0;
        padding: 0;
        width: 100%;
        color: #fff;
    }
    .hero h2 {
        font-size: 1.2em;
        font-weight: 300;
        margin: 0;
        padding: 0;
        color: #fff;
        text-transform: none;
    }


    .hero .calltoaction a {
        font-size:1.2em;
        font-weight: 600;
        color:#111;padding: 4px 18px;
        background-color: rgba(255, 255, 255, 0.5);
        border:1px solid #FFF;
        border-radius: 4px;
        text-shadow: 0px 2px 26px #FFF;

    }

}

@media (min-width: 1920px) {
    .carousel .item-wp-container{
        display:table;
    }

    .carousel .item-wp-wrapper{
        display:table-cell;
    }

    .carousel-inner .item img {
        text-align: center;
        vertical-align:middle;
        margin:auto;
    }

    .carousel, .carousel div{
        height:100%;
        vertical-align:middle;
    }

    .hero {
        top: 95%;
    }
    .hero {
        text-shadow: 0px 2px 20px #222;
        background-color: rgba(0, 0, 0, 0);
    }

    .hero a.btn{
        background-color:#f28c00;
        border:none;
    }
    .hero h1 {
        font-size: 2.2em;
        font-weight: 800;
        margin: 0;
        padding: 0;
        width: 100%;
        color: #fff;
    }
    .hero h2 {
        font-size: 1.2em;
        font-weight: 300;
        margin: 0;
        padding: 0;
        color: #fff;
        text-transform: none;
    }


    .hero .calltoaction a {
        font-size:1.2em;
        font-weight: 600;
        color:#111;padding: 4px 18px;
        background-color: rgba(255, 255, 255, 0.5);
        border:1px solid #FFF;
        border-radius: 4px;
        text-shadow: 0px 2px 26px #FFF;

    }

}
@media (min-width: 2300px) {
    .carousel .item-wp-container{
        display:table;
    }

    .carousel .item-wp-wrapper{
        display:table-cell;
    }

    .carousel-inner .item img {
        text-align: center;
        vertical-align:middle;
        margin:auto;
    }

    .carousel, .carousel div{
        height:100%;
        vertical-align:middle;
    }

    .hero {
        top: 80%;
    }
    .hero {
        text-shadow: 0px 2px 20px #222;
        background-color: rgba(0, 0, 0, 0);
    }

    .hero a.btn{
        background-color:#f28c00;
        border:none;
    }
    .hero h1 {
        font-size: 2.2em;
        font-weight: 800;
        margin: 0;
        padding: 0;
        width: 100%;
        color: #fff;
    }
    .hero h2 {
        font-size: 1.2em;
        font-weight: 300;
        margin: 0;
        padding: 0;
        color: #fff;
        text-transform: none;
    }


    .hero .calltoaction a {
        font-size:1.2em;
        font-weight: 600;
        color:#111;padding: 4px 18px;
        background-color: rgba(255, 255, 255, 0.5);
        border:1px solid #FFF;
        border-radius: 4px;
        text-shadow: 0px 2px 26px #FFF;

    }

}

/* Wpdreamer web dev popup */

/* Styles for dialog window */
#small-dialog {
    background: #333;
    padding: 20px 30px;
    text-align: left;
    max-width: 400px;
    margin: 40px auto;
    color:#fff;
    position: relative;
}

#small-dialog a{
    color:#fff;
    text-decoration:none;
}
/**
 * Fade-zoom animation for first dialog
 */

/* start state */
.my-mfp-zoom-in .zoom-anim-dialog {
    opacity: 0;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;



    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
    opacity: 1;

    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);

    opacity: 0;
}

/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}
/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}
.hero .calltoaction {
    margin: 10px;
}

.share-holder {
	display: none;
}