html {height:100%;width:100%;}
body {height:100%;width:100%;}

body {
    font-family: 'MyriadProRegular';
    font-size: 16px;
    line-height:1em;
    margin: 0;
    background:#1b3322;
    color: #8c9599;
}

* html img, * html .png {
    -pie-png-fix:true;
    behavior: url(/css/PIE.htc);
}

:focus {
    outline: 0;
}

* { -webkit-tap-highlight-color: rgba(0,0,0,0); }

.clearfix {zoom:1}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.fixed {
    position:fixed;
}
* html .fixed {
    position:absolute;
}

img {border:none}
h1, h2, h3 {margin:0;padding:0;font-weight:normal;font-size:1.3em;margin-bottom:10px}

input {background-image:url("data:image/gif;base64,R0lGODlhAQABAPAAAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAICTAEAOw==")}

ul {margin:0;padding:0;padding-left:20px;}
ul li {list-style:none;margin-left:-20px;padding-left:20px;background:url(../img/li.gif) 0 4px no-repeat;margin-bottom:6px}

table {border:none;padding:0;margin:0;border-collapse:collapse}
table td {border:none;padding:0;margin:0}
table.w {width:100%}
table.h {width:100%;height:100%}

#middle .helper {
    width:1px;
    height:100%;
    margin-left:-1px;
    display:inline-block;
    //display:inline;
    zoom:1;
    vertical-align:middle;
}
#middle .middle {
    display:inline-block;
    //display:inline;
    zoom:1;
    vertical-align:middle;
}

/* inline block */
.ib {display: -moz-inline-box;}
.ib {display: inline-block;}
* html .ib {display: inline;}
*:first-child+html .ib {display: inline;}

p {margin-top:0px;margin-bottom:10px;}

a {
    color:#a5a7b3;
    text-decoration:none;
}
a:hover {
    text-decoration:underline;
}

