/*verison 2.5.1 17.11.2021*/
html,body{margin:0;padding:0;border:0;height:100%;width:100%}
body{
    font-family: Arial,Open sans;
    font-size: 10pt;
    background: #fff;
    overflow: hidden;
}
*, *:before, *:after {
/*  box-sizing: inherit;*/
    -webkit-box-sizing:border-box;
            box-sizing:border-box;
}
img {
    border: 0
}
.container{
    display:-ms-flexbox;
    display:-webkit-box;
    display:flex;
    -ms-flex-direction: column;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            flex-direction: column;
    height: 100%;
    width: 100%;
}
#header{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 0 0 32px;
            -webkit-box-flex: 0;
            flex: 0 0 32px;
    position: relative;
}
#backbutton{
    display: none;
    position: absolute;
    z-index: 4;
    width: 80px;
    top: 0;
    left: 0;
    height: 40px;
    margin: 0;
    background: #ffffff;
    background: -webkit-gradient(linear, left top, right top, from(#ffffff),color-stop(50%, #ffffff),to(rgba(255,255,255,0)));
    background: -o-linear-gradient(left, #ffffff 0%,#ffffff 50%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to right, #ffffff 0%,#ffffff 50%,rgba(255,255,255,0) 100%);
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
#refreshbutton{
    display: none;
    position: absolute;
    z-index: 4;
    width: 80px;
    top: 0;
    right: 0;
    height: 40px;
    margin: 0;
    background: #ffffff;
    background: -webkit-gradient(linear, right top, left top, from(#ffffff),color-stop(50%, #ffffff),to(rgba(255,255,255,0)));
    background: -o-linear-gradient(right, #ffffff 0%,#ffffff 50%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to left, #ffffff 0%,#ffffff 50%,rgba(255,255,255,0) 100%);
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.arrow_left_box {
	position: relative;
	background: transparent;
	border: 2px solid #888;
    width:16px;
    height: 16px;
    top: 12px;
    left: 15px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    border-right-color: transparent;
    border-top-color: transparent;
}
.refresh_box {
    position: absolute;
    top: 21px;
    right: 10px;
    width: 22px;
    height: 11px;
    border-style: solid;
    border-width: 0px 2px 2px 2px;
    border-color: #888;
    border-radius: 0 0 50px 50px;
}
.refresh_box:before {
    position: absolute;
    bottom: 15px;
    right: 3px;
    width: 0;
    height: 0;
    content: '';
    border-style: solid;
    border-width: .3125em 0 .3125em .5em;
    border-color: transparent transparent transparent #888;
  }
.refresh_box:after {
    position: absolute;
    right: 9px;
    bottom: 9px;
    content: '';
    width: 11px;
    height: 11px;
    border-style: solid;
    border-width: 2px 0 0 2px;
    border-color: #888;
    border-radius: 50px 0 0 0;
}
#ticker{
    z-index: 3;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
            -ms-flex: 1;
                    -webkit-box-flex: 1;
                    flex: 1;
    height: 25px;
    line-height: 2;
    color: rgba(0, 0, 0, 0.8);
    font-weight: bold;
    background:#fff;
    overflow: hidden;
    position: relative;
}
#ticker span {
    position: absolute;
    display: table; /* to extend the element to text length*/
    white-space: nowrap;
    min-width: 100%;
    height: 100%;
    margin: 0;
    line-height: 2;
    text-align: center;
    /* Starting position */
    -webkit-transform:translateX(100%);	
    -ms-transform:translateX(100%);	
        transform:translateX(100%);
}
/* ticker animation */
@-webkit-keyframes scroll-left {
    0%   { -webkit-transform: translateX(100%); }
    100% { -webkit-transform: translateX(-100%); }
}
@keyframes scroll-left {
    0%   { /* Browser bug fix */
        -webkit-transform: translateX(100%); /* Browser bug fix */
        transform: translateX(100%); 		
    }
    100% { /* Browser bug fix */
        -webkit-transform: translateX(-100%); /* Browser bug fix */
        transform: translateX(-100%); 
    }
}
.noresult{
    color: #888;
    margin-top: 50px;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    -webkit-align-self: center;
    align-self: center;
    text-align: center;
    display: none;
}
#loading{
    color: #888;
    margin-top: 20px;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    -webkit-align-self: center;
    align-self: center;
    text-align: center;
}
.reload_button{
    display: none;
    background: #fdba01;
    margin-top: 80px;
    width: 200px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    text-transform: uppercase;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        -webkit-align-self: center;
            align-self: center;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.tab-content{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 1;
            -webkit-box-flex: 1;
            flex: 1;
}
.tab{
    display: none;
}
.tab.active { 
    display: -ms-flexbox; 
    display: -webkit-box; 
    display: flex;
    -ms-flex: 1;
            -webkit-box-flex: 1;
            flex: 1;
/*    height: 100%;*/
}
#tab1{
    -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}
.resultview{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 1;
            -webkit-box-flex: 1;
            flex: 1;
    -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    overflow: hidden;
    position: absolute;
    top: 71px;
    left:0;
    right:0;
    bottom:0;
}
.resultview.ipad{
    
}
.resultitem{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            flex-direction: column;
    height: calc(100% - 22px);
    margin-left: 5px;
    margin-top: 5px;
    margin-right: 5px;
}


/*------view switch--------*/
/*  1 view  */
.item_1 .resultitem{
    -ms-flex: 1 1 100%;
            -webkit-box-flex: 1;
            flex: 1 1 100%;
    height: calc(100% - 38px);
    margin-right: 5px;
}
.item_1 #result2,
.item_1 #result3,
.item_1 #result4,
.item_1 #result5,
.item_1 #result6,
.item_1 #result7,
.item_1 #result8,
.item_1 #result9,
.item_1 #result10,
.item_1 #result11,
.item_1 #result12,
.item_1 #result13,
.item_1 #result14{
    display: none;
}


/*  2 views  */
.item_2 .resultitem{
    -ms-flex: 1 1 calc(50% - 10px);
            -webkit-box-flex: 1;
            flex: 1 1 calc(50% - 10px);
    height: calc(100% - 38px);
}
/* IE10-11 flex fix: */
@media screen and (-ms-high-contrast: active) and (-ms-high-contrast: none) {
    .item_2 .resultitem {
        -ms-flex: 0;
                -webkit-box-flex: 0;
                flex: 0;
        min-width: calc(50% - 10px);
    }
}
.item_2 #result2{
    margin-right: 5px;
}
.item_2 #result3,
.item_2 #result4,
.item_2 #result5,
.item_2 #result6,
.item_2 #result7,
.item_2 #result8,
.item_2 #result9,
.item_2 #result10,
.item_2 #result11,
.item_2 #result12,
.item_2 #result13,
.item_2 #result14{
    display: none;
}


