body, html {
	/* height: 100%; */
	overflow-y: visible;
	color: #4b4f54;

	scrollbar-base-color: #d8d8d8;
	scrollbar-base-color: #d8d8d8;
	scrollbar-3dlight-color: #d8d8d8;
	scrollbar-highlight-color: #d8d8d8;
	scrollbar-track-color: #f39b29;
	scrollbar-arrow-color: #d8d8d8;
	scrollbar-shadow-color: #d8d8d8;
	scrollbar-dark-shadow-color: #d8d8d8;
}

b, strong {
	font-weight: 500;
}

body, table, ul, h1, h2, h3, h4, h5, h6 {
	font-family: futura-pt;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar {
	width: 4px;
	background-color: #d8d8d8;
}

::-webkit-scrollbar-thumb {
	background-color: #f39b29;
}

* {
	outline: 0;
}

a {
	transition: all 0.3s ease-in-out;
}

p {
	font-size: 1rem;
	line-height: 1.6rem;
}

.content-wrap,
.aside,
.content-wrap > .row {
	position: relative;
	height: 100%;
	min-height: 100%;
}

@media only screen and (min-width: 64em) {
	.content-wrap {
		padding-left: 260px;
	}
}

.full-row {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.has-tip {
	border-bottom: 0;
}

.full-row > .columns {
	/* padding-left: 0; */
}

.t-wrap {
	margin-bottom: -2rem;
}

.t-wrap .column {
	margin-bottom: 2rem;
}

.two-columns {
	-webkit-column-count: 2;
	-moz-column-count: 2; 
	column-count: 2;
	padding: 0 1rem;
}


@media only screen and (max-width: 64em) {
	.two-columns {
		margin-top: 2rem;
		-webkit-column-count: 1;
		-moz-column-count: 1; 
		column-count: 1;
	}

	.content-wrap {
		padding-top: 59px;
	}
}

.orbit-slide, 
.orbit-container, 
.orbit-slide, 
.content-wrap > .bg-content, 
.content-wrap > .bg-subcontent {
	min-height: 100%;
}

.row > .bg-content {
	margin-left: 0;
}


.contacts-wrap {
	background-image: url(../img/bg-contacts.jpg);
	background-position: right center;
	background-size: contain;
	background-repeat: no-repeat;
}



.interior-wrap {
	background-position: right center;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url(../files/bg-interior.jpg);
}

.about-wrap {
	background-position: center;
	background-image: url(../files/liepziedi-jaunais-projekts-mezaparks.jpg);
}

.news-wrap {
	background-position: center;
	background-size: cover;
	background-image: url(../files/bg-news.jpg);
	position: fixed;
	width: 100%;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: -1;
}

@media only screen and (max-width: 64em) {
	.interior-wrap {
		background-size: cover;
	}
	.content-wrap > .bg-content, 
	.content-wrap > .bg-subcontent {
		height: auto;
		min-height: auto;
		float: none;
	}
}

.bg-content {
	background-color: #f2f2f2;
	padding: 26px 36px;
	float: left;
}

.bg-subcontent {
	background-color: #fff;
	padding: 26px 36px;;
	float: left;
	position: relative;
}


@media only screen and (min-width: 64em) {
	.bg-subcontent:before {
		content: "";
		position: absolute;
		left: 0;
		top: 4.5rem;
		width: 0; 
		height: 0; 
		border-top: 12px solid transparent;
		border-bottom: 12px solid transparent;
		border-left: 12px solid #f2f2f2;
	}
}

h2, h3 {
	text-transform: uppercase;
	border-bottom: 1px solid #4b4f54;
	color: #4b4f54;
	font-size: 1.313rem;
	font-weight: bold;
	padding-bottom: 0.2rem;
	width: 340px;
	max-width: 100%;
	margin-bottom: 0.3rem;
}

.fullWidth {
	width: 100% !important;
}

h3 {
	font-size: 1rem;
	margin-bottom: 0.6rem;
}

p + h3 {
	/* margin-top: 2rem; */
}

hr {
	width: 340px;
	max-width: 100%;
	margin: 0 0 1.3rem 0;
	border-bottom: 1px solid #4b4f54;
}

.text-center hr {
	margin: 0 auto 1.3rem auto;
}

h5 {
	text-transform: uppercase;
	color: #4b4f54;
	font-weight: bold;
	font-size: 0.875rem;
}

.interior-details {
	font-size: 0.875rem;
}

.thumb-wrap {
	margin: 2rem -0.9375rem 0 -0.9375rem;
}

.thumb-wrap .column {
	margin-bottom: 0.9375rem;
}

.thumb-wrap img {
	outline: 2px solid rgba(243, 155, 41, 0);
	transition: all 0.3s ease-in-out;
	outline-offset: -2px;
}

.thumb-wrap img.active,
.thumb-wrap img:hover {
	outline: 2px solid rgba(243, 155, 41, 1);
	cursor: pointer;
}

.tiles-content {
	display: none;
}

.tiles-content.active {
	display: block;
}

.mfp-bg {
	opacity: 1;
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
	color: #f39b29;
}

.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
	border-left: 17px solid #f39b29
}

.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
	border-right: 17px solid #f39b29
}

