  
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 19px;
}

.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;*/
}
.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);
}

.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;
}

.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;
}


/* 16:9 responsive container */
.video-wrap {
    position: relative;
    width: 100%;
    max-width: 880px;      /* optional: limit width on large screens */
    aspect-ratio: 16 / 9;  /* modern browsers */
    background: #000;      /* avoids white flash while loading */
    border-radius: 0px;   /* optional rounding */
    overflow: hidden;
}
.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Login layout, desktop + tablet ===== */

.loginRow {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 15px;
    background-image: url('./../images/Visionfy350k-87-blur.webp');
    background-size: cover;
    background-position: center center;
}

.loginRow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(24, 26, 74, 0.75);
}

/* Valkoinen kortti */
.loginCard {
    position: relative;
    background: #ffffff;
    max-width: 440px;
    width: 100%;
    padding: 30px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.25);
    font-size: 14px;
}

.loginCard H1 {
    font-weight: 800;
    margin: 0px;
}
.loginCard p {
    font-family: "Libre Baskerville";
    font-size: 13px;
}

.loginCard .form-group label {
    font-weight: 800;
    color: #242D58;
}

.loginCard .form-control {
    height: 40px;
    border-radius: 0;
    box-shadow: none;
    border-color: #E1E1E1;
    background-color: #5762821F;
}

@media (max-width: 450px) {
    .loginRow {
        padding: 15px;
    }
    .loginCard {
        padding: 15px;
    }
}
