﻿/* Main styles
 -------------------------------------------------- */

html {
    height: 100%;
}
html,body{
    background: #f9f9f9;
}
body { 
    font-size: 13px;
    color: #111;
    margin: 0;
    padding: 0;
    font-family: Tahoma;
}
.main {
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    width: 1024px;
    height: auto;
    box-shadow: 0 0 15px rgba(0,0,0,.3);
    border-radius: 6px;
}
.small {
    font-size: 12px;
}
.h1-border {
    border-bottom: 1px #111 solid;
}
.h1 {
    font-size: 26px;
    color: #666D71;
    padding: 0 10px 0 10px;
}
.h1 .color, .clr2 {
    color: #6492C1;
}
.h2 {
    color: #3168A0;
    border-bottom: none;
    top: 6px;
    position: relative;
    width: 250px;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
    background: #D9EBF9;
    padding: 3px 0;
}
.h2+br~.small {
    padding: 1em .7em;
    display: block;
}
.h2 + br {
    display: none;
}
a {
    color: #4F7298;
}
a:hover {
    color: #9CBBDC;
}
.main > a,
.main > a * {
    outline: none !important;
}
.clr2 {
    font-size: 11px;
    padding-left: 10px;
}
.navlinks {
    padding-left: 0;
    line-height: 2em;
    font-size: 11px;
    font-weight: 700;
    margin-left: -10px;
    text-transform: lowercase;
    padding-right: 1.5em;
}
.navlinks li {
    list-style-type: none;
    display: block;
}
.navlinks a {
    text-decoration: none;
    display: block;
    padding-left: 22px;
    border-radius: 4px;
    transition: .2s ease;
    position: relative;
}
.navlinks .active>a {
    background: #D9EBF9;
}
.navlinks .active>a:before {
    content: "»";
    position: absolute;
    left: 7px;
    font-size: 14px;
}
.navlinks li:not(.active)>a:hover {
    background: rgba(217, 235, 249, 0.35);
}

.tdr {
    padding-left: 20px;
    border-left: solid 1px #E5E7E8;
    line-height: 130%;
    margin-top: 45px;
    margin-left: 211px;
}

#common_errors {
    margin-top: 2em;
}
.error_visible p {
    margin-top: -1em;
    font-size: .9em;
}


/* Forum catalog
 -------------------------------------------------- */

#cat-table {width:100%}
#cat-table a.is_active {font-weight:bold}
#cat-table td {width:33%}
#cat-table1, #cat-table2 {border:1px solid #ccc; width:100%; overflow:hidden; white-space:normal; table-layout:fixed}
#cat-table1 {margin-top:30px}
#cat-table1 td, #cat-table2 td {background-color:#eee; border:1px solid #fff; padding:5px}
#cat-table2 td {
    background: #fff;
    border: solid 1px #ccc;
    border-collapse: collapse;
    border-style: solid solid none none;
    border-width: 1px 1px 0 0;
    border-color: #e1e1e1;
}
#pagelist {
    margin-top: 30px; 
    padding: 5px;
    font-size: 1.3em; 
    text-align: center;
}
#pagelist>a {
    text-decoration: none;
}
.incattd1 {width:5%; min-width:5%; max-width:5%; overflow:hidden; white-space:normal}
.incattd2 {width:35%; min-width:35%; max-width:35%; overflow:hidden; white-space:normal}
.incattd3, .incattd4, .incattd5, .incattd6, .incattd7 {width:12%; overflow:hidden; white-space:normal}


/* Style of buttons and selects
 -------------------------------------------------- */

.main input[type=text],.main input[type=password],.main select {
    margin: 2px 0;
    padding: 4px 8px;
    font-size: 13px;
    font-family: Tahoma;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.main input[type=text]:focus,.main input[type=password]:focus,.main select:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}
.main input.error, input[type=checkbox].error + label:before {
    border-color: #E96666;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(233, 102, 102, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(233, 102, 102, 0.6);
}
.main select {
    padding-left: 4px;
}
.main input[type=submit],.main input[type=button],.main input[type=reset] {
    background: #66ACF5;
    border: solid 1px #66acf5;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    font-family: Tahoma;
    color: #fff;
    font-size: 14px;
    outline: 0;
}
.main input[type=submit]:hover,.main input[type=button]:hover,.main input[type=reset]:hover {
    background: #83BDEF;
    border-color: #83BDEF;
}
.main input[type=submit]:active,.main input[type=button]:active,.main input[type=reset]:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
.main input[type=submit]:disabled, .main input[type=button]:disabled, .main input[type=reset]:disabled {
    pointer-events: none;
    opacity: .5;
}
select[name=board_catalog] {
    width: 277px;
}
input[type=checkbox]:checked, 
input[type=checkbox]:not(:checked) {
    display: none;
}
input[type=checkbox]:checked + label:before,
input[type=checkbox]:not(:checked) + label:before {
    content: "\2713";
    display: inline-block;
    width: auto;
    border-radius: 3px;
    width: 10px;
    height: 10px;
    font-size: 14px;
    vertical-align: middle;
    margin: -3px .5em 0 0;
    background: #f0f0f0;
    border: solid 1px #ccc;
    padding: 2px;
    color: transparent;
    text-align: right;
    line-height: 10px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
input[type=checkbox]:checked + label:before {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
    color: #333;
}
input[type=checkbox] + label:hover:before {
    border-color: #66afe9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}


/* Style corrections for small screens
 -------------------------------------------------- */

        @media screen and (max-width:540px) {
body {
    margin: 0 .8em;
}
.main {
    width: auto !important;
}
.tdl {
    float: none !important;
    width: 100% !important;
    padding: 10px 0.5em 0 0.5em !important;
    text-align: center;
    width: 110% !important;
    margin-left: -5%;
}
.tdl ul {
    padding-right: 0 !important;
    text-align: center;
}
.tdr {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: none 0 !important;
    margin-top: 15px !important;
    border-top: solid 1px #e5e7e8;
    padding-top: 16px;
}
.tdl li {
    display: inline-block;
}
.tdl li > a {
    padding: 0 6px !important;
}
.tdl li > a:before {
    content: "" !important;
}
.tdr > div {
    background: none !important;
    padding-right: 0px !important;
}
.h2 {
    width: 200px !important;
}
.main .tdr>table[cellspacing] td[width="33%"] {
    display: block;
    width: 100%;
}
.main .tdr>table[cellspacing] td[width="33%"]:first-child+td {
    display: none;
}
#cat-table, #cat-table2 {
    margin-top: 0 !important;
}
.incattd4, .incattd6 {
    display: none;
}
#cat-table1 td, #cat-table2 td {
    text-overflow: ellipsis;
}
.tdr ul {
    padding-left: 16px;
}


        }