/*
Theme Name: RedPost Framework
Theme URI: http://redpost.pt
Author: Frederico Neto, Alex Santos
Author URI: http://redpost.pt/
Description: Based on the great work of devmbootstrap3
Version: 1

Tags: one-column, two-columns, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, rtl-language-support, theme-options, translation-ready
Text Domain: redpost

redpost WordPress Theme, Copyright 2016 Frederico Neto.
redpost is distributed under the terms of the GNU GPL v3.
*/


/* Geral */
html,
body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

/*font pricipal*/
body {
    	overflow-x: hidden !important;
	
	font-family: 'Open Sans';
	-webkit-font-smoothing: subpixel-antialiased;
	font-size:12px; font-weight: 400; line-height:130%; padding:0; margin:0;
	color: #484848;
}

/*font custom*/
.font-custom {
	font-family: 'Montserrat', sans-serif;
}

h1{font-size:26px; font-weight: 400; line-height:130%; padding:0; margin:0;}
h2{font-size:24px; font-weight: 400; line-height:130%; padding:0; margin:0;}
h3{font-size:22px; font-weight: 400; line-height:130%; padding:0; margin:0;}
h4{font-size:20px; font-weight: 400; line-height:130%; padding:0; margin:0;}
h5{font-size:18px; font-weight: 400; line-height:130%; padding:0; margin:0;}
h6{font-size:16px; font-weight: 400; line-height:130%; padding:0; margin:0;}


@media (max-width: 991px) {
h1{font-size:25px;}
h2{font-size:23px;}
h3{font-size:21px;}
h4{font-size:19px;}
h5{font-size:17px;}
h6{font-size:15px;}
}

@media (max-width: 767px) {
h1{font-size:24px;}
h2{font-size:22px;}
h3{font-size:20px;}
h4{font-size:18px;}
h5{font-size:16px;}
h6{font-size:14px;}
}

@media (max-width: 480px) {
h1{font-size:23px;}
h2{font-size:21px;}
h3{font-size:19px;}
h4{font-size:17px;}
h5{font-size:15px;}
h6{font-size:13px;}
}
.h-inline {display: initial;}

.legend{font-size:11px;}

p{font-size:12px; font-weight: 400; line-height:130%; padding:0; margin:0;}

b{font-weight: 700;}
em {font-style: italic}

abbr[data-original-title], abbr[title]{
	border-bottom: 0px dotted #777;
}

hr{
    border: 0;
    height: 2px;
    background: #333;
	width: 90%;
}

a:link,
a:visited {
	color: #d3713c;  text-decoration: none; outline:0;
}

a:active,
a:hover,
a:focus { 
	color: #777777;  text-decoration: none; outline:0;
} 

a.link-white:link,
a.link-white:visited { 
	color: #ccc;  text-decoration: none; outline:0;
}

a.link-white:active,
a.link-white:hover,
a.link-white:focus{ 
	color: #777;  text-decoration: none; outline:0;
} 


.mt-00 {margin-top: 0px !important;}
.mt-10 {margin-top: 10px !important;}
.mt-20 {margin-top: 20px !important;}
.mt-30 {margin-top: 30px !important;}
.mt-40 {margin-top: 40px !important;}
.mt-50 {margin-top: 50px !important;}
.mt-60 {margin-top: 60px !important;}
.mt-70 {margin-top: 70px !important;}
.mt-80 {margin-top: 80px !important;}
.mt-90 {margin-top: 90px !important;}
.mt-100{margin-top: 100px !important;}

.mb-00 {margin-bottom: 0px !important;}
.mb-10 {margin-bottom: 10px !important;}
.mb-20 {margin-bottom: 20px !important;}
.mb-30 {margin-bottom: 30px !important;}
.mb-40 {margin-bottom: 40px !important;}
.mb-50 {margin-bottom: 50px !important;}
.mb-60 {margin-bottom: 60px !important;}
.mb-70 {margin-bottom: 70px !important;}
.mb-80 {margin-bottom: 80px !important;}
.mb-90 {margin-bottom: 90px !important;}
.mb-100 {margin-bottom: 100px !important;}

