/*****************************/
/*** Core html setup stuff ***/
/*****************************/
* {
  margin: 0;
  padding: 0;
}

html {
	height: 100%;
}

body {
	height: 100%;
	font-family:Arial;
	font-size: 14px;
	color:#3e3e3e;
}
body#home {
	background:#faf6ec url(../images/bg.jpg) no-repeat center top; 
}
body#room,
body#default {
	background:#faf6ec url(../images/bg2.jpg) no-repeat center 55px; 
}
 
a:link, a:visited {
	font-weight: normal;
	outline:none;
	text-decoration: underline;
	color:#008fc4;
}
a:hover {
	text-decoration: none;
	font-weight: normal;
}
a span {cursor:pointer;}
input.button { cursor: pointer; }
p { margin: 0;}
img { vertical-align:top; border: 0 none; }
.clr {clear:both;}
/* admin edit-button */
.hasTip{
	display:inline-block;
	position:absolute;
}
.button {cursor:pointer;}
.button::-moz-focus-inner /*Remove button padding in FF*/
{ 
    border: 0;
    padding: 0;
}
h1, h2, h3, h4 {

}

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/

.wrapper {
	
}

.top-nav {
	height:38px;
	padding:16px 0 0 44px;
	background:url(../images/top-nav.gif) repeat-x;
}
.top-nav ul {
	list-style:none;
}
.top-nav ul li{
	float:left;
	padding:0 42px 0 0;
}
.top-nav ul li a:link,
.top-nav ul li a:visited
{
	color:#fefbf4;
	font-size:17px;
}

.header-front {
	height:555px;
	position:relative;
}

.logo-front {
	position:absolute;
	top:0;
	left:0;
	width:417px;
	height:381px;
	z-index: 500;
}
.phone-front {
        position: absolute;
        top: 202px;
        left: 75px;
        width: 245px;
        height: 60px;
        font-size: 16px;
        z-index: 999;
        text-align: center;
}
.info-link-block {
	padding:10px 0;
	
}
.info-link-block ul{
	list-style:none;
}

.info-link-block ul li{
	list-style:none;
	float:left;
	width:307px;
	height:80px;
	margin:0 29px 0 0;
	background:url(../images/info-box-bg.jpg) center bottom no-repeat;
}
.info-link-block ul li.last {
	margin:0;
	float:right;
}

.info-link-block ul li a:link,
.info-link-block ul li a:visited {
	font-size:20px;
	font-weight:bold;
	text-decoration:underline;
	color:#fff;
	display:inline-block;
	height:52px;
	padding-top:28px;
}

.info-link-block ul li a:hover {
	text-decoration:none;
}


.info-link-block ul li.item11 a {
	background:url(../images/ico1.jpg) left 12px no-repeat;
	padding-left:85px;
}
.info-link-block ul li.item12 a {
	background:url(../images/ico2.jpg) left 12px no-repeat;
	padding-left:66px;
}
.info-link-block ul li.item13 a {
	background:url(../images/ico3.jpg) left 12px no-repeat;
	padding-left:94px;
}
.info-block-menu-right {
	margin:0 0 40px 0;
}
.info-block-menu-right ul{
	list-style:none;
}
.info-block-menu-right ul li{
	list-style:none;
	width:297px;
	height:47px;
	margin:0 0 20px  0;
	background:url(../images/info-box-bg-right.jpg) center bottom no-repeat;
}
.info-block-menu-right ul li a:link,
.info-block-menu-right ul li a:visited
{
	font-size:16px;
	text-decoration:underline;
	color:#fff;
	display:inline-block;
	height:36px;
	padding-top:11px;
	padding-left:58px;
}
.info-block-menu-right ul li a:hover {
	text-decoration:none;
}
.info-block-menu-right ul li.item11 a {
	background:url(../images/ico1-s.jpg) 12px 4px no-repeat;
}
.info-block-menu-right ul li.item12 a {
	background:url(../images/ico2-s.jpg) 12px 4px no-repeat;
}
.info-block-menu-right ul li.item13 a {
	background:url(../images/ico3-s.jpg) 12px 4px no-repeat;
}
.blog-block {
	padding:25px 0;
	background:#efebe0;
}
	.blog-block-inner {
		width:980px;
		margin:0 auto;	
	}
	
	.module-blog .junews {
		width:286px;
		padding:0 20px;
		float:left;
		line-height:1.5;
		background:url(../images/line.gif) left 6px no-repeat;
	}
	
	.room-block-inner h3,
	.module-blog h3 {
		font-size:22px;
		margin:0 0 10px 0;
	}
	
