/*======================================
Theme Name: IC Albenga 1
Theme URI: https://divicake.com/
Description: Tema per l&#39;IC Albenga 1
Version: 1.0
Author: Daniele Brunengo
Author URI: http://www.ilgufoblu.net
Template: Extra
======================================*/

/*COLORE: #183099 */

/*GENERALISMI*/

body {
	/*background-image: url(images/back.png);*/
	/*background-repeat: repeat;*/
}

#main-content, #main-content p {
	font-weight: 600;
}

.et_pb_text a {
	color: #03218e !important;
}

.et_pb_text a:hover {
	color: #0c71c3 !important;
}

/*HEADER*/

.top-info {
	color: white;
	margin-right: 20px;
	padding: 15px 0;
	display: flex;
	align-items: center;
	height: 34px;
	width: 700;
}

.top-info a {
	color: white;
	width: 700;
}

#top-header  {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#028b8d+0,183099+61,0a1029+100 */
	background: #028b8d; /* Old browsers */
	background: -moz-linear-gradient(left,  #028b8d 0%, #183099 61%, #0a1029 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left,  #028b8d 0%,#183099 61%,#0a1029 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right,  #028b8d 0%,#183099 61%,#0a1029 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#028b8d', endColorstr='#0a1029',GradientType=1 ); /* IE6-9 */
	padding: 5px 0; 
} 


#main-header {
	background-image: url(images/header06.jpg);
	background-size: cover;
	background-position: center bottom;
}

#main-header #et-navigation a {
	padding-bottom: 30px !important;
}

#main-header #et-navigation > ul > li:not(.mega-menu) ul.sub-menu li.menu-item:last-child a {
	padding-bottom: 0 !important;
}

@media screen and (max-width: 480px) {
	img#logo {
		height: auto !important;
	}
}

#main-header #et-navigation .mega-menu a, #et-navigation .sub-menu a {
	color: #183099 !important;
	padding-bottom: 14px !important;
}

#main-header #et-navigation .mega-menu > ul > li > a:hover, #et-navigation .sub-menu > ul > li > a:hover {
	color: #183099 !important;
	opacity: 1 !important;
}

#main-header #et-navigation .mega-menu .sub-menu .sub-menu a, #et-navigation .menu-item:not(.mega-menu) .sub-menu a {
	padding-top: 0 !important;
	font-size: 14px;
	line-height: 22px;
	text-transform: none;
}

#main-header #et-navigation .mega-menu .sub-menu .sub-menu a:hover, #et-navigation .menu-item:not(.mega-menu) .sub-menu a:hover {
	text-decoration: underline !important;
	opacity: 1 !important;
}

.mega-menu > .sub-menu {
	width: 80% !important;
	min-width: 700px;
	margin: 0 10%;
}

#et-navigation .menu-item:not(.mega-menu).mega-narrow .sub-menu li:first-child > a:hover {
	text-decoration: none !important;
}

/*header.header li ul .menusegna > a {
	visibility: hidden;
	height: 0;
}*/

/*MENU MOBILE*/

#et-mobile-navigation nav {
	padding-top: 0;
}

#et-mobile-navigation #et-info * {
	color: #183099 !important;
	font-weight: bold;
}

.et_extra_mobile_menu {
	max-width: 640px;
	margin: 0 auto;
}

.et_extra_mobile_menu a {
	color: #183099 !important;
}

#main-header #et-navigation #et-mobile-navigation .mega-menu a, #main-header #et-navigation #et-mobile-navigation a {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

#et-mobile-navigation #et-info .top-info {
	margin: 0 auto;
}

#main-header #et-mobile-navigation #et-info a {
	padding: 0 !important;
}

#et-mobile-navigation .et-top-search {
	display: none;
}

#et-navigation #et-mobile-navigation .mega-menu > ul a::after {
	display: block;
}

#et-mobile-navigation #et-extra-mobile-menu li.menu-item-has-children > a::after {
	right: auto;
	left: 200px;
}

.show-menu-button {
    background: #FFF;
    width: 40px;
    height: 40px;
    border: solid 2px #183099;
}

