/*
 * FANCYBOX
 */

div.fancybox-bg {
    background-color: rgba(0, 0, 0, 0.9)!important;
    opacity: 0.9 !important;
}

.fancybox-image {
    border: 5px solid #002d51; 
    border-radius: 8px; 
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.4); 
}

/*
 * WALKER DROP DOWN MENU
 */

.dropdown-menu .dropdown-toggle::after {
    
}

.dropdown-menu .dropdown-submenu {
    position: relative;
}

.dropdown-menu .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu .dropdown-submenu {
    position: relative; 
}

.dropdown-menu .dropdown-submenu > .dropdown-menu {
    top: 0; 
    left: 100%; 
    margin-top: -0.5rem; 
    display: none; 
}

.dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu .dropdown-toggle::after {
   
}

/*
 * 
 */

div.share {
    padding: 0 25px 20px 5px;
}

:where(.wp-block-columns) {
    margin-bottom: 0;
}

.password-protected button[type="submit"] {
    background-color: #00579d;
    color: white;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.password-protected button[type="submit"]:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.password-protected button[type="submit"]:active {
    background-color: #004085;
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

div#respond > h3#reply-title,
div.share > div.share-title {
    text-align: center;
    text-transform: uppercase;
    color: #3190e2;
    font-weight: bold;
    padding-bottom: 5px;
    font-size: 1rem;
}

div.share > div.sharethis-inline-share-buttons {
    padding-bottom: 20px;
}

.comments > ul {
    padding-left: 0;
}

.comment-respond a {
    color: #337ab7;
    text-decoration: none;
}

.comment-respond a:hover {
    color: #142d44;
}

.comment-respond input[type="text"] {
    width: 100%;
    padding: 12px 20px;
    margin: 2px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.comment-respond input[type="text"]:hover {
    border-color: #888;
}

.comment-respond input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
    outline: none;
}

.comment-respond textarea {
    width: 100%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    resize: vertical;
    transition: all 0.3s ease-in-out;
}

.comment-respond textarea:hover {
    border-color: #888;
}

.comment-respond textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
    outline: none;
}

.comment-respond input[type="submit"] {
    background-color: #00579d;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.comment-respond input[type="submit"]:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comment-respond input[type="submit"]:active {
    background-color: #004085;
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-form p.comment-notes {
    margin-bottom: 20px;
}

.comment-form label {
    display: inline-block;
    font-size: 14px;
    color: #666;
    margin-bottom: 0px;
    padding: 0 0 0 5px;
}

.comment-form .required {
    color: red;
    font-size: 12px;
    font-weight: normal;
}


/*
 * COMMENT LIST PAGE
 */


article .sac-form input[type="submit"] {
    background-color: #00579d;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s 
    ease-in-out, box-shadow 0.3s 
    ease-in-out;
}

article .sac-form select {
    color: black;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #777;
}

article .sac-form .custom-select-wrapper {
    position: relative; /* Essenziale per posizionare la freccia */
    display: inline-block;
}

article .sac-form .custom-select-wrapper::after {
    content: '▼'; /* Oppure un'icona freccia più elaborata */
    font-size: 12px;
    color: black;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none; 
}

article .sac-form input[type="submit"]:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

article .sac-form input[type="submit"]:active {
    background-color: #004085;
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

article .show-all-comments {
    font-size:13px;
    line-height:20px;
    padding-right: 20px !important;
}

article .show-all-comments ul {
    padding: 0px;
}

article .show-all-comments ul li {
    font-size: 14px;
    list-style: none outside none;
    line-height: 21px;
    padding: 10px;
    box-shadow: 1px 1px 2px #ddd;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #eee;
    box-shadow: 1px 1px 3px #C8C8C8;
    background-color: #fbfbfb;
}

article .show-all-comments ul li h4 {
    font-size: 1rem;
}

article .show-all-comments ul li a {
    font-family: "Alegreya Sans", sans-serif;
    color: #337ab7;
    text-decoration: none;
}

article .show-all-comments ul li a:hover {
    color: #142d44;
}

article .show-all-comments ul li h4,
article .show-all-comments ul li a,
article .show-all-comments ul li span,
article .show-all-comments ul li p {
    font-family: "Alegreya Sans", sans-serif;
}

/*
 * COMMENT LIST UNDER POST
 */

article .comments {
    font-size:13px;
    line-height:20px;
    padding-right: 20px !important;
}

article .comments ul li {
    font-size: 14px;
    list-style: none outside none;
    line-height: 21px;
    padding: 10px;
    box-shadow: 1px 1px 2px #ddd;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #eee;
    box-shadow: 1px 1px 3px #C8C8C8;
    background-color: #fbfbfb;
}

article .comments ul li * {
    font-size: 1rem
}

article .comments .postfeed,
article .comments ul li a {
    text-decoration: none;
    color: #337ab7;
    padding: 7px 2px;
    display: inline-block;
}

article .comments .postfeed {
    padding: 5px 0 30px 5px;
}


article .comments ul li .says,
article .comments ul li a {
    font-family: "Alegreya Sans", sans-serif;
}


article .comments ul li a:hover {
    color: #142d44;
}

article .comments ul li a.comment-reply-link {
    text-align: right;
    display: block;
}

article .comments ul li p {
    font-family: "Alegreya Sans", sans-serif;
    line-height: 24px;
    margin: 0px!important;
    font-style:italic;
    border-left: 5px solid #eee;
    border-bottom: 2px solid #eee;
    border-bottom-left-radius: 4px;
    padding: 10px 0 10px 10px;
}

/*
 * DECENT COMMENT WIDGET
 */

#sidebar-1 > .widget > .decent-comments ul {
    padding: 0 20px;
}

#sidebar-1 > .widget > .decent-comments ul > li {
    list-style: none;
    margin: 0 0 5px 0;
}


#sidebar-1 > .widget > .decent-comments ul > li > .comment {
    padding-top: 4px;
    text-align: left;
}

