@import url('https://fonts.googleapis.com/css?family=Raleway:400,700');

/* FRONTEND CSS
*********************************************/
.mapify-holder,
.mapify-imgHolder {
    position: relative;
    z-index: 1
}
.mapify-holder {
    display: inline-block;
    font-size: 0;
    max-width: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none
}
.mapify-GPU,
.mapify-holder * {
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}
.mapify-imgHolder .mapify {
    max-width: 100%;
    height: auto
}
.mapify-img,
.mapify-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2
}
.mapify-polygon {
    transition: all .3s;
    fill: transparent;
    stroke: transparent;
    stroke-width: 0
}
.mapify-hover {
    fill: #09f
}

html {
    overflow-y: scroll;
    height: 100%;
}
body {
    background-color: #faf9f9;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #362f2f;
    line-height: 175%;
  min-height: 100%;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
footer{
    margin-top: auto;
}
@media screen and (min-width: 1200px){
    .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
        width: 1200px;
    }
}
a, a:hover, a:focus{
    color: inherit;
    text-decoration: none;
    -webkit-transition: 0.25s all ease-in-out;
    transition: 0.25s all ease-in-out;
}
a:hover{
    color: #891a23;
}
/*a[href*='mailto']{
    color: inherit;
    text-decoration: none;
}
a[href*='mailto']:hover{
    text-decoration: underline;
}*/
/*#bg_container{
    background: #FFFFFF url(../images/salme-bg.jpg) repeat 0 0;
}*/
/* #main-content .inside {
    padding-right: 50px;
} */
#main-content{
    margin-left: 45px;
}
@media screen and (max-width: 767px){
    #main-content{
        width: calc(100% - 90px);
    }
}
@media screen and (max-width: 480px){
    #main-content{
        margin-left: 0;
        width: 100%;
    }
}
.pager li>a, .pager li>span {
    color: #5c5d5f;
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
/* Header */
#header {
	background-color: #615555;
    background-image: url(../images/header_bg.jpg);
}
#header .logo-module{
    float: left;
}
#header .logo-module .moduletable {
  	padding: 20px 0 20px 0;
    overflow: hidden;
}
#header .logo-module img{
    margin: 0px!important;
    max-width: 120px;
}
#header .logo-module h1 {
  	font-size: 34px;
  	font-weight: 400;
  	color: #fff;
  	letter-spacing: 1px;
    margin: 5px 0 0 0;
}
#header .logo-module a, #header .logo-module a:hover {
    color: #FFFFFF;
    text-decoration: none;
}
#header .partner-module {
    padding: 29px 0;
    /*position: absolute;*/
    float:right;
    top: 30px;
    right: 0;
}
#header .partner-module a{
    opacity: 0.7;
}
#header .partner-module a:hover{
    opacity: 1;
}

@media screen and (min-width: 768px){
    #header > .container{
        padding: 0 15px;
        box-sizing: border-box;
    }
}

/* Nav-bar */
#navigation-bar {
    background-color: #891a23;
}
.navbar {
    margin: 0;
}
.navbar-inner {
    background-color: transparent;
    background-image: none;
    background-repeat: no-repeat;
    border: 0 solid #D4D4D4;
    border-radius: 0 0 0 0;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
    min-height: auto;
    filter: none;
}
.navbar .btn-navbar {
    /*color: #6e6e6e;
    text-shadow: none;
    font-weight: bold;
    text-transform: uppercase;*/
    border-radius: 0;
    height: 43px;
    width: 50px;
    position: relative;
    margin: 0;
    border:none;
    background-image:none;
    background-color:transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.navbar .btn-navbar::after {
    position: absolute;
    display: inline-block;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 16px;
    margin: auto;
    border-top: 4px solid #faf9f9;
    border-bottom: 4px solid #faf9f9;
    content: '';
}

.navbar .btn-navbar::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 0;
    margin: auto;
    border-top: 4px solid #faf9f9;
}
.navbar .btn-navbar:hover, .navbar .btn-navbar:focus {
    background: rgba(0,0,0,0.2);
}
.nav-collapse .moduletable_menu {
    margin: 0;
}
.navbar .nav {
    margin: 0;
}
.navbar .nav > li {
    margin-right: 1px;
}
.navbar .nav > li > a {
    color: #ffffff;
    text-shadow: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 10px;
    line-height: 30px;
    font-size: 13px;
    text-decoration: none;
}
.navbar .nav>li>a:focus, .navbar .nav>li>a:hover
{
    color: #FFFFFF;
    background-color: #67141a;
}
.navbar .nav li {
    padding-right: 5px;
}
.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
    background-color: transparent;
    box-shadow: none;
    color: #FFFFFF;
    font-weight: 700;
}

