/* disable input:number arrows Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

#BlockInfo {
    /*position: absolute;*/
    /*top: 20%;*/
    /*left: 35%;*/
    width: 100%;
    max-width: 600px;
    display: none;
    margin: 5% auto;
    padding: 2%;
    background: #b93737;
    text-align: center;
    font-weight: bold;
    color: #fff;
    font-size: 1.3em;
    line-height: 160%;
}

body {
    font-family: "Mulish", sans-serif;
    width: 100% !important;
    max-width: 1220px !important;
    margin: 0 auto;
    padding: 0;
    background-color: rgb(35, 31, 32);
    /*background-image: url("../images/dfbg.jpg");*/
    background-repeat: repeat;
}

main {
    background: white !important;
    padding: 1%;
}

a {
    font-weight: bold !important;
}

header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    /*align-items: flex-start;*/
    padding: 1% 0 .5%;
}

.header-logo {
    width: 25% !important;
    text-align: center;
}

.header-logo img {
    width: 100%;
    max-width: 400px;
    padding-bottom: 1%;
}

.header-flags {
    /*text-align: right;*/
}

.header-signup {
    width: 65% !important;
    /*min-width: 420px;*/
    /*text-align: center;*/
}

.search-top {
    width: 150px;
}

nav {
    /*margin-bottom: 5px;*/
}

.nav-left {
    /*width: 50%;*/
    /*min-width: 420px;*/
}

.topnav {
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    /*background-color: #f8f5f0;*/
}

.topnav a {
    display: inline-block;
    text-align: center;
    padding: 4px 8px;
    text-decoration: none;
    font-size: 1.2em;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #4CAF50;
    color: white;
}

.topnav-right a {
    font-size: 1em;
}

.topnav-icon {
    display: none;
}

.topnav-menu {
    display: none;
}

main {
    background: transparent;
    min-height: 300px;
}

footer {
    /*border-top: 1px solid #ced4da;*/
    padding: 0;
    padding-bottom: 2%;
    text-align: center;
    font-weight: bold;
}

.blok-event-container {
    width: 33%;
}

.blok-event {
    width: 100% !important;
    padding: .5%;
    border-bottom: 1px solid #f7f7f7;
}

.online-name {
    padding: 2px;
    text-align: left;
    font-weight: bold;
}

.onl-event {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 400px;
    padding: 2px 0;
    text-align: left;
}

.onl-logo {
    align-self: center;
    width: 120px;
    min-height: 75px;
    /*padding: 2px 2px;*/
    /*margin: 0 auto;*/
}

.onl-logo img {
    max-width: 98%;
    max-height: 68px;
}

.online-right {
    width: 62%;
    font-size: .85em;
    padding-left: 5px;
    line-height: 130%;
}

.onl-event a {
    /*font-size: 13px;*/
    /*font-family: "Play", sans-serif;*/
}

.onl-event-sections {
    margin-top: 3px;
    line-height: 100%;
}

.onl-event-sections a {
    font-size: .9em;
}

.onl-live-results table {
    margin: 3px 0;
}

.live-results td {
    font-size: .8em;
    padding: 2px;
    height: 16px;
    vertical-align: top;
}

.user-registration {
    width: 100%;
    padding: 2%;
    max-width: 460px;;
}

.w-48 {
    width: 48%;
}

.w-52 {
    width: 52%;
}

.fs-09 {
    font-size: .85em !important;
}

.fs-08 {
    font-size: .75em !important;
}

.fs-07 {
    font-size: .7em !important;
}

.fs-091 {
    font-size: .91em !important;
}

.fs-11 {
    font-size: 1.1em !important;
}

.fs-12 {
    font-size: 1.2em !important;
}

.fs-13 {
    font-size: 1.3em !important;
}

.text-line-through {
    text-decoration: line-through;
}

.c-blue {
    color: darkblue;
}

.c-orange {
    color: orangered;
}

.text-df a:link {
    color: #fa7046;
}

