﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
.griditablecell {
    vertical-align: top;
}
/* leveä input */
.levea_input {
    width: 500px !important;
    max-width: 500px !important;
}
.ddl_input {
    max-width: 280px !important;
    width: 100% !important;
}
.kuva_input {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.vasen_td {
    padding-right:5%;
    display:inline-block;

}
.oikea_td {
    display:inline-block;
    max-width:70%;
    width:70%;
    height:510px;
    vertical-align:top;
}

.Wrapperi {
    border-radius:0.5rem;
    box-shadow: 0 0.5rem 1rem 0 rgb(0 0 0 / 10%);
}

span.e-searchitem {
    display: none !important;
}
.FileUploadPainike {
    border: solid 1px #ced4da;
    border-radius: 5px;
    background: #e9ecef;
    height: 35px;
    line-height: 35px;
    text-align: center;
    width: 150px;
    cursor: pointer;
    margin-right: 12px;
}

#fileUploadContainer {
    margin-top: 1rem;
}

/*Asetetaan gridiin custom ikonien "kuvat" */
.Kalibroi {
    background-image: url("../Resources/img/kalibrointiIcon.png") !important;
    background-size: 20px 20px !important;
    background-position: center !important;
}
.Huolla {
    background-image: url("../Resources/img/huoltIcon.png") !important;
    background-size: 20px 20px !important;
    background-position: center !important;
}
.UusiLaite {
    background-image: url("../Resources/img/plus_icon-icons.com_70890.png") !important;
    background-size: 20px 20px !important;
    background-position: center !important;
}
.Muokkaa {
    background-image: url("../Resources/img/353430-checkbox-edit-pen-pencil_107516.png") !important;
    background-size: 20px 20px !important;
    background-position: center !important;
}

/* Flex-grid css*/
.lista {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    margin-bottom:16px;
}
.flex-grid {
    display:flex;
    justify-content:space-between;
    flex-direction:column;
}
.otsikko {
    font-weight: bold;
    background-color: white;
}
.rivi {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: 1px solid #ddd;
    padding: 0.5em 1em;    
}
    .rivi > div {
        flex: 2;
    }

    .rivi + .rivi {
        border-top: 0px;
    }

    .rivi:nth-child(2n) {
        background-color: whitesmoke;
    }

.dd-itemi {
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
}
.btn-harmaa {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ccc;
}

.eiOutline:focus {
    outline: none !important;
    border-color: #ccc;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 1000px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}
.container {
    overflow: hidden;
}

.column {
    float: left;
    margin: 20px;
    background-color: grey;
    padding-bottom: 100%;
    margin-bottom: -100%;
}

/*Responsive: pienempi kuin 768*/
@media screen and (max-width: 600px)
{
    .levea_input {
        min-width: 300px !important;
        width: 100% !important;
    }
    #bodyContent {
        width:100% !important;
    }
    .e-responisveCustomFilter {
        display: none !important;
    }
}
