.piro_html {position:absolute; top:0; left:0; padding:0; width:500px; height: 500px; margin:0; display:block; padding:0; z-index:150001; padding:0;  }
.piro_html table,.piro_html tbody,.piro_html tr,.piro_html th,.piro_html td{margin:0;padding:0;border:none;}
.piro_html img{ margin:0; padding:0; border:none;}

.piro_html .h_t_l{ width:10px; height:10px; background: url(new_skin.png) top left no-repeat;}
.piro_html .h_t_r{ width:10px; height:10px; background: url(new_skin.png) top right no-repeat;}
.piro_html .h_t_c{ cursor:move; height:10px;background: url(new_skin_top.png) top repeat-x;}

.piro_html .h_c_l{width:10px; background: url(new_skin_left.png) left repeat-y; }
.piro_html .h_c_c{background: url(caption.png);margin:0; padding:0;}
.piro_html .h_c_c .div_reg{ background: url(caption.png); width:480px; overflow:hidden; height:480px; margin:0; padding:0; }
.piro_html .h_c_c .div_reg img{ cursor:move;}
.piro_html .h_c_r{width:10px; background: url(new_skin_left.png) right repeat-y;}

.piro_html .h_b_c{ cursor:move; height:10px;background: url(new_skin_top.png) bottom repeat-x;}
.piro_html .h_b_l{ width:10px; height:10px;background: url(new_skin.png) bottom left no-repeat;}
.piro_html .h_b_r{ width:10px; height:10px;background: url(new_skin.png) bottom right no-repeat;}

.piro_overlay{position:fixed; top:0; left:0; width:100%; height:100%;  z-index:150000;background:#000;display:none; cursor:pointer;}
.piro_loader{position:absolute;top:50%;left:50%;margin:-59px 0 0 -59px;width:118px;height:118px;display:block;z-index:150005;  cursor:pointer; }
.piro_loader span{position:absolute;top:50%;left:50%;margin-top:-36px;margin-left:-36px;width:72px;height:72px;display:block;z-index:150009; background: url(loadinfo.gif) center top no-repeat; }
.piro_title{position:fixed; background: url(bg_title.png) bottom repeat-x;top:0;left:0;width:100%; text-align:center;display:block; padding:6px 0 10px 0; color:white; z-index:150000; font-size:18px; display:none;}
.btn_info{position:absolute;bottom:-7px;right:-7px;width:25px; height:25px;margin:0;display:block; padding:0px; color:black; cursor:pointer; background: url(b_w/info.png) no-repeat; z-index:1500440}
.caption{position:absolute;bottom:10px;left:10px;margin:0;display:block; padding:0px; color:black; cursor:text; background: url(caption.png); z-index:150018}
.caption p{ display:block; margin:0;padding:7px 5px; text-align:center; font-weight:normal; font-size:14px; color:white; z-index:150019; color:white;}

.nav_container{position:absolute; right:5px; bottom:-20px;  height:25px; width:60px; background:  url(bottom_nav.png) bottom; z-index:1500190000000;}
.piro_close{position:absolute;right:20px; top:0;height:20px;width:20px;background: transparent url(close.png) no-repeat center center;cursor:pointer;margin:0 0 0 0;z-index:150022;display:none;}
a.piro_next{position:absolute;width:20px; top:0; right:0px; height:20px;text-indent:-999em;outline:none; display:block; margin:0;background:url(next.png) center right no-repeat; border:none; cursor:pointer;z-index:150023}
a:hover.piro_next{background:url(next.png) center right no-repeat;}
.piro_next_fake{position:absolute;width:20px;  top:0;right:0px; height:20px;outline:none; text-indent:-999em; display:none; margin:0;background: url(next.png) center right no-repeat; border:none; cursor:auto;z-index:150020}
.piro_prev_fake{position:absolute;width:20px;  top:0;right:40px; height:20px;outline:none; text-indent:-999em; display:none; margin:0;background: url(prev.png) center right no-repeat; border:none; cursor:auto;z-index:150020}

a.piro_prev{position:absolute;width:20px; right:40px; top:0; height:20px; text-indent:-999em; outline:none;display:block;margin:0;background: url(prev.png) center left no-repeat;border:none; cursor:pointer; z-index:150024}
a:hover.piro_prev{background:url(prev.png) center left no-repeat;}
a.close_pirobox{color:#bb0f05;}




.innerblock .image::before,
.list-filter a::after {
    left: 0;
    content: ''
}
.card>a::before,
.innerblock .image::before,
.list-filter a::after {
    content: ''
}

a {
    color: #0074a3
}

.innerblock .image,
.innerblock .image img {
    border-radius: 3px
}

.cover {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 300px;
    margin-bottom: 50px;
    position: relative
}
.cover h3 {
    background-color: #0074a3;
    bottom: 50px;
    color: #fff;
    padding: 5px 10px 8px;
    position: absolute
}

.innerblock .image {
    display: inline-block;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, .3)
}
.innerblock .image {
    position: relative
}
.innerblock .image::before {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 35px;
    background: rgba(0, 0, 0, .41);
    background: -webkit-gradient(left top, right top, color-stop(0, rgba(0, 0, 0, .41)), color-stop(67%, rgba(0, 0, 0, 0)), color-stop(78%, rgba(0, 0, 0, .3)), color-stop(91%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, .41) 0, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, .3) 78%, rgba(0, 0, 0, 0) 91%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to right, rgba(0, 0, 0, .41) 0, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, .3) 78%, rgba(0, 0, 0, 0) 91%, rgba(0, 0, 0, 0) 100%)
}
.card {
    border-radius: 0;
    border: none;
    float: left;
    width: 262px;
    padding-right: 15px;
    padding-left: 15px;

}
.card>a {
    border-radius: 3px;
    position: relative;
    display: inline-block;
    box-shadow: -5px 5px 10px rgba(0,0,0,.3);
}
.card>a::before {
    position: absolute;
    top: 0;
    left: 0
}
.card>a::before {
    bottom: 0;
    width: 27px;
    background: rgba(0, 0, 0, .41);
    background: -webkit-gradient(left top, right top, color-stop(0, rgba(0, 0, 0, .41)), color-stop(67%, rgba(0, 0, 0, 0)), color-stop(78%, rgba(0, 0, 0, .3)), color-stop(91%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, .41) 0, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, .3) 78%, rgba(0, 0, 0, 0) 91%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to right, rgba(0, 0, 0, .41) 0, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, .3) 78%, rgba(0, 0, 0, 0) 91%, rgba(0, 0, 0, 0) 100%)
}
.card>a img {
    border-radius: 2px!important
}
.card .card-img-top {
    border-radius: 0;
    display: block
}
.card .card-block {
    padding: 1.25rem 0
}
.card .card-authors {
    line-height: 1em;
    margin-top: 1rem;
    margin-bottom: .3rem
}
.card .card-authors small {
    font-size: 11px;
    text-transform: uppercase
}
.card .card-title {
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    margin: 0;
    color: #373a3c;
}
.card .card-text {
    font-size: 14px;
    color: #373a3c;
}
.card .btn.btn-info {
    background-color: #700026;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase
}
.text-muted {
    color: #818a91!important;
}
.btn {
    border-radius: 0;
    border: none
}
.card .btn.btn-info:hover {
    background: #a3093d
}
.alert,
.form-control {
    border-radius: 0
}
.btn.btn-xs {
    font-size: 10px;
    font-weight: 300;
    padding: .2rem .5rem
}