.text-df a:hover {
    color: #fb815c;
}

.text-df a:visited {
    color: #dc4e25;
}

.df-background {
    background-color: #191919;
}

.df-card {
    min-width: 200px;
}

img.flag-m {
    width: 30px;
    height: auto;
    /*padding-bottom: 2px;*/
}

img.flag-s {
    width: 20px;
    height: auto;
    /*padding-bottom: 2px;*/
}

img.flag-sp {
    width: 28px;
    height: auto;
}


img.flag-sm {
    width: 16px;
    height: auto;
    padding-bottom: 3px;
}

.m1px {
    margin: 1px;
}

.minw25px {
    min-width: 25px;
}

.w25px {
    width: 28px;
}

.w25pxfix {
    width: 30px;
    height: 25px;
}

.w30px {
    width: 30px;
}

.w40px {
    width: 40px;
}

.w45px {
    width: 45px;
}

.w55px {
    min-width: 55px;
}

.w65px {
    min-width: 65px;
}

.w90px {
    width: 90px;
}

.w-8 {
    width: 8%;
}

.w-10 {
    width: 10%;
}

.w-15 {
    width: 15%;
}

.w-18 {
    width: 18%;
}

.w-20 {
    width: 20%;
}

.w-25 {
    width: 25%;
}

.w-30 {
    width: 30%;
}

.w-33 {
    width: 33%;
}

.w-35 {
    width: 35%;
}

.w-40 {
    width: 40%;
}

.w-70 {
    width: 70%;
}

.h40px td {
    height: 40px;
}

.h12px {
    height: 11px;
}

#adblock-warning {
    display: none;
}

.mw-600 {
    max-width: 600px;
}

.mw-100 {
    max-width: 100%;
}

.mw-49 {
    max-width: 49%;
}

.mh-15px {
    max-height: 15px;
}

.lh-130 {
    line-height: 130% !important;
}

.lh-120 {
    line-height: 120% !important;
}

.lh-110 {
    line-height: 110% !important;
}

.bc-grey {
    background-color: #aaa !important;
}

.bc-dark-grey {
    background-color: #666 !important;
}

.bc-light-grey {
    background-color: #f6f6f6 !important;
}

.calendar-week {
    border-top: 1px solid #F7F7F7;
    border-bottom: 1px solid #F7F7F7;
}

.service {
    font-size: .8em;
    margin: 1px;
    padding: 2px;
}

.leg {
    margin: 1px;
}

.leg-hidden {
    width: 25px;
    visibility: hidden;
}

.stage-name-break {
    display: none;
}

.stage-name-dash {
    display: inline;
}

.stage-results-codriver-break {
    display: none;
}

.stage-results-codriver-dash {
    display: inline;
}

.retired-codriver-break {
    display: none;
}

.sretired-codriver-dash {
    display: inline;
}

.legs-codriver-break {
    display: none;
}

.dash {
    display: inline;
}

.retired-inc-codriver-break,
.penalty-inc-codriver-break {
    display: none;
}

.retired-inc-codriver-dash,
.penalty-inc-codriver-dash {
    display: inline;
}

.shake-codriver-break {
    display: none;
}

.shake-codriver-dash {
    display: inline;
}

.final-results-codriver-break {
    display: none;
}

.final-results-codriver-dash {
    display: inline;
}

.results td {
    vertical-align: top;
    padding: 2px;
    line-height: 130%;
    /*font-size: .85em;*/
    border-bottom: 1px solid #f7f7f7;
    /*background: #FAFAFA;*/
}

.td-130 td {
    line-height: 115%;
}

.shake td {
    vertical-align: middle;
    padding: 3px;
    line-height: 130%;
    /*font-size: .9em;*/
}

.stage-results-drivers-icon {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 5px;
    /*width: 30px;*/
}

.stage-results-drivers-icon img {
    /*max-width: 30px;*/
}

