:root {
    --culoareVerde: #289901;
    --culoarePortocaliu: #ff6633;
}

body {
    margin: 0px;
    font-family: "Arial Rounded MT Bold", Arial, Helvetica, sans-serif;
}

main {
    background-color: #f3f3f4;
    border-style: solid;
    border-width: 1px;
    border-color: #e5e5e6;
    height: auto;
    flex-grow: 1;
    box-shadow: 0px 3px 5px #aaa;
}

section {
    background-color: #ffffff;
    min-height: 80%;
    border-style: solid;
    border-width: 1px;
    border-color: #d7d7d9;
    padding: 10px;
    flex-grow: 1;
    box-shadow: 0px 0px 10px 0px #ccc;
}

section h1 {
    padding-left: 30px;
    font-size: 1.5em;
}

section h2 {
    padding-left: 40px;
    font-size: 1em;
}

section fieldset {
    text-align: center;
    vertical-align: top;
    display: inline-block;
    padding: 10px 50px 10px 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #e5e5e6;
    border-radius: 20px;
    font-size: 14px;
}

section label {
    display: inline-block;
    width: 100px;
    text-align: right;
    font-weight: bold;
}

section input {
    margin: 3px;
    padding: 5px;
    display: inline-block;
    border-radius: 5px;
    width: 150px;
    border-style: solid;
    border-width: 1px;
    border-color: #40465a;
}

section input:hover {
    border-color: var(--culoareVerde);
}

section input:focus {
    border-color: var(--culoarePortocaliu);
    outline: none;
}
section select {
    margin: 3px;
    padding: 5px;
    display: inline-block;
    border-radius: 5px;
    width: 162px;
    border-style: solid;
    border-width: 1px;
    border-color: #40465a;
}

#captcha {
    cursor: pointer;
}

header {
    background-color: #ffffff;
    display: block;
    border-style: solid;
    border-width: 1px;
    border-color: #e5e5e6;
}

header #infoLogin {
    float: right;
    margin-right: 30px;
}

header #infoLogin a,
.btn {
    display: inline-block;
    width: auto;
    background-color: var(--culoarePortocaliu);
    text-align: center;
    text-decoration: none;
    padding: 0px 25px 0px 25px;
    margin-top: 10px;
    margin-left: 5px;
    line-height: 30px;
    font-weight: bold;
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

header #infoLogin a:hover,
.btn:hover {
    background-color: var(--culoareVerde);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

form input.error {
    background-color: #f0b0b0;
    border-style: solid;
    border-width: 2px;
    border-color: #f00;
}

form div.error {
    font-size: 10px;
    color: #a00;
    font-weight: bold;
    text-align: right;
}

.error {
    color: #a00;
    font-weight: bold;
}

.ok {
    color: #0a0;
    font-weight: bold;
}

section a, a:visited {
    font-weight: bold;
    color: var(--culoarePortocaliu);
    text-decoration: none;
    transition: color 0.3s, color 0.3s;
}

section a:hover {
    color: #289901;
    text-decoration: underline;
    transition: color 0.3s, color 0.3s;
}

.tabel {
    display: table;
    width: 100%;
    font-size: 14px;
}

.randTabel {
    display: table-row;
}

.capTabel {
    font-weight: bold;
}

.randTabel:hover {
    background-color: #f9f9f9;
}

.celulaTabel {
    display: table-cell;
    padding: 5px 10px 5px 10px;
    border-bottom: 1px solid #eee;
}
.rebootBtn{
    display: inline-block;
    background-image: url('/resurse/imagini/template/restartGri.png');
    background-position: center center;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    vertical-align: middle;
}
.rebootBtn:hover{
    background-image: url('/resurse/imagini/template/restartVerde.png');
}
.rebootBtnON{
    background-image: url('/resurse/imagini/template/restartRosu.png');
}
.rotateBtn{
    display: inline-block;
    background-image: url('/resurse/imagini/template/rotate.png');
    background-position: center center;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    vertical-align: middle;
}
.rotateBtn:hover{
    background-image: url('/resurse/imagini/template/rotateOn.png');
}

/* Conditionate */

@media screen and (min-width:800px) {
    #wrap {
        padding: 30px;
        display: flex;
        flex-wrap: nowrap;
        width: 80%;
        min-width: 750px;
        min-height: 90vh;
    }

    header {
        border-top-right-radius: 20px;
        height: 50px;
    }
    section {
        margin: 30px;
    }
    main{
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }
}

@media screen and (max-width:799px) {
    #wrap {
        display: block;
    }

    .mobilAscuns {
        display: none;
    }

    header {
        height: 40px;
    }
    section {
        margin: 5px;
    }

}

#wrap {
    margin: 0 auto;
    position: relative;
}