/*   
Theme Name: Popular
Theme URI: http://www.webtalkto.com/one-canadian/
Description: "Popular" is a theme for Wordpress created by Web Talk To 
Author: Maxim Aginsky
Author URI: http://www.WebTalkTo.com
Version: 1 (22 June 2013)
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@media screen {
* {
	margin: 0;
	padding: 0;
	/*This will help us size things easily with percentages even though we'll be using borders*/
	 -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
article, aside, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	font: 15px "Century Gothic", sans-serif;
	background-color: #333;
	line-height: 1.7;
	color:#333;
	background-image: url(images/site_background_image.jpg);
	background-repeat: repeat;
}
#header img {
	border: 1px solid rgb(75, 74, 74);
max-width: 100%;
height: auto;
border-radius: 2px;
box-shadow: 4px 4px 10px 1px rgb(2, 2, 2);
padding: 15px;
}
#page-wrap {
	max-width: 86%;
	margin: 20px auto 0;
}
#header h1 {
	margin: 0 0 10px 0;
	font-size: 32px;
	text-align:left;
	line-height: 1.3;
	font-weight: normal;
}
#header h1 a {
	color: #DD5908;
	text-decoration: none;
	border-bottom: none;
}
#header h1 a:hover {
	color: #ffffff;
}
#header .description {
	color: rgb(163, 162, 162);
}
/*-------------------------Responsive Navigation Menu VAGNO ZNAT KOLICHESTVO STRANIZ. ETA NAVIGAZIYA DOLGNA BIT NASTROENA-----------------------------*/

/*Be sure to center it on the page as well with auto margins. Also jump in and apply the necessary unordered list styles to reset the list and eliminate any bullets.*/
nav {
	border: 1px solid rgb(75, 74, 74);
    width: 100%;
	margin: 0px 0 5px 0;
	padding: 0px;
}
nav a:hover {
color: rgb(184, 173, 166);
}
 
nav ul {
    list-style: none;
    overflow: hidden;
	margin: 0;
}
/*I added a half second transition as well.*/
nav li a {
box-shadow: 0px 0px 40px 1px rgb(2, 2, 2);
    color: rgb(170, 169, 169);
    display: block;
    float: left;
    font: 200 12px/1.7 'Cutive', Helvetica, Verdana, Arial, sans-serif;
    padding: 20px 40px 20px 40px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
	//background-color: rgb(102, 96, 93);
	
	/*TRANSISTIONS*/
    -webkit-transition: background 0.5s ease;
       -moz-transition: background 0.5s ease;
         -o-transition: background 0.5s ease;
        -ms-transition: background 0.5s ease;
            transition: background 0.5s ease;
}
 /*HOVER*/
nav li:nth-child(1) a:hover {
background: rgb(111, 37, 105);
}
nav li:nth-child(2) a:hover {
background: rgb(32, 30, 30);
}
nav li:nth-child(3) a:hover {
background: rgb(27, 97, 131);
}
nav li:nth-child(4) a:hover {
background: rgb(73, 87, 13);
}
nav li:nth-child(5) a:hover {
background: rgb(49, 70, 80);
}
nav li:nth-child(6) a:hover {
background: rgb(163, 42, 11);
}
nav li:nth-child(7) a:hover {
background: rgb(111, 37, 105);
}
nav li:nth-child(8) a:hover {
background: rgb(32, 30, 30);
}
nav li:nth-child(9) a:hover {
background: rgb(27, 97, 131);
}
nav li:nth-child(10) a:hover {
background: rgb(73, 87, 13);
}
nav li:nth-child(11) a:hover {
background: rgb(163, 42, 11);
}
nav li:nth-child(12) a:hover {
background: rgb(250, 249, 247);
}

