/*   
Theme Name: goodmagic
Theme URI: http://www.computy.ru
Version: 1.0
Tags: fokus pokus
DescriptionTokmakov
Author URI: http://computy.ru
*/

@font-face {
    font-family: 'ProximaNova Regular';
    src: url('/wp-content/themes/goodmagic/ProximaNova-Reg.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*, ul {	padding: 0; margin: 0;}
ul, dl, li, dt, dd{ list-style: none; }
ol li {list-style-type: decimal;}
a { text-decoration:none; outline: none;}
a:visited, a:active, a:hover {outline: none;color: #000;}



p {margin: 0px 0px 14px; }
body {
    font-family: 'ProximaNova Regular', 'Open Sans', 'Georgia';
    font-size: 13px;
    background-color: #eaeaea;
}
	#current {
	  color: rgb(7, 94, 158);
	}
	.current {
	  color: rgb(7, 94, 158);
	}
	#current1 {
	  color: rgb(7, 94, 158);
	}
	#current1 {
	  color: red;
	}
/* Верхнее меню *******************************************************/
#topnav {
    text-align: right;
    padding: 12px 0 8px 0;
}
#topnav a {
    color: #0000ee;
    background-repeat: no-repeat;
    padding: 0 15px 0 25px;
    margin-left: 10px;
    border-right: 1px solid #999;
}
#topnav a:hover {text-decoration:underline;}
#topnav a.bookmark {
    background-image:url(pic/heart.png);
}
#topnav a.forum {
    background-image:url(pic/forum.jpg);
}
#topnav a.rss {
    background-image:url(pic/rss.png);
}
#topnav a.mail {
    background-image:url(pic/mail.png);
}
#topnav a.add {
    background-image:url(pic/add.png);
    border:none;
    padding-right:35px;
}
/* Горизонтальное меню *******************************************************/

#hrmenu {
    background-image: url(pic/hr.png);
    clear:both;
    background-repeat: no-repeat;
    background-position: center top;
    padding: 10px;
    text-align: left;
    position: relative;
    width: 100%;

}

#hrmenu a {padding-left:15px; text-decoration:none; color:#FFC;}
#hrmenu a:hover {text-decoration:underline;}
/* Блоки *******************************************************/
.active {
   /* */

    text-decoration: underline;
    background-image: none;
    color: #256781;
}
.tabshead .active{
    background: #fff!important;
    border-bottom: 1px solid #fff;
}
.tittle_category .active{
color:rgb(7, 94, 158);
}
#left {
    float:left;
    width: 300px;
    margin-top: 25px;
    margin-left: 35px;
    display: inline;
}
#content {
    float:left;
    width: 585px;
    margin-left: 37px;
    margin-top: 25px;
}
#contentnav {
    float:left;
    width: 585px;
    margin-left: 37px;
    margin-top: 25px;
}

/* Шапка сайта *******************************************************/

.wrapper, .headwrap {
    width: 990px;
    margin: 0 auto 0 auto;
    overflow: hidden;
    background: url(pic/backcentershadow2.gif) repeat-y;

}
.headwrap img { float: left; padding: 8px 0 13px 35px;}
.wrapper {background: url(pic/backcentershadow.png) repeat-y; padding-bottom:30px;
}
#header {
    background: #000 url(pic/background.gif) repeat;
}
#box {
    width: 963px;
    margin-right: auto;
    margin-left: auto;
   text-align: center;
    padding-top: 99px;
    background-image: url(pic/logo.png);
    background-repeat: no-repeat;
    background-position: center 15px;
}
.subbox {
    float:left;
    width: 281px;
    padding: 70px 20px 20px 20px;
   }
