html, body {
	height:100%;
}
.rt-body-btm {
	background: none;
	height: 30px;
}
div.price p, div.address p, div.ap-contact p, div.perex p{
	white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	white-space: pre-wrap;       /* css-3 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
	/*word-break: break-all;*/
}
.item-page > h2, .item-page .perex p{
	text-align: center;
}

.item-page > h2{
	text-shadow: 1px 1px 0px #696969 !important;
}

.item-page > div p {
	margin-bottom: 0px;
}

.item-page div.text p {
	margin-bottom: 10px;
}

/*
.item-page > div{
	padding: 5px 15px !important;
	background: rgb(216, 216, 216);
	border: 1px solid gray;
}*/

.item-page .perex {
	margin-bottom: 30px;
	font-weight: bold;
	font-size: 1.4em;
}

.fotorama__wrap{
	margin: 0px auto 50px auto;
}
div.left-side{
	float: left;
	width: 55%;
}
div.right-side{
	float: left;
	width: 35%
}
div.route, div.ap-contact, div.price, div.price-include, div.price-exclude, div.guarantee, div.capacity, div.address{
	background: rgb(236, 236, 236);
	padding: 5px 15px;
	border: 1px solid gray;
	-moz-box-shadow:    1px 1px 4px black;
	-webkit-box-shadow: 1px 1px 4px black;
	box-shadow:         1px 1px 4px black;
	margin-bottom: 15px;
	width: 95%;
}

div.current_capacity{
	padding: 5px 15px;
	border: 1px solid gray;
	-moz-box-shadow:    1px 1px 4px black;
	-webkit-box-shadow: 1px 1px 4px black;
	box-shadow:         1px 1px 4px black;
	margin-bottom: 15px;
	width: 95%;
}

div.free{
	background-color: #A8ECA8 !important;
}

div.occupied{
	background-color: #FF8484 !important;
}

div.current_capacity h4{
	font-size: 2em;
}

div.address h4, div.text h4, div.route h4, div.ap-contact h4, div.price h4, div.price-include h4, div.price-exclude h4, div.guarantee h4, div.capacity h4{
	font-size: 2em;
}

div.address p{
	font-size: 1.2em;
}

div.address h4{
	text-align: left;
}

div.text{
	width: 95%;
	font-size: 1.4em;
	padding-right: 15px; 
}

div.map{
	margin: 25px 0 0 0;
}

/* colors */
.red a span{
	color: red !important;
}
.orange a span{
	color: orange !important;
}
.blue a span{
	color: #9696FF !important;
}
.lightgray a span{
	color: lightgray !important;
}
.green a span{
	color: #23E723 !important;
}

.turquoise a span{
	color: turquoise !important;
}

.violet a span{
	color: #F0C !important;
}



/* order form */

/* === Remove input autofocus webkit === */
*:focus {outline: none;}

/* === Form Typography === */
.form_hint, .required_notification {font-size: 11px;}

/* === List Styles === */
.contact_form {
	float: left;
	width: 95%;
	margin-top: 50px;
}
.contact_form ul {
    list-style-type:none;
	list-style-position:outside;
	margin:0px;
	padding:0px;
}
.contact_form li{
	padding:12px 15px 0 0; 
	border-bottom:1px solid #eee;
	position:relative;
} 

/* === Form Header === */
.contact_form h2 {
	margin:0;
	display: inline;
}
.required_notification {
	color:#d45252; 
	margin:5px 0 0 0; 
	display:inline;
	float:right;
}

/* === Form Elements === */
.contact_form label {
	width:150px;
	margin-top: 3px;
	display:inline-block;
	float:left;
	padding:3px;
}
.contact_form input {
	height:20px; 
	width:220px; 
	padding:5px 8px;
}
.contact_form textarea {padding:8px; width:300px;}
.contact_form button {margin-left:156px;}

	/* form element visual styles */
	.contact_form input, .contact_form textarea { 
		border:1px solid #aaa;
		box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
		border-radius:2px;
		padding-right:30px;
		-moz-transition: padding .25s; 
		-webkit-transition: padding .25s; 
		-o-transition: padding .25s;
		transition: padding .25s;
	}
	.contact_form input:focus, .contact_form textarea:focus {
		background: #fff; 
		border:1px solid #555; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:70px;
	}

