/*
 Theme Name:   Fontes Pereira
 Theme URI:    http://example.com/twenty-fourteen-child/
 Description:  Fontes Pereira Child Theme
 Author:       Martinho Vasconcelos
 Author URI:   http://mvasconcelos.eu
 Template:     ftpereira-wp
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/

@import url("../ftpereira-wp/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */



/****************************************************************************
	*-*-*HEADER2-*-*
****************************************************************************/

.header_two  { text-align: center; background: url(../images/header-two.jpg) no-repeat #14193c;
	background-size: auto 100%;
	width: 100%;height: 598px; position: relative; }
.header_two h2 { margin: 100px 0px; color: #ffffff; }

/****************************************************************************
	*-*-*HEADER3-*-*
****************************************************************************/

.header_three h2 {color: #ffffff;}



/****************************************************************************
	*-*-*OUR SERVICES-*-*
****************************************************************************/

.our-services { width: 376px; display: inline-block; text-align: justify;margin-right: 70px; }
.our-services p { margin-bottom: 30px; text-indent: 2em; }


/****************************************************************************
	*-*-*OUR PRODUCTS-*-*
****************************************************************************/

.product-nav li .selected {border: 2px solid #14193c;}

/****************************************************************************
	*-*-* CONTACT -*-*
****************************************************************************/

.map .overlay { position: absolute; top: 25px; right: 25px; background: rgba(20,25,61,0.8); padding: 25px 15px; text-align: left; width: 230px; border-radius: 7px;  }

.map .overlay h3 {font-size: 24px; font-weight: 700; color: #FFFFFF; margin-bottom: 20px; text-transform: uppercase;}

.contact_form input[type="button"] { cursor:pointer; font:700 12px 'Lato', sans-serif; padding: 8px 14px; color: #ffffff; background: #14193d; float: right; border: 0px; border-radius: 3px;text-transform: uppercase; }


nav ul li a:hover {color: #eeca17;}
::selection { background: #14193d; color: #fff; text-shadow: none; }


/****************************************************************************
	*-*-*ABOUT-*-*
****************************************************************************/
*::-moz-selection {
    background: none repeat scroll 0 0 #FFBA00 !important;
}

.about figure {width: 368px; height: 238px; border-radius: 7px;display: inline-block; overflow: hidden;}
.about > div { display: inline-block; width: 700px; text-align: justify; margin-left: 30px;}
.about p { text-indent: 2em; }
.about ul { font: 13px 'Lato', sans-serif; color: #8d8f91; line-height: 24px; text-indent: 3em;}

[class*="header_"],
#footer {
	background-size: 100% !important;
}

#header-two{
	background-color: transparent !important;
	background-position: center;
	background-size: 100% !important;
	padding-bottom: 40%;
	height: 0;
}
#header-two h2 {
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
}

img {
	max-width: 100%;
}

.list-wrap figure {
	width: 30px !important;
}
#footer {
	background-attachment: initial;
	background-position: center;
}
.yellow a {
	color:white;
	font-weight: bold;

}

.yellow a:hover {
	color:#eeca17;

}

h2.title {
    color: #fff;
    font-size: 30px;
    letter-spacing: -2px;
    line-height: 1em;
    margin: 0 0 8px;
    padding-bottom:30px;
}

.post .entry {
    font-size: 13px;
    line-height: 1.3em;
    overflow: hidden;
    width: 100%;
}
.post .entry p {
    color: #fff;
    text-indent: 2em;
    text-align: justify;
    margin-bottom: 10px;
}
.post .entry img {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #D0D0D0;
    padding: 2px;
}

.post_source {
    font-style: italic;
    color:#FFBA00 !important;
}


/***************************************************************
** Fancybox */

.fancybox-container { z-index: 100000; }


/***************************************************************
** Portugal 2020 */

.pt2020 {
	display: block;
	margin: 0 auto;
	max-width: 90%;
}

.pt2020 img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	width: 600px;
	padding: 25px;
	background-color: rgba(255, 255, 255, .75);
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
}

.pt2020:hover img { background-color: #fff; }
