﻿body {
	color: #333333;
	font-family: 'Exo', sans-serif, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

a, a:hover, a:focus {
	color: #333333;
	text-decoration:none;
}

h5 {
	font-weight: 600;
	font-size: 15px;
	text-transform: uppercase;
}

h1 {
	font-size: 17px;
	font-weight: 600;
	color: #930300;
	text-transform: uppercase;
}

h2 {
	font-size: 17px;
	font-weight: 600;
	text-transform: uppercase;
	margin-top: 10px;
	margin-bottom: 20px;
}


h3 {
	font-size: 17px;
	font-weight: 600;
	color: #930300;
	text-transform: uppercase;
	border-top: 9px solid #dedede;
	padding-top: 10px;
}

#label_tmp {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: inline-block !important;
    padding-left: 30px;
}

.inputs_form > input[type="checkbox"] {
    position: absolute;
    top: 0;
}

/* --- UTILS --- */

.rem-padding {
	padding: 0px;
}

.rem-padding-left {
	padding-left: 0px;
}

.rem-padding-right {
	padding-right: 0px;
}

.rem-padding-sides {
	padding-left: 0px;
	padding-right: 0px;
}

.rem-padding-top-sides {
	padding-top: 0px;
	padding-bottom: 0px;
}

.hide {
	display: none;
}

.show {
	display: initial;
}

.stretch {
	min-width: 100%;
}

.google-maps {
    position: relative;
    padding-bottom: 40%; // This is the aspect ratio
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}


/* --- FORMULARIOS --- */

#form_view .div_block_ele > span {
  display: none;
}

#form_view .input-group {
  min-width: 100%;
}

#form_view .invalid_img {
  padding: 0px;
  margin-top: -3px;
}

#form_view .invalid_txt {
  padding: 2px 10px;
	display: none;
}

#form_view .LV_valid {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 50;
}

#form_view .LV_invalid {
  padding: 6px 10px;
}

#form_view input {
  border: 1px solid #8E8E8E;
  border-radius: 0;
  margin: 5px 0;
}

#form_view textarea {
    border: 1px solid #8E8E8E;
    border-radius: 0;
    margin: 5px 0;
}

#form_view .input-group-addon {
  background-color: transparent;
  border: 0px solid #ccc;
  border-radius: 0px;
  position: absolute;
  z-index: 50;
  top: 4px;
  right: 142px;
}

/* --- NIF, css de cima tambem faz parte --- */
#form_view input[placeholder="NIF"] {
  padding-right: 170px;
}

#form_view ::-webkit-input-placeholder {
   color: black;
}

#form_view :-moz-placeholder { /* Firefox 18- */
   color: black;
}

#form_view ::-moz-placeholder {  /* Firefox 19+ */
   color: black;
}

#form_view :-ms-input-placeholder {
   color: black;
}

#form_view > form > div {
  padding-left: 0px;
  padding-right: 0px;
}

#form_view .input-group-addon > select {
  text-transform: uppercase;
}

.name_form {
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 16px;
	color: #313632;
	padding-top: 15px;
	padding-bottom: 10px;
}

.formpic {
	position: absolute;
	top: 8px;
	z-index: 5;
	right: 4px;
	width: 40px;
}

::-webkit-input-placeholder {
	color: #313632 !important;
}
::-moz-placeholder {
	color: #313632 !important;
} /* firefox 19+ */
:-ms-input-placeholder {
	color: #313632 !important;
} /* ie */
input:-moz-placeholder {
	color: #313632 !important;
}

#form_view .LV_invalid {
    display: initial;
    position: absolute;
    top: 7px;
    right: 3px;
    z-index: 50;
    padding: 6px 10px;
}


@media (max-width: 768px) {
  #form_view div[style="width: 50%"] {
    width: 100% !important;
  }
}

.btn-primary {
	background-color: #940001 !important;
	border: 0 !important;
	border-radius: 0 !important;
	text-transform: uppercase !important;
	width: 100px !important;
}


/* SLIDER */

