/*Theme Name: Tressell*/

/*Reset*/
* {
  box-sizing: border-box;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  text-decoration: none;
}

/*Flexslider*/
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}

.flexslider {
  position: relative;
  zoom: 1;
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 34px;
  height: 34px;
  margin: -17px 0 0;
  position: absolute;
  top: 50%;
  border-radius: 50%;
  z-index: 10;
  overflow: hidden;
  line-height: 34px;
  text-align: center;
  opacity: 0;
  cursor: pointer;
  color: #000;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.flex-direction-nav a:before {
  display: inline-block;
}
.flex-direction-nav .flex-prev {
  left: 30px;
}
.flex-direction-nav .flex-next {
  right: 30px;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0 !important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}

.flex-control-nav {
  width: auto;
  position: absolute;
  bottom: 8%;
  left: 6.25%;
  /* transform: translateX(-50%); */
  z-index: 2;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 7px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  display: block;
  width: 24px;
  height: 24px;
  font-family: "acumin-pro", sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 24px;
  background: transparent;
  cursor: pointer;
  border:1px solid #440472;
  color: transparent !important;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.flex-control-paging li a:hover {
  border-color: #440472 !important;
  background-color: #440472 !important;
}
.flex-control-paging li a.flex-active {
  border-color: #440472 !important;
  background-color: #440472 !important;
  cursor: default;
}

/*Flexbox*/
.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}
.col {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}
.col-auto {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}
.col-6 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}
.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mt-auto {
  margin-top: auto;
}
.ml-auto {
  margin-left: auto;
}
.text-center {
  text-align: center;
}

/*General Styles*/
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  zoom: 1;
}

/*Main*/
body {
  font-family: halyard-display, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  background-color: #fefefe;
  color: #193773;
  overscroll-behavior: none;
}
html,
body {
  height: 100%;
}

/*SEARCH POPUP*/
.search-popup {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 2;
  background-color: #fff;
}

body.admin-bar .search-popup {
  top: 32px;
}

body.search-open .search-popup {
  display: block;
}

.search-popup-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 40px;
  color: #000;
  cursor: pointer;
}

.search-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 180px;
}

.search-form {
  width: 85%;
  margin: 0 auto;
}

.search-form-inner {
  display: flex;
  justify-content: space-between;
}

.search-form input[type="text"],
.search-form button {
  padding: 0;
  border: 0;
  margin: 0;
  outline: none;
  background: none;
  color: #000;
}

.search-form input[type="text"] {
  width: 80%;
  margin-right: 10%;
  font-family: "museo-sans-display", sans-serif;
  font-size: 160px;
  font-weight: 300;
}

.search-form input[type="text"]::placeholder {
  color: #000;
  opacity: 1;
}

.search-form input[type="text"]:-ms-input-placeholder {
  color: #000;
}

.search-form input[type="text"]::-ms-input-placeholder {
  color: #000;
}

.search-form button {
  font-size: 160px;
  cursor: pointer;
}

/* Layout */
.container {
  width: 1340px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

/* Header */
header {
    padding: 13px 0;
}

.header-inner {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
}

.logo img {
    width: auto;
    vertical-align: bottom;
}

/* Menu */
header nav {
    display: flex;
    align-items: center;
}

.main-menu {
  display: flex;
  margin-right: 180px;
  color: #000;
}

.main-menu > li {
  position: relative;
  margin-right: 56px;
}

.main-menu > li:last-child {
    margin-right: 0;
}

.main-menu > li > a {
  position: relative;
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: inherit;
}

.main-menu > li > a span {
    display: block;
    padding: 14px 0 12px;
    border-bottom: 2px solid transparent;
    line-height: 1;
}

.main-menu > li.current-menu-item > a, .main-menu > li.current-page-ancestor > a, .main-menu > li > a:hover {
  /* text-shadow: 0px 0px 1px #000; */
}

.main-menu > li.current-menu-item > a span, .main-menu > li.current-page-ancestor > a span, .main-menu > li > a:hover span {
    border-bottom-color: #125cfd;
}

.main-menu > li.menu-item-has-children:hover > a {
  background-color: #000;
  color: #fff;
  text-shadow: 0px 0px 1px #fff;
}

.main-menu > li.menu-item-has-children > a span{
  padding-right: 20px;
}

.main-menu > li.menu-item-has-children > a span i {
  position: absolute;
  top: 50%;
  right: 0px;
  margin-top: -6px;
  font-size: 12px;
}

/*Menu - Sub Menu*/
.main-menu li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 3;
  background: #000;
  width: 250px;
  padding: 12px 20px;
}

