/*
 * Theme Name: CFF Timber
 * Description: Theme pour CFF
 * Version:            1.0.3
*/
/*------------------------------------*\
    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%; */
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {

}
a:hover {

}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

@media print {
  a[href]:after {
    content: none !important;
  }

  a[href].print-url:after {
    content: " (" attr(href) ")";
		font-size:0.8rem;
		color:#f1f1f1;
  }
}

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

section {
	padding:50px 0px;
}



/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}

/* logo */
.menu2 {
	display: flex;
}

.navbar {
	padding: 0.25rem 1rem !important;
}
/* nav top */
.navbar-first {
	height:40px;
}

.navbar-nav, .menu-finale {
	display: none !important;
}

.navbar-nav.navbar-top > li.dropdown .dropdown-menu {
    display: inline-block;
    border-radius: 0px;
    width: auto;
    text-align: center;
    top:50px;
    right: 0;
    background-color: #165774;
}

.navbar-nav.navbar-top .dropdown-menu {
	left:auto !important;
	right:0px;
	width:auto;
}

.navbar-nav.navbar-top .dropdown-menu > li {
  display: block;
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
}

/* nav  normal */
	.btn-responsive-menu {
			z-index:10;
	}

	.navbar-main.navbar-expand-md {
		justify-content: flex-end;
	}

.navbar-nav > li.dropdown {
 /* position: static; */
 position:relative;
}

li.dropdown:hover ul.dropdown-menu {
	display:flex !important;
	flex-direction: column;
}

.navbar-brand a {
	color:black;
}
.navbar-nav > li.dropdown .dropdown-menu {
  display: none;
  border-radius: 0px;
  width: 100%;
  text-align: center;
  left: 0;
  right: 0;
	background-color:#165774;
}
a.dropdown-item {
	display:inline;
}
a.dropbtn {
	position:relative;
}
a.dropbtn:before {
	content: "";
position: absolute;
width: 100%;
height: 5px;
bottom: 0px;
left: 0;
background-color:#18A9AB;
visibility: hidden;
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}
a.dropbtn:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

#menus {
/*	display:flex;
	justify-content: space-between;
	align-items: center; */
}

/* The container <div> - needed to position the dropdown content */
.ddown {
  position: relative;
  display: inline-block;
	white-space: nowrap;
}

/* Dropdown Content (Hidden by Default) */
.ddown-content {
  display: none;
  position: absolute;
  background-color: #165774;
  min-width: 160px;
	/* width:100vw; */
  color:white;
  z-index: 1;
}

/* Links inside the dropdown */
.ddown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropbtn {
  background-color: white;
	display: block;
  font-size: 16px;
  border: none;
	font-weight: 600;
}
a.dropbtn:hover {
	color:#18A9AB;
}


