/*
	Theme Name: CelebrityMag
	Theme URL: http://newwpthemes.com/wordpress-theme/celebritymag/
	Description: CelebrityMag is a free WordPress theme with featured content option and supports the post thumbnails. Suitable for any niche. Theme Options at admin panel.
	Author: NewWpThemes.com
	Author URI: http://newwpthemes.com/
	Version: 1.0
*/

/* LAYOUT */

body {
	background: url(images/background.png);
	}

#wrapper {
margin-bottom: 30px;
   	}

#container {
	}

#contentwrap {
   background: #FFFFFF;
   margin: 0 auto !important;
    border-radius: 10px 10px 0 0;
   
	}

a {
	color: #000000;
    text-decoration: none;
	}

a:hover {
	color: #B4498B;
    text-decoration: underline;
	}
/* HEADER */

#header {
	height: 129px;
    padding: 0 0 25px 0;
	
	}

#header h1 {
	margin-bottom: 0px !important;
	padding: 20px 0 0 0;
	font-weight: normal;
	font-family: Arial, Helvetica, Sans-serif;
	font-weight: bold;
    text-transform: uppercase;
	font-size: 48px;
	}

#header h1 a, #header h1 a:visited {
	color: #FFFFFF;
	text-decoration: none;
	}


#header h2 {
	color: #5D5C5C;
	font-size: 14px;
	line-height: 14px; 
	font-family: Arial, Helvetica, Sans-serif;
	}

.logoimg {
    margin: 30px 0 0 0;
}

.feedtwitter {
	margin-top:12px;
	text-align: right;
}
    
    
/* NAVIGATION MENUS */

#pagemenucontainer {
	height: 32px;
    padding: 0;
   /* margin-top: 12px;*/
	float: left;
   /* background: #353535;*/
	}
	
#pagemenu {
	height: 32px;
    float: left;
	}

#pagemenu, #pagemenu ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	}
#pagemenu {
	margin-bottom: 0;
	}
	
#pagemenu ul {
	float: left;
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	}

#pagemenu li {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
	
	
    #pagemenu li:first-child {
	}

#pagemenu ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#pagemenu li a, #pagemenu li a:link{
	color: #5C5C65;
	display: block;
    margin: 0 4px 0 0;
	padding: 10px 12px 10px 12px;
	text-decoration: none;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	border-radius: 10px;
	line-height: 20px;
	background: #E3E3E3;
	}
	
	
	
	
	
#pagemenu li a:hover {
	color: #FCFCFC;
	display: block;
    text-decoration: none;
    background: #5C5C65;
	}
	
	
#pagemenu li a:active{
	color: #FCFCFC;
	display: block;
    text-decoration: none;
    background: #1579AC;
	}
	
#pagemenu  li.current_page_item a {
	color: #FCFCFC;
    text-decoration: none;
    background: #1579AC;
   	}

#pagemenu li:hover, #pagemenu li.sfhover { 
	position: static;
	}



#navcontainer {
    /*display: none;*/
    float: left;
  /*  height: 140px;*/
    overflow: hidden;
    width: 740px;
   	}

#navcontainer .current-cat a {
	color:#FFFFFF;
    background: url(images/nav-hover.png) left top repeat-x repeat-y;
	background-color: #1579AC;
	}

/* CONTENT */

#content {
	padding: 0 5px 15px 10px;
    color: #2D3032;
	}


pre { overflow: auto;
	/*width: 470px; */
	}

.post {
	padding:10px 0 10px 0;
	margin-bottom: 20px;
    border-bottom: 1px dotted #E8E8E8;
	}

.post p {
	margin-bottom: 10px;
	color: #2D3032;
	}

.title {
	margin: 0 0 8px 0;
	padding: 0px;
	line-height: 28px;
	font-size: 22px;
	font-family: Arial, Helvetica, Sans-serif;
    font-weight: bold;
    text-transform: uppercase;
	color: #1579AC;
	}

	
.title a {
	text-decoration: none;
	color: #1579AC;
	}

.title a:hover {
	text-decoration: none;
	color: #1579AC;
	}

.pagetitle {
	margin-bottom: 20px;
	line-height: 22px;
	font-family: Arial, Verdana;
	text-decoration: underline;
	display: none;
}

.postdate {
	font-size: 12px;
	font-family: Arial, Helvetica, Sans-serif;
    color: #696767;
	display: none;
	}


.postmeta {
	font-size: 11px;
	padding: 2px 4px;
	font-family: Arial, Verdana;
	display: none;
	}
	
.postdate img, .postmeta img {
	border: none;
	vertical-align: middle;
	margin:2px;
	}
	
.entry {
	text-align: justify;
	line-height: 20px;
	/*padding-top: 8px;*/
	font-family: Arial, Verdana;
	font-size: 14px;
	}
.navigation {
	padding: 10px 0;
	}

blockquote {
	overflow: hidden;
	padding-left: 9px;
	font-style: italic;
	color: #666;
	border-left: 3px solid #CADAE7;
	}
	
.post img {
	max-width: 900px;
	margin-left: 10px;
	}

img.wp-smiley {
	max-height: 12px;
	margin: 0;
	padding: 0;
	border: none;
	}
	
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
	}

.alignleft {
   float: left;
   margin: 0 10px 5px 0;
	}

.alignright {
   float: right;
	}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
	}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
	}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
	}

	
/* wp-pagenavi */
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
    font-size: 15px !important;
    padding:  4px 8px !important;
    color: #232323 !important;
    background:none !important;
    border: 1px solid #FFFFFF !important;
}

.wp-pagenavi span.pages {
    font-size: 15px !important;
    padding:  4px 8px !important;
    color: #232323 !important;
    background: none !important;
    border: 1px solid #FFFFFF !important;
}

