/* ==========================================================================
            General
========================================================================== */

@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Montserrat);

*, *:after, *:before, ul, li{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

*:focus {
  outline: none;
}

html {
  font-size: 100%;
}

body {
  font: 1em/1.4em 'Open Sans', sans-serif;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family:'Montserrat', sans-serif;
}

.main-block {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 5%;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1; /* ie 6/7 */
}

/* ==========================================================================
            Grid
========================================================================== */

.col-8{
  width: 66.66666667%;
  float: left;
}

.col-6{
  width: 50%;
  float: left;
}

.col-4{
  width: 33.33333333%;
  float: left;
}

.col-3 {
  width: 25%;
  float: left;
}

@media only screen and (max-width : 768px) {
  .col-6, .col-4, .col-2, .col-8{
    width: 100%;
    float: none;
  }
}

/* ==========================================================================
            Job bank
========================================================================== */

.job-bank {
  background-color: #f3f3f3;
}

nav.up-sidebar {
  height: 60px;
  background: #CD1431;
}

nav.up-sidebar a {
  display: inline-block;
  margin-top: 20px;
  float: right;
  color: #ffffff;
  vertical-align: middle;
}

nav.up-sidebar a:hover {
  text-decoration: underline;
}

nav.up-sidebar img {
  margin-top: 15px;
  max-width: 120px;
  vertical-align: middle;
}

.sections {
  min-height: calc(100vh - 60px);
}

.filter-job select {
  -webkit-appearance: none;
  position: relative;
  -moz-appearance: none;
  border: 0 !important;
  color: #fff;
  border-radius: 0;
  font-size: 14px;
  padding: 7px 0 7px 10px;
  width: 100%;
  cursor: pointer;
  background: #CD1431 url("../img/drop-down-arrow-search.png") no-repeat right center;
  background-size: 40px 37px;
}

.jobs-content {
  margin: 3em 0;
  padding: 5%;
  background: #fff;

  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}

.apply-job {
  text-align: center;
}

.jobs-content h2 {
  color: #CD1431;
  margin-bottom: 1em;
}

.filter-job {
  margin-bottom: 1em;
}

.jobs-content:first-child {
  width: 50%;
}

.new-resumen-form {
  margin-left: 5%;
  width: 45%;
}

.jobs-list-item li {
  position: relative;
  margin: 2em 0;
  padding-bottom: 2em;
}

.jobs-list-item li:last-child:after {
  content: none;
}

.jobs-list-item li h3 {
  margin-bottom: 5px;
  font-size: 1.5em;
  line-height: initial;
}

.jobs-list-item li:last-child {
  margin-bottom: 0;
}

.jobs-list-item li:first-child {
  margin-top: 2em;
}

.jobs-list-item .job-details {
  margin-top: 1em;
}

.job-details .col-6:last-child {
  text-align: right;
}

.job-details .col-6{
  width: 50%!important;
  float: left;
}

.apply_button {
  border: 2px solid #CD1431;
  margin: 0 auto;
  padding: 24px 45px;
  width: 70px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin-top: 1em;
}

.apply-button-bottom {
  position: fixed;
  bottom: -15px;
  left: 0;
  width: 100%;
  margin: 0!important;
  z-index: 1;
}

.apply_button__tick, .apply_button__ticked {
  width: 4px;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  height: 8px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  position: absolute;
  right: 50px;
  top: 17px;
  -webkit-transition: right 0.34s, opacity 0.54s;
  transition: right 0.34s, opacity 0.54s;
}

.apply_button__ticked {
  border-bottom: 2px solid #CD1431;
  border-right: 2px solid #CD1431;
  right: 21px;
  top: 100px;
  -webkit-transition: top 0.44s 0.44s;
  transition: top 0.44s 0.44s;
}

.apply_button__text {
  position: absolute;
  font-weight: 700;
  font-size: 12px;
  -webkit-transition: all 0.34s;
  transition: all 0.34s;
  color: #CD1431;
  display: block;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}

.apply_button:hover {
  background: #CD1431;
}

.apply_button:hover > span {
  color: white;
}

.apply_button:hover > .apply_button__tick {
  right: 30px;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.apply-job input[type='checkbox'] {
  display: none;
}

.apply-job input[type='checkbox']:checked + label > .apply_button{
  width: 0;
  border-radius: 50%;
  -webkit-transition: all 0.34s 0.2s;
  transition: all 0.34s 0.2s;
  padding: 24px;
  box-shadow: 0px 0px 0px 1000px rgba(230, 230, 230, 0);
  background: transparent;
}

.apply-job input[type='checkbox']:not(checked) + label > .apply_button {
  width: 100%;
  -webkit-transition: width 0.34s;
  transition: width 0.34s;
}

.apply-job input[type='checkbox']:checked + label > .apply_button > span, body input[type='checkbox']:checked + label > .apply_button > .apply_button__tick {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.apply-job input[type='checkbox']:checked + label > .apply_button > .apply_button__ticked {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  top: 19px;
}

.new-resumen .form-group label {
  display: none;
}

.new-resumen .form-group input[type='text'],
.new-resumen .form-group input[type='number'],
.new-resumen .form-group input[type='email'],
.new-resumen .form-group input[type='submit'],
.new-resumen .form-group select,
.apply-button-hidden button{
  width: 100%;
  padding: 5px 0 5px 10px;
  margin-bottom: 1em;
  border: 1px solid #e9e9e9;
}

.new-resumen .form-group input[type='submit'],
.apply-button-hidden button {
  color: #fff;
  font-size: 14px;
  padding: 11px 0;
  background: #CD1431;
}

.new-resumen .form-group select {
  position: relative;
  color: #aea9a9;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0 !important;
  cursor: pointer;
  background: url("../img/drop-down-arrow.png") no-repeat right center;
  background-size: 40px 34px;
  
  transition: .3s;
}

.new-resumen .form-group select.highlight {
	color: #CD1431;
	border-color: #CD1431;
}

.resumen-label {
  display: block!important;
  width: 100%;
  color: #a9a9a9;
  padding: 5px 0 5px 10px;
  margin-bottom: 1em;
  border: 1px solid #e9e9e9;
  background: url("../img/up-arrow.png") no-repeat right center;
  background-size: 40px 34px;
}

.job-description-ellipsis {
  color: #CD1431;
  font-weight: bold;
  cursor: pointer;
}

.apply-button-hidden {
  display: none;
  margin: 3em 0;
}

@media only screen and (min-width : 768px) {
  .new-resumen-form {
    max-width: 450px;
  }
}

@media only screen and (max-width : 768px) {
  .new-resumen-form {
    margin-left: 0;
  }

  .jobs-content{
    width: 100%!important;
  }

  .apply-button-hidden {
    display: block;
  }
}

@media only screen and (max-width : 320px) {
  .jobs-list-item li:after {
    content: none;
  }
  .job-details .col-6{
    width: 100%!important;
    float: none;
  }
}



