/******************************************************/
@font-face {
  font-family: 'fontello';
  src: url('./fonts/fontello.eot?59618982');
  src: url('./fonts/fontello.eot?59618982#iefix') format('embedded-opentype'),
    url('./fonts/fontello.woff?59618982') format('woff'),
    url('./fonts/fontello.ttf?59618982') format('truetype'),
    url('./fonts/fontello.svg?59618982#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
.ui-dialog .ui-dialog-titlebar {
  background-color: #ff7801;
  padding: 10px;
  font-size: 15px;
  color: #333333;
}
.ui-dialog .button.form-submit,
.ui-dialog .ui-dialog-buttonpane button {
  background-color: #ff7801;
  padding: 10px 15px;
  font-size: 13px;
  margin: .5em .4em .5em 0;
  cursor: pointer;
  border: 1px solid #cccccc;
  font-weight: normal;
  text-decoration: none;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  text-align: center;
  user-select: none;
  overflow: visible;
}
.ui-dialog  .js-form-required {
  display: block;
}
.ui-dialog .ui-dialog-content {
  font-size: 15px;
}
.ui-dialog details {
  padding: 10px 0;
  margin: 0 0 10px;
}
.ui-dialog details summary {
  font-weight: bold;
}
.ui-dialog details .details-description {
  margin-bottom: 5px;
}
.ui-dialog form .form-item {
  margin: 0 0 10px;
}
.ui-dialog form details .form-item {
  margin: 0 0 15px;
}
.ui-dialog form .form-checkboxes .form-item,
.ui-dialog form .form-radios .form-item {
  margin: 0 0 3px;
}
.ui-dialog form fieldset > legend,
.ui-dialog form .form-item label {
  display: block;
  font-weight: bold;
  font-size: 85%;
}
.ui-dialog form .form-item.form-type-checkbox label,
.ui-dialog form .form-item.form-type-radio label {
  display: inline-block;
  font-weight: normal;
  font-size: 90%;
}
.ui-dialog form .form-item .counter,
.ui-dialog form .form-item .description,
.ui-dialog form fieldset .description {
  font-size: 65% !important;
  line-height: 1.25;
}
.ui-dialog form details .form-item.form-type-color label,
.ui-dialog form details .form-item .form-color {
  display: inline-block;
}
.ui-dialog form details .form-item .form-color {
  margin-left: 10px;
}
.ui-dialog form .form-type-managed-file .form-managed-file,
.ui-dialog form .field--type-image .image-widget {
  border: 1px solid #ccc;
  padding: 10px;
}

div#wrapper > div.header > div.center {
  display: flex;
  justify-content: space-between;
  height: 100%;
  align-items: center;
}
.header .header-logo {
  top: 0;
}
* {
  margin: 0;
}
ul,
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}
body {
  background: #fff;
  color: #313131;
  font: 11px / 14px Verdana, arial, sans-serif;
  margin: 0;
  padding: 0;
}
input {
  font: 12px / 100% Verdana, arial, verdana, sans-serif;
  color: #494949;
}
textarea,
select {
  font: 12px / 160% Verdana, sans-serif;
  color: #494949;
}
tbody {
  border: 0;
}
.site-layer {
  display: none;
}
#wrapper {
  width: 100%;
}
ul,
quote,
code,
fieldset {
  margin: .5em 0;
}
p {
  margin: 2px 0 4px;
  padding: 0;
}
a:link,
a:visited {
  color: #666;
  text-decoration: none;
  outline: none;
}
a:hover {
  color: #000;
}
a:active,
a.active {
  outline: none;
}
hr {
  margin: 0;
  padding: 0;
  border: none;
  height: 1px;
  background: #5294c1;
}
ul {
  margin: 0.5em 0 1em;
  padding: 0 0 0 25px;
}
ol {
  margin: 0.75em 0 1.25em;
  padding: 0;
}
ol li,
ul li {
  margin: 0.4em 0 0.4em .5em; /* LTR */
}
ul.menu,
.item-list ul {
  margin: 0.35em 0 0 -0.5em; /* LTR */
  padding: 0;
}
ul.menu ul,
.item-list ul ul {
  margin-left: 0em; /* LTR */
}
ol li,
ul li,
ul.menu li,
.item-list ul li,
li.leaf {
  margin: 0.15em 0 0.15em .5em; /* LTR */
}
ul.menu li,
.item-list ul li,
li.leaf {
  padding: 0 0 .2em 1.5em;
  list-style-type: none;
  list-style-image: none;
}
.node ul li,
.node ul.menu li,
.node .item-list ul li,
.node li.leaf {
  padding: 0 0 0px 2px;
}
ol li {
  padding: 0 0 .3em;
  margin-left: 2em; /* LTR */
}
ul li.expanded {
  float: left;
}
ul.inline li {
  background: none;
  margin: 0;
  padding: 0 1em 0 0; /* LTR */
}
ol.task-list {
  margin-left: 0; /* LTR */
  list-style-type: none;
  list-style-image: none;
}
ol.task-list li {
  padding: 0.5em 1em 0.5em 2em; /* LTR */
}
ol.task-list li.done {
  color: #393;
}
ol.task-list li.active {
  margin-right: 1em; /* LTR */
}
fieldset ul.clear-block li {
  margin: 0;
  padding: 0;
  background-image: none;
}
dl {
  margin: 0.5em 0 1em 1.5em; /* LTR */
}
dl dt {
}
dl dd {
  margin: 0 0 .5em 1.5em; /* LTR */
}
img,
a img {
  border: none;
}
table {
  margin: 0;
  /*width: 100%;*/
}
.field--name-field-cc-table table{
  width: 100%
}
thead th {
  border-bottom: 1px solid;
  color: #494949;
  font-weight: bold;
}
th a:link,
th a:visited {
  color: #6f9dbd;
}
td,
th {
  padding: .3em .5em;
}

