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

.form{
    /*width: 100%;*/
    background-color: #252525;
    border-radius: 25px;
    padding: 1em;
    margin-bottom: 1em;
}

div.form{
    margin-bottom: 1em;
}

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

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

.inline-row{
    display: flex;
    width: 100%;
    font-size: 150%;
    height: 1.5rem;
    flex-direction: row-reverse;
}

.form-items h2, .form-items h3{
    display: block;
    font-size: 110%;
    margin: 1rem 0;
    font-weight: bold;
    width: 100%;
    float: left;
}

.form-items h2{
    font-size: 120%;
}

.label{
    width: 100%;
}

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

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

.item{
    width: 100%;
}

.form-items{
    display: block;
}

.inline-row label{
    flex: 1;
    align-self: center;
}

.inline-row input{
    align-self: center;
    margin-right: 0.5rem;
}


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

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

select{
    background-color: #484848;
    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 #fff;
        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{
        min-width: 325px;
        /*float: left;*/
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="password"]{
        height: 100%;
        width: 303px;
        border: 1px solid #fff;
        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: #484848;
    }
    
    select{
       height: 100%;
        width: 303px;
        border: 1px solid #fff;
        margin: 0;
        height: 26px;
        padding: 4px 10px;
        font-size: 20px;
        box-sizing: content-box;
    }
    
    select:focus{
        outline: none;
        border-color: #484848;
    }
    
}

body.dialog-open{
    position: fixed;
    overflow: hidden;
    z-index: 1;
}

#delete-dialog{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
    background-color: #141414;
    opacity: 1;
    z-index: 2;
    display: none;
}

#delete-dialog.dialog-open{
    display: block;
}

#delete-dialog .dialog-inner{
    background-color: #252525;
    padding: 1em;
    
    width: 50%;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-60%);
    z-index: 3;
}

#delete-dialog .dialog-inner header{
    color: #ededed;
}

.domainadmin{
    margin-top: 1.5rem;
}