.subbox a {
    font-size: 11px;
    color: #999;
    font-family: Tahoma, Geneva, sans-serif;
    margin-right: 30px;
}
.bestf {
    background-image: url(pic/bestf.png);
    background-repeat: no-repeat;
    background-position: 20px 10px;
}
.bestfbox {
    text-align:left;
    margin-top: 15px;
    font-size: 11px;
}
.bestfbox a {
    color: #fc6;
    display:block;
    margin-bottom: 10px;
    margin-right: 0;
    background: url(pic/dot.gif) no-repeat left 5px;
    padding-left: 13px;
}
.bestv {
    background-image: url(pic/bestv.png);
    background-repeat: no-repeat;
    background-position: 20px 10px;
}
.newf {
    background-image: url(pic/newf.png);
    background-repeat: no-repeat;
    background-position: 20px 10px;
}
.tittle_category a {color:#454444;}
.rel {position: relative;}
.zubd {
    height:13px;
    background: url(pic/zubdown.png) center 13px;
    font-size: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.zubu {
    height:13px;
    background: url(pic/zubdown.png) center top;
    font-size: 0;
    position: absolute;
    width: 100%;
    top: -13px;
}

/* Панелька пользователя *******************************************************/

#user, #reguser {
    border: 1px solid #d4d4d4;
    color: #fff;
    background-color: #f00;
    text-align: center;
    line-height: 18px;
    height: 18px;
}
#reguser {
    background-color:#EAEAEA;
    color:#333;
}
#userinfo {
    display:none;
    border: 1px solid #d4d4d4;
    background-color: #f5f5f5;
    color: #454444;
    margin-top: 5px;
    text-align: center;
    padding: 5px;
}
#frame {border: 1px solid #d4d4d4; padding:5px; margin-bottom: 15px;}

/* Оформление контента *******************************************************/

h1, h1:visited {
    display: block;
    clear:both;
    font-weight: normal;
    font-size: 24px;
    color: #163F53;
    border-bottom: 1px dotted #777;
    letter-spacing: -1px;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 5px;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 7px;
    padding-left: 0;
    font-family: 'ProximaNova Regular', 'Open Sans', 'Georgia';
    text-decoration:none;
}


h1 a, h1 a:visited, h2 a, h2 a:visited {
    display: block;
    clear:both;
    font-weight: normal;
    font-size: 18px;
    color: #163F53;
    border-bottom: 1px dotted #777;
    letter-spacing: -1px;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 5px;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 7px;
    padding-left: 0;
    font-family: Verdana, Geneva, sans-serif;
    text-decoration:none;
}
h1 a:hover, h2 a:hover {
    color:#FF6600;
    text-decoration:underline;
}
.postdate  {
    background: url(pic/mini-dat.gif) no-repeat left center;
    padding-left: 17px;
    font-size: 11px;
    color:#666666;
    margin-bottom: 20px;
    display: block;
    float:left;
}
.postcomment {
    float:right;
    display:block;
    background: url(pic/mini-com.gif) no-repeat left center;
    padding-left: 17px;
    font-size: 11px;
}
.postcomment a, .postcomment a:visited { color: #CC6600; text-decoration:none; }
.postcomment a:hover { text-decoration:underline; }

#nav {overflow: hidden; padding: 7px 0 7px 0; border-top: 1px dotted #777; clear:both; margin-top:20px;}
#nav div {float: left;}
#nav .nav-a {width: 150px; color: #050303;}
#nav .nav-a h4 {color: #000;}
#nav .nav-b {width: 400px; padding-bottom: 4px;}


#adsbox {height: 420px;padding: 0px; border-top: 1px dotted #777; clear:both; margin-bottom:10px;margin-top:10px;text-align: center;}
#google {display:none; width:580px; height: 400px; position:absolute;}

/* Оформление футера *******************************************************/
#footer {
    background: #000 url(pic/background.gif) repeat;
    color:#ccc;
    padding: 15px 0 15px 0;
    text-align: center;
}
#footer div {
    width: 963px;
    position: relative;
    margin: 0 auto;

}
#footer div #up {
    background-image: url(pic/up.png);
    background-repeat: no-repeat;
    width: 47px;
    height: 47px;
    position:absolute;
    top: -45px;
    z-index: 778;
    right: 35px;
    cursor: pointer;
}
#footer a, #footer a:visited {
    color: #0F0;
}
#footer img {border: 0;margin: 0 auto 0 auto; display:block; }

.ads {border: 1px solid #d4d4d4; padding:5px; margin-top: 15px;}
.ads3 {border: 0; margin-top: 15px;}
.ads2 {padding:5px 0 5px 0;  margin-bottom: 15px;}
.ads img {border: 0;}
#adsban {padding: 10px 0 10px 0;
    border-top: 1px dotted #777;
    border-bottom: 1px dotted #777;
    background: #f5f5f5;
    clear:both; margin-bottom:10px;text-align: center;}