.main-menu li:hover .sub-menu {
  display: block;
}

.main-menu li .sub-menu li {
  margin-right: 0;
}

.main-menu li .sub-menu li a{
  display:block;
  padding: 5px 0;
  color: #fff;
}

.main-menu li .sub-menu li a:hover {
  text-decoration: underline;
}

.search-button {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    background: #125cfd;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
}

.search-button:hover {
    background-color: #1456e5;
}

.search-button i {
    margin-right: 6px;
}

/*Responsive Nav*/
.responsive-nav-container {
  display: none;
  padding-bottom: 20px !important;
}

.responsive-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: left;
  background: #000;
  color: #fff;
  cursor: pointer;
}

.responsive-nav-toggle:hover {
  background-color: #125cfd;
}

.responsive-nav-toggle i {
  float: right;
}
#responsive-nav {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  background: #000;
  text-align: left;
}
.responsive-nav-inner {
  color: #fff;
}
#responsive-nav .responsive-nav-menu {
  display: none;
}
#responsive-nav .responsive-nav-menu li {
  display: block;
}
#responsive-nav .responsive-nav-menu li a {
  display: block;
  padding: 8px 16px;
  line-height: 1;
  color: #fff;
}

#responsive-nav .responsive-nav-menu li a:hover{
  background-color: #125cfd;
}

#responsive-nav .responsive-nav-menu > li:last-child{
  padding-bottom: 10px;
}

#responsive-nav .sub-menu{
  margin-left: 16px;
}

body.admin-bar .search-popup {
  top: 32px;
}

/*Slider*/
.page-slider {
  margin-bottom: 80px;
}
.page-slider,
.page-slider .slides,
.page-slider .slides li {
height: 600px;
}
.page-slider .slides li video {
object-fit: cover;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}

.slide-content{
  position:absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  max-width: 55%;
  padding: 0 0 0 6.25%;
  margin-top: -20px;
}

.slide-heading{
  font-size: 84px;
  font-weight: 400;
  line-height: 1;
  color: #440472;
}

.slide-link {
display: block;
position: absolute;
top: 0;
left: 0;
z-index: 1;
width: 100%;
height: 100%;
}

/* Content */
.home-content {
    width: 1116px;
    margin: 0 auto;
}

.page-content {
  width: 1120px;
  max-width: 100%;
  margin: 80px auto 140px;
}

.page-content.job-page-content {
  margin-bottom: 80px;
}

.page-content.page-content-split {
  display: flex;
  justify-content: space-between;
}

.page-content.page-content-split article {
  width: 45.1785714%;
  max-width: 100%;
}

.split-page-image {
  width: 48.5714286%;
  max-width: 100%;
}

