/*
Theme Name: ItaliaWP2 Avvocati Spoleto
Theme URI: https://www.avvocatispoleto.it
Author: Lightage Srl
Author URI: https://lightage.it
Description: Tema child di ItaliaWP2 con le personalizzazioni dell'Ordine degli Avvocati di Spoleto (in precedenza hardcoded nel core del tema). Basato su ItaliaWP2 1.5.6.
Version: 1.0.0
Template: italiawp2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
Text Domain: italiawp2-avvocatispoleto
*/

/* =========================================================================
   CSS custom Ordine degli Avvocati di Spoleto
   -------------------------------------------------------------------------
   Il blocco seguente proviene dal corpo di style.css del tema attualmente
   online (ItaliaWP2 1.5.5 con modifiche hardcoded): nella versione
   ufficiale del tema (sia 1.5.5 che 1.5.6) style.css contiene SOLO
   l'header sopra, quindi queste righe sono personalizzazione al 100%.
   Portate qui invariate: essendo nel file style.css del child theme,
   vengono caricate automaticamente da italiawp2_theme_style() tramite
   get_stylesheet_uri(), che punta sempre al child quando attivo.
   ========================================================================= */

#mainheader .comune .logoimg {
    margin-top: 7px !important;
    width: 90px !important;
}
#mainheader .comune .logoimg img {
    height: auto !important;
    max-height: initial !important;
    max-width: 90px !important;
}
.logotxt h1 small{
    font-size: 26px !important;
}
#mainheader .comune .logotxt {
    width: calc(100% - 110px) !important;
}
body .u-background-compl, body .has-colore-complementare-background-color, body #mainheader .btn-cerca:hover, body #sezione-notifica {
    background-color: #8f301e !important;
}
#mainheader.ridotto .comune .logoimg img {
    height: 40px !important;
    max-height: 40px !important;
}
#footer .logoimg img {
    height: auto !important;
    max-height: initial !important;
    width: 90px;
}
#footer h4 {
    font-size: 1em !important;
    padding: 0 0 10px 0 !important;
 }
.footer-links
{
	padding:16px 0px;
}
.footer-links li
{
	list-style-type:none;
	display:block;
	margin-bottom:7px;
}
#footer section {
    margin-bottom: 10px !important;
}
#footer.u-background-80 {
    background-color: #272727 !important;
}
#intro .titolo-sezione p
{
	display:none !important;
}
.essb_links_list
{
	display:none !important;
}
#menu-sinistro h4.dropdown
{
	display:none !important;
}
.m-0.p-3.u-background-grey-60
{
	padding:0px !important;
	background:transparent !important;
}
.italiawp2-img figure figcaption
{
	display:none !important;
}
.u-sizeFull {
    width: auto !important;
    max-width: 100% !important;
}
.left-sidebar > div {
    margin: 0px 0px 50px 0px;
    background-color: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #DDDDDD;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 10%);
}
.left-sidebar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.left-sidebar ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.left-sidebar ul li a {
    display: block;
    padding: 10px 10px;
    border-bottom: 1px solid #ddd;
    color: #272727;
    transition: color 0.3s;
    font-size: 16px;
    line-height: 20px;
}
.left-sidebar ul li:hover a {
    background: #f5f5f5;
    color: #ce462b;
}
.hero_slider
{
	width:100%;
}
#mainheader.ridotto .nav.navbar-nav > li > a {
    padding: 15px 18px 15px !important;
}
.mt-88n {
    margin-top: 0px !important;
}
#menu-alto li:nth-of-type(-n+7) {
    display: inline-block !important;
}
.owl-carousel.owl-drag .owl-item
{
	position:relative;
}
.top_title
{
	position:absolute;
	left:0;
	width:100%;
	top:10%;
	z-index:9;
}
.top_title h2 {
    color: #fff;
    font-size: 3rem;
	text-shadow: 0 0 2px rgb(0 0 0 / 53%), 0 0 1.5px rgb(0 0 0 / 80%);
}
.featured_box_section
{
	padding:75px 0px;
}
.featured_box_section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.featured_box_section .col {
    background: #5e5e5e;
    padding:70px 10px 70px 10px!important;
    text-align: center;
	margin-bottom:15px;
}
.featured_box_section h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 24px;
    text-align: center;
    margin-bottom: 0px;
}
.featured_box_section h2 a
{
	color:#fff;
}
.featured_box_section .col:hover
{
	 background:#ce462b;
	cursor:pointer;
}
@media(min-width: 992px) {
 .navbar .navbar-collapsable .navbar-nav li a.nav-link {
        padding: 13px 20px !important;
    }
}
@media(max-width: 767px) {
.owl-carousel .owl-item img {
    min-height: 275px;
    object-fit: cover;
}
#mainheader .preheader .float-right	
	{
		display:none !important;
	}
#mainheader .comune .logoimg img {
    max-width: 64px !important;
}	
#mainheader.ridotto .comune .logoimg img {
    height: 47px !important;
    max-height: 47px !important;
}
#mainheader .comune .logoimg {
    margin-top: 7px !important;
    width: 75px !important;
}	
#mainheader.ridotto .comune .logoimg
	{
		width: 50px !important;
	}
.logotxt h1 small {
    font-size: 18px !important;
}	
#mainheader .logotxt {
    margin-left: 5px !important;
    margin-top: 10px !important;
}	
.top_title h2 {
    font-size: 2rem;
}	
.featured_box_section .row {
    display: block;
}
}