/*
Quick.Cms v1.2 default stylesheet
Copyright by OpenSolution.org 2007
*/

@import url( "plugins.css" );

/* GLOBAL STYLES */
body,h1,h2,h3,h4,h5,h6,p,form,fieldset,img,td,th,table,ul{margin:0;padding:0;border:0;}
body,table{background-color:inherit;color:#666;font-size:0.75em;font-family:Arial, Verdana, sans-serif;}

/* below you can change background and font for all site */
body{padding-bottom:10px;background:#fff url('img/body_head_bg.png') repeat-x;text-align:center;}

.hide{display:none;}

#body .left{text-align:left;}
#body .right{text-align:right;}
#body .center{text-align:center;}

.clear, .clear0{clear:both;font-size:0px;line-height:0px;}
.clear0{height:0px;}

a{background-color:inherit;color:#666;}
a:link, a:visited, a:active{text-decoration:none;}
a:hover{text-decoration:underline;}

.input, select, textarea{border:1px solid #5d81bd;font:0.92em arial, sans-serif;}
.submit{font:0.83em arial, sans-serif;}

/* HEAD styles */
#head{width:750px;height:99px;margin:0 auto;background:url('img/head_bg.png') repeat-x 0 1px;text-align:left;}
#head #logo{float:left;padding:10px 0 0 20px;}
#head #logo div{font-size:1px;line-height:1px;}
#head #logo h2{height:18px;padding-left:2px;background:inherit;color:#fff;font:normal 1.167em "trebuchet ms", sans-serif;}

/* BODY styles */
#body{width:770px;margin:0 auto;background:url('img/body_bg.png') repeat-y;text-align:left;}
#column{float:left;width:210px;padding:0 0 0 10px;}
* html #column{width:220px;}
#content{float:left;width:490px;padding:20px 30px 20px 20px;}
* html #content{margin:0 15px 0 20px;padding:20px 0;}
#body:after{display:block;clear:both;visibility:hidden;height:0;content:".";}

/* BACK LINK */
#back{margin:10px 20px;padding:3px 0;font-size:0.92em;text-align:right;}
#back a{margin:0 10px 0;}

/* FOOT styles */
#foot{clear:both;width:770px;height:31px;margin:0 auto;background:url('img/foot_bg.jpg') no-repeat;text-align:left;}
#foot p{float:left;padding:9px 0 0 25px;background:inherit;color:#fff;font:0.83em verdana, sans-serif;}
#foot h1{float:right;margin:0 10px;padding:9px 15px 0 0;font:bold 0.83em verdana, sans-serif;}
#foot h1 a{background:inherit;color:#fff;}

/* MENU 1 styles - left menu */
#menu1{width:180px;margin:20px 0 20px 17px;}
#menu1 dt{margin:0 0 1px;}
#menu1 dt a{display:block;padding:6px 0 6px 25px;background:url( 'img/ico_arrow.png' ) 7px 11px no-repeat;background-color:inherit;color:#ad0000;font:bold 1.167em verdana, sans-serif;line-height:1.167em;}
#menu1 dt#selected a{text-decoration:underline;}

/* MENU 2 styles - top menu under logo */
#menu2{margin:0 0 0 12px;padding:13px 0 0;list-style:none;}
#menu2 li{float:left;}
#menu2 li a{display:block;padding:3px 12px 4px;border-right:1px solid #f7f7ff;background:inherit;color:#fff;font:bold 1.167em verdana, sans-serif;}
#menu2 li a:hover{background:#f7f7ff;color:#d62121;}
#menu2 li#selected a{background:#f7f7ff;color:#d62121;text-decoration:underline;}
#menu2 .lL a{border:0;}

/* MENU 3 styles - top menu on right logo */
#menu3{float:right;height:30px;margin:0 15px 0 0;list-style:none;background:#f00;color:#fff;}
#menu3 li{float:left;margin:8px 0 0;padding:0 12px;border-right:1px solid #fff;}
#menu3 li a{font:bold 1em verdana, sans-serif;background-color:inherit;color:#fff;}
#menu3 li#selected a{text-decoration:underline;}
#menu3 .lL{border:0;}

/* MESSAGE - error and confirm messages styles */
#message{text-align:center;}
#error, #ok{padding:100px 0;font-size:1.167em;font-weight:bold;line-height:2em;}
#error a, #ok a{background:inherit;color:#000;font-size:0.786em;font-weight:bold;}
#error{background:inherit;color:red;}
#ok{background:inherit;color:#5d81bd;}

/* PAGE DETAILS - name, description */
#pageShow h2{margin:5px 0 10px;background:inherit;color:#5d81bd;font-size:1.5em;}
#pageShow h3{margin:5px 0;font-size:1em;}
#pageShow h3, #pageShow h3 a{color:#b4b4b4;background:inherit;}
#pageShow h3 a, #pageShow h3 span{padding:0 5px;}
#pageShow .txt a{border-bottom:1px solid #ddd;text-decoration:none;}
#pageShow .txt a:hover{border-bottom:1px solid #666;}

#pageShow .pages{margin:5px 0 0;padding:5px 0 0;border-top:1px solid #dfdfdf;text-align:right;font-size:0.917em;}
#pageShow .pages span{padding:0 10px 0 0;}
#pageShow .pages a, #pageShow .pages strong{padding:0 5px;}
#pageShow .pages strong{text-decoration:underline;}

#pageShow #filesList{margin:10px 0 0;background:inherit;color:#b6b6b6;}

#photosList{float:right;}
#photosList img{margin:2px 0 1px 4px;border:1px solid #e7e7e7;}
#photosList p{padding:0 0 8px 4px;font-size:0.83em;}

/* PAGE DETAILS - sub pages list - under description */
#subList{padding:10px 0 0;}
#subList .l{padding:5px 0 10px;border-top:1px solid #dfdfdf;}
#subList .l div{clear:left;padding:5px 0 0 5px;}
#subList .l div.clear{padding:0;border:none;}
#subList .l h4{font-size:0.917em;}
#subList .l h4 a{background:inherit;font-weight:bold;}
#subList .l h5{margin:2px 0 0 10px;font-weight:normal;font-size:0.83em;}
#subList .l h5 a{border-bottom:1px solid #ddd;text-decoration:none;}
#subList .l h5 a:hover{border-bottom:1px solid #666;}
#subList .l .photo{float:left;margin:0 5px 3px 0;}


/* GALLERY photos */
#galleryBody{margin:5px 0;background:#fff;color:inherit;}
#popupPhoto {width:100%;margin:5px 0;padding:0;border:none;font-size:11px;}
#popupPhoto td{padding:7px 3px;text-align:center;}
#popupPhoto th{margin:5px 0;padding:3px;text-align:center;border-top:1px solid #dfdfdf;border-bottom:1px solid #dfdfdf;}
#popupPhoto th strong, #popupPhoto th a{padding:0 2px;background:inherit;color:#444;font-size:11px;}
#popupPhoto th strong, #popupPhoto th a:hover{background:inherit;color:#f00;}
#popupPhoto td p{font-size:10px;}
#popupPhoto img{border:1px solid #dce6f5;}

/* ATTACHED FILES */
ul#filesList{background:inherit;color:#505050;font-size:0.92em;vertical-align:middle;list-style:none;}
ul#filesList img{margin:0 8px 0 0;background:inherit;color:#5d81bd;vertical-align:middle;}
ul#filesList li{margin:0 0 4px;}

@media print{
  /* PRINT styles */
  body{margin:5px 0;background:#fff;color:#000;}
  a{background:inherit;color:#000;}
  #head{width:16cm;height:auto;background:#fff;}
  #head #logo{padding:0;}
  #body{width:16cm;background:#fff;}
  #body #content{width:100%;margin:0;}

  #foot{width:16cm;background:#fff;}

  #column, #menu1, #menu2, #menu3, #back, #pageShow .pages{display:none;}
  #pageShow h2, #pageShow h3, #pageShow h3 a, #subList .l h4 a, #error, #ok, #foot .powered a{background:inherit;color:#000;}
}