.slider-homepage .bx-wrapper .bx-viewport {
	-moz-box-shadow: 0 0 0px #ccc;
	-webkit-box-shadow: 0 0 0px #ccc;
	box-shadow: 0 0 0px #ccc;
	border: 0px solid #fff;
	left: 0px;
}

.slider-homepage .bx-wrapper .bx-viewport > ul {
	padding: 0;
}

.slider-homepage .bx-wrapper img {
	min-width: 100%;
}

.caption {
	position: relative;
  background: #f0f0f0;
  padding: 30px;
  font-size: 15px;
  width: 100%;
  height: 100%;
  color: #454545;
}

.caption h4 {
	text-transform: uppercase;
	font-weight: bold;
	color: #8c0000;
}

.bx-controls.bx-has-pager {
  position: absolute;
  right: 40px;
  bottom: 50px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active {
	background:#0c102d !important;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background:#FFF !important;
}


.bx-wrapper .bx-pager .bx-pager-item, .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	padding: 3px 0px;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	width: 14px;
	height: 14px;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
	border-radius: 100%;
}

.slider-wrap {
	margin-top: 30px;
}

.slider-left {
	width: 67%;
	float:left;
}

.slider-right {
	width: 33%;
	background-color: #f0f0f0;
	float:right;
	padding-bottom:2000px;
	margin-bottom:-2000px;
}

#slider-prev {
    float: left;
    padding-left: 4px;
}

#slider-next {
    float: right;
}

.slider-controls {
	position: relative;
  width: 54px;
  float: right;
  right: 10px;
  bottom: 35px;
}

.slider-controls img {
	width: 24px !important;
}

/* --- HEADER --- */

.rofinor-header {
}

.rofinor-header-menu {
		background: #dedede;
		border-bottom: 7px #930300 solid;
}

.rofinor-header-menu > .navbar-default {
	  background-color: transparent;
	  border: 0;
		margin-bottom: 0;
}

.rofinor-brand {
	padding:20px;
}

.rofinor-brand > img {
		display: initial;
		padding: 20px 0px;
		padding-bottom: 30px;

}

.rofinor-header-menu .navbar-default .navbar-nav>li>a {
    color: #454545;
    font-size: 16px;
    font-weight: 600;
		text-transform: uppercase;
	  padding: 15px 50px;
		padding-bottom: 6px;

}

.rofinor-header-menu .navbar-nav {
    float: none;
    margin: 0 auto;
    position: relative;
    width: 100%;
}


.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    color: #555;
    background-color: transparent;
}

.menu-line {
	position: absolute;
	top: 3px;
	left: 0;
}

.menu-triangle {
	position: relative;
	bottom: 0px;
	display: block;
	margin: 0 auto;
}

.rofinor-search {
	float: right;
	position: relative;
	top: 20px;
	color: #a1a1a1;
	font-weight: 600;
}

.rofinor-search a {
	color: #a1a1a1;
}

.goweb-search > img {
	bottom: 2px;
	position: relative;
	padding-left: 10px;
}

.rofinor-search .line {
	padding: 10px 0px;
}

.active-lang {
	color: #930300 !important;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 10px;
}

.nav>li>a:hover, .nav>li>a:focus {
    text-decoration: none;
    background-color: white;
}

.navbar-nav.navbar-right:last-child {
    margin-right: -0px;
}

#search > form > input {
	width: 100%;
	padding: 6px 10px;
	font-size: 18px;
}

.services {
  margin-top: 30px;
}

.services-middle {
	margin-top: 0px;
}

.services-middle .service-col-content {
    height: 221px;
}

.services-middle > div > div > img {
	width: 100%;
}

.service-col-wrap {
	border: 1px solid #990d0c;
	box-shadow: 1px 1px 1px #888888;
}
.base .service-col-wrap {
	padding: 15px;
}


.service-col-content {
	padding: 15px;
	height: 200px;
}

.service-col-content .readmore {
	color: #990d0c;
  position: absolute;
  /* right: 16px; */
  bottom: 15px;
  text-transform:uppercase;
}