.tyre-position {
    position: absolute;
    bottom: -12px;
    right: 0;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.final-tyre-position {
    position: absolute;
    bottom: 3px;
    left: .5rem;
    height: 100%;
    z-index: -1;
    display: flex;
    flex-direction: column-reverse;
    justify-content: end;
    align-items: end;
}

.tyre-brand img {
    height: 8px;
    opacity: 1;
}

.video-list-item {
    margin: 0.2%;
    width: 19.6%;
    min-width: 150px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.video-list-bottom {
    min-height: 40px;
    max-height: 80px;
    padding: 1%;
    border-bottom: 1px solid #F7F7F7;
}

.video-list-thumb {
    position: relative;
    width: 100%;
}

.video-list-thumb img {
    width: 100%;
    min-width: 150px;
    z-index: 10;
}

.video-list-play {
    color: red;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 50;
    transform: translate(-50%, -50%);
}

.video-list-play:hover {
    color: #ff6600;
}

.video-holder {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin: 5px 0;
}

.video-holder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-width: 0;
}

.quick-photo-img {
    margin: .2%;
    width: 19.6%;
    min-width: 150px;
    position: relative;
}

.quick-photo-img img {
    max-width: 100%;
}


.quick-photo-img-caption {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    z-index: 2;
    width: auto;
    max-width: 178px;
    background: rgba(0, 0, 0, 0.5);
    color: #FFF;
    font-weight: bold;
    padding: 3px;
}

.widget-icon-logo {
    position: absolute;
    top: -10px;
    right: 10px;
    width: 120px;
    height: 80px;
    z-index: 2;
    background-repeat: no-repeat;
}

.widget-icon-logo2 {
    position: absolute;
    top: 0;
    left: 10px;
    width: 50px;
    height: 30px;
    z-index: 2;
    background-repeat: no-repeat;
    border: 1px solid #eee;
}

.widget-stopped,
.widget-canceled,
.widget-postponed {
    position: absolute;
    top: 5px;
    left: 70px;
    width: 200px;
    height: 58px;
    z-index: 500;
    background-repeat: no-repeat;
}

.widget-stopped {
    background: url('https://www.ewrc-results.com/images/ev_stopped.png');
    background-size: contain;
}

.widget-canceled {
    background: url("https://www.ewrc-results.com/images/ev_canceled.png");
    background-size: contain;
}

.widget-postponed {
    background: url('https://www.ewrc-results.com/images/postponed.png');
    background-size: contain;
}

.badge-xs {
    padding: .3em .3em !important;
}

.badge-dark-green {
    color: #111;
    background-color: #fde7ac;
}

.badge-grey {
    background-color: #eee;
    color: #333 !important;
}

.badge-dark-grey {
    color: #eee;
    background-color: #aaa;
}

.badge-chassis {
    color: #333;
    background-color: #eee;
    font-size: .85em;
    min-width: 40px;
}

.badge-plate {
    color: #222;
    background-color: #ddd;
    font-size: .85em;
    min-width: 105px;
    text-align: left !important;
    padding: .2rem .2rem !important;
}

.badge-nat {
    min-width: 64px !important;
    text-align: left !important;
}

.badge-noactive {
    background: #aaa;
}

.badge-exfactory {
    box-shadow: 0 -4px 0 #29abe0 inset;
}

.badge-spare {
    box-shadow: 4px 0 0 #8d016a inset;
}

.badge-destroyed {
    background: #ff9773 !important;
}

.badge-cancel {
    background: #ab2b2b !important;
    color: #fff !important;
}

.badge-actual {
    background: #f47c3c !important;
    color: #fff !important;
}

.badge-actual-chassis {
    background: #1a3783 !important;
    color: #fff !important;
}

.badge-selected {
    background-color: #d1e68d !important;
    color: #333;
}

.badge-border {
    box-shadow: -1px 1px 2px 4px rgba(60, 48, 48, 0.75);
}

.bg-warning-light {
    background: #ffcf9d;
}

.bg-info-light {
    background: #99e1ff;
}

.bg-success-light {
    background: #d6f1ae;
}

.shake-icon img {
    /*max-width: 30px;*/
}

.div-over {
    max-height: 200px;
    overflow-y: auto;
}

.div-over400 {
    max-height: 400px;
    overflow-y: auto;
}

.div-over600 {
    max-height: 600px;
    overflow-y: auto;
}

.div-over-x {
    overflow-x: auto;
}

.table-sm td {
    padding: .15rem .5rem;
    border-top: 1px solid transparent;
}

.table-wb td {
    border-bottom: 1px solid white;
}

.table-xsm td {
    padding: .1rem .3rem !important;
    border-top: 1px solid transparent !important;
    vertical-align: top;
}

.minh-38 td {
    height: 38px !important;
}

.image_b {
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.6);
}