/* === HTML5 validation styles === */	
.contact_form input:required, .contact_form textarea:required {
	background: #fff url(/templates/rt_cerulean/images/red_asterisk.png) no-repeat 98% center;
}
.contact_form input:required:valid, .contact_form textarea:required:valid {
	background: #fff url(images/valid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}
.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
	background: #fff url(/templates/rt_cerulean/images/invalid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #d45252;
	border-color: #b03535
}

/* === Form hints === */
.form_hint {
	background: #d45252;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:8px;
	padding: 1px 6px;
	z-index: 999; /* hints stay above all other elements */
	position: absolute; /* allows proper formatting if hint is two lines */
	display: none;
}
.form_hint::before {
	content: "\25C0";
	color:#d45252;
	position: absolute;
	top:1px;
	left:-6px;
}
.contact_form input:focus + .form_hint {display: inline;}
.contact_form input:required:valid + .form_hint {background: #28921f;}
.contact_form input:required:valid + .form_hint::before {color:#28921f;}
	
/* === Button Style === */
.contact_form button.submit {
	background-color: #EEB4A1;
	background: -webkit-gradient(linear, left top, left bottom, from(#EEB4A1), to(#E6643A));
	background: -webkit-linear-gradient(top, #EEB4A1, #E6643A);
	background: -moz-linear-gradient(top, #EEB4A1, #E6643A);
	background: -ms-linear-gradient(top, #EEB4A1, #E6643A);
	background: -o-linear-gradient(top, #EEB4A1, #E6643A);
	background: linear-gradient(top, #EEB4A1, #E6643A);
	border: 1px solid #E6643A;
	border-bottom: 1px solid #E6643A;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	box-shadow: inset 0 1px 0 0 #8A8381;
	-webkit-box-shadow: 0 1px 0 0 #8A8381 inset ;
	-moz-box-shadow: 0 1px 0 0 #8A8381 inset;
	-ms-box-shadow: 0 1px 0 0 #8A8381 inset;
	-o-box-shadow: 0 1px 0 0 #8A8381 inset;
	color: white;
	font-weight: bold;
	padding: 6px 20px;
	text-align: center;
	text-shadow: 0 -1px 0 #8A8381;
}
.contact_form button.submit:hover {
	opacity:.85;
	cursor: pointer; 
}
.contact_form button.submit:active {
	border: 1px solid #E6643A;
	box-shadow: 0 0 10px 5px #E6643A inset; 
	-webkit-box-shadow:0 0 10px 5px #E6643A inset ;
	-moz-box-shadow: 0 0 10px 5px #E6643A inset;
	-ms-box-shadow: 0 0 10px 5px #E6643A inset;
	-o-box-shadow: 0 0 10px 5px #E6643A inset;
	
}

div.alert-message {
	background-color: #e6643a;
}

.alert, div.alert-message h4 {
	text-shadow: 2px 2px 2px black;
	color: white;
}

.rokgallery-wrapper .rg-ss-info{
	text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.rokgallery-wrapper .rg-ss-caption{
	padding-bottom: 45px;
	margin-top: 0px;
	border-top: 1px solid #E6643A;
}

.rg-ss-info .rg-ss-caption div{
	float: right;
	background-color: #E6643A;
	padding: 0px 11px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	color: black;
}

.close {
	color: black;
}

.item-page h4{
	line-height: 40px;
}

.item-page li{
	line-height: 25px;
}

/* Ribbons */

div.ribbons{
	position: fixed;
	top: 158px;
	right: 0;	
}

div.ribbons .ribbon{
	border: 1px solid black;
	padding: 10px;
	margin-bottom: 10px;
	background-color: white;
	font-size: 1.2em;
	box-shadow: -1px 1px 20px black;
}

a.order_form{
	font-weight: bold;
	font-size: 18px;
}


.dec12-home a{
	color: #333333;
}

.gf-menu.l1 > li:first-child:hover > .item{
	border-radius: 6px 0 0 0 !important;
}
.gf-menu.l1 > li.active:first-child{
	border-radius: 10px 0 0 0 !important;
}
.gf-menu.l1 > li:nth-child(7):hover > .item{
	border-radius: 0 0 0 6px !important;
}
.gf-menu.l1 > li.active:nth-child(7){
	border-radius: 0 0 0 10px !important;
}

/* responsivity */
@media only screen and (min-width: 1315px){
	/* SLIDER */
	.rg-ss-info{
		margin-top: -80px !important;
	}
	.rt-body-top {
		margin: -220px -30px 0 -30px;
	}
	/* NAV */
	.gf-menu .item{
		padding: 4px 11px;
	}
	.gf-menu.l1 > li > .item{
		font-size: 14px;
	}
	/* APARTMENTS DETAILT */
	.map{
		width: 600px;
		height: 400px;
	}
	
}

@media only screen and (max-width: 1314px) and (min-width: 1075px){
	/* SLIDER */
	.rg-ss-info{
		margin-top: -55px !important;
	}
	.rokgallery-wrapper .rg-ss-title{	
		font-size: 180%;
	}
	.rokgallery-wrapper .rg-ss-caption{
		font-size: 125%;
	}
	.gf-menu.l1 > li > .item{
		line-height: 10px;
	}
	.rt-body-top {
		margin: -185px -30px 0 -30px;
	}
	/* NAV */
	.gf-menu .item{
		padding: 4px 15px;
	}
	.gf-menu.l1 > li > .item{
		font-size: 10px;
	}
	/* APARTMENTS DETAIL */
	.map{
		width: 475px;
		height: 370px;
	}
	/* RIBBONS */
	div.ribbons{
		top: 296px;
	}
}

@media (max-width: 1074px) and (min-width: 883px){
	/* SLIDER */
	.rokgallery-wrapper .rg-ss-info { 
		margin-top: -25px !important;
	}
	.rokgallery-wrapper .rg-ss-title{	
		font-size: 150%;
	}
	.rokgallery-wrapper .rg-ss-caption{
		font-size: 95%;
		padding-bottom: 30px;
	}
	.rt-body-top{
		margin: -175px -30px 0 -30px;
	}
	.gf-menu.l1 > li > .item{
		line-height: 10px;
	}
	
	/* NAV */
	.gf-menu .item{
		padding: 4px 4px;
	}
	.gf-menu.l1 > li > .item{
		font-size: 9px !important;
		line-height: 13px !important;
		padding-top: 13px !important;
		padding-bottom: 13px !important;
	}
	
	.gf-menu.l1 > li:hover > .item > span{
		margin-top: 0px;
	}
	
	/* APARTMENTS DETAILT */
	.map{
		width: 370px;
		height: 370px;
	}
	/* RIBBONS */
	div.ribbons{
		top: 326px;
	}
}

@media only screen and (max-width: 882px) and (min-width: 595px){
	.map{
		width: 100%;
		height: 370px;
	}
	div.left-side, div.right-side{
		float: none;
		width: 100%;
	}
	div.text{
		width: 100%;
	}
	div.route, div.ap-contact, div.price, div.price-include, div.price-exclude, div.guarantee, div.capacity, div.address, div.current_capacity{
		width: 91%;
	}
	
	.contact_form{
		width: 100%;
		float: none;
	}
	
	.contact_form input, .contact_form textarea{
		width: 100%;
		padding-right: 0;
	}
	
	.rt-body-top, .rt-body-btm{
		background: none;
	}
	
	.rt-body-btm{
		height: 30px;
	}
	/* RIBBONS */
	div.ribbons{
		display: none;
	}
	
	/* remove pointers */
	.left-top-pointer, 
	.right-top-pointer{
		display: none;
	}
	
}

@media only screen and (max-width: 594px){
	.gf-menu-toggle{
		top: 55px;
	}
	.map{
		width: 100%;
		height: 370px;
	}
	div.left-side, div.right-side{
		float: none;
		width: 100%;
	}
	div.text{
		width: 100%;
	}
	div.route, div.ap-contact, div.price, div.price-include, div.price-exclude, div.guarantee, div.capacity, div.address, div.current_capacity{
		width: 91%;
	}
	
	.contact_form{
		width: 100%;
		float: none;
	}
	
	.contact_form input, .contact_form textarea{
		width: 75%;
		padding-right: 0;
	}
	
	.rt-body-top, .rt-body-btm{
		background: none;
	}
	
	.rt-body-btm{
		height: 30px;
	}
	
	.contact_form li{
		text-align: center;
	}
	
	.contact_form label{
		float: none;
	}
	
	.required_notification{
		display: inline-block;
		float: none;
	}
	/* RIBBONS */
	div.ribbons{
		display: none;
	}
}