/*
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.0
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
*/


/* CONTENUTO CLASSIC EDITOR (in single post, single page, single page modello) */

.contenuto h1, 
.contenuto h2, 
.contenuto h3,
.contenuto h4,
.contenuto h5,
.contenuto h6 {
  margin:1em 0;
}
.contenuto hr {
	margin:1em 0;
	clear:both;
  border: 0;
  height: 1px;
  background: #333;
  background-image: linear-gradient(to right, #ccc, #333, #ccc);
}
.contenuto table {
	margin-bottom:30px;
}	
.contenuto .btn {
	background: #d10019;
	color: #fff;
	display: block;
	width: 100%;
	padding: 10px 16px;
	border-radius: 6px;
	border: 1px solid transparent;
	text-align:center;
	margin:1em 0;
}	
.contenuto .btn.btn-block {
	display: block;
	width: 100%;
}
.contenuto .btn:hover {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925;
}

@media (max-width: 500px) {
	.contenuto img.alignleft,
	.contenuto img.alignright { 
		float:none; 
		display:block;
		margin-left:auto;
		margin-right:auto;
	}
}




/* TITOLI CON SFONDO ROSSO (in single post, single page modello) */

.titoli-rossi h1, 
.titoli-rossi h2, 
.titoli-rossi h3 {
  background-color:#d10019;
  color:#ffffff !important;
  padding:0.2em 1em;
  margin:1em 0;
  text-transform:uppercase;
  border-bottom: 0.2em solid #ba0618;
}
.titoli-rossi h1 a, 
.titoli-rossi h2 a, 
.titoli-rossi h3 a {
  color:#ffffff !important;
}
.titoli-rossi h1 { font-size:40px; }
.titoli-rossi h2 { font-size:30px; }
@media screen and (max-width: 575px) {
	.titoli-rossi h1 { font-size:35px; }
	.titoli-rossi h2 { font-size:25px; }
}	

/* CAMPI MODELLO PRODOTTO */

#prod_caratteristiche .box-button { 
	display:block;
	width:100%;
	margin-bottom:10px; 
	background-color:#333; 
	color:#fff; 
	transition: 0.3s;  
}
#prod_caratteristiche .box-button,
#prod_caratteristiche .box-button i { 
	color:#fff;
}
#prod_caratteristiche .box-button:hover { 
	background-color:#999; 
  cursor: default;
  pointer-events: auto;
}

/* SCHEDA ISVE TEST */

.scheda-isve-test #videogallery iframe { 
	margin-bottom:30px; 
	max-width:100%;
	min-height:500px;
	
}


/* fix per oggetto Posts di Elementor su mobile (immagine a sinistra deve andare sopra) */
@media (max-width: 767px) {
  .elementor-posts--thumbnail-left .elementor-post {
    display: flex;
    flex-direction: column;
  }
  .elementor-posts--thumbnail-left .elementor-post__thumbnail {
    margin: 0 0 15px 0;
    width: 100%;
  }
  .elementor-posts--thumbnail-left .elementor-post__text {
    width: 100%;
  }
}


/* CONTACT FORM 7 */

