@color: #2b9189; //#21716b
@link-color: lighten(@color, 5%);
@keyframes change {
    0% { opacity: 0;}   
    100% {opacity: 1;}
}
html,body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
}
a, p, span {
    font-family: 'Raleway', sans-serif;
    color: #000000;
    margin: 0;
    &:hover, &:active {
        text-decoration: none;
    }
}
ul{
    li{
        list-style-type: none;
    }
}
h1, h2, h3, h4, h5 {
    color: @color;
    padding-bottom: 10px;
}
a:hover {
    color: @link-color;
}
strong {
    color: @color;
}
header{
    z-index: 99;
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.4);
    border-bottom: 1px solid #000000;
    .logo {
        height: 100%;
        float: left;
        img{
            height: 100%;
            padding: 5px 0;
        }
    }
    nav{
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        a{
            height: 100%;
            p{
                font-size: 1.1em;
                text-transform: uppercase;
                font-weight: bold;
                margin: 0;
                padding: 15px 20px;
                color: @color;
            }
            &:hover{
                background: @color;
                p{
                    color: #ffffff;
                }
            }
        }
    }
    .sprachauswahl {
        height: 100%;
        .flagge {
            width: auto;
            height: 100%;
            padding: 10px;
            float: right;
            img{
                height: 100%;
            }
        }
    }
    @media (max-width: 768px){
        height: 100px;
        & > *{
            height: 50% !important;
        }
    }
}

.sprache{
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 99;
    height: 80px;
    width: 80px;
    border-radius: 100%;
    background-color: @color;
    img{
        padding: 25px 15px;
        height: 80px;
    }
}

.page { 
    width: 100%;
    padding: 50px 0;
    min-height: calc(~"100% - 200px");
    .company{
        padding: 50px 0 70px;
        .image-container{
            @media(max-width: 992px){
                margin-bottom: 30px;
            }
        }
    }
    .maschinenauswahl {
        background: #f5f5f5;
        padding:  50px 0 70px;
        .maschinensuche{
            .list-group {
                display: none;
                margin-bottom: 0px;
                animation: change 0.7s ease-out;
                border: 1px solid #cccccc;
                padding:  10px 20px;
                margin-top: 30px;
                .list-group-item {
                    z-index: 1;
                    border: 0;
                    background: none;
                    position: relative;
                    &:last-child {
                        border: none;
                    }
                    &:hover {
                        color: @color;
                        transition: all ease-in 0.2s;
                        &:not([data-kategorie="Zurück"]):before{
                            left: 3px;
                        }
                        &[data-kategorie="Zurück"]:before{
                            left: -3px;
                        }
                    }
                    &:not([data-kategorie="Zurück"]):before{
                        position: absolute;
                        top: 13px;
                        left: -3px;
                        font-family: 'Glyphicons Halflings';
                        font-style: normal;
                        font-weight: 400;
                        line-height: 1;
                        -webkit-font-smoothing: antialiased;
                        -moz-osx-font-smoothing: grayscale;
                        content: "\e250";
                        transition: left ease .4s;
                    }
                    &[data-kategorie="Zurück"]:before{
                        position: absolute;
                        top: 13px;
                        left: 3px;
                        font-family: 'Glyphicons Halflings';
                        font-style: normal;
                        font-weight: 400;
                        line-height: 1;
                        -webkit-font-smoothing: antialiased;
                        -moz-osx-font-smoothing: grayscale;
                        content: "\e257";
                        transition: left ease .4s;
                    }
                }
            }
            .active {
                display: block;
            }
        }
    }

    .maschinenliste {
        width: 100%;
        margin: 0;
        padding:  30px 50px 0;
        #pfad {
            display: none;
            background: transparent;
            li{
                color: @color;
            }
        }
        #ergebnisse{
            margin: 0;
            display: -webkit-flex;
            display: -ms-flex;
            display: flex;
            -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            .maschine {
                border: 1px solid #cccccc;
                padding: 10px;
                margin: 10px;
                position: relative;
                .maschine-image {
                    margin-bottom: 40px;
                }
                .name{
                    position: absolute;
                    bottom: 10px;
                    left: 0;
                    right: 0;
                }
                &:hover {
                    cursor: pointer;
                    border: 1px solid #555555;
                }
            }
            //Optimierung der Vorschläge mittels Abständen
            @media (max-width: 768px) {
                .col-xs-12 {
                    width: calc(~"100% - 20px");
                }
            }
            @media (min-width: 768px) {
                .col-sm-6 {
                    width: calc(~"50% - 20px");
                }
            }
            @media (min-width: 992px) {
                .col-md-4 {
                    width: calc(~"33.33333333% - 20px");
                }
            }
            @media (min-width: 1200px) {
                .col-lg-3 {
                    width: calc(~"25% - 20px");
                }
            }
        }
    }
}

.borderless {
    border: none !important;
    td {
        border:none !important;
    }
}

.kontakt{
    padding: 50px 0 100px;
    h2, p{
       text-align: center;
    }
    form{
        padding-top: 20px;

        input, textarea{
            color: #ffffff;
        }
    }
    
}

form{
    textarea {
        max-width: 100%;
        height: 132px!important;
    }
    .btn {
        float: right;
        padding: 6px 40px;
        background-color: transparent;
        border-color: #000000;
        border-radius: 0;
        background-color: @color;
        color: #ffffff;
        border: none;
        &:hover, &:active, &:focus, &:active:focus{
            background-color: darken(@color, 15);
        }
        &:hover:disabled{
            background-color: @color;
            color: #ffffff;
        }
    }
    .form-control{
        border-radius: 0;
        background: @color;
        color: #ffffff;
        &::placeholder {
            color: #ffffff;
            opacity: 1;
        }
        &::-webkit-input-placeholder, &:-ms-input-placeholder, &::-ms-input-placeholder {
            color: #ffffff;
        }
        
    }
    #modal_subject {
        color: #000000;
    }
    .check-container {
        display: block;
        position: relative;
        margin-bottom: 12px;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        font-size: 16px;
        br{
            display: none;
        }
        input[type='checkbox']{
            position: relative;
            margin-right: 5px;
            &:after{
                content: '';
                display: inline-block;
                position: absolute;
                z-index: 1;
                top: 0;
                left: -2px;
                width: 15px;
                height: 15px;
                border: 1.5px solid #555555;
                background-color: #ffffff;
            }
            &:checked{
                &:after{
                    border: 1.5px solid @color;
                }
                &:before{
                    content: '';
                    display: inline-block;
                    position: absolute;
                    z-index: 2;
                    top: -2px;
                    left: 3px;
                    width: 8px;
                    height: 14px;
                    border: solid @color;
                    border-width: 0 3px 3px 0;
                    -webkit-transform: rotate(45deg);
                    -ms-transform: rotate(45deg);
                    transform: rotate(45deg);
                }
            }
        }
    }
}

.modal{
    .close{
    font-size: 30px;
}
    h4.modal-title{
        float: left;
    }
    .print{
        font-size: 20px;
        margin-left: 10px;
        &:hover{
            color: @color;
        }
    }
    .carousel-control{
        span{
            color: #ededed;
        }
    }
}

footer {
    padding: 20px;
    ul{
        padding: 0;
    }
}