/*
Theme Name: DPO
Theme URI: http://www.dinait.it
Author: Christian Santoni & Francesca Petetti
Author URI: http://www.dinait.it
Description: Tema sviluppato per il Dipartimento Pari Opportunità - 2017
Version: 1.0
*/

body {
	font-family: 'Titillium Web', sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #1c2024;
	background: #f5f5f0;
}

header {
	background: #0066CC;
	color: #fff;
}

header h3 {
	margin: 0;
}

.header-link {
	text-decoration: none;
}

nav {
	background: #4290db;
}

nav ul, nav ul li {
	list-style: none;
	margin: 0;
	padding: 0;
}

nav li {
	display: inline-block;
}

.menu_dpo, .logo {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	align-items: baseline;
	align-content: center;
}

nav li a {
  text-decoration: none;
  display: block;
  padding: 1em;
  color: white;
}

nav ul li a:hover {
  text-decoration: none !important;
}



.top-bar {
	background: #003366;
	padding: 5px 0 0 0;
}

.logo {
	padding: 0;
	display: flex;
	align-items: baseline;
	align-content: center;
	margin: 40px 0 ;
}

a.header-link, a.header-link:hover {
	text-decoration: none;
	color: white;
}

.logo img {
	height: 100px;
	width: auto;
}

h3 .logo {
	font-size: 3.2rem;
	font-weight: 700;
	color: #fff;
}



h3 .logo:hover {
	text-decoration: none;
}

a {
	color: #06c;
}

/*
	=================================
	|		  HELPER CLASSES		 |
	=================================
*/

	.coverbg {
		background-image: url("http://via.placeholder.com/1000x1000");
		background-size: cover;
		background-position: center center;
	}

/*
	=================================
	|	    FINE HELPER CLASSES		 |
	=================================
*/




