@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: 'Avenir';
  src: url('../fonts/avenir/avenir-light-webfont.eot'); /* IE9 Compat Modes */
  src: url('../fonts/avenir/AvenirLTStd-Light.otf');
  src: url('../fonts/avenir/avenir-light-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/avenir/avenir-light-webfont.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/avenir/avenir-light-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/avenir/avenir-light-webfont.svg#avenir-light-webfont') format('svg'); /* Legacy iOS */
}

body {
	font-family: 'Avenir', sans-serif;
	line-height: 30px;
	font-size: 16px;
	color: #2F2F2F;
	overflow-x: hidden;
	overflow-y: hidden;
}

/* Ocultar as barras de rolagem do browser */
html {
	overflow-x: hidden;
	overflow-y: scroll;
}

/* Sombreamento do body ao abrir o menu mobile */
#overlay {
    position: fixed;
	display: none;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 2;
}

/* ----------------- MENUS ----------------- */

#lang-menu {
	background-color: white;
	text-decoration: none;
	padding-top: 2px;
}
#lang-menu li {
	text-align: right;
	padding-right: 50px;
	font-size: 14px;
	list-style-type: none;
}
#lang-menu li a {
	text-decoration: none;
}

.flag-br, .flag-us {
	margin-right: 5px;
	margin-left: 4px;
}

#header {
	position: fixed;
	width: 100%;
	height: 65px;
	top: -70px;
	background-color: white;
	box-shadow: 0 3px 4px -2px rgba(0,0,0,0.3);
	-webkit-transition: top 0.5s;
    -moz-transition: top 0.5s;
    -ms-transition: top 0.5s;
    -o-transition: top 0.5s;
	z-index: 1;
}

.menu {
	height: 65px;
	background-color: transparent;
	position: fixed;
	top: -65px;
	display: block;
	-webkit-transition: top 0.5s;
    -moz-transition: top 0.5s;
    -ms-transition: top 0.5s;
    -o-transition: top 0.5s;
	z-index: 1;
}

#header-logo { width: 24% }

#logo {
	float: left;
	background: url(../imagens/logo_poliforma_menu2.png);
	width: 250px;
	height: 56px;
	margin: 3.5px 0 0 5px;
}

#logo-branco {
	position: relative;
	float: right;
	background: url(../imagens/logo_poliforma_menu_branco.png);
	width: 200px;
	height: 45px;
	margin-right: 30px;
	margin-top: 20px;
	z-index: 1;
}

#menu-contato {
	width: 16%;
	margin-left: 24%;
}

#menu-contato li {
	font-size: 15px;
}

#icones {
	display: block;
	margin-top: 4px;
}

#nav-wrapper1 {
	position: absolute;
	display: block;
	margin-left: 20px;
	margin-top: 120px;
	background-color: transparent;
}

#nav-wrapper1 ul {
	position: relative;
	float: left;
}

#nav-wrapper1 ul li {
	display: inline;
	padding-left: 15px;
	float: none;
}

#nav-wrapper1 ul li a {
	color: white;
	text-shadow: 0 1px 1px black;
	-webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
}

#nav-wrapper1 ul li a:hover {
	color: #a02b2d;
	text-decoration: none;
}

#nav-wrapper1 a.active {
	color: #a02b2d;
	font-weight: bold;
}

#nav-wrapper1 a, a:visited, a:focus {
	color: #2F2F2F;
    text-decoration: none;
}

#nav-wrapper2 {
	width: 51%;
	margin-left: 45%;
	font-size: 0.9em;
}

#nav-wrapper2 ul {
	position: relative;
	float: left;
	margin: 19px 0 0 0;
}
#nav-wrapper2 ul li {
	display: inline;
	padding: 0 0 0 20px;
	float: none;
}
#nav-wrapper2 ul li a {
	color: #2F2F2F;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

#nav-wrapper2 ul li a:hover {
	text-decoration: none;
	color: #a02b2d;
	font-weight: bold;
}

#nav-wrapper2 a.active {
	text-decoration: none;
	color: #a02b2d;
	font-weight: bold;
}

.dropbtn {
	background-color: transparent;
	border: none;
	padding-bottom: 12px;
	outline: none;
	z-index: 0;
	cursor: pointer;
}

.dropbtn a {
	color: #2F2F2F;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

.dropbtn a:hover {
	text-decoration: none;
	color: #a02b2d;
	font-weight: bolder;
}

.dropdown {
	position: relative;
	display: inline-block;
	padding: 0 0 0 20px;
}

.dropdown-content {
	visibility: hidden;
	position: absolute;
	background-color: #f1f1f1;
	opacity: 0;
	font-size: 12px;
	text-align: left;
	min-width: 130px;
	margin-left: 1px;
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
	border-left: solid #a02b2d 4px;
	transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.dropdown-content a {
	color: black;
	padding: 5px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {background-color: #ddd;color: #a02b2d;}

.dropdown:hover .dropbtn {
	color: #a02b2d;
	font-weight: bold;
}

.show-desktop-menu {
	visibility: visible;
	opacity: 1;
  	z-index: 1;
  	transition-delay: 0s, 0s, 0.3s; /* this removes the transition delay so the menu will be visible while the other styles transition */
}

#redes-sociais {
	width: 9%;
	margin-left: 91%;
}

#redes-sociais h2 {
	display: flex;
	font-size: 10px;
	color: #2F2F2F;
	float: right;
	margin-right: 20px;
}

#wrapper-redes-sociais {
	display: flex;
	float: right;
	margin-top: 28px;
	margin-right: -63px;
}

#facebook {
	font-size: 25px;
	text-align: center;
	margin-left: 2px;
}