.foto-number,
.foto-counter,
.foto-caption {
    position: absolute;
    padding: 1px 3px;
    color: #ccc;
    background: rgba(0, 0, 0, 0.5);
}

.foto-number {
    top: 0;
    left: 0;
}

.foto-counter {
    top: 0;
    right: 0;
}

.foto-caption {
    bottom: 0;
    left: 0;
    /*width: 100%;*/
}

.w90px {
    width: 90px;
}

.w120px {
    width: 125px;
}

.driver-info-driver-flag {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.times-one-time {
    padding: 1px;
    margin: 1px;
    min-width: 65px;
    text-align: right;
    /*font-size: .85em;*/
    line-height: 130%;
}

.cars-top-select-car-item {
    width: 170px;
    text-align: left !important;
}

.cars-top-select-maker {
    height: 25px;
}

.cars-item {
    width: 280px;
}

.car-show-start-logo {
    width: 100px;
}

.car-show-start-logo img {
    max-width: 85px;
}

.car-show-start {
    border-bottom: 1px solid #f7f7f7;
}

.car-show-start-photo {
    width: 90px;
}

.car-show-start-photo img {
    width: 100%;
    max-width: 90px;
}

img.chassis {
    max-width: 300px;
}

.chassis-info-photo img {
    max-width: 180px;
    width: 100%;
}

.photo-150 {
    width: 150px;
}

.photo-180 {
    width: 180px;
}

.owner-item {
    width: 395px;
}

.owned-car-item-photo img {
    width: 135px;
}

.owner-bottom {
    border-bottom: 1px solid #eee;
}

.act-run {
    border-left: 3px solid #f47c3c !important;
    border-right: 3px solid #f47c3c !important;
}

.body-background {
    background: white !important;
}

.profile-start-line {
    border-top: 1px solid #eee;
}

.photomain-photo {
    width: 33.3%;
    /*max-width: 360px;*/
}

.photomain-photo-inc {
    border-bottom: 1px solid #F7F7F7;
}

.photomain-thumb img {
    width: 180px;
    max-width: 180px;
    margin: .5%;
}

.photomain-caption {
    margin: 1px;
    padding: 5px;
    text-align: left;
    position: absolute;
    top: 0;
    left: 50%;
    width: 362px;
    background: rgba(0, 0, 0, 0.65);
    z-index: 5;
    line-height: 130%;
    transform: translate(-50%, 0);
}

.photomain-caption a {
    color: #ddd;
}

.contact-blok {
    border-left: 2px solid #f7f7f7;
    border-bottom: 2px solid #f7f7f7;
}

.contact-blok-photo img {
    width: 90px;
}

.stage-results-overall-caption {
    display: none;
}

.startlist-driver {
    width: 220px;
}

.photo-item {
    width: 13%;
}

.photo-item img {
    width: 100%;
    max-width: 180px;
}

.plates-foto {
    width: 16%;
}

.plates-foto img {
    width: 100%;
    max-width: 180px;
}

.quick-note {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: .5%;
    background: rgba(0, 0, 0, 0.5);
    color: #eee;
    font-size: 1.1em;
    font-weight: bold;
}

.quick-img img {
    width: 100%;
}

.info-inc-info {
    border-bottom: 1px solid #f7f7f7;
}

.times-driver {
    border-bottom: 1px solid #f7f7f7;
}

.timetable-stage {
    min-width: 200px;
}

.cars-list {
    border-bottom: 1px solid #F7F7F7;
}

/* back to top*/
.back-to-top {
    position: fixed;
    bottom: 10%;
    right: 5%;
    padding: 10px;
    /*border-radius: 10px;*/
    /*background: red;*/
    z-index: 9999;
    display: block;
    color: red;
    opacity: .8;
}

.back-to-top:hover,
.back-to-top:focus,
.back-to-top:active {
    opacity: 1;
    transition: opacity 0.1s ease-out;
}

.header-banner {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    height: auto;
    /*min-height: 38px;*/
    display: block;
}

.header-mobile {
    width: 100%;
    padding: 0;
    margin: 0;
    height: auto;
    display: none;
}

#vtipek {
    position: absolute;
    width: 200px;
    top: 0;
    right: 1%;
}

