form > div {
    padding: 0.5em;
    margin: 0.2em;
    width: 100%
}

.property {
    border: thin solid #c1c1c1;
    margin: 0.5em;
    border-radius: 5px;
}

.field {
    width: 97%;
    border-radius: 10px;
    display: inline-block;
}

.inner_item {
    vertical-align: top;
    display: inline-block;
    width: 90%;
}

.inner_item > input:read-only, .new_term {
    width: 20%;
    margin: 0.5em;
    height: 2em;
    vertical-align: middle;
    background-color: #f3f3f3;
    border: thin solid #3d3d3d;
    border-radius: 5px;
}

.inner_item > input[type=submit] {
    font-size: 12px;
    padding: .5em 2em .5em 2em;
    width: 20%;
    text-align: center;
    white-space: normal;
    height: fit-content;
    min-height: 2em;
    border-radius: 5px;
    border-color: transparent;
	box-shadow: 1px 1px 1px 1px #888888;
    cursor: pointer;
    transition: 0.5s;
    background-color: #c1c1c1;
}

.inner_item > input[type=submit]:hover {
    background-color: #3d3d3d;
    color: white;
}

.addfield, .removefield {
    right: 0%;
    cursor: pointer;
    padding: .5em;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    border-radius: 20%;
    border: solid 3px #3d3d3d;
    width: 3%;
    background-color: white;
    transition: 0.5s;
}

.addfield:hover, .removefield:hover {
    font-weight: unset;
    border-radius: 5px;
    background-color: #3d3d3d;
    color: white;
}

/* .addfield:hover:before {
    font-size: 12px;
    content: "Aggiungi";
}

.removefield:hover:before {
    font-size: 12px;
    content: "Rimuovi";
} */

.resetitem {
    border-radius: 0px 10px 10px 0px;
    width: 12%;
}

.showitem {
    border-radius: 10px 0px 0px 10px;
    width: 18%;
}

.inner_item > span {
    color: white;
    cursor: pointer;
	box-shadow: 1px 1px 1px 1px #888888;
    background-color: #7e7e7e;
    border-color: transparent;
    text-align: center;
    margin: .5em;
    font-size: 12px;
    height: 35%;
    position: relative;
    padding: .5em;
    display: inline-block;
    transition: 0.5s;
}

.inner_item > span:hover {
    color: white;
    background-color: #3d3d3d;
}

.inner_item > div > select {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    border-radius: 10px;
    border-color: transparent;
    height: 3em;
    background-color: #eeeeee;
    color: black;
    cursor: pointer;
    padding: 0.5em;
}

.inside_item > div > .property {
    border: none;
    padding: 2%;
    margin: 0 auto;
}

.inside_item {
    border: thin solid #888888;
    border-radius: 10px;
    background-color: #f6f6f6;
    margin-left: 5%;
}

.field > input[type=text], .field > textarea, .field > input[type=date], .field > input[type=time] {
    width: 80%;
    height: 1.5em;
    border: thin solid #3d3d3d;
    border-radius: 5px;
    padding: .5em;
    margin-right: 2%;
}

.field > textarea {
    width: 90%;
    height: 3.5em;
    display: block;
    float: left;
    left: 0 auto;
}

.field > select {
    width: 83%;
    margin: 0 auto;
    margin-right: 2%;
    border-radius: 10px;
    border: thin solid #3d3d3d;
    background-color: white;
    height: 3em;
    color: black;
    cursor: pointer;
    padding: 0.5em;
}

.import, .modify, .cancel, .save_confirm, .addterm, .copy, #submit_form, #save_form {
    border-radius: 10px;
    height: 2.5em;
    margin: 1em;
    padding: .5em;
    box-shadow: 1px 1px 1px 1px #888888;
    background-color: #7e7e7e;
    cursor: pointer;
    transition: 0.5s;
    color: white;
}

.import:hover, .modify:hover, .cancel:hover, .save_confirm:hover, .addterm:hover, .copy:hover, #submit_form:hover, #save_form:hover {
    background-color: #3d3d3d;
    color: white;
}