/*  4 views  */
.item_4 .resultitem {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            flex-direction: column;
    height: calc(50% - 22px);
    margin-left: 5px;
    margin-top: 5px;
    -ms-flex: 1 1 calc(50% - 10px);
            -webkit-box-flex: 1;
            flex: 1 1 calc(50% - 10px);
}
/* IE10-11 flex fix: */
@media screen and (-ms-high-contrast: active) and (-ms-high-contrast: none) {
    .item_4 .resultitem {
        -ms-flex: 0;
                -webkit-box-flex: 0;
                flex: 0;
        min-width: calc(50% - 10px);
    }
}
.item_4 #result5,
.item_4 #result6,
.item_4 #result7,
.item_4 #result8,
.item_4 #result9,
.item_4 #result10,
.item_4 #result11,
.item_4 #result12,
.item_4 #result13,
.item_4 #result14{
    display: none;
}
.item_4 .resultitem:nth-child(2n){
    margin-right: 5px;
}


/*  6 views  */
.item_6 .resultitem {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            flex-direction: column;
    height: calc(50% - 22px);
    margin-left: 5px;
    margin-top: 5px;
    -ms-flex: 1 1 calc(33% - 10px);
            -webkit-box-flex: 1;
            flex: 1 1 calc(33% - 10px);
}
/* IE10-11 flex fix: */
@media screen and (-ms-high-contrast: active) and (-ms-high-contrast: none) {
    .item_6 .resultitem {
        -ms-flex: 0;
                -webkit-box-flex: 0;
                flex: 0;
        min-width: calc(33.3% - 10px);
    }
}
.item_6 #result7,
.item_6 #result8,
.item_6 #result9,
.item_6 #result10,
.item_6 #result11,
.item_6 #result12,
.item_6 #result13,
.item_6 #result14{
    display: none;
}
.item_6 .resultitem:nth-child(3n){
    margin-right: 5px;
}


/*  8 views  */
.item_8 .resultitem {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            flex-direction: column;
    height: calc(50% - 22px);
    margin-left: 5px;
    margin-top: 5px;
    -ms-flex: 1 1 calc(25% - 10px);
            -webkit-box-flex: 1;
            flex: 1 1 calc(25% - 10px);
}
/* IE10-11 flex fix: */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .item_8 .resultitem {
        -ms-flex: 0;
        -webkit-box-flex: 0;
        flex: 0;
        min-width: calc(25% - 10px);
    }
}
.item_8 #result9,
.item_8 #result10,
.item_8 #result11,
.item_8 #result12,
.item_8 #result13,
.item_8 #result14{
    display: none;
}
.item_8 .resultitem:nth-child(3n){
    margin-right: 5px;
}


/*  10 views  */
.item_10 .resultitem {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    height: calc(50% - 22px);
    margin-left: 5px;
    margin-top: 5px;
    -ms-flex: 1 1 calc(20% - 10px);
    -webkit-box-flex: 1;
    flex: 1 1 calc(20% - 10px);
}
/* IE10-11 flex fix: */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .item_10 .resultitem {
        -ms-flex: 0;
        -webkit-box-flex: 0;
        flex: 0;
        min-width: calc(20% - 10px);
    }
}
.item_10 #result11,
.item_10 #result12,
.item_10 #result13,
.item_10 #result14{
    display: none;
}
.item_10 .resultitem:nth-child(5n){
    margin-right: 5px;
}

/*  12 views  */
.item_12 .resultitem {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    height: calc(50% - 22px);
    margin-left: 5px;
    margin-top: 5px;
    -ms-flex: 1 1 calc(16.666% - 10px);
    -webkit-box-flex: 1;
    flex: 1 1 calc(16.666% - 10px);
}
/* IE10-11 flex fix: */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .item_12 .resultitem {
        -ms-flex: 0;
        -webkit-box-flex: 0;
        flex: 0;
        min-width: calc(16.666% - 10px);
    }
}
.item_12 #result13,
.item_12 #result14{
    display: none;
}
.item_12 .resultitem:nth-child(6n){
    margin-right: 5px;
}

/*  14 views  */
.item_14 .resultitem {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    height: calc(50% - 22px);
    margin-left: 5px;
    margin-top: 5px;
    -ms-flex: 1 1 calc(14.285% - 10px);
    -webkit-box-flex: 1;
    flex: 1 1 calc(14.285% - 10px);
}
/* IE10-11 flex fix: */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .item_14 .resultitem {
        -ms-flex: 0;
        -webkit-box-flex: 0;
        flex: 0;
        min-width: calc(14.285% - 10px);
    }
}
.item_14 .resultitem:nth-child(7n){
    margin-right: 5px;
}













