/* 
	Theme Name: Mexico-travel
	
*/

html {
	background-color: #d9e7f3;
}

body {
	max-width: 1300px;
	margin: 0 auto;
	background-color: white;
}

h1, h2, h3, h4 {
	margin: 0;
}

.clear {
	clear: both;
	height: 0;
	overflow: hidden;
}

#page{
	min-width: 1260px;
	margin: 0 auto;
	background-color: grey;
	background: url("images/background.png") no-repeat;
}

#header {
	min-width: 1260px;
	height: 160px;
	margin:0 auto;
}


#header #logo a {
		float: left;
		background: url("images/logo.png") no-repeat;
		display: block;
		width: 354px;
		height: 151px;
		margin-left: 80px;
		margin-top: 5px;
}

#header #logo h1 {
		display: block;
		float: left;
		background: url("images/logo.png") no-repeat;
		display: block;
		width: 354px;
		height: 151px;
		text-indent: -9999px;
	    overflow: hidden;
		margin-left: 80px;
		margin-top: 5px;
}

#header #adsense {
		float: right;
		margin-right: 30px;
		margin-top: 30px;
		width: 728px;
		height: 90px;
}

#navigation {
  margin: 0;
  min-width: 1260px;
  height: 50px;
  background: #da3828;
  font: 16px Tahoma;
  text-transform: uppercase;
  color: white;
 }
  
#navigation ul {  margin: 0 0 0 40px; }
#navigation ul li img{  margin-top: 10px; }
#navigation ul li { margin-right: 40px; float: left; list-style-type: none;} 
#navigation ul li a { text-decoration: none; color: white; line-height: 50px; }
#navigation ul li a:hover { text-decoration: none; text-shadow: -1px -1px black; color: #white;}

#content {
	float: left;
	width: 820px;
	margin-left: 15px;
	display: block;
}

.post{
	font: 14px Tahoma;
	width: 800px;
	color: #103864;
	text-decoration: none;
}

.post h1{
	font: bold 18px Tahoma;
	color: #103864;
	text-transform: uppercase;
}

.post h2{
	font: bold 14px Tahoma;
	color: #da3828;
	text-transform: uppercase;
}

.post img{
	float: left;
	max-width: 500px;
	height: auto;
	margin-right: 20px;
	margin-bottom: 20px;
}

.post a{ color: #da3828;	text-decoration: none;}
.post a:hover{ color: #da3828;	text-decoration: underline;}

/* Комментарии */

		.post .comments-title {
		font: 16px Tahoma;
		color: #da3828;
		text-decoration: none;
		text-transform: uppercase;
		display: block;
		margin: 30px 0;
		}

		.post #comments ol .comments_list{
		padding:0;
		margin:0;
		}		
		 .post #comments ol li{
		list-style: none  ;
		border: 1px solid  lightgray;
		padding: 10px;
		margin-bottom: 20px;
		border-radius:5px;
		-webkit-border-radius:5px;
		-moz-border-radius:5px;
		-khtml-border-radius:5px;
		background-color: white;
		}
		 .post #comments ol li cite {
			font: bold 12px Tahoma;
		}
		 .post #comments ol li cite a{		
			text-decoration: underlined;
			color: #301b12;
		}
		
		 .post #comments ol li cite a:hover{		
			text-decoration: none;
			color: #301b12;
		}
		
		.post #comments ol li .commentmetadata  {
			color: #da3828;
			font: normal  11px Tahoma;
			text-decoration: none;
		}
	 
	 input[type="text"], textarea {background: #F9F9F9; border: 1px solid #CCCCCC; padding: 5px;
}	

.block {
	width: 820px;
	display: block;
	margin: 20px 0;
}

.block  img{
	float: left;
	margin-right: 35px;
}

.block  h3 a{
	font: 16px Tahoma;
	color: #da3828;
	text-decoration: none;
	text-transform: uppercase;
}

