/*

Theme Name: WPA Italia Digitale

Theme URI: http://www.inpolitix.com/

Author: Inpolitics

Author URI: http://www.inpolitix.com/

Description: Wordpress Theme for Italian PA

Version: 2.2

Text Domain: wpaitaliadigitale



This theme, like WordPress, is licensed under the GPL.

Use it to make something cool, have fun, and share what you've learned with others.

*/



img.wp-post-image,img[class^="wp-image-"],img[class*=" wp-image-"]{width:100%;height:auto;}

img.wp-post-image.alignleft,img[class^="wp-image-"].alignleft,img[class*=" wp-image-"].alignleft,

img.wp-post-image.alignright,img[class^="wp-image-"].alignright,img[class*=" wp-image-"].alignright,

img.wp-post-image.alignmiddle,img[class^="wp-image-"].alignmiddle,img[class*=" wp-image-"].alignmiddle{width:auto}



/* fix bug in google maps*/

.Yellow .u-sizeFull #map img,

.Green .u-sizeFull #map img,

.Red .u-sizeFull #map img,

.Blue .u-sizeFull #map img,

.Violet .u-sizeFull #map img,

.Brown .u-sizeFull #map img,

.Teal .u-sizeFull #map img{width:auto!important}



.Grid--Banner img{width:100%;height:auto;}

.u-sizeFull div.wpcf7 .wpcf7-response-output{font-weight:700;font-size:120%;width:100%;position:relative;margin:0;padding:20px 0;float:left;border:0;border-left-style: solid;border-left-width: 0.5em; padding-left: 1em;color: #000; }

.u-sizeFull div.wpcf7 .wpcf7-validation-errors{border-left-color: red; color: #b50000;}

.u-sizeFull div.wpcf7 .wpcf7-validation-success{border-left-color: #65b446;color: #3c763d;}

.u-sizeFull div.wpcf7  span.wpcf7-not-valid-tip{width:100%;position:relative;margin:0;padding:4px 0;float:left;border:0;color: #b50000;margin-bottom:10px;}



.Grid-AreaTematica.Grid-PaginaInterna .Table a,.Grid-AreaTematica.Grid-PaginaInterna .Table a span.Icon{text-decoration:none!important;}

.Grid-AreaTematica.Grid-PaginaInterna .Table p a{text-decoration:underline!important;}

.Grid-AreaTematica.Grid-PaginaInterna .Table thead tr th{height:100%;}

.Grid-AreaTematica.Grid-PaginaInterna .Table thead tr:first-child{border-left: 1px solid #d6dce3;}

.Grid-AreaTematica.Grid-PaginaInterna table.Table.Table--nomargin{margin:0!important;}



.Table.Table--flip.u-text-r-m{font-size:1em!important}

.Table.Table--flip.u-text-r-m td span.Icon{float:left;margin-right:10px;}

.Table.Table--flip.u-text-r-m th{text-align:left}



.Green .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo caption,

.Red .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo caption,

.Blue .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo caption,

.Violet .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo caption,

.Brown .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo caption,

.Teal .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo caption,

.Yellow .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo caption{display:none!important}



.Green .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo th,

.Red .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo th,

.Blue .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo th,

.Violet .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo th,

.Brown .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo th,

.Teal .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo th,

.Yellow .Grid-AreaTematica.Grid-PaginaInterna table.tabella-dati-albo th{padding: 1.13em 0.5em}



.Grid-AreaTematica.Grid-PaginaInterna .at-tableclass{padding:0;}

.Grid-AreaTematica.Grid-PaginaInterna .at-tableclass h3{border-color:#ccc}

.Grid-AreaTematica.Grid-PaginaInterna .at-tableclass ul{padding: 8px 10px;margin-bottom:50px}

.Grid-AreaTematica.Grid-PaginaInterna .at-tableclass ul li{margin:10px 0;}



.Grid-AreaTematica.Grid-PubblicaAmministrazione.Singola-Gara table{margin-bottom:60px!important}

.Grid-AreaTematica.Grid-PubblicaAmministrazione.Singola-Gara h3{margin-bottom:30px!important}



.Green .Entrypoint-item.u-color-white p,

.Red .Entrypoint-item.u-color-white p,

.Blue .Entrypoint-item.u-color-white p,

.Violet .Entrypoint-item.u-color-white p,

.Brown .Entrypoint-item.u-color-white p,

.Teal .Entrypoint-item.u-color-white p{

	color:#fff!important

}







img.alignleft{

	float:left;

	margin: 5px 30px 10px 0;

}



img.alignright{

	float:right;

	margin: 5px 0 10px 30px;

}



img.aligncenter{

	float:none;

	margin: 10px 0 10px 0;

}





#Section-Contents{

	display: flex!important;

}



#Main-Container,#Left-Sidebar,#Right-Sidebar{

	display:table-cell!important;

}



#Main-Container{

	order:1;

}



#Left-Sidebar{

	order:2;

}



#Right-Sidebar{

	order:2;

}



@media screen and (min-width: 992px) {	



	#Main-Container{

		order:2;

	}



	#Left-Sidebar{

		order:1;

	}



	#Right-Sidebar{

		order:3;

	}

}