.imglist {
    float:left;
    margin-right: 15px;
    border:1px solid #cdcdcd;
    padding:5px;
    margin-bottom:10px;
    clear: both;
}
.imglist img{width: 80px; height: 80px;}
.rightext {overflow:auto;}

/* =Blockquote */

blockquote img{
    padding: 20px;
    border: 1px solid #CCCCCC;
    background-color: #FFFFFF;
}

/* =List
-------------------------------------------------- */
#content ul {
    margin-left: 35px;
    padding-bottom: 10px;
}
/*
#content li {
    margin-left:  20px;
    padding-bottom: 5px;
}*/

#content a {
color: #E41212;
text-decoration: underline;
}
#content ul li {
    background: #FFFFFF url(pic/check.gif) no-repeat top left;
    padding: 0 0 0 20px;
    margin: 0 0 5px 0;
}

#sign_up {
    display: none;
    width:550px;
    height: 200px;
    background-color: #fff;
    text-align: center;
    padding-top: 30px;
    border: 5px solid #333;
}






/* Оформление комментариев *******************************************************/

div#comments-wrapper {position: relative;}
div.last_added {border: 1px solid red;}

#name, #2email, #web, #message, #submit {
    font: 12px Verdana, Arial, Tahoma;
    padding: 3px;
    margin-bottom: 5px;
    width: 190px;
    border: 1px solid #B0B0B0;

}
#txpCommentInputForm {
    padding: 30px 0 0 0;
  }
#txpCommentInputForm p {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
}
.comment_error {
    font-weight: bold;
    padding: 15px;
    border: 1px solid #ff0000;
    color: #FF0000;
    margin-bottom: 15px;
}

#cpreview {
    padding: 15px;
    border: 1px solid #ff0000;
    color: #006600;
}

#message {
    width: 500px;
    height: 130px;
    margin-bottom: 15px;
}

.button {
    background-color: #FFFFFF;
    width: 193px;
    height: 22px;
    cursor: pointer;
    overflow: visible;
    font-size: 11px;
    color: #004182;
    border: 1px solid #B0B0B0;
    padding: 0;
}
.comment_header {
    font-weight: bold;
    border-bottom: 1px dotted #777;
    margin: 20px 0 20px 0;
    padding: 0 0 5px 25px;
    height: 16px;
    background: url(pic/pencil.gif) no-repeat left top;
    color: #e1771e;
}
.disabled { display: none; }

#txpCommentSubmit {	background:#f00; color: #fff; font-weight: bold; }

.onecomment img {float: left;}

.comment {
    background: #f0efe4 url(pic/quote000.gif) no-repeat left top;
    padding: 8px 8px 8px 30px;
    margin-left: 60px;
    margin-bottom: 1em;
}
.comment p {margin: 0; }
.comment .cAuth {
    color: #075e9e;
    font-weight: bold;
}
.comment .postcomment {color: #ff6600;}
.comment .cText {
    margin-top: 0.5em;
    padding: 0.5em 1em;
    background-color: #fff;
    border-bottom: 1px solid #e7d6c4;
}

#hruser {
    float:right;
    padding-right:30px;
    color: #F90;
}
#hruser strong {color:#9F0;}

#regmail {display: none;}

#login {
    background-color: #fff;
    display: none;
    width:300px;
    position: absolute;
    z-index: 777;
    left: 610px;
    top: 50px;
    border: 5px solid #000;
    padding: 15px;
    text-align: center;
}
#login .enter {
    background-color: #e2f0f9;
    overflow: hidden;
    padding: 15px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
#login .lheader {
    background-color: #e2f0f9;
    text-align: left;
    padding-left: 16px;
    font-weight: bold;
    color: #0097cd;
    overflow: hidden;
    line-height: 27px;
}
#login #close {
    cursor: pointer;
    float: right;
    width:19px;
    background-image: url(pic/close.png);
    height: 19px;
    padding-top: 4px;
    padding-right: 5px;
    padding-bottom: 4px;
    background-repeat: no-repeat;
    background-position: left 4px;
}
#login input.txt {
    padding:   2px;
    width: 154px;
    font-family: Helvetica, sans-serif;
    border: 1px solid #666;
    float: left;
    margin-bottom: 5px;
}
#login label {
    float: left;
    text-align: right;
    margin-right: 10px;
    width: 90px;
    padding-top: 2px;
}
#login #btn, #login #reg {
    margin-left: 7px;
    float:right;
    margin-top: 5px;
    cursor: pointer;
}
#login p {
    clear:both;
    font-size:11px;
    color:#555;
    padding-top: 20px;
    margin: 0;
    text-align: right;
}