#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-author,
#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-author > a,
#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-date,
#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-link > a {
    color: #805229 !important;
    font-family: "Alegreya Sans", sans-serif;
    text-decoration: none;
    font-size: 0.9rem;
    font-style: normal;
}

#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-author > a:hover,
#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-link > a:hover {
    color: #51341a;
}

#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-author:after {
    content: " - ";
    color: #444;
}

#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-excerpt,
#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-link {
    font-size: 0.9rem;
}

#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-link {
    font-family: "Alegreya Sans", sans-serif;
    text-decoration: none;
    font-size: 0.9rem;
    color: #444;
}

#sidebar-1 > .widget > .decent-comments ul > li > .comment > .comment-excerpt {
    font-family: "Alegreya Sans", sans-serif;
    display: block;
    color: #444;
}


/*
 * POSTS ARCHIVE
 */

#sidebar-2 > .widget,
#sidebar-3 > .widget {
    background-color: #fbfbfb;
    box-shadow: 1px 1px 3px #C8C8C8;
    border-radius: var(--bs-border-radius) !important;
    padding: 10px 0 10px 0;
}

#sidebar-2 > .widget > .wp-block-archives-list,
#sidebar-3 > .widget > .wp-block-archives-list {
    list-style: none;
    padding: 1rem;
    margin: 0;
}

#sidebar-2 > .widget > .wp-block-archives-list > li,
#sidebar-3 > .widget > .wp-block-archives-list > li {
    text-align: left;
    font-family: "Alegreya Sans", sans-serif;
    font-size: 1rem;
    font-style: normal;
}

#sidebar-2 > .widget > .wp-block-archives-list > li > a,
#sidebar-3 > .widget > .wp-block-archives-list > li > a {
    color: #805229 !important;
    font-family: "Alegreya Sans", sans-serif;
    text-decoration: none;
    font-size: 1rem;
    font-style: normal;
}