html,
body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    outline: none!important;
    text-decoration: none!important;
    background-color: #F5F5F5;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}
.container {
    max-width: 1600px;
    width: 100%;
}

.wrap > .container {
    padding: 80px 10px 20px;
}

.footer {
    height: 60px;
    color: white;
    background-color: #000000;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.navbar-default {
    background-color:#242D58;
    border-color: #e7e7e7;
}

.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a:hover {
    color:white;
    text-transform:uppercase
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color:white;
    background-color:#576282;
}



/* Buttons */
.btn-lg{
    font-size: 15px;
}

.btn {
    border-radius: 0;
}
.btn:hover, .btn:focus, .btn.focus.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: 0;
    /*
    background-color: #FFD384;
    border-color: #FFD384;
    color: #242D58;
    */
}

.btn:hover, .btn:active {
    opacity: 0.85;
    scale:1.03;
}

.btn-primary{
    background-color: #242D58!important;
    border: none!important;
}
.btn-success{
    background-color: #FFD384!important;
    border-color: #FFD384!important;
    color: #242D58!important;
}
.btn-default, .btn-default:hover {
    color: #242D58;
    background-color: #fff;
    border-color: #242D58;
}

h1{
    font-weight: 600;
    color:#242D58;
}
/*
h2, h3, h4, label{
    font-weight: 600;
    color:#242D58;
    text-transform: uppercase;
}
*/
th, th a {
    font-weight: 600;
    color:#242D58;
    text-transform: uppercase;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #242D58;
    border-radius: 0;
}
input, .form-control, .kv-container-to > .form-control{
    border-radius: 0!important;
}
/*
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-right: 1px;
    vertical-align: middle;
    border-top: 0;
    background: white;
}
*/
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-right: 1px;
    vertical-align: middle;
    border-top: 0;
}
.table > thead > tr > th {
    vertical-align: middle;
    border-bottom: 0px solid #242D58;
    border-top: 1px solid #242D58;
}

.img-logo{
    margin-top: -7px;
    height: 34px;
    width: auto;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #242D58;
    border-color: #242D58;
}


.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 0px solid transparent;
    border-radius: 0px;
    /* -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); */
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.panel-primary, .panel-primary > .panel-heading {
    color: #ffffff;
    /*background-color: #242D58;*/
    border-color: #242D58;
    border-radius: 0;
}
.panel-primary > .panel-heading {
    color: #ffffff;
    background-color: #242D58;
}
.panel-heading > h4 {
    color: #ffffff;
}

hr {
    border-color: #576282;
}

.projektit-form div{
    padding-left: 0px;
}  
input#projektit-visible_housesearch {
    width: 15px; height: 15px;
}
#houseSearch .required {
    float: none; display: inline-block; vertical-align: top;
}

.nav-tabs {
    border-bottom: 0px solid #ddd;
}

.scaledIcon{
    scale: 1.5;
    margin-right: 2px;
}

.borderBtn{
    border: 1px solid #7A7A7A;
    color: #7A7A7A;
    margin-right: 10px;
    background-color: transparent;
}
.active button.borderBtn {
    color: black;
    border-color: black;
}
a, .pagination > li > a, .pagination > li > span {
    color: #242D58;
    /*text-decoration: underline;*/
}
.loginForm{
    margin-top: 25%;
}
.form-control:focus {
    border-color: rgb(255, 211, 132);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 211, 132, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 211, 132, 0.6);
}

.loginInfo{
    background: #fff/*#242d5850*/;
    height: 100%;
    min-height: 95vh;
}
.loginRow{
    margin-top: -30px;
    margin-right: -10px;
    margin-left: -10px;
    margin-bottom: -20px;
    display: flex;
    flex-flow: row wrap;
    min-width: 0;
}
.container:has(.loginRow){
    max-width: 3000px;
}

.navbar-fixed-top {
    top: 0;
    border-width: 0 0 0px;
}
.carousel-control.left, .carousel-control.right {
    background: none;
}
#my-slides{
    margin: auto;
    margin-top: 50px;
    min-height: 500px;
}
/*
.carousel-inner {
    width: 70%;
    left: 15%;
}
*/
.carousel-inner > .item > img {
    position: relative;
    width: 70%;
    left: 15%;
    margin-bottom: 40px;
}
.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next {
    width: 30px;
    height: 30px;
    margin-top: -10px;
    font-size: 90px;
    color: #838383;
}

.slidesHeader{
    color:#C09395;
    margin-left: 25%;
    margin-right: 25%;
    font-weight: 800;
    text-transform: none;
}
.slidesText{
    color:#242D58;
    font-size: 18px;
    padding-bottom: 50px;
}
@media (max-width: 1199px) {
    .slidesHeader{
        margin-left: 10%;
        margin-right: 10%;
        font-weight: 800;
    }
    
    .loginInfo{
        min-height: 50vh;
    }
    .carousel-inner > .item > img {
        position: relative;
        width: 92%;
        left: 4%;
        margin-bottom: 40px;
    }
    .loginForm{
        margin-top: 0;
    }
    .loginCompanyLogo{
        display: none;
    }
}

.imgThumbOld{
    width: 450px;
    scale: 1.8;
    display: inline-block;
    overflow: hidden;
}
.imgThumb{
        width: 100%;
        scale: 1.3;
        display: inline-block;
        overflow: hidden;
}
.placeHolderThumb{
    width: 100%;
    height: 269px;
    scale: 0.8;
    color: #ababab;
}
.thumbHolder{
        padding: 0;
        overflow: hidden;
        max-width: 600px;

}


td {
    overflow: hidden;
}

/*
@media (max-width: 1000px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
  }
*/