/*
	=================================
	|			HOMEPAGE			|
	=================================
*/
	.home-container {
		margin-top: 50px;	
	}
	
	.main-news {
		position: relative;
		min-height: 420px;
		
	    -webkit-box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.35);
	    -moz-box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.35);
	    box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.35);
	    -webkit-border-radius: 4px;
	    -moz-border-radius: 4px;
	    border-radius: 4px;
	}
	
	.main-news-overlay {
		position: absolute;
		width: 100%;
		height: 50%;
		bottom: 0;
		
		padding: 20px;
		background-color: rgba(0, 89, 179, 0.71);
		
		-webkit-border-radius:  4px 0px 0px 4px;
	    -moz-border-radius:  4px 0px 0px 4px;
	    border-radius: 4px 0px 0px 4px;
	}
	
	.main-news-titolo {
		color: white;
		font-size: 20px;
		margin-top: 20px;
	}
	
	.main-news-titolo a {
		color: white;
	}
	
	.main-news-data {
		position: absolute;
		bottom: 20px;
		right: 20px;
	}
		
	.secondary-news-container {
		background-color: white;
		padding: 15px;
		
	    -webkit-box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.35);
	    -moz-box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.35);
	    box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.35);
	    -webkit-border-radius: 4px;
	    -moz-border-radius: 4px;
	    border-radius: 4px;
	}
	
	.secondary-news-h2 {
		margin-top: 0;
	}
	
	.secondary-news {
		margin: 0;
		position: relative;
		padding: 10px;
	}
	
	.secondary-news-img {
		min-height: 95px;
	}
	
	.secondary-news-content {
		position: absolute;
		right: 0;
	}
	
	.news-container {
		margin-bottom: 50px;
	}
	
	.tematica-container {
		margin-bottom: 20px;
	}
	
	.tematica {
		position: relative;
		min-height: 250px;
	}
	
	.tematica-overlay {
		/*background: rgba(0, 52, 100,0.7);*/
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0; 
		right: 0;
		z-index: 4;
	}
	
	.tematica-titolo {
		position: absolute;
		bottom: 0;
		background-color: #0066cc;
		width: 100%;
	    min-height: 70px;
	    color: white;
	    padding: 10px;
	    text-transform: uppercase;
	    z-index: 5;
	}
	
	.tematica-highlight {
		border-top: 5px solid #0066cc;
		border-left: 5px solid #0066cc;
		border-right: 5px solid #0066cc;
	}
	
	.numeri-outer {
		background-color: #848484;
	    min-height: 200px;
	    margin-top: 30px;
	    padding-top: 30px;
	    padding-bottom: 30px;
	    margin-bottom: -30px;
	}
	
	.numeri-foto{
		min-height: 140px;
	}
	
	.footer {
		background-color: #30373d;
		padding-top: 40px;
		padding-bottom: 10px;
		color: #c6cace;
		min-height: 200px;
		
	}
	
	.footer-up {
		padding: 20px 20px 40px 20px;
	}
	
	.footer-logo {
		width: 100%;
		min-height: 100px;
		background-image: url('http://www.pariopportunita.gov.it/wp-content/themes/dpo/img/logo.svg');
		background-size: contain;
		background-repeat: no-repeat;
		background-position: left center;
		padding-left: 120px;
		color: #c6cace;
	}
	
	.footer-logo h2 {
		font-size: 1.8em;
	    font-weight: 700;
	    line-height: 1.2em;
	    color: #ffffff;
	    display: block;
	    margin: 8px 0 0 0;
	    letter-spacing: -0.5pt;
	}
	
	.footer h3 {
		font-size: 1.3em;
		font-weight: 600;
	}
	
	.footer-social {
		position: absolute;
	    right: 50px;
	    bottom: 40px;
	    color: #65dbde;
	}
	
	.footer-social a {
		color: #65dbde;
		text-decoration: none;
	}
	
	.footer-social a:hover {
		color: #fff;
	}
	
	.footer-down {
		border-top: 1px solid #3e484f;
	}
	
	.footer-down a {
		color: #65dde0;
		font-weight: 400;
		text-decoration: underline;
	}
	
	.footer-links {
		list-style: none;
		margin: 20px 0 0 0;
		padding: 20px 0 0 0;
		border-top: 1px solid #3e484f;
	}
	
	.footer-links li {
		display: inline-block;
		margin-right: 30px;
	} 
	
	.social-facebook, 
	.social-twitter, 
	.social-youtube {
		font-family: ita !important;
	    background-color: white;
	    color: #00264d;
	    border-radius: 100%!important;
	    width: 30px;
	    height: 30px;
	    display: inline-block;
	    vertical-align: middle;
	}
	
	
/*
	=================================
	|	    	TWITTER	    		 |
	=================================
*/

.twitter {
	border-top: 5px solid #003366;
	border-bottom: 5px solid #003366;
	padding: 30px 0;
	margin-bottom: 30px;
	
	display: none;
}

#ctf .ctf-item {
    border: none !important;
    overflow: hidden;
    width: 33%;
    display: inline-block;
    min-height: 200px;
}

#ctf .ctf-tweet-content {
	min-height: 115px;
}


/*
	=================================
	|	    LO SAI CHE - INDEX    	|
	=================================
*/

.faq-index {
	border-top: 5px solid #003366;
	border-bottom: 5px solid #003366;
	padding: 5px 0 30px 0;
	margin-bottom: 30px;
}

.faq-index h2 {
	color: #003366 !important;
	font-weight: 600 !important;
}

.faq-index h3 {
	font-size: 20px;
}

.faq-index .interna-news-sommario {
	text-align: justify;
}

.leggi-faq-index {
	margin-top: 20px;
}

.faq-index-icon {
	width: 50px;
	margin-right: 10px;
}
	
/*
	=================================
	|			MEGA MENU 			|
	=================================
*/

ul.mega-sub-menu {
	background: #cef1ff !important;
	color: #003e54 !important;
}

ul.mega-sub-menu a{
	color: #003e54 !important;
	text-transform: none !important;
}

ul.mega-sub-menu li:hover{
	color: #003e54 !important;
	background: #66a5e3 !important;
}