.selection{
/*    background: #0f0;*/
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 0 0 30px;
            -webkit-box-flex: 0;
            flex: 0 0 30px;
    -ms-flex-direction: row;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            flex-direction: row;
    width: 100%;  
    position: relative; /*for arrow*/
}
.selection select {
    -ms-flex: 1 1 calc(100% - 30px);
            -webkit-box-flex: 1;
            flex: 1 1 calc(100% - 30px);
    background: transparent;
    border-top: .1rem solid #e5e5e5;
    border-bottom: .1rem solid #e5e5e5;
    border-left-width: 0;
    border-right-width: 0;
    border-radius: 0;
    color: #000;
/*    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;*/
    font-size: 12pt;
    font-weight: 300;
    height: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 5px;
}
.arrow_down_box {
	position: absolute;
    display: inline-block;
	background: transparent;
	border: 2px solid #888;
    width:12px;
    height: 12px;
    top: 7px;
    right: 12px;
    -webkit-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
        transform: rotate(315deg);
    border-right-color: transparent;
    border-top-color: transparent;
    pointer-events: none;
}
/* IE10-11 flex fix: */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .selection select {
        -ms-flex: 0;
                -webkit-box-flex: 0;
                flex: 0;
        min-width: 100%;
    }
    #result1 .selection select {
        -ms-flex: 0;
                -webkit-box-flex: 0;
                flex: 0;
        min-width: calc(100% - 30px);
    }
    .arrow_down_box{
        display: none;
    }
}
.loader{
    width:30px;
    height:30px;
}
.loader_big{
    margin-top: 50px;
    margin-left: calc(50% - 17.5px);
}
#loadermore{
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
}
.spinner {
    margin-top: 3px; 
    margin-left: 3px; 
    height: 20px;
    width: 20px;
    -webkit-animation: rotate 0.8s infinite linear;
            animation: rotate 0.8s infinite linear;
    border: 2px solid #888;
    border-right-color: transparent;
    border-radius: 50%;
}
.spinner_big {
    margin-top: 5px; 
    margin-right: 5px; 
    height: 30px;
    width: 30px;
    -webkit-animation: rotate 0.8s infinite linear;
            animation: rotate 0.8s infinite linear;
    border: 3px solid #888;
    border-right-color: transparent;
    border-radius: 50%;
}
@-webkit-keyframes rotate {
  0%    { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100%  { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes rotate {
  0%    { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100%  { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
/*
#spinner1,
#spinner2,
#spinner3,
#spinner4,
#spinner5,
#spinner6,
#spinner7,
#spinner8{
*/
#spinner1{
    display: none;
}








#logo_chrono{
    max-height: 30px;
    max-width: 120px;
}
.timinglogo_bottom{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex:1 1 100%;
            -webkit-box-flex:1;
            flex:1 1 100%;
    height: 30px;
    -ms-flex-pack: justify;
            -webkit-box-pack: justify;
            justify-content: space-between;
    -ms-flex-item-align: end;
        -webkit-align-self: flex-end;
            align-self: flex-end;
    
/*    background: #f00;*/
}
.timinglogo_bottom a{
    -ms-flex-item-align: end;
        -webkit-align-self: flex-end;
            align-self: flex-end;
}

.timinglogo_bottom #logo_chrono{
    margin-right: 2px;
}
.copyright{
    font-size: 9px;
    line-height: 20px;
    margin-left: 2px;
    -ms-flex-item-align: end;
        -webkit-align-self: flex-end;
            align-self: flex-end;
}
.ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.resultbox{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
/*
    -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(100% - 35px);
            flex: 1 1 calc(100% - 35px);
*/
    -ms-flex: 1 1 auto;
            -webkit-box-flex: 1;
            flex: 1 1 auto;
    -ms-flex-direction: column;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            flex-direction: column;
    overflow: hidden;  /*important for FF*/
    border: 1px solid #f5f5f5;
    margin-top: 2px;
    font-size: 9pt;
}
.scrollwrapper{
    position: relative;
	display: inline;
    width: 100%;
    background: #eee; 
	overflow: hidden;
    /* Prevent native touch events on Windows */
	-ms-touch-action: none;

	/* Prevent the callout on tap-hold and text selection */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	/* Prevent text resize on orientation change, useful for web-apps */
	-webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	-moz-text-size-adjust: none;
	     text-size-adjust: none;
}
#scrollwrapper2{
        background: #fff;
}
#more{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 1;
            -webkit-box-flex: 1;
            flex: 1;
    /*height: calc(100vh - 71px); /*needed for iscroll*/
}
.moreview{
/*
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex:1;
        -ms-flex:1 1 auto;
            flex:1 1 auto;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-line-pack: start;
        align-content: flex-start;
    min-height: calc(100vh - 71px);
*/
	/* Put the scroller into the HW Compositing layer right from the start */
/*	-webkit-transform: translateZ(0);
	transform: translateZ(0);*/
     /* Prevent elements to be highlighted on tap */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.ipad .moreview{
    min-height: calc(100vh + 71px);
}
/*Settings*/
.setting_item{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 1;
            -webkit-box-flex: 1;
            flex: 1;
    -ms-flex-direction: column;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            flex-direction: column;
    -ms-flex-align: end;
            -webkit-box-align: end;
            align-items: flex-end;
    margin-right: 15px;
}
.toggles{
    width:49px;
    margin-top:4px;
    margin-bottom: 2px;
    text-align:center;
}
.checkbox-label{
    display:block;
    position:relative;
    padding:10px;
    margin-bottom:2px;
    font-size:12px;
    line-height:16px;
    width:100%;
    height:28px;
    /*border-radius*/
    border-radius:14px;
    background:#fff;
    cursor:pointer;
}
.checkbox-label:before{
    content:'';
    display:block;
    position:absolute;
    z-index:1;
    line-height:34px;
    text-indent:40px;
    height:28px;
    width:28px;
    /*border-radius*/
    border-radius:100%;
    top:0px;
    left:0px;
    right:auto;
    background:white;
    /*box-shadow*/
    -webkit-box-shadow:0 1px 1px #e4e4e4,inset 0 0 0 1px #dddddd;
            box-shadow:0 1px 1px #e4e4e4,inset 0 0 0 1px #dddddd;
}
.checkbox-label:after{
    content:attr(data-off);
    display:block;
    position:absolute;
    z-index:0;
    top:5px;
    left:-1px;
    height:100%;
    width:45px;
    text-align:right;
    color:#000;
    white-space:nowrap;
    font-size: 22px;
    color:#999;
}
/*hide original chekc box*/
.ios-toggle,.ios-toggle:active{
    position:absolute;
    top:-5000px;
    height:0;
    width:0;
    opacity:0;
    border:none;
    outline:none;
}
.ios-toggle:checked + .checkbox-label{
    /*box-shadow*/
    -webkit-box-shadow:inset 0 0 0 20px #fdba01,0 0 0 2px #fdba01;
            box-shadow:inset 0 0 0 20px #fdba01,0 0 0 2px #fdba01;
}
.ios-toggle:checked + .checkbox-label:before{
    left:calc(100% - 28px);
    /*box-shadow*/
    -webkit-box-shadow:0 0 0 1px transparent,0 1px 1px rgba(0,0,0,.3);
            box-shadow:0 0 0 1px transparent,0 1px 1px rgba(0,0,0,.3);
}
.ios-toggle:checked + .checkbox-label:after{
    content:attr(data-on);
    left:-31px;
    top:6px;
    width:45px;
    font-size: 11px;
}
/* GREEN CHECKBOX */

#chk_manualrefresh + .checkbox-label{
    /*box-shadow*/
    -webkit-box-shadow: 0 0 0 0px #fff,0 0 0 1px #dddddd;
            box-shadow: 0 0 0 0px #fff,0 0 0 1px #dddddd;
}
#chk_manualrefresh:checked + .checkbox-label{
    /*box-shadow*/
    -webkit-box-shadow:inset 0 0 0 20px #fdba01,0 0 0 1px #fdba01;
            box-shadow:inset 0 0 0 20px #fdba01,0 0 0 1px #fdba01;
}
#chk_manualrefresh:checked + .checkbox-label:after{
    color:#000;
}
.version{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex:1;
            -webkit-box-flex:1;
            flex:1;
    -ms-flex-line-pack: end;
            align-content: flex-end;
    height: 10px;
    font-size: 9px;
    margin-left: 2px;
    margin-bottom: 2px;
    margin-top: auto;
}













