/* 01.01.18 */

@font-face {
	font-family: 'PT Sans';
	src: url('font/PTSans-Italic.eot');
	src: local('PT Sans Italic'), local('PTSans-Italic'),
		url('font/PTSans-Italic.eot?#iefix') format('embedded-opentype'),
		url('font/PTSans-Italic.woff2') format('woff2'),
		url('font/PTSans-Italic.woff') format('woff'),
		url('font/PTSans-Italic.ttf') format('truetype'),
		url('font/PTSans-Italic.svg#PTSans-Italic') format('svg');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'Merriweather';
	src: url('font/Merriweather-Italic.eot');
	src: local('Merriweather Italic'), local('Merriweather-Italic'),
		url('font/Merriweather-Italic.eot?#iefix') format('embedded-opentype'),
		url('font/Merriweather-Italic.woff2') format('woff2'),
		url('font/Merriweather-Italic.woff') format('woff'),
		url('font/Merriweather-Italic.ttf') format('truetype'),
		url('font/Merriweather-Italic.svg#Merriweather-Italic') format('svg');
	font-weight: normal;
	font-style: italic;
}

/*   @font-face {font-family: 'header'; src:url('./font/header.ttf') format('truetype');}

* {margin:0;padding:0;}
body {
   position:relative;
   z-index:0;
   margin:0;
   padding:0;
   color:#000;
   background:#eee;
}*/
#bg{ position:fixed; left:0px; top:0px; width:100%; min-height:100%; min-width:1000px; width:expression(document.body.clientWidth > 1000 ? "100%" : "1000" );z-index:-1;
}
body, html {height:100%;}
::selection {background:#ffff00;color:red;text-shadow:none;}
a {
   text-decoration:none;
   color:blue;
}
a img, fieldset {border:0;}
ol, ul {padding-left:15px;}
li {padding-left:20px;}
input:focus {outline:none;}
form {display:inline;}

.clear {clear:both;}
.background {
   min-width:1020px;
   margin:0;
   padding:15px 0;
   border:0;
   background-image:url(../i/rdi/bgb.jpg);
   background-attachment:scroll;
}
.content {
   width:990px;
   background-color:#fff;
   margin:0 auto;
   padding:0;
   box-shadow:0px 0px 15px 0px #000;
   border-radius:15px;
}
.content .header {
   background-image:url(../i/b.jpg);
   background-color:#CFC5E6;
   height:75px;
   padding:5px;
   position:relative;
   border-radius:15px 15px 0 0;
}
.content .header .logo {
   position:absolute;
   margin-left:15px;
   width:700px;
   height:60px;
   overflow:hidden;
   text-overflow:ellipsis;
}
.content .header .logo a {
   font-family:header;
   font-size:38px;
   font-weight:normal;
   color:#fffeeb;
   text-shadow:3px 3px 10px #555;
   opacity:0.9;
}
.content .header .logo a:hover {
   color:white;
   opacity:1.0;
}
.content .header .nav {
   float:right;
   margin:0;
   padding:0;
   text-align:right;
   width:400px;
}
.content .header .nav .a {
   height:50px;
   width:50px;
   background:url(../i/rdi/icon_blat.png) 100% 100% no-repeat;
   background-size:cover;
   float:right;
   cursor:pointer;
   margin-left:5px;
}
.content .header .nav .b {
   height:50px;
   width:50px;
   background:url(../i/rdi/icon_guar1.png) 100% 100% no-repeat;
   background-size:cover;
   float:right;
   cursor:pointer;
   margin-left:5px;
}
.content .header .nav .c {
   height:50px;
   width:50px;
   background:url(../i/rdi/icon_smil.png) 100% 100% no-repeat;
   background-size:cover;
   float:right;
   cursor:pointer;
   margin-left:5px;
}
.content .header .nav .d {
   height:50px;
   width:50px;
   background:url(../i/rdi/icon_rubl.png) 100% 100% no-repeat;
   background-size:cover;
   float:right;
   cursor:pointer;
   margin-left:5px;
}
.content .header .nav .e {
   height:50px;
   width:50px;
   background:url(../i/rdi/icon_stern.png) 100% 100% no-repeat;
   background-size:cover;
   float:right;
   cursor:pointer;
   margin-left:5px;
}
.content .header .nav .p {
   height:50px;
   width:50px;
   background:url(../i/rdi/icon_profile.png) 100% 100% no-repeat;
   background-size:cover;
   float:right;
   cursor:pointer;
   margin-left:5px;
}
.content .header .nav .h {
   height:50px;
   width:50px;
   background:url(../i/rdi/icon_haus.png) 100% 100% no-repeat;
   background-size:cover;
   float:right;
   cursor:pointer;
   margin-left:5px;
}
.content .header .title {
   position:absolute;
   margin:55px 0 0 15px;
   height:20px;
   width:950px;
   overflow:hidden;
   text-overflow:ellipsis;
   clear:both;
}
.content .header .title h1 {
   color:white;
   margin:0;
   padding:0;
   font:18px 'menu';
   font-weight:normal;
   letter-spacing:1px;
   text-shadow:3px 3px 10px #555;
}
.content .body {
   margin:0;
   padding:0 20px 10px 20px;
   min-height:1000px;
   font-family:Verdana,Tahoma,Arial,Helvetica;
   font-weight:normal;
   font-size:17px;
   color:black;
}
.alert {
   position: relative;
   box-shadow:0px 0px 15px 0px #000;
   border-radius:15px;
   margin:10px auto;
   background-color:white;
}
.alert select,
.alert input[type="text"],
.alert input[type="email"],
.alert input[type="submit"],
.alert input[type="password"],
.alert textarea {
   border:1px solid rgba(0,0,0,0.07);
   border-radius:5px;
   box-shadow:inset 1px 1px 2px 0px rgba(0,0,0,0.25);
   font-size:21px;
   height:35px;
   text-align:left;
   margin:5px 0 0 5px;
   padding:10px;
}
.alert select {height:57px;}
.alert textarea {
   font-size:16px;
   resize:none;
   height:500px;
}
.alert select:focus,
.alert input:focus,
.alert textarea:focus {
   background-color:#ffc;
}
.alert input[type="submit"] {
   box-shadow:1px 1px 2px 0px rgba(0,0,0,0.25), inset 0px -24px 0px 0px #EBEBEB, inset 0px 32px 0px 1px #f8f8f8;
   font-size:21px;
   height:57px;
   text-align:center;
   background:transparent;
   margin-bottom:10px;
}
.alert input[type="submit"].red {color:red;}
.alert .head {
   background-color:#fd9e02;
   height:40px;
   padding:5px 10px;
   border-radius:10px 10px 0 0;
   color:#fff;
}
.alert .head .icon {
   float:left;
   padding-right:5px;
   margin-right:10px;
   border-right:1px solid #fff;
}
.alert .head .icon .a {
   height:40px;
   width:40px;
   background:url(../i/rdi/icon_blat.png) 100% 100% no-repeat;
   background-size:cover;
}
.alert .head .icon .b {
   height:40px;
   width:40px;
   background:url(../i/rdi/icon_guar1.png) 100% 100% no-repeat;
   background-size:cover;
}
.alert .head .icon .c {
   height:40px;
   width:40px;
   background:url(../i/rdi/icon_rubl.png) 100% 100% no-repeat;
   background-size:cover;
}
.alert .head .icon .d {
   height:40px;
   width:40px;
   background:url(../i/rdi/icon_stern.png) 100% 100% no-repeat;
   background-size:cover;
}
.alert .head .icon .e {
   height:40px;
   width:40px;
   background:url(../i/rdi/icon_smil.png) 100% 100% no-repeat;
   background-size:cover;
}
.alert .head .icon .k {
   height:40px;
   width:40px;
   background:url(../i/rdi/icon_shop.png) 100% 100% no-repeat;
   background-size:cover;
}
.alert .head .icon .pp {
   height:40px;
   width:40px;
   background:url(../i/rdi/icon_partner.png) 100% 100% no-repeat;
   background-size:cover;
}
.alert .head .icon .l {
   height:40px;
   width:40px;
   background:url(../i/rdi/lock1.png) 100% 100% no-repeat;
   background-size:cover;
}
.alert .head .icon .p {
   height:40px;
   width:40px;
   background:url(../i/rdi/icon_profile.png) 100% 100% no-repeat;
   background-size:cover;
}
.alert .head .icon .s {
   height:40px;
   width:40px;
   background:url(../i/rdi/icon_dubl.png) 100% 100% no-repeat;
   background-size:cover;
}
.alert .head .title {
   font-family:tahoma;
   font-size:18px;
   font-weight:bold;
   padding-top:7px;
   text-shadow:3px 3px 10px #555;
   opacity:1.0;
}
.alert .head .title a {
   color:#fff;
   text-decoration:underline;
}

.footer {
   background-image:url(../i/b.jpg);
   background-color:#CFC5E6;
   height:40px;
   padding:10px;
   position:relative;
   border-radius:0 0 15px 15px;
}
.footer p {
   font-size:18px;
   color:white;
   text-align:center;
   padding:0;
   white-space:nowrap;
   overflow:hidden;
}
.footer p a {
   color:white;
}
.content-admin-buttons {
   text-align:right;
   margin:10px 0 0 0;
   display:block;
}
.content-admin-buttons input { /*button.csscook.com*/
   width:125px;
   margin-left:5px;
   border:solid 1px #e6e6e6;
   border-radius:10px;
   moz-border-radius:10px;
   -webkit-box-shadow:5px 4px 14px rgba(0,0,0,0.4);
   -moz-box-shadow:5px 4px 14px rgba(0,0,0,0.4);
   box-shadow:5px 4px 14px rgba(0,0,0,0.4);
   font-size:13px;
   padding:7px 3px;
   background:#ffffff;
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(53%,#f1f1f1), color-stop(54%,#e1e1e1), color-stop(100%,#f6f6f6));
   background: -moz-linear-gradient(top, #ffffff 0%, #f1f1f1 53%, #e1e1e1 54%, #f6f6f6 100%);
   background: -webkit-linear-gradient(top, #ffffff 0%, #f1f1f1 53%, #e1e1e1 54%, #f6f6f6 100%);
   background: -o-linear-gradient(top, #ffffff 0%, #f1f1f1 53%, #e1e1e1 54%, #f6f6f6 100%);
   background: -ms-linear-gradient(top, #ffffff 0%, #f1f1f1 53%, #e1e1e1 54%, #f6f6f6 100%);
   background: linear-gradient(top, #ffffff 0%, #f1f1f1 53%, #e1e1e1 54%, #f6f6f6 100%);
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#f6f6f6",GradientType=0);
   color:#555;
}
.content-admin-buttons input:active {
   -webkit-box-shadow:2px 2px 10px rgba(0,100,0,0.4);
   -moz-box-shadow:2px 2px 10px rgba(0,100,0,0.4);
   box-shadow:2px 2px 10px rgba(0,100,0,0.4);
}
.content-admin-buttons input.red {color:red;}
.content-admin-buttons input.blue {color:blue;}
.content-admin-buttons input.green {color:green;}
.editor {height:800px;}
.editor textarea {height:700px;}

p {
   margin:10px 0;
   text-align:justify;
}
h1, h2, h3, h4, h5 {
   color:#444;
   font-size:18px;
   font-weight:bold;
   margin:20px 0px;
   padding:0;
   text-shadow: 3px 3px 7px #777;
}
blockquote {
   padding-left:20px;
   margin-left:20px;
   color:#555;
   border-left:1px #333 dotted;
}
.ol {margin:0 35px;}

input:required:invalid,
input:focus:invalid,
textarea:required:invalid,
textarea:focus:invalid {
   background-position:right top;background-repeat:no-repeat; -moz-box-shadow:none;background-image:url(../i/rdi/lock.png);
}
input:required:valid,
textarea:required:valid {
   background-position:right top;background-repeat:no-repeat;background-image:url(../i/rdi/v.png);
}

.toolbar {padding-top:5px;text-align:center;}
.toolbar .button {margin:2px;padding:0;width:23px;height:22px;border:1px silver solid;}
.toolbar .button:hover {border-color:orange;}

/* slim */
.alert {width:950px;}
.alert.slim {width:500px;}
.alert input,
.alert textarea {width:915px;}
.alert input[type="submit"] {width:935px;}
.alert.slim select {width:487px;}
.alert.slim input,
.alert.slim textarea {width:465px;}
.alert.slim input[type="submit"] {width:487px;}
.alert input[type="checkbox"] {
   width:20px;
   height:20px;
   margin:10px;
   padding:0;
}
/* slim */
/* Start paginator */
.paginator {
   display:inline-block;
   margin-top:10px;
   padding:0;
   text-align:right;
   border-radius:5px;
   box-shadow:5px 5px 15px 0px #999;
}
.paginator .current {
   background-color:#eee;
   border:2px solid #777;
   border-top-right-radius:5px;
   border-bottom-right-radius:5px;
   border-top-left-radius:5px;
   border-bottom-left-radius:5px;

}
.paginator a,
.paginator span {
   float:left;
   margin-left:-1px;
   padding:5px;
   color:#400E96;
   text-decoration:none;
   background-color:#fff;
   border:1px solid #ccc;
   font-size:15px;
}
.paginator a:first-child,
.paginator span:first-child {
   margin-left:0;
   border-top-left-radius:5px;
   border-bottom-left-radius:5px;
}
.paginator a:last-child, 
.paginator span:last-child {
   margin-left:-1px;
   border-top-right-radius:5px;
   border-bottom-right-radius:5px;
}
.paginator .bum:hover {color:green;}
.paginator .cum:hover {color:gold;}
.paginator .dum:hover {color:red;}
.paginator .num:hover {color:#400E96;}
.paginator .zum:hover {color:#6E2607;}
.paginator .current:hover {color:red;}

#comments .text {margin:5px 10px;}
#comments .desc {color:#888;margin:5px 10px 3px;text-align:right;font:bold 13px georgia,arial,sans-serif;}
/* End paginator */

/* anonce */
#anonce {
   margin:0;
   padding:3px 0 10px 0;
   border-top:1px solid #ddd;
   border-bottom:1px solid #ddd;
}
#anonce .date {
   color:#777;
   margin:5px;
   text-align:right;
   clear:both;
}
#anonce .date span {
   color:brown;
   border:1px red solid;
   padding:3px 5px;
}
#anonce .blog_body {
   padding:0px;
}
#anonce h2 {
   margin:5px;
   padding:0;
}
#anonce .text {
   margin:10px 5px;
   text-align:justify;
}
#anonce .text img {
   float:left;
   margin:0 15px 5px 0;
   border:1px #eee solid;
   box-shadow:3px 3px 5px #999;
   -o-transform:scale(1);
   -o-transition-duration:1s;
   -webkit-box-shadow:3px 3px 5px #999;
   -webkit-transform:scale(1);
   -webkit-transition-duration:1s;
   -moz-box-shadow:3px 3px 5px #999;
   -moz-transform:scale(1);
   -moz-transition-duration:1s;
   opacity:0.95;
}
#anonce .text img:hover {
   -webkit-transform:scale(1.1);
   -webkit-transition-duration:1s;
   -webkit-box-shadow:3px 3px 10px gray;
   -moz-transform:scale(1.1);
   -moz-transition-duration:1s;
   -moz-box-shadow:3px 3px 10px gray;
   -o-transform:scale(1.1);
   -o-transition-duration:1s;
   box-shadow:3px 3px 10px gray;
   opacity:1;
}
#anonce .link {
   margin-right:5px;
   text-align:right;
}
#anonce .link a {color:rgb(5,122,214);}
#anonce .last {
   padding-left:15px;
   border-left:1px solid #ddd;
   color:#222;
   text-align:left;
}
#anonce .last span {color:red;}
#anonce .last a {display:block;color:rgb(5,122,214);}
#anonce .last a.new {color:green;}
#anonce .last a.wait {color:#777;}
#anonce .last a:hover,
#anonce .link a:hover,
#anonce .last a span:hover {color:blue;}