.pad-00{padding: 0px !important;}
.pad-05{padding-top: 5px !important; padding-bottom: 5px !important;}
.pad-10{padding-top: 10px !important; padding-bottom: 10px !important;}
.pad-20{padding-top: 20px !important; padding-bottom: 20px !important;}
.pad-30{padding-top: 30px !important; padding-bottom: 30px !important;}
.pad-40{padding-top: 40px !important; padding-bottom: 40px !important;}
.pad-50{padding-top: 50px !important; padding-bottom: 50px !important;}
.pad-60{padding-top: 60px !important; padding-bottom: 60px !important;}
.pad-70{padding-top: 70px !important; padding-bottom: 70px !important;}
.pad-100{padding-top: 100px !important; padding-bottom: 100px !important;}

.pb-50 {padding-bottom: 50px !important;}

.z-1{z-index: 1;}
.z-2{z-index: 2;}
.z-3{z-index: 3;}

/*alinhamentos verticais */

div.v-outer {
	width: 100%; 
	height: 100%; 
	left: 0; 
	top: 0; 
	position:absolute;
}


div.v-align {
    width: 100%;
	height: 100%;
    display: table;
	position: absolute;
}


div.v-top {
	display: table-cell;
	vertical-align:top;
}

div.v-middle {
	display: table-cell;
	vertical-align: middle;
}

div.v-bottom {
	display: table-cell;
	vertical-align: bottom;
}

/*background cores e outros*/

img{
	width:100%;
	height: auto; 
	position: relative; 
	display:block;
}

.full {
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
}

.bg-full-center{
	background-repeat:	no-repeat;
	background-position: center center; 
	background-attachment: scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}

.bg-full-top{
	background-repeat:	no-repeat;
	background-position: top center !important; 
	background-attachment: scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}

.bg-fixed{background-attachment: fixed !important;}
@media (max-width: 767px) {.bg-fixed{background-attachment: scroll !important;}}


.bg-black {
	background: #231f20;
}

.bg-black-alpha {
	background: rgba(0,0,0,0.7);
}

.bg-white {
	background: #eeeeee;
}

.bg-blue {
	background: #d3713c;
}

.bg-blue-alpha {
	background: rgba(00,72,108,0.7);
}  
 
.bg-red {
	background: rgba(160,30,30,1);
}

.bg-red-alpha {
	background: rgba(130,0,0,0.7);
}

.bg-color {
}

.bg-color-alpha {
} 


/*texto cores */

.t-black {
  color: #231f20 !important;
}

.t-white {
  color: #d3713c !important;
}

.t-gray {
  color: #999 !important;
}

.t-color {
  color: #999;
}
	
.t-underline-color:after {
    position: relative;
    content: '';
    bottom: -3px;
    width: 100%;
    height: 1px;
    margin: 6px 0 12px 0;
    display: block;
    background-color: #000;
}	

.t-underline-left:before {
    position: absolute;
    content: '';
	margin-top: 3px;
	left:5px;
    width: 1px;
    height: 30px;
    display: block;
    background-color: #000;
}	
@media (max-width: 767px) {.t-underline-left:before{display:none;}}


.t-underline-white:after {
    position: relative;
    content: '';
    bottom: -3px;
    width: 100%;
    height: 2px;
    margin: 6px 0 12px 0;
    display: block;
    background-color: #fff;
}	


.t-shadow{
	text-shadow: 2px 2px 3px rgba(50, 50, 50, 0.6);
}

/*Limitar texto por 2 linhas */

p.txt-limit-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;  /* fallback */
    display: -webkit-inline-box;
    vertical-align: middle;
    font-size: 14px;
    line-height: 16px; /* fallback */
    max-height: 32px; /* fallback (line-height x 2 ) */
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
}

/*defenir formas proporcionais e fazer crop imegens inseridas por html*/

div.shape-img {
	overflow: hidden;
	display: block;
	position: relative;
}

div.shape-img>img {
	width: 100%;
	height: auto;
	position: relative;
	display: block;
}

div.shape-img>div:first-child {
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	position: absolute;
}

