@font-face {
    font-family: 'BlissPro';
    src: url(../fonts/BlissPro-Regular.otf);
}
@font-face {
    font-family: 'BlissPro-Medium';
    src: url(../fonts/BlissPro-Medium.otf);
}
@font-face {
    font-family: 'Lobster';
    src: url(../fonts/Lobster.ttf);
}

* { margin: 0; 	padding: 0; }

html {
	height: 100%;
}
body {
	width: 100%;
	height: 100%;
	font-family: 'BlissPro-Medium';
	font-weight: normal;
	color: #171211;
	font-size: 16px;
	text-align: justify;
	background-image: url(../images/bodybg.jpg);
	background-repeat: repeat;
}
a {
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
p {
	font-family: 'BlissPro-Medium';
	/*margin-bottom: 18px;*/
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'BlissPro';
	color: #531604;
	font-weight: normal;
	font-style: normal;
	text-align: center;
	padding-bottom: 20px;
}
h1 {
	font-size: 30px;
}
div.like_h1 {
	font-size: 30px;
	font-family: 'BlissPro';
	color: #531604;
	font-weight: normal;
	font-style: normal;
	text-align: center;
	padding-bottom: 20px;
}
h2 {
	font-size: 24px;
}
h3 {
	font-size: 20px;
}
h4{
	font-size: 18px;
}
h5 {
	font-size: 16px;
}
h6 {
	font-size: 14px;
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
#wrapper {
	/*width: 960px;*/
	width: 100%;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	position: relative;
	z-index: 2;
	height: 490px;
	border: 1px solid transparent;
	background-image: url(../images/headerbg.png);
	background-repeat: no-repeat;
	background-position: 50% 0;
}
#nav {
	width: 964px;
	height: 64px;
	margin: 13px auto 0 auto;
	background-image: url(../images/navbg.png);
}
#nav ul {
	margin-left: 20px;
}
#nav ul li {
	float: left;
	list-style: none;
	margin: 15px 10px 0 10px;
}
#nav ul li a{
	display: block;
	line-height: 28px;
	padding: 0 7px;
	font-family: 'BlissPro';
	font-size: 17px;
	font-weight: normal;
	color: #ffffff;
	text-decoration: none;
	text-transform: uppercase;
}
#nav ul li a:hover {
	background-image: url(../images/libg.jpg);
	background-repeat: repeat-x;
	background-position: 0 50%;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	behavior: url(pie/PIE.htc);
}
#logo {
	position: relative;
	width: 960px;
	margin: -10px auto 0;
}
.vk {
	position: absolute;
	right: 5px;
	top: 15px;
	width: 35px;
	height: 35px;
	background: url(../images/vk.png);
}
.fb {
	position: absolute;
	right: 5px;
	top: 60px;
	width: 35px;
	height: 35px;
	background: url(../images/fb.png);
}

/* Middle
-----------------------------------------------------------------------------*/
#content {
	width: 960px;
	margin: 0 auto;
	padding: 0 0 50px;
	position: relative;
}
#inner {
	width: 910px;
	margin: -200px auto 0;
	padding: 200px 15px 15px 15px;
	background: #fff;
	position: relative;

	-webkit-box-shadow: #000 0px 0px 20px;
	-moz-box-shadow: #000 0px 0px 20px;
	box-shadow: #000 0px 0px 20px;
	behavior: url(pie/PIE.htc);
}
#inner img {
	margin: 10px 0;
}
.left-corner, .right-corner {
	position: absolute;
	bottom: -10px;
	width: 70px;
	height: 69px;
}
.left-corner {
	left: -10px;
	background-image: url(../images/l-corner.png);
	background-repeat: no-repeat;
}
.right-corner {
	right: -11px;
	background-image: url(../images/r-corner.png);
	background-repeat: no-repeat;
}
#inner .image {
	display: inline-block;
	position: relative;
	width: 217px;
	height: 251px;
	background-image: url(../images/img-bg.png);
	background-repeat: no-repeat;
	text-align: center;
}
#inner .image1 {
	display: inline-block;
	position: relative;
	width: 217px;
	height: 167px;
	background-image: url(../middleware/filemanager/userfiles/sheets/img-bg1.png);
	background-repeat: no-repeat;
	text-align: center;
}
#inner .last {
	margin-right: 0;
}
#inner .image .img-top{
	width: 100px;
	height: 24px;
	position: absolute;
	top: -9px;
	left: 60px;
	background-image: url(../images/some-img.png);
	background-repeat: no-repeat;
}
#inner .image1 .img-top{
	width: 100px;
	height: 24px;
	position: absolute;
	top: -9px;
	left: 60px;
	background-image: url(../images/some-img.png);
	background-repeat: no-repeat;
}
#inner .image img {
	margin: 9px;
}
#inner .image1 img {
	margin: 9px;
}
.clear {
	clear: both;
}
.p-inner {
	margin: 0 35px 18px 35px;
}
/* Footer
-----------------------------------------------------------------------------*/
#footer {
	width: 960px;
	margin: -50px auto 0;
	height: 50px;
	position: relative;
}
.copyright {
	width: 190px;
	float: left;
	padding-top: 14px;
	padding-left: 35px;
	font-family: Arial;
	font-size: 12px;
	color: #fdf2eb;
	font-weight: normal;
	font-style: normal;
	margin-bottom: 0;
}
.megasite {
	display: block;
	/* width: 240px; */
	float: right;
	line-height: 50px;
	font-family: Arial;
	font-size: 12px;
	color: #fdf2eb;
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	/* background-image: url(../images/mega.png);
	background-repeat: no-repeat;
	background-position: 100% 50%; */
	margin-right: 10px;
}
.megasite:hover {
	text-decoration: underline;
}
.footer-logo {
	width: 200px;
	float: left;
	/*line-height: 50px;*/
	font-size: 11px;
	color: #ffffff;
	font-weight: normal;
	font-style: normal;
	/*font-family: 'Lobster';*/
	font-family: arial;
	padding-left: 35px;
	padding-top: 12px;
	margin-bottom: 0;
	text-align:left;
}

