html,body,address,blockquote,div,dl,form,h1,h2,h3,h4,h5,h6,ol,p,pre,table,ul,dd,dt,li,tbody,td,tfoot,th,thead,tr,button,del,ins,map,object,a,abbr,acronym,b,bdo,big,br,cite,code,dfn,em,i,img,kbd,q,samp,small,span,strong,sub,sup,tt,var,legend,fieldset{margin:0;padding:0}

body::-webkit-scrollbar {
  width: 5px;               /* ширина scrollbar */
}
body::-webkit-scrollbar-track {
  background: #2B2B2B;        /* цвет дорожки */
}
body::-webkit-scrollbar-thumb {
  background-color: #FF3D6B;    /* цвет плашки */
  border-radius: 10px;       /* закругления плашки */
  border: 3px solid #000;  /* padding вокруг плашки */
}

img,fieldset{border:0}



img{max-width:100%;height:auto;width:auto\9}




article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}




body{
	background:#000;
	color:#FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.95em;
	line-height: 150%;
        cursor: url('Normal Select.cur'), default;
}


a.err  {font-family: Arial, Helvetica, Monotype-Corsiva;

   color:#00ff99;
   transition: 0.2s linear;
   text-decoration: none;
}


a.err:hover {font-family: Arial, Helvetica, Monotype-Corsiva;

   color:#F94A4A;
   transition: 0.3s linear;
   text-decoration: underline;
}



a.sss  {font-family: Arial, Helvetica, Monotype-Corsiva;

   color:#00ff99;
   transition: 0.2s linear;
   text-decoration: none;
}


a.sss:hover {font-family: Arial, Helvetica, Monotype-Corsiva;

   color:#FFFF66;
   transition: 0.3s linear;
   text-decoration: underline;
}


a.s4  {font-family: Arial, Helvetica, Monotype-Corsiva;

   color:#85a2ff;
   transition: 0.2s linear;
   text-decoration: none;
}


a.s4:hover {font-family: Arial, Helvetica, Monotype-Corsiva;

   color:#FFF;
   transition: 0.3s linear;
   text-decoration: underline;
}

a.s5  {font-family: Arial, Helvetica, Monotype-Corsiva;

   color:red;
   transition: 0.2s linear;
   text-decoration: none;
}


a.s5:hover {font-family: Arial, Helvetica, Monotype-Corsiva;

   color:#FFF;
   transition: 0.3s linear;
   text-decoration: underline;
}









a {
color:#00ff99;
text-decoration:none;
transition: 0.3s linear;
outline:none;
}

a:hover {
color:#ffffff;
text-decoration:underline;
}


.left {
    text-align: left;
    margin: 5px;
    -webkit-transition: -webkit-transform 0.3s ease-in;
    -o-transition: -o-transform 0.3s ease-in;
    -moz-transition: -moz-transform 0.3s ease-in;
    -ms-transition: -ms-transform 0.3s ease-in;
}
.left:hover {
    -ms-transform: translate(15px);
    -moz-transform: translate(15px);
    -webkit-transform: translate(15px);
    -o-transform: translate(15px);
    cursor: pointer;
}


p{margin:0 0 1.2em;padding:0}


ul,ol{
margin:1em 0 1.4em 24px;
padding:0;line-height:140%;
}

li{margin:0 0 .5em;padding:0}



h1,h2,h3,h4,h5,h6{line-height:1.4em;margin:20px 0 .4em;color:#FFFFFF}



h1{font-size:2em}



h2{font-size:1.6em}



h3{font-size:1.4em}




h4{font-size:1.2em}




h5{font-size:1.1em}

h6{font-size:1em}

input[type=search]{-webkit-appearance:none;
outline:none}

input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button{display:none}



#pagewrap{width:980px;margin:0 auto}



#header{position:relative;height:160px}





#site-logo{position:absolute;top:30px}


#site-logo a{font:bold 30px/100% Arial,Helvetica,sans-serif;color:#fff;text-decoration:none}


#site-description{
	font:italic 100%/130% "Times New Roman",Times,serif;
	color:#fff;
	position:absolute;
	top:69px;
	left: -1px;
}


#searchform{position:absolute;right:46px;bottom:6px;z-index:100;width:171px}

