/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.1
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/


/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../dt-the7-child/fonts/roboto-v29-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../dt-the7-child/fonts/roboto-v29-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../dt-the7-child/fonts/roboto-v29-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../dt-the7-child/fonts/roboto-v29-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../dt-the7-child/fonts/roboto-v29-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../dt-the7-child/fonts/roboto-v29-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../dt-the7-child/fonts/roboto-v29-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../dt-the7-child/fonts/roboto-v29-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../dt-the7-child/fonts/roboto-v29-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../dt-the7-child/fonts/roboto-v29-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../dt-the7-child/fonts/roboto-v29-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../dt-the7-child/fonts/roboto-v29-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../dt-the7-child/fonts/roboto-v29-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../dt-the7-child/fonts/roboto-v29-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../dt-the7-child/fonts/roboto-v29-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../dt-the7-child/fonts/roboto-v29-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../dt-the7-child/fonts/roboto-v29-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../dt-the7-child/fonts/roboto-v29-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
div,
span,
input[type="text"], input[type="tel"], input[type="url"], input[type="email"], input[type="number"], input[type="date"], input[type="range"], input[type="password"], select, textarea{
	font-family: 'Roboto' !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
}

.img2x img {
	width: 50%;
	height: auto;
}

.mt-sm {
	margin-top: 1rem !important;
}

.mt-md {
	margin-top: 2rem !important;
}

.mt-lg {
	margin-top: 4rem !important;
}

.mt-xl {
	margin-top: 6rem !important;
}


.mb-sm {
	margin-bottom: 1rem !important;
}

.mb-md {
	margin-bottom: 2rem !important;
}

.mb-lg {
	margin-bottom: 4rem !important;
}

.mb-xl {
	margin-bottom: 6rem !important;
}

.mw-400 h2 {
	max-width: 400px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.mw-700 {
	max-width: 700px;
}

.mw-800 {
	max-width: 800px;
}

.mw-920 > div {
	max-width: 970px;
	margin: auto;
}

.separator {
	background-color: #fff;
    height: 40px;
    box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
}

.cursor-default button {
	cursor: default;
}

li:not(.lang-item).menu-item-type-custom .menu-text {
	color: #999 !important;
	cursor: default;
}

ul.arrow-style {
   list-style: none;
   margin-left: 10px;
   padding-left: 1em;
   text-indent: -.5em;
}

ul.arrow-style li::before {
    margin-right: 6px;
    content: '›';
    display: inline-block;
    color: #bb261a;
    font-weight: bold;
    font-size: 16px;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

.justify-center {
	justify-content: center;
}

.align-items-center {
	align-items: center;
}

a.link {
	text-decoration: none;
	color: #666;
	transition: color .4s;
}

a.link:hover {
	color: #cc0000;
}

a .menu-text {
    transition: color .4s;
}

.top-bar a {
	transition: opacity .4s;
}

.icon-left-list > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.icon-left-list > div::before {
	margin: 3em 1.5em;
	display: block;
    content: "";
    background: url("https://www.itim-srl.it/wp-content/uploads/icona-revamping-itim.png");
	background-size: 100%;
	background-repeat: no-repeat;
    width: 116px;
    height: 116px;
}

.contact-icons a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-icons .icomoon-the7-font-linkedin {
	padding: 0 1px;
    background-color: #2c67bc;
	color: #fff;
    height: 18px;
    line-height: 18px;
    border-radius: 2px;
}

.ricambi-img {
	max-width: 420px;
    width: 100%;
    height: auto;
}

#footer, #footer p {
	font-weight: 300;
}

#footer a {
	color: #ccc;
	transition: color .4s;
}

#footer a:hover {
	color: #fff;
}

#footer .widget-title::after {
    content: "";
    display: block;
    width: 3rem;
    height: 1px;
    background-color: #cc0000;
    margin-top: .5rem;
}

#footer .piva {
	width: 184px; 
	text-align: right
}

button.ubtn-normal {
	padding: 12px 35px !important;
	border-radius: 100px;
}