/**
 * Local tasks
 */
.page-content {
  padding-top: 100px;
  font-size: 17px;
  width: 100%;
}
ul.primary,
ul.primary li,
ul.secondary,
ul.secondary li {
  border: 0;
  background: none;
  margin: 0;
  padding: 0;
}
#tabs-wrapper {
  border: 1px dashed #97b816;
  display: block;
  margin: 15px 0;
  padding: 7px 10px;
}
ul.primary {
  padding: 0;
  float: left; /* LTR */
}
ul.secondary {
  clear: both;
  text-align: left; /* LTR */
  border-bottom: 1px solid #e9eff3;
  margin: -0.2em -26px 1em;
  padding: 0 26px 0.6em;
}
ul.primary li a {
  background-color: transparent;
  border-style: none;
  border-width: 0;
  margin-right: 2px;
  text-decoration: none;
}
ul.primary li.active a {
  background-color: #ffffff;
  border-color: #bbbbbb;
  border-style: solid;
  border-width: 1px;
  text-decoration: none;
}
.form-item input.error,
.form-item textarea.error,
.form-item select.error {
  border: 1px solid red;
}
html.js fieldset.collapsible {
  border: 1px solid #b0d7ec;
}
html.js fieldset.collapsible div.fieldset-wrapper {
  padding: 5px 10px;
}
html.js fieldset.collapsible legend a {
  padding-left: 19px;
}
html.js fieldset.collapsed legend a {
  background-position: 2px 0px;
}
.clear {
  clear: both;
}

/******************************************************/

#messages-wrapper {
  position: fixed;
  width: 60%;
  left: 2%;
  /*top: 305px;*/
  top: 35%;
  z-index: 99999;
  left: 0;
  right: 0;
  margin: auto;
}
.messages + .messages {
  margin-top: 10px;
}
#messages-wrapper .messages {
  position: relative;
  min-height: 25px;
  font-weight: normal;
  font-size: 17px;
  line-height: 25px;
  padding-top: 12px;
  padding-right: 85px;
  transition: all 0.5s;
  opacity: 1;
  height: auto;
  text-align: left;
}
#messages-wrapper .messages.messages--hidden {
  opacity: 0;
  height: 0;
  min-height: 0;
  padding-bottom: 0;
  padding-top: 0;
  margin: 0;
  overflow: hidden;
}
#messages-wrapper .messages .close {
  width: 25px;
  height: 25px;
  z-index: 99999;
  display: block;
  position: absolute;
  border-radius: 50%;
  cursor: pointer;
  top: calc(50% - 12.5px) !important;
  right: 20px !important;
  border: 2px solid;
}
#messages-wrapper .messages .close:before {
  content: "\E809";
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  font-size: 19px;
  display: block;
  height: 19px;
  padding: 3px 0;
  line-height: 1;
  text-align: center;
}
.messages--status {
  background-color: #c9e1bd;
}
.messages--error {
  background-color: #f9c9bf;
}
.messages--warning {
  background-color: #f4daa6;
}