/*
	=================================
	|		FINE HOMEPAGE			|
	=================================
*/

/*
	=================================
	|			INTERNA 			|
	=================================
*/

	.interna-breadcrumbs {
		text-align: right;
		padding: 20px 0;
	}
	
	.interna-contenuto-h2 {
		text-align: left;
		margin-bottom: 20px;
		margin-top: 0;
	}
	
	.allegati{
		list-style: none;
		padding-left: 0;
		margin-top: 20px;
		margin-bottom: 10px;
		font-weight: 600;
	}
	
	
	.interna-sidebar {
	    background-color: white;
	    padding: 20px;
	    box-shadow: 3px 3px 10px rgba(127,127,127,0.5);
	}

	.interna-side-titolo{
		background-color: #4290db;
		color: white;
		padding: 10px;
		margin-bottom: 25px;
	}
	
	.interna-side-titolo-up {
		text-transform: uppercase;
		font-weight: 600;
	}
	
	.interna-side-titolo-down {
		text-transform: uppercase;
	}
	
	
	.interna-side-faq h4,
	.interna-side-news h4,
	.interna-news-titolo {
		font-weight: 600;
	}
	
	.interna-faq-lista {
		list-style: none;
		padding-left: 0;
	}
	
	.interna-faq-lista li {
		margin-top: 15px;
	}
	
	.interna-faq-lista li:before {
		content: "∞";
		margin-right: 5px;
		color: #06c;
	}
	
	.interna-faq-lista li a{
		font-weight: 600;
	}
	
	.interna-faq-leggi,
	.interna-news-leggi {
		font-weight: 600;
	    color: #003366;
	    display: block;
	    text-align: right;		
	}
	
	.interna-news-single {
		margin-top: 15px;
	}
	
	img.size-full {
		width: 100%;
		height: auto;
	}
	
/*
	=================================
	|			GALLERIA 			|
	=================================
*/
	.gallery-h2 {
		color: white;
	}

	.gallery-outer {
		background-color: #5d5d5d;
		background-color: #4c4c4c;
		min-height: 200px;
		margin-top: 30px;
		padding-top: 30px;
		padding-bottom: 30px;
	}
	
	.gallery-archivio {
		text-align: right;
	}
	
	.gallery-archivio a {
		color: #65dcdf;
	}
	
	.gallery-testo {
		margin: 0;
		margin-top: 10px;
	}
	
	.gallery-titolo {
		color: white;
		margin: 0;
		padding: 0;
		font-size: 1.2em;
		line-height: 1.4em;
		text-align: justify;
	}
	
	.gallery-icona {
		color: #65dcdf;
		font-size: 2em;
		padding: 5px;
	}
	
	.gallery-foto {
		min-height: 200px;
	}

	

	
/*
	=================================
	|		   FINE INTERNA			|
	=================================
*/

/*
	=================================
	|		   CERCA.   			|
	=================================
*/

.tipo-ricerca {
	display: inline;
    float: left;
    margin-right: 20px;
    font-size: 20px;
    font-weight: bold;
}

.search-form {
	float: right;
}

.search-form .screen-reader-text {
	display: none;
}

.cerca{
  vertical-align: middle;
  white-space: nowrap;
  position: relative;
  height: 30px;
}

.cerca input.search-field{
  width: 250px;
  height: 50px;
  background: #fff;
  border: none;
  font-size: 10pt;
  float: left;
  color: #000;
  padding-left: 20px;

  -webkit-border-top-left-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;  
}

.cerca .icon{
  position: absolute;
    /* top: 25%; */
    margin-left: 17px;
    margin-top: 14px;
    z-index: 1;
    color: #4f5b66;
}

.cerca button.cerca-btn{
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	border: none;
	background: #4290dc;
	height: 50px;
	width: 50px;
	color: white;
	font-size: 15pt;
}

/*
	=================================
	|		   FINE CERCA			|
	=================================
*/


/*
	=================================
	|		   ARCHIVIO				|
	=================================
*/