/* Slider */
#slider {
    padding-top: 15px;
}
/*#slider .logo-module div
{
    position: absolute;
    margin: -12px 0 0 51px;
    z-index: 10;
}
#slider .logo-module img
{
    max-width: none !important;
}*/
#slider .camera_wrap{
    border: 1px solid #ffffff;
    -moz-box-sizing:   border-box;
   -webkit-box-sizing: border-box;
    box-sizing:        border-box;
}
#slider .moduletable {
  	max-width: 1400px;
  	margin: 0 auto;
}
#slider .camera_wrap {
	margin-bottom: 0 !important;
}
#slider .camera_pag {
    position: absolute;
    right: 0;
    bottom: 0;
}
#slider .camera_wrap .camera_pag .camera_pag_ul {
    margin-bottom: 20px;
    margin-right: 30px;
}
#slider .camera_wrap .camera_pag .camera_pag_ul li {
    margin: 0 12px 0 2px;
    background: transparent;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    border: 3px solid #faf9f9;
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,.2);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,.2);
	box-shadow: 0 0 5px rgba(0,0,0,.2);
}
#slider .camera_wrap .camera_pag .camera_pag_ul li.cameracurrent {
    margin: 0 12px 0 2px;
    background: #faf9f9;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    border: 3px solid #faf9f9;

}
#slider .camera_wrap .camera_pag .camera_pag_ul li > span {
    background: transparent !important;
    // -webkit-border-radius: 50%;
    // -moz-border-radius: 50%;
    // border-radius: 50%;
    // height: 12px;
    // // left: 2px;
    // overflow: hidden;
    // position: absolute;
    // // top: 2px;
    // width: 12px;
}
#slider .camera_commands{
    display:none;
}
#slider .camera_prev, #slider .camera_next{
    -webkit-transition: 0.25s all ease-in-out;
    transition: 0.25s all ease-in-out;
    background-color: transparent;
    cursor: pointer;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100px;
    z-index: 2;
    margin: 0;
    opacity: 0.5;
}
#slider .camera_prev:hover, #slider .camera_next:hover{
    opacity: 1;
}
#slider .camera_prev > span {
    background: url(../images/slider-arrow.png) no-repeat 20px 50%;
    display: block;
    height: 100%;
    width: 100px;
}
#slider .camera_next > span {
    background: url(../images/slider-arrow.png) no-repeat 20px 50%;
    display: block;
    height: 100%;
    width: 100px;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}
.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent > span {
    left: 2px !important;
    top: 2px !important;
}
/* Content */
#content {
  	/*background: #fff;*/
  	padding: 40px 0 40px 0;
}
/* Rightcolumn */
#rightcolumn {
    float: right;
    margin-right: 15px;
    // width: 190px;
}
@media screen and (max-width: 979px){
    #rightcolumn {
        float: none;
    }
}
#rightcolumn .moduletable {
    padding-top: 70px;
}
#rightcolumn:not(.span4) img, #bottom img {
    box-shadow: 0 0 18px rgba(0,0,0,.1);
    border: solid 5px #fff;
    box-sizing: border-box;
}

.nav-tabs.nav-stacked>li>a:hover, .nav-tabs.nav-stacked>li>a:focus
{
        background-color: #fff;
        color: #5c5d5f;
}
.nav-tabs > .current > a, .nav-tabs > .current > a:hover, .nav-tabs > .current > a:focus {
        background-color: #fff;
        color: #5c5d5f;
            cursor: default;
}
/* Bottom */
#bottom {
    padding-top: 2em;
    margin-top: 2em;
    border-top: 1px solid #f2f2f2;
}