/******************************************************/

body {
  background: #fff;
}
.structured-data {
  display: none;
}
#block-javali-theme-content {
  font-size: 15px;
  text-align: center;
}
.js-form-required {
  /*display: none;*/
}
.page-node-type-cc-content .js-form-required {
  display: inline;
}
.header ul.social-media-links--platforms {
  display: flex;
  margin: 0;
  height: 100%;
  align-items: center;
}
/*.header.scroll-active .block.block-javali-redes-sociais {
  top: 5px !important;
  position: relative;
}*/
#block-javali-theme-page-title .page-title {
  text-align: center;
  color: #2b407c;
}
#block-javali-theme-content input[type=text],
#block-javali-theme-content input[type=password],
#block-javali-theme-content input[type=email],
#block-javali-theme-content textarea {
  border: none;
  border-bottom: 2px solid #2b407c;
  width: 50%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border-radius: 4px;
}
#block-javali-theme-content .form-item,
#block-javali-theme-content .form-actions {
  text-align: center;
}
#block-javali-theme-content input[type=text]:focus ,
#block-javali-theme-content input[type=password]:focus,
#block-javali-theme-content input[type=email]:focus,
#block-javali-theme-content textarea:focus {
  border: none;
  border-bottom: 3px solid #2b407c;
  width: 50%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border-radius: 4px;
}
#block-javali-theme-content input[type=submit] {
  border: none;
  background-color: #2b407c;
  color: white;
  width: 10%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border-radius: 4px;
}
#block-javali-theme-content input[type=submit]:hover {
  border: none;
  background-color: white;
  border: 2px solid #2b407c;
  color: #2b407c;
  width: 10%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border-radius: 4px;
}
/* USER LOGIN */
body.page--user-password #header,
body.page--user-password #footer,
body.page--user-login #header,
body.page--user-login #footer {
  display: none;
}
body.page--user-password #wrapper .center,
body.page--user-login #wrapper .center {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}
body.page--user-password h1.page-title,
body.page--user-login h1.page-title {
  text-transform: uppercase;
  text-align: center;
  font-weight: 200;
  font-size: 40px;
}
body.page--user-password form.user-pass,
body.page--user-login form.user-login-form {
  width: 30%;
  margin: auto;
}
body.page--user-password form.user-pass .form-item {
  margin-bottom: 5px;
  margin-top: 30px;
}
body.page--user-login form.user-login-form .form-item {
  margin-bottom: 30px;
}
body.page--user-password form.user-pass label,
body.page--user-login form.user-login-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
body.page--user-password form.user-pass .form-text,
body.page--user-login form.user-login-form .form-text {
  width: 93%;
  height: 20px;
  background: #dfdfdf;
  padding: 5px 3%;
  border: 1px solid #ccc;
  color: #777;
  font-size: 13px;
}
body.page--user-password form.user-pass p,
body.page--user-login form.user-login-form .form-item .description {
  font-size: 11px;
  color: #777;
  margin-top: 5px;
}
body.page--user-password form.user-pass p {
  margin-bottom: 30px;
}
body.page--user-password form.user-pass .form-submit,
body.page--user-login form.user-login-form .form-submit {
  border: 0 none;
  background: #333333;
  color: #fff;
  width: 150px;
  padding: 15px;
  margin: auto;
  display: block;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: bold;
}
body.page--user-password form.user-pass .form-submit:hover,
body.page--user-login form.user-login-form .form-submit:hover {
  background: #222;
}

/* USER LOGIN END */