#searchform #s{
	width:140px;
	float:right;
	border:none;
	padding:6px 10px;
-webkit-border-radius:5px;-moz-border-radius:5px;	border-radius:5px;
-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.2);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.2);	box-shadow:inset 0 1px 2px rgba(0,0,0,.2);
-webkit-transition:width .7s;-moz-transition:width .7s;transition:width .7s; 	background-color: #ffffff;
}


#main-nav{
width:100%;
background:#ccc;
margin:0;
padding:0;
position:absolute;
left:0;
bottom:0;

background:#6a6a6a url(images/nav-bar-bg.png) repeat-x;
background:-webkit-gradient(linear,left top,left bottom,from(#4b4b4b),to(#3b3b3b));
background:-moz-linear-gradient(top,#4b4b4b,#3b3b3b);
background:linear-gradient(-90deg,#4b4b4b,#3b3b3b);
-webkit-border-radius:8px;
-moz-border-radius:8px;
border-radius:8px;
-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 1px 1px rgba(0,0,0,.4);
-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 1px 1px rgba(0,0,0,.4);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 1px 1px rgba(0,0,0,.4)}

#main-nav li{margin:0;padding:0;list-style:none;float:left;position:relative}

#main-nav li:first-child{margin-left:10px}



#main-nav a{line-height:100%;font-weight:700;color:#00FF99;display:block;padding:14px 15px;text-decoration:none;text-shadow:0 -1px 0 rgba(0,0,0,.5)}



#main-nav a:hover{
	color:#FFffff;
	background:-webkit-gradient(linear,left top,left bottom,from(#555555),to(#555555));
	background:-moz-linear-gradient(top,#555555,#555555);
	background:linear-gradient(-90deg,#555555,#555555);
	background-color: #000000;
	background-position: -90;
}


#content{
	margin:30px 0;
	padding:20px 35px;
	width:600px;
	float:left;
-webkit-border-radius:8px;-moz-border-radius:8px;
	border-radius:8px;
-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);
-moz-box-shadow:0 1px 3px rgba(0,0,0,.4);
	box-shadow:0 1px 3px rgba(0,0,0,.4);
	background-color: #333333;
}

.post{margin-bottom:40px}
.post-title{margin:0 0 5px;padding:0;font:bold 20px/120% Arial,Helvetica,sans-serif}
.post-title a{text-decoration:none;color:#3399FF}
.post-meta{margin:0 0 10px;font-size:90%}
.post-image{margin:0 0 15px}



#sidebar{
width:280px;
float:right;margin:30px 0;
}


.widget{
	margin:0 0 30px;
	padding:10px 20px;
-webkit-border-radius:8px;-moz-border-radius:8px;	border-radius:8px;
-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);-moz-box-shadow:0 1px 3px rgba(0,0,0,.4);	box-shadow:0 1px 3px rgba(0,0,0,.4);
	background-color: #333333;
background:#6a6a6a url(images/nav-bar-bg.png) repeat-x;
background:-webkit-gradient(linear,left top,left bottom,from(#4b4b4b),to(#3b3b3b));
background:-moz-linear-gradient(top,#4b4b4b,#3b3b3b);
background:linear-gradient(-90deg,#4b4b4b,#3b3b3b);



}



.widgettitle{margin:0 0 5px;padding:0}.widget ul{margin:0;padding:0}


.widget li{
margin:0;
padding:6px 0;
list-style:none;clear:both;
border-top:solid 1px #eee
}


.widget .flickr_badge_image{margin-top:10px}
.widget .flickr_badge_image img{width:48px;height:48px;margin-right:12px;margin-bottom:12px;float:left}




#footer{clear:both;color:#3399FF;font-size:100%}


#footer a{color:#ee0062}


#footer a:hover{color:#ffffff}


.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}


.clearfix{display:inline-block}.clearfix{display:block;zoom:1}

.style1 {color: #FFFF66}
.style2 {color: #FF3333}
.style3 {color: #FFFFFF}


.tooltip { /* стиль текста, наведя или нажав на который появится пояснение */
  display: inline-block;
  position: relative;

  text-indent: 0px;
  cursor: auto; /* вид курсора */
}
.tooltip > span { /* стиль появляющейся подсказки */
  position: absolute;
  bottom: 100%;
  left: -20em; /* = max-width */
  right: -20em; /* = max-width */
  width: -moz-max-content;
  width: -webkit-max-content;
  width: max-content;  /* ширина подсказки может быть не более содержимого */
  max-width: 20em;  /* ширина подсказки может быть не более 20em */
  max-height: 80vh; /* необязательное ограничение по высоте подсказки, 1vh — это 1% от ширины окна */
  overflow: auto;
  visibility: hidden;
  margin: 0 auto .4em; /* поднята на .4em над текстом, наведя или нажав на который появится пояснение */
  padding: .3em;
  border: solid #00ff99;
  font-size: 100%;
  background: #3b3b3b;
  line-height: normal;
  cursor: auto;
  z-index:100;
}
.tooltip.left > span { /* начинается от левого края */
  left: 0;
  right: -20em;
  margin: 0 0 .4em;
}
.tooltip.right > span { /* начинается от правого края */
  left: -20em;
  right: 0;
  margin: 0 0 .4em auto;
}
.tooltip:after { /* треугольничек под подсказкой; тут тоже везде .4em */
  content: "";
  position: absolute;
  top: -.4em;
  left: 50%;
  visibility: hidden;
  margin: 0 0 0 -.4em;
  border: .4em solid;
  border-color: #00ff99 transparent transparent transparent;
  cursor: auto;
}
.tooltip.left:after {
  left: 1em;
}
.tooltip.right:after {
  left: auto;
  right: .6em; /* 1em - .4em */
}
.tooltip:before { /* поле между текстом, наведя или нажав на который появится пояснение, и подсказкой нужно чтобы, если перевести курсор мышки на 

подсказку, та не исчезла; тут тоже везде .4em */
  content: "";
  position: absolute;
  top: -.4em;
  left: 0;
  right: 0;
  height: .4em;
  visibility: hidden;
}
.tooltip:hover > span,
.tooltip:hover:before,
.tooltip:hover:after,
.tooltip:focus > span,
.tooltip:focus:before,
.tooltip:focus:after {
  visibility: visible;
  transition: 0s .4s;
}
.tooltip:focus { /* убрать рамку в Хроме */
  outline: none;
}
.tooltip.anim > span,
.tooltip.anim:after { /* анимация */
  opacity: 0;
  transform: translateY(1.5em) scale(.3);
  transform-origin: center bottom;
}
.tooltip.anim:after {
  transform: translateY(.7em) scale(.3); /* 1.7 = 1.5 / (1.4*2) */
}
.tooltip.anim:hover > span,
.tooltip.anim:hover:after,
.tooltip.anim:focus > span,
.tooltip.anim:focus:after {
  opacity: 1;
  transition: .2s;
  transform: translateY(0);
}
@media (max-width: 20em) { /* ширина подсказки может быть не более ширины окна браузера */
  .tooltip > span {
    max-width: 100vw; /* в 100vw входит полоса прокрутки, но на мобильных она часто отсутствует */
    box-sizing: border-box;
  }
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
}
/* модальный блок */
.popup {
    top: 25%;
    left: 0;
    right: 0;       
    font-size: 14px;
    margin: auto;
    width: 85%;
    min-width: 320px;
    max-width: 600px;
    position: absolute;
    padding: 15px 20px;
    border: 1px solid #383838;
    background: #3b3b3b;
    z-index: 1000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
/* заголовки в модальном блоке */
.popup h2, .popup h3 {
    margin: 0 0 1rem 0;
    font-weight: 300;
    line-height: 1.3;
    color: #00ff99;
    text-shadow: 1px 2px 4px #fff;
}
/* кнопка закрытия */
.close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: #7b7b7b;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;

}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
/* кнопка закрытия при наведении */
.close:hover {
    background-color: red;
}
/* изображения в модальном окне */
.popup img {
    width: 100%;
    height: auto;
    -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
    box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
}
/* миниатюры изображений */
.pl-left,
.pl-right {
    width: 25%;
    height: auto;
}
/* миниатюры справа */
.pl-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* миниатюры слева */
.pl-left {
    float: left;
    margin: 5px 18px 5px 0;
}
/* анимация при появлении блоков с содержанием */
@-moz-keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 }
}
@-webkit-keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 } 
}
@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 }
}