.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
	border: 0;
}

.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
	border: 0;
}

/* flats */

ul.floor-nav {
	list-style: none;
	margin: 0;
}

ul.floor-nav li {
	display: inline-block;
}

ul.floor-nav li {
	margin-right: 1rem;
}

ul.floor-nav li a {
	font-size: 2.5rem;
	color: #4b4f54;
	border-bottom: 3px solid transparent;
}

ul.floor-nav li.active a,
ul.floor-nav li a:hover {
	color: #f39b29;
}

ul.floor-nav li.active a {
	border-bottom: 3px solid #f39b29;
}

ul.floor-nav li.all-apartments a {
	font-size: 1.25rem;	
}

/* table */

table.apartments {
	width: 100%;
	margin: 0 0 0.75rem 0;
	font-size: 0.95em;
}

table.apartments-all {
	max-width: 350px;
}

table.apartments-all tbody {
	min-height: 250px !important;
}

table.apartments th {
	text-align: left;
	font-weight: normal;
	border-bottom: 1px solid #4b4f54;
}

table.apartments th.text-center {
	text-align: center;
}

table.apartments-all tbody {
	display: block;
	height: 192px;
	overflow: auto;
	overflow-y: auto;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	width: 100%;
}

table.apartments td,
table.apartments th {
	padding: 1px 0;
}

table.apartments-all td:first-child,
table.apartments-all th:first-child {
	width: 60px;
}

table.apartments-all td,
table.apartments-all th {
	width: 90px;
}

table.apartments-all tr {
	display: block;
}

table.apartments tr:hover td {
	color: #f39b29;
	cursor: pointer;
}

table.apartments tr:hover {
	cursor: pointer;
}


@media only screen and (min-width: 105em) {
	table.apartments-all {
		max-width: 590px;
	}
	table.apartments-all td,
	table.apartments-all th {
		width: 144px;
	}
}

/* finances */

span.consultant-name {
	display: block;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.313rem;
}

span.consultant-title {
	display: block;
	font-size: 0.875rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #4b4f54;
	margin-bottom: 1rem;
	width: 80%;
}

.finances-wrap {
	font-size: 0.875rem;
	margin-left: 0;
}

.finances-wrap a {
	color: #4b4f54;
}

.finances-wrap a:hover {
	color: #f39b29;
}

.finances-wrap .column {
	margin-bottom: 2rem;
}

.finances-wrap img {
	height: 50px;
	width: auto;
	max-width: 100%;
	margin-bottom: 0.75rem;
}


@media only screen and (max-width: 64em) {
	.finances-wrap {
		margin-top: 2rem;
	}
}

/* map */

#map {
	height: 800px;
	max-height: 80%;
	border: 1px solid #FFF;
}

/* contacts */

span.contacts-name {
	display: block;
	text-transform: uppercase;
	font-weight: bold;
	padding-bottom: 0.3rem;
	border-bottom: 1px solid #4b4f54;
	margin-bottom: 0.3rem;
	font-size: 1rem;
}

span.contacts-title {
	display: block;
	font-size: 1rem;
	margin-bottom: 1rem;
}

.contacts-info {
	font-size: 0.85rem;
}

.contacts-info span {
	color: #f39b29;
}

.contacts-info a {
	color: #4b4f54;
}

.contacts-info a:hover {
	color: #f39b29;
}

.gmap-address {
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: bold;
}

.gmap-address strong {
	color: #f39b29;
}

hr.gmap-hr {
	margin-bottom: 0.6rem;
}