.room-block-inner {
	width: 1000px;
	margin: 0 auto;
	padding: 0 15px 35px 15px;
}
	.room-block-inner .junews {
		width:284px;
		
		float:left;
		margin:0 48px 0 0;
	}
	.room-block-inner .junews-inner {
		background:#fff;
		border-top:1px solid #e9e5da;
		padding:10px 10px 20px 10px;
		background:url(../images/room-bg.jpg) left bottom no-repeat;
		min-height:268px;
	} 
	.room-block-inner .junews .title {
		padding:3px 0 10px 32px; 
		background: url(../images/rooms.png) no-repeat left top;
		margin: 0 0 5px;
	}
	.room-block-inner .junews.item-15 .title {
		background-position: 0 0;
	}
	.room-block-inner .junews.item-16 .title {
		background-position: 0 -38px;
	}
	.room-block-inner .junews.item-17 .title {
		background-position: 0 -75px;
	}
	.room-block-inner .junews .title a {
		font-weight:bold;
		font-size: 16px;
	}
	.room-block-inner .junews-inner p {
		padding:5px 10px 0 10px;
		line-height:1.7;
	}
.main {
	width:980px;
	margin:0 auto;
}
	.header {
		position:relative;
		height:224px;
		background:url(../images/header.jpg) center bottom no-repeat;
	}
	.slogan-inner {
		font-size:19px;
		font-style:italic;
		text-align:center;
		padding:84px 300px 0 350px;
		color:#282828;
	}
	.logo-inner {
		width:230px;
		height:100px;
		position:absolute;
		top:104px;
		left:0;
	}
	.phone-inner {
		width:230px;
		position:absolute;
		top:90px;
		right:6px;
		text-align:right;
		font-size:19px;
		color:#aeaba1;
	}
	.phone-inner strong {
		color:#282828;
		font-weight:normal;
	}
	/*
		Content settings
	*******************************/
	.breadcrumb {
		padding:25px 0;
	}
	.breadcrumb img {
		vertical-align:middle;
		margin:0 5px;
	}
	
	#home .main .content {
		padding:0 0 20px 0;
	}
	.componentheading,
	h1, h2 {
		font-weight:normal;
		font-size:27px;
		padding:10px 0 0 0;
		margin:0 0 20px 0;
	}
	.article-content-intro p {
		line-height:1.6;
	}
	.article-content-intro h2 {
		font-size:18px; 
		padding:0;
		margin:0;
	}
	.article-content-intro .createdate {
		display:none;
		color:#9b9b9b;font-size:12px;
		padding:0 0 4px 0;
	}
	
	.contentpaneopen {padding:30px 0 0 0;}
	.contentpaneopen:first-child {padding:10px 0 0 0;}
	
	.front-page-content {
		padding:10px 86px; 
		background:url(../images/footer.jpg) center bottom no-repeat;
		margin:0 0 20px 0;
	}
	.main p{
		margin:0 0 0 0;
		line-height:1.6;
	}
	.left h3 {
		color:#3e3e3e;
		font-size:14px;
	}
	.left {
		width:640px;
		float:left;
		padding:0 0 20px 0;
	}
	#room .article-content-intro {
		clear:both;
		margin:0 0 50px 0;
	}
	#room .article-content-intro h2 {
		padding:0 0 10px 230px;
	}
	#room .article-content-intro img {
		width: 195px;
		height: 99px;
		float: left; 
		margin: -20px 22px 0 0;
		padding: 5px 5px 18px 7px;
		background: url(../images/room-back.png) no-repeat left top;
	}
	
	#room .article-content-full img {
		float:left; 
		margin:5px 30px 20px 0;
	}
	
	.right-sidebar {
		width:298px;
		float:right;
		padding:0 0 20px 0; 
	}
	
		.module-right-blog {
			padding:15px 58px 15px 15px;
			background:#efebe0;
			margin:0 0 30px 0;
		}
		.module-right-blog h3 {
			font-size:20px;
		}
		.module-right-blog .junews {
			line-height:1.5;
			padding:3px 0;
		}
	.room-right	 {
		padding:0 0 0 10px;
		margin:0 0 30px 0;
	}
	.room-right h3 {
		color:#1e1e1e;
		font-size:22px;
		padding:0 0 0 10px;
	}
	.room-right .junews {
		padding:8px 0 8px 0px;
	}
	.room-right .junews a {
		padding: 0px 0 3px 28px;
		line-height: 19px;
		background: url(../images/rooms-small.png) no-repeat left top;
		margin: 8px 0 0;
		font-size: 16px;
		width: 19px;
		height: 19px;
	}
	.room-right .junews.item-15 a{
		background-position: 0 0;
	}
	.room-right .junews.item-16 a {
		background-position: 0 -35px;
	}
	.room-right .junews.item-17 a{
		background-position: 0 -71px;
	}
	.pagination {
		font-size:16px;
	}
	.pagination .next span,
	.pagination .next a,
	.pagination .prev span,
	.pagination .prev a{
		display: inline-block;
		background: url(../images/pagination-prev-next.png) no-repeat left top;
		width: 34px;
		height: 0;
		padding-top: 33px;
		overflow: hidden;
		vertical-align: top;
		margin-right: 4px;
	}
	.pagination .next span,
	.pagination .next a{
		background-position: right top;
		margin-left: 4px;
	}