.pickems-blok {
    width: 50%;
    padding: 1%;
}

.pickem-ok {
    background: #fde7ac;
    font-weight: bold;
    margin-right: 1px;
    text-align: right;
    width: 30px;
}

.pickem-ng {
    background: indianred !important;
    font-weight: bold;
    margin-right: 1px;
    color: #FFF;
    text-align: right;
    width: 30px;
}

.pickems-pos {
    font-weight: bold;
    text-align: right;
}

.pickem-zero {
    font-weight: bold;
    background: #888;
    color: #DDD;
    text-align: right;
    width: 30px;
}

.pickems-entry {
    font-weight: bold;
}

.pickems-colspan {
    font-weight: bold;;
}

.text-right {
    font-weight: bold;
}

.ncomment {
    border: 1px solid #f7f7f7;
}

.ncomment-top {
    background: #eee;
}

.ncomment-new {
    background: #e5f0ff;
}

.harm-main {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.harm {
    border-bottom: 1px solid #F7F7F7;
}

.harm-ss {
    width: 45px;
}

.harm-stage {
    width: 50%;
}

.harm-right {

}

.harm-km {
    width: 80px;
    text-align: right;
    font-weight: bold;
}

.harm-date {
    width: 110px;
    text-align: right;
}

.harm-time {
    width: 70px;
    text-align: right;
}

.hidden {
    display: none;
}

.car-spec {
    width: 50%;
    padding: 0.3%;
}

#countdown-wrap {
    color: #0d1817;
    width: 100%;
    /*min-height: 120px;*/
    /*padding: 10px;*/
    /*max-width: 600px;*/
    margin: 1% auto;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

#goal {
    font-size: 30px;
    text-align: right;
}

#glass {
    width: 100%;
    height: 16px;
    background: #c7c7c7;
    border-radius: 8px;
    display: flex;
    justify-content: start;
    flex-wrap: nowrap;
    overflow: hidden;
}

#progress {
    float: left;
    /*width: 16%;*/
    height: 20px;
    background: #FF5D50;
    z-index: 333;
}

#countdownd {
    color: red;
}

.goal-stat {
    width: 33%;
    padding: 2px;
    text-align: center;
    font-weight: bold;
}

.strikediag {
    background: linear-gradient(to left top, transparent 46%, red 49%, red 51%, transparent 54%);
}

.badge-x {
    display: inline-block;
    padding: 0 .4em;
    /*font-size: 75%;*/
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    /*border-radius: .25rem;*/
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

/*.df-main {*/
/*    display: none;*/
/*}*/

label {
    margin-bottom: .1rem;
}

.car-spec {
    width: 50%;
    max-width: 300px;
    font-size: .8rem;
}

@media screen and (max-width: 1680px) {

    #vtipek {
        display: none;
    }
    .df-side {
        display: none;
    }
    /*.df-main {*/
    /*    display: block;*/
    /*}*/
}

