/* 
CUSTOM STYLESHEET
---------------------

Instructions:

Add your custom styles at the end of this file instead 
of style.css so it is easier to update the theme. 
Simply copy an existing style from style.css to this file, 
and modify it to your liking.
*/



/* style.css*/
body {
  color: #333333;
  font-family:PT Serif,Georgia,Times New Roman,Times,serif;
}



h1,h2,h3,h4,h5 {font-family: PT Sans,Helvetica Neue,Helvetica,Arial,sans-serif;}

h1 {font-size: 26px;line-height: 1em;}
h2 {font-size: 22px;margin: 0 0 7px;padding: 5px 0;}
h3 {font-size: 20px;margin: 0 0 7px;padding: 5px 0;}
h4 {font-size: 18px;margin: 0 0 7px;padding: 5px 0;}

#headline .title {
    letter-spacing: -0.04em;
}

.entry li, .comment-body li {
  font: 15px/19px PT Serif,Georgia,Times New Roman;
  margin-left: 30px;
}



#featured .info {
    font-size: 14px;
    line-height: 1em;
    margin: 0;
    padding: 3px 0 0;
}

#featured .meta {
    font-size: 11px;
    font-weight: normal;
    margin: 5px 0 0;
}

.categorybar {
  float: left;
  display: inline;
  width: 18.4%;
  cursor: pointer;
  background: #F8F6F0;
  border-top: 8px solid #333;
  padding: 0.5% 0.8% 1.6%;
}

.categorybar p {
  color: #0c3e91;
  font-size: 13px;
}


#page {font-size: 14px;}



#content p {
    font: 16px/20px PT Serif,Georgia,Times New Roman;
}



.cat_title {
  font-size: 15px;
}


#paged-list .cat_title {
    font-size: 14px;
    padding: 0;
    color: #777;
}

#paged-list h3.cat_title a {
    color: #777;
}


#single_head {
  float: left;
  display: inline;
  width: 18.8%;
  background: #FAF0E7;
  padding: 15px 2.6% 20px 2.6%;
}

#comments ul.commentlist blockquote {
  background: #ededed;
  overflow: hidden;
}

#sidebar {font-size: 14px;}

#sidebar h3 {font-size: 15px;}

#sidebar-left, #sidebar-right {width: 49.9%;}


.spoiler h3, .spoiler h4 {font-size: 16px;line-height: 1em;}

.spoiler h4 a {color: #333333;text-decoration: underline;}

#gallery {
  margin: 0 5px;
  color: #333;
  padding: 1.6%;
  font-size: 13px;
}

#front-popular {font-size: 13px;}


#single_desc {
    display: inline;
    float: left;
    font-size: 15px;
    padding: 0 1.1% 15px;
    width: 69.1%;
}



.noborder td {border: 0;font: 15px/19px PT Serif,Georgia,Times New Roman;}

.noborder {border: 0;}


#content img {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}


.nostyletable {border: 0 none !important;}

.nostyletable td {
    background: none repeat scroll 0 0 transparent !important;
    border: 0 none !important;
}

#content table td p {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

#page table {
  max-width: 100%;
  width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 20px;
  border: 1px solid #dddddd;
  border-collapse: separate;
  *border-collapse: collapse;
  border-left: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}



#page table th, #page table td {
  padding: 8px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}
#page table th {
  font-weight: bold;
}
#page table thead th {
  vertical-align: bottom;
}
#page table thead:first-child tr:first-child th, #page table thead:first-child tr:first-child td {
  border-top: 0;
}
#page table tbody + tbody {
  border-top: 2px solid #dddddd;
}


#page table th, #page table td {
  border-left: 1px solid #dddddd;
}
#page table thead:first-child tr:first-child th, 
#page table tbody:first-child tr:first-child th, 
#page table tbody:first-child tr:first-child td {
  border-top: 0;
}
#page table thead:first-child tr:first-child > #page th:first-child, 
#page table tbody:first-child tr:first-child > #page td:first-child {
  -moz-border-radius-topleft: 3px;
  -webkit-border-top-left-radius: 3px;
  border-top-left-radius: 3px;
}
#page table thead:first-child tr:first-child > #page th:last-child,
#page table tbody:first-child tr:first-child > #page td:last-child {
  -moz-border-radius-topright: 3px;
  -webkit-border-top-right-radius: 3px;
  border-top-right-radius: 3px;
}
#page table thead:last-child tr:last-child > #page th:first-child,
#page table tbody:last-child tr:last-child > #page td:first-child,
#page table tfoot:last-child tr:last-child > #page td:first-child {
  -moz-border-radius-bottomleft: 3px;
  -webkit-border-bottom-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