div.shape-img>div img {
	width: 100%;
	height: auto;
	position: relative;
	display: block;
}

/*estilos form*/

.form-control{
	border-radius: 0;
	text-align: left;
	font-size: 12px;
	height: 30px;
}

.btn{
	font-size: 12px !important;	
}


/*--------------------Custom-----------------------------------------*/

.navbar {
	border: 0px;
	-webkit-transition: background .5s ease-in-out, padding .5s ease-in-out;
	-moz-transition: background .5s ease-in-out, padding .5s ease-in-out;
	transition: background .5s ease-in-out, padding .5s ease-in-out;	
}

.social{
	font-size: 13px;
	font-weight: 600;
}

.social ul{
	float: right;
    margin-bottom: 0;
	height: 50px;
	display: table;
}

.social ul li{
	display: table-cell;
	vertical-align: middle;
	padding: 10px;
}

.top-nav-collapse .social{
	display:none;
}


.menu .navbar-brand {
	top: 0;
	height: 100px;
	position: absolute;
	padding: 10px 10px 10px 15px ;
}

.top-nav-collapse .menu .navbar-brand {
	height: 50px;
	padding: 5px 5px 5px 15px ;
}

.top-nav-collapse .menu .navbar-brand img.brand-icon, 
.menu .navbar-brand img.brand-marca{
	height: 100%;
	width: auto;
	display: block;
}

.top-nav-collapse .menu .navbar-brand img.brand-marca, 
.menu .navbar-brand img.brand-icon{
	height: 100%;
	width: auto;
	display: none;
}

.menu li{
	height: 50px;
}

.menu li a{
	font-weight: 700;
	text-transform: uppercase;	
} 


#carousel-grupo.carousel {
	margin-top: 50px;
    height: 50%;
}

header.carousel {
	margin-top: 100px;
    height: 50%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

header.carousel .carousel-caption {
    width: 100%;
	right: 0;
    left: 0;
	margin-bottom: 50px;
}




.headline h1{
	max-width: 800px;
	padding-left: 10px;
	padding-right: 10px;
}

.btn-primary{
	color: #fff !important;
	border-radius: 0;
	border: 0;
}

.btn-primary:focus,
.btn-primary:hover{
	background-color: #777;
}


.form-group{
	margin-bottom: 5px;
}



.bg-shadow{
-webkit-box-shadow: 0px 27px 23px -24px rgba(0,0,0,0.4);
-moz-box-shadow: 0px 27px 23px -24px rgba(0,0,0,0.4);
box-shadow: 0px 27px 23px -24px rgba(0,0,0,0.4);
}


footer .navbar-brand{
	height: 60px;
	padding: 0px;
	position: relative;
}

footer .navbar-brand img{
	height: 100%;
		width:auto;
}

a.btn-empresa .marca{
	width: auto;
    height: auto;
    max-width: 240px;
    max-height: 100px;
    margin: 0 auto;
    display: block;
    padding: 0 20px;
}

a.btn-empresa:hover .marca {	
	width: auto;
    height: auto;
    max-width: 270px;
    max-height: 100px;
    margin: 0 auto;
    display: block;
    padding: 0 20px;
	
	-webkit-transition:  .2s ease-in-out;
	-moz-transition:  .2s ease-in-out;
	transition:  .2s ease-in-out;	
	
}

#areas ul.nav li,
#portfolio ul.nav li{
	padding: 15px;
}

#areas ul.nav li,
#portfolio ul.nav li{
    width: 20%;
    float: left;
	margin:0;
}

#areas ul.nav li p,
#portfolio ul.nav li p{
	padding: 7px 0px 0px 0px;
}

#areas .nav>li>a,
#portfolio .nav>li>a {
    position: relative;
    display: block;
    padding: 5px 5px;
	border-radius: 0px;
}

#portfolio .nav>li.active>a img{
	opacity: 0.6;
}



/*------------------------ Modal Styles---------------------- */


#portfolio .portfolio-item {
	margin: 0 0 15px;
	right: 0
}