.service-img {
	position: absolute;
  right: 16px;
  bottom: 1px;
	z-index: 1;
}

.service-col-content p {
	z-index: 2;
}

.services > div > div {
	margin-bottom: 30px;
}

.apoios {
	background: #f0f0f0;
  padding: 20px 0;
	margin-bottom: 30px;
}

.service-col-wrap > img {
	width: 100%;
}

.footer-wrap {
	background: #c9c9c9;
	color: #980613;
	text-align: center;
	padding: 30px 0;
	font-weight: bold;
}

.footer-wrap a {
	color: #990d0c;
}

.footer-wrap2 {
	background: #940001;
	color: white;
	font-size: 12px;
	padding: 15px;
}

.lang {
	position: absolute !important;
	z-index: 2;
	width: 65px !important;
  background: #dedede;
	padding-right: 0 !important;
	left: 15px;
}

.lang a {
	font-weight: bold !important;
}

.goweb-search {
	padding: 15px 25px !important;
}

.base {
	margin-bottom: 30px;
  min-height: 500px;
}

.search2 > #search {
	display: inline-block;
	padding-top: 4px;
}

.search2 > img {
	display: inline-block;
	/* padding-right: 15px;
	padding-bottom: 4px; */
	position: relative;
	left: -25px;
}

.search2 input {
	border: 0;
  width: 135px !important;
	font-size: 14px !important;
	text-transform: uppercase;
}


.search2 ::-webkit-input-placeholder {
	color: #a1a1a1 !important;
}
.search2 ::-moz-placeholder {
	color: #a1a1a1 !important;
} /* firefox 19+ */
.search2 :-ms-input-placeholder {
	color: #a1a1a1 !important;
} /* ie */
.search2 input:-moz-placeholder {
	color: #a1a1a1 !important;
}

#search_result {
	margin-top: 30px;
  padding: 20px;
	border: 1px solid #990d0c;
  box-shadow: 1px 1px 1px #888888;
}

.row-same-size {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}

.dropdown .menu-triangle {
	display: none;
}

.dropdown-menu {
    background-color: #dedede;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
    background-color: #2e3092;
}

.service-col-wrap > a > img {
	min-width: 100%;
}

.navbar-collapse {
    max-height: 380px;
}


/* --- DROPDOWN --- */

.prods-list {
	margin: 30px 0px;
}

.prods-list .dropdown-menu {
	overflow-y: scroll;
	width: 100%;
	background-color: white !important;
	max-height: 300px;
}

.prods-list > .dropdown > .btn-primary {
	width: 100% !important;
	text-align: left;
	border: 2px solid #dedede !important;
	background-color: white !important;
	color: #930300 !important;
	font-weight: 600;
}

.prods-list .dropdown-menu>li>a {
  padding: 6px 20px;
	text-transform: uppercase;
}

.prods-list .btn-primary:focus, .prods-list .btn-primary:active, .prods-list .btn-primary.active, .prods-list .open .dropdown-toggle.btn-primary {
	color: #930300 !important;
	border: 2px solid rgba(0,0,0,.15) !important;
}

.setinha {
	position: absolute;
	right: 15px;
	top: 13px;
}

.prods-title {
	background: #2e3092;
	color: white;
	font-weight: 600;
	padding:8px 0px;
	padding-left: 10px;
	height:40px;
}

.prods-title > span {
	top: 2px;
	position: relative;
	left: 2px;
	font-size: 12px;
	text-transform:uppercase;
}

img.prods-pic {
    width: 20px;
}

.prods-content-wrap {
	/*overflow-y: scroll;
	max-height: 612px;
  min-height: 200px;
	*/

}

/* SCROLL BAR */

.prods-content-wrap::-webkit-scrollbar, .prod-line-open::-webkit-scrollbar{
	width: 6px;
	background-color: white;
}

.prods-content-wrap::-webkit-scrollbar-thumb, .prod-line-open::-webkit-scrollbar-thumb {
	background-color: #2e3092;
}

