.main .container {width: 100%; padding: 0; margin:0;}
@media (min-width: 1200px){.main .container {width: 100%; padding-left: 0; padding-right: 0;}}
@media (min-width: 768px) {.main .container {width: 100%; padding: 0; margin:0;}}

.main .container .region-content {
  margin: 0;
}

#footer {
  margin-top: 0;
}

.greyed-out {
  filter: brightness(0.3) blur(1px);
}

.greyed-out--white {
  filter: brightness(0.3) blur(1px);
  background: white;
}

.flexbox-fields {
  margin: 0 2em;
}

.webform-flex--1 {
  margin: 0 5px;
}

@media (min-width: 768px) {
  .webform-flexbox .webform-flexbox {
    margin: 0;
  }
  
  .webform-flex--container {
    margin: 0;
  }
  
  .webform-flexbox {
    margin: 0;
  }
}


/*** OPORTUNIDADES EMPREGO NODE***/

#top-img-container {
  background-image: url('/sites/default/files/cms_images/candidatura/candidatura-bg.jpg');
  height: 40vh;
  background-position: center;
}

.node--type-oportunidades-cms {
  width: 80%;
  margin: 100px auto;
}

.node--type-oportunidades-cms .job-title-container {
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
}

.node--type-oportunidades-cms .arrow-container {
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
}

.node--type-oportunidades-cms .arrow-container svg {
  width: 9px;
  fill: #29B2E2;
  cursor: pointer;
  transform: scaleX(-1);
}

.node--type-oportunidades-cms .job-title-container a {
  color: #29B2E2;
  margin: 0 0 0 10px;
  font-size: 1.875rem;
  cursor: pointer;
}

.node--type-oportunidades-cms .job-title-container a:hover {
  text-decoration: none;
}

.node--type-oportunidades-cms .job-title-container h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
}

.node--type-oportunidades-cms #header-info {
  display: flex;
  margin: 0 0 20px;
}

.node--type-oportunidades-cms #group-header-node h1 {
  font-weight: 500;
}

.node--type-oportunidades-cms #header-info div {
  display: flex;
  font-size: 16px;
  margin-right: 20px;
  font-weight: 300;
}

.node--type-oportunidades-cms #header-info div svg {
  margin: 0 5px 0 0;
}

#header-info .field--name-field-job-full-location svg {
  width: 10px;
}

#header-info .field--name-field-job-schedule svg {
  width: 12px;
}

.node--type-oportunidades-cms .field--name-body {
  margin: 50px 0 0;
}

.node--type-oportunidades-cms .field--name-body h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  font-family: "Red Hat Text";
}

.node--type-oportunidades-cms .field--name-body h2 strong, .node--type-oportunidades-cms .field--name-field-sobre-empresa h2 strong{
  font-size: 20px;
  font-weight: 500;
  font-family: "Red Hat Text";
}

.node--type-oportunidades-cms .field--name-body p b{
  font-size: 16px;
  font-weight: 500;
  color: #1d2127;
  font-family: "Red Hat Text";
}

.node--type-oportunidades-cms .field--name-field-sobre-empresa {
  background: #fbfbfb;
  margin: 0 0 20px;
  padding: 20px 45px 10px 45px;
  border-radius: 10px;
  transform: translateX(-45px);
}

.node--type-oportunidades-cms .field--name-field-apply .field__item {
  display: none;
} 

.js-form-item-job-position {
  margin: 0;
}

#edit-job-position {
  background: white;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-color: transparent;
  pointer-events: none;
  padding: 0;
}

.node--type-oportunidades-cms .field--name-field-apply .field__label {
  background: #0992f1;
  width: 200px;
  padding: 10px;
  text-align: center;
  border-radius: 50px;
  color: white;
  cursor: pointer;
}


.form-email, .form-text, .form-tel, .form-select  {
  display: block;
  width: 100%;
  height: initial;
  padding: 10px 12px;
  font-size: 14px;
  color: #555;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

 .form-textarea-wrapper textarea {
  background-color: #f2f2f2;
  resize: none;
}

input.webform-button--submit {
  margin-left: 0 !important;
  width: 250px;
  color: white;
  background: #0992f1;
  padding: 10px;
  text-align: center;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.5s ease-in;
}

.button.focus, .button:focus, .button:hover {
  color: white;
  background: #29B2E2;
}

#apply-div {
  display: none;
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 100px;
  border: 2px solid;
  border-radius: 20px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
  height: 70%;
  overflow: auto;
}

#close-div {
  position: absolute;
  right: 60px;
  top: 40px;
  font-size: 4rem;
  cursor: pointer;
}

#edit-actions {
  display: flex;
  justify-content: flex-end;
}

.messages {
  border: none;
}

.message-close {
  display: none;
}

.messages--error {
  position: absolute;
  top: 35px;
  border: none;
  height: 4rem;
  display: flex;
  align-items: center;
  background-position: 12px center;
  box-shadow: none;
}

.webform-submission-form .form-type-textarea textarea {
  background-color: #f2f2f2;
}

.form-item-phone {
  display: flex;
  flex-direction: column;
}

.form-item-phone label {
  position: relative;
}

.form-item-phone label:after {
  position: absolute;
  left: 60px;
}

/*** Side Bar ***/

.block-views-blockoportunidades-cms-recentes-view-block-1 {
  margin: 95px 0;
}

.block-views-blockoportunidades-cms-recentes-view-block-1 h2 {
  margin: 0 0 -8px;
  font-size: 16px;
  font-family: 'Red Hat Text';
}

.block-views-blockoportunidades-cms-recentes-view-block-1 .field-content {
  cursor: pointer;
  color: #29B2E2;
}

.block-views-blockofertas-emprego-recentes-block-block-1 .field-content:hover a {
  text-decoration: underline;
}

.block-views-blockofertas-emprego-recentes-block-block-1 .field-content a {
  text-decoration: none;
  color: #29B2E2;
}
/****************/
/**MEDIA QUERIES***/

@media screen and (max-width: 992px) {
  .block-views-blockofertas-emprego-recentes-block-block-1 {
    width: 80%;
    margin: 100px auto;
  }
  
  .node--type-oportunidades-cms {
    margin: 50px auto;
  }
  
  .flexbox-fields {
    margin: 0;
  }
  .container-label {
    margin: 0;
  }
  
  #close-div {
    right: 20px;
    top: 20px;
  }
  
  #webform-submission-job-application-node-150-add-form {
    margin: 0 20px;
  }
  
  #edit-container {
    margin: 90px 0 0 0;
  }
  
  #apply-div {
    top: 130px;
    height: inherit;
    left: 10px;
    transform: none;
    right: 10px;
    padding: 10px;
  }
  
  #edit-actions {
    display: flex;
    justify-content: center;
  }
}
/******************/