#page table thead:last-child tr:last-child > #page th:last-child,
#page table tbody:last-child tr:last-child > #page td:last-child,
#page table tfoot:last-child tr:last-child > #page td:last-child {
  -moz-border-radius-bottomright: 3px;
  -webkit-border-bottom-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
#page table tfoot + tbody:last-child tr:last-child td:first-child {
  -moz-border-radius-bottomleft: 0;
  -webkit-border-bottom-left-radius: 0;
  border-bottom-left-radius: 0;
}
#page table tfoot + tbody:last-child tr:last-child td:last-child {
  -moz-border-radius-bottomright: 0;
  -webkit-border-bottom-right-radius: 0;
  border-bottom-right-radius: 0;
}

#page table tbody > #page tr:nth-child(odd) > #page td,
table tbody > #page tr:nth-child(odd) > #page th {
  background-color: #f9f9f9;
}

#page table tbody tr:hover td,
#page table tbody tr:hover th {
  background-color: whitesmoke;
}

#page table td[class*="span"],
#page table th[class*="span"] {
  display: table-cell;
  float: none;}




/* blue */

.container              						{ max-width: 1180px; }

#headline                                       { width:66.8%; }

#featured                                       { width:27.9%;	}
#headline, #featured                            { background: #fff6f1; }

#single-head-wrapper                            { background:#fff6f1; float:left; }

#category-bar                                   { background:#F8F6F0;padding: 0; }


.tanbox h3.title a, .onecolumn h3.title a {
    font-size: 18px;
    letter-spacing: -0.01em;
    line-height: 1em;
}

#front-popular {font-family: PT Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size: 14px;}


/* madmenu.css */

#madmenu { 
	float:left; 
	padding: 0;
	margin: 2px 0 0;
	clear:both;
	width:100%;
	font-weight:bold;
	text-transform:uppercase;
	font-size:12px;
	}

#madmenu li {font-family: PT Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size: 13px;}

#madmenu li li { 
	float: none;
	margin: 0;
	padding:0;
	border-right:0px solid #303030;
	font-size: 13px;
	}


#madmenu li ul {
	display:none;
	position: absolute;
	/*width: 154px;*/
	width: inherit;
	padding:0;
	text-transform: none;
}



/* добавки */



.snoska {
    background: #d9edff;
    border: 1px solid #a6d5ff;
    float: right;
    border-radius: 4px 4px 4px 4px;
    color: #000000;
    margin: 0 0 20px 10px;
    padding: 8px 14px 8px 14px;
}


input[type="text"], input[type="email"], .field, textarea {
    background: #fff none repeat scroll 0 0;
    border-color: #bbbbbb #bbbbbb #eeeeee #eeeeee;
    border-image: none;
    border-style: solid;
    border-width: 1px;
    font-size: 12px;
    padding: 5px;
}

#search-wrapper {width: 200px;  float: right;}

.btn-navbar {margin: 3px 5px;}

#ya-site-form0 * {
    border: 0 none;
    margin: 0;
    padding: 0 !important;
}


#ya-site-form0 .ya-site-form__form * {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    font-size: 12px !important;
}


#ya-site-form0 .ya-site-form__form .ya-site-form__input-text {
    background-color: #eeeeee !important;
    margin: 2px 0 0 !important;
    padding: 3px !important;
}

#ya-site-form0 .ya-site-form__submit {
    background: #eee none repeat scroll 0 0 !important;
    display: block;
    margin: 0 0 0 5px;
    margin: 2px 0 0 3px !important;
    padding: 2px !important;
    width: auto;
}


#ya-site-form1 * {
    border: 0 none;
    margin: 0;
    padding: 0 !important;
}


#ya-site-form1 .ya-site-form__form * {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    font-size: 12px !important;
}


#ya-site-form1 .ya-site-form__form .ya-site-form__input-text {
    background-color: #eeeeee !important;
    margin: 2px 0 0 !important;
    padding: 3px !important;
}

#ya-site-form1 .ya-site-form__submit {
    background: #eee none repeat scroll 0 0 !important;
    display: block;
    margin: 0 0 0 5px;
    margin: 2px 0 0 3px !important;
    padding: 2px !important;
    width: auto;
}

.spoiler, .sidebar-background, .sidebar-left-background, .sidebar-right-background {
    padding: 9px;
}