#login a, #login a:visited {
    text-decoration:underline;
    padding: 0;
    color: #165787;
}

#login span {color:red; font-weight:bold;}


/** jRating CSS **/

/**Div containing the color of the stars */
.jRatingAverage {
    background-color:#0F0;
    position:relative;
    top:0;
    left:0;
    z-index:2;
    height:100%;
}
.jRatingColor {
    background-color:#f4c239; /* bgcolor of the stars*/
    position:relative;
    top:0;
    left:0;
    z-index:2;
    height:100%;
}

/** Div containing the stars **/
.jStar {
    position:relative;
    left:0;
    z-index:3;
}
.jRating {
    background-image:url(pic/hrbg.gif);
    background-repeat: repeat-x;
    font-weight: bold;
    color: #006c0c;
    line-height: 30px;
    padding-left: 1px;
    width: 100%;
}
.jRating span {
    color:#394fa2;
    font-weight:normal;
}
.article_rating { margin-bottom:20px; background-color: #dddddd}
.result {padding-top:3px; color: #006c0c;}


/* TABS *******************************************************/

a.one:hover,a.two:hover,a.three:hover {
    color:#256781;
}
.one, .two, .three {
    display:block;
    float:left;
    text-align: center;
    height: 40px;
    line-height:40px;
    background: #333 url(pic/tabs.gif) repeat-x;
    text-decoration: none;
    color: #c26611;
    text-shadow:1px 1px 0 #fff;
}

.one {
    width: 70px;
}
.two {
    width: 102px;
    margin-left:1px;
    margin-right:1px;
}
.three {
    width:124px;
}
#first, #second, #third {
    clear:both;
    background-color: #fff;
    color:#454444;
    padding: 10px;
    overflow:hidden;
}
#first a, #second a, #third a {
    /*	color:#454444; */
}

.tabshead {
    background-color:#d4d4d4;
    overflow:hidden;
    width:298px;
    height: 41px;
    padding: 1px 1px 0 1px;
    }
.selected {
    background-color:#fff;
    border-bottom: 1px solid #fff;
    background-image: none;
    color:#256781;
}
.tabs {
    width:298px;
    background-color: #d4d4d4;
    padding: 0 1px 1px 1px;
}
/* Оформление ссылок в меню */

.f1, .f2, .f3, .f4, .f5, .f6, .f7, .f8, .f9, .f10, .f11, .f12, .f13, .f14, .f15, .f16, .f17, .f18, .f19, .f20, .f21, .f22, .f23, .f24, .f25, .f26, .f27, .f28, .f29, .f30, .f31, .f32 {
    color:#454444;
    display:block;
    float:left;
    width:200px;
    padding-left:36px;
    background: url(pic/trickmenu.png) no-repeat 7px top;
    height: 16px;
    font-size:12px;
}
.popular  ul  li:nth-child(1) a{color: rgb(252, 191, 0);}
.popular  ul  li:nth-child(2) a{color: rgb(96, 193, 124);}
.popular  ul  li:nth-child(3) a{color: rgb(181, 3, 63);}
.stat {
    display:block;
    width:30px;
    height:16px;
    float: right;
    text-align:right;
    font-size:10px;
    line-height: 16px;
    color: #075e9e;
}

hr {
    clear:both;
    width:100%;
    float:left;
    border:none;
    border-width:0;
    height:1px;
    padding:0;
    margin:3px 0 6px 0;
    $margin-bottom:-7px;/*for all ie*/
    background: url(pic/menubackground.gif) repeat;
}
a:hover {
    text-shadow: 0px 0px 1px;
}

.rating, .ratingcount  {
    margin-left:20px;
    background: url(pic/star.png) no-repeat left center;
    padding-left: 17px;
    font-size: 11px;
    color:#666666;
    margin-bottom: 20px;
    display: block;
    float: left;
}

.ratingcount {background-image:none;padding-left: 0px;margin-left:5px;}
#hrmenu span {color:#60C17C;padding-left:20px;}

