/*
Theme Name: rtg
Theme URI: 
Description: 
Version: 1.0
Author: 
Tags: widget ready, valid html, valid css, 3 columns, fixed width
*/
*{margin: 0; padding: 0;}
body {
	font: 12px Arial, Tahoma, Verdana, sans-serif;
	width: 100%;
	background: #fff url(images/header_bg.gif) repeat-x top;
	color: #094d70;
	text-align: center;
}
a:link, a:visited, a:active, a:hover{color: #0c70d6; text-decoration: underline;}
a:hover{text-decoration: none;}

img {border: none;}
input {vertical-align: middle;}
ul li{list-style: none;}
.clear{ clear: both;}

#wrapper {
	max-width: 980px;
	margin: 0 auto;
	text-align: left;
    overflow: hidden;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 116px;
    overflow: hidden;
}
#header .hbook{ width: 22px; float: left; }
#header .hlogo{ width: 446px; float: left; }
#header ul{float: right; padding: 7px 7px 0 0;}
#header ul li{float: left; margin: 0 1px; border: 1px solid #000; background: fff;}
#header ul li div{border: 2px solid #fff; background: #135C82; padding: 1px;}

.top_menu{ height: 30px; overflow: hidden; width: 100%; text-align: center; font-weight: 700; }
.top_menu li{ display: -moz-inline-stack; display: inline-block; vertical-align: top; zoom: 1; *display: inline; position: relative; z-index: 99;; *position: static; height: 30px; width: 146px; background: #F2E95C url(images/mi_bg.jpg) no-repeat bottom; line-height: 25px; }
.top_menu a:link, .top_menu a:visited, .top_menu a:active, .top_menu a:hover{color: #0C86C4; text-decoration: none;}
.top_menu a:hover{text-decoration: underline;}

/* Middle
-----------------------------------------------------------------------------*/
#middle {
    padding: 0 237px;
	background: #fff;
    position: relative;
	/*padding: 0 222px;*/
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
	/*margin-right: -100%;*/
}
#content {
    overflow: hidden;
    position: relative;
}