.form-control {
    border-color: #e8e8ee
}
.img-fluid {
    width: 350px;
}
.rightcol-in h1 {
    font-size: 36px;
    margin-top: 0;
}
.rightcol-in small {
    font-size: 12px;
}
.rightcol-in small span {
    color: #0074a3;    
}
.rightcol-in h3 {
    font-size: 24px;
    font-weight: normal;
    color: #40031d;
}

.rightcol-in .btn {
    border-radius: 10px;
    border: none;
    color: #fff;
    background-color: #a20045;
    border-color: #5bc0de;
    display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: .25rem;
}
.rightcol-in .btn:hover {
    background: #5e0028
}


.form-control {
    border-color: #e8e8ee;
    border-radius: 0;
    font-family: Tahoma, Verdana, Sans-Serif;
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #55595c;
    width: 500px;
    margin-bottom: 20px;
    background-color: #fff;
    background-image: none;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}
.form-control.errorform {
    border-color: #ff9696;
}
#magazine{
	width:1152px;
	height:752px;
	margin: 20px auto;
	background: rgba(0,0,0,0.5);
}
#mbuttons {
	width:1152px;
	margin: 20px auto;
}
#mright, .mright {
	float: right;
	margin-left: 35px;
}
#magazine .turn-page{
	background-color:#ccc;
	background-size:100% 100%;
}
#magazineoverlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	background-color: rgba(0,0,0,0.5); /*затемнитефон*/
	display: none;
}
h2.classhead {
    padding: 30px 15px;
    border-top: 1px solid #ccc;
    font-size: 24px;
}
a.moreclassinfo {
    background-color: #700026;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
	display: block;
	float: left;
    padding: 5px 10px;
    margin-left: 15px;
    margin-bottom: 30px;
}
#magazineleft, #magazineright {
    width: 50%;
    position: absolute;
    top: 50px;
    height: 500px;
    z-index: 500;
	cursor: pointer;
}
#magazineleft {
    left: 0;
}
#magazineright {
    right: 0;
}
#magazineleft:hover {
    background:url(/rnpc/images/mleft.png) 20% 50% no-repeat;
}
#magazineright:hover {
    background:url(/rnpc/images/mright.png) 80% 50% no-repeat;
}
#mpage {
    margin: -3px 10px;
    width: 50px;
    border: 0;
    padding: 4px 3px;
    position: relative;
    top: -1px;
}