@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

.mobile_menu {
    display: none;
}
html, body {
    overflow-x: hidden;
}
body {
    width: 100%;
    min-width: 360px;
}
.TblList {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
}
.TblList .line {
    flex: 0 1 auto;
    clear: both;
    padding-bottom: 5px;
}
.TblList .line input[type="text"], .TblList .line select {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
    margin: 0 0 5px 0;
    line-height: 32px;
    height: 32px;

}
.TblList .line > div:nth-child(1) {
    width: 40%;
    float: left;
/*    line-height: 32px;*/
}
.TblList .line > div:nth-child(2) {
    width: 60%;
    float: left;
}
.TblList .fullWIdth {
    width: 100%;
}
.TblList .line > div:nth-child(2) .checkboxGroup {
    width: 100%;
}
.TblList .line > div:nth-child(2) input[type="checkbox"] {
    display: inline;
}
.TblList .line > div textarea {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin: 0;
    width: 100%;
}
.TblList .line .hint {
    width: 100%;
    left: 0;
}
.contactForms {
    width: 100%;
}
.contactForms select {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%!important;
    margin: 0;
    line-height: 32px;
    height: 32px;
}
.footer {
    width: 100%;
}
#head_content {
    background: #e7e7e7 url('/assets/i/head_content.jpg') repeat-x;
}
.TblGrid {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
}
.TblGrid .line {
    flex: 0 1 auto;
}
.TblGrid .table-column {
    width: 100%;
    display: flex;
}
.TblGrid .table-column > div {
    flex: 1 1 auto;
    text-align: left;
    color: black;
    padding: 6px 6px 6px 0;
    width: 33.3333%;
}
.TblGrid.table-two-columns .table-column > div {
    width: 50%;
}
.table-column.table-two-columns > div {
    width: 50%;
}
.TblGrid .table-title .table-column div {
    text-align: left;
    border-bottom: 2px solid #cccccc;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
}
@media (max-width: 1024px) {
    #container {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        width: 95%;
        min-width: 769px;
        padding-left: 5px;
        padding-right: 5px;
    }
    #org_name {
        margin: 0 auto;
    }
    #content {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        margin: 25px 0 0 0;
    }
    #head_content {
        width: 100%;
        padding-right: 5px;
    }
    #head_content p {
        width: auto;
        padding-right: 20px;
        padding-top: 0;
        margin-left: 205px;
    }
    #logo {
        top: 108px;
        left: 20px;
    }
    #tabs {
        left: 50%;
        width: 750px;
        margin-left: -375px;
        display: flex;
        justify-content: space-around;
    }
    #en #tabs {
        left: 50%!important;
        width: 534px;
        margin-left: -267px;
    }
    .tabs {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        height: 42px;
        font-size: 12px;
        padding-left: 6px;
        padding-right: 6px;
        flex: 0 1 auto;
    }
    #body_content {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        width: 100%;
        left: 0;
        padding: 30px 20px 20px 20px;
    }
    #rules {
        width: 28%;
    }
    .inputMsg {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        width: 100%!important;
        line-height: 32px;
        height: 32px;
    }
    .messageFlash {
        width: 100%;
    }
    #footer {
        padding: 0;
    }
    .footer {
        display: flex;
        justify-content: space-around;
    }
    .menu_footer, .menu_footer2 {
        line-height: 1;
        height: auto;
        flex: 0 1 auto;
    }
    #en .menu_footer, .menu_footer2 {
        width: auto;
    }
    .menu_footer:nth-child(4) {
        flex: 1 1 auto;
    }
    #left_data {
        display: none;
    }
    #right_data {
        float: left;
        width: 100%;
        text-align: center;
        padding-bottom: 5px;
    }
    #right_data br {
        display: none;
    }
    .TblGrid .table-column div {
        border-bottom: 2px solid #cccccc;
    }
}