.split-page-image img {
  margin-top: 160px;
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

article {
  width: 100%;
  max-width: 100%;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.42em;
  color: #023059;
}

article.home-article {
    width: 986px;
    font-size: 26px;
    text-align: center;
    margin-top: 80px;
    margin-right: auto;
    margin-left: auto;
}

article > *:last-child {
  margin-bottom: 0;
}

article .intro-text {
  font-size: 1.4em;
  font-weight: 400;
  line-height: 1.32;
}

article .alignleft {
  float: left;
  margin: 0 1.52em 0 0;
}
article .alignright {
  float: right;
  margin: 0 0 0 1.52em;
}
article .aligncenter {
  display: block;
  margin: 0 auto;
}
article .alignone {
  float: none;
  clear: both;
}

article p img{
    margin-bottom: 0;
}

article p img.alignright, article p img.alignleft{
    margin-bottom: 1.4em;
}

.page-heading {
  margin-top: 0;
  font-size: 2em;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 1em;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  font-size: 1.07em;
  font-weight: 400;
  line-height: 1.32;
  margin-top: 1.1em;
  margin-bottom: 0.25em;
}

article h1{
  font-size: 2em;
  margin-bottom: 1em;
}

article.home-article h1 {
  font-size: 1.35em;
}

article h2{
  font-size: 1.46em;
  margin-bottom: 1em;
}

article h1:first-child,
article h2:first-child,
article h3:first-child,
article h4:first-child,
article h5:first-child,
article h6:first-child{
  margin-top: 0;
}

article p {
  margin-bottom: 1.4em;
}
article ul,
article ol {
  margin-bottom: 1.4em;
}

article.text-center ul,
article.text-center ol {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

article ul {
  list-style: disc;
  list-style-position: inside;
  margin-bottom: 20px;
  padding: 0;
}

article ul li {
  position: relative;
}

article ol {
  margin-left: 21px;
  list-style-type: decimal;
}

article ol li ol {
  margin-left: 20px;
  margin-bottom: 0;
}

article a {
  font-weight: 400;
  text-decoration: none;
  color: #000;
}
article a:hover {
  text-decoration: underline;
  cursor: pointer;
  color: #000;
}

article img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: bottom;
  transition: opacity 0.3s ease;
}

article a img:hover {
  opacity: 0.85;
}

article strong,
article b {
  font-weight: 500;
}

article em {
  font-style: italic;
}

article iframe {
    vertical-align: bottom;
    margin-bottom: 2em;
}

article p iframe{
    margin-bottom: 0;
}

article hr {
  display: block;
  clear: both;
  margin: 2.5em 0;
  height: 2px;
  border: 0;
  background: #aeacaf;
}

article blockquote {
  margin-bottom: 1.5em;
  background-color: #dcf5e9;
  border-radius: 12px;
  padding: 0.8em 1em;
  line-height: 1.52;
}

article blockquote p {
  margin-bottom: 1em;
}

article blockquote *:first-child {
  margin-top: 0;
}

article blockquote *:last-child {
  margin-bottom: 0;
}

article .gallery {
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px !important;
  margin-right: -5px !important;
  margin-bottom: 2em !important;
}

article .gallery-item {
  float: none !important;
  width: 33.33%;
  margin: 0 !important;
  padding: 5px;
  box-sizing: border-box;
}

article .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
  border: 0 !important;
}

article .gallery-item:hover img {
  opacity: 0.85;
}

article .gallery-caption {
  text-align: center;
  font-style: italic;
  margin-top: 5px;
}

article .gallery-item a {
  display: block;
}
article .gallery-columns-1 .gallery-item {
  max-width: 100%;
}
article .gallery-columns-2 .gallery-item {
  max-width: 50%;
}
article .gallery-columns-3 .gallery-item {
  max-width: 33%;
}
article .gallery-columns-4 .gallery-item {
  max-width: 25%;
}
article .gallery-columns-5 .gallery-item {
  max-width: 20%;
}
article .gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}
article .gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}
article .gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}
article .gallery-columns-9 .gallery-item {
  max-width: 9%;
}