@media screen and (max-width: 1200px) {

    .header-logo {
        width: 100% !important;
    }

    .header-signup {
        width: 100% !important;
        font-size: .91em;
        text-align: left;
    }

    .cars-list-icon {
        display: none;
    }

    .cars-list-car {
        width: 50% !important;
    }

    .cars-list-event {
        width: 50% !important;
    }

    .cars-list-entry {
        width: 50% !important;
    }
}

@media screen and (max-width: 1100px) {

    .contact-blok {
        width: 49% !important;
    }

    .blok-event-container {
        width: 33.3% !important;
    }

    .top-results {
        width: 49.6% !important
    }

    .top-blok div:nth-child(3) {
        display: none;
    }

    #standings {
        display: none !important;
    }

    .video-list-item {
        width: 24.5% !important;
    }

    #video-main div:nth-child(10) {
        display: none;
    }

    #video-main div:nth-child(9) {
        display: none;
    }

    .bday-blok {
        width: 50% !important;
    }

    .last-driver {
        display: none;
    }

    .second-flag {
        display: none;
    }

    .stage-results-km {
        display: none;
    }

    h3 {
        font-size: 1.05rem;
    }

    h4 {
        font-size: 1rem;
    }

    h5 {
        font-size: .95rem;
    }

    h6 {
        font-size: .9rem;
    }

    .photo-item {
        width: 15.5%;
    }

    .stage-wins-season {
        width: 49% !important;
    }

    .photomain-thumb img {
        width: 100%;
    }

    .df-card {
        width: 25%;
    }
}

@media screen and (max-width: 950px) {

    .car-show-start-photo {
        display: none;
    }

    .car-show-start-entry {
        width: 40%;
    }

    .car-show-start-event {
        width: 42%;
    }

    .car-show-start-logo {
        width: 100%;
    }

    .car-show-start-logo img {
        display: none;
    }

    .car-show-start-no {
        display: none;
    }

    /*.stage-results-drivers-icon {*/
    /*    display: none;*/
    /*}*/

    .stage-results-codriver-break {
        display: inline;
    }

    .stage-results-codriver-dash {
        display: none;
    }

    .stats-wins,
    .stats-leads {
        width: 100% !important;
    }

    .photo-item {
        width: 18.9%;
    }

    .final-results-km {
        display: none;
    }
    .car-spec {
        width: 33%;
        padding: 0.3%;
        font-size: .9rem;
    }
}

@media screen and (max-width: 900px) {

    .topnav-main {
        font-size: .85em;
    }

    .final-results-codriver-break {
        display: inline;
    }

    .final-results-codriver-dash {
        display: none;
    }

    .video-list-item {
        width: 32.9% !important;
    }

    #video-main div:nth-child(8) {
        display: none;
    }

    #video-main div:nth-child(7) {
        display: none;
    }

    .entry-sct {
        display: none;
    }

    .shake-icon {
        display: none;
    }

    .chassis-info-info-4 {
        width: 100% !important;
    }

    .df-card {
        width: 33%;
    }
}