ul{
    list-style: none;
    background: #fff;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex:1;
            -webkit-box-flex:1;
            flex:1;
    -ms-flex-direction: column;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            flex-direction: column;
    margin: 0;
    padding: 0;
}
li{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex:0 0 auto;
            -webkit-box-flex:0;
            flex:0 0 auto;
    -ms-flex-direction: row;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            flex-direction: row;
    width: 100%;   
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

ul.tab-links {
    z-index: 3;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 0 0 30px;
            -webkit-box-flex: 0;
            flex: 0 0 30px;
    -ms-flex-direction: row;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            flex-direction: row;    
}
ul.tab-links li {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;   
    list-style: outside none none;
    border-bottom: 1px solid rgba(34, 36, 38, 0.15);
    height: 30px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
ul.tab-links li.tab-item {
     -ms-flex: 0 0 100px;
             -webkit-box-flex: 0;
             flex: 0 0 100px;
            background-color: #fff;
}
ul.tab-links li.view{
    background-color: #fff;
}
ul.tab-links li.view.active{
    border-bottom: 4px solid #fdba01;
}     
ul.tab-links li.tab-item.active {
    border-bottom: 4px solid #fdba01;
}
.active .grid{
    border-color: #000;
}
ul.tab-links li.active a {
    color: #000;
}
ul.tab-links li:nth-child(3) {
    -ms-flex: 10 1 auto;
            -webkit-box-flex: 10;
            flex: 10 1 auto;
}
ul.tab-links li.eventtitle{
    -ms-flex: 1;
            -webkit-box-flex: 1;
            flex: 1;
    color:rgba(0,0,0,1);
    font-size: 18px;
    line-height: 1.8;
    overflow: hidden;  
    border-bottom: 1px solid rgba(0,0,0,0.1);
}  
#eventtitletext{
    -ms-flex-item-align: stretch;
        -ms-grid-row-align: stretch;
        -webkit-align-self: stretch;
            align-self: stretch;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
    white-space:nowrap;
    overflow: hidden;
    width: calc(100% - 50px);
    text-align: center;
}
#eventtitletext_mobile{
    color:rgba(0,0,0,1);
    font-size: 12pt;
    text-align: center;
    line-height: 1.2;
    display: none;
    font-weight: 400;
}
#view1,
#view2,
#view4,
#view6,
#view8,
#view10,
#view12,
#view14{
    -ms-flex: 0 0 40px;
            -webkit-box-flex: 0;
            flex: 0 0 40px;
    display: none;
    -ms-flex-line-pack: start;
            align-content: flex-start;
}
ul.tab-links li a{
    text-decoration: none;
    color: rgba(0, 0, 0, 0.60);
    font-weight: 600;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 1;
            -webkit-box-flex: 1;
            flex: 1;
    line-height: 2.4;
    -ms-flex-pack: center;
            -webkit-box-pack: center;
            justify-content: center;
    text-transform: uppercase;
}   
.griditem{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 0 0 30px;
            -webkit-box-flex: 0;
            flex: 0 0 30px;  
    -ms-flex-pack: center;  
            -webkit-box-pack: center;  
            justify-content: center;
    -ms-flex-line-pack: start;
            align-content: flex-start;
    -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}
.grid{
    border-color: rgba(0, 0, 0, 0.60);
    border-style: solid;
    display: flex;
    align-items: center;
    justify-content: center;
}
.grid11{
    height: 24px;
    width: 24px;
    border-width: 2px;
}
.grid21{
    height: 24px;
    width: 12px;
    border-width: 2px 1px 2px 2px;
    
}
.grid22{
    height: 24px;
    width: 12px;
    border-width: 2px 2px 2px 1px;
    
}
.grid41{
    height: 12px;
    width: 12px;
    border-width: 2px 1px 1px 2px;
    
}
.grid42{
    height: 12px;
    width: 12px;
    border-width: 2px 2px 1px 1px;
    
}
.grid43{
    height: 12px;
    width: 12px;
    border-width: 1px 1px 2px 2px;
    
}
.grid44{
    height: 12px;
    width: 12px;
    border-width: 1px 2px 2px 1px;
    
}
.grid61{
    height: 12px;
    width: 9px;
    border-width: 2px 1px 1px 2px;
    
}
.grid62{
    height: 12px;
    width: 8px;
    border-width: 2px 1px 1px 1px;
    
}
.grid63{
    height: 12px;
    width: 9px;
    border-width: 2px 2px 1px 1px;
    
}
.grid64{
    height: 12px;
    width: 9px;
    border-width: 1px 1px 2px 2px;
    
}
.grid65{
    height: 12px;
    width: 8px;
    border-width: 1px 1px 2px 1px;
    
}
.grid66{
    height: 12px;
    width: 9px;
    border-width: 1px 2px 2px 1px;
    
}
.grid81{
    height: 12px;
    width: 7px;
    border-width: 2px 1px 1px 2px;
    
}
.grid82{
    height: 12px;
    width: 6px;
    border-width: 2px 1px 1px 1px;
    
}
.grid83{
    height: 12px;
    width: 6px;
    border-width: 2px 1px 1px 1px;
    
}
.grid84{
    height: 12px;
    width: 7px;
    border-width: 2px 2px 1px 1px;
    
}
.grid85{
    height: 12px;
    width: 7px;
    border-width: 1px 1px 2px 2px;
    
}
.grid86{
    height: 12px;
    width: 6px;
    border-width: 1px 1px 2px 1px;
    
}
.grid87{
    height: 12px;
    width: 6px;
    border-width: 1px 1px 2px 1px;
    
}
.grid88{
    height: 12px;
    width: 7px;
    border-width: 1px 2px 2px 1px;    
}
.tableheader{
    background:#052d93;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 0 0 auto;
            -webkit-box-flex: 0;
            flex: 0 0 auto;
    font-weight: 700;
    text-align: left;
    /*text-transform: uppercase;*/
    color: #fff;
    /*border-bottom: 2px #d3d3d3 solid;*/
    font-size: 8pt;
    z-index: 5;  
}
.tableheader li{
    border-bottom: 0 none;
}
.tablecontent{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;   
    -ms-flex: 1 1 auto;   
            -webkit-box-flex: 1;   
            flex: 1 1 auto;
    font-size: 9pt;   
    background: #fff;
    overflow: hidden; /*for Edge*/
}
ul.eventinfo{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 1 1 100%;
            -webkit-box-flex: 1;
            flex: 1 1 100%;
    margin: 5px;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}
