* {
    margin: 0;
    padding: 0;
    outline: none;
   
}




/* Very top menu */
#menu {
	background: #002d5d;
}
#menu * {
	stext-transform: uppercase;
	color: #ffffff;
	background: #002d5d;
}
#top-menu *:hover {
	background: #002350;

}
#top-menu a:hover {
	text-decoration: underline;

}
.white {
	background: #ffffff !important;
	color: #000000 !important;
	
}
.white * {
	background: #ffffff !important;
	color: #000000 !important;
}
.white *:hover {
	background: #ffffff !important;
	color: #000000 !important;
}
.menusocial li {
	padding:0px !important;
	
}
.menusocial li a{
	padding-left:5px !important;
	padding-right:5px !important;
	
	font-size:22px;
}
#top-menu li.active>a {
	font-weight: bold;
	border-bottom: none;
	background: #002350;
}


.navbar {
    min-height: 114px;

}




.navbar-toggle:hover, .navbar-toggle:focus, .navbar-brand:hover, .navbar-brand:focus {
	background: #002350 !important;
}
nav .nav.navbar-nav>li>p {
    color: #87a3bc;
    font-weight: 600;
    line-height: 20px;
	position: relative;
    display: block;
    padding: 10px 15px;
    margin: 6px;
}
.noclick:hover, .noclick *:hover {
	background: #002d5d !important;
	cursor: default;
}

@media (min-width: 768px)
nav .nav.navbar-nav>li>p {
    padding-top: 17px;
    padding-bottom: 17px;
}


.navbar .navbar-nav>li>a {
    color: #87a3bc;
     font-weight: 100; 
}
    /* font-weight: 600; */


#menu {
     height: 0px; 
     padding-top: 0px; 
}



/* Navigation menu */
#menu222222222 * {
	text-transform: uppercase;
}

#menu2>ul>li>a {
	font-size: 14px;
}

#menu2 li.active>a {
	color: #555;
	font-weight: bold;
	border-bottom: none;
}

.noimg {
	margin-top: 1rem;
}

.noimg > a {
	padding-top: 2.3rem !important;
	padding-bottom: 3.5rem !important;
}

.list-unstyled * {
	text-align: left !important;
}

.list-unstyled a {
	color: inherit !important;
}

.yamm-content {
	margin: 0 auto;
}

.dropdown-menu {
	border: none;
	background-color: #f4f4f4;
}

.mainnav-menu>li>.dropdown-menu:after, .mainnav-menu>li>.dropdown-menu:before {
	display: none !important;
}

/* Main image */
#fotolunga {
    max-height: 200%;
    margin: 0;
    width: auto;
}

.masterhead {
	mmmargin-top: -40px;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    /*background-repeat: no-repeat;*/
    
    /*background-size: contain;
    background-position: center;*/
}

.mainnav {
 margin-bottom: 0px; 
}

.masterheadCnt {
   padding-top: 0;
    padding-bottom: 0;
 
overflow:hidden;
max-height:300px;
width:100%;
}

/* Submenu */
.submenu {
	position: relative;
    background: #3c3b3e;
}

.submenu * {
    background: #3c3b3e !important;
    color: #fff;
}

#submenu *{
	margin: 0 auto !important;
	color: #fff;
}

#submenu *.active {
    background: #a3abb9 !important;
}

#submenu *:hover {
    background: #3c3b3e !important;
}

#menu3 * {
	text-transform: none;
	font-size: 15px;
	color:#fff;
}

 #menu3 > li {

 	margin: 5px;
	padding:5px;

}



#submenu>li.active>a {
	color: #fff;
	font-weight: bold;
	border-bottom: none;
}
#submenu>li.active {
	background: #262528 !important;
}

#sez {
	background: #262528 !important;
	text-transform: uppercase;
	text-align: center;
	font-size: 16px;
	padding: 1.5rem 0;
    color: #999;
    font-weight: 600;
}

#sez * {
	background: #262528 !important;
}

/* Page content */
.heading-block {
	margin-bottom: 30px !important;
}

.heading-block:after {
	background: none !important;
}

h5, h4, h3, h2 {
    margin-top: 30px !important;
    margin-bottom: 15px !important;
}

h1, h2 {
	text-align: left !important;
}

.submenu * {
	text-align: center !important;
}
.text-center *{
	text-align: center !important;
}

