/* 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;
}

body {
    font-family: "Mulish", sans-serif;
    width: 100% !important;
    max-width: 1190px !important;
    margin: 0 auto;
    padding: 0;
    background: #272b30;
}

main {
    background: white !important;
    padding: 1%;
}

a {
    font-weight: bold !important;
}

header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*align-items: flex-start;*/
    padding: 1% 0;
}

.header-logo {
    width: 35% !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;
}

#myTopnav {
    width: 100%;
    background: #00582a;
    /*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: 8px 10px;
    text-decoration: none;
    font-size: 1.2em;
    color: #eee;
}

.topnav a:hover {
    background-color: #ef5c0e;
    color: #fff;
}

.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 {
    display: flex;
    justify-content: space-between;
    /*border-top: 1px solid #ced4da;*/
    padding: 1% 0 2%;
    text-align: center;
    font-weight: bold;
    color: #bbb;
}
footer a {
    color: #bbb;
}
footer a:hover {
    color: #ff9773;
}
.top-clanky {
    width: 58%;
}
.live {
    width: 42%;
    padding-left: 2%;
    /*min-width: 470px;*/
}
.newsbox {
    display: flex;
    justify-content: start;
    width: 100%;
    padding: 2% 0;
    border-bottom: 1px solid #eaeaea;
}
.news-ikona {
    min-width: 120px;
    min-height: 80px;
}
.news {
    padding: 0 1%;
}
.news-nadpis {
    font-size: 1.1em;
    font-weight: bold;
    color: #074f77;
}
.news-nadpis a {
    color: #00582a;
}
.news-nadpis a:visited {
    color: #06182a;
}
.news-data {
    font-size: .97em;
    margin-top: 2px;
    margin-bottom: 2px;
}
.news-podtitulek {
    line-height: 130%;
}
article {
    /*padding: 2.5%;*/
    font-size: 1.1em;
}
article table {
    font-size: .9em;
}
.cent {
    text-align: center;
}
.perex {
    padding-bottom: 5px;
    margin-bottom: 5px;
    /*font-size: 1.1em;*/
    /*font-weight: bold;*/
    border-bottom: 1px dashed #f1f1f1;
}
.clanek-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.profile-header {
    display: flex;
    justify-content: space-around;
    margin: 2% auto;
    padding: 1%;
    border: 2px solid #eee;
    background: #fafafa;
    max-width: 700px;
}
.profile-header-photo {
    margin: 0 10px 0 0;
}
.profile-name {
    font-size: 1.1em;
    font-weight: bold;
    padding-bottom: 10px;
}
.video-youtube {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin: 10px 0;
}
.video-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0 none;
}
.results-logo {
    max-width: 100px;
    max-height: 60px;
    position: absolute;
    top: 5px;
    right: 5px;
}
.final-results {
    max-width: 1000px;
    background: #fafafa;
    border: 2px solid #eee;
    margin: 1% auto;
    padding: 1%;
}
#comments {
    /*margin: 2.5%;*/
}
.comment {
    display: flex;
    justify-content: start;
    width: 100%;
    margin: .5% 0;
    border: 1px solid #ddd;
    background: #fafafa;
}
.comment-inside {
    min-width: 150px;
    max-width: 150px;
    background: #eee;
}
.comment-autor {
    width: 100%;
    font-size: .9em;
    background: -webkit-linear-gradient(#00852a, #00521a);
    background: linear-gradient(#00852a, #00521a);
}
.comment-autor a {
    color: #eee;
}
.comment-datum {
    color: #999;
}
.comment-text {
    line-height: 150%;
}
.comment-text img {
    vertical-align: baseline;
    max-height: 18px;
}
.comment-upraveno {
    font-size: 80%;
    text-align: center;
    padding: 0 5px;
    color: #999;
}
.comment-reagovat {
    background: #999; /*#9d3807*/
    padding: 3px 5px;
    text-align: center;
}
.comment-reagovat a {
    font-size: 90%;
    font-weight: normal;
    color: #eee;
    /*font-family: "Play", sans-serif;*/
}
.comment-reagovat a:hover {
    color: #9d3807;
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
    font-weight: bold;
}
.quote {
    padding: 1% ;
    background: #eee;
    font-size: .9em;
    line-height: 130%;
    margin-bottom: 5px;
    color: #aaa;
}
#fb-container {
    /*position: relative;*/
    overflow: hidden;
}
.logo {
    width: 100%;
    max-width: 300px;
}
.share a {
    color: #3C5A98;
}
.share {
    color: #3C5A98;
}
.twit a {
    color: #55ACEE;
}
.twit {
    color: #55ACEE;
}

.clanek {
    padding: 1% 4%;
}
article img {
    /*width: 100%;*/
    max-width: 100%;
}

.share a:hover,
.twit a:hover {
    font-weight: bold;
}

.photo-150 {
    width: 150px;
}
.photo-180 {
    width: 180px;
}

.sharer,
.tweeter {
    position: fixed;
    z-index: 50;
    color: #FFF;
    width: 50px;
    opacity: .9;
    font-size: 90%;
}

.sharer:hover,
.tweeter:hover {
    width: 70px;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    opacity: 1;
}

.sharer {
    background: #3C5A98;
    bottom: 45px;
    right: 0;
}

.tweeter {
    background: #55ACEE;
    bottom: 0;
    right: 0;
}

.sharer a,
.tweeter a {
    color: #fff;
    padding: 8px 0;
    display: block;
}

.login-name {
    font-weight: bold;
    font-size: 1.1em;
    color: #bbb;
}
.login-name:hover {
    color: #ff9773;
}
.tym-item {
    width: 280px;
    margin: .2%;
    padding: 2px;
    background: #FAFAFA;
    border: 2px solid #DDD;
    font-size: .95em;
}
.tym-item-info {
    padding: 0 2%;
}
.divider {
    margin: 1% 0 0;
    padding: 0 0 1%;
    border-top: 1px solid #EAEAEA;
}
.twitter-slide {
    background-image: url('/img/twitter-hover.png');
    height: 48px;
    width: 48px;
    margin: 0 10px;
    float: left;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.twitter-slide:hover {
    background-position: 0 -48px;
}

.fb-slide {
    background-image: url('/img/facebook-hover.png');
    height: 48px;
    width: 48px;
    margin: 0 10px;
    float: left;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.fb-slide:hover {
    background-position: 0 -48px;
}
.foto-around {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.foto-around-foto {
    width: 32.5%;
}
.foto-around-foto img {
    width: 100%;
}
#fb-container {
    /*position: relative;*/
    overflow: hidden;
    width: 100%;
}

blockquote{
    display:block;
    width: 90%;
    background: #fff;
    padding: 15px 20px 15px 45px;
    margin: 10px auto;
    position: relative;

    color: #333;
    text-align: justify;

    /*Borders - (Optional)*/
    border-left: 15px solid #c76c0c;
    /*border-right: 2px solid #c76c0c;*/

    /*Box Shadow - (Optional)*/
    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 15px #ccc;
}

blockquote::before{
    content: "\201C"; /*Unicode for Left Double Quote*/

    /*Font*/
    font-family: Georgia, serif;
    font-size: 60px;
    font-weight: bold;
    color: #999;

    /*Positioning*/
    position: absolute;
    left: 10px;
    top: 30px;
}

blockquote::after{
    /*Reset to make sure*/
    content: "";
}

blockquote a {
    text-decoration: none;
    background: #eee;
    cursor: pointer;
    padding: 0 3px;
    color: #c76c0c;
}

blockquote a:hover{
    color: #666;
}

blockquote em{
    font-style: italic;
}




.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-live-results table {
    margin: 3px 0;
}

.live-results td {
    font-size: .95em;
    padding: 1px;
    /*height: 16px;*/
    vertical-align: top;
}

.user-registration {
    width: 100%;
    padding: 2%;
    max-width: 500px;;
}

.fs-09 {
    font-size: .85em !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;
}

img.flag-m {
    width: 25px;
    height: auto;
    padding-bottom: 2px;
}

img.flag-s {
    width: 20px;
    height: auto;
    padding-bottom: 2px;
}

img.flag-sp {
    width: 20px;
    height: auto;
}


img.flag-sm {
    width: 16px;
    height: auto;
    padding-bottom: 3px;
}

.m1px {
    margin: 1px;
}

.w25px {
    min-width: 30px;
}

.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-45 {
    width: 41%;
}
.w-55 {
    width: 59%;
}
.w-60 {
    width: 60%;
}
.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%;
}

.lh-130 {
    line-height: 130% !important;
}

.lh-120 {
    line-height: 120% !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;
}




.video-list-item {
    margin: 0.2%;
    width: 24.5%;
    min-width: 150px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.video-list-bottom {
    min-height: 40px;
    max-height: 80px;
    padding: 1%;
    font-size: .8em;
    /*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;
}

.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-destroyed {
    background: #ff9773 !important;
}
.badge-cancel {
    background: #ab2b2b !important;
}
.badge-actual {
    background: #f47c3c !important;
    color: #fff !important;
}

.badge-selected {
    background-color: #d1e68d !important;
    color: #333;
}

.shake-icon img {
    max-width: 30px;
}

.div-over {
    max-height: 280px;
    overflow-y: 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;
}
.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;
}

.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-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: 0;
    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: fixed;
    width: 160px;
    top: 0;
    left: 0;
}

.text-right {
    font-weight: bold;
}
.ncomment {
    border: 1px solid #f7f7f7;
}
.ncomment-top {
    background: #eee;
}
.ncomment-new {
    background: #e5f0ff;
}
.harm-main {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.user-registration {
    width: 100%;
    padding: 1%;
    max-width: 600px;;
}
.hidden {
    display: none;
}

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

    #vtipek {
        display: none;
    }
}

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

    .top-clanky {
        width: 100%;
    }
    .live {
        display: flex;
        justify-content: start;
        flex-wrap: wrap;
        width: 100%;
    }
    #facebook {
        width: 50%;
        padding-right: 2%;
    }
    #foto-side {
        width: 50%;
    }

}

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


    .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%;
    }

}

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


    .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;
    }
}

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

    .topnav-main {
        font-size: .85em;
    }
    .video-list-item {
        width: 32.9% !important;
    }
    #video-main div:nth-child(8) {
        display: none;
    }
    #video-main div:nth-child(7) {
        display: none;
    }
}

@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;
        width: 100%;
    }
    .topnav-menu {
        /*float: right;*/
        display: block !important;
    }
    .topnav a {
        display: block;
        text-align: left;
        margin: 1px;
    }
    .topnav a:hover {
        background: transparent;
    }
    .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;
    }
    .top-info {
        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;
    }
    .clanek-top {
        font-size: .7em;
    }

}

@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;
    }

    .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;
    }
    .logo {
        max-width: 200px;
    }
    .topnav a {
        margin: 6px 4px;
        padding: 2px;
    }
    .profile-image {
        display: none;
    }
    #footer-left {
        display: none;
    }
    footer {
        font-size: .8em;
        padding: 1%;
    }
    #footer-logo {
        width: 50%;
    }
    #footer-logo img {
        width: 90%;
    }
    #footer-contact {
        width: 50%;
    }
    .results-logo {
        display: none;
    }
    #event-results table td {
        font-size: .8em;
    }
    #facebook {
        width: 100%;
    }
    #foto-side {
        width: 100%;
    }
}

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

    .btn {
        /*padding: 1%;*/
        font-size: 0.8em;
    }
    .stage-name-break {
        display: inline;
    }
    .stage-name-dash {
        display: none;
    }
    .darkmode {
        font-size: .8em;
        padding: .5% !important;
    }
    .video-list-item {
        width: 49% !important;
    }
    #video-main div:nth-child(6) {
        display: none;
    }
    #video-main div:nth-child(5) {
        display: none;
    }
    .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;
    }
    .startlist-driver {
        width: 150px;
    }
    .shake-flag {
        display: none;
    }
    .final-results-team {
        display: none;
    }
    .final-results-icon {
        display: none;
    }

    .results {
        width: 100%;
    }

    #header-logo {
        width: 100%;
        text-align: center;
    }
    #header-login {
        width: 100%;
        font-size: .9em;
        padding: 2% 2% 1%;
    }
    .logo {
        max-width: 200px;
    }
    .da-slide h2 {
        font-size: 1em !important;
    }
    .da-slide p {
        font-size: .9em !important;
        max-width: 70%;
        right: 0;
    }
    .btn-group-sm > .btn, .btn-sm {
        padding: .05rem .2rem;
        font-size: .9em;
        line-height: 1.3;
    }
    .back-to-top {
        right: 20%;
    }
}

@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;
    }
    .stage-results-drivers-icon {
        display: none;
    }
    .tyre-position {
        right: 0 !important;
        bottom: 0 !important;
    }
    .tyre-position img {
        height: 6px;
    }
    .retired-car {
        display: none;
    }
    .top-sections a {
        font-size: .8em;
    }
    .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;
    }
    .comment {
        flex-wrap: wrap;
    }
    .comment-text {
        width: 100%;
    }
    .comment-inside {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: start;
        flex-wrap: wrap;
    }
    .comment-datum {
        width: 50%;
    }
    .news-ikona {
        min-width: 90px;
        max-width: 90px;
        min-height: 60px;
        max-height: 60px;
    }
    .news-ikona img {
        width: 100%;
    }
    .da-slide p {
        display: none;
    }

}

@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%;
    }
    .news-podtitulek {
        display: none;
    }
}

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

    .tyre-position {
        display: none;
    }
    .quick-photo-img {
        width: 99%;
    }

}

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

    .search-top {
        width: 80% !important;
    }

}

#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%;
}