ul.eventinfo li{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
            -ms-flex: 1;
                    -webkit-box-flex: 1;
                    flex: 1;
    -ms-flex-direction: row;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            flex-direction: row;
    line-height: 20px;    
    border-bottom: 1px #d3d3d3 solid;
}
/* IE10-11 flex fix: */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    ul.eventinfo li{
        min-height: 20px;
    }
    ul.eventinfo li.ie{
        min-height: 37px;
    }
}
.col_rank,
.col_bib,
.col_quali,
.col_irm,
.col_previous_rank,
.col_name,
.col_nsa,
.col_subresult1,
.col_subresult2,
.col_result,
.col_points,
.col_infoitem,
.col_infotext,
.col_diff{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;    
    line-height: 25px;
    overflow: hidden;
    white-space: nowrap;
    word-wrap:normal;
    -o-text-overflow:ellipsis;
       text-overflow:ellipsis;
    min-width: 0;
}
.tableheader .col_rank,
.tableheader .col_bib,
.tableheader .col_irm,
.tableheader .col_quali,
.tableheader .col_previous_rank,
.tableheader .col_name,
.tableheader .col_nsa,
.tableheader .col_subresult1,
.tableheader .col_subresult2,
.tableheader .col_result,
.tableheader .col_points,
.tableheader .col_infoitem,
.tableheader .col_infotext,
.tableheader .col_diff{
    line-height: 20px;
    -ms-flex-align: center;
            -webkit-box-align: center;
            align-items: center;
}
.tableheader .col_previous_rank {
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center
}
.col_bib,
.col_rank,
.col_irm{
    -ms-flex: 0 0 26px;
            -webkit-box-flex: 0;
            flex: 0 0 26px;
}
.col_rank,
.col_irm{
/*    font-weight: bold;*/
    -ms-flex-pack: center;
            -webkit-box-pack: center;
            justify-content: center;
}
.col_bib{
    -ms-flex-pack: center;
            -webkit-box-pack: center;
            justify-content: center;
}
.col_previous_rank {
    -ms-flex: 0 0 26px;
    -webkit-box-flex: 0;
    flex: 0 0 26px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 8pt;
    align-items: center
}
.col_name{
    -ms-flex: 8 1 50px;
            -webkit-box-flex: 8;
            flex: 8 1 50px;
    -ms-flex-pack: start;
            -webkit-box-pack: start;
            justify-content: flex-start;
    padding-left: 2px;

}
.table_content .col_name,
.table_content .col_name1{
    color:#002395;
}
.name{
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
    width: 100%;
}
.col_nsa{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex:0 0 27px;
            -webkit-box-flex:0;
            flex:0 0 27px;
    -ms-flex-pack: distribute;
            justify-content: space-around;
    -ms-flex-direction: column;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            flex-direction: column;
    -ms-flex-align: center;
            -webkit-box-align: center;
            align-items: center;
    -ms-flex-line-pack: center;
            align-content: center;

}
.tablecontent .col_previous_rank {
    color: darkgray;
    padding-right: 2px;
    padding-left: 2px
}
.tablecontent .col_nsa{
    -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    font-size: 6pt;
    line-height: 6pt;
    font-weight: bold;
    padding-top: 2px;
}
.flag{ /*for Safari*/
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-box-shadow: 0px 0px 1px rgba(0,0,0,0.9);
            box-shadow: 0px 0px 1px rgba(0,0,0,0.9);
    margin-bottom: 2px;
}

.sprite-flag,
.sprite-big-flag{
    margin: 0;
}
.sprite-big-flag{
    zoom:0.6;
}
.col_previous_rank.arrow {
    font-size: 7pt
}
.arrow {
    width: 0;
    height: 0;
    -webkit-transform: rotate(360deg);
    border-style: solid;
    border-width: 0 4px 6.9px 4px
}

.arrow.up {
    border-width: 0 4px 6.9px 4px;
    border-color: transparent transparent green transparent
}

.arrow.down {
    border-width: 6.9px 4px 0 4px;
    border-color: red transparent transparent transparent
}

.arrow.equal {
    border-width: 4px 6.9px 4px 0;
    border-color: transparent darkgray transparent transparent
}
/*BIB colors*/
.bib_yellow{
    background-color: #ffeb3e;
}
.bib_red{
    background-color: #ff3e3e;
    color: #fff;
}
.bib_green{
    background-color: #00c541;
}
.bib_blue{
    background-color: #2d72fe;
    color: #fff;
}
.bib_black{
    background-color: #000;
    color: #fff;
}
.bib_grey{
    background-color: #888;
    color: #fff;
}
.bib_white{
   background-color: #fff;
   -webkit-box-shadow: inset 0 0 2px #000000;
   box-shadow:         inset 0 0 2px #000000;
}
.bib_purple{
    background-color: #551a8b;
    color: #fff;
}
.bib_turquoise{
    background-color: #40e0d0;
}
.sanction{
    height: 18px;
    -ms-flex-item-align:center;
        -ms-grid-row-align:center;
        align-self:center;
    border: 1px solid #ddd;
    width: 14px;
}
.yellowcard{
    background: #ffe45c;
}
.timepenalty{
    font-weight: bold;
    font-size: 10px;
    line-height: 1.8;
}
/* Firefox fix: */
@-moz-document url-prefix() {
    .flag{
        -moz-transform:scale(0.6);
        margin-bottom: 0px;
    }
    .sprite-big-flag{
        zoom:1;
    }
}
/* IE10-11 flex fix: */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .flag{
        -ms-transform:scale(0.6);
        margin-bottom: -1px;
    }
    .sprite-big-flag{
        zoom:1;
    }
}
.col_result{
    -ms-flex:1 0 60px;
            -webkit-box-flex:1;
            flex:1 0 60px;
    -ms-flex-direction: row;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            flex-direction: row;
    padding-right: 2px;
    -ms-flex-pack: end;
            -webkit-box-pack: end;
            justify-content: flex-end;
    font-weight: 600;
}
.col_result span{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 1;
            -webkit-box-flex: 1;
            flex: 1;
    padding-left: 2px;
}
.col_result span.pf{
    -ms-flex-pack: end;
        -webkit-box-pack: end;
            justify-content: flex-end;
}
.col_points,
.col_diff{
    -ms-flex:0 0 55px;
            -webkit-box-flex:0;
            flex:0 0 55px;
    padding-right: 3px;
    -ms-flex-pack: end;
            -webkit-box-pack: end;
            justify-content: flex-end;
}
.infotitle{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 1;
            -webkit-box-flex: 1;
            flex: 1;
    background: #052d93;
    line-height: 1.5;
    font-weight: 600;
    padding-left: 3px;
    font-size: 10pt;
    color: #fff;
}