.button, .frm_button_submit {
  display: flex;
  width: 100%;
  border: 0;
  justify-content: center;
  align-items: center;
  height: 46px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.button:hover, .frm_button_submit:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

article .button {
  margin-bottom: 2em;
}

article p .button{
  margin: 0;
}

/* Search */
.search-item {
  margin-bottom: 1.8em;
}

.search-item:last-child {
  margin-bottom: 0;
}

.search-item .search-item-title {
  margin-bottom: 0.2em;
  font-size: 1.2em;
}

.search-item .search-item-text {
  margin-bottom: 0.8em;
}

.search-item .search-item-link {
  display: inline-flex;
  font-size: 1em;
  color: inherit;
  border-bottom: 2px solid #0059f7;
  text-decoration: none;
}

.search-item .search-item-link:hover {
  color: #0059f7;
}

/*PageNavi*/
.wp-pagenavi {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 32px 0 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
}

.wp-pagenavi a, .wp-pagenavi span {
  padding: 10px 15px;
  color: inherit;
  transition: background-color 0.5s, color 0.5s;
  border-color: #000;
  margin: 4px;
  min-width: 40px;
  line-height: 1;
  text-align: center;
}

.wp-pagenavi span.current{
  font-weight: 600;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current{
  background-color: #000;
  color: #fff;
  text-decoration: none;
}

/*Forms*/
.frm_forms {
  
}
.frm_error_style {
  margin-bottom: 1.52em;
  color: red;
}
.frm_error {
  margin-top: 0.25em;
  color: red;
}
.form-field {
  margin-bottom: 1.52em;
}
.form-field label {
  display: block;
  margin-bottom: 0.25em;
  font-size: inherit;
  font-weight: 600;
  color: inherit;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  display: block;
  width: 100%;
  background: none;
  padding: 0.5em;
  border: 0;
  border: 1px solid #000;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  outline: none !important;
}

.form-field textarea {
}

.frm_submit{
  margin-top: 1.52em;
  margin-bottom: 1.52em;
}

/* Footer */

.work-with-us-section {
  height: 332px;
  padding: 0px 6.25%;
  background-color: #bbf6f9;
  background-repeat: no-repeat;
  background-position: top right;
  background-size: auto 100%;
}

.work-with-us-section-content {
  width: 45%;
  max-width: 100%;
  padding: 40px 0;
}

.work-with-us-section-title {
  font-size: 68px;
  line-height: 1;
  margin-bottom: 0.26em;
}

.work-with-us-section-text {
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 0.76em;
}

.work-with-us-section-link {
  display: inline-flex;
  font-size: 30px;
  color: inherit;
  border-bottom: 2px solid #0059f7;
}

.work-with-us-section-link:hover {
  color: #0059f7;
}

.bottom-text-section {
  width: 900px;
  max-width: 100%;
  padding: 70px 0 60px;
  margin: 0 auto;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: #de009f;
}

footer {
    display: flex;
    height: 308px;
    padding: 0 6.25%;
    background-color: #f9d3cd;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto 100%;
}

footer a {
  color: inherit;
}

footer a:hover {
  text-decoration: underline;
}

.footer-content {
  display: flex;
  flex-direction: column;
  padding: 60px 0 30px;
}

.footer-columns {
  display: flex;
}

.footer-column {
  margin-right: 110px;
}

.footer-column:last-child {
  margin-right: 0;
}

.footer-column-title {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0.4em;
}

.footer-menu li a {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75em;
}

.footer-social-items {
    display: flex;
}

.footer-social-items a {
    display:flex;
    margin: 0 30px 0 0;
    font-size: 24px;
    line-height: 1;
    color: inherit;
}

.footer-social-items a:last-child {
  margin-right: 0;
}

.footer-social-items a:hover {
  color: #0059f7;
  text-decoration: none;
}

.footer-logos {
  display: flex;
  margin-top: 15px;
}

.footer-logos img {
  height: 66px;
  margin-right: 40px;
  width: auto;
}

.footer-logos a:last-child img {
  margin-right: 0;
}

.footer-copyright {
  display: flex;
  padding-top: 10px;
  margin-top: auto;
  font-size: 15px;
  font-weight: 300;
}

.footer-copyright div{
  margin-left: 30px;
}

/* Homepage */
.our-homes-section {
  padding: 160px 0 80px;
  text-align: center;
}

.our-homes-section-title {
  font-size: 70px;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 0.5em;
}

.our-homes-section-blocks {
  display: flex;
  width: 1116px;
  max-width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
}

.our-homes-section-blocks.recruitment-blocks {
  margin-top: 4em;
}

.our-homes-section-block {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  margin-bottom: 70px;
}

.our-homes-section-block img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  object-fit: cover;
  object-position: center center;
  vertical-align: bottom;
  transition: transform 0.5s, opacity 0.5s;
}

.our-homes-section-block:hover img {
  opacity: 0.85;
}

.our-homes-section-block-content {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding-bottom: 4.87%;
}

.our-homes-section-block-title {
  margin-bottom: 0;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: #440472;
}

.recruitment-blocks .our-homes-section-block-title {
  font-size: 26px;
}

.our-homes-section-block a {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

article.our-homes-section-article {
  width: 900px;
}

/* Job Page */
.job-page-form {
  padding: 60px 90px 40px;
  text-align: center;
  background: #f1f1f1;
}

.job-page-form .frm_error_style{
  background-color: red;
  color: #fff;
  padding: 1em;
  font-size: 20px;
  border-radius: 12px;
}

.job-page-form .frm_form_title {
  font-size: 70px;
  line-height: 1;
  margin-bottom: 0.42em;
}

.job-page-form h4 {
  font-size: 38px;
  line-height: 1.32;
}

.job-page-form .form-field:last-of-type {
  margin-bottom: 0;
}

.job-page-form .form-field {
  position: relative;
  text-align: left;
  font-size: 28px;
}

.job-page-form .form-field.frm_top_container:not(.vertical_radio):not(.frm_html_container) {
  padding-left: 150px;
}

.job-page-form .form-field.frm_html_container {
  text-align: center;
  font-size: 26px;
}

.job-page-form .form-field label {
  font-weight: 400;
}

.job-page-form .form-field.frm_top_container:not(.vertical_radio):not(.frm_html_container) label {
  position: absolute;
  left: 0;
  width: 100px;
  line-height: 1.1;
  margin-bottom: 0;
}

.job-page-form .frm_required {
  display: none;
}

.job-page-form input[type="text"], .job-page-form textarea {
  font-size: inherit;
  font-weight: 300;
  border: 0;
  background: #fff;
  border-radius: 12px;
}

.job-page-form .frm_opt_container {
  display: flex;
}

.job-page-form .frm_radio {
  margin-right: 20px;
}

.job-page-form #frm_field_21_container {
  padding-left: 0;
}

.job-page-form #frm_field_21_container label, .job-page-form #frm_field_21_container svg, .job-page-form #frm_field_21_container .frm_compact_text, .job-page-form #frm_field_21_container .frm_small_text {
  display: none;
}

