h2{
    color: black;
    display: inline-block;
    font-family: Titillium Web, sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0.5rem 1rem 0rem 1rem;
}

.err_campi, .error{
    color: crimson;
    font-size: 2vw;
}

main{
    height: 50%;
    margin-top: 1%;
    display: flex;
    padding-left: 1rem;
    padding-top: 1rem;
    background-color: #d1e7ff;
    background-image: url("/MSX_CONNECTOR_V3.png");
    background-position: 90% 50%;
    background-repeat: no-repeat;
    background-size: 45%;
    /* background: linear-gradient(to right, #d1e7ff, white); */
    /* border-bottom: #26272d;
    border-top: #26272d;
    border-style:ridge;
    border-width: 4px;
    border-radius: 6px; */
}

form{
    margin-right: 10px;
}

label{
    height: 13%;
    margin-bottom: 0.2rem;
    position: relative;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    border-color: #00264d;
    background-color: #66a5e3;
    padding: 0 1rem;
}

#jsErrors label{
    font-size: 2vw;
    color: crimson;
    height: 65px;
    border-style: none;
    background-color: initial;
    padding: 0;
}

#details label{
    font-size: 2vw;
    color: rgb(80, 20, 220);
    height: 65px;
    border-style: none;
    background-color: initial;
    padding: 0;
}

.comments{
    font-size: 2vw;
    color: rgb(80, 20, 220);
}

input,select{
    margin: 20px;
}

input{
    width: 10vw;
}

label[for=submit],label[for=checkbox]{
    border: none;
    background-color: initial;
}

input[type=submit],input[type=checkbox]{
    margin: 0.5rem 0.5rem 0 0;
    width: 6.5rem;
    color: white;
    text-align:right;
    padding: 0.4rem;
    padding-right: 6%;
    border: 0;
    background-image: url("/accedi.png");
    background-color: #0066cc;
    background-size: 22%;
    background-position: 5% 45%;
    background-repeat: no-repeat;
    font-family: Titillium Web;
}

input[type=checkbox]{
    width: 3rem;
    height: 1rem;
    margin-bottom: 0.5rem;
}

input[type=submit]{
    position: absolute;
}

input[type=submit]:hover{
    background-color: #004080;
    cursor: pointer;
}

#IPcontainer{
    margin-left: 25px;
    margin-right: 25px;
    color: black;
    font-size: 2rem;
}

.IP_input{
    margin-left:-7px;
    margin-right:-7px;
    width: 2.5vw;
}

#code{
    margin: 0;
}

#check_code{
    border-radius: 2px;
    margin: 0 1rem;
    width: fit-content;
    color: white;
    padding: 0 0.4rem;
    border: 0;
    background-color: #0066cc;
    font-family: Titillium Web;
}

#check_code:hover{
    background-color: #004080;
    cursor: pointer;
}

#send_code{
    border-radius: 2px;
    width: fit-content;
    color: white;
    padding: 0.2rem 0.4rem;
    border: 0;
    background-color: #0066cc;
    font-family: Titillium Web;
}

#send_code:hover{
    background-color: #004080;
    cursor: pointer;
}

/* .firstIP{
    margin-left: 20px;
}

.lastIP{

} */

.formtitle {
    font-size: 1.2rem;
}

.add_img{
    position: absolute;
    height: 2rem;
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% + 1rem);
}

.add_img:hover{
    cursor: pointer;
}