@media screen and (max-width: 800px) {

    .header-flags {
        width: 100% !important;
        text-align: center;
    }

    .search-top {
        width: 45% !important;
    }

    .topnav-right {
        display: none;
    }

    .topnav-right.responsive {
        display: block;
        min-width: 180px;
        width: 100%;
    }

    .topnav-right2 {
        display: none;
    }

    .topnav-right2.responsive {
        display: block;
        min-width: 180px;
        width: 100%;
    }

    .topnav-icon {
        /*float: right;*/
        display: block !important;
    }

    .topnav-menu {
        /*float: right;*/
        display: block !important;
    }

    .topnav a {
        display: block;
        text-align: left;
        margin: 1px;
    }

    .blok-event-container {
        width: 50% !important;
    }

    .photomain-photo {
        width: 50% !important
    }

    #photomain div:nth-child(9) {
        display: none;
    }

    #photomain div:nth-child(8) {
        display: none;
    }

    #photomain div:nth-child(7) {
        display: none;
    }

    .bday-blok {
        width: 100% !important;
    }

    .last-chassis {
        display: none;
    }

    .car-show-start-event {
        width: 100%;
    }

    .car-show-event-sct {
        display: none;
    }

    .car-show-start-entry {
        width: 70%;
    }

    .car-show-start-res {
        width: 25%;
    }

    .stage-res {
        width: 100% !important;
    }

    .stage-results-km {
        display: block;
    }

    .stage-results-overall-caption {
        display: block;
    }

    .table-retired {
        width: 100% !important;
    }

    .stage-results-codriver-break {
        display: none;
    }

    .stage-results-codriver-dash {
        display: inline;
    }

    .quick-photo-img {
        width: 32.8%;
    }

    .widget-icon-logo {
        display: none;
    }

    .widget-icon-logo2 {
        display: none;
    }

    .startlist-team {
        display: none;
    }

    .startlist-icon {
        display: none;
    }

    .shake-car {
        display: none;
    }

    .w55px {
        min-width: 40px !important;
    }

    .photo-item {
        width: 23.5%;
    }

    .legs-speed {
        display: none;
    }

    .main_stats {
        font-size: .9em;
    }

}

@media screen and (max-width: 700px) {

    main {
        font-size: .9em;
    }

    .shake-codriver-break {
        display: inline;
    }

    .shake-codriver-dash {
        display: none;
    }

    .last-icon {
        display: none;
    }

    .retired-icon {
        display: none;
    }

    .topmenu a {
        font-size: .95em;
    }

    .final-results-chassis {
        display: none;
    }

    .driver-info-km {
        display: none;
    }

    .driver-info-skm {
        display: none;
    }

    .profile-start-icon {
        display: none;
    }

    .calendar-day {
        font-size: .6em;
    }

    .calendar-event a {
        font-size: .85em;
    }

    .calendar-event img {
        max-width: 13px !important;
    }

    .cars-top-select-car-item {
        width: 150px !important;
    }

    .plates-foto {
        width: 33%;
    }

    canvas {
        font-size: .2em !important;
    }

    .cars-list-event {
        width: 100% !important;
    }

    .cars-list-entry {
        width: 60% !important;
    }

    .cars-list-plate {
        width: 20% !important;
    }

    div.cars-list:nth-child(n+6) {
        display: none !important;
    }

    div.cardAd:nth-child(n+7) {
        display: none !important;
    }

    .header-banner {
        display: none;
    }

    .header-mobile {
        display: block;
    }

    .df-card {
        width: 50%;
    }

    .stage-results-drivers-icon {
        right: -10px;
        top: -3px;
    }
    .stage-results-drivers-icon img {
        width: 60%;
    }
}