/**  maintenance-page **/
body.maintenance-page #wrapper {
  display: table;
  width: 100%;
  height: 100%;
}
body.maintenance-page #wrapper main {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}
body.maintenance-page #wrapper main #main-content {
  width: 30%;
  margin: auto;
}
body.maintenance-page h1.page-title {
  background: url(../images/img_manutecao.png) no-repeat top center;
  padding-top: 180px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 200;
  font-size: 40px;
}
body.maintenance-page #wrapper main #page-content {
  text-align: center;
  font-weight: 200;
  font-size: 18px;
  color: #8f8f8f;
  margin-top: 20px;
}
/**  maintenance-page end **/
/**  page-404 **/
#wrapper.page-404 {
  display: table;
  width: 100%;
  height: 100%;
}
#wrapper.page-404 main {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}
#wrapper.page-404 main #main-content {
  width: 30%;
  margin: auto;
}
#wrapper.page-404 h1.page-title {
  /*text-transform: uppercase;*/
  text-align: center;
  font-weight: 200;
  font-size: 40px;
  color: red;
  margin-bottom: 35px;
}
#wrapper.page-404 main #page-content {
  text-align: center;
  font-weight: 200;
  font-size: 18px;
  color: #8f8f8f;
  margin-top: 20px;
}
#wrapper.page-404 main #page-content span.error {
  display: block;
  font-size: 160px;
  line-height: 170px;
  color: red;
  font-weight: 200;
}
#block-javali-theme-content {
  text-align: left;
  padding: 15px;
}
#block-javali-theme-content .node__content {
  padding: 15px 0px;
}
#block-javali-theme-content .node__content .field__item {
  color: #313131;
  padding: 10px 0px 20px;
}
/** page-404 end **/
.powered {
  position: fixed;
  left: 0;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: #aaa;
  font-size: 11px;
}
.powered span {
  background: url(../images/logo_javali.png) repeat scroll 0 0px rgba(0, 0, 0, 0);
  display: inline-block;
  width: 59px;
  height: 18px;
  margin-left: 4px;
}
#block-javali-theme-local-tasks {
  background-color: #ccc;
  border: 1px solid #777;
  border-radius: 5px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.26) inset, 0 1px 0 0 rgba(255, 255, 255, 0.15);
  display: block;
  height: 28px;
  left: 6%;
  margin: 0;
  opacity: 0.7;
  position: fixed;
  top: 40%;
  width: 36px;
  z-index: 2;
  cursor: pointer;
}
#block-javali-theme-local-tasks:hover,
#block-javali-theme-local-tasks.pressed {
  background-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  opacity: 1;
  z-index: 2;
}
#block-javali-theme-local-tasks:before {
  content: "";
  display: block;
  height: 19px;
  margin: 5px auto;
  width: 20px;
  background-size: 600px;
}
#block-javali-theme-local-tasks nav {
  display: none;
}
#block-javali-theme-local-tasks.pressed nav {
  display: block;
}
#block-javali-theme-local-tasks nav ul {
  border: 1px solid #777;
  border-radius: 0px 0px 7px 7px;
  border-top: 0 none;
}
#block-javali-theme-local-tasks nav ul li {
  display: block;
}
#block-javali-theme-local-tasks nav ul li a {
  padding: 5px 9px;
}
#block-javali-theme-local-tasks nav ul li a:focus,
#block-javali-theme-local-tasks nav ul li a:hover {
  background: transparent;
}
#block-javali-theme-local-tasks nav ul li a span {
  display: inline-block;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("../images/glyphicons-halflings.png");
  background-position: 14px 14px;
  background-repeat: no-repeat;
  margin-top: 4px;
}
#block-javali-theme-local-tasks nav ul li a.tab__log_in span {
  background-position: -286px -24px;
  text-indent: -99999px;
}
#block-javali-theme-local-tasks nav ul li a.tab__create_new_account span {
  background-position: -167px 0px;
  text-indent: -99999px;
}
#block-javali-theme-local-tasks nav ul li a.tab__reset_your_password span {
  background-position: -71px 0;
  text-indent: -99999px;
}
#block-javali-theme-local-tasks nav ul li a.tab__view span {
  background-position: -96px -120px;
  text-indent: -99999px;
}
#block-javali-theme-local-tasks nav ul li a.tab__edit span {
  background-position: 0 -72px;
  text-indent: -99999px;
}
#block-javali-theme-local-tasks nav ul li a.tab__delete span {
  background-position: -457px 0px;
  text-indent: -99999px;
}
#block-javali-theme-local-tasks nav ul li a.i18n_node_translation_overview span {
  background-position: -336px -144px;
  text-indent: -99999px;
}
#block-javali-theme-local-tasks nav ul li a.node_revision_overview span {
  background-position: -240px -24px;
  text-indent: -99999px;
}
#block-javali-theme-local-tasks nav ul li a:focus a,
#block-javali-theme-local-tasks nav ul li a:hover a {
  background-color: #777;
}
#nav-icon2 {
  width: 40px;
  height: 30px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  cursor: pointer;
  display: none;
  left: 55px;
}
.header#mobile #nav-icon2 {
  display: block;
  float: right;
  left: 0;
  top: 40px;
  z-index: 20;
  z-index: 50;
}
.header#mobile #nav-icon2.open {
  position: absolute;
  right: 25px;
  left: auto;
  top: 25px;
}
.header.scroll-active#mobile #nav-icon2 {
  top: 27px;
}
.header#mobile .region.region-header {
  display: none !important;
}
#wrapper > div.header#mobile > div.center > div > ul.seccao-menu.active,
#wrapper .header#mobile .center .region.region-header.active {
  top: 0 !important;
  padding-top: 75px;
  display: flex !important;
  width: 300px;
  position: absolute;
  background-color: #fff;
  height: calc(100vh - 75px);
  z-index: 20;
  right: 0;
  left: auto;
  margin: 0;
  padding-right: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}