.job-page-form .frm_dropzone {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
}

.job-page-form .frm_dropzone .dz-message {
  padding: 16px;
  border: 0;
  background: #023059;
  color: #fff;
  font-size: inherit;
  border-radius: 16px;
}

.job-page-form .frm_message {
  background: green;
  color: white;
  padding: 1em;
  font-size: 20px;
  border-radius: 12px;
}

@media only screen and (max-width: 1340px) {
    /* Tablet (Portrait and Landscape) */
    html{
      margin-top: 0 !important;
    }

    html #wpadminbar{
      display:none !important;
    }

    .search-popup {
      top: 0px !important;
    }

    .search-form {
        width: 80%;
    }

    .search-form input[type="text"] {
        font-size: 90px;
    }

    .search-form button {
        font-size: 90px;
    }

    /*Responsive Nav*/
    .responsive-nav-container{
        display: block
    }

    .main-menu {
        display: none;
    }

    .page-slider,
    .page-slider .slides,
    .page-slider .slides li {
      height: auto;
    }

    .page-slider {
      margin-bottom: 50px;
    }

    .slide-content {
      margin-top: 0;
      transform: translateY(-50%);
    }

    .slide-heading {
      font-size: 60px;
    }

    article, article.home-article {
      font-size: 21px;
    }

    article.home-article {
      margin-top: 50px;
    }

    .page-content {
      margin-top: 50px;
      margin-bottom: 60px;
    }

    .our-homes-section {
      padding: 60px 0;
    }

    .our-homes-section-title {
      font-size: 50px;
    }

    .our-homes-section-block {
      flex: 0 0 48%;
      margin-bottom: 50px;
    }

    .our-homes-section-block-title {
      font-size: 28px;
    }

    .recruitment-blocks .our-homes-section-block-title {
      font-size: 20px;
    }

    .work-with-us-section {
      height: 256px;
    }

    .work-with-us-section-content {
      padding: 26px 0;
    }

    .work-with-us-section-title {
      font-size: 40px;
    }

    .work-with-us-section-text {
      font-size: 21px;
    }

    .work-with-us-section-link {
      font-size: 24px;
    }

    .bottom-text-section {
      padding: 40px 0;
      font-size: 24px;
    }

    footer {
      height: 270px;
    }

    .footer-content {
      padding: 20px 0 30px;
    }

    .split-page-image img {
      margin-top: 80px;
    }

    .job-page-form {
      padding: 40px 40px 0;
    }

    .job-page-form .frm_form_title {
      font-size: 50px;
    }

    .job-page-form h4 {
      font-size: 26px;
    }

    .job-page-form .form-field {
      font-size: 21px;
    }

    .job-page-form .form-field.frm_top_container:not(.vertical_radio):not(.frm_html_container) {
      padding-left: 0;
    }

    .job-page-form .form-field.frm_top_container:not(.vertical_radio):not(.frm_html_container) label {
      position: static;
      width: auto;
      margin-bottom: 0.5em;
    }

    .job-page-form .form-field.frm_html_container {
      font-size: 21px;
    }

}