.col_infoitem{
    background:rgba(0,0,0,0.05);
    -ms-flex: 1 0 110px;
            -webkit-box-flex: 1;
            flex: 1 0 110px;
    padding-left: 3px;
}
.col_infotext{
    -ms-flex: 1 1 calc(100vw - 110px);
            -webkit-box-flex: 1;
            flex: 1 1 calc(100vw - 110px);
    padding-left: 3px;
}
.hide{
    display:none;
}
.tablecontent .col_rank{
    background:rgba(0,0,0,0.1);
    font-weight: 600;
}
li.favorite_nation{
    background: #edf0f9;
}
li.favorite_nation1{
    background: rgba(151,221,255,0.4);/*#97ddff;*/
}
li.favorite_nation2{
    background: rgba(178,255,191,0.4);/*#b2ffbf;*/
}
li.favorite_nation3{
    background: rgba(255,178,178,0.4);/*#ffb2b2;*/
}
li.favorite_nation4{
    background: rgba(238,178,255,0.4);/*#eeb2ff;*/
}
li.favorite{
    background: #fff8e8;
}
.qualified{
    background: #7cdb00 !important;
}
li.lastfinish {    
    -webkit-animation-name: fadeout;    
            animation-name: fadeout;
    -webkit-animation-duration: 15s;
            animation-duration: 15s;
}
@-webkit-keyframes fadeout {
   0%   {background-color: rgba(240,156,0,0.25);}
   90%  {background-color: rgba(240,156,0,0.25);}
   100% {background-color: transparent;}
}
@keyframes fadeout {
   0%   {background-color: rgba(240,156,0,0.25);}
   90%  {background-color: rgba(240,156,0,0.25);}
   100% {background-color: transparent;}
}
    
li.favorite .name::after{
    color: #f0ab00;
    padding-left: 5px; 
    content:'\2605';
}
.star {
    color: #f0ab00;
    padding-left: 10px; 
}
li.favorite .lastname{
    font-weight: bold;
}


.warning {
    background: red;
    color: #fff;
    height: 35px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 1;
            -webkit-box-flex: 1;
            flex: 1;
    -ms-flex-pack: center;
            -webkit-box-pack: center;
            justify-content: center;
    text-align: center;
    line-height: 1.3;
    width: 100%;
    position: absolute;
    top: -37px;
    z-index: 10;
    opacity: 0
}
@-webkit-keyframes fadeIn_warning {
    from {
        opacity: 0;
        top: -37px
    }

    to {
        opacity: 1;
        top: 0
    }
}
@keyframes fadeIn_warning {
    from {
        opacity: 0;
        top: -37px
    }

    to {
        opacity: 1;
        top: 0
    }
}
@-webkit-keyframes fadeOut_warning {
    from {
        opacity: 1;
        top: 0
    }

    to {
        opacity: 0;
        top: -37px
    }
}
@keyframes fadeOut_warning {
    from {
        opacity: 1;
        top: 0
    }

    to {
        opacity: 0;
        top: -37px
    }
}
.load_warning {
    -webkit-animation: fadeIn_warning .3s;
            animation: fadeIn_warning .3s;
    top: 0;
    opacity: 1
}
.unload_warning {
    -webkit-animation: fadeOut_warning .3s;
            animation: fadeOut_warning .3s;
}







/*media queries*/
/*
@media screen and (min-width:568px) {
    #view1,
    #view2{  
        display: -webkit-box;  
        display: -ms-flexbox;  
        display: flex;
    }    
}
*/
@media screen and (min-width:737px) and (min-height:400px)  {
    .container{
        position: fixed;
    }
    #view1,
    #view2{  
        display: -ms-flexbox;  
        display: -webkit-box;  
        display: flex;
    }
}
@media screen and (min-width:737px) and (min-height:600px)  {
    .container{
        position: fixed;
    }
    #view1,
    #view2,
    #view4{  
        display: -ms-flexbox;  
        display: -webkit-box;  
        display: flex;
    }
}
@media screen and (min-width:1024px) and (min-height:600px)  {
    .container{
        position: fixed;
    }
    #view6{  
        display: -ms-flexbox;  
        display: -webkit-box;  
        display: flex;
    }
}
@media screen and (min-width:1024px)  {
    .container{
        position: fixed;
    }
    .item1 #result1 .col_diff,
    .item2 #result1 .col_diff,
    .item2 #result2 .col_diff,
    .item4 #result1 .col_diff,
    .item4 #result2 .col_diff,
    .item4 #result3 .col_diff,
    .item4 #result4 .col_diff{
        -ms-flex:0 0 70px;
                -webkit-box-flex:0;
                flex:0 0 70px;
    }
}
@media screen and (min-width:1300px) and (min-height:600px)  {
    .container{
        position: fixed;
    }
    #view8{
        display: -ms-flexbox;  
        display: -webkit-box;  
        display: flex;
    }
}
@media screen and (min-width:1700px) and (min-height:600px)  {
    .container{
        position: fixed;
    }
    #view10{
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
    }
}
@media screen and (min-width:2000px) and (min-height:600px)  {
    .container{
        position: fixed;
    }
    #view12{
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
    }
}
@media screen and (min-width:2400px) and (min-height:600px)  {
    .container{
        position: fixed;
    }
    #view14{
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
    }
}
@media screen and (max-height:500px)  {
    
}
@media screen and (max-height:600px)  {
    #view4,
    #view6,
    #view8,
    #view10,
    #view12,
    #view14{
        display: none;
    }    
    #result3,
    #result4,
    #result5,
    #result6,
    #result7,
    #result8,
    #result9,
    #result10,
    #result11,
    #result12,
    .item_4 #result3,
    .item_4 #result4,
    .item_6 #result3,
    .item_6 #result4,
    .item_6 #result5,
    .item_6 #result6,
    .item_8 #result3,
    .item_8 #result4,
    .item_8 #result5,
    .item_8 #result6,
    .item_8 #result7,
    .item_8 #result8,
    .item_10 #result3,
    .item_10 #result4,
    .item_10 #result5,
    .item_10 #result6,
    .item_10 #result7,
    .item_10 #result8,
    .item_10 #result9,
    .item_10 #result10,
    .item_12 #result3,
    .item_12 #result4,
    .item_12 #result5,
    .item_12 #result6,
    .item_12 #result7,
    .item_12 #result8,
    .item_12 #result9,
    .item_12 #result10,
    .item_12 #result11,
    .item_12 #result12,
    .item_12 #result3,
    .item_14 #result4,
    .item_14 #result5,
    .item_14 #result6,
    .item_14 #result7,
    .item_14 #result8,
    .item_14 #result9,
    .item_14 #result10,
    .item_14 #result11,
    .item_14 #result12,
    .item_14 #result13,
    .item_14 #result14{
        display: none;
    }    
    .item_1 .resultitem,
    .item_2 .resultitem,
    .item_4 .resultitem,
    .item_6 .resultitem,
    .item_8 .resultitem,
    .item_10 .resultitem,
    .item_12 .resultitem,
    .item_14 .resultitem{
        height: calc(100vh - 112px);
    }
}

