/*
  Theme Name: NIKnews
	Theme URI: 
	Description: NIKnews theme
	Author: Ksana
	Author URI: http://prodengiblog.ru/
	Version: 1.0 
*/
/************************************************
* import 	                        					*
************************************************/

@import url("css/header.css");
@import url('bootstrap/css/bootstrap.css'); 
@import url('bootstrap/css/bootstrap-responsive.css'); 
@import url("css/maincolumn.css");
@import url("css/sidebar.css");
@import url("css/navi.css");
@import url("css/contact.css");
@import url("css/colorbox.css");
@import 'css/carousel.css';

/************************************************
* Global Styles			                        		*
************************************************/

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333333;
  background: #fff; 
  font-size: 14px;
}
.container, .row { 
  position: relative !important; 
  z-index: 10;
}
#page { 
  margin: 50px 0 0 0!important;
  clear: both !important;
}
.span12 {  
   margin-left: 0; 
}
.nav {
  border-top: 1px solid #000;
}
.clear {
  clear: both !important; 
}
.left {
  float: left;
  left: 20px;
  padding-left: 5px;
}
.right {
  float: right;
  right: 20px;
}
.Right {
  float: right;
}
footer,
#header,
.nav {
  display: block;
}

/************************************************
* additional classes                      		*
************************************************/

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #FF0000;
  border-bottom: 1px solid #ffffff;
}

small, .small {
  font-size: 12px;
  line-height: 1 !important;
}
strong {
  font-weight: bold;
}
p {
  margin: 0 0 10px 0;
}
em {
  font-style: italic;
}

/************************************************
* Titles                       		*
************************************************/

h1,h2,h3,h4,h5,h6 {
  font-family: Verdana, Helvetica, Arial, sans-serif;
  color: inherit;
  text-rendering: optimizelegibility;
  font-weight: normal;
  line-height: 1.1;
  text-align: left;
  clear: both!important;
}
h1, h2 {
  font-size: 24px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 20px;
}
h4, .box-title {
  font-size: 20px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
  font-weight: bold;
}

/************************************************
*  General classes		*
************************************************/

.text, #bottom, footer {
  width: 100%;  
  clear: both;
}

/************************************************
* img			*
************************************************/

img {
	/*border: 1px solid #ccc;*/
	padding: 0;
}
img, object {
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  opacity: 1;
}
img:hover, object:hover {
  opacity: 0.9;
}
.post img, ul.elastislide-list img, .post_cat img, .text img, #other img {
  clear: both;
  -webkit-transition: all 0.2s ease-in-out;
     -moz-transition: all 0.2s ease-in-out;
       -o-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}
.post img:hover, .text img:hover, #other img:hover {
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
     -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
}
.vrezka:hover {
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 1);
     -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 1);
          box-shadow: 0 1px 4px rgba(0, 0, 0, 1);
}
img.wp-smiley {
  float : none !important;
  width : 15px !important;
  height: 15px !important;
  background: none;
  margin: 0!important;
  padding: 0!important;
  vertical-align: middle;
  -webkit-box-shadow: none!important;
     -moz-box-shadow: none!important;
          box-shadow: none!important;
  border: 0!important;       
}

/************************************************
* adsense_box					*
************************************************/

.main_ad336x280,
.main_ad728x90, 
.main_ad300x250, 
.sid_ad300x250 { 
	float: none;
  width: auto\9;
  max-width: 100%;
  height: auto;
  margin: 0 auto 15px;
	clear: both;
  overflow: hidden;
}
.header_ad728x90 img,
.main_ad336x280 img,
.main_ad728x90 img, 
.main_ad300x250 img, 
.sid_ad300x250 img { 
  width: auto\9;
  max-width: 100%;
	height: auto;
	border: 0!important;
	box-shadow: none;
  padding: 0;
}
.header_ad728x90 {
  position: absolute; top: 20px; right: 0;
}
.main_ad300x250, .main_ad300x250 img {
  width: 300px;
}
.main_ad336x280, .main_ad336x280 img { 
  width : 336px; 
} 
.main_ad728x90, .main_ad728x90 img { 
	width: 728px;
}
.sid_ad300x250, .sid_ad300x250 img { 
	width: 300px;
}
.ad468x60 {
  float: right;
  position: relative;
  width: 468px;
  margin: 10px 0 0 0;
  z-index: 100;
}
#ad_text {
  margin: -10px auto 0 !important;
}