.theBox a {
	color: inherit !important;
}
.theBox a:hover {
	text-decoration: none !important;
}

.center {
	text-align: center;
}

.boxedimg {
	Sdisplay: block;
	margin: 0 auto;
	width: 100%;
	margin-bottom: 1rem;
}

div, p {
	line-height: 1.7em;
}

s, u {
	text-decoration: inherit !important;
}

.heading-block.heading-minimal.heading-center:after {
	margin: 0 auto;
}

.heading-block table * {
	display: none !important;
}

.left {
	display: block;
	float: left;
}

.right {
	display: block;
	float: right;
}

ul {
	padding-left: 1.2em !important;
}

/* Footer */
.footer {
	height: 12.3em !important;
	background-color: #002d5d;
}

.footnav:after {
	content: "";
	display: block;
	position: relative;
	height: 1px;
	width: 100%;
	background: #ffffff;
	margin-bottom: 2rem;
}

@media (max-width:767px) {
	.footer {
		height: 25em !important;
	}
	.footnav:after {
		display: none;
	}
	.footnav {
		margin-top: 1rem;
	}
}


.footer * {
	text-transform: uppercase;
	text-align: center !important;
}

.footel {
	margin-bottom: 1rem;
}

#tools-menu {
	background: #002d5d;
	margin: 0 auto;
	margin-top: -2rem;
	float: none !important;
    width: -webkit-fit-content;
       width: -moz-fit-content;
            width: fit-content;

}


#tools-menu * {
	font-size: 14px;
	margin: 0 auto;
	padding: 0.5rem 0.5rem;
	color: #fff;
	text-transform: lowercase !important; 
}

#tools-menu *:hover {
	background: #002350;
}

#tools-menu li.active {
	font-weight: bold;
	border-bottom: none;
	background: #002350;
}

/* Accordion */
#tutteScuole {
	margin-top: 3em;
}

.accordion-panel h4, .portlet-title {
	margin-top: inherit !important;
	margin-bottom: inherit !important;
}

.accordion-panel h5 {
	margin-top: .10em !important;
	margin-bottom: .01em !important;
}

u > li, s > li {
	text-decoration: none !important;
	list-style-type: none !important;
}

/* Container inverso per mobile */
@media only screen and (max-width: 960px) {
  .containerqqqqqqqq {
    display: flex;
    flex-direction: column-reverse;
  }
}

.hidden {
	display: none !important;
}

#accrImg {
	margin-top: -1.5rem; 
	max-width: 100%;
}

/* Carousel */
.carousel-control {
	background-image: none !important;
}

/* BSscuole */
#iconeScheda a {
	display: inline-block;
	text-decoration: none;
	text-align: center;
	color: inherit;
	margin: 0 1em;
}

/* Vari */
@media only screen and (min-width: 1600px) {
	/* 
	FOTO NON A TUTTO SCHERMO
	*/
}




.mainnav-menu .mainnav-caret {
    top: -2px;
    font-size: 13px !important;
}
 
.nopointer a:first{ 

			cursor: default;
	}




.portlet-boxed .portlet-header, .portlet-body {background-color: #fff;
									border:0px solid white !important; 
									    padding: 5px 15px !important;
	
									}

.portlet-body p {




}

.portlet-boxed .portlet-title {
    color: #354b5e;
    font-size:18px;
}


.wellRagazzi {
padding:8px !important;
background-color:#DDD;
text-align:center;
font-weight: bold;
}

.wellRagazzi  a {
color:#333 ;
}



 .dropdown-menu:before {
    right: 210px !important; }



.megaSubs {

	min-width: 160px;
	line-height: 100%;


}



 .yamm .dropdown.yamm-fw .dropdown-menu {
    left: auto;
    right: auto;

}

   
.miomegafull {

		left: 0 !important;
    right: 0 !important;
}





.feature-sm-icon {
     margin-bottom: 0px; 
    font-size: 65px;
}


 .feature-sm {
    padding: 0 25px;
    text-align: center;
}



.mainlogo {

font-weight: 100 !important;
letter-spacing: 2px !important;
font-size: 33px !important;
padding-top: 5px;
padding-bottom:0px;


}



@media(min-width: 768px) .mainnav-menu>li>a {


	padding-left:8px;
	padding-right:8px;

}



.mainnav-menu>li>a {

	padding-left:12px !important;
	padding-right:12px !important;;
}



<?
