/*
	Theme Name: Confartigianato
	Theme URI: https://www.artigianigr.it/
	Description: Interfaccia personalizzata 
	Version: 1.0
	Author: Gabriel Nastase
	Author URI: http://gabrielnastase.com
	Tags: Blank, HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'Signika', sans-serif;
	color:#000;
	background: #fff;
	font-size: 1.6rem;
}
/* clear */
.clear {
    clear: both;
    height: 0;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color: #000;
	text-decoration:none;
	transition: all 300ms;
}
a:hover {
	color:#3498db;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}


/* Shrink */

.shrink {
  display: inline-block;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.shrink:hover {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}

/* Grow */

.grow {
  display: inline-block;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.grow:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

/* Icon 1 */

#nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4 {
  width: 25px;
  height: 25px;
  margin-top: 10px;
  margin-left: 8px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}
#btn-parent {
  display: block;
  border: solid 1px #fff;
  width: 42px;
  height: 40px;
  position: relative;
  display: none;
}

#nav-icon1 span, #nav-icon3 span, #nav-icon4 span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}


/* Icon 3 */

#nav-icon3 span:nth-child(1) {
  top: 0px;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
  top: 8px;
}

#nav-icon3 span:nth-child(4) {
  top: 16px;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

h1, h2, h3 {
	font-weight: bold;
}


p {font-size: 14px;}

.flex-container {
	display: flex;
}

/* wrapper */
.wrapper {
	max-width:1600px;
	width:95%;
	margin:0 auto;
	position:relative;
}
.content {
	padding: 100px 0;
}
.first-content {
	margin-top: 80px;
}
.first-content-single {
	margin-top: 80px;
}
.box-padding {
	padding: 30px;
}
/* header */
.header {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	background: #002E47;
	text-align: center;
	padding: 20px 30px;
	z-index: 90000;
	border-bottom: solid rgba(102,154,204,1);
}
.header .flex-container {
	justify-content: space-between;
	align-items: center;
}
.header a {
	color: #fff;
}
.header-icons {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	margin-top: 20px;
	width: 100%;
	justify-content: center;
}
.header-icons li {
	margin: 0 8px;
}
.header-icons img {
	max-width: 30px;
}
.header-icons i {
	font-size: 30px;
}
.header-left {
	display: flex;
	align-items: center;
	width: calc( 100% - 350px );
}
.header-right {
	text-align: center;
	width: 300px;
}
.header-right input {
	width: 100%;
}
/* logo */
.logo {
	max-width: 200px;
	margin: 0;
	margin-top: 1px;
}
.logo-img {
	min-width: 200px;
}

.menu-btn {
	float: left;
	margin-left: 20px;
}
/* nav */
.nav {
	display: block;
}

.nav ul li {
	list-style: none;
	display: inline-block;
	margin-right: 15px;
	position: relative;
}

.nav ul li a {
	color: #fff;
	text-transform: uppercase;
	font-size: 16px;
	transition: all 300ms;
	font-weight: bold;
	padding: 20px 0;
}
.nav ul li a:hover {
	color: #669acc;
}