#main-content h2{
    margin-top: 45px;
    margin-bottom: 50px;
}

@media screen and (max-width: 767px){
    #main-content h2{
        margin-top: 25px;
        margin-bottom: 30px;
    }
}
.hinnad-ja-plaanid .btn-group.status-filter{
    display: none;
}
.hinnad-ja-plaanid .rwd-objects-list-table th, .hinnad-ja-plaanid .rwd-objects-list-table td{
    text-align: center;
    cursor: pointer;
}
.hinnad-ja-plaanid .rwd-objects-list-table thead{
    border-bottom: 2px solid #891a23;
}
.hinnad-ja-plaanid .rwd-objects-list-table tbody{
    border-bottom: 1px solid #ddd;
}
.hinnad-ja-plaanid .rwd-objects-list-table tbody tr:hover>td, .hinnad-ja-plaanid .rwd-objects-list-table tbody tr.map-hover>td{
    background-color: #e1e0e0;
}
.hinnad-ja-plaanid .rwd-objects-list-table tbody tr.booked, .hinnad-ja-plaanid .rwd-objects-list-table tbody tr.sold{
    opacity: 0.4;
}
.hinnad-ja-plaanid #main-content .parameters .field-name{
    min-width: 80px;
    font-weight: 700;
}
.hinnad-ja-plaanid #main-content .pdf-link{
    font-weight: 700;
    padding-left: 25px;
    line-height: 1.4;
    background: url(../images/pdf.png) no-repeat left center;
    background-size: contain;
    margin: 30px 0 20px 0;
    display: inline-block;
}
.hinnad-ja-plaanid #main-content .parameters .pdf-link{
    margin-top: 20px;
}
.hinnad-ja-plaanid #rightcolumn.span4 .moduletable{
    padding-top: 145px;
}
.hinnad-ja-plaanid #rightcolumn.span4 .custom >div > div{
    height: 0 !important;
    padding-top: 66% !important;
    width: 100% !important;
}
.hinnad-ja-plaanid #rightcolumn.span4 .custom >div > div .mapster_el{
    top: 0 !important;
    position: absolute !important;
    height: 100% !important;
    width: 100% !important;
}
.hinnad-ja-plaanid .span7 > p:first-child{
    margin-top: 10px;
}
.hinnad-ja-plaanid .appartment-nav{
    display: table;
    margin: 80px auto 90px auto;
}
@media screen and (max-width: 767px){
    .hinnad-ja-plaanid .appartment-nav{
        margin: 40px auto 45px auto;
    }
}
.hinnad-ja-plaanid .appartment-nav a{
    font-weight: 700;
    line-height: 1.4;
}
.hinnad-ja-plaanid .appartment-nav .next-apt{
    margin-left: 36px;
}
.hinnad-ja-plaanid .appartment-nav .prev-apt::before, .hinnad-ja-plaanid .appartment-nav .next-apt::after{
    content: '';
    background: url(../images/btn-fwd-bg.png) no-repeat left center;
    background-size: contain;
    height: 11px;
    width: 35px;
    display: inline-block;
    margin-left: 10px;
}

.hinnad-ja-plaanid .appartment-nav .prev-apt::before{
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
    margin-left: 0;
    margin-right: 10px;
}