/* pagination-prev-next */
	.pagination strong {
		font-weight:normal;
		display: inline-block;
		background: #efebe0;
	}
	.pagination strong span,
	.pagination strong a:link,
	.pagination strong a:visited{
		display: inline-block;
		line-height: 33px;
		vertical-align: top;
		font-size: 16px;
		padding: 0 6px;
	}
	
/*
	Footer
*******************/
	
.footer {
	width:980px;
	margin:0 auto;
	height:97px;
	padding:45px 0 0 0;
}
#room .footer,
#default .footer {
	height:97px;
	padding:45px 0 0 0;
	background:url(../images/footer.jpg) center top no-repeat;
}
	.footer .copyright {
		width:375px;
		float:left;
		background:#dc3d3b;
		color:#fff;
		padding:18px 0 18px 15px;
	}
	.footer .design {
		width:412px;
		float:right;
		padding:18px 0 18px 15px;
	}
	
	
.slider .prev{
	position: absolute;
	bottom: 40px;
	right: 72px;
	display: inline-block;
	width: 36px;
	padding-top: 55px;
	height:0;
	overflow: hidden;
	background: url(../images/prev-next.png) no-repeat left top;
	z-index: 999;
}
.slider  .next{
	position: absolute;
	display: inline-block;
	width: 36px;
	bottom: 40px;
	right: 36px;
	padding-top: 55px;
	height:0;
	overflow: hidden;
	background: url(../images/prev-next.png) no-repeat right top;
	z-index: 999;
}
/*

*/

#comments h4 {
		font-weight:normal;
		font-size:27px;
		padding:10px 0 0 0;
		margin:0 0 20px 0;
		border:none;
}
#comments .comments-list {
    height: 1%;
    margin-left: 0px;
}

#comments-form p, #comments-form #comments-form-buttons, #comments-form #comments-form-error, #comments-form #comments-form-captcha-holder {
    font: 1em Verdana,Arial,Sans-Serif;
    margin-bottom: 8px;
    margin-left: 0 !important;
    margin-top: 10px;
    overflow: hidden;
    padding: 0;
}
#jc h4.title {
    border-bottom:none;
    color: #3c3c3c !important;
    font-weight: normal !important;
    margin-bottom: 10px;
    padding: 0 0 2px;
    text-align: left;
	font-size:29px;
}

#jc h4 {
    border-bottom:none;
    color: #1e1e1e;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 0 0 2px;
    text-align: left;
	font-size:22px;
}
#comments .comment-date {
    background: none;
    color: #9b9b9b;
    font-size: 12px;
    margin: 0;
    padding: 0px;
	font-family:Arial;
}
#comments .comment-author, #comments .author-homepage {
    color: #ed1c24;
    font: bold 14px Arial,Sans-Serif;
    margin: 0;
    padding: 0;
}
#comments .comment-body {
    color: #3e3e3e;
    margin: 0 0 0;
    padding: 0 0 2px;
	font-size:14px;
	font-family:Arial;
}

.btn a:link,
.btn a:visited {
	display:inline-block;
	vertical-align:top;
	height:25px;
	
	background: url(../images/button.gif) repeat-x left top;
	padding-left:10px;
	padding-right:10px;
	padding-top:6px;
	font-family:Arial;
	font-size:14px;
	color:#505050;
	cursor:pointer;
}
#comments-form .inputbox input {
	width:295px;
	padding:8px 10px !important;
	font-size:14px;
	color:#979797;
	font-family:Arial;
	border:1px solid #d3cfc4;
}
#comments-form textarea {
	width:398px;
	height:100px;
	padding:15px 10px !important;
	overflow:hidden;
	font-size:14px;
	color:#979797;
	font-family:Arial;
	border:1px solid #d3cfc4;
}
#comments-form .grippie {
	display:none;
}
#comments-form .btn a, #comments-report-form .btn a {
    border:1px solid #d3cfc4;
    font-family:Arial;
	font-size:14px;
	color:#505050;
    font-weight: normal;
    height: 25px;
    line-height: noraml;
    padding: 6px 10px 0;
    text-decoration: none;
	text-align:center;
}
#comments-form #comments-form-captcha  {
	width:102px;
	padding:4px 10px !important;
	font-size:18px;
	color:#979797;
	font-family:Arial;
	border:1px solid #d3cfc4;
	text-align:center;
}
/*
	Form settings
*/