.bottom-menu .page_item , .menu-item{float: left;}

.alignleft{
    float: left;
    padding: 5px;
}
 .alignright {
    float: right;
    padding: 5px;
}
.thumbnail_category, .tittle_category{
    float: left;
    margin-left: 10px;
}
.thumbnail_category img {width: 15px; height: 15px;}


/* Контейнер */
.modal {
text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;

    /* Трансформации прозрачности при открытии  */
    -webkit-transition: opacity 500ms ease-in;
    -moz-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;

    /* Скрываем изначально */
    opacity: 0;
    pointer-events: none;
}

/* Показываем модальное окно */
.modal:target {
    opacity: 1;
    pointer-events: auto;
}

/* Содержание */
.modal > div {
    width: 500px;
    background: #fff;
    position: relative;
    margin: 10% auto;

    /* По умолчанию минимизируем анимацию */
    -webkit-animation: minimise 500ms linear;

    /* Придаем хороший вид */
    padding: 30px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    -webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
    -moz-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
    box-shadow: 0 3px 20px rgba(0,0,0,0.9);
    background: -moz-linear-gradient(#fff, #ccc);
    background: -webkit-gradient(linear, right bottom, right top, color-stop(1, rgb(255,255,255)), color-stop(0.57, rgb(230,230,230)));
    text-shadow: 0 1px 0 #fff;
}

/* Изменяем анимацию при открытии модального окна*/
.modal:target > div {
    -webkit-animation-name: bounce;
}

.modal h2 {
    font-size: 36px;
    padding: 0 0 20px;
}

@-webkit-keyframes bounce {
    0% {
        -webkit-transform: scale3d(0.1,0.1,1);
        -webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
    }
    55% {
        -webkit-transform: scale3d(1.08,1.08,1);
        -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0);
    }
    75% {
        -webkit-transform: scale3d(0.95,0.95,1);
        -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.9);
    }
    100% {
        -webkit-transform: scale3d(1,1,1);
        -webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
    }
}

@-webkit-keyframes minimise {
    0% {
        -webkit-transform: scale3d(1,1,1);
    }
    100% {
        -webkit-transform: scale3d(0.1,0.1,1);
    }
}

/* Ссылка на кнопку Закрыть */
.modal a[href="#close"] {
    position: absolute;
    right: 0;
    top: 0;
    color: transparent;
}

/* Сбрасываем изменения */
.modal a[href="#close"]:focus {
    outline: none;
}

/* Создаем кнопку Закрыть */
.modal a[href="#close"]:after {
    content: 'X';
    display: block;

    /* Позиционируем */
    position: absolute;
    right: -10px;
    top: -10px;
    width: 1.5em;
    padding: 1px 1px 1px 2px;

    /* Стили */
    text-decoration: none;
    text-shadow: none;
    text-align: center;
    font-weight: bold;
    background: #000;
    color: #fff;
    border: 3px solid #fff;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.modal a[href="#close"]:focus:after,
.modal a[href="#close"]:hover:after {
    -webkit-transform: scale(1.1,1.1);
    -moz-transform: scale(1.1,1.1);
}

.modal a[href="#close"]:focus:after {
    outline: 1px solid #000;
}

/* Открываем модальное окно */
a.openModal {
    margin: 1em auto;
    display: block;
    width: 200px;
    background: #ccc;
    text-align: center;
    padding: 10px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    background: -moz-linear-gradient(#fff, #ddd);
    background: -webkit-gradient(linear, right top, right bottom, from(rgb(255,255,255)), to(rgb(230,230,230)));
    text-shadow: 0 1px 0 #fff;
    border: 1px solid rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3);
    box-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

a.openModal:hover,
a.openModal:focus {
    background: -moz-linear-gradient(#fff, #ccc);
    background: -webkit-gradient(linear, right top, right bottom, from(rgb(255,255,255)), to(rgb(200,200,200)));
}

blockquote {
padding: 15px 10px 0 80px;
background: url(pic/4NoRed.png) no-repeat #FFEFC7;
background-position: 5px 15px;
border: 1px solid #FCA973;
margin-left: 50px;
margin-bottom: 25px;
 }

#content {
  font-family: 'ProximaNova Regular', 'Open Sans', 'Georgia';
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: #444;
}