/*
-----------------------------------------------------------------------------------
		Theme Name:     Genialdetail Perfecti Child
		Theme URI:      http://perfecti.evatheme.com
		Description:    Child theme for the Perfecti - Premium Multi-Purpose WordPress Theme
		Author:         Evatheme
		Author URI:     http://www.evatheme.com/
		Template:       perfecti                             
		Version:        1.0
*/

@import url("../perfecti/style.css");

/* Enter below your Customization CSS */

* {
	font-family: 'Raleway', sans-serif;
}

#page-title h2 {
	font-family: 'Raleway', sans-serif !important; 
}

#top_logo a {display:none !important;}

#page-title {
	background-position: 50% 50% !important;
	padding: 150px 0 150px;
	margin-bottom: 0 !important;
}

.logo img {
	height: 50px !important;
}

#top_menu li a {
	padding-top: 10px !important;
}

#top_menu li a.main-menu-link:before {
	top: 15px !important;
}

#top_menu .sub-nav li a {
	color: #666 !important;
}

p.copyright {
	color: #fff;
}

iframe {
	width: 100%;

}

div.values-wrapper {
	display: -webkit-flex;
   	display: flex;
    -webkit-flex-direction: row;
   	flex-direction: row;
}

div.values {
	width: 33.33%;
	padding: 40px;
	vertical-align: top;
	text-align: justify;
}

.values-wrapper img {
	display: inline-block;
	width: 40px;
	margin-bottom: 10px;
}

.values-wrapper h2 {
	font-size: 20px;
	display: inline-block;
	margin: 0 0 0 10px;
	line-height: 50px;
	vertical-align: bottom;
}

.values-wrapper br {
	display: none;
}

#page-title .container h2 {
	text-align: right;
	color: #fff;
}

.contacts {
	display: -webkit-flex;
   	display: flex;
    -webkit-flex-direction: row;
   	flex-direction: row;
}

.contacts iframe {
	height: 250px;
}

.contacts .contact:first-of-type {
	width: 50%;
	font-size: 16px;
	padding-right: 10px;
}

.contacts .contact:last-of-type {
	width: 50%;
}

.wpcf7 {
	margin: 0 auto !important;
	width: 70%;
}

.wpcf7 div.contact-wrapper span.half {
	display: inline-block;
	width: 47.5%;
}

	.wpcf7 div.contact-wrapper span.half:first-of-type {
		margin-right: 2.5%;
	}

	.wpcf7 div.contact-wrapper span.half:last-of-type {
		margin-left: 2.5%;
	}


.wpcf7 div.contact-wrapper span.half span {
	width: 100%;
}

#main {
	min-height: 0 !important;
	margin: 25px 0;
}

.home #main .container,
 .page-id-6 #main .container,
 .page-id-868 #main .container {	
	position: relative;
}

.home #main .container::before,
.page-id-6 #main .container::before,
.page-id-868 #main .container::before {
	display: block;
	content: " " ;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	opacity: 0.1;
	background: url(/wp-content/uploads/sites/6/2016/07/LOGOTIPO_Genialdetail-1.png) no-repeat;
	background-size: 85%;
	background-position: 50% 50%;
	-moz-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -o-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    filter: gray;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); 
}



.contact-title {
	margin-top: 30px;
	text-align: center;
}

.contact-title p {
	font-size: 30px;
	font-weight: bold;
	display: inline-block;
}

.contact-title p img {
	margin-left: 10px;
	vertical-align: middle;
	width: 200px;
}


/* BLOG */
.blog .type-post-wrap .loop-media {
	margin: 0 !important;
	text-align: center;
	width: 100%;
}

.blog .loop-title {
	font-size: 22px !important;
	line-height: 30px !important;
}

.blog .loop-image {
	width: 100%;
	display: block;
	margin-bottom: 10px;
}

.loop-meta li:after {
	display: none;
}

.loop-meta .author, .loop-meta .comments {
	display: none;
}

.blog .content {
	font-size: 0;
}

