/*******************
    CSS RESET styles
    
    @author: Eric Meyer 
    source - http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
    outline: 0;
}
body {
    line-height: 1;
    color: black;
    background: white;
}
ol, ul {
    list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}

/**************************************/
body {
    font-family: Arial, sans-serif;
    text-align: center;
    font-size: 0.625em;
    line-height: 1.8em;
    color: #666666;
}

a {
    color: #333333;
}

#wrapper {
    font-size: 120%;
    width: 920px;
    margin: 0 auto;
    text-align: left;
}

#header, #footer, #content, #content-wrapper {
    padding-left: 17px;
    overflow: hidden;
}

#header {
    background: #cccc00;
    color: #333333;
}

h1#logo {
    font-size: 210%;
    padding: 40px 0 30px;
}

#nav {
    padding: 0 0 17px;
}

#nav li {
    display: inline;
    margin: 0 35px 0 0;
}

#nav li a {
    padding: 1px 3px;
    text-decoration: none;
    text-transform:lowercase
}

#nav li a:hover, #nav li.active a {
    background: #e0e011;
}

#content-wrapper, #content {
    height: 500px;
}

#content-wrapper .content {
    float: right;
    width: 500px;
    overflow: hidden;
}

#content-wrapper .content img {
    float: right;   
    margin: 0;
    padding: 0;
}

#content-wrapper .aside {
    width: 380px;
    float: left;
    position: relative;
}

#content-wrapper .aside ul {
    /*padding: 40px 0;*/
    /*margin: 66px 0 0 0;*/
    width: 280px;
}
    .vert .simply-scroll-clip {
        height: 363px;
        margin: 0;
        overflow: hidden;
        position: absolute;
        top: 66px;
        width: 380px;
    }

.simply-scroll-btn-up {
    position: absolute;
    top: 20px;
}
.simply-scroll-btn-down {
    position: absolute;
    top: 420px
}

 
#content-wrapper .aside ul li a {
    padding: 0 0 15px;
    display: block;
}

#content-wrapper .aside a {
    color: #666666;   
    text-decoration: none;
}

.text {
    padding-top: 66px;
}

.text p {
    margin: 0 0 20px;
}

#footer {
    color: #333333;
    background: #cccc00;
    padding-top: 30px;
    padding-bottom: 30px;
}

.content tr.thumbs td {
    margin: 0 !important;
    width: 120px;
    height: 120px;
    overflow: hidden !important;
    text-align: center !important;
    padding: 0 2px 0 3px;
    vertical-align: middle;
}
    
.content tr.thumbs td img {
    float: none !important;
}

.content .thumbscontainer {
    margin: 3px 0 0 0;
    border-collapse: collapse;
}

.gallery-image {
    display: none;
}

.group:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}


.contact-hp{
    height: 230px;
    overflow: hidden;
}
.contact-sp{
    overflow: hidden;
    height: 433px;
}
#content-wrapper .aside ul.contacts-menu{
    margin: 66px 0 0 0;
}

.managecontainer{
    overflow-y: scroll;
    height: 500px;
}