.archivio h1 {
	margin: 40px 0 ;
}

.art {
	margin: 40px 0;
    background: #ffffff;
    overflow: hidden;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.35);
    -moz-box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.35);
    box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.35);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.art h3 {
	font-weight: bold;
	margin: 0;
}

.art .testo {
	padding: 30px;
}

.faq-art {
	padding: 30px;
}

.paginazione {
	font-size: 1.3em;
    margin-bottom: 30px;
    text-align: right;
}

/*
	=================================
	|		  FINE ARCHIVIO 		|
	=================================
*/

@media all and (max-width: 1200px) {
	.numeri-foto {
		background-size: contain;
		background-repeat: no-repeat;
	}
}

@media all and (max-width: 992px) {
	#ctf .ctf-item {
	    min-height: 310px;
	}
	
	#ctf .ctf-tweet-content {
		min-height: 0;
	}
	
	.main-news {
		margin-bottom: 30px;
	}
	
	.tematica {
		margin-bottom: 30px;
	}
	
	.tematica-container {
		margin-bottom: 0;
	}
	
	.twitter {
		margin-bottom: 30px;
	}
	
	.numeri-foto {
		margin-bottom: 30px;
		min-height: 160px;
	}
	
	.gallery-outer {
		padding-bottom: 0;
	}
	
	.gallery-foto {
		margin-top: 20px;
	}
	
	.interna-sidebar {
		margin-top: 30px;
	}
	
	.faq-index {
		margin-bottom: 40px;
	}
	
	.logo h1{
		font-size: 34px;
	} 
	 
}

#link_salta_contenuto {
	color: white;
}

#div_link_salta{
	text-align: right;
}

.gallery_link:focus {
	display: block;
}

*:focus {
	outline-style: solid !important;
	outline-width: 5px !important;
	outline-color: red !important;				
}

/*
a:focus {
	display: block;
}
*/

.slick-active:focus {
	outline: none !important;
}

.link-outline:focus {
	display: block;
	outline-offset: 0px;
}

#mega-menu-wrap-main-menu.mega-keyboard-navigation .mega-menu-toggle:focus, #mega-menu-wrap-main-menu.mega-keyboard-navigation #mega-menu-main-menu a:focus, #mega-menu-wrap-main-menu.mega-keyboard-navigation #mega-menu-main-menu input:focus {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -ms-box-shadow: none !important;
    -o-box-shadow: none !important;
	box-shadow: none;
    outline-width: 5px;
    outline-color: red;
    outline-style: solid;
    outline-offset: 3px;
}

.slick-prev:before, .slick-next:before {
	opacity: 1 !important;
	color: #cdf4f5 !important;
}

.slick-prev:focus, .slick-next:focus {
    outline-color: red !important;
    outline-width: 3px !important;
    outline-style: solid !important;
}


.slick-dots li button::before {
    opacity: 1 !important;
    color: #cdf4f5 !important;
}

.slick-dots li.slick-active button:before {
    opacity: 1 !important;
    color: black !important;
}







@media all and (max-width: 800px) {
  .menu_dpo {
    justify-content: space-around;
  }
}


@media all and (max-width: 750px) {
	#ctf .ctf-item {
		width: 100%;
		display: block;
	    min-height: 0;
	}
	
	#ctf .ctf-tweet-content {
		min-height: 0;
	}
}


@media all and (max-width: 600px) {
	.main-news-overlay {
		width: 100%;
	    height: 50%;
	    bottom: 0;
	}
	
	.menu_dpo {
	    -webkit-flex-flow: column wrap;
	    flex-flow: column wrap;
	    padding: 0;
  	}
  
  	.menu_dpo a { 
	    text-align: center; 
	    padding: 10px;
	    border-top: 1px solid rgba(255,255,255,0.3); 
	    border-bottom: 1px solid rgba(0,0,0,0.1); 
  	}
  
  	.menu_dpo li:last-of-type a {
    	border-bottom: none;
  	}
}