input {
    border: 1px solid #BFBFBF;
    padding: 3px 5px;
}
input:focus {outline: 1px solid #047ebc}
input[type=checkbox] {border:none}
input[type=radio] {border:none}
select {
    border: 1px solid #BFBFBF;
}
textarea {
    border: 1px solid #BFBFBF;
    overflow:auto;
}

.popupwindow {position:relative;width:724px;background:#FFF;border:1px solid #999;text-align:left;color:#000}
.popupwindow a {color:#000}
#popupcontent {padding:10px}
.popupclose {position:absolute;left:28px;top:-25px;width:100%;height:25px;text-align:right;font-size:12px;line-height:25px}
.popupclose a {color:#733;margin-right:0px;}

#content {line-height:normal}

#AdminMenu {height: 40px;position: relative;z-index: 10;color: #CCC}
#AdminMenu a {color: #CCC;text-decoration: none;display: inline-block;//display: inline;zoom:1}
#AdminMenu a:hover {color: #FFF}
#AdminMenu ul {background: #2C2C2C;display: block;margin: 0;padding: 0;top: 0;left: 0;width: 100%;height: 40px}
#AdminMenu li {margin:0;padding:0;list-style: none;background: none;line-height: 40px;display: inline-block;//display: inline;zoom:1;padding-left: 15px}

.breadcrumbs {line-height: 29px;border: 1px solid #e4e5ec;background: #f8f9fa;padding: 0 10px;margin-bottom: 20px}
.breadcrumbs img {margin: 0 9px}

.ui-autocomplete li {background: none}
.acdd-btn {background: url("/img/select.png") center center no-repeat;cursor: pointer}

.btn1 {position: relative;background: url("/img/btn1.png") right top no-repeat;height: 33px;display: inline-block;//display: inline;zoom:1;margin-left: 5px}
.btn1 a, .btn1 span {position: relative;left:-5px;display: inline-block;//display: inline;zoom:1;height: 100%;background: url("/img/btn1.png") left top no-repeat;padding: 0 25px;color: #FFF;font-size: 15px;line-height: 32px;padding-right: 20px;text-decoration: none}
.btn1 input {position: absolute;width: 100%;height: 100%;background: url("/img/spacer.gif");border: none;top: 0;left: 0;cursor: pointer}

.E5htmleditor_active {}
.E5htmleditor_active table {border-collapse:collapse}
.E5htmleditor_active td {outline:1px dashed #aaa}

.none {}

.tborder {border-collapse:collapse;}
.tborder td {border:none;padding: 12px 10px}

.tzebra td {border:none;padding: 12px 10px}
.tzebra td.even {background: #16261b}
.tzebra td.odd {background: #1b3322}
.tzebra {border-collapse:collapse;padding: 12px 10px}

.thead {background: #17291d}
.tgray {background: #6c7071;color: #929d9e;padding: 12px 10px}
.tgray a {color: #929d9e}

.tzebra0 td {border:none;padding: 0}
.tzebra0 td.even {background: #16261b}
.tzebra0 td.odd {background: #1b3322}
.tzebra0 {border-collapse:collapse;padding: 12px 10px}

.tzebra_gray td {border:none;padding: 12px 10px;color: #8c9599;}
.tzebra_gray td.even {background: #3c3c3e}
.tzebra_gray td.odd {background: #31302e}
.tzebra_gray {border-collapse:collapse;padding: 12px 10px}
.tzebra_gray a {color: #8c9599;}

ul.yiiPager li {background: none;padding: 0}

.flasherror {background: pink;margin: 5px;padding: 10px}

.editpanel .i {margin: 0 3px}
.createpanel {margin: 5px 0}
.createpanel .a {color: red}

#AdminMenu {font-size: 12px}

#win {height: 100%}
#doc {min-height: 100%;margin: auto;width: 100%;max-width: 1240px;min-width: 998px}
#header {height: 89px;position: relative;background: #000;margin-bottom: 24px;overflow: hidden;font-size: 12px}
#main {position: relative}
#maintable {width: 100%}
#header .logo {float: left}
#hright {margin-left: 286px;height: 100%;background: #333030}
#hright p {line-height: 1em;padding-top: 2px}

#mmenu {background: #494646;height: 26px;line-height: 26px;position: absolute;bottom: 2px;width: 100%}
#mmenu ul {margin: 0;padding: 0}
#mmenu li {margin: 0;padding: 0;background: none;float: left;background: #7b7d88;border-radius: 4px;behavior: url(/css/PIE.htc);;position: relative;line-height: 16px;margin-top: 3px;margin-right: 5px;padding: 0 26px;font-size: 12px}
#mmenu li a {color: #d6d8e5}
#mmenu li .cufon {top: -2px}

#wlanguage {float: left}
#wlanguage a {display: block;width: 68px;text-align: center;line-height: 22px;font-size: 14px;color: #a5a7b3;text-decoration: none;background: #000;margin:4px 9px 6px 13px}

#blocklist {}
#blocklist .item {clear: both;overflow: hidden;cursor: pointer}
#blocklist .item:hover {outline: 2px solid #7b7d88}
#blocklist .cnt {float: left;margin: 0 10px;max-width: 60%}
#blocklist .foto {float: left;width: 15%;overflow: hidden}
#blocklist .foto img {width: 100%}
#blocklist .foto2 {float: right;width: 15%;overflow: hidden}
#blocklist .foto2 img {width: 100%}
#blocklist .name {font-size: 25px;line-height: 1em}
#blocklist .short {font-size: 17px;line-height: 1em}
#blocklist .odd {padding-right: 15%;background: #111f15}
#blocklist .even {padding-left: 15%;background: #1b3322}
#blocklist .float {padding: 0;width: 49%;float: left;clear: right}
#blocklist .float .foto {width: 30%}

#mcenter {vertical-align: top}
#rightblock {vertical-align: top;padding: 5px}
#rightblock.style0 {position: absolute;right: 0}
#rightblock.style1 {width: 100px;background: #333030}
#rightblock.style2 {width: 253px;background: #333030}
#rightblock.style3 {width: 253px;background: #000}
#rightblock h1, #rightblock h2, #rightblock h3 {color: #8e908f;text-transform: uppercase;background: #494646;padding: 1px 5px}

.divgray {background: #494646;color: #929d9e;padding: 5px 20px}

#content .tzebra td {text-align: center;font-size: 20px}
#content .tzebra td p {margin: 10px 0}

#photolist {}
#photolist .items {font-size: 0;letter-spacing: -4px;margin-right: -50px}
#photolist .item {display: inline-block;//display: inline;zoom:1;margin: 0 10px 10px 0;vertical-align: top;font-size: 12px;letter-spacing: normal}
#photolist .photo .i {width: 200px}