/* comment */
#comment {
   margin-top:20px;
   padding:0;
}
#comment .date {
   margin-right:2px;
   text-align:right;
   padding:0;
}
#comment .blog_body {
   overflow:hidden;
   margin:0;
   padding:5px;
   border:1px silver solid;
}
#comment h3 {
  background-color:#fff;
  color:#222;
  font:bold 1.2rem helvetica;
  margin:0 5px;
  padding:0;
}
#comment h3 span {
   color:#111;
   float:right;
   font:1.00rem arial,verdana,"Trebuchet MS",sans-serif;
}
#comment .comment {
   background-color:#F6F5F7;
   margin-top:10px;
   padding:5px;
   text-align:justify;
}
#comment .faxim {
   clear:both;
   color:#4F4E35;
   text-align:right;
   margin-top:5px;
}
#comment .faxim a {color:rgb(5,122,214);}
#comment .faxim a:hover {color:brown;}
#comment .autor {
   clear:both;
   margin:10px 0;
   color:#873E28;
}
#comment .comment .waiting,
#comment .comment .userpic {
   background:url(../i/blog/user.png) no-repeat;
   border:0;
   float:left;
   margin:2px 10px 2px 2px;
   padding:0;
   width:96px;
   height:96px;
}
#comment .user {
   clear:both;
   color:#00009F;
   text-align:right;
   margin-top:5px;
}
#comment .comment .waiting {
   background:url(../i/blog/wait.png) no-repeat;
}
#comment .autor .userpic {
   background:url(../i/blog/autor.png) no-repeat;
}
#comment .postlink {margin:5px;text-align:right;}
#comment .postlink a {color:darkviolet;}
#comment .postlink a:hover {color:brown;}
#comment form.editor {
   display:inline;
}


