/* 
    Created on : 01.03.2018, 10:12:50
    Author     : ralf
*/

.form{
    width: 100%;
}

.row{
    width: 90%;
    height: 5em;
    margin: 0 auto;
    margin-bottom: 1em;
}

.row:last-child{
    margin-bottom: 0;
}

.inline-row{
    display: block;
    float: left;
    width: 100%;
    height: 1.5em;
    font-size: 150%;
}

.label{
    width: 100%;
}

.label label{
    line-height: 2em;
    font-size: 100%;
}

.label label.xl{
    font-size: 130%;
}

.item{
    width: 100%;
}

.inline-row label{
    display: inline-block;
    line-height: 150%;
    font-size: 75%;
}

.inline-row input{
    float: left;
    margin-right: 1em;
    padding-top: 50%;
    padding-bottom: 50%;
    height: 100%;
    
}


input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"]{
    height: 100%;
    width: calc(100% - 1em);
    border: 1px solid #000;
    margin: 0;
    height: 1em;
    padding: 0.5em;
    font-size: 1em;
    box-sizing: content-box;
    border-radius: 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus{
    outline: none;
    border-color: #4346FF;
}

select{
    background-color: #4346FF;
    color: #fff;
    padding: 5px 2px;
    width: calc(100% - 1em);
}

@media screen and (max-width: 750px) and (orientation: landscape) {}
@media screen and (min-width: 751px) and (max-width: 1024px){
    
    .label{
        width: 25%;
        float: left;
    }
    
    .item{
        width: 75%;
        float: left;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="password"]{
        height: 100%;
        width: calc(100% - 1em);
        border: 1px solid #000;
        margin: 0;
        height: 2em;
        padding: 0.5em;
        font-size: 1em;
        box-sizing: content-box;
        border-radius: 0;
    }
}
@media screen and (min-width: 751px) and (max-width: 1024x) and (orientation: landscape) {}
@media screen and (min-width: 1025px){
    
    .form{
        width: 500px;
        margin: 0 auto;
    }

    .row{
        width: 100%;
        height: 36px;
        margin-bottom: 25px;
    }

    .row:last-child{
        margin-bottom: 0;
    }

    .label{
        width: 175px;
        float: left;
    }

    .label label{
        line-height: 36px;
        font-size: 100%;
    }
    
    .label label.xl{
        line-height: 36px;
        font-size: 130%;
    }

    .item{
        width: 325px;
        float: left;
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="password"]{
        height: 100%;
        width: 303px;
        border: 1px solid #000;
        margin: 0;
        height: 26px;
        padding: 4px 10px;
        font-size: 20px;
        box-sizing: content-box;
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="number"]:focus,
    input[type="password"]:focus{
        outline: none;
        border-color: #4346FF;
    }
    
    select{
       height: 100%;
        width: 303px;
        border: 1px solid #000;
        margin: 0;
        height: 26px;
        padding: 4px 10px;
        font-size: 20px;
        box-sizing: content-box;
    }
    
    select:focus{
        outline: none;
        border-color: #4346FF;
    }
    
}