.blog .meta-container {
	margin: 0;
}

#comments {
	display: none;
}

.single-post-pagination {
	display: none;
}

.blog article {
	vertical-align: top;
	display: inline-block;
	width: 50%;
	padding: 0 10px;
}

.blog .loop-title {
		margin-top: 10px;
	}

	#gallery #ftg-items h1 {
		text-align: left;
		padding-left: 45px;
		background: url(/wp-content/uploads/sites/6/2016/07/ICON_Genialdetail.png) no-repeat;
		background-size: 40px;
		line-height: 50px;
		vertical-align: bottom;
		font-size: 20px;
		margin: 0;
	}

	#recent-posts-3 li {
		background: url(/wp-content/uploads/sites/6/2016/07/ICON_Genialdetail.png) no-repeat;
		background-size: 20px;
		padding-left: 25px;
	}

	.custom_home_p {
		padding-left: 50px;
		background: url(/wp-content/uploads/sites/6/2016/07/ICON_Genialdetail.png) no-repeat;
		background-size: 30px;
    	line-height: 30px;
	}


@media all and (max-width: 1200px) {
	#gallery #ftg-items h1 {
		font-size: 20px;
		background-size: 30px;
	    background-position: left 0px;
	    line-height: 40px;
	}

	#gallery #ftg-items img {
		width: 450px !important;
		height: 300px !important;
	}

	.values-wrapper h2 {
		font-size: 14px;
	}
}


@media all and (max-width: 980px) {
	#top_menu {
		margin-right: 0 !important;
	}
	.values-wrapper h2 {
		font-size: 20px;
	}
}

@media all and (max-width: 768px) {
	#gallery #ftg-items {
		text-align: center;
	}

	#gallery #ftg-items .tile {
		display: block !important;
		width: 100% !important;
	}

	#gallery #ftg-items img {
		width: 100% !important;
		height: auto !important;
		max-height: 
	}
}

@media all and (max-width: 320px) {
	#gallery #ftg-items h1 {
		font-size: 16px;
	}

	#gallery #ftg-items img {
		width: 280px !important;
		height: 200px !important;
	}

	#gallery #ftg-items .tile {
		height: 300px !important;
	}
}

@media all and (max-width: 980px) {
	.blog article {
		width: 100%;
	}

	.values-wrapper {
		display: block !important;
	}

	.values-wrapper .values {
		width: 100%;
		display: block;
	}
}


@media all and (max-width: 768px) {

	.contacts {
		display: block;
	}

	.contacts .contact {
		width: 100% !important;
		display: block;
	}

	footer .pull-right {
		text-align: center;
	}

}

@media all and (max-width: 425px) {
	.blog .loop-title {
		font-size: 16px !important;
	}
}

.news-m {
	width: 25px;
	height: 25px;
	background: url(/wp-content/uploads/sites/6/2016/07/ICON_Genialdetail.png);
	background-size: 25px;
	display: inline-block;
}

.testemonial {
	box-sizing: border-box;
	position: relative;
	 text-align: justify;
    text-justify: inter-word;
}

.testemonial:before {
	position: absolute;
	content: " ";
	display: block;
	content: " " ;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.1;
	background: url(/wp-content/uploads/sites/6/2016/07/ICON_Genialdetail.png) no-repeat;
	-moz-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -o-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    filter: gray;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); 

	background-position: right center;
	background-size: 200px;
}

.testemonial-hr {
	margin: 10px 0;
	height: 25px;
	background: url(/wp-content/uploads/sites/6/2016/07/ICON_Genialdetail.png) no-repeat;
	background-size: 25px;
	background-position: center;
}

#top_menu li:last-of-type a {
	display: inline-block;
}

.submenu-languages {
	display: inline-block;
}

#top_menu li:last-of-type .sub-menu li a {
	padding:  0;
}
.flags {
	text-align: center;
	font-size: 16px;
}


.flags img {
	display: inline-block;
	margin: 0 5px;
	width: 35px;
}