/* Login, register and pass recover forms values, be careful */
/* My account values, be careful */
/* Bootstrap overrides, may be set to false */
.flip-box {
  margin-bottom: 30px;
}

.flip-box-front {
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  border-radius: 1rem;
}

.flip-box-front .title {
  visibility: visible;
  z-index: 1;
  background-color: #fff;
  color: #28AFA7;
  font-family: "Cocogoose";
  font-size: 1.5rem;
  font-weight: 400;
  border-radius: 0.75rem 0.75rem 0 0;
  margin: 0;
  padding: 5px 0;
  border-image: linear-gradient(to left, #E7374A, 20%, #28AFA7 10px) 4/0 0 5px;
  align-self: end;
}

.flip-box-front img {
  width: 100%;
  position: absolute;
}

.flip-box-back {
  z-index: 1;
  border: 2px solid #28AFA7;
  background-color: white;
  color: #808080;
  padding-bottom: 0;
  border-radius: 1rem;
}

.flip-box-back .title {
  color: #28AFA7;
  border-bottom: 4px solid #28AFA7;
  border-image: linear-gradient(to left, #E7374A, 20%, #28AFA7 10px) 4/0 0 5px;
  font-family: "Cocogoose";
  font-size: 1.75rem;
  font-weight: 400;
}

.flip-box-back .card-link {
  color: #28AFA7;
  width: 100%;
  padding: 5px;
}

.flip-box-back .card-link:hover {
  background-color: #28AFA7;
  color: white;
}

.card-detail {
  /*height: calc(100% - 74px);*/
  overflow: hidden;
}

.card-detail .spinner-grow {
  width: 3rem;
  height: 3rem;
}

.card-detail .table th, .card-detail .table td {
  padding: 0.5rem;
}

.card-detail .table tr td:first-child {
  text-align: left;
}

.card-detail .table tr td:nth-child(2) {
  text-align: center;
  font-weight: 600;
  font-size: 14pt;
  vertical-align: middle;
}

.card-detail .table tr:hover {
  cursor: pointer;
  background-color: rgba(40, 175, 167, 0.7);
  color: white;
  font-weight: 600;
}

.modal-body .spinner-grow {
  width: 4rem;
  height: 4rem;
  color: #28AFA7;
}

.job-title {
  justify-content: flex-start;
  text-align: left;
}

.job-title .title-underline {
  font-family: "Cocogoose", "Open Sans";
  font-weight: 400;
  color: #504F56;
  border-image: linear-gradient(to left, #E7374A, 20%, #28AFA7 10px) 4/0 0 5px;
  padding: 0 1rem 0.5rem 0;
}

.title-underline {
  color: #28AFA7;
  font-weight: 400;
  border-bottom: none;
  font-family: "VisbyCF-Heavy";
}

.modal-header {
  background-color: #28AFA7;
  padding: 0.5rem 1rem;
}

.modal-body {
  /*background: url(/pics/jobback.jpg) no-repeat;*/
  background-repeat: no-repeat;
  color: #28AFA7;
  padding: 0;
  overflow-x: hidden;
  background-blend-mode: color-burn;
  background-position: left;
  background-size: contain;
}

.job-offers .list {
  list-style: inside !important;
  padding-left: 2rem;
}

.job-offers .list li {
  list-style: inside;
}

@media (min-width: 700px) {
  .modal-dialog {
    max-width: 700px;
  }
  .modal-body {
    background-color: #28AFA7;
  }
  .modal-header button {
    margin-top: -0.7rem;
  }
  .parallelogram {
    background-color: white;
    left: 160px;
    position: relative;
    max-width: 564px;
    height: 100%;
    overflow: hidden;
    width: calc(100% - 160px);
  }
  .job-title {
    width: 100%;
    /*text-align: right;*/
    min-height: 90px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
  .job-requirements {
    padding-top: 1.5rem;
    position: relative;
    height: 186px;
    width: 100%;
  }
  .job-requirements .list {
    overflow-y: auto;
    max-height: calc(100% - 24px);
    margin-bottom: 0.5rem;
    padding-left: 2rem;
  }
  .job-requirements .title-underline {
    display: initial;
    padding: 0 0 0 10px;
  }
  .job-offers {
    position: relative;
    min-height: 125px;
    padding-top: 1rem;
  }
  .job-offers .title-underline {
    display: initial;
    padding: 0 0 0 10px;
  }
  .job-apply-button {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px;
    font-weight: 600;
    color: #28AFA7 !important;
  }
  .job-apply-button:hover {
    padding: 18px;
    font-size: 14pt;
    font-weight: 700;
  }
}
@media (max-width: 699px) {
  .modal-body {
    background-size: contain;
  }
  .modal-header button {
    margin-top: -0.6rem;
  }
  .parallelogram {
    background: white;
    padding: 1.5rem;
    margin: 10rem 1.5rem 1.5rem 1.5rem;
    display: block;
  }
  .job-requirements {
    padding-top: 1rem;
  }
  .job-requirements .title-underline,
.job-offers .title-underline {
    display: initial;
  }
  .job-apply-button {
    background-color: #28AFA7;
    color: white;
    width: 100%;
    padding: 15px;
    text-align: center;
    font-weight: 600;
  }
  .job-apply-button:hover {
    font-size: 14pt;
    font-weight: 700;
    padding: 13px;
  }
}
