/*
Theme Name: Indaweb Child
Description: Tema child per il tema Twenty Twenty-Four
Template: twentytwentyfour
Version: 1.2
*/

/* Importazione degli stili del tema parent */
@import url("../twentytwentyfour/style.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import './const.css';
html{
    overflow-x: hidden;
}
body {
    font-family: 'Inter', 'Helvetica Neue', sans-serif !important;
    margin: 0;
    color: #222;
    position: relative;
    background-color: rgba(0, 0, 0, 0.12) !important;

}
h1, h2, h3, h4, h5, h6{
    font-family: 'Inter', 'Helvetica Neue', sans-serif !important;
}
body *{
    box-sizing: border-box;
}
a{
    display: inline-block;
    text-decoration: none;
}
div{
    position: relative;
}
.page-intro-title{
    font-size: 1.4em;
    margin-top: 0;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.topbar .logo,
.top-menu-modal .logo{
    padding: 6px 12px 6px 20px;
    margin-top: 8px;
}

.entry-title.main_title {
    display: none;
}

.topbar{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
}


.page-title {
    color: #493F3A;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px; /* 108.333% */
    letter-spacing: 0.3px;
    width: 100%;
    padding-left: 20px;
    margin-top:30px;
}

.top-menu{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-right: 16px;
    height: 74px;
}

.top-menu a img {
    width: 120px;
}

.top-menu .menu-icon {
    width: 39px;
    height: 39px;
    cursor: pointer;
}

.app-logo{
    max-height: 40px;
}

#main-content{
    width: 100%;
    min-height: calc(100vh - 50px);
    margin-top: 4px;
    background-color: #fff;
    padding: 20px 0;
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;

}

#boxed {
    max-width:600px;
    width: 90%;
}

h1{
    margin-top: 0;
}

#left-menu-nav {
	display: flex;
    flex-flow: row;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

#modal-nav {
    display: flex;
    flex-flow: column;
    padding: 20px 16px;
    height: calc(100% - 74px);
    justify-content: space-between;
    
}

#modal-nav a,
#left-menu-nav a {
	color: #493F3A;
    font-size: 16px;
    font-family: "Inter" !important;
    padding: 6px 12px;
    margin-top: 8px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    
}

#modal-nav a {
    width: 100%;
}

#modal-nav a.current,
#left-menu-nav a.current,
#modal-nav a:active,
#left-menu-nav a:active,
#modal-nav a:hover,
#left-menu-nav a:hover  {
    background-color: #000;
    color: #fff;
}





input[type="submit"] {
    background-color: #000000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #555;
}


form {
    display: flex;
    flex-flow: row wrap;
    gap: 8px;
}

label {
    font-weight: 500;
    margin-top: 10px;
    color: #4C4C4C;
    font-size: 14px;
    width: 100%;
}

.um-field-label {
    margin-top: 10px;
    width:100%;
}

.um-field-area {
    width: 100%;
}

.um-row {
    width: 100%;
}

.um-field.um-field-c {
    display: none;
}
.um-field,
.um-col-alt {
    width: 100%;
}

.um-button.um-alt {
    margin-top: 10px;
}


input,
select{
    padding: 8px;
    border: none;
    border-radius: 10px;
    width: 100%;
    flex-grow: 1;
    background-color: #F4F4F4;
    
}



@media only screen and (max-width: 720px) {
    #left-menu-nav {
        display: none !important;
    }

#wpadminbar {
    display: none;
}
}

@media only screen and (min-width: 720px) {
    .menu-icon {
        display: none !important;
    }
}


.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 1);
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.12);
    height: 100%;
    width: 100%;
}

.top-menu-modal {
    display: flex;
    align-items: center;
    width: 100%;
    height: 74px;
    justify-content: space-between;
    padding-right: 16px;
}

.top-menu-modal a img {
    width: 120px;
}

.menu-icon-close {
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #493F3A;
}


.modal-content #left-menu-nav {
    padding: 20px;
}

.modal.active {
    display: block;
}

.logout {
    color: #fff !important;
    background-color: #4C4C4C;
    display: flex;
    gap: 10px;
}

.logout:active,
.logout:hover {
    background-color: #4C4C4C !important;
}