.prods-content-wrap::-webkit-scrollbar-thumb:hover, .prod-line-open::-webkit-scrollbar-thumb:hover {
	border: 1px solid #ffffff;
}

.prods-content-wrap::-webkit-scrollbar-thumb:active, .prod-line-open::-webkit-scrollbar-thumb:active {
	border: 1px solid #ffffff;
}

.prods-content-wrap::-webkit-scrollbar-track, .prod-line-open::-webkit-scrollbar-track {
	border: 1px #ffffff solid;
}



.prods-content {
	font-weight: 600;
	padding: 8px 0px;
	padding-left:37px;
	overflow: hidden;
	height:38px;
}

.active > .prods-content {
	background: #F7F7F7;
	border-bottom:1px solid #ccc;
}

.line1 {
	cursor: pointer;
}

.line2 > div:last-child {
	min-height: 290px;
}

.prod-line .line2 > div {
	background: #E6E6E6;
}

.prod-line-open {
	background: white;
	min-height: 230px;
	max-height: 230px;
  margin-top: 20px;
	padding: 15px;
	overflow-y: scroll;
	word-wrap: break-word;
}

.prods-close-x {
	float: right;
	margin-right: 10px;
	padding: 0 10px;
	padding-top: 20px;
	right: 0;
	cursor: pointer;
}

.prod-line-open > div:first-child {
	font-weight: 600;
}

.line1 {
	z-index:5;
}
.file {
	z-index: 10;
}

.prods-content > span {
	padding: 0px;
}

.cor-wrap img {
	padding-right: 10px;
}

.cor-wrap {
	padding: 10px;
  padding-left: 0;
  padding-bottom: 0;
}

.cor-span {
	padding: 0px !important;
}

.cor-span > img {
	width: 18px;
}

.line1 > div {
	min-height: 36px;
}

.show .slider-wrap {
    margin: 0px;
		padding: 0px;
		width: 100%;
}

.show .slider-left {
    width: 100%;
}


.rofinor-header-menu .navbar-nav {
		/* width: 82%; */
	text-align:center;
}
.rofinor-header-menu .nav.navbar-nav li {
	float:none;
	display:inline-block;
}

.img1,.img2,.img3,.img4 {
	padding: 20px;
}

.img1 {
	padding-left: 0px;
}

.img4 {
	padding-right: 0px;
}

.img2, .img3 {
	padding: 20px 10px;
}

.modal-body {
    position: relative;
    padding: 20px;
}

.modal-body .form-footer {
	padding-top: 20px;
}

.modal-body .name_form {
	display: none;
}

#messages {
	padding-top: 40px;
	font-weight: bold;
}

.gramagem2 {
	display: none;
}

/* --- 1366 --- */
@media (min-width: 1301px) {


	.container {
		width: 1049px;
	}

}

/* --- 1366 --- */
@media (max-width: 1300px) {


	.rofinor-header-menu .navbar-default .navbar-nav>li>a {
		padding: 15px 34px;
		padding-bottom: 6px;
	}

	.prods-title-wrap > div:first-child > .prods-title {
		padding-left: 0;
	}

}

@media (max-width: 1199px) {

	.rofinor-brand > img {
	  width: 500px;
	}

	.service-col-content {
	    padding: 10px;
	    height: 230px;
	}

	.rofinor-header-menu .navbar-nav {
	    width: 100%;
	}

	.gramagem1 {
		display: none;
	}
	.gramagem2 {
		display: initial;
	}


}


