html{font-family:Verdana,sans-serif;font-size:16px;line-height:1.2;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}
html{overflow-x:hidden}
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}
h1 {font-size:1.8em;}
h2 {font-size:1.6em;}
h3 {font-size:1.3em;}
h4 {font-size:1.08em;}
small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
large{font-size:1.2em}
.TextXLarge { font-size:x-large; }
sub{bottom:-0.25em}sup{top:-0.5em}figure{margin:1em 40px}img{border-style:none}svg:not(:root){overflow:hidden}
a{color:#4B3216;background-color:transparent;}
a:active,a:hover{outline-width:0;text-decoration:none;}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}

button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:bold}

form {margin:10px;}
fieldset{border:2px solid #BEB79F;;margin:0 2px;padding:.35em .625em .75em}
fieldset div {margin:0.3em 0.3em;}
legend{color:inherit;display:table;max-width:100%;padding:15px;font-weight:bold;white-space:normal}textarea{overflow:scroll}
[type=checkbox],[type=radio]{padding:0}
label {text-align:right;}

hr{border:0;border-top:1px solid #0b2d0b;}
ul { list-style-type:circle; list-style-position:outside; }
.SubList { list-style-type:disc; list-style-position:outside; }
li {margin-bottom: 0.2em;}

th {
    border: 1px solid #a9a9a9;
    padding: 4px;
    background-color: #1e4d1e;
    color: #FFFFFF;
}

/******************************************************************************/

body {
    max-width: 1400px;
    margin: 10px auto;
    background-color: #FFFFFF;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    border: 2px solid #999999;
    box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.3);
    color:#312211;
}

header {
    text-align: center;
    padding-bottom: 0px;
    padding-top: 1px;
}

article {
    position:relative;
    padding:0px;
}

footer {
    text-align: center;
    margin: 0px;
}

.Content {
    margin: 10px 20px;
}

.FlexBoxCenter {
    justify-content: space-around;
    align-items: center;
    justify-items: center;
}

.ContentFlexBox {
    display: flex;
    flex-wrap: wrap;
    margin: 5px;
}

/******************************************************************************/

.GridBox6 {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    grid-gap: 50px;
    padding: 20px;
    min-width: 500px;
}

.GridBox6  > div {
    background-color: #f9f4de;
    text-align: center;
    padding: 20px 0;
}

.GridBox6Pos1 {
    grid-column: 1 / span 2;
    grid-row: 1;
}

.GridBox6Pos2 {
    grid-column: 1 / span 2;
    grid-row: 3;
}

.GridBox6Pos3 {
    grid-column: 5 / span 2;
    grid-row: 3;
}

.GridBox6Pos4 {
    grid-column: 5 / span 2;
    grid-row: 1;
}

.GridBox6Pos5 {
    grid-column: 4 / span 2;
    grid-row: 2;
}

.GridBox6Pos6 {
    grid-column: 2 / span 2;
    grid-row: 2;
}

/******************************************************************************/

.MenuBg {
    display: block;
    min-height: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #95292c;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
}

.MenuIcon {
    display: none;
}

.DropdownMulti, .DropdownSingle {
    position: relative;
    display: inline-block;
    font-weight: bold;
    font-size: 110%;
    text-decoration: none;
    background-color: #95292c;
    border: 1px solid #8E8E8E;
    border-radius: 5px;
    cursor: pointer;
}

.DropdownSingle {
    padding: 10px;
    text-decoration: none;
    color: #efefef;
    cursor: pointer;
    margin: 0px;
}

.MenuItemRight {
    float: right;
    margin-right: 20px;
}

.DropdownBtn {
    padding: 10px;
    text-decoration: none;
    background-color: #95292c;
    border: 1px solid #8E8E8E;
    border-radius: 5px;
    color: #efefef;
    border: 0;
    cursor: pointer;
}

.DropdownContent {
    display: none;
    font-weight: normal;
    position: absolute;
    background-color: #95292c;
    min-width: 250px;
    text-align: left;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 2px 6px;
    color: #312211;
    z-index: 10;
}

.DropdownContent p {
    padding: 5px;
    margin: 5px;
}

.MenuItemFocus, .DropdownSingle:hover, .DropdownBtn:hover, .DropdownContent p:hover {
    background-color: #7d1b1e;
    border-radius: 6px;
}

.DropdownContent *, .DropdownSingle * {
    text-decoration: none;
    color: #efefef;
}

.DropdownMultiShow {
    display:block;
}

/******************************************************************************/

input[type=submit], .Button {
    background-color: rgba(240,240,240,0.7);
    border: 1px solid #8E8E8E;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    padding: 5px;
    text-align: center;
}
input[type=submit]:hover, .Button:hover { 
    background-color:#FFFFFF;
    border:1px solid #4A4A4A;
}

textarea,
select,
input[type=number],
input[type=text],
input[type=password],
input[type=email] {
    display: block;
    min-width: 250px;
    margin: 10px;
}

/******************************************************************************/

.TextPartLarge { text-align:left; line-height:24px; font-size:14pt; }
.TextPartBig { text-align:left; line-height:30px; font-size:16pt; font-weight:bold; }

.ContentBox {
    background-color:rgba(255,255,255,0.3);
    border-style:solid;
    border-color:#BEB79F;
    border-width:1px;
    box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.1);
}

