﻿  table.header_sec tr td {
    background-repeat-y: no-repeat;
}
    span#menu2 {
    position: absolute;
    left: 6px;
    color: #fff;
    top: 9px;
}
table.header_sec + table {
    position: relative;
}
span#menu {
    color: #fff;
    position: absolute;
    right: 10px; 
    top: 9px
}
span.wrap_all_links.menu_open {
        display: inline-grid;
        min-height: 300px;  
        margin-top: 50px;
}


span.wrap_all_links {
    position: relative;
    top: 9px;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background: #000;
    text-align: left;

}
span.wrap_all_links.menu_open {
    display: inline;
}

@media (min-width: 1025px){
    #menu{display: none;}
    span.wrap_all_links{display: block;}
    span#menu2{
    display: none;
}
body span.wrap_all_links a.top1 {
    padding: 0 46px;
}
body span.wrap_all_links {
    text-align: center;
}


}

.fixed_width table {
    margin: 0 auto;
}
span.TESTO {
    width: 100%;
}
.table_100 a{
	    word-break: break-all;
}
@media (max-width: 1024px){
   header + table td[bgcolor="#FAEBAD"] {
    background: none;
}
header + table td.left_side_bar.menu2_open {
  display: block !important;
    background: #FAEBAD;
    position: absolute;
    left: 0;
}
header + table td[width="5"] , header + table td[width="15"] {
    display: none;
}
    h1.m_full_ouer + center {
    width: 100%;
}
.fixed_width table.pieni a {
    word-break: normal;
}
    .main_sec {
    width: 100%;
}
.plm_15 {
    padding-left: 15px;
}

.a_full a {
    word-break: normal;
}
table.table_100 tr:nth-child(1) td[bgcolor="#FAEBAD"] {
    display: none;
}
span#menu i.fa {
    margin-right: 4px;
}
.fixed_width{    
    overflow: scroll;
    margin: 0 auto;
    width: 800px !important;
}
.left_side_bar tbody img {
    display: none;
}
table.header_sec , table.header_sec + table{
    padding: 0 ;
}
table.header_sec tr td {
    width: 33% !important;
}
table.header_sec tr td {
  text-align: right;
    float: right;
    align-items: center;
}

table.header_sec tr td p {
    width: 100%;
    text-align: right;
    margin-top: 0;
}

td.left_side_bar{
    display: none !important;
}
td.left_side_bar.menu2_open {
    display: block !important;
}


#menu{display: block;}
span.wrap_all_links {display: table-caption;}
table {
    width: 100%;
}
table#table2 tr, table#table2 tr td ,
table.table_100 tr, table.table_100 tr td ,
table.header_sec tr, table.header_sec tr td 
{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.dis_tab_cell tr td , .dis_tab_cell tr {
    display: revert !important;
}

 .m_full_ouer {
    display: block;
    width: 100%;
}
.table_rev  tr td , .table_rev  tr , .fixed_width .tournament  tr td  , .fixed_width .tournament  tr {
    display: revert !important;
    width: auto !important;
}


.fixed_width table.pieni  tr td, .fixed_width table.pieni tr {
    display: revert !important;
    width: 100px !important;
}

.fixed_width table.pieni  tr td , body{
    font-size: 14px !important; 
}
.table_rev + i {
    width: 100%;
    display: block;
}
table.height_auto {
    height: auto !important;
    width: 100% !important
}
table.pieni#ctl00_SortableDG1 tr , table.pieni#ctl00_SortableDG1 tr td {
    width: auto;
    display: revert;
}

table[width="162"] {
    width: 100%;
}

td[width="162"] {
    width: 100%;
    display: inline-block;
    max-width: 100%;
}

td[width="162"] a {
    display: inline-block;
    width: 24%;
}

table[height="962"] {
    height: auto !important;
    max-height: 100% !important;
}

table td[height="962"] {
    height: auto !important;
}

table tr td a + br {
    display: none;
}

table tr td[height="363"] {
    height: auto;
}

table {
    padding: 0 15px;
}

table[style="border-collapse: collapse;"] {border-collapse: unset !important;}
table#table4 , table#table5 {    height: calc(100% - 29px);width: calc(50% - 20px);}
span.wrap_all_links {justify-content: flex-start;
    height: 100%;width: 100%

}
span.wrap_all_links a.top1 {
    flex: 0 0 11%;
    margin: 0;
    padding: 0 0px;
}
table.header_sec a img{
position: relative;
z-index: 9;
}
/*--tournaments-page-*/
.tournaments_table tr, .tournaments_table tr td  ,
#table1 tr , #table1 tr td