/* right menu */
.content .body {float:left;width:860px;}
/* right menu */

.calendula {
	width:305px;
   height:270px;
   min-width:305px;
   min-height:270px;
   margin:0;
   padding:0;
	display:inline-table;
	background: #ddd;
   border: 1px #bbb solid;
   box-shadow: 3px 3px 7px #777;
}
.calendula-many {
	padding:10px;
	font: 14px/1.2 Arial, sans-serif;
	vertical-align: top;
	margin: 0 10px;
}
.calendula-title {
	text-align: center;
	margin: 0 0 20px;
}
.calendula-year {
	font-weight: bold;
	color: #333;
}
.calendula-tb {
	width: 100%;
}
.calendula-head {
	font: bold 14px/1.2 Arial, sans-serif;
	padding: 5px;
	text-align: left;
	border-bottom: 1px solid #c0c0c0;
}
.calendula-np {
	padding: 5px;
}
.calendula-day {
	font: 14px/1.2 Arial, sans-serif;
	padding: 8px 5px;
	text-align: left;
}
.calendula-weekend {
	color: red;
}

   .megablock {
    background: #fff2bf; /* Цвет фона */
    border: 2px dotted #ffcc00; /* Параметры рамки */
    border-radius: 22px;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
    padding: 12px; /* Поля вокруг текста */
    margin-bottom: 5px; /* Отступ снизу */
    behavior: url(http://onlinebizlibrary.ru/css/PIE.htc);
      }

   .megablock1 {
    background-color: rgb(254, 254, 167); 
    border: 3px dotted rgb(255, 0, 0); 
    border-top-left-radius: 20px; 
    border-top-right-radius: 20px; 
    border-bottom-right-radius: 20px; 
    border-bottom-left-radius: 20px; 
    padding: 12px; margin-bottom: 5px; 
    width: 760px; 
    background-position:  initial; 
    background-repeat: initial initial;
      }

   .megablock2 {
    background: #E6F0FF; /* Цвет фона */
    border: 2px solid #5197FF; /* Параметры рамки */
    border-radius: 22px;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
    padding: 12px; /* Поля вокруг текста */
    margin-bottom: 5px; /* Отступ снизу */
    width: 400px;
    behavior: url(http://onlinebizlibrary.ru/css/PIE.htc);
      }


   .megablock3 {
    background: #e1f3ff; /* Цвет фона */
    border: 2px dotted #128F04; /* Параметры рамки */
    border-radius: 22px;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
    padding: 12px; /* Поля вокруг текста */
    margin-bottom: 5px; /* Отступ снизу */
    width: 600px; 
    behavior: url(http://onlinebizlibrary.ru/css/PIE.htc);
      }

.commentbox{
background-color: #ffffff;
width: 550px;
padding: 10px;
-moz-border-radius:15px; /*add some nice CSS3 round corners*/
-webkit-border-radius:15px;
border-radius:15px;
}

.commentfooter{
background: url(../i/blog/lo.png) 20px 0 no-repeat; /*20px 0 equals horizontal and vertical position of arrow. Adjust as desired (ie: 20px -5px).*/
padding-left: 58px;
padding-top: 1px;
margin-bottom: 2em;
font-size: 90%;
color: #4A4A4A;
}

.main_blk .top_rama {height:10px;width:631px;background: url(../i/blog/img55.png) no-repeat scroll 1px top transparent;}
.main_blk .middle_rama {color:#512d1a;width:601px;padding:5px 15px;background: url(../i/blog/img56.png) top left repeat-y;}
.main_blk .bottom_rama {color:#735e3c;font-size:11px;padding: 10px 0 0 43px;height:20px;width:588px;background: url(../i/blog/img57.png) top left no-repeat;}


/* post image */
.post-image img {border-bottom: solid 2px #d1ad80;}
.post-image.right img {margin-left: 20px;}
.post-image.left img {margin-right: 20px;}
/* post date */
.post-date {display:none;position: absolute;margin-left: -150px;margin-top: -20px;width: 95px;text-align: right;color: #FFE6A8;}
.post-date span {display: block;}
.post-date .day {font-size: 2em;font-weight: bold;letter-spacing: -.05em;padding: 0 0 6px;margin-bottom: 5px;}
.post-date .month {font-size: .9em;line-height: .8em;text-transform: uppercase;letter-spacing: 1px;}
.post-date .year {font-size: .9em;line-height: .8em;}
.post-date a {color: #5c462e;text-decoration: none;}
.post-date a:hover {text-decoration: underline;}
.post-date .postcomment {border-top: dashed 1px #FFE6A8;margin-top: 8px;padding-top: 5px;}
.postcomment a {font-weight: bold;color: #FFE6A8;}

.news_block {}
.news_block .news_title {position: relative;height:50px;}
.news_block .news_title h2 {display:block;position:absolute;top:0;left:-30px;margin:0;padding:0;}
.news_block .news_title h2 i {background: url(../i/blog/img50.png) top right no-repeat;display:block;float:left;width:30px;height:50px;}
.news_block .news_title h2 a {text-decoration:none; font-family:georgia;
font-size:22px;color:#fff;background: url(../i/blog/img50.png) top left no-repeat;display:block;float:left;padding:5px 0 0 10px;height:55px;}
.news_block .news_autor {float:left;padding:10px 0 0 20px;color:#957b54;font-size:14px;font-style:italic;}

}

.hovergallery img{
-webkit-transform:scale(0.8); /*Webkit: Scale down image to 0.8x original size*/
-moz-transform:scale(0.8); /*Mozilla scale version*/
-o-transform:scale(0.8); /*Opera scale version*/
-webkit-transition-duration: 0.5s; /*Webkit: Animation duration*/
-moz-transition-duration: 0.5s; /*Mozilla duration version*/
-o-transition-duration: 0.5s; /*Opera duration version*/
opacity: 0.7; /*initial opacity of images*/
margin: 0 0px 0px 0; /*margin between images*/
}

.hovergallery img:hover{
-webkit-transform:scale(2.1); /*Webkit: Scale up image to 1.2x original size*/
-moz-transform:scale(2.1); /*Mozilla scale version*/
-o-transform:scale(2.1); /*Opera scale version*/
box-shadow:0px 0px 30px gray; /*CSS3 shadow: 30px blurred shadow all around image*/
-webkit-box-shadow:0px 0px 30px gray; /*Safari shadow version*/
-moz-box-shadow:0px 0px 30px gray; /*Mozilla shadow version*/
opacity: 1;
}

			#memory {width: 820px;
				height: 510px;
                               position: absolute;
			}
			#memory div.card {
				border-radius: 5px;
				width: 105px;
				height: 140px;
				margin: 15px;
				overflow: hidden;
				float: left;
			}
			#memory img {
				border: none;
				background-color: #fff;
				padding: 10px;
				display: block;
				float: left;
			}
			.caroufredsel_wrapper {
				border-radius: 5px;
				background-color: #fff;
				box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
			}
			.caroufredsel_wrapper:hover {
				box-shadow: 0 0 10px rgba(0, 0, 0, 1);
			}
			
 /* ECKS*/
.curl{
  width: 60px; /* default width of page curl */
  height: 60px; /* default height of page curl */
  position: absolute;
  left: 0;
  top: 0;
	z-index: 1000;
  overflow: hidden;
  background: white;
  box-shadow: 0 0 10px gray;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.curl .curlcontent{
  position: absolute;
  left: 15px; /* left position of curl content to show */
  top: 15px; /* top position of curl content to show */
}

.curl:after{ /* the curl itself */
  position: absolute;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform: rotate(45deg) translateX(70%) scale(1.4);
  background: #afafaf;
  background: -moz-linear-gradient(left,  #afafaf 0%, #ffffff 29%);
  background: -webkit-linear-gradient(left,  #afafaf 0%,#ffffff 29%);
  background: linear-gradient(to right,  #afafaf 0%,#ffffff 29%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#afafaf', endColorstr='#ffffff',GradientType=1 );

}

.curl:hover{
  width: 200px; /* width of page curl when mouse over */
  height: 200px; /* height of page curl when mouse over */
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  box-shadow: 10px 10px 50px gray;
}

/* #### Right corner curl specific CSS (instead of default left corner) ### */

.curl.rightcorner{
  left: auto;
  right: 0;
}

.curl.rightcorner:after{
  left: auto;
  right: 0;
  transform: rotate(135deg) translateX(70%) scale(1.4);  
}

.curl.rightcorner .curlcontent{
  left: auto;
  right: 15px; /* right position of curl content to show */
  top: 15px; /* top position of curl content to show */
}
/* End ECKS*/
/* PAGER CONTAINER */

#pager-container{display:block;margin-top:30px}
#pager{font-family:"BebasNeueRegular",Tahoma;text-shadow:0 -1px 0 gray;font-size:20px;position:relative;width:auto;display:inline-block;margin-bottom:0}.oldIE 
#pager{width:100%}
#pager span,#pager img,
#pager input{display:block;float:left}
#pager input{font-family:"BebasNeueRegular",Tahoma!important;font-size:20px!important;text-align:center!important;color:#83807c!important;width:50px!important;height:20px!important;margin:0!important;padding:0!important;margin-top:4px!important;margin-left:5px!important;margin-right:5px!important;background:url("../img/page.png") no-repeat!important;border:none!important;outline:none!important;border-radius:0!important}.oldIE #pager input,.ie9 
#pager input{font-size:19px!important;line-height:23px!important}
#pager span{display:block;margin-top:5px}

/* End PAGER CONTAINER */
/* WP-PAGENAVI */
.wp-pagenavi {
	padding: 10px 20px 10px !important;
	display:block !important;
	clear:both !important;
}
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
		color:#707070 !important;
		background:#FFFFFF !important;
		border-radius:3px !important;	
		-moz-border-radius:3px !important;
		-webkit-border-radius:3px !important;
		border:solid 1px #DCDCDC !important;
		padding:6px 9px 6px 9px !important;
		margin-right:3px !important;
		text-decoration:none !important;
		font-size:12px !important;
}
.wp-pagenavi a:hover {
		color:#fff !important;
		text-shadow:0px 1px #636363 !important;
		border-color:#5D5D5D !important;
		background:#777777 !important;
		background:-moz-linear-gradient(top,#C0C0C0 1px,#929292 1px,#777777) !important;
		background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#C0C0C0),color-stop(0.02,#929292),color-stop(1,#777777)) !important;
}
 .wp-pagenavi span.current{
		padding:6px 9px 6px 9px !important;
		border:solid 1px #DCDCDC !important;
		border-color:#3390CA !important;
		border-radius:3px !important;	
		-moz-border-radius:3px !important;
		-webkit-border-radius:3px !important;
		color:#fff !important;
		margin-right:3px !important;
		text-shadow:0px 1px #636363 !important;
		border-color:#5D5D5D !important;
		background:#777777 !important;
		background:-moz-linear-gradient(top,#C0C0C0 1px,#929292 1px,#777777) !important;
		background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#C0C0C0),color-stop(0.02,#929292),color-stop(1,#777777)) !important;
}
/*END WP-PAGENAVI */