@media screen and (max-width: 576px) {

    .btn {
        /*padding: 1%;*/
        font-size: 0.9em;
    }

    .stage-name-break {
        display: inline;
    }

    .stage-name-dash {
        display: none;
    }

    .retired-inc-codriver-break,
    .penalty-inc-codriver-break {
        display: inline;
    }

    .retired-inc-codriver-dash,
    .penalty-inc-codriver-dash {
        display: none;
    }

    .darkmode {
        font-size: .8em;
        padding: .5% !important;
    }

    .search-top {
        width: 42% !important;
    }

    .contact-blok {
        width: 99% !important;
    }

    .main-b {
        width: 100% !important;
    }

    .top-results {
        width: 99% !important;
    }

    .video-list-item {
        width: 49% !important;
    }

    #video-main div:nth-child(6) {
        display: none;
    }

    #video-main div:nth-child(5) {
        display: none;
    }

    .last-event {
        display: none;
    }

    .stage-results-km {
        display: none;
    }

    .retired-codriver-break {
        display: inline;
    }

    .retired-codriver-dash {
        display: none;
    }

    .quick-photo-img {
        width: 49.3%;
    }

    .topmenu a {
        font-size: .85em;
    }

    .badge {
        font-size: .9em;
    }

    h4 {
        font-size: .95rem;
    }

    h5 {
        font-size: .9rem;
    }

    h6 {
        font-size: .85rem;
    }

    .w25px {
        min-width: 22px;
    }

    .service {
        font-size: .6em;
        padding: 3px 1px;
    }

    .stage-results-flag {
        display: none;
    }

    .results td {
        font-size: .9em;
        padding: 1px;
    }

    img.flag-s {
        width: 15px;
    }

    .startlist-driver {
        width: 150px;
    }

    .shake-flag {
        display: none;
    }

    .final-results-team {
        display: none;
    }

    .final-results-icon {
        display: none;
    }

    .times-car {
        display: none;
    }

    .photo-item {
        width: 31%;
    }

    .final-plate {
        display: none;
    }

    .legs-icon {
        display: none;
    }

    .profile-table {
        width: 99% !important;
    }

    .results {
        width: 100%;
    }

    .profile-start-event {
        width: 55% !important;
    }

    .profile-start-codriver {
        width: 45% !important;
    }

    .profile-start-car {
        width: 45% !important;
    }

    .profile-start-sect {
        display: none;
    }

    .stats-perc {
        display: none;
    }

    .stage-wins-season {
        width: 100% !important;
    }

    .calendar-shortcut {
        display: none;
    }

    .chassis-info-info-1 {
        width: 100% !important;
    }

    .main_stats {
        font-size: .7em;
    }

    .harm-ss {
        width: 10%;
    }

    .harm-stage {
        width: 65%;
    }

    .harm-km {
        width: 25%;
    }
    .car-spec {
        width: 100%;
        padding: 0.3%;
    }
    .harm-right{
        width: 100%;
    }
    .header-logo img {
        width: auto;
        max-height: 36px;
    }
    .header-flags img {
        max-width: 20px;
    }
    .top-sections {
        font-size: .7em;
    }
    .top-info {
        font-size: .7em;
    }
}

@media screen and (max-width: 450px) {

    .form-control {
        font-size: .9em;
    }

    .header-signup {
        justify-content: start !important;
        padding: 1%;
    }

    /*.search-top {*/
    /*    width: 85% !important;*/
    /*    padding: .5%;*/
    /*}*/
    .stage-results-codriver-break {
        display: inline;
    }

    .stage-results-codriver-dash {
        display: none;
    }

    .contact-blok-photo {
        width: 60px !important;
    }

    .contact-blok-photo img {
        width: 100%;
    }

    .blok-event-container {
        width: 100% !important;
        font-size: 1.1em;
    }

    .photomain-photo {
        width: 100% !important;
    }

    #photomain div:nth-child(6) {
        display: none;
    }

    #photomain div:nth-child(5) {
        display: none;
    }

    .tyre-position {
        right: 0 !important;
        bottom: 0 !important;
    }

    .tyre-position img {
        height: 6px;
    }

    .retired-car {
        display: none;
    }

    .startlist-m {
        display: none;
    }

    .startlist-codriver-flag {
        display: none;
    }

    .final-results-flag {
        display: none;
    }

    .cars-list-entry {
        width: 100% !important;
    }

    .cars-list-plate {
        width: 50% !important;
    }

    .df-card {
        width: 100%;
    }
    .harm-ss {
        width: 15%;
    }
    .harm-stage {
        width: 65%;
    }
    .harm-km {
        width: 20%;
    }
}

@media screen and (max-width: 400px) {

    main {
        font-size: .85em;
    }

    .search-top {
        width: 45% !important;
    }

    .video-list-item {
        width: 99% !important;
    }

    #video-main div:nth-child(4) {
        display: none;
    }

    .photo-item {
        width: 47%;
    }


}

@media screen and (max-width: 350px) {

    .tyre-position {
        display: none;
    }

    .quick-photo-img {
        width: 99%;
    }

    .top-info {
        display: none;
    }

}

@media screen and (max-width: 300px) {

    .search-top {
        width: 80% !important;
    }

}

.ads {
    width: 1px;
}