{
    display: revert;
}

.pieni.table_rev {
    width: 100% !important;
}


/*--register-page--*/
.register_sec form#form1 {
    float: left;
    width: 100%;
}
.register_sec form#form1 table tr td input , form#form1 table tr td font {
    width: 100%;
}
.register_sec form#form1 table tr td input , form#form1 table tr td {
    background:unset !important;
}
form#form1 table tr td font input {
    box-shadow: none;
    outline: none;
    border: 1px solid;
    min-height: 25px;
}
.register_sec form[name=form2] {
    max-width: 100%;
    float: left;
    width: 100%;
}

 tbody.register_sec tr td p {
    width: 100%;
}
.md_none {
    display: none;
}
.footer_sec {
    position: absolute;
    width: 100%;
    bottom: 0;
}
.default_table {
    width: 100%;
}
.w_50 {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.tour_fix_w {
    width: 600px;
    overflow-x: scroll;
    margin: 0 auto;
        margin: 0 auto;
    display: -webkit-inline-box;
}
.tour_fix_w table.tournament tr td, .tour_fix_w table.tournament tr, .tour_fix_w table.tournament tr th {
        width: 100px;
    display: revert;
    padding-left: 10px;
    font-size: 16px;
}
.tour_fix_w table.tournament tr td:first-child, .tour_fix_w table.tournament tr th:first-child {
    width: 50px;
}
.fixed_width table tr td {
    border: 0;
}
table.table_100 tr td {
    font-size: 14px;
}
.table_rev {
    max-width: 100%;
    margin: 0 auto;
}
.inlineTable {
    display: inline-block;
}
.table_rev.fixed_width tr td {
    white-space: nowrap;
}
.fixed_width_big{
    overflow: scroll;
    margin: 0 auto;
    width: 800px !important;
}
.pl_0{
    padding-left: 0 !important;
}

table.table_100 tr td.left_side_bar b {
    display: block;
    width: 100%;
}

}

.overflow_hide{
    overflow: hidden;
}


@media (max-width: 768px){
.table_scrolling {
    width: 580px;
    overflow: scroll;
}
.fixed_width_big {
    width: 640px !important;
}
.table_scrolling table.table_rev tr , .table_scrolling table.table_rev tr td {
    display: revert !important;
    flex-wrap: nowrap;
}
p{
    line-height: 18px;
}
span.wrap_all_links a.top1 {
    padding: 8px 2px;
    font-size: 12px;
}
body span.wrap_all_links a.top1 {
    padding: 8px 20px;
}
.fixed_width , .table_scrolling {
    overflow: scroll;
    margin: 0 auto;
    width: 400px !important;
} 
.fixed_width table.tournament {
    table-layout: auto;
    width: 100%;
}
}

@media (max-width: 575px){
td[width="162"] a {
    display: inline-block;
    width: 100%;
}
table#table4, table#table5 {
    width: 100%;

}
table#table4 , table#table5 {    height: calc(100% - 29px);width: 100%;}
table.header_sec tr td p a {
    display: block;
    margin: 5px 4px;
}
.fixed_width_big {
    width: 480px !important;
}

table.header_sec tr td p img {
    display: none;
}
body span.wrap_all_links a.top1 {
    padding: 8px 10px;
}
}


@media (max-width: 480px){
.fixed_width_big {
    width: 400px !important;
}

table.header_sec tr td p font[size="2"] {
    font-size: 10px;
    line-height: 12px;
}

table p font[size="2"] {
    font-size: 20px;
    line-height: 35px;
    font-weight: 300;
}
table p b font[size="2"] {
    font-weight: 600;
}
table.header_sec a img {
    position: relative;
    z-index: 9;
    max-width: 170px;
    height: auto;
}
table tr.email_label p font[size="2"] {
    line-height: 4px;
}
body span.wrap_all_links a.top1 {
    padding: 8px 5px;
}
.fixed_width , .table_scrolling {
    width: 340px !important;
} 
}




@media (max-width: 414px){

table.main.table_rev td.pieni font {
    min-height: 30px !important;
    display: inline-block;
    float: none;
    padding-top: 5px;
}
body span.wrap_all_links a.top1 {
    padding: 8px 3px;
}

}


span.wrap_all_links a.top1 {
    margin: 10px;
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 30px;
}




@media (max-width: 360px){
    .fixed_width_big {
    width: 300px !important;
}
body span.wrap_all_links a.top1 {
    padding: 8px 3px;
    font-size: 10px;
    line-height: 15px;
}
.fixed_width , .table_scrolling{
    width: 300px !important;
} 
}