#userForm {
	width:440px;
}
	#userForm p { 
		line-height:normal;
		margin:0 0 15px 0;
		padding:15px 0 0 0;
	}
	#userForm .inputbox input {
		width:295px;
		padding:8px 10px;
		font-size:14px;
		color:#979797;
		font-family:Arial;
		border:1px solid #d3cfc4;
	}
	#userForm .inputbox-mini input {
		width:110px;
		padding:8px 10px;
		font-size:14px;
		color:#979797;
		font-family:Arial;
		border:1px solid #d3cfc4;
	}
	#userForm .data-box {
		padding:7px 0 0 0;
		height:26px;
		background: url(../images/data.gif) no-repeat right top;
		text-align:left;
		margin:0 20px 0 0; 
	}
	
	#userForm .data-box #txtcal1 {
		border:none;
		background:none;
		width:73px;
		padding:0 0 0 5px;
		margin:0 1px 0 16px;
		vertical-align:middle;
		font-size:14px;
		color:#979797;
		font-family:Arial;
	}
	#userForm .data-box #txtcal0 
	{
		border:none;
		background:none;
		width:73px;
		padding:0 0 0 5px;
		margin:0 1px 0 9px;
		vertical-align:middle;
		font-size:14px;
		color:#979797;
		font-family:Arial;
	}
	#userForm .data-box #btn1, 
	#userForm .data-box #btn0 
	{
		margin:1px 0 0 0;
		border:none;
		background:none;
		width:15px;
		height:16px;
		cursor:pointer;
		vertical-align:middle;
		color:#fff;
		font-size:1px;
	} 
	#userForm textarea {
		width:398px;
		height:100px;
		padding:15px 10px;
		overflow:hidden;
		font-size:14px;
		color:#979797;
		font-family:Arial;
		border:1px solid #d3cfc4;
	}
	#userForm .clr {
		height:10px;
	}
	#userForm .row-line {
		padding:0 0 10px 0;
	}
	input.thank-you,
	#userForm .button input {
		height:31px;
		border:1px solid #d3cfc4;
		background: url(../images/button.gif) repeat-x left top;
		padding-left:10px;
		padding-right:10px;
		font-family:Arial;
		font-size:14px;
		color:#505050;
		cursor:pointer;
	}