@media (max-width: 768px) {
    #container {
        width: 98%;
        min-width: 481px;
    }
    #header {
        height: auto;
    }
    #org_name {
        width: 100%
    }
    #org_name p {
        top: -54px;
        font-size: 18px;
        height: 63px;
    }
    #logo {
        top: 108px;
        left: 0;
    }
    #head_content {
        height: auto;
    }
    #head_content p {
        margin: 0 auto;
        position: relative;
        left: 3px;
        width: auto;
        padding: 10px 20px 0 20px;
    }
    #lang {
        font-size: 16px;
        top: 106px;
    }
    #content {
        margin: 0;
    }
    .mobile_menu {
        display: block;
        background: #8d8d8d;
        line-height: 42px;
        color: #fff;
        width: 100%;
        margin: 16px auto 0 auto;
        left: 0;
        position: relative;
        padding-left: 6px;
        font-family: 'Open Sans', 'Tahoma', sans-serif;
    }
    .mobile_menu span {
        text-transform: uppercase;
        font-weight: bold;
        margin-left: 50px;
    }
    .mobile_menu i {
        height: 42px;
        font-size: 25px;
        position: absolute;
        left: 0;
        width: 42px;
        line-height: 46px;
        text-align: center;
    }
    .mobile_menu.active i, .mobile_menu i:hover {
        background: #9e9d9d;
    }
    #tabs {
        display: none;
        width: 360px;
        position: absolute;
        top: 220px;
        left: 0!important;
        margin: 0;
        z-index: 1;
        left: 0;
    }
    .tabs {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        height: 42px;
        width: 100%;
        border-radius: 0;
        border: 0;
        border-top: 1px solid #9e9d9d;
        text-align: left;
        line-height: 42px;
        padding: 0 0 0 20px;
    }
    .tabs:hover {
        background: #9e9d9d;
    }
    .active_tab {
        background: #9e9d9d!important;
    }
    .active_tab a {
        color: #fff;
    }
    #body_content {
        top: 0;
        display: flex;
        flex-flow: column nowrap;
    }
    #rules, #form, .ask {
        font-size: 16px;
    }
    #rules {
        width: 100%;
        flex: 0 1 auto;
        float: none;
        order: 2;
        margin-top: 40px;
        border-top: 1px solid #8d8d8d;
        padding-top: 40px;
    }
    #form {
        flex: 0 1 auto;
        order: 1;
        float: none;
        width: 100%;
    }
    #sample {
        font-size: 13px;
    }
    #footer {
        height: auto;
    }
    .footer {
        display: flex;
        flex-flow: column nowrap;
    }
    .menu_footer:nth-child(4) {
        flex: 0 1 auto;
    }
    .link_footer {
        font-size: 16px;
    }
    .menu_footer {
        height: auto;
    }
    #left_data {
        display: none;
    }
    #right_data {
        float: left;
        width: 100%;
        text-align: center;
        padding-bottom: 5px;
    }
    #right_data br {
        display: none;
    }
    .menu_footer, .menu_footer2 {
        width: 100%;
        height: auto;
        border: 0;
        border-bottom: 1px solid #cccccc;
        padding-bottom: 15px;
        margin: 0;
        text-align: left;
        padding-left: 15px;
    }
    #right_data {
        padding-top: 10px;
    }
    .TblGrid .table-column div {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #container {
        min-width: 360px;
    }
    #head_content p {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        padding: 5px 15px 0 15px;
        height: 202px;
    }
    #org_name p {
        height: 84px;
    }
    #logo {
        top: 118px;
    }
    #lang {
        top: 116px;
    }
    .mobile_menu {
        margin: 22px auto 0 auto;
    }
    #tabs {
        top: 266px;
        width: 350px;
    }
    #content {
        position: relative;
        top: -10px;
    }
    #messageForm .title_content {
        height: auto;
        margin-bottom: 0;
    }
    .TblList .line > div:nth-child(1) {
        width: 100%;
    }
    .TblList .line > div:nth-child(2) {
        width: 100%;
    }
    .fullWidth input[type="submit"] {
        margin: 0!important;
    }
}

/*@media (max-width: 360px) {*/
/*    body {*/
/*        min-width: 360px;*/
/*    }*/
/*}*/