#linha-vertical {
	border-left: 1px solid #a02b2d;
	height: 25px;
	margin-top: 2px;
}

#instagram {
	text-align: center;
	font-size: 25px;
	margin-left: 10px;
}

#redes-sociais a .color {
	color: #D7D7D7;
	-webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
}
#redes-sociais a .color_fb:hover { color: #a02b2d }
#redes-sociais a .color_ld:hover { color: #a02b2d }

#linha-vertical2 {
	position: absolute;
	border-left: 3px solid #a02b2d;
	height: 65px;
	right: 0;
	top: 0;
}

.topnav { display: none }

/* ----------------- Fim - MENUS ----------------- */

/* ------------------------Responsive ------------------------ */
@media (max-width: 1547px) {
	#nav-wrapper2 ul {
		margin-left: -3%;
	}
}

@media (max-width: 1260px) {
	#menu-contato {
		font-size: 0.95em;
		margin-left: 26%;
	}
}

@media (max-width: 1185px) {
	#menu-contato { display: none }
	
	#nav-wrapper2 {
		margin-left: 35%;
	}
}

@media (max-width: 1040px) {
	#nav-wrapper2 {
		font-size: 0.84em;
	}
	
	#redes-sociais {
		width: 10%;
	}
	
	#linha-vertical2 {
		right: 10px;
	}
}

@media (max-width: 991px) {	
	#lang-menu,
	#header { display: none }
	
	#nav-wrapper1 { display: none }
	
	#nav-wrapper2 { display: none }
	
	#logo-branco { display: none }
	
	#logo-mobile {
		display: block;
		background-image: url(../imagens/logo_poliforma_menu-p.png);
		background-color: transparent;
		width: 200px;
		height: 45px;
		margin-bottom: 0;
		margin-top: 6.5px;
		margin-left: 10px;
	}
	
	.topnav {
		width: 100%;
		display: block;
		z-index: 3;
		position: fixed;
		height: 59px;
		background-color: white;
		box-shadow: 0 3px 4px -2px rgba(0,0,0,0.3);
	}
	
	.topnav a {
		float: left;
		display: block;
		color: black;
		padding: 2px 16px;
		text-decoration: none;
		-webkit-transition: all 0.30s ease;
		-moz-transition: all 0.30s ease;
		-ms-transition: all 0.30s ease;
		-o-transition: all 0.30s ease;
	}
	
	.topnav ul li .active  {
		background-color: #F5F5F5;
		color: #a02b2d;
		font-weight: bold;
		border-top: 1.5px solid #DCDCDC;
		border-bottom: 1.5px solid #DCDCDC;
	}
	
	.topnav a:hover {
		color: #a02b2d;
		background-color: #F5F5F5;
	}
	
	.topnav a.collapsible {
		float: right;
		display: block;
		color: #a02b2d;
		font-size: 25px;
		padding-top: 16px;
	}
	
	.topnav a.collapsible:hover {
		background-color: transparent;
	}

	.topnav .content {
		min-width: 100%;
		position: fixed;
		margin-top: 59px;
		max-height: 0;
		overflow: hidden;
		-webkit-transition: max-height 0.25s ease-out;
		-moz-transition: max-height 0.25s ease-out;
		-ms-transition: max-height 0.25s ease-out;
		-o-transition: max-height 0.25s ease-out;
		text-align: center;
		background-color: white;
		z-index: 3;
	}
	
	.topnav .content a {
		width: 100%;
	}
	
	.dropdown-mobile {
		position: relative;
		display: inline-block;
		width: 100%;
	}
	
	.dropbtn-mobile {
		background-color: transparent;
		border: none;
		outline: none;
		width: 100%;
		margin-bottom: 10px;
	}

	.dropbtn-mobile a {
		color: #2F2F2F;
		text-decoration: none;
	}

	.dropdown-content-mobile {
		display: none;
		position: relative;
		font-size: 12px;
		min-width: 130px;
		margin-left: 1px;
		margin-top: -10.5px;
	}

	.dropdown-content-mobile a {
		color: black;
		padding: 5px 0px;
		text-decoration: none;
		background-color: #F5F5F5;
	}

	.dropdown-content-mobile a:hover {background-color: #ddd;color: #a02b2d;}

	/*.dropdown-mobile:hover .dropdown-content-mobile {display: block;}*/

	/*.dropdown-mobile:hover .dropbtn-mobile {
		color: #a02b2d;
		font-weight: normal;
	}*/
}

@media (max-width: 317px) {
	#logo-mobile { display: none }
	
	.topnav a.collapsible {
		float: left;
	}
}