/************************************************
* color fonts 			*
************************************************/

.red {
  color: #c40902!important;    
}
.blue {
  color: #2f6bb2!important;
}

/************************************************
* Links			*
************************************************/

a:link, a:visited { 
  color: #333;
  text-decoration: none;
}
a:hover, a:active, a:focus  { 
  color: #333;
  text-decoration: underline;
}
a:focus  { 
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
a:hover,
a:active {
  outline: 0;
}
.span6 a:link, .span6 a:visited,
.span6 a:hover, .span6 a:active,
.post .title_link a:link, 
.post .title_link a:visited,
.post_cat .title_sid a:link, .post_cat .title_sid a:visited, 
.post_cat .title_sid a:hover, .post_cat .title_sid a:active { 
  color: #c40902;      /*   Red    */
  text-shadow: 1px 1px 1px #fff;
}

/************************************************
* nav-collapse collapse				*
************************************************/

.nav-collapse .nav { 
  max-width: 550px;
  margin: 0;
  padding: 0;
}
ul.nav li {
  font-size: 14px;
  line-height: 1;
} 
#nav-page {}
#nav-category { display: none; }

.navbar-inverse .nav > li > a:focus,
.navbar-inverse .nav > li > a:hover {
  color: #fff;
  background-color: #999;    /*  color   */
}

/************************************************
* navbar-form				*
************************************************/

.navbar-form {
  margin-top: 3px;
  margin-bottom: 0;
  *zoom: 1;
}
.navbar-form input,
.navbar-form select{
  margin-top: 4px;
}
.navbar-form input {
  float: left;
  height: 16px;
  padding: 4px 6px;
  margin: 5px 10px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #555555;
  vertical-align: middle;
  display: inline-block;
  background: #eee !important;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  border: 1px solid #cccccc;
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
  -webkit-box-shadow: inset 5px 5px 5px rgba(83, 72, 50, 0.3);
     -moz-box-shadow: inset 5px 5px 5px rgba(83, 72, 50, 0.3);
          box-shadow: inset 5px 5px 5px rgba(83, 72, 50, 0.3);
}
input.span2 {
  width: 126px;
}
/*  top    */

.navbar-inner .top {
   float: right;
   color: #999;
   font-size: 16px;
   margin: 8px 20px 10px 0;
}
.navbar-inner .top span {
  margin-left: 20px;
}
.navbar-inner .top span a:link, .navbar-inner .top span a:visited {
   color: #999;
   font-size: 13px;
}
button#but-submit {
  width: 64px;
  height: 29px;
  font-size: 100%;
  vertical-align: middle;
  padding: 1px 6px 4px 6px;
  margin-top: 3px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    button#but-submit {
      padding: 2px 6px 3px 6px!important;
    }
}

/************************************************
*	Comments								*
************************************************/

#comments {   
	float: left;
  position : relative;
  width: 100%;
  height: auto;
  margin : 0 0 20px 0 !important; 
  padding : 0;  
  background : transparent; 
  font-family : Arial, Verdana, Sans-Serif; 
  font-weight : normal; 
  font-size : 13px; 
  overflow: hidden;
	clear: both;
} 
#comments h4 { 
  margin: 0;
  padding: 0;
}
ol.commentlist {  
  width: 100%;
  height: 100%;
  margin : 0 0 15px 0!important; 
  padding : 0; 
  list-style-type: none; 
	clear: both;
}
ol.commentlist li, #trackbacks {  
  position: relative; 
  width: auto;
  height: auto;
  min-height: 70px;
  margin : 15px 0 0 0 !important; 
  padding: 0 !important; 
  list-style-type: none !important; 
  clear: both!important;
}
.even, .byuser {
  margin : 15px 0 15px 0!important; 
}
#trackbacks { 
  min-height: 0;
  margin : 20px 0 20px 0; 
  padding: 10px 10px 13px 10px; 
  font-size : 13px; 
}
#trackbacks li {    
  font-size : 13px; 
  list-style-type: square;
  margin : 0 0 0 15px; 
  padding: 0; 
}
ol.commentlist li img.avatar {   
  float: left;
  position : relative;
  width : 50px; 
  height : 50px; 
  margin : 0 10px 0 0; 
  padding: 0; 
}
.comment_text {   
  width: auto; 
  min-height: 50px!important;
  padding: 0; 
  margin : 0 0 7px 0;  
	overflow: hidden;
  font-size: 13px;
} 
.comment_text p {     
  color: #000;
} 
.commentmetadata {     
  line-height: 1.5;
  margin : -4px 0 7px 0; 
  padding: 0;
  font-size : 12px; 
  font-weight : normal; 
  text-align: left;
  overflow: hidden;
} 
.commentmetadata .time{
  margin : 0 5px 0 0; 
}
.commentmetadata .author {
  margin : 0; 
}
.comment_text p {   
  width: auto; 
  padding: 0; 
  margin : 0;  
	overflow: hidden;
  font-size: 13px; 
} 
ol.commentlist li.reply { 
  width : auto; 
  margin : 10px 0 10px 0;  
  font-size : 12px; 
  text-align: left;
  text-decoration : none; 
}
ol.commentlist li .reply a:hover, ol.commentlist li .reply a:active {  
  text-decoration: none; 
}
a.comment-reply-link:link,
a.comment-reply-link:visited {
  color : #2a71c6;   /*  blue   */
}
#respond {  
  margin: 0 !important; 
  padding: 0 !important; 
	overflow: hidden;
}
#respond p { 
  font-size: 12px; 
  margin: 0 0 1em; 
}
#cancel-comment-reply { 
  margin: 0 !important;
	font-size: 13px;
}
#cancel-comment-reply-link {
  padding-top: 10px;
}