.booking-button {    
    display: inline-block;
    color: #fff !important;
    background: red;
    background-image: linear-gradient(to bottom, #e97770, #ab0c0d);
    height: 30px;
    line-height: 30px;
    text-decoration: none !important;
    padding: 0 12px;
    margin: 10px 18px 5px 18px ;
}

.booking-button:hover {
    opacity: .9;
}

.red-price {color: #dc3d3b; font-size: 17px; font-weight: bold;}
.room-rate {text-align: center;}
.junews-inner .room-rate {padding-bottom: 0px !important;}

.parent.item6 ul {
    display: none;
    position: absolute;
    z-index: 1000;
    padding: 20px 0 10px 5px;
    background: #454442;
}

.parent.item6 ul li {
    float: none;
}

.parent.item6:hover ul {
    display: block;
}

.footer-link{
    color: #fff !important;
    text-decoration: none !important;
}

.hide-m {display: none;}
@media screen and (max-width: 768px){
	img, iframe {
		max-width: 100% !important;
	}
	.header {
		height: auto;
	}
	.logo-inner {
		width: 100%;
		left: 0;
		margin-left: 0;
		position: relative;
		top: 0;
		text-align: center;
	}
	.phone-inner {
	    width: 100%;
	    position: relative;
	    top: 0;
	    left: 0;
	    text-align: center;
	}
	.slogan-inner {
		padding: 0;
	}
	.main {
		width: 100%;
	}
	.top-nav {
	    height: auto;
	    background-size: cover;
	}
	.top-nav ul li {
    	float: none;
    	display: block;
	}
	.slides_control {
		width: 100% !important;
	}
	.top-nav ul li a:link, .top-nav ul li a:visited {
    	color: #fff;
    	font-size: 17px;
    	padding: 10px 0;
    	display: block;
	}
	.logo-front { 
		width: 100%;
	}
	.phone-front {
		width: 100%;
		left: 0;
	}
	.info-link-block ul li {
	    list-style: none;
	    float: none !important;
	    width: 80%;
	    height: 80px;
	    margin: 10px auto !important;
    	display: block;
	}
	.front-page-content {
	    padding: 10px 10px;
	}
	.room-block-inner {
	    width: 100%;
	    margin: 0 auto;
	    padding: 0 0 35px 0;
	}
	.room-block-inner .junews {
	    width: 90%;
	    float: none;
	    margin: 0 auto;
	    display: block;
	}
	.room-block-inner .junews-inner {
		background-size: cover;
		text-align: center;
	}
	.module-blog .junews {
	    width: 90%;
	    padding: 10px 10px;
	    float: none;
	    line-height: 1.5;
	    background: url(../images/line.gif) left 6px no-repeat;
	    display: block;
	}
	.blog-block-inner {
	    width: 100%;
	    margin: 0 auto;
	}
	.room-block-inner h3, .module-blog h3 {
	    font-size: 22px;
	    margin: 0 0 10px 10px;
	}
	.footer {
		width: 100%;
	}
	.footer .copyright {
	    width: 100%;
	    float: none;
	    background: #dc3d3b;
	    color: #fff;
	    padding: 10px 0;
	}
	.copyright {
		text-align: center;
	}
	.left {
	    width: 90%;
	    float: none;
	    display: block;
	    padding: 10px;
	    margin: 0 auto;
	}
	.right-sidebar {
	    width: 100%;
	    float: none;
	    padding: 0 0 20px 0;
	    display: block;
	}
	.info-block-menu-right ul li {
		width: 80%;
		height: 47px;
		margin: 10px auto;
	}
        #room .article-content-intro {text-align: center;}
        #room .article-content-intro h2 {
            padding: 0 0 30px;
        }
        .hide-m {display: block; color: #fff; position: relative;top: -10px;left: -10px;}
        .top-nav .moduletable, .top-nav .module {display: none;}
}

.perezvon {
    position: fixed;
    bottom: 70px;
    right: 10px;
    z-index: 1000;
    background: #ccc;
    width: 65px;
    height: 65px;
    cursor: pointer;
    border-radius: 50%;
    background: url('../images/tel_ic.png');
    background-size: 100%;
}

#modal_form {
	width: 300px; 
	height: 300px; /* Рaзмеры дoлжны быть фиксирoвaны */
	border-radius: 5px;
	border: 3px #000 solid;
	background: #fff;
	position: fixed; /* чтoбы oкнo былo в видимoй зoне в любoм месте */
	top: 45%; /* oтступaем сверху 45%, oстaльные 5% пoдвинет скрипт */
	left: 50%; /* пoлoвинa экрaнa слевa */
	margin-top: -150px;
	margin-left: -150px; /* тут вся мaгия центрoвки css, oтступaем влевo и вверх минус пoлoвину ширины и высoты сooтветственнo =) */
	display: none; /* в oбычнoм сoстoянии oкнa не дoлжнo быть */
	opacity: 0; /* пoлнoстью прoзрaчнo для aнимирoвaния */
	z-index: 1001; /* oкнo дoлжнo быть нaибoлее бoльшем слoе */
	padding: 20px 10px;
}
/* Кнoпкa зaкрыть для тех ктo в тaнке) */
#modal_form #modal_close {
	width: 21px;
	height: 21px;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	display: block;
}
/* Пoдлoжкa */
#overlay {
	z-index:1000; /* пoдлoжкa дoлжнa быть выше слoев элементoв сaйтa, нo ниже слoя мoдaльнoгo oкнa */
	position:fixed; /* всегдa перекрывaет весь сaйт */
	background-color:#000; /* чернaя */
	opacity:0.8; /* нo немнoгo прoзрaчнa */
	-moz-opacity:0.8; /* фикс прозрачности для старых браузеров */
	filter:alpha(opacity=80);
	width:100%; 
	height:100%; /* рaзмерoм вo весь экрaн */
	top:0; /* сверху и слевa 0, oбязaтельные свoйствa! */
	left:0;
	cursor:pointer;
	display:none; /* в oбычнoм сoстoянии её нет) */
}

form#sm input {
    display: block;
    margin: 20px auto;
    padding: 10px;
}

form#sm input[type="submit"] {
    background: linear-gradient(to bottom, #e97770, #ab0c0d);
    border: none;
    width: 64.4%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}
.bfix {position:fixed;width:100%;}

#tl-anchor {
	margin: 0 0 20px 0;
}