:root {
    --form-field-radius: 32px;
}

body {
    margin: 0 !important;
    /*background-color: #d3da4f;*/
}

.header {
    background-color: #ffffff;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.10);
}

.header .container {
    margin: 0 auto 0 auto;
    padding: 17px 0 15px 0;
}

.header .panel {
    border-bottom: none;
    padding: 14px 0;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
}

.header .panel .item {
    display: inline-flex;
    height: 57px;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    border-radius: var(--form-field-radius);
    border: 2px solid #2a4841;
}

.header .panel .item:hover {
    background-color: #2a4841;
    cursor: pointer;
}

.header .panel .item:hover a{
    color: #ffffff;
}

.header .banner img:nth-child(2){
    width: 150px;
    margin-bottom: 20px;
    margin-left: 100px;
}

.container {
    background-color: transparent;
}

.carta_dettaglio .carta_dettaglio_box > div.front .risposte .logo_ip {
    background-image: url(../images/logoSylviestandard.png);
    background-size: contain;
    background-repeat: no-repeat;
}

body:not(.homeutente) .content {
    background-color: #ffffff;
    padding: 26px 51px;
    border-radius: var(--form-field-radius);
}

input[type=text], select {
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--form-field-radius);
    border: 1px solid #2a4841;
    /*background-color: #F7F7FF;*/
}

input[type=submit] {
    border-radius: var(--form-field-radius);
    background: #d44d29;
    display: inline-flex;
    padding: 8px 16px;
    border: none;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
}

body.login {
    background-color: #20a793;
}

body.login .content{
    margin: 8rem 0;
    background-color: transparent;
}

.login-form {
    background-color: #ffffff;
    margin: 2rem auto;
    border-radius: 16px;
}

.login h2{
    color: #FFFfff;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
}

.login-form h3 {
    color: #2a4841;
    font-family: Work Sans;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.login-form input {
    border-radius: var(--form-field-radius);
}

.login-form input[type=submit] {
    border-radius: var(--form-field-radius);
    justify-content: center;
    background-color: #d44d29;
}

.login-form input[type=submit]:hover {
    color: white;
    background-color: #d44d29;
}

body.homeutente .colsx {
    background-color: #ffffff;
    padding: 26px 50px 42px 51px;
    border-radius: var(--form-field-radius);
    width: 66%;
    margin-right: 4%;
}

body.homeutente .coldx {
    background-color: #ffffff;
    border-radius: var(--form-field-radius);
    padding-top: 0;
}

body.homeutente .coldx .link_gioco a{
    border-radius: var(--form-field-radius);
    border: none;
    margin-bottom: 0;
    padding: 24px 40px 40px 40px;
}

body.homeutente .coldx .link_gioco a:hover{
    border-radius: var(--form-field-radius);
}

body.homeutente .content .link_gioco img {
    width: 100%;
}

body .backend h2{
    font-size: 24px;
    margin: 10px 0;
}

body .content.backend .colsx a {
    color: #2a4841;
}

body.homeadmin .content.backend .colsx a {
    text-decoration: underline;
    padding: 16px 0;
}


body.compila_test .colsx{
    width: 100%;
    margin: 0;
}

body.compila_test input[type=button]{
    border-radius: var(--form-field-radius);
    border: 1px solid #FFF;
    padding: 8px 16px;
    background-color: #2a4841;
    color: #ffffff;
    cursor: pointer;
    margin: 10px 0;
}

body.compila_test .actions input[type=button]{
    border-radius: var(--form-field-radius);
    border: 1px solid #2a4841;
    padding: 8px 16px;
    background-color: #ffffff;
    color: #2a4841;
    cursor: pointer;
    margin: 0;
}

body.compila_test .actions input[type=button]:hover{
    border: 1px solid #FFF;
    background: #2a4841;
    color: #ffffff;
}

body.compila_test table td{
    padding: 20px 0;
}

body.compila_test table td:first-child{
    min-width: 50px;
}

body.compila_test table th{
    text-align: left;
    padding-bottom: 10px;
}

body.compila_test table tr{
    border-bottom: 2px solid #F7F7FF;
}

body.new_utente input[type=submit],
body.visualizza_utente input[type=submit]{
    border-radius: var(--form-field-radius);
    border: 1px solid #FFF;
    padding: 8px 16px;
    background-color: #2a4841;
    color: #ffffff;
    cursor: pointer;
    margin: 10px 0;
    justify-content: center;
}

.table-grid {
    width: 100%;
}

.table-grid tbody{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table-grid tr{
    display: flex;
    flex-direction: column;
}

.table-grid tbody td{
    border-bottom: none !important;
}

.table-grid td input, .table-grid td select{
    width: 90%;
}

.content.backend .colsx table thead th{
    font-weight: bold;
}

.content.backend .colsx table:not(.table-grid) td{
    padding: 10px 0;
}

.footer-back-to {
    background-color: #ffffff;
    color: #2a4841;
    display: inline-flex;
    height: 40px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    border-radius: var(--form-field-radius);
    border: 1px solid #2a4841;
    margin-bottom: 25px;
    margin-top: -15px;
    font-size: 15px;
}

.footer {
    border-top: none;
}

.visualizza_test {

}

.answer_box {
    display: flex;
    width: 100px;
    padding: 8px 16px;
    justify-content: center;
    border: 1px solid #2a4841;
    border-radius: var(--form-field-radius);
}

.answer_box_yes {
    background-color: #2a4841;
    color: #ffffff;
}

.content .profili .profilo img {
    border: none;
}

.content .link_gioco a span {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.link_risultati a {
    border: none !important; 
}

.home_risultato .content .profili .profilo {
    font-size: 14px;
    font-weight: normal;
}

.home_risultato .content .profili .profilo h2{
    font-weight: bold;
}

.content .link_risultati a:hover {
    border-radius: var(--form-field-radius);
}

.text_footer {
    color:#2a4841;
    text-align: center;
}
.text_footer a {
    color:#2a4841;
}
.login .text_footer {
    color:#fff;
}
.login .text_footer a{
    color:#fff !important;
}

a {
    color:#2a4841;
}
a :hover {
    color:#2a4841;
}