.block  h3 a:hover {
	text-decoration: underline;
}

.block  p{
	font: 14px Tahoma;
	color: #103864;
	text-decoration: none;
}


.sblock {
	width: 400px;
	display: block;
	margin: 20px 0;
}

.sblock  img{
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}

.sblock  h3 a{
	font: 16px Tahoma;
	color: #da3828;
	text-decoration: none;
	text-transform: uppercase;
}

.sblock  h3 a:hover {
	text-decoration: underline;
}

.sblock  p{
	font: 14px Tahoma;
	color: #103864;
	text-decoration: none;
}


.metadata  {
	width: 36px;
	height: 41px;
	font: 14px Tahoma;
	color: #da3828;
	text-decoration: none;
	background: url("images/comment.png") no-repeat;
	float: right;
	padding: 8px 0 0 18px;
}

.metadata a{
	font: 14px Tahoma;
	color: #da3828;
	text-decoration: none;
}

.metadata a:hover {
	text-decoration: underline;
}

#sidebar{
width: 400px;
float: right;
margin-right: 15px;
display: block;
}

.sidebarwidget {
	margin: 30px 10px 0 0;
	display: block;
	font: 14px Tahoma;
	color: #103864;
	text-decoration: none;
	float: left;
}

.sidebarwidget a {
	font: 14px Tahoma;
	color: #da3828;
	text-decoration: none;
}

.sidebarwidget  a:hover  {
	text-decoration: underline;
}

.sidebartitle {
	width: 400px;
	height: 60px;
	text-align: center;
	background: url("images/t_sidebar.jpg") no-repeat;
	display: block;
}

.sidebartitle h2{
	font: 16px Tahoma;
	text-decoration: none;
	text-transform: uppercase;
	color: white;
	padding-top: 20px;
}

.bigtitle {
	width: 820px;
	height: 60px;
	text-align: center;
	background: url("images/bigtitle.jpg") no-repeat;
	display: block;
	margin-top: 20px;
}

.bigtitle h2{
	font: 16px Tahoma;
	text-decoration: none;
	text-transform: uppercase;
	color: white;
	padding-top: 20px;
}

.breadcrumb{
	display: block;
	margin: 30px 0;
	font: 12px Tahoma;
	text-decoration: none;
	text-transform: uppercase;
	color: #103864;
}

.breadcrumb a{
	text-decoration: none;
	text-transform: uppercase;
	color: #da3828;
}

.breadcrumb a:hover{
	text-decoration: underline;

}


.facts{
	width: 400px;
	height: 72px;
	display: block;
	background: url("images/facts.png") no-repeat;
	margin: 30px 0 0 0;
	float: left;
}

.facts  p{
	font: 14px Tahoma;
	color: #103864;
	text-decoration: none;
	margin: 0 0 0 40px;
	display: block;
}

#footer {
	min-width: 1260px;
	height: 140px;
	background: url("images/footer.jpg") no-repeat;
	text-align: center;
	font: 14px Tahoma;
	color: white;
	text-decoration: none;
	display: block;
}

#footer a{
	text-transform: uppercase;
	color: white;
	text-decoration: underline;
}

#footer a:hover{
	text-decoration: none;
}


#footer .text{
	margin-top: 60px;
	margin-left: 200px;
}

#footer .counters{
	margin-top: 10px;
}

.wp-pagenavi {
	margin:  10px 5px;
	display: block;
	height: 50px;
}

.wp-pagenavi a, .wp-pagenavi span {
	background-color: lightgrey;
	color: #103864 !important;
	font: 14px Arial;
	padding:5px 10px !important; 
	display: block;
	float: left;
	margin-top: 5px;
	margin-right: 3px;
	border: 1px solid lightgrey !important; 
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	background: #f4ece3;
	color: #da3828 !important;
}

.wp-pagenavi span.current {
	font-weight: bold;
	border: 1px solid #fffab4;
}