/* emulazione di Bootstrap Grid basilare, per i moduli Contact Form 7 */
/* Container centrale */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Riga con flexbox */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Colonna base */
.col {
  position: relative;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Mappa delle larghezze per col-x-1 ... col-x-12 (griglia a 12 colonne) */
[class*="col-"] {
  flex: 0 0 auto;
  box-sizing: border-box;
}

/* Breakpoint XS: <576px (stackate di default, non serve dichiarare) */
.col-xs-6 { width: 50%; }
.col-xs-12 { width: 100%; }

/* Breakpoint SM: ≥576px */
@media (min-width: 576px) {
  .col-sm-1  { width: 8.3333%; }
  .col-sm-2  { width: 16.6667%; }
  .col-sm-3  { width: 25%; }
  .col-sm-4  { width: 33.3333%; }
  .col-sm-5  { width: 41.6667%; }
  .col-sm-6  { width: 50%; }
  .col-sm-7  { width: 58.3333%; }
  .col-sm-8  { width: 66.6667%; }
  .col-sm-9  { width: 75%; }
  .col-sm-10 { width: 83.3333%; }
  .col-sm-11 { width: 91.6667%; }
  .col-sm-12 { width: 100%; }
}

/* Breakpoint MD: ≥768px */
@media (min-width: 768px) {
  .col-md-1  { width: 8.3333%; }
  .col-md-2  { width: 16.6667%; }
  .col-md-3  { width: 25%; }
  .col-md-4  { width: 33.3333%; }
  .col-md-5  { width: 41.6667%; }
  .col-md-6  { width: 50%; }
  .col-md-7  { width: 58.3333%; }
  .col-md-8  { width: 66.6667%; }
  .col-md-9  { width: 75%; }
  .col-md-10 { width: 83.3333%; }
  .col-md-11 { width: 91.6667%; }
  .col-md-12 { width: 100%; }
}


/****** personalizzo colori Ultimate Member ******/
/* sostituisco blue #3ba1da e hover #44b0ec con rosso #d10019 e #e44153 */


	/* Link colors */
	.um a.um-link,
	.um .um-tip:hover,
	.um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
	.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i,
	.um .um-member-name a:hover,
	.um .um-member-more a:hover,
	.um .um-member-less a:hover,
	.um .um-members-pagi a:hover,
	.um .um-cover-add:hover,
	.um .um-profile-subnav a.active,
	.um .um-item-meta a,
	.um-account-name a:hover,
	.um-account-nav a.current,
	.um-account-side li a.current span.um-account-icon,
	.um-account-side li a.current:hover span.um-account-icon,
	.um-dropdown li a:hover,
	i.um-active-color,
	span.um-active-color
	{
			color: #d10019 !important;
	}

	.um a.um-link:hover,
	.um a.um-link-hvr:hover {
			color: #e44153 !important;
	}

	/* Button colors */
	.um .um-field-group-head,
	.picker__box,
	.picker__nav--prev:hover,
	.picker__nav--next:hover,
	.um .um-members-pagi span.current,
	.um .um-members-pagi span.current:hover,
	.um .um-profile-nav-item.active a,
	.um .um-profile-nav-item.active a:hover,
	.upload,
	.um-modal-header,
	.um-modal-btn,
	.um-modal-btn.disabled,
	.um-modal-btn.disabled:hover,
	div.uimob800 .um-account-side li a.current,
	div.uimob800 .um-account-side li a.current:hover,
	.um .um-button,
	.um a.um-button,
	.um a.um-button.um-disabled:hover,
	.um a.um-button.um-disabled:focus,
	.um a.um-button.um-disabled:active,
	.um input[type=submit].um-button,
	.um input[type=submit].um-button:focus,
	.um input[type=submit]:disabled:hover
	{
			background: #d10019 !important;
			color: #fff;
	}

	.um .um-field-group-head:hover,
	.picker__footer,
	.picker__header,
	.picker__day--infocus:hover,
	.picker__day--outfocus:hover,
	.picker__day--highlighted:hover,
	.picker--focused .picker__day--highlighted,
	.picker__list-item:hover,
	.picker__list-item--highlighted:hover,
	.picker--focused .picker__list-item--highlighted,
	.picker__list-item--selected,
	.picker__list-item--selected:hover,
	.picker--focused .picker__list-item--selected,
	.um .um-button:hover,
	.um a.um-button:hover,
	.um input[type=submit].um-button:hover{
			background: #e44153 !important;
			color: #fff;
	}

	/* Button alt colors */
	.um .um-button.um-alt, 
	.um input[type=submit].um-button.um-alt {
			background: #eeeeee !important;
	}

	.um .um-button.um-alt:hover,
	.um input[type=submit].um-button.um-alt:hover {
			background: #e5e5e5 !important;	
	}