.header#mobile .block.block-language.block-language-blocklanguage-interface > ul {
  padding-left: 0;
}
.header#mobile .block.block-language.block-language-blocklanguage-interface > ul > li {
  margin: 0.15em .5em 0.15em 0;
}
.header#mobile .social-media-links--platforms.horizontal li {
  margin-left: 0px !important;
  margin-right: 20px !important;
}
.header#mobile .block.block-menu {
  text-align: left;
  margin-left: 0;
}
.header#mobile .block.block-menu ul.menu.level-1 li {
  margin-left: 0;
  padding-left: 0;
}
#wrapper .header#mobile .center .region.region-header.active {
  padding-left: 200px;
}
.seccao-menu a {
  margin-left: 0;
}
#wrapper > div.header#mobile > div > div.container-menu > ul > a,
.block.block-menu.navigation.menu--menu ul.menu li,
.block.block-menu.navigation.menu--menu-ingles ul.menu li {
  margin-top: 7px;
}
#wrapper > div.header#mobile > div > div.container-menu > ul > a:nth-child(1),
.header#mobile .block.block-menu.navigation.menu--menu ul.menu li:nth-child(1),
.header#mobile .block.block-menu.navigation.menu--menu-ingles ul.menu li:nth-child(1) {
  margin-top: 40px;
}
.header#mobile .seccao-menu a:hover,
.header#mobile .seccao-menu a .active,
.header#mobile .block.block-menu.navigation.menu--menu  ul.menu a:hover,
.header#mobile .block.block-menu.navigation.menu--menu-ingles ul.menu a:hover,
.header#mobile .block.block-menu.navigation.menu--menu  ul.menu a.active,
.header#mobile .block.block-menu.navigation.menu--menu-ingles ul.menu a.active {
}
.header#mobile .block.block-menu.navigation.menu--menu  ul.menu,
.header#mobile .block.block-menu.navigation.menu--menu-ingles ul.menu {
  display: block;
}
.header#mobile .region.region-header.active #block-formulariodepesquisa {
  text-align: right;
  position: absolute;
  top: 0;
  padding-left: 0;
  padding-top: 0;
  margin-top: 0;
  right: 25px;
}
/* Icon 2 */
#nav-icon2 span {
  display: block;
  position: absolute;
  height: 6px;
  width: 50%;
  background: #2b407c;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}
#nav-icon2 span:nth-child(even) {
  left: 50%;
}
#nav-icon2 span:nth-child(odd) {
  left: 0px;
}
#nav-icon2 span:nth-child(1),
#nav-icon2 span:nth-child(2) {
  top: 0px;
}
#nav-icon2 span:nth-child(3),
#nav-icon2 span:nth-child(4) {
  top: 12px;
}
#nav-icon2 span:nth-child(5),
#nav-icon2 span:nth-child(6) {
  top: 24px;
}
#nav-icon2.open span:nth-child(1),
#nav-icon2.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#nav-icon2.open span:nth-child(2),
#nav-icon2.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#nav-icon2.open span:nth-child(1) {
  left: 5px;
  top: 7px;
}
#nav-icon2.open span:nth-child(2) {
  left: calc(50% - 5px);
  top: 7px;
}
#nav-icon2.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}
#nav-icon2.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}
#nav-icon2.open span:nth-child(5) {
  left: 5px;
  top: 17px;
}
#nav-icon2.open span:nth-child(6) {
  left: calc(50% - 5px);
  top: 17px;
}