@media only screen and (max-width: 1000px) {
  /* Tablet (Portrait ) */

  .slide-heading {
    font-size: 40px;
  }

  .work-with-us-section {
    height: auto;
    background-image: none !important;
  }

  .work-with-us-section-content {
    width: auto;
    padding: 32px 0 40px;
  }

  footer {
    height: auto;
    background-image: none !important;
  }

}

@media only screen and (max-width: 800px) {
  /* Smartphone (Portrait and Landscape) */

  html{
    margin-top: 0 !important;
  }

  html #wpadminbar{
    display:none !important;
  }

  .search-popup {
    top: 0px !important;
  }

  .search-form {
    width: 85%;
  }

  .search-form input[type="text"] {
    font-size: 40px;
  }

  .search-form button {
    font-size: 40px;
  }

  .page-slider {
    margin-bottom: 30px;
  }

  .slide-heading {
    font-size: 28px;
  }

  .page-content.page-content-split {
    flex-direction: column;
  }

  .page-content.page-content-split article {
    width: 100%;
  }

  .split-page-image {
    width: 460px;
  }

  .split-page-image img {
    margin-top: 60px;
  }

  article, article.home-article {
    font-size: 18px;
  }

  article.home-article {
    margin-top: 30px;
  }

  .our-homes-section {
    padding: 36px 0;
  }

  .our-homes-section-title {
    font-size: 36px;
  }

  .our-homes-section-block {
    margin-bottom: 36px;
  }

  .our-homes-section-block-title, .recruitment-blocks .our-homes-section-block-title {
    font-size: 20px;
  }

  .work-with-us-section-content {
    padding: 30px 0 36px;
  }

  .work-with-us-section-title {
    font-size: 28px;
  }

  .work-with-us-section-text {
    font-size: 18px;
  }

  .work-with-us-section-link {
    font-size: 20px;
  }

  .bottom-text-section {
    padding: 36px 0;
    font-size: 20px;
  }

  .footer-content {
    padding: 36px 0 30px;
  }

  .page-content {
    margin-top: 30px;
    margin-bottom: 40px;
  }

  article .intro-text {
    font-size: 1em;
  }

  .split-page-image img {
    margin-top: 30px;
  }

  .job-page-form {
    padding: 30px 30px 0;
  }

  .job-page-form .frm_form_title {
    font-size: 32px;
  }

  .job-page-form h4 {
    font-size: 20px;
  }

  .job-page-form .form-field {
    font-size: 18px;
  }

  .job-page-form .form-field.frm_html_container {
    font-size: 18px;
  }

}

@media only screen and (max-width: 640px) {
  /* Smartphone (Portrait) */
  .slide-heading {
    font-size: 24px;
  }

  .our-homes-section-blocks {
    flex-direction: column;
  }

  .footer-columns {
    flex-direction: column;
  }

  .footer-column {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .footer-copyright {
    flex-direction: column;
    padding-top: 10px;
  }

  .footer-copyright div {
    margin-left: 0;
  }

}