#up {
    background: none repeat scroll 0 0 #000000;
    bottom: 50px;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 35px;
    font-weight: bold;
    height: 50px;
    position: fixed;
    right: 30px;
    text-align: center;
    text-transform: uppercase;
    width: 50px;
}
#up:hover {
    background: none repeat scroll 0 0 #8D1007;
}
/*//////////////////////////////////////////Gallery/////////////////////////////////////////////////*/
.effect {
    margin-bottom: 20px;
}
.gallery-description {
    margin-top: -20px;
    margin-bottom: 20px;
}
.gallery_path {
    padding: 20px;
}
figcaption.title {
    padding: 10px;
    padding-bottom: 35px;
}
figcaption.title a {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}
.gallery_sections_item {
    display: inline-block;
    box-sizing: border-box;
    width: 270px;
    background-image: url(../images/img-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-align: center;
    position: relative;
    vertical-align: top;
    margin-right: 45px;
    margin-bottom: 50px;
}
.gallery_sections_item:before {
    content: "";
    width: 100px;
    height: 24px;
    position: absolute;
    top: -9px;
    left: 50%;
    margin-left: -50px;
    background-image: url(../images/some-img.png);
    background-repeat: no-repeat;
}
.gallery_sections .gallery_sections_item:nth-of-type(3n) {
    margin-right: 0;
}
figure.gallery_items_item {
    display: inline-block;
    box-sizing: border-box;
    width: 215px;
    height: 250px;
    background-image: url(../images/img-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-align: center;
    position: relative;
    vertical-align: top;
    margin-bottom: 25px;
    padding-bottom: 30px;
}
figure.gallery_items_item img{
    max-width: 195px;
    max-height: 220px;
    width: auto;
    height: auto;
}
figure.gallery_items_item:before {
    content: "";
    width: 100px;
    height: 24px;
    position: absolute;
    top: -9px;
    left: 50%;
    margin-left: -50px;
    background-image: url(../images/some-img.png);
    background-repeat: no-repeat;
}
/*/////////////////////////////////Articles/////////////////////////////////////*/
.figure {
    float: left;
    display: inline-block;
    box-sizing: border-box;
    width: 270px;
    background-image: url(../images/img-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-align: center;
    position: relative;
    vertical-align: top;
    padding-bottom: 5px;
    margin-right: 20px;
}
.article {
    margin-bottom: 35px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}
.article h2 {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    padding-bottom: 15px;
}
.article h2 a {
    color: #0000ee;
}
.article-date {
    font-size: 16px;
    font-style: italic;
    color: #b22222;
    margin-bottom: 25px;
    display: block;
}
.body_short {
    font-size: 16px;
    margin-bottom: 25px;
}
.read-article-body {
    font-size: 16px;
}
.read_more {
    font-size: 16px;
    color: #0000ee;
    font-style: italic;
}
.read_acticle {
    display: inline-block;
    width: 100%;
}
/*/////////////////////////////////////////////Pagination/////////////////////////////////////////////////////////*/
.paginator {
    margin: 40px 0;
    text-align: center;
}
.paginator a {
    width: 25px;
    height: 25px;
    display: inline-block;
    color: #5f2616;
    text-decoration: none;
    border-radius: 2px;
    line-height: 25px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.paginator .active {
    background-image: url(../images/libg.jpg);
    color: #ffffff;
}
/*//////////////////////////////////////Breadcrumbs////////////////////////////////////////////////////*/
.breadcrumbs {
    margin-top: 15px;
    margin-bottom: 15px;
}
.breadcrumbs a {
    padding: 10px;
    border-right: 1px solid #d8c5bc;
}
.breadcrumbs span {
    padding-left: 10px;
}
.breadcrumbs a, .breadcrumbs span {
    font-size: 14px;
    color: #531604;
}
/*//////////////////////////////////Next Prev/////////////////////////////////////////*/
.next_prev_article {
    text-align: center;
    margin: 30px 0;
}
.next_prev_article a {
    padding: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-radius: 2px;
    background: #fdf2ec;
    text-decoration: none;
    color: #5f2616;
    font-size: 16px;
}
.next_prev_article a:hover {
    background: url(../images/libg.jpg);
    color: #ffffff;
}
.prev-article:before {
    content: "";
    background: url(../images/arrow-left.png);
    display: inline-block;
    width: 9px;
    height: 15px;
    margin-right: 10px;
    margin-left: 5px;
    margin-bottom: -2px;
}
.next-article:after {
    content: "";
    background: url(../images/arrow-right.png);
    display: inline-block;
    width: 9px;
    height: 15px;
    margin-right: 5px;
    margin-left: 10px;
    margin-bottom: -2px;
}
.prev-article:hover:before {
    background: url(../images/arrow-left-active.png);
}
.next-article:hover:after {
    background: url(../images/arrow-right-active.png);
}
.read_acticle ul {
    padding: 20px;
}
.mainpagewrapper{
    font-size:0.9em;
    line-height: 1.3;
    font-family:BlissPro;
}
.mainpagewrapper h1, h2{
    font-size:20px;
    padding-bottom:10px;
}