/************************************************
*	�������� �����������						*
************************************************/

ol.commentlist ul.children,
ol.commentlist ul ul.children,
ol.commentlist ul ul ul.children,
ol.commentlist ul ul ul ul.children {
  width: auto;
  height: auto;
  margin-top: 0!important; 
  margin-bottom: 0!important; 
  padding: 0!important; 
  text-indent: 0; 
  list-style: none; 
  clear: both;  
}
ol.commentlist ul.children li {   
  height: auto;
  min-height: 60px;
  margin-top: 5px!important; 
  padding: 0!important; 
  list-style-type : none; 
  clear: both;
 }
 
/************************************************
*	��������� ������������							*
************************************************/

li.bypostauthor {
    /* CSS ��� ������������ ������ ������ */
}

li.byuser {
    /* CSS ��� ���������������� ������������ */
}

/************************************************
*	Commentsform								*
************************************************/

#commentform {   
  float: left; 
  position: relative;
  width: 100%;
  margin: 0 0 15px 0!important; 
  padding: 3px 0 0 3px !important;
  font-family: Arial, Verdana, Sans-Serif; 
  z-index: 200;
  clear: both;
} 
#commentform .fieldwrap,
#contactform .fieldwrap { 
  float: left;
  width: 99%;
  height: auto; 
	text-align: left;
	display: inline; 
	margin: 0 0 10px 0; 
	padding: 0;
}
#commentform input, textarea#comment { 
  font-family: Arial, Verdana, Sans-Serif; 
  font-size: 13px; 
  margin: 0; 
  padding: 3px; 
} 
#searchform input#s,
#commentform input, textarea#comment,
#contactform input, #contactform textarea#cp_message {
  margin: 0 10px 0 0; 
  padding: 4px 6px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  border: 1px solid #ccc;
  -webkit-box-shadow: inset 3px 3px 3px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 3px 3px 3px rgba(0, 0, 0, 0.075);
          box-shadow: inset 3px 3px 3px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
	overflow: visible;   
}		
#searchform input#s:focus, #searchform input#s:hover,
#commentform input:focus, textarea#comment:focus,
#commentform input:hover, textarea#comment:hover, 
#contactform textarea#cp_message:focus, #contactform input:focus,
#contactform textarea#cp_message:hover, #contactform input:hover {
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
     -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
#commentform input { 
  width : 35%; 
  min-width : 165px; 
  height : 20px; 
  margin : 0 10px 0 0; 
  clear: both;
} 
#commentform label {   
  width: 100%; 
	margin: 0;
  padding: 0; 
  font-size: 13px; 
  line-height: 1;
}
textarea#comment {  
  position : relative;
  overflow : auto; 
  margin : 10px 0 0 0; 
  width: 92%;
  min-height : 150px; 
  overflow: auto;
  padding : 10px; 
} 
#commentform input.submit, #contactform input.submit { 
  float: right;
  width: 160px;
  height: 30px!important;
  padding: 4px 0 4px 0!important;
  font-size: 14px;
  border-radius: 0;
} 
#commentform input.submit { 
  margin: 20px 40px 0 0!important;
} 
#commentform input.submit:hover, #contactform input.submit:hover { 
  opacity: 0.9;
} 
#commentform .alignleft { 
  float: left; 
	margin: 0 0 10px 0;
  padding:0;
  width: 60%; 
  font-size: 13px; 
}
#commentform .alignright {     
  float: right; 
  text-align : right; 
	margin: 0 20px 10px 0;
  padding: 0; 
  width: 60px; 
  font-size: 13px; 
  text-align: right;
}