/*12 items*/
@media screen and (max-width:2399px) {
    #result13,
    #result14,
    .item_12 #result13,
    .item_12 #result14,
    .item_14 #result13,
    .item_14 #result14{
        display: none;
    }
    .item_12 .resultitem,
    .item_14 .resultitem{
        -ms-flex: 1 1 calc(16.666% - 10px);
        -webkit-box-flex: 1;
        flex: 1 1 calc(16.666% - 10px);
    }
}

/*10 items*/
@media screen and (max-width:1999px) {
    #result11,
    #result12,
    #result13,
    #result14,
    .item_10 #result11,
    .item_10 #result12,
    .item_10 #result13,
    .item_10 #result14,
    .item_12 #result11,
    .item_12 #result12,
    .item_12 #result13,
    .item_12 #result14,
    .item_14 #result11,
    .item_14 #result12,
    .item_14 #result13,
    .item_14 #result14{
        display: none;
    }
    .item_10 .resultitem,
    .item_12 .resultitem,
    .item_14 .resultitem{
        -ms-flex: 1 1 calc(20% - 10px);
        -webkit-box-flex: 1;
        flex: 1 1 calc(20% - 10px);
    }
}

/*8 items*/
@media screen and (max-width:1699px) {
    #result9,
    #result10,
    #result11,
    #result12,
    .item_8 #result9,
    .item_8 #result10,
    .item_8 #result11,
    .item_8 #result12,
    .item_8 #result13,
    .item_8 #result14,
    .item_10 #result9,
    .item_10 #result10,
    .item_10 #result11,
    .item_10 #result12,
    .item_10 #result13,
    .item_10 #result14,
    .item_12 #result9,
    .item_12 #result10,
    .item_12 #result11,
    .item_12 #result12,
    .item_12 #result13,
    .item_12 #result14,
    .item_14 #result9,
    .item_14 #result10,
    .item_14 #result11,
    .item_14 #result12,
    .item_14 #result13,
    .item_14 #result14{
        display: none;
    }
    .item_10 .resultitem,
    .item_12 .resultitem,
    .item_14 .resultitem{
        -ms-flex: 1 1 calc(25% - 10px);
        -webkit-box-flex: 1;
        flex: 1 1 calc(25% - 10px);
    }
}

/*6 items*/
@media screen and (max-width:1299px) {
    #result7,
    #result8,
    #result9,
    #result10,
    #result11,
    #result12,
    #result13,
    #result14,
    .item_6 #result7,
    .item_6 #result8,
    .item_6 #result9,
    .item_6 #result10,
    .item_6 #result11,
    .item_6 #result12,
    .item_6 #result13,
    .item_6 #result14,
    .item_8 #result7,
    .item_8 #result8,
    .item_8 #result9,
    .item_8 #result10,
    .item_8 #result11,
    .item_8 #result12,
    .item_8 #result13,
    .item_8 #result14,
    .item_10 #result7,
    .item_10 #result8,
    .item_10 #result9,
    .item_10 #result10,
    .item_10 #result11,
    .item_10 #result12,
    .item_10 #result13,
    .item_10 #result14,
    .item_12 #result7,
    .item_12 #result8,
    .item_12 #result9,
    .item_12 #result10,
    .item_12 #result11,
    .item_12 #result12,
    .item_12 #result13,
    .item_12 #result14,
    .item_14 #result7,
    .item_14 #result8,
    .item_14 #result9,
    .item_14 #result10,
    .item_14 #result11,
    .item_14 #result12,
    .item_14 #result13,
    .item_14 #result14{
        display: none;
    }
    .item_6 .resultitem,
    .item_8 .resultitem,
    .item_10 .resultitem,
    .item_12 .resultitem,
    .item_14 .resultitem{
        -ms-flex: 1 1 calc(33.333% - 10px);
                -webkit-box-flex: 1;
                flex: 1 1 calc(33.333% - 10px);
    }
}
/*4 items*/
@media screen and (max-width:1023px) {
    #result5,
    #result6,
    #result7,
    #result8,
    #result9,
    #result10,
    #result11,
    #result12,
    .item_6 #result5,
    .item_6 #result6,
    .item_8 #result5,
    .item_8 #result6,
    .item_8 #result7,
    .item_8 #result8,
    .item_10 #result5,
    .item_10 #result6,
    .item_10 #result7,
    .item_10 #result8,
    .item_10 #result9,
    .item_10 #result10,
    .item_12 #result5,
    .item_12 #result6,
    .item_12 #result7,
    .item_12 #result8,
    .item_12 #result9,
    .item_12 #result10,
    .item_12 #result11,
    .item_12 #result12{
        display: none;
    }
    .item_4 .resultitem,
    .item_6 .resultitem,
    .item_8 .resultitem,
    .item_10 .resultitem,
    .item_12 .resultitem,
    .item_14 .resultitem{
        -ms-flex: 1 1 calc(50% - 10px);
                -webkit-box-flex: 1;
                flex: 1 1 calc(50% - 10px);
    }
}
@media screen and (min-width:768px) and (max-height:600px) {
    
}
@media screen and (max-width:736px) { /*includes iPhone Plus  screeen width 736px*/
    .container{
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    #eventtitletext_mobile{
        display: block;
    }
    ul.tab-links li.tab-item {
        -ms-flex: 1 1 33%;
        -webkit-box-flex: 1;
                flex: 1 1 33%;
    }
    ul.tab-links li:nth-child(3),
    ul.tab-links li.eventtitle{
        -ms-flex: 0 0 0px;
        -webkit-box-flex: 0;
                flex: 0 0 0px; 
    }
    #view1,
    #view2,
    #view4,
    #view6,
    #view8,
    #view10,
    #view12,
    #view14{
        display: none;
    }
    .resultview{
        overflow: visible;
        position:static;
        top:initial;
        left: initial;
        right: initial;
        bottom: initial;
        height: auto;
        min-height: calc(100% - 35px);
    }
    #result1 .scrollwrapper{
        position: static;/*to make the result content full screen scrollable*/
    }