.wp-pagenavi span.extend {
    font-size: 15px !important;
    padding:  4px 8px !important;
    background:transparent !important;
    color: #232323 !important;
    background: none !important;
    border: 1px solid #FFFFFF !important;
}

.wp-pagenavi span.current {
    font-size: 15px !important;
    padding:  4px 8px !important;
    font-weight: bold;
    color: #fff !important;
    background: #D77EB5  url(images/wp-pagenavi-bg.png) left top repeat-x !important;
    border: 1px solid #BC2C82 !important;
}

.wp-pagenavi a:hover {
    color: #232323 !important;
    background: #FEFEFE  url(images/wp-pagenavi-hover.png) left top repeat-x !important;
    border: 1px solid #D2D2D2 !important;
}


/* SIDEBAR(S) */

.sidebaradbox {
	margin-top: 10px; 
	text-align:center;
	}
	
.ad125 {
	margin: 6px;
	}


.sidebar {
	margin: 0 10px 10px 10px;
    font-size: 13px;
    color: #7D7E80;
	}
	
.sidebar a {
	text-decoration: none;
	color: #7D7E80;
	}

.sidebar a:hover {
	text-decoration: underline;
	color:#BE6B9E;
	}
	

#search {
   /* border: 1px solid #4D4D4D;*/
   /* height: 28px;
    padding: 0px;
    text-align: right;
    margin-top: 15px;
	float: right;*/
}

#search input {
	border: 0;
    background: none;
    color: grey;
}
	
	
#s {
	width: 240px;
	padding: 4px;
    /*margin:2px 0 0 0;*/
    background: none;
}

#topsearch #search {
   /* margin: 12px 0 0 0;
    padding-right: 4px;*/
    }
    
#topsearch #s {
    width: 148px;
	border-radius: 10px;
	border: 1px solid #E3E3E3;
	height: 30px;
	background-color: white;
	
    }

	
		
/* Social icons */
.addthis_toolbox {
    padding: 15px 0 0px 0;
	text-align: center;
	}
.addthis_toolbox .custom_images a
{
    width: 32px;
    height: 32px;
    margin: 0 3px 0 3px;
    padding: 0;
}

.addthis_toolbox .custom_images a:hover img
{
    opacity: 1;
}

.addthis_toolbox .custom_images a img
{
    opacity: 0.85;
}


	
.sidebarvideo {

	}

.sidebar h2 {
	margin: 0 -10px 0 0;
	padding:10px 0 13px 10px;
    text-align: left;
	font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
	font-family: Arial, Helvetica, Sans-serif;
	font-weight: bold;
	text-transform: uppercase;
    background: url(images/sidebar_tab.png) left top repeat-x;
    }

.sidebar ul {
	list-style-type: none;
	margin: 0px 0px 10px 0px;
	padding: 0px;
	}
	
.sidebar ul li {
	list-style-type: none;
	margin: 0px 0px 5px 0px;
	padding: 0px;

   	}

.sidebar ul ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
  	}


.sidebar ul li li, .sidebar ul li ul li {
	padding: 6px 0px 6px 0px;
	margin: 0 0 2px 0;
    background: url(images/sidebar_line.png) left bottom repeat-x;
    }


#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	color: #7D7E80;
	background: none;
	}
#wp-calendar caption {
	padding: 2px 4px;
	text-transform: uppercase;	margin: 2px 0 2px 0;
	background: none;
    color: #7D7E80;
	}

#wp-calendar td {
	color: #7D7E80;
	font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	letter-spacing: normal;
	padding: 2px 0;
	text-align: center;
	}

#wp-calendar td:hover, #wp-calendar #today {
	color: #fff;
    background: #BE6B9E;
	}
#wp-calendar td:hover a {
    color: #fff;
}	
#wp-calendar {
	empty-cells: show;
	font-size: 14px;
	margin: 0;
	font-weight: bold; 
	width: 100%;
	}

/* FOOTER */

#footer {
    margin-top: 0;
    background: #1579AC;
	padding: 20px;
	text-align: center;
	color: #FFFFFF;
	font-size: 13px;
	}

#footer a {
	color: #FFFFFF;
	} 

#footer a:hover {
	text-decoration: none;
    color: #FFFFFF;
	} 
	
#credits {
	color: #747474;
	font-size: 11px;
	text-align: center;
	padding: 10px;
	}
    	
#credits a {
	color: #747474;
    text-decoration: none;
	} 
	
/* COMMENTS */

#comments h3 {
	margin-bottom: 10px;	
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
	
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
	
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
	
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}

.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;
	}
	
.post_thumbnail {
    padding: 6px;
    border: 1px solid #F3F2F2;
    margin: 0 10px 10px 0;
    background-color: #FFFFFF;
}



.descr {
 width:96%; /* ширина блока с описанием */
 padding:10px 0; /* отступы сверху и снизу для текста */
 margin:10px auto; /* выравнивание блока по центру */
 font-size:14px; /* размер шрифта */
 text-align:center /* выравнивание текста по середине */
}



.search_but {
 /*margin-left: -52px;*/
}

.slogan {
float: left;
margin-top: 60px;
}

.header_contacts {
float: right;
margin-top:10px;
margin-right: -25px;
}

.header_contacts ul {
font-size: 18px;
list-style-type: none; /* Убираем маркеры */ 
text-align: right;
color: #1579AC;

}

.header_contacts a{
color: #1579AC;
}

.clocks {
float: right;
margin-top: 20px;
}

.clocks h3{
margin: 0;
float: right;
text-align: right;
font-size: 14px;
}