.scroll-top.on {
    border-radius: 50%;
}

/* FORM */
.form-field-inline,
.form-field-inline p {
	display: flex;
	flex-wrap: wrap;
}

.form-field-inline > *,
.form-field-inline p > *{
	flex-grow: 1;
}

.wpcf7-submit {
    width: 100%;
    text-transform: uppercase !important;
	margin-top: 20px;
	transition: background-color .3s;
}

.wpcf7-submit:hover {
	background-color: #666 !important;
}

/* To fix problem of not showing error messages */
.wpcf7-not-valid-tip {
    display: block;
}

/* PRIVACY */

#privacy h1,
#privacy h2,
#privacy h3 {
	color: #cc0000;
}

#privacy table th, 
#privacy table td {
    text-align: center;
    border: 1px solid;
}

/*privacy table*/
.content td, .content th {
	padding: 15px;
}

.wp-block-table thead {
	background-color: #efefef;
}

@media (max-width: 600px) {
	.wp-block-table .has-fixed-layout {
		table-layout: auto;
	}
	
	.wp-block-table .has-fixed-layout td, .wp-block-table .has-fixed-layout th {
		word-break: initial;
	}
}

/********************************************************/


.cube-wrapper {
    width: 200px;
    height: 140px;
    margin: 75px auto 100px;
    perspective: 1200px;
}

.cube {
    position: relative;
    width: 200px;
    height: 140px;
    transform-style: preserve-3d;
    animation: rotation2 8s linear infinite;
}

.side {
    position: absolute;
    width: 200px;
    height: 140px;
    box-sizing: border-box;
    border: 1px solid #fff;
    background-color: #c00000;
    padding: 60px 0;
    font: 15px 'Open Sans', sans-serif;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    text-align: center;

    transition: background-color .5s;
	
	animation: changeBgColor .4s infinite alternate;
}

.cube .g2c-new-icon:before {
	font-size: 10px;
	padding: 6px 14px;
}

.cube:hover .side {
    background-color: #c00000;
}



.side.right, .side.left {
    width: 140px;
}

.side.back { transform: translateZ(-70px) rotateX(180deg); }
.side.top { transform: translateY(-70px) rotateX(90deg); }
.side.bottom {
	transform: translateY(70px) rotateX(270deg);
	
	background: #c00000 url('https://www.itim-srl.it/wp-content/uploads/covid.png') center center no-repeat;
    background-size: 50% 50%;
}
.side.front { transform: translateZ(70px); }

.side.right { transform: translateX(130px) rotateY(90deg); }

.side.left { transform: transform: translateX(-70px) rotateY(90deg); }

@keyframes rotation2 {
    0% { transform: rotateX(0deg) rotateZ(0deg); }

    25% { transform: rotateX(90deg) rotateZ(30deg);}

    50% { transform: rotateX(180deg) rotateZ(0deg);}

    75% { transform: rotateX(270deg) rotateZ(-30deg);}

    100% { transform: rotateX(360deg) rotateZ(0deg);}
        
}
@keyframes changeBgColor { 
  from { background-color: #333; } 
}





/********************************************************/


@media (min-width: 768px) {
	.flex-order-after {
		order: 1;
	}
}

@media (max-width: 768px) {
	.ubtn-normal {
		padding: 10px 0 !important;
	}
}

@media screen and ( min-width: 692px ) {
	/*.form-field-inline > *:first-child,*/
	.form-field-inline p > *:first-child{
		margin-right: 20px;
	}
}

@media screen and ( min-width: 840px ) {
	.column-text-2 {
		column-count: 2;
		column-gap: 100px;
	}
}

@media screen and ( max-width: 991px ) {
	
	.flex-order-first {
		order: -1;
	}
	
	#footer {
		text-align: center;
	}
	
	#footer .widget-title::after {
		margin-left: auto;
		margin-right: auto;
	}
	
	#footer .piva {
		width: auto;
		text-align: center;
	}
}

@media screen and ( max-width: 479px ) {
	.cube-wrapper {
		margin: 50px auto 50px;
	}
}