/* logo */

.aside {
	width: 260px;
	background: url(../img/aside-bg.jpg);
	background-size: cover;
	float: left;
	z-index: 2;
	position: fixed;
}

a.logo {
	margin: 40px 0 35px 0;
	display: block;
}

h1 {
	text-align: center;
}

h1 span {
	display: none;
}

/* main nav */

ul.main-nav {
	list-style: none;
	margin: 0;
	text-align: center;
}

ul.main-nav li + li {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

ul.main-nav li a {
	display: block;
	line-height: 45px;
	/* color: #4b4f54; */
	color: #fff;
	font-size: 1.313rem;
}

ul.main-nav li:hover a,
ul.main-nav li.active a {
	/* color: #f39b29; */
	color: #223a01;
	background-color: #f2f2f2;
}

/* sub nav */

ul.sub-nav {
	list-style: none;
	margin: 0;
	width: 340px;
	max-width: 100%;
}

ul.sub-nav li + li {
	border-top: 1px solid #4b4f54;
}

ul.sub-nav li a {
	color: #4b4f54;
	text-transform: uppercase;
	font-weight: bold;
	padding: 0.5rem 0;
	display: block;
	font-size: 1rem;
}

ul.sub-nav li:hover a,
ul.sub-nav li.active a, 
ul.sub-nav li.active a span {
	color: #f39b29;
}

ul.sub-nav li a span {
	font-size: 75%;
	color: #4b4f54;
	display: inline-block;
	padding-right: 0.3rem;
	margin-top: -2px;
	vertical-align: middle;
}

h4 {
	width: 400px;
	font-size: 3.5rem;
	border-bottom: 1px solid #4b4f54;
	color: #4b4f54;
	padding-bottom: 0.2rem;
	max-width: 100%;
	margin-bottom: 1.3rem;
}

/* Apartment List */

ul.aList {
	list-style: none;
	margin: 0;
}

ul.aList li + li {
	border-top: 1px solid #4b4f54;
}

ul.aList li {
	padding: 0.5rem;
	font-weight: bold;	
}

ul.aList li span {
	float: left;
	width: 5rem;
	overflow: auto;	
}

ul.aList li a {
	color: #4b4f54;
}

ul.aList li:hover a,
ul.aList li.active a {
	color: #f39b29;
}


/* List2 */

ul.list2 {
	list-style: none;
	margin: 0;
	font-size: 0.85rem;
}

ul.list2 li span {
	color: #f39b29;
}

ul.list2 li + li {
	border-top: 1px solid #4b4f54;
	width: 15rem;
}

ul.list2 li {
	padding: 0.5rem;
	font-weight: bold;	
}

ul.list2 li:last-child {
	border-bottom: 1px solid #4b4f54;
}

.field {
	width: 15em;
	margin-top: 10px;
	padding: 3px 5px 3px 7px;
	border: 1px solid #4b4f54;
}

.button {
	margin-top: 10px;
	background-color: #f39b29;
	padding: 7px 30px 7px 30px;
	font-size: 0.8rem;
	font-weight: 600;
}


@media only screen and (min-width: 64em) {

	ul.sub-nav-inline {
		width: auto;
		margin-bottom: 1.7rem;
	}

	ul.sub-nav-inline li {
		display: inline-block;
	}

	ul.sub-nav-inline li + li {
		margin-left: 1.5rem;
		border: 0;
	}

	ul.sub-nav-inline li a {
		padding: 0;
	}

}

/* lang nav */

ul.lang-nav {
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin: 20px 30px;
	padding: 10px 0;
}

ul.lang-nav li {
	display: inline-block;
}

ul.lang-nav li + li {
	margin-left: 15px;
}

ul.lang-nav a {
	text-transform: uppercase;
	/* color: #4b4f54; */
	color: #679610;
	font-weight: bold;
	font-size: 1rem;
}

ul.lang-nav li.active a,
ul.lang-nav li:hover a {
	/* color: #f39b29; */
	color: #fff;
}


@media only screen and (max-width: 64em) {
	ul.lang-nav a,
	ul.main-nav li a {
		color: #4b4f54;
	}
	ul.lang-nav li.active a,
	ul.lang-nav li:hover a,
	ul.main-nav li:hover a,
	ul.main-nav li.active a {
		color: #f39b29;
	}
}

/* mobile-nav */

.mobile-top {
	background-color: #fff;
	position: fixed;
	z-index: 2;
	left: 0;
	top: 0;
	right: 0;
}

.mobile-top .columns {
	text-align: center;
	position: relative;
	padding: 10px 0;
}

img.mobile-menu-link {
	position: absolute;
	left: 20px;
	top: 20px;
	cursor: pointer;
}

img.mobile-menu-close {
	cursor: pointer;
	margin: 20px 0;
	max-width: 20px;
}

.mobile-nav-wrap {
	position: fixed;
	right: 0;
	top: 0;
	left: 0;
	bottom: 0;
	overflow-y: auto;
	z-index: -10;
	padding: 20px;
	box-sizing: border-box;
	background: #fff;
	opacity: 0;
	transition: all 0.3s ease-in-out;
}

.mobile-nav-active {
	opacity: 0.95;
	z-index: 10;
}

/* slider */

.orbit {
	position: relative;
}

.orbit-container {
	margin: 0;
}

.orbit-caption {
	padding: 10rem 20%;
	background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.7));
	background: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.7));
	background: -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.7));
	background: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.7));
	font-size: 1.45rem;
	text-align: center;
	line-height: 1.9rem
}