/*********************************************
	attention
*********************************************/
 
.attention { 
  position: relative;
  margin: 10px 0 0 0; 
  color: #666; 
  font-size: 13px !important; 
}
.required {  
  font-size: 15px; 
}
.at-block {
  float: left;
}
.moderadion {
  font-style: italic; 
  color: #D61E19;
  font-size: 15px;
  text-align: left;
  margin: 5px 0 0 0;
}

/*********************************************
	a navi
*********************************************/

a#com-form {  
  width: 160px;
  background: url('/wp-content/themes/NIKnews/images/arrow_top.png') right 5px no-repeat;
} 
#com-form { 
  float: left;
  width : auto; 
  margin: 0 0 20px 0 !important; 
} 
.navi_top { 
  float: left;
  width : 100%; 
  height: auto;
  margin: 0 0 25px 0; 
} 
#first {  
  width: auto;
  background: url('/wp-content/themes/NIKnews/images/arrow_bot.png') right 4px no-repeat;
  padding-right: 18px;
} 
a#ancor { 
  width: auto;
  padding-left: 18px;
  background: url('/wp-content/themes/NIKnews/images/arrow_bot.png') left 4px no-repeat;
} 

/*********************************************
	Comment	editor
*********************************************/

blockquote {
  color: #333;
	margin: 5px 0 5px 10px;
	padding: 0 0 0 10px;
	border-left: 4px solid #6d6d6d;
	font-style: italic;
}
blockquote blockquote {
	margin: 5px 0 5px 10px;
	padding: 0 0 0 10px;
	border-left: 4px solid #6d6d6d;
}

/************************************************
*	subscribe-to-comments						*
************************************************/

.subscribe-to-comments {
  float: left;
  max-width: 300px;
  margin: 0 0 10px 0;
} 
.subscribe-to-comments input#subscribe {
  float: left;
  margin-right: 7px;
}
.subscribe-to-comments label {
}

/************************************************
*	footer						*
************************************************/

footer {
  position: relative;
  width: 100%;
  min-height: 120px;
  background: #999;
  margin-top: 20px;
  padding: 30px 0 0 0!important;
  color: #ccc;
  font-size: 13px;
}
footer .container { 
  height: auto;
  margin: 0 auto 0;
  color: #ccc;
}
footer .row, footer .span8, footer .span4 { 
  margin-left: 0 !important;
  margin-right: 0 !important;
}
footer a:link, footer a:visited, footer a:hover, footer a:active {
	color: #ccc;
}
footer a:link1{
	color: #0ff;
}
footer .left, footer .right { 
  height: auto;
  padding-left: 5px;
  color: #ccc;
  line-height: 1.1;   
  text-align: left;
}
/*  left  */

.footer-left { 
}
#track-text {
  height: auto;
  margin-bottom: 20px;
}
.copyright, .author {
  margin-top: 10px;
}
/*   right   */

.footer-right { 
  margin: 0 0 10px 0!important;
}
/*  Track-code  */

#track-code {  
  position: relative;
  width: 100%; 
  max-height: 40px;
  margin-top: 15px; 
} 
#track-code img { 
  float: left;  
  margin-right: 5px; 
} 

/************************************************
*	My responsive style						*
************************************************/

@media screen and (max-width: 1199px) { 
    #main336x280 { display: none; }
}
@media screen and (min-width: 979px) { 
    .navbar { display: none; }
    #header { margin-top: 0; }    
}
@media screen and (max-width: 979px) { 
    #menu-box, #nav-page {
      display: none;
    }    
    #nav-category {
      display: block;
    }
    #page { 
      margin: 0;
    }
    #header { 
      margin: -20px 0 0 0;
      height: 140px;
    }
    #page { 
      margin: 0!important;
    }
    .navbar { display: block; }
    #text img {
        width:100%!important;
        height:auto;
    }
    #text .wp-caption {
        text-align: left!important;
        width:100%!important;
    }
}