.show-menu-button span {
	width: 24px;
	background: #183099;
}

.show-menu-button span:nth-child(2) {
	margin: 6px 0;
}

.show-menu-button.toggled span:first-child {
   -webkit-transform: translateY(8px) rotate(45deg);
   transform: translateY(8px) rotate(45deg);
}

.show-menu-button.toggled span:last-child {
   -webkit-transform: translateY(-8px) rotate(-45deg);
   transform: translateY(-8px) rotate(-45deg);
}

@media screen and (max-width: 640px) {
	a.logo {
		margin-top: 10px !important;
	}
	#et-mobile-navigation #et-info {
		display: none;
	}
}

@media screen and (max-width: 480px) {
    #et-navigation {
    margin: 7px auto !important;
    }
}

/*WIDGET*/

.widgettitle {
	background-color: #183099 !important;
}

.widget_media_image .widgettitle {
	display: none;
}

.widget_media_image {
	background-color: transparent;
	box-shadow: none;
	margin-bottom: 0;
	text-align: center;
}

/*NEWS*/

.et_pb_posts article .post-content {
	display: none;
}

.et_pb_posts article h2 {
	font-size: 16px;
}

a.comments-link, a.url.fn, .post-meta-remove{
	display: none !important;
}

.single-post article {
	border-color: #183099;
    border-top-width: 6px;
    border-top-style: solid;
    background: #FFF;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
	max-width: 100%;
}

/*EVENTI*/
.tribe-events-widget-link {
	padding-left: 40px;
	padding-bottom: 15px;
}

/*LIBRI*/
.libritesto a.et_pb_button {
	min-height: 140px !important;
}

/*MAPPE*/
.mappazza {
	margin-top: -15px;
}

/*PTOF*/
.page-id-176 .et_pb_text a {
	font-weight: bold !important;
}

.curricolo h4 {
	margin-top: 40px;
}

/*REGOLAMENTO*/
.regolamento .et_pb_button {
	width: 100%;
	min-height: 100px;
}

/*EVENTI*/
.post-type-archive-tribe_events article {
	border-color: #183099;
    border-top-width: 6px;
    border-top-style: solid;
    background: #FFF;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
	max-width: 100%;
}

/*AMMINISTRAZIONE TRASPARENTE*/
.amm-trasparente .excerpt p {
	display: none;
}

.single-post-module.amm-trasparente .entry-title, .single-post-module.amm-trasparente {
	padding-top: 40px;
}

.single-post-module.amm-trasparente .post-content a::before {
	content: "Scarica il documento: ";
}

.single-post-module.amm-trasparente .post-content a {
	color: #03218e;
	font-size: 20px;
}

.single-post-module.amm-trasparente .post-content a:hover {
	color: #0c71c3;
}

.single-amm-trasparente article {
	border-color: #183099;
    border-top-width: 6px;
    border-top-style: solid;
    background: #FFF;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
	max-width: 100%;
}

/*BOTTONI*/
.et_pb_button:not(:hover) {
	border-color: #183099 !important;
}

.et_pb_button:hover {
	background-color: #0c71c3 !important;
}

.et_pb_button {
	width: 100% !important;
}

/*PLESSI*/
.galleplessi .et_pb_gallery_title {
	display: none;
}

.galleplessi .et_pb_gallery_item {
	margin-right: 3% !important;
	margin-bottom: 3% !important;
}

#post-3764 .post-content, #post-3751 .post-content, #post-3771 .post-content {
	margin-bottom: 0;
}

.post-content .corplesso h1 {
	font-size: 30px !important;
}

.corplesso .progetti a.et_pb_button {
	min-height: 160px !important;
}

/*PON*/
.progetti .sub-menu {
	padding-top: 0 !important;
}

.pon1420 {
	background-color: #183099;
	margin-bottom: 20px !important;
}

#main-header #et-navigation .pon1420 a {
	padding: 15px 0 !important;
}

#et-navigation .sub-menu .pon1420 a {
	color: white !important;
	cursor: default;
}

/*INFANZIA SAN FEDELE*/

.infanzia-tempo-scuola ul {
	margin-top: -10px;
}