.nav ul .current_page_item a {color: #669acc;}

.nav ul .sub-menu {
	display: block;
	position: absolute;
	top: 40px;
	left: 0;
	text-align: left;
	margin-left: 0;
	padding-left: 0;
	transition: all 500ms ease-out;
	background: rgba(52,52,52,1);
	box-shadow: 2px 2px 10px rgba(0,0,0,.15);
	padding: 10px;
	opacity: 0;
	display: none;
}
.nav ul li:hover .sub-menu {
	opacity: 1;
	display: table;
}
.nav ul .sub-menu li {
	position: relative;
    display: block;
	white-space: nowrap;
}
.nav ul .sub-menu li a {
	color: #fff;
	display: block;
	padding: 8px;
	font-weight: normal;
}

.nav ul .sub-menu li a:hover {
	color:#fff;
	background: #3498db;
	border-bottom: solid 1px #fff;

}
.nav ul .sub-menu .current_page_item a {
	background: #3498db;
	border-bottom: solid 1px #fff;
}


.col-75 {
	width: 70%;
}
.has-sticky {
	justify-content: space-between;
    align-items: flex-start;
    display: flex;
    flex-direction: row-reverse;
    height: 100%;
}
/* sidebar */
.sidebar {
	width: 25%;
	position: relative;
    margin-top: 120px;
    margin-bottom: 0;
    background: #002E47;
    padding: 60px 20px;
    min-height: 100vh;
    color: #fff;
}
.sidebar h2 {
	color: #669acf;
}
.sidebar a {
	color: #fff;
}
.sidebar a:hover {
	color:#3498db;
}
.sidebar .btn {
	display: block;
	margin-bottom: 4px;
}
.wpc-filters-section {
	display: none;
}
.wpc-filters-ul-list {
	max-height: auto!important;
}
.wpc-filters-section:not(.wpc-filter-more-less):not(.wpc-filter-post_meta_num):not(.wpc-filter-tax_numeric):not(.wpc-filter-layout-dropdown) .wpc-filter-content:not(.wpc-filter-has-hierarchy) ul.wpc-filters-ul-list {
	max-height: auto!important;
}
.wpc-filter-layout-search-field {
	display: block;
}
.sidebar-aziende .wpc-filters-section-38, .sidebar-aziende .wpc-filters-section-37, .sidebar-aziende .wpc-filters-section-39, .sidebar-aziende .wpc-filters-section-47, .sidebar-aziende .wpc-filters-section-55  {display: block;}
.sidebar-candidato .wpc-filters-section-46, .sidebar-candidato .wpc-filters-section-47, .sidebar-candidato .wpc-filters-section-48 {
	display: block;
}

.sidebar .btn.current {
	background: #669acc;
	color: #fff;
	border: solid 2px #fff;
}
/* footer */
.footer {
	background: #002E47;
	text-align: center;
	padding: 40px 30px;
	border-top: solid rgba(102,154,204,1);
	color: #fff;
	font-size: 16px;
}
.footer .flex-container {
	justify-content: space-between;
}
.footer .header-icons {
	display: none;
}
.footer a {
	color: #fff;
}
.loop-grid {
	flex-wrap: wrap;
}

.loop-block {
	display: flex;
	border: solid 1px #e6e8ec;
	background: #f1f1f1;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 15px;
	flex-basis: 32%;
	margin-right: 1.99%;
	transition: all 200ms;
}
.loop-block:hover {
	background: #fff;
}
.loop-block:nth-child(3n+3) {
	margin-right: 0;
}
.loop-block .thumb {
	width: 35px;
	height: 35px;
	border-radius: 3px;
	background-color: #e2e2e3;
	background-image: url(img/default-thumb.png);
	background-repeat: no-repeat;
	background-size: 30px;
	background-position: center;
	margin-right: 20px;
	border: solid 1px #f2f2f2;
}
.loop-block .thumb-candidato {
	background-image: url(img/default-thumb-candidato.png);
}
.single-post .thumb {
	width: 110px;
	height:100px;
	border-radius: 3px;
	background-color: #e6e8ec;
	background-image: url(img/default-thumb.png);
	background-repeat: no-repeat;
	background-size: 60px;
	background-position: center;
	margin-right: 14px;
	border: solid 1px #f2f2f2;
}
.single-post .thumb-candidato {
	background-image: url(img/default-thumb-candidato.png);
}

.loop-block .text {
	width: calc( 100% - 55px );
}
.loop-block .text h2 {
	margin-top: 0;
	margin-bottom: 7px;
	font-size: 16px;
}
.loop-block .date {
	color: #669acc;
	font-size: 1.2rem;
	margin-bottom: 7px;
	display: block;
}
.loop-block .fields {
	font-size: 1.3rem;
}
.loop-block .btn {
	float: right;
	padding: 4px 7px;
	font-size: 13px;
}
.single-post h1 {
	margin-bottom: 5px;
}
.single-post .date {
	display: flex;
}
.single-post .post-categories {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	margin-left: 7px;
}
.single-post .post-categories li {
	display: inline-block;
	padding: 3px 5px;
	border-radius: 3px;
	background: #669ACF;
	margin-top: -3px;
}
.single-post .post-categories li a {
	color: #fff;
}
.field-blocks {
	justify-content: space-between;
	margin-top: 40px;
	flex-wrap: wrap;
}
.field-blocks .item {
	border: solid 1px #e6e8ec;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 10px;
	width: 30%;
	min-width: 220px;
	margin-right: 7px;
	padding-bottom: 30px;
}
.wpc-filter-title {
	color: #669acc;
	font-size: 2rem;
	font-weight: bold;
}
.wpc-term-count {
	color: #fff;
}
input, textarea, select {
	border: none;
	background: #fff;
	padding: 10px;
	box-shadow: 1px 1px 7px rgba(0,0,0,.1);
	transition: all 200ms;
	width: calc( 100% - 20px );
}
input[type="checkbox"], input[type="radio"] {
	width: auto;
}
input:hover, textarea:hover {
	box-shadow: 1px 1px 10px rgba(0,0,0,.2);
}

input:focus, textarea:focus {
	box-shadow: 1px 1px 10px rgba(0,0,0,.2);
}
.wpcf7-submit {
	background: #669ACF;
	color: #fff;
	max-width: 150px;
}

.wpcf7-submit:hover {
	background: #45a2ff;
	color: #fff;
}
.wpcf7-file {
	background: #669ACF;
}

.wpcf7-response-output, .wpcf7-display-none, .wpcf7-validation-errors {border: none!important; font-size: 14px;}

.center {text-align: center;margin-bottom: 80px;}


.wp-block-table td {
    padding: 10px;
}

.btn {
	display: inline-block;
	background: #669acc;
	color: #fff;
	padding: 8px 15px;
	border-radius: 3px;
	transition: all 300ms;
}
.btn:hover {
	background: #333;
}
.single-thumb {
	max-width: 220px;
	margin-right: 30px;
	margin-top: 30px;
}


/*------------------------------------*\
    PAGES
\*------------------------------------*/
.wp-block-file {
	display: flex;
	justify-content: space-between;
	border: solid 1px #ddd;
    padding: 3px;
    border-radius: 30px;
}
.wp-block-file a:first-child {
	line-height: 30px;
	padding-left: 15px;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1000px) {
	.header-right {
		width: 200px;
	}
	.header-left {
		width: calc( 100% - 220px );
	}
	.col-75 {
		width: 60%;
	}
	.sidebar {
		width: 38%;
		padding-top: 40px;
	}
	.single-post {
		display: block;
	}
	.single-post .thumb {
		width: 65px;
		height: 65px;
		margin-bottom: 15px;
	}
	.single-post h1 {
		margin-top: 0;
		font-size: 2.2rem;
	}
	.logo {
		max-width: 180px;
	}
	.logo-img {
		min-width: 160px;
	}
	.footer {
		font-size: 14px;

	}
	.footer .flex-container {
		display: block;
	}
	.field-blocks .item {
		min-width: 180px;
	}

}

@media only screen and (max-width:780px) {
	.header {
		padding: 10px;
	}
	.header-right input {
		width: calc( 100% - 20px );
	}
	.nav {
		display: none;
	}
	.header-icons {
		margin-top: 10px;
	}
	.header .flex-container {
		display: block;
	}
	.header-left {
		width: 100%;
		display: block;
	}
	.logo {
		max-width: 160px;
		margin: 0 auto;
		margin-bottom: 20px;
	}
	.header-right {
		width: 100%;
	}
	.header-icons {
		display: none;
	}
	#btn-parent {
		display: block;
		position: absolute;
	}
	.header-icons {
		display: none;
	}
	.footer .header-icons {
		display: flex;
	}
	.nav ul {
		,margin: 0;
		padding: 0;
	}
	.nav ul li {
		display: block;
		margin: 20px 0;
	}
	.nav ul .sub-menu {
		display: block;
		position: relative;
		visibility: visible;
		opacity: 1;
		top: auto;
		text-align: center;
		width: 100%;
		background: none;
	}
	.has-sticky {
		display: block;
		height: auto;
	}
	.sidebar {
		width: 100%;
		padding-top: 30px;
		margin-top: 0;
		min-height: auto;
	}
	.col-75 {
		width: 100%;
	}
	.first-content {
		margin-top: 60px;
	}
	.content {
		padding-bottom: 50px;
	}
	.field-blocks {
		display: block;
	}
	.field-blocks .item {
		width: 100%;
		padding: 0 10px;
		margin-right: 0;
	}
	.loop-block .text h2 {
		font-size: 1.8rem;
	}
	h1 {
		font-size: 2.4rem;
	}
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