@media screen and (min-width: 1200px){
    #rightcolumn.contact{
        width: 200px;
    }
}
@media screen and (max-width: 1199px) and (min-width: 980px){
    #main-content.contact-side{
        width: 650px;
    }
    #rightcolumn.contact{
        width: 200px;
    }
    .hinnad-ja-plaanid #main-content, .hinnad-ja-plaanid #main-content .span7{
        width: 560px;
    }
}
@media screen and (max-width: 979px) and (min-width: 768px){
    .hinnad-ja-plaanid #main-content, #main-content{
        width: calc(100% - 45px);
    }
    .hinnad-ja-plaanid #main-content .span7{
        width: calc(100% - 45px);
    }
    .hinnad-ja-plaanid #main-content .span6{
        width: 510px;
    }
    #rightcolumn.contact{
        width: 100%;
    }
    #rightcolumn.contact .custom{
        display: table;
        margin: 0 auto;
    }
    #rightcolumn.contact .custom p{
        display: table-cell;
        vertical-align: middle;
    }
    #rightcolumn.contact .custom p:nth-child(2){
        padding-left: 30px;
    }
}
@media screen and (max-width: 767px){
    .hinnad-ja-plaanid #main-content .span6{
        margin: 30px 0;
    }
    #rightcolumn.contact .custom{
        display: table;
        margin: 0 auto;
    }
}
.siseviimistlus table.decorated tr td{
    vertical-align: top;
}
/* Location */
#location {
    /*background: #fff url(../images/slider_bg.gif) repeat-x 0 100%;*/
}
#location .moduletable {
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 0 40px 0;
}

/* Footer */
#footer {
	background-color: #6e6d6d;
    font-size: 14px;
    /*border-top: 1px solid #ddcdba;*/
}
#footer .moduletable {
    padding: 30px 0 10px 0;
    margin-left: 15px;
}
#footer .moduletable p {
  	font-size: 14px;
  	color: #e9e7e7;
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 0;
}
@media screen and (max-width: 767px){
    #footer .pageauthor{
        float: left;
        width: auto;
        margin-left: 15px;
        padding: 0;
    }
    #footer .moduletable p {
        display: block;
    }
}
#footer .moduletable .custom{
    margin: 0;
}
// #footer .moduletable p a {
//     color: #bfdc3a;
// }
#footer a{
    color: #e9e7e7;
}
#footer a:not([href*='mailto']) {
    opacity: 0.5;
    text-decoration: none;
}
#footer a:hover{
    opacity: 1;
}
.pageauthor {
    color: #e9e7e7;
    font-size: 9px;
    padding: 30px 0 10px 0;
    text-align: right;
    text-transform: uppercase;
}
.pageauthor a {
    color: #f4e7d4;
    text-transform: uppercase;
    // opacity: 0.7;
}
.pageauthor a:hover {
    opacity: 1;
    color: #f4e7d4;
}

/* Typo */
h1, h2, h3, h4, h5 {
  	font-weight: 700;
  	color: #891a23;
  	margin-bottom: 0.5em;
}
h2 {
	font-size: 48px;
    margin-top: 0;
}
h3 {
    font-size: 32px;
}

p {
	margin: 0 0 1em 0;
}

// a {
// 	color: #bfdc3a;
// }
/*a:hover, a:focus {
    // color: #bfdc3a;
    text-decoration: underline;
    background: transparent;
}*/

ul, ol, .table {
    margin-bottom: 1em;
}


.btn-lillev {
    background-image: url(../images/arrow_fwd.png);
    background-position: left center;
    background-repeat: no-repeat;
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    padding-left: 30px;
}
.btn-lillev:hover,
.btn-lillev:focus {
    background-image: url(../images/arrow_fwd.png);
    background-position: left center;
    background-repeat: no-repeat;
    text-decoration: none;
    // color: #bfdc3a;
}
.btn-lillev-small {
    background-color: #FFFFFF;
    background-image: url(../images/btn-fwd-small-bg.png);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    border-color: transparent;
    border-image: none;
    border-radius: 0 0 0 0;
    border-style: solid;
    border-width: 0px;
    box-shadow: none;
    color: #735744;
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    line-height: 120%;
    margin-bottom: 0;
    padding: 10px 35px 10px 0;
    text-align: left;
    text-shadow: none;
    vertical-align: middle;
}
.btn-lillev-small:hover,
.btn-lillev-small:focus {
    background-image: url(../images/btn-fwd-small-hover-bg.png);
    background-repeat: no-repeat;
    color: #6e6e6e;
    text-decoration: none;
    background-position: 100% 50%;
    -webkit-transition: none;
       -moz-transition: none;
         -o-transition: none;
            transition: none;
    background-color: #F5F5F5;
    *background-color: #F5F5F5;
}
.table-hover tbody tr:hover > td .btn-lillev-small {
    background-color: #F5F5F5;
    *background-color: #F5F5F5;
}
table.decorated tr.table_header td {
    border-bottom: 1px solid #DDCDBA;
    font-weight: bold;
}
.btn.active,
.btn:active {
    box-shadow: none;
}