.post{ padding: 10px 0; background: #fff; margin: 0 0 10px;}

#content .title{ width: 100%; border-bottom: 1px dotted #88949D; border-top: 1px dotted #88949D; background: #FCFACD; padding: 5px 0; margin: 10px 0 0; }
#content .title h1{ font-size: 18px; padding: 0 10px }
#content .title h1 a:link, #content .title h1 a:visited, #content .title h1 a:active, #content .title h1 a:hover{color: #0c70d6; text-decoration: none;}
#content .title h1 a:hover{text-decoration: underline;}
#content .date{font-size: 10px; color: #797979; text-align: right; margin: 0 0 10px;}

.permalink{ width: 100%; border-top: 1px dotted #88949D; border-bottom: 1px dotted #88949D; padding:  5px 0; margin: 5px 0 0; font-size: 11px; background: #f6f6f6;}
.permalink p{padding: 0 10px;}
.permalink .pleft{float: left; width: 48%; }
.permalink .pright{float: right; width: 48%; text-align: right;}

/* Sidebar Left
-----------------------------------------------------------------------------*/
.sl {
	float: left;
	width: 226px;
	position: relative;
    margin-left: -237px;
}
.sl-bg{
    width: 224px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #fcfacd;
    border-right: 2px solid #ebead0;
}


/* Sidebar Right
-----------------------------------------------------------------------------*/
.sr {
	float: right;
	width: 226px;
	position: relative;
    margin-right: -237px;
}
.sr-bg{
    width: 224px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: #fcfacd;
    border-left: 2px solid #ebead0;
}
.sidebar {color: #0c70d6;}
.sidebar .title{ width: 100%; background: #79BBFF url(images/cat_bg.png) no-repeat; line-height: 34px; text-align: center; color: #fff; margin: 0 0 5px 0;}
.sidebar .title h1{ font-size: 12px; }
.sidebar ul{ padding: 10px 0; width: 100%; }
.sidebar ul li{ background: url(images/bullet.gif) no-repeat 10px 4px; padding: 0 0 0 20px;}
.sidebar p{ margin: .4em 10px; }
.sidebar img{ margin: 5px auto;}

.sidebar a:link, .sidebar a:visited, .sidebar a:active, .sidebar a:hover{color: #0c70d6; text-decoration: none;}
.sidebar a:hover{text-decoration: underline;}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	max-width: 980px;
	margin: 0 auto;
	background: #FCFACD;
	color: #000;
}
#footer .fpadd{ padding: 0 20px;}
#footer p{ padding: 30px 0 0; }


#comments{ margin: 10px 0 0;}


h2
{
	font-weight:400;
	font-size:18px;
}

h3
{
	font-weight:400;
	font-size:16px;
}

#commentform #author,#commentform #email,#commentform #url,#commentform textarea
{
	background:#fff;
	border:1px solid #333;
	padding:.2em;
}

#commentform textarea
{
	width:98%;
}

#commentlist li ul
{
	border-left:1px solid #717679;
	font-size:110%;
	list-style-type:none;
}

#commentlist li .avatar
{
	float:right;
	margin-right:25px;
	border:1px dotted #ccc;
	padding:2px;
}

#wp-calendar
{
	border:1px solid #0C70D6;
	empty-cells:show;
	font-size:14px;
	width:90%;
	margin:5px auto 10px;
}

#wp-calendar a
{
	color:#000;
	display:block;
	text-decoration:none;
}

#wp-calendar #next a
{
	padding-right:10px;
	text-align:right;
}

#wp-calendar #prev a
{
	padding-left:10px;
	text-align:left;
}

#wp-calendar a:hover
{
	background:#e0e6e0;
	color:#0C70D6;
}

#wp-calendar caption
{
	color:#0C70D6;
	font-size:14px;
	text-align:center;
}

#wp-calendar td
{
	color:#0C70D6;
	font:normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	letter-spacing:normal;
	text-align:center;
	padding:2px 0;
}

#wp-calendar td.pad:hover
{
	background:#fff;
}

#wp-calendar td:hover,#wp-calendar #today
{
	background:#eee;
	color:#000;
}

#wp-calendar th
{
	font-style:normal;
	text-transform:capitalize;
}

p img
{
	max-width:100%;
	padding:0;
}

p iframe{
    max-width: 100%;
}

img.alignright
{
	display:inline;
	margin:0 0 2px 7px;
	padding:4px;
}

img.alignleft
{
	display:inline;
	margin:0 7px 2px 0;
	padding:4px;
}

.alignright
{
	float:right;
}

.alignleft
{
	float:left;
}

#content ul li
{
	margin:0 10px;
}

#content ol li
{
	margin:0 20px;
}

img,.left ul li ul li,.left ul li ul li ul li
{
	border:0;
}



img.centered,.aligncenter
{
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.search_form{padding: 10px 0; text-align: center;}
.search_form input{margin: 1px;}
.search_form .text{ width: 190px; background: url(images/search_field.png) no-repeat center; padding: 10px 6px; border: 0; background: #fff; font-size: 16px;}
.search_form .bttn{ width: 91px; height: 20px; background: url(images/bttn_search.png) no-repeat center; border: 0; cursor: pointer;}
.post p {
maring: 0 0 5px 0;
}

.gallery-item a{
    display: block;
    border: 2px solid #cfcfcf;
}
.gallery-item a img{
    border: 0 !important;
    width: 100%;
    height: auto;
    display: block;
}
.button_cat{
	width: 25px;
	height: 25px;
	display: none;	
	position: absolute;
	z-index: 4;
	top: 2px;
	left: 227px;
	background: url(images/cat_icon.png) no-repeat 100% 100% !important;
}
.light_box{
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	position: fixed;
	z-index: 100;
	background: url(images/light_box.png) repeat;
	display: none;
}
.textwidget a font{
	font-size: 2;
}
.textwidget a font strong{
	font-weight: normal;
}

/* Screen options
-----------------------------------------------------------------------------*/
@media screen and (max-width: 979px){
    #header ul {
        display: none;
    }
}

@media screen and (max-width: 839px){
    #middle{
        padding-right: 11px;
    }
    .sr, .sr-bg{
        display: none;
    }
}

@media screen and (max-width: 579px){
    #middle{
        padding-left: 11px;
    }
    #content{
        margin-left: 30px;
    }
    .sl-bg{
    	width: 33px;
    }
    .sl, .sl-bg{
        /*display: none;*/
    }
    .sl .cat_box,.title, center{

    }
    .button_cat{
		display: block;
	}
	.widget_search{
		padding: 0 10px 30px 10px;
	}
    .widget_categories,.widget_search{
    	position: relative;
    	z-index: 101;
    	left: 230px;
    	top: 32px;
    	display: none;
    	background: #d8eafc;
    }
    .widget_archive,.widget_text{
    	display: none;
    }
}

@media screen and (max-width: 469px){
    .hbook{
        display: none;
    }
}

@media screen and (max-width: 449px){
    #header{
        height: auto;
    }
    #header .hlogo, .hlogo img{
        width: 100%;
    }
}