/* header */

body { behavior: url("../scripts/csshover3.htc"); }
img, div { behavior: url("../scripts/iepngfix.htc"); }

/* global */

html, body { height: 100%; }
body { background-color: #FFF; color: #555; font-family: 'Open Sans', sans-serif; line-height: 120%; }
p { margin: 10px 0 0 0; }
a { text-decoration: none; }

.clear { clear: both; display: block; height: 1px; margin-bottom: -1px; font-size: 1px; line-height: 1px; }

#container { position: relative; min-height: 100%; }
* html #container { height: 100%; }

/* header */

#header { max-width: 960px;  margin: 0 auto; position: relative; z-index: 100; height: auto; background-color: #121212}
#header .logo {  height: 150px;
    position: relative;
    top: 0px;
    left: 0;
    margin: 15px; }
    
#header #advertisement { font-size: 8px; line-height: 10px; text-transform: uppercase; color: #666; position: absolute; top: 50px; right: 50px; }
#header #advertisement iframe {width: 530px; height: 80px; padding: 0; margin: 0; position: relative; }

/* navigation */

#nav ul, #nav li { list-style: none; }

#nav { max-width: 960px; position: absolute; top:101px; left: -8px; z-index: 101; }
#nav li { background-image:url(../images/nav-standard.gif); float:left; }
#nav li a { width:104px; font-size: 12px; line-height:39px; text-transform:uppercase; color:#FFF; text-align:center; margin-left:16px; display:block; }
#nav li a img { position: absolute; top: 17px; padding-left: 2px; }

#nav li div { display: none; }
#nav li:hover div { display: block; }
#nav li.over div { width: 200px; height: 1%; display: block; }

#nav li.menu1 div { max-width: 700px; height: 166px; background: url(../images/subnav-bg.png) no-repeat bottom left; position: absolute; top: 39px; left: 18px; z-index: 102; }
#nav li.menu2 div { max-width: 253px; height: 166px; background: url(../images/subnav-bg.png) no-repeat bottom right; position: absolute; top: 39px; left: 464px; z-index: 102; }
#nav li.menu3 div { max-width: 440px; height: 166px; background: url(../images/subnav-bg.png) no-repeat bottom right; position: absolute; top: 39px; left: 234px; z-index: 102; }

#nav li div ul { text-align: left; margin: 0; padding: 0; position: absolute; top: 30px; }
#nav li div ul.col1 { width: 193px; left: 30px; }
#nav li div ul.col2 { width: 194px; left: 253px; }
#nav li div ul.col3 { width: 195px; left: 478px; }

#nav li div ul li { line-height: 100%; background: none; float: none; }
#nav li div ul li a { width: 150px; height: 100%; color: #fff; font-size: 12px; line-height: 14px; text-transform: capitalize; text-align: left; margin: 0 0 5px 0; padding: 0; }
#nav li div ul li a:hover { color: #1eceeb; }

#nav li { background-position: 0 0; }
#nav li:hover, #nav li._over { background-position: 0 -39px; }

#nav li.menu1:hover, #nav li.menu1_over { background-position: -120px -39px; }
#nav li.menu2:hover, #nav li.menu2_over { background-position: -120px -39px; }
#nav li.menu3:hover, #nav li.menu2_over { background-position: -120px -39px; }

#nav li#current { background-position:0 -78px;}
#nav li#current a { color:#232226; background-position:0 -78px;}

/* content */

#content { max-width: 960px; margin: 0 auto; padding-bottom: 95px;  z-index: 1; }
#content .post {margin-bottom: 10px;
padding-bottom: 8px;
border-bottom: 1px solid #ECECEC;}

#main { max-width: 700px; margin: 35px 0 0 10px; float: left; }
#main-wide { max-width: 940px; margin: 10px 20px 0 20px;  padding: 20px 0 0 0;}

/* sidebar */

#sidebar { max-width: 220px; margin: 35px 10px 0 0; float: right; position: relative; }
#sidebar h2.pagetitle { font-size: 16px; line-height: 14px; font-weight: bold; color: #7c5ccb; margin: 0; }
#sidebar div.entry { font-size: 12px; line-height: 14px; color: #4d4d4d; margin-bottom: 10px; padding-bottom: 15px; border-bottom: 1px solid #ececec; }
#sidebar div.entry strong { font-weight: bold; color: #232226; }
#sidebar #advertisement { font-size: 8px; line-height: 10px; text-transform: uppercase; color: #666; margin-bottom: 10px; }
#sidebar #advertisement img { margin-top: 2px; }
#sidebar div.entry p a{ font-size: 14px; color: #4D4D4D;}
/* footer */

#footer-container { width: 100%; height: 65px; background-color: #000; position: relative; left: 0; margin-top: -65px; z-index: 150; }
#footer { max-width: 960px; height: 65px; margin: 0 auto; position: relative; }
#footer #logo { height: 50px; width: 100px; background: url(/static/alia.png) no-repeat; position: absolute; top: 0; left: 10px; background-size: 80% 80%; margin-top: 10px;}

#footer #logo a { width: 40px; height: 39px; }
#footer p { font-size: 12px; line-height: 65px; color: #a1a1a1; margin: 0; position: absolute; top: 0; left: 100px; }
#footer ul li { margin: 0 10px; display: block; float: right; }
#footer a { font-size: 12px; line-height: 65px; text-transform: uppercase; color: #a1a1a1; }
#footer a:hover { color: #FFF; }

/* images */

p img { padding:0; max-width:100%; }
img.centered { display:block; margin-left:auto; margin-right:auto; }
img.alignright { padding:4px; clear: both; float: right; margin-top: 0; margin-right: 0; margin-bottom: 2px; margin-left: 15px; }
img.alignleft { padding:4px; margin:0 15px 2px 0; float:left; }
div.alignright { margin:20px 0 0px 20px; float:right; }
div.alignleft { margin:20px 15px 20px 0; float:left; }

/* comments*/

.alt { margin:0; padding:10px; }
.commentlist { padding:0; text-align:justify; }
.commentlist li { margin:15px 0 10px; padding:5px 5px 10px 10px; list-style:none; }
.commentlist li ul li { margin-right:-5px; margin-left:10px; }
.commentlist p { margin:10px 5px 10px 0; }
.children { padding:0; }
#commentform p { margin:5px 0; }
.nocomments { text-align:center; margin:0; padding:0; }
.commentmetadata { margin:0; display:block; }

/* various tags & classes */

acronym, abbr, span.caps { cursor:help; }
acronym, abbr { border-bottom:1px dashed #999; }
.center { text-align:center; }
.page-navigation { font-size:12px; text-align:center; margin:0 0 15px 0; }
.page-navigation div.alignleft { margin:0; float:left; }
.page-navigation div.alignright { margin:0; float:right; }

/* captions */

.aligncenter, div.aligncenter { display:block; margin-left:auto; margin-right:auto; }
.wp-caption { border:1px solid #ddd; text-align:center; background-color:#f3f3f3; padding-top:4px; margin:20px 0; }
.wp-caption img { margin:0; padding:0; }
.wp-caption p.wp-caption-text { font-size:11px; line-height:17px; padding:0 4px 5px; margin:0; }