[class^="icon-"], [class*=" icon-"] {
    vertical-align: baseline;
}
.table-hover tbody tr:hover>td .badge-lillev {
    color: #fff;
    background-color: #5c5d5f;
    border-radius: 0;
}
.badge-lillev {
    color: #5c5d5f;
    background-color: #fff;
    border-radius: 0;
}
.label-lillev {
    color: #5c5d5f;
    background-color: #fff;
    font-size: 1.78em;
    line-height: 120%;
    padding: 2px 10px;
}

/* LAYOUT
*********************************************/
.container {
  position: relative;
}

/* Floats */
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.group:before,
.group:after {
  content: "";
  display: table;
}
.group:after {
  clear: both;
}
.ie7 .group {
  zoom: 1;
}

/* Other */
.page-header {
    border-bottom: 0 solid #EEEEEE;
    margin: 0;
    padding-bottom: 0;
}
dt.article-info-term {
	display: none;
}

.map {
    border: 0px solid #DDCDBA;
}
.table-lillev {
    table-layout: fixed;
}
.table-lillev th, .table-lillev td {
    text-align: center;
    vertical-align: middle;
    border-top: 1px solid #F2F2F2;
    word-wrap: break-word;
    padding: 6px;
}
.table-hover tbody tr:hover>td, .table-hover tbody tr:hover>th {
    color: #5c5d5f;
}
/* Media Queries
*********************************************/
/* Retina */
@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
}

/* Landscape phones and down */
@media screen and (max-width: 480px) {
    #header .logo-module h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 24px;
        margin-top: 0;
    }
    h3 {
        font-size: 20px;
    }
    .btn-lillev-small, .btn-lillev-small:hover {
        background-image: none;
        padding: 0;
    }
}
/* Landscape phone to portrait tablet */
@media screen and (max-width: 767px) {
    body {
        padding-right: 0;
        padding-left: 0;
    }
    #header, #navigation-bar, #content, #location, #footer {
        padding-right: 20px;
        padding-left: 20px;
    }
    #header .logo-module h1 {
        letter-spacing: 1px !important;
        margin: 0;
        font-size: 40px;
    }
    .nav-collapse .moduletable_menu {
        margin: 10px 0 0 0;
    }
    #content {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    h2 {
        font-size: 32px;
        margin-top: 0;
    }
    h3 {
        font-size: 24px;
    }
    #rightcolumn .moduletable {
        margin-top: 2em;
        padding-top: 2em;
    }
}
@media screen and (max-width: 979px) {
    .navbar .nav li:not(:last-child) {
        background-image: none;
    }
    .nav-collapse .nav>li>a:hover, .nav-collapse .nav>li>a:focus, .nav-collapse .dropdown-menu a:hover, .nav-collapse .dropdown-menu a:focus {
        background-color: #fff;
        color: #5c5d5f;
        text-decoration: none;
    }
    .navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
        background-color: #fff;
        color: #5c5d5f;
        box-shadow: none;
        text-decoration: none;
    }
}
/* Portrait tablet to landscape and desktop */
@media screen and (min-width: 768px) and (max-width: 979px) {
    .nav-collapse .moduletable_menu {
        margin: 10px 0 0 0;
    }
}
/* Large desktop */
@media screen and (min-width: 1200px) {
    .navbar .nav > li {
        padding-right: 5px;
    }
}

.table-responsive {
  min-height: .01%;
  overflow-x: auto;
}
@media screen and (max-width: 767px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }
  .table-responsive > .table {
    margin-bottom: 0;
  }
  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    white-space: nowrap;
  }
  .table-responsive > .table-bordered {
    border: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }
}