/* Change color of dropdown links on hover */
.ddown-content a:hover {background-color: #D0DDE3;}

/* Show the dropdown menu on hover */
.ddown:hover .ddown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.ddown:hover .dropbtn {background-color: white;}

/* menu-responsive */

 li.dropodown:hover > ul{
     display: block;
}

.icon-bar {
    display: block;
    width: 20px;
    height: 3px;
    margin: 5px;
    background-color: #000000;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.close_menu {
	text-align: right;
	cursor:pointer;
	padding:0.25rem 0.75rem;
	font-size:1.25rem;
}
.btn-responsive-menu {
    padding: 5px;
    cursor: pointer;
    color: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
	}
	#sidr {
		box-shadow: none !important;
    background: #165774 !important;
	}
	.sidr ul li.active>a, .sidr ul li.active>span, .sidr ul li.sidr-class-active>a, .sidr ul li.sidr-class-active>span, .sidr ul li:hover>a, .sidr ul li:hover>span {
		box-shadow: none !important;
	}
	.mobile-menu-first li {
		box-shadow: none !important;
		background: #165774 !important;
		display: flex !important;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.icon-bar {
		display: block !important;
	}


a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
a {
  position: relative;
	text-decoration: none;
}

 a:hover {
  color: #000;
	text-decoration: none;
}

.dropdown-item:hover{
	background-color: none !important;
}

.dropdown-menu > li {
  display: table-cell;
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
}


/* sidebar */


/* buttons */

a.btn {
	margin:0.5rem 0;
}

.btn.btn-arrow {
	background-position: right 20px center;
	background-repeat: no-repeat;
	background-size: 0.1;
	text-align: left;
	display: flex;
	flex-direction: row;
	align-items:center;
	justify-content: space-between;
}

.btn--300 {
	width: 300px;
}

/* footer */


/*------------------------------------*\
    PAGES
\*------------------------------------*/
header.masthead {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
		background-color:black;
		padding-top:72px;
		padding-bottom:72px;
}
header.masthead.case-study {
	padding-top:5rem;
}
header.masthead.second-taxonomy {
	height: auto;
	min-height: auto;
	padding-top: 72px;
	padding-bottom: 72px;
}
/* PROVVISORI */
.text-full {
	margin-top:2rem;
	font-size:1.875rem;
	line-height:1.2;
}
.text-full-second {
	margin-top:2rem;
	font-size:1.3125rem;
}
.wp-block-coolech-innerblock {
	font-size: 1.3125rem;
	line-height: 1.2;
}

h1.industrial {
	font-family: "Industrial";
	font-size:4rem;
	letter-spacing: 3px;
	font-weight: normal;
}


section {
			display: flex;
	    flex-direction: column;
	    align-items: center;
}

section.category-list {
  background: white;
}

.wp-block-cgb-block-magic-numbers {
	background: #f1f1f1;
}

.cat_desc {
	padding-bottom:0.8rem;
}
.cat_desc, .cat_icon, .cat_title {
	text-align: center;
}
.icon-category {
	height: 60px;
}
.icon-category.icon-zero {
	height:125px;
}
.cat_icon, .cat_col {
	margin-bottom:15px;
}

/* CASE STUDY */


.col-card {
	display: flex;
}
.card-body {
	margin-top:auto;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}
/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/



h1.h1-home {
	font-size:1.75rem;
}

h2.result_title {
	font-size: 1.875rem;
	margin-bottom:0px;
}

div.text-intro {
		font-size: 1.75rem;
}
.note-font {
font-size: 0.8rem;
}

.i-arrow-right {
	background-image: url("img/arrow-right.svg");
	background-repeat: no-repeat;
	background-position: right center;
	background-size:contain;
	width:60px;
	height: 20px;
	display: inline-block;
	vertical-align: middle;
	float:right;
}
.i-arrow-right.arrow-blue
{
		background-image: url("img/arrow-right-blue.svg");
}
.btn-outline-dark:hover .i-arrow-right.arrow-blue {
	background-image: url("img/arrow-right-white.svg");
}
.btn-outline-light:hover .i-arrow-right-w {
	background-image: url("img/arrow-right-blue.svg");
}



[class*="icon"] {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
}
[class*="icon"]:after, [class*="icon"]:before {
    content: "";
    box-sizing: border-box;
  }

[class*="icon-arrow1"]{
  width: 20px;
  height: 20px;
  border-width: 4px 4px 0 0;
  border-style: solid;
  margin: 10px;
}

[class*="icon-arrow1"]:before{
    right: 0;
    top: -3px;
    position: absolute;
    height: 4px;
    box-shadow: inset 0 0 0 32px;
    transform: rotate(-45deg);
    width: 23px;
    transform-origin: right top;
  }
  [class*="icon-arrow1-left"]{
    transform: rotate(45deg);
	}




/*------------------------------------*\
	    BUTTON
\*------------------------------------*/



/*To remove button from IE11, thank you Matt */
select::-ms-expand {
     display: none;
}
/*
.selectdiv.active:after {
	content:"-";
}

.selectdiv:after {
  content: '+';

  color: #333;

  right: 11px;
  /*Adjust for position however you want

  top: 18px;
  padding: 0 0 2px;



  position: absolute;
  pointer-events: none;
} */



/*------------------------------------*\
    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 {
		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;
	}
}

/*subemenu */
#submenu-bar {
	position: absolute;
	    width: 100%;
	    height: 60px;
display:none;
	/*		display:flex; */
			background-color: #165774;
			align-items:center;
}
#submenu a {
	text-align: center;
}

.wpcf7-submit {
    color: #165774;
		display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid #165774;
    padding: 0.375rem 0.75rem;
		border-radius: 30px;
		background-color:transparent;
}
.wpcf7-submit:hover {
	    background-color:#165774;

	}
.print-icon {
	font-size: 2rem;
	display: block;
	vertical-align: inherit;
	position:relative;

}
.print-icon-results {

}

.print-svg {
	width:40px;
}

.filter-svg-print {
	filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
}


/* SEARCH BAR PLUGIN */

.proinput input[type=submit] {
	display:none;
}
.probox, div.asl_m .probox .proinput input[type=search], .proinput input[type=text] {
	height:50px !important;
}
.proinput input {
	font-size: 1rem !important;
	font-family: SuisseRegular !important;
}
.proclose, .promagnifier, .proloading {
	height: 50px !important;
	width:50px !important;
}
/* SITE MAP */




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

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

}
@media only screen and (min-width:480px) {

	h1.h1-home {
		font-size:2.5rem;
	}




	.navbar-first {
 	 display:none;
  }


	div.text-intro {
		font-size: 2.5rem;
	}


}