@media only screen and (max-width: 64em) {
	.orbit-caption h1 {
		font-size: 2rem;
	}
	.orbit-caption {
		font-size: 1rem;
		line-height: 1.5rem;
	}
}

@media only screen and (max-width: 40em) {
	.orbit-caption {
		font-size: 0.75rem;
		line-height: 1.25rem;
	}
}

.orbit-caption h1 {
	margin-bottom: 1.5rem;
}

@media only screen and (min-width: 40em) {
	.orbit-justHeading {
		margin-bottom: -4rem !important;

	}
}

@media only screen and (min-width: 64em) {
	.orbit-justHeading {
		margin-bottom: -10rem !important;

	}

	.orbit-justHeading h1 {
		font-size: 2rem !important;
	}
}
.orbit-slide {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.orbit-previous, 
.orbit-next {
	bottom: 5rem;
	top: auto;
	width: 49px;
	height: 94px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.orbit-previous img, 
.orbit-next img {
	display: none;
}

.orbit-previous {
	left: 7rem;
	background-image: url(../img/arrow-left.png);
}

.orbit-next {
	right: 7rem;
	background-image: url(../img/arrow-right.png);
}

.orbit-previous:hover,
.orbit-previous:active,
.orbit-previous:hover, 
.orbit-previous:focus {
	background-image: url(../img/arrow-left-hover.png);
}

.orbit-next:hover,
.orbit-next:active,
.orbit-next:hover, 
.orbit-next:focus {
	background-image: url(../img/arrow-right-hover.png);
}

.orbit-previous:hover, 
.orbit-next:hover, 
.orbit-previous:active, 
.orbit-next:active, 
.orbit-previous:focus, 
.orbit-next:focus {
	background-color: transparent;
}

.orbit-bullets {
	position: absolute;
	bottom: 5rem;
	margin: 0;
	left: 0;
	right: 0;
	text-align: center;
}

.orbit-bullets button {
	width: 12px;
	height: 12px;
	margin: 0.5rem;
	background-color: #fff;
	border-radius: 50%;
	transition: all 0.3s ease-in-out;
}

.orbit-bullets button:hover {
	background-color: #4b4f54;
}

.orbit-bullets button.is-active {
	background-color: #f39b29;
}

.rActive {
	color: #f39b29;
}

#house1,
#house2 {
	text-align: center;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center top;
}


.facebook-responsive {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}

.facebook-responsive iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}


.houseButton { 
	margin: 10px 0 30px 0;
	font-weight: 600;
}

.houseButton a {
	margin-right: 20px;
	border: solid 2px #4b4f54;
	color: #4b4f54;
	padding: 5px 25px;
}

.houseButton a:hover {
	background: #4b4f54;
	color: #FFF;
}

.houseButton a.active {
	border: solid 2px #f39b29;
	background: #f39b29;
	color: #FFF;
}


@media only screen and (min-width: 40em) {
	
	.a-class {
		position: absolute;
		top: 0;
		z-index: 99;
		margin: 40px 0 0 40px;
	}
}

@media only screen and (max-width: 40em) {
	
	.a-class {
		display: none;
	}
}