/*------------------------Navigation Menu end-----------------------------*/
#main-content:before {
content: "";
position: absolute;
z-index: -1;
top: 5px;
left: 5px;
right: 5px;
bottom: 5px;
}
#main-content:after {
content: "";
position: absolute;
z-index: -1;
top: 15px;
left: 15px;
right: 15px;
bottom: 15px;
background: #fff;
}
#main-content {
z-index: 1;
width: 100%;
position: relative;
float: left;
margin-bottom: 50px;
}
.content-block {
padding: 30px;
background-color: rgb(252, 250, 250);
//margin: 30px 0 30px 30px;
box-shadow: 0px 0px 10px rgb(148, 147, 147);
width: 67%;
float: left;
}
aside {
font-weight: normal;
float: right;
width: 31.7%;
//margin: 30px 30px 30px 0;
padding: 30px;
background-color: rgb(252, 250, 250);
box-shadow: 0px 0px 10px rgb(148, 147, 147);
}
aside ul, aside ol {
	margin-left: 20px;
}
aside h2 {
	font-size: 22px;
	font-weight: normal;
	margin: 0 0 10px 0;
}
.widget {
	padding: 0;
	background-color: transparent;
	margin-bottom: 50px;
}
#footer {
	clear: both;
	padding:10px;
	padding-bottom: 50px;
	font-weight: normal;
	font-size: 12px;
	color: #000;
}
#footer a {
	color: #000;
}
#footer, .next-posts, .prev-posts {
	//background-color: rgb(102, 96, 93);
	background-color: rgba(255, 255, 255, 0.1);
	
}
#main-content, #footer {
	padding: 32px;
	border: 1px solid rgb(75, 74, 74);
	border-radius: 2px;
	box-shadow: 4px 4px 10px 1px rgb(2, 2, 2);
}
#main-content img {
	max-width: 100%;
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	height: auto;
}
aside img {
	max-width: 100%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	height: auto;
}
a img {
	border: none;
}
#main-content iframe {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	width: 100%;
}
iframe, object {
max-width: 100%;
}
.textwidget {line-height: 0.1;}
.content-block h1 {
font-weight: normal;
margin: 0px 0px 80px 0px;
line-height: 1.3;
font-size: 52px;
color: rgb(78, 76, 76);
text-shadow: 1px 1px 0 rgb(196, 194, 194);
}
.entry h1 {margin: 50px 0px 50px 0px;
font-weight: normal;
line-height: 1.3;
font-size: 52px;
color: #DD5908;
text-shadow: 1px 1px 0 rgb(65, 65, 65);
}
h2 {
	font-size: 36px;
	font-weight: normal;
	margin: 70px 0 20px 0;
	color: rgb(55, 58, 94);
	
}
h3 {
	font-size: 24px;
	margin: 0 0 20px 0;
	font-weight: normal;
	font-family: sans-serif;
	color:#444;
}
aside h5 {
font-size: 22px;
font-weight: normal;
margin: 0 0 10px 0;
}
p {
	margin: 0 0 20px;
}
a {
	color: rgb(78, 98, 150);
	text-decoration: none;
}
a:hover {
	color:#DD5908
}
blockquote {
padding: 20px 50px 20px 50px;
font-style: italic;
}
blockquote p {
color: rgb(162, 90, 13);
}
ul, ol {
	margin: 0 0 20px 40px;
}
.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: -9999px;
}
.entry {
}
.entry a {
}
.entry a:hover {
}
pre {
}
code, tt {
}
#meta {
}
.postmetadata {
	font-size: 12px;
	color: #DD5908;
	margin: 30px 0 40px 0;
	//display: none;
}
#sidebar {
}
.pag_nav {
	padding: 15px 0 0 0;
	font-size: 22px;
	font-family: Georgia, sans-serif;
}
.pag_nav a {
	border-bottom: none;
}
.pag_nav p {
	text-align: center;
}
.navigation {
	margin: 10px 0 100px 0;
}
.next-posts {
	width: 45%;
	float: right;
	text-align: right;
}
.prev-posts {
	width: 45%;
	float: left;
}
.next-posts, .prev-posts {
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 2px;
	box-shadow: 0px 0px 1px rgb(116, 115, 115);
}
.next-posts a, .prev-posts a {
	color: rgb(15, 63, 39);
	border-bottom: none;
	font-weight: bold;
	font-family: Georgia, sans-serif;
}
.next-posts a:hover, .prev-posts a:hover {
	color: rgb(9, 9, 8);
}
.meta {
	margin: -20px 0 34px 0;
	font-size: 12px;
	color: #DD5908;
	//display: none;
}
#searchform {
}
#s {
	width: 94%;
}
#searchsubmt {
}
ol.commentlist {
	list-style: none;
}
ol.commentlist li {
}
ol.commentlist li.alt {
}
ol.commentlist li.bypostauthor {
}
ol.commentlist li.byuser {
}
ol.commentlist li.comment-author-admin {
}
ol.commentlist li.comment {
	border-bottom: 1px dotted #666;
	padding: 10px;
}
ol.commentlist li.comment div.comment-author {
}
ol.commentlist li.comment div.vcard {
}
ol.commentlist li.comment div.vcard cite.fn {
	font-style: normal;
}
ol.commentlist li.comment div.vcard cite.fn a.url {
}
ol.commentlist li.comment div.vcard img.avatar {
	float:right;
	margin: 0 0 10px 10px;
}
ol.commentlist li.comment div.vcard img.avatar-32 {
}
ol.commentlist li.comment div.vcard img.photo {
}
ol.commentlist li.comment div.vcard span.says {
}
ol.commentlist li.comment div.commentmetadata {
}
ol.commentlist li.comment div.comment-meta {
	font-size: 10px;
}
ol.commentlist li.comment div.comment-meta a {
	color: #ccc;
}
ol.commentlist li.comment p {
}
ol.commentlist li.comment ul {
}
ol.commentlist li.comment div.reply {
	font-size: 11px;
}
ol.commentlist li.comment div.reply a {
	font-weight: bold;
}
ol.commentlist li.comment ul.children {
	list-style: none;
	margin: 10px 0 0;
}
ol.commentlist li.comment ul.children li {
}
ol.commentlist li.comment ul.children li.alt {
}
ol.commentlist li.comment ul.children li.bypostauthor {
}
ol.commentlist li.comment ul.children li.byuser {
}
ol.commentlist li.comment ul.children li.comment {
}
ol.commentlist li.comment ul.children li.comment-author-admin {
}
ol.commentlist li.comment ul.children li.depth-2 {
	border-left: 5px solid #555;
	margin: 0 0 10px 10px;
}
ol.commentlist li.comment ul.children li.depth-3 {
	border-left: 5px solid #999;
	margin: 0 0 10px 10px;
}
ol.commentlist li.comment ul.children li.depth-4 {
	border-left: 5px solid #bbb;
	margin: 0 0 10px 10px;
}
ol.commentlist li.comment ul.children li.depth-5 {
}
ol.commentlist li.comment ul.children li.odd {
}
ol.commentlist li.even {
	background: #fff;
}
ol.commentlist li.odd {
	background: #f6f6f6;
}
ol.commentlist li.parent {
	border-left: 5px solid #111;
}
ol.commentlist li.thread-alt {
}
ol.commentlist li.thread-even {
}
ol.commentlist li.thread-odd {
}
form {
}
textarea {
	height: 200px;
	width: 80%;
	margin-bottom: 13px;
}
input[type='email'], input[type=text] {
	width: 300px;
	max-width: 98%;
	margin-bottom: 13px;
}
input[type="submit"] {
	cursor: pointer;
	font-size: 11px;
	font-family: inherit;
	background-color: #333;
	color: #DD5908;
	padding: 7px;
	border-radius: 2px;
	border: 1px solid #000;
}
textarea, input[type='email'], input[type=text] {
	border-radius: 2px;
	border: 1px dotted #ccc;
	padding: 7px;
	box-shadow: 2px 2px 1px 1px rgb(116, 115, 115);
}
} /* END screen media */
 @media only screen and (max-width: 1040px), only screen and (max-device-width: 1040px) {
 .content-block  {
width: 100%;
}
aside {
display: none;
}
#page-wrap {
max-width: 98%;
}
} /* END media only scree */
@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) {
h1, h2, .entry h1 { font-size:190%}
.content-block h1 { font-size:240%}
#main-content {
padding: 0;
}
} /* END media only scree */
 @media print {
.do-not-print {
	display: none;
}
#comments {
	page-break-before: always;
}
body {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.4;
	word-spacing: 1.1pt;
	letter-spacing: 0.2pt;
	font-family: Garamond, "Times New Roman", serif;
	color: #000;
	background: none;
	font-size: 12pt;
}
h1, h2, h3, h4, h5, h6 {
	font-family: Helvetica, Arial, sans-serif;
}
h1 {
	font-size: 19pt;
}
h2 {
	font-size:17pt;
}
h3 {
	font-size:15pt;
}
h4, h5, h6 {
	font-size:12pt;
}
code {
	font: 10pt Courier, monospace;
}
blockquote {
	margin: 1.3em;
	padding: 1em;
}
img {
	display: block;
	margin: 1em 0;
}
a img {
	border: none;
}
table {
	margin: 1px;
	text-align:left;
}
th {
	border-bottom: 1px solid #333;
	font-weight: bold;
}
td {
	border-bottom: 1px solid #333;
}
th, td {
	padding: 4px 10px 4px 0;
}
caption {
	background: #fff;
	margin-bottom: 2em;
	text-align: left;
}
thead {
	display: table-header-group;
}
tr {
	page-break-inside: avoid;
}
a {
	text-decoration: none;
	color: black;
}
} /* END print media */
