.loading {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(img/logo_30.png) center no-repeat #fff;
}

.loading .loadbar {
    position:absolute;
    bottom:0px;
    left:0px;
    height:10px;
    background-color:#fecd0f;
    opacity: .8;
    z-index: 99999;
}

.navbar {
    border-radius: 0px;
}


.navbar-dark {
	background-color:#000 !important;
    border: 0px;
	border-bottom:1px solid #000;
	text-transform:uppercase;
	margin-bottom: 0px;
	font-weight: bold;
    font-family: "Lato", sans-serif;
}

.navbar-header {
    height: 130px;
}

.navbar-brand {
    padding: 5px 5px;
    font-size: 18px;
}

.navbar-portfolio, .navbar-portfolio-visible, .navbar-servizi, .navbar-servizi-visible {
    display:none; 
}

.dropdown-portfolio, .dropdown-servizi {
    display: none;
}

@media screen and (min-width: 1200px) {

.navbar-dark {
	font-size:12px;
	color:#fff;
}

.navbar-dark .nav-container  {
	height:130px;
    position: relative;
}

.navbar-header {
    height: auto;
}


.navbar-dark .navbar-brand {
	margin-top:15px;
}

.navbar-dark .navbar-right {
	margin-top:40px;
}

.navbar-brand img {
    max-height: 100px;
}

.navbar-dark .navbar-nav .nav-item .nav-link {
	-webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
	color:#fff !important;
    padding: 10px 5px;
    font-weight: 900;
}

.navbar-dark .navbar-nav .nav-item {
    position: relative;
}

.navbar-dark .navbar-nav .nav-item::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #fed450;
    content: "";
    z-index: 0;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

.navbar-dark .navbar-nav .nav-item:hover::after, .navbar-dark .navbar-nav .nav-item.active::after {
    width: 100%;
}

.navbar-dark .navbar-nav .nav-item .nav-link {
    z-index: 10;
    position: relative;
}

.navbar-dark .navbar-nav .nav-item .nav-link:hover, .navbar-dark .navbar-nav .nav-item.active .nav-link {
    color: #000 !important;
    background-color: transparent;
}

.navbar-dark .navbar-nav .nav-item .nav-link.show {
    color: #000 !important;
    background-color: #fed450;
}

.navbar-dark .navbar-nav > .active > a, .navbar-dark .navbar-nav > .active > a:focus, .navbar-dark .navbar-nav > .active > a:hover {
    background-color: transparent;
}
	
}


@media screen and (min-width: 1500px) {
    .navbar-dark .navbar-nav > li > a {
        padding: 10px 20px;
        letter-spacing: 2px;
    }
}

.head {
    display: flex;
    justify-content: center;
    align-items: center;
}

.head ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.head ul li {
    
}

.head ul li h1 {
    font-size: 20px;
    padding: 15px;
    color: #fecd0f;
    border-right: 1px solid #fecd0f;
    margin-top: 0;
    margin-bottom: 0;
}

.head ul li a {
    padding: 15px;
    display: block;
    text-decoration: none;
    color: #fff;
}

.head ul li a.active {
    color: #000;
    background-color: #fecd0f;
    font-weight: bold;
}

.head ul li a h2 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
}

@media screen and (min-width: 1200px) {
    .dropdown-menu {
        left: 50% !important;
        transform: translateX(-50%); 
        background-color: #fecc0f;  
        border-radius: 0;
    }
}

.dropdown-menu .dropdown-item {
    font-weight: 900;
    font-size: 12px;
}

.dropdown-menu .dropdown-item.active, .dropdown-menu .dropdown-item:active {
    color: #fecc0f;
    text-decoration: none;
    background-color: #000;
}

.dropdown-menu .dropdown-item {
    color: #fecc0f;
}

.dropdown-menu .dropdown-item:hover {
    color: #000;
    background-color: #fecc0f;
}



.dropdown-menu.show {
    background-color: #000;
}


@media screen and (min-width: 1200px) {

    .dropdown-menu.show {
        display: flex;
    }

}