.ContentTextBox {
    text-align:left;
    padding: 20px;
    margin: 10px;
}

.SubMenuBox {
    float:left;
    margin:10px;
    min-height:70px;
    padding:10px;
    background-color:rgba(255,255,255,0.3);
    border-style:solid;
    border-color:#BEB79F;
    border-width:1px;
    box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.1);
}

.IntroBanner {
    float: right;
    position:relative;
    margin: 10px;
    min-height: 220px;
}

.TableCellBorder {
    border-style:solid;
    border-color:#BEB79F;
    border-width:1px;
    background-color:rgba(240,240,240,1);
}

.TableBackground1 {
    border: 0; 
    background-color:rgba(220,220,220,1);
}

.TableBackground2 {
    border: 0; 
    background-color:rgba(200,200,200,1);
}

/******************************************************************************/

.dbInput { 
    width: 600px;
    padding: 5px;
    border:#8c8c8c 1px solid;
    border-radius: 5px;
}

/******************************************************************************/

.LinkButton a { text-decoration:none; }
.LinkButton a:hover { text-decoration:none; }

.LinkDisabled {
    pointer-events: none;
    cursor: default;
}

/******************************************************************************/

.ModalBase, .Modal {
    display: none;
    z-index: 1;
    margin: auto;
    padding: 20px;
    background-color: rgba(255,255,255,0.8);
    border: 1px solid #888;
}

.Modal {
    position: fixed;
    width: 40%;
    height: 40%;
    text-align: center;
}

.ModalContent {
    font-size: 28px;
    font-weight: bold;
}

.ModalClose {
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.ModalClose:hover,
.ModalClose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/******************************************************************************/

.ContentWrap {
  margin: 5px;
}

.ReadMoreState {
  display: none;
}

.ReadMoreState ~ .ReadMoreLabel:before {
  content: '\21F2';
}

.ReadMoreState:checked ~ .ReadMoreLabel:before {
  content: '\21F1';
}

.ReadMoreState:not(:checked)  ~ .ReadMoreWrap {
  opacity: 0;
  height: 0;
  display: none;
}

.ReadMoreLabel {
  cursor: pointer;
  display: inline-block;
  
  border:1px solid #8E8E8E;
  border-radius:10px;
  padding:2px 2px;
}

.ReadMoreWrap {
  display: block;
  opacity: 1;
  clear: both;
  padding: 10px;
  font-size: inherit;
}

/******************************************************************************/

@media screen and (max-width: 1000px) {
    .MenuItem {
        display: none;
        text-align: left;
        width: 100%;
    }
    
    .MenuItemRight {
        float: none;
        margin-right: inherit;
    }
    
    .MenuIcon  {
        position: absolute;
        right: 0.2em;
        top: 0em;
        display: block;
        text-align: left;
        font-size: 2.5em;
        color: #efefef;
        font-weight: bold;
        text-decoration: none;
        cursor: pointer;
    }
    
    .Responsive {
        display: block;
    }
    
    .MainBlock  {
        display: inline-block;
    }
}