#portfolio .portfolio-item .portfolio-link {
	display: block;
	position: relative;
	max-width: 400px;
	margin: 0 auto
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: all ease .5s;
	-webkit-transition: all ease .5s;
	-moz-transition: all ease .5s;
	  z-index: 2; 
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
	opacity: 1;
	 
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
	position: absolute;
	width: 100%;
	height: 20px;
	font-size: 20px;
	text-align: center;
	top: 50%;
	margin-top: -12px;
	color: #fff
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
	margin-top: -12px
}

#portfolio .portfolio-item .portfolio-caption {
	max-width: 400px;
	margin: 0 auto;
	background-color: #fff;
	text-align: left;
	margin: 10px auto 15px auto;
	height: 30px;
	overflow: hidden;
	text-align: center;
}

#portfolio .portfolio-item .portfolio-caption h6 {
	font-size: 13px;
	margin: 0;
	line-height:15px;
}


.modal-open .modal{
	padding: 0 !important;
}

.portfolio-modal.modal .carousel-inner {
	display:none;
}

.portfolio-modal.modal.in .carousel-inner {
	display:block;
}


.portfolio-modal .modal-content {
	border-radius: 0;
	background-clip: border-box;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 0;
	min-height: 100%;
	padding: 100px 0;
	text-align: center
}

.portfolio-modal .modal-content p {
	margin-bottom: 5px
}

.portfolio-modal .modal-content p.item-intro {
	margin: 20px 0 30px;
	font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: italic;
	font-size: 16px
}

.portfolio-modal .modal-content ul.list-inline {
	margin-bottom: 30px;
	margin-top: 0
}


.portfolio-modal .close-modal {
	position: absolute;
	width: 75px;
	height: 75px;
	background-color: transparent;
	top: 25px;
	right: 25px;
	cursor: pointer
}

.portfolio-modal .close-modal:hover {
	opacity: .3
}

.portfolio-modal .close-modal .lr {
	height: 75px;
	width: 1px;
	margin-left: 35px;
	background-color: #222;
	transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	z-index: 1051
}

.portfolio-modal .close-modal .lr .rl {
	height: 75px;
	width: 1px;
	background-color: #222;
	transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	z-index: 1052
}

.portfolio-modal .modal-backdrop {
	opacity: 0;
	display: none
}



/*------------------------ Responsive Styles---------------------- */
@media (min-width: 1200px){
	.container {
		width: 970px;
	}
}

@media (max-width: 991px) {
	.navbar .menu .navbar-brand {
		padding: 30px 30px 30px 15px ;
	}	


	.top-nav-collapse .menu .navbar-brand {
		padding: 5px 5px 5px 15px ;
	}
	
	.menu .navbar-brand img.brand-marca{
		height: 100%;
		width: auto;
		display: none;
	}

	.top-nav-collapse .menu .navbar-brand img.brand-icon, 
	.menu .navbar-brand img.brand-icon{
		height: 100%;
		width: auto;
		display: block;
	}	
		
	
	
}

@media (max-width: 767px) {
	
	#grupo .social li{
		display:block;
		padding-top: 0px;
	}
	
	#grupo .social ul{
		padding: 20px 0;
	}
	
	
	.navbar .social{
		display:none;
	}
	.navbar .menu .navbar-brand {
		height: 50px;
		padding: 5px 5px 5px 15px ;
	}
	
	
	#carousel-grupo.carousel {
		margin-top: -20px;
	}

	header.carousel {
		margin-top: 50px;
	}	
	
	
	#areas ul.nav,
	#portfolio ul.nav {
	width: 100%;
	padding: 10px 0;
	}
		
	#areas ul.nav  li,
	#portfolio ul.nav  li{
	width: 100% !important;
	padding: 5px 15px;
	}	
	
	#areas .nav>li>a, 
	#portfolio .nav>li>a{
	    background-color: #eee;
	}

	#areas ul.nav li img,
	#portfolio ul.nav li img{
		display: none;
	}
	
	#areas ul.nav li p,
	#portfolio ul.nav li p{
		padding: 5px 10px 5px 10px;
		font-size: 14px;
	}	
	
	.valores  .text-left{
		text-align: center;
	}
		
}

@media (max-width: 480px) {

}