/*
    .moreview{
        overflow: visible;
    }
*/
    .resultbox,
    .scrollwrapper{
        display: block;
        overflow: visible;
    }
    ul.eventinfo{
        margin:5px 1px 0 1px;
        -ms-flex: 1 ;
                -webkit-box-flex: 1;
                flex: 1 1 calc(100% - 2px);
        font-size: 9pt;
    }
    #result1,
    .item_1 .resultitem,
    .item_2 .resultitem,
    .item_4 .resultitem,
    .item_6 .resultitem,
    .item_8 .resultitem,
    .item_10 .resultitem,
    .item_12 .resultitem,
    .item_14 .resultitem{
        -webkit-box-flex: 1;
            -ms-flex: 1;
        display: block;
        margin: 5px 0 0 0;
        height: inherit;
        width: 100%;
    }
    #result2,
    #result3,
    #result4,
    .item_2 #result2,
    .item_4 #result2,
    .item_4 #result3,
    .item_4 #result4,
    .item_6 #result2,
    .item_6 #result3,
    .item_6 #result4,
    .item_8 #result2,
    .item_8 #result3,
    .item_8 #result4,
    .item_10 #result2,
    .item_10 #result3,
    .item_10 #result4,
    .item_12 #result2,
    .item_12 #result3,
    .item_12 #result4,
    .item_14 #result2,
    .item_14 #result3,
    .item_14 #result4{
        display: none;
    }
    
}
.hidden{
    display:none;
}
/*
@media screen and (max-width:768px) and (max-height:600px) {
    #result3,
    #result4,
    .item_4 #result3,
    .item_4 #result4,
    .item_6 #result3,
    .item_6 #result4,
    .item_8 #result3,
    .item_8 #result4{
        display: none;
    }
    .item_2 .resultitem,
    .item_4 .resultitem,
    .item_6 .resultitem,
    .item_8 .resultitem{
        margin: 5px 0 0 0;
        -webkit-box-flex: 1;
            -ms-flex: 1 1 calc(50% - 3px);
                flex: 1 1 calc(50% - 3px);
        height: calc(100% - 3px);
        max-height: calc(100% - 3px);
    }
}

@media screen and (max-width:768px) and (min-height:600px) {
    .item_1 .resultitem,
    .item_2 .resultitem{
        margin: 5px 0 0 0;
        -webkit-box-flex: 1;
            -ms-flex: 1 1 calc(50% - 3px);
                flex: 1 1 calc(50% - 3px);
        height: calc(100% - 3px);
        max-height: calc(100% - 3px);
    }
    .item_4 .resultitem,
    .item_6 .resultitem,
    .item_8 .resultitem{
        margin: 5px 0 0 0;
        -webkit-box-flex: 1;
            -ms-flex: 1 1 calc(50% - 4px);
                flex: 1 1 calc(50% - 4px);
        height: calc(50% - 4px);
        max-height: calc(50% - 4px);
    }

    .item_2 #result1,
    .item_4 #result1,
    .item_6 #result1,
    .item_8 #result1,
    .item_2 #result3,
    .item_4 #result3,
    .item_6 #result3,
    .item_8 #result3{
        margin-right: 2px;
    }

    .item_2 #result2,
    .item_4 #result2,
    .item_6 #result2,
    .item_8 #result2,
    .item_2 #result4,
    .item_4 #result4,
    .item_6 #result4,
    .item_8 #result4{
        margin-left: 2px;
    }  
    .item_4 #result3,
    .item_6 #result3,
    .item_8 #result3,
    .item_4 #result4,
    .item_6 #result4,
    .item_8 #result4{
        margin-top: 2px;
    } 
    .item_4 #result1,
    .item_6 #result1,
    .item_8 #result1,
    .item_4 #result2,
    .item_6 #result2,
    .item_8 #result2{
        margin-bottom: 2px;
    } 
    
}
    

@media screen and (max-width:567px) {    
    #result2,
    #result3,
    #result4,
    .item_2 #result2,
    .item_4 #result2,
    .item_4 #result3,
    .item_4 #result4,
    .item_6 #result2,
    .item_6 #result3,
    .item_6 #result4,
    .item_8 #result2,
    .item_8 #result3,
    .item_8 #result4{
        display: none;
    } 
    .item_1 .resultitem,
    .item_2 .resultitem,
    .item_4 .resultitem,
    .item_6 .resultitem,
    .item_8 .resultitem{
        margin: 5px 0 0 0;
        -webkit-box-flex: 1;
            -ms-flex: 1 1 100%;
                flex: 1 1 100%;
        height: calc(100% - 5px);
        max-height: calc(100% - 5px);
    }
    ul.tab-links li.tab-item {
        -webkit-box-flex: 1;
            -ms-flex: 1 1 33%;
                flex: 1 1 33%;
    }
    ul.tab-links li:nth-child(3) {
        display: none;
    }
}
*/