@media (max-width: 992px) {


	.rofinor-header-menu .nav.navbar-nav li {
		display:block;
	}

	/* --- TOGGLE NAVBAR COLLAPSE SOONER --- */
	/* --- http://stackoverflow.com/questions/18192082/bootstrap-3-navbar-collapse --- */

    .navbar-header {
        float: none;
				width: initial;
    }
    .navbar-toggle {
        display: block;
				margin-right: 0px;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
    /*
        float: none!important;
        margin: 7.5px -15px;
    */
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
			padding-top: 10px;
			padding-bottom: 10px;
			position:static;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    padding-bottom: 10px;
    }
    .collapsing {
        overflow: hidden!important;
    }

    .navbar-nav {
			padding-top: 0px;
			padding-right: 9px;
    }

	.navbar-wrapper-menu .navbar-nav>li>a {
		text-transform: uppercase;
		color: white;
		font-size: 18px;
		text-shadow: -0.9px -0.9px #97080c;
		display: table-cell;
		width: 115px;
		height: 70px;
		vertical-align: middle;
		padding: 0 22px;
		background: url('/media/images/line.jpg') no-repeat left center;
	}

	.navbar-wrapper-menu {
		display: none;
	}

	.menu-line {
		display: none;
	}

	.menu-triangle {
		display: none;
	}

	.rofinor-search {
		display: none;
	}

	.rofinor-header-menu .navbar-default .navbar-nav>li>a {
		padding: 15px 20px;
	}


	.slider-left {
		width: 100%;
	}

	.slider-right {
		width: 100%;
	}

	.caption {
		height: 180px !important;
	}

	#search {
		padding: 20px;
    padding-top: 15px;
    padding-bottom: 5px;
	}

	#search > form > input {
	    width: 100%;
	    padding: 6px 10px;
	    font-size: 18px;
	}

	.base .service-col-wrap {
	    padding: 15px;
	    margin-top: 30px;
	}


	.row-same-size {
	  display: initial !important;
	}

	.row-same-size.hidden-xs {
	    display: none !important;
	}

 	/* fix */
	.base .rem-padding-left {
		padding-right: 0px;
	}

	/* fix */
	.base .rem-padding-right {
		padding-left: 0px;
	}

	.line2 > div > div:last-child > .prod-line-open{
		margin-bottom: 30px;
	}



	.img1,.img2,.img3,.img4 {
		padding: 20px;
	}

	.img1, .img3 {
		padding-left:0px;
	}


	.img1 img, .img3 img {
		float: left;
	}

	.img2, .img4 {
		padding-right:0px;
	}

	.img2 img, .img4 img {
		float: right
	}

	.prods-title {
	  padding-left: 0px;
	}

	.prods-title > img {
		width: 20px;
	}

	.prods-title > span {
	  font-size: 12px;
	}

	.rofinor-header-menu .navbar-nav .open .dropdown-menu {
		min-width: initial;
	}


	.line1 > div > .prods-content {
	    min-height: 50px;
	    max-height: 50px;
	}
	.line1 > div {
	    min-height: 50px;
	    max-height: 50px;
	}

}

@media (max-width: 768px) {

		.dropdown-menu {
			min-width:auto;
		}
		.gramagem1 {
			display: initial;
		}
		.gramagem2 {
			display: none;
		}

	.rofinor-header > .container {
		text-align: center;
	}

	.rofinor-brand {
	    padding: 0px;
	}

	.rofinor-brand > img {
	    padding: 20px;
			width: 80%;
	}

	.img1,.img2,.img3,.img4 {
		padding: 20px;

	}

	.img1 img, .img3 img {
		float: none;
	}


	.img2 img, .img4 img {
		float: none;
	}

	.prods-title {
	  padding-left: 10px;
	}

	.prods-title > img {
		width: auto;
	}

	.prods-title > span {
	  font-size: 14px;
	}
	.line1 > div > .prods-content {
	    min-height: 36px;
	    max-height: 36px;
	}
	.line1 > div {
	    min-height: 36px;
	    max-height: 36px;
	}

}


@media (max-width: 480px) {
	.container.base iframe {
		height:300px;
	}

	.services-middle .service-col-content {
		height: 320px;
	}
}

/* POLITICA DE PRIVACIDADE - TABELAS */

table .politica-table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  display: flex;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

.politica-table tr {
  border: 1px solid #ddd;
  padding: 1rem;
}

.politica-table tr:nth-child(even) {
  background: #efefef;
}

.politica-table th ,
.politica-table td {
  padding: 1rem;
}