/*
 Theme Name:   Job Hunt - Twenty Twenty Child Theme
 Template:     twentytwenty
*/

:root{
  --black: #343638;
  --text: #060607;
  --grey: #f9f9f9;
  --blue: #003051;
  --yellow: #ffb400;
  --orange: #fd3d08;
  --green: #00c5b3;
  --white: #ffffff;
  --open: 'Open Sans', sans-serif;
}

html{
  background: var(--grey);
}
body{
  max-width: 1400px;
  margin: auto;
  box-shadow: 0px 0px 50px rgb(0 0 0 / 20%);
  font-family:var(--open);
}
body:not(.overlay-header) .primary-menu > li > a, body:not(.overlay-header) .primary-menu > li > .icon, .modal-menu a, .footer-menu a, .footer-widgets a, #site-footer .wp-block-button.is-style-outline, .wp-block-pullquote:before, .singular:not(.overlay-header) .entry-header a, .archive-header a, .header-footer-group .color-accent, .header-footer-group .color-accent-hover:hover{
  color: var(--blue) !important;
}

/*Header*/
#site-header{
  z-index: 9999;
  background-color:var(--white) !important;
}
.showing-modal #site-header{
  background:transparent !important;
  transition-delay:.26s;
}
.sticky #site-header, .showing-modal #site-header{
  position: fixed;
  top: 0;
  width: 100%;
  max-width:1400px;
  background:white;
}
.header-inner{
  width:calc(100% - 8rem);
  align-items: flex-end;
  padding:2rem 0;
  position:relative;
}
.header-inner .toggle svg{
  color: var(--orange);
}
.header-titles-wrapper{
  margin-right:1rem;
}
#site-content .archive-header{
  padding-top: 30px !important;
  background-color:  var(--green);
  color: white;
  padding-bottom: 10px;
}
.sticky #site-content.single{
  padding-top:120px;
}
.error404 #site-content .entry-title{
  padding-top:120px;
}
.site-title.faux-heading a{
  font-size:0;
  background: url('../svg/job-hunt-logo.svg') no-repeat;
  background-size:contain;
  width:175px;
  height: 82px;
  margin-bottom: 5px;
  text-decoration: none;
}

.primary-menu a{
  color: var(--blue) !important;
  font-family: var(--open);
  font-size: 22px;
  font-weight: 600;
  line-height: 29px;
}
.primary-menu li.current-menu-item > a, 
.primary-menu li.current-menu-item > .link-icon-wrapper > a, 
.primary-menu a:hover, 
.primary-menu a:focus, 
.primary-menu .current_page_ancestor,
.entry-content a,
.pagination a:hover,
.sidebar a,
.footer-menu li a:hover,
.footer-terms a,
.footer-widgets .menu-item a:hover,
.textwidget.custom-html-widget a,
.widget-content a{
  text-decoration: none;
}
.primary-menu li.current-menu-item::after, 
.primary-menu li:hover::after,
.post-meta-single-top .post-meta a:hover::after,
.jh-social a:hover::after,
.entry-content a::after,
.pagination a:hover::after,
.pagination .page-numbers.current::after,
.sidebar a:hover::after,
.footer-menu li a:hover::after,
.footer-widgets .menu-item a:hover::after,
.footer-terms a:hover::after{
  content:'';
  width: calc(100% + 7px);
  position: absolute;
  left: -7px;
  bottom: -2px;
  line-height: 0;
  font-size: 0;
  height: 0;
  border-bottom: 2px solid var(--yellow);
  border-left: 7px solid transparent;
  display:block;
}
.no-accent::after, .no-accent:hover::after{
  display:none !important;
}
#search-form input[type="search"]{
  width: calc(80% - 57px);
  min-width:265px;
  display:inline-block;
}
input[type="search"]:focus{
  outline:0;
}
#search-form #searchsubmit{
  background: var(--orange);
  font-size:0;
  display:inline-block;
  width:50px;
  height:49px;
  vertical-align: top;
  cursor: pointer;
  position: relative;
  right: 5px;
  margin-right:-54px;
}
#search-form label[for="searchsubmit"] input, 
.search-toggle-wrapper span.toggle-text{
  display:none;
}
#search-form #searchsubmit svg{
  fill:white;
  margin:auto;
  height:50px;
  width:23px;
}
.entry-header{
  position:relative;
  overflow:hidden;
}
.entry-header-home .entry-header-inner > svg {
  position: absolute;
  right: 0;
  bottom: -20px;
  max-width: 45%;
}
.entry-header-home .entry-header-inner{
  width: 51%;
  margin-left: 4rem;
  text-align:left;
}
.entry-header-home .entry-header-inner h1{
  width: 576px;
  height: 106px;
  color: var(--black);
  font-family: var(--open);
  font-size: 35px;
  font-weight: bold;
  line-height: 53px;
  margin-bottom:16px;
}
.entry-header-home .entry-header-inner p{
  color:var(--text);
  font-family: var(--open);
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
  position:relative;
}

.search-modal.active .search-modal-inner, .search-modal-inner .section-inner{
  max-width: 1400px;
  margin: auto;
  pointer-events:all;
}
.search-modal-inner .section-inner{
  padding:2rem 0;
}
.search-modal-inner .section-inner .search{
  width:100%;
}
.archive-title, .archive-title span.color-accent{
  color: white;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 55px;
  height:60px;
  font-family: var(--open);
  line-height: 55px;
  margin-bottom:16px;
}
.archive-subtitle.section-inner.thin.max-percentage.intro-text {
  font-weight: 300;
  font-size: 24px;
}
.post-inner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top:0;
  width:calc(100% - 4rem);
  max-width: 1300px;
  margin: auto;
}

.pagination {
  padding: 1rem 0 5rem;
}
.entry-content .pagination a{
  font-weight:bold;
}
.pagination a::after{
  display:none;
}
.pagination .page-numbers.current{
  position:relative;
  color: var(--blue);
}
.pagination-wrapper hr.styled-separator.pagination-separator.is-style-wide {
    display: none;
}

/*CONTENT*/
.entry-content{
  flex-grow: 1;
  max-width:calc(66% - 1rem);
  padding-top:8rem;
}
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide){
  width:auto;
  max-width:none;
}
.entry-content h2{
  color: var(--black);
  font-family: var(--open);
  font-size: 28px;
  font-weight: bold;
  line-height: 37px;
}
.entry-content p, .entry-content li{
  color:var(--text);
  font-family: var(--open);
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
}
.entry-content img {
  max-width: 100% !important;
  height: auto !important;
}
a{
  position:relative;
  color:var(--blue);
}
.entry-content a{
  font-weight:600;
}
a:hover{
  color:var(--blue);
}
a:hover::after{
  display:none;
}
h1.entry-title{
  color:var(--black);
  font-size:44px;
}
h2 {
  color:var(--black);
  font-size: 3rem;
}
h3 {
  color:var(--black);
  font-size: 2.5rem;
}
h4 {
  color:var(--black);
  font-size: 2rem;
}
.singular .entry-header{
  padding:3rem 0 !important;
}
.singular .intro-text{
  font-size: 20px;
}
.primary-menu > li, .footer-menu a{
  font-size:15px !important; 
}
.entry-content{
  font-family: var(--open);
  font-size:16px;
}

.primary-menu > li{
  margin-left:2rem;
}
.primary-menu a{
  font-size:21px;
}

body:not(.overlay-header) .primary-menu li.menu-item-has-children > ul, .primary-menu li.menu-item-has-children > ul{
  background:white;
  background-color:white;
}
.primary-menu li.menu-item-has-children:hover > ul, .primary-menu li.menu-item-has-children:focus > ul, .primary-menu li.menu-item-has-children.focus > ul{
  background:white;
  background-color:white;
  color:var(--blue);
  width:30rem;
  left:0;
  right:unset;
  box-shadow: 2px 2px 4px -2px rgb(0 0 0 / 20%);
  border-radius:0;
}
.primary-menu li.menu-item-has-children:hover:last-child > ul, .primary-menu li.menu-item-has-children:focus:last-child > ul, .primary-menu li.menu-item-has-children.focus:last-child > ul{
  left:unset;
  right:0;
}

.sub-menu li{
  margin:0 2rem;
}

.primary-menu li.menu-item-has-children ul a,
.primary-menu li.menu-item-has-children:hover > ul a, .primary-menu li.menu-item-has-children:focus > ul a, .primary-menu li.menu-item-has-children.focus > ul a{
  font-size:18px;
  line-height:24px;
  padding:1rem 0;
}
.primary-menu li.menu-item-has-children ul a svg{
  display:inline-block;
  margin-top:0;
  vertical-align: middle;
}
.menu-modal{
  padding-top:127px;
}
.menu-modal nav svg{
  display:inline-block;
  vertical-align:text-top;
}
.menu-modal .close-nav-toggle{
  position: fixed;
  top: 10px;
  right: 34px;
}

body:not(.overlay-header) .primary-menu > li > ul.sub-menu:after{
  content: '';
  height: calc(100%);
  position: absolute;
  line-height: 0;
  font-size: 0;
  top: 0;
  border-right: 2px solid var(--green);
  border-top: 7px solid transparent;
  right: unset;
  border-bottom: 0;
  left: -5px;
}

.entry-content p:first-child img{
  float:right;
  margin-left:15px;
}

/*Grid*/
.grid{
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}
.grid-2 .grid-item{
  width:calc(50% - 1rem);
  margin-bottom:2rem;
  text-decoration:none;
  background-color:white;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.20);
  position:relative;
}
.grid.grid-5.grid-related {
  margin: 4rem 4rem 0;
  width: calc(100% - 8rem);
}
.grid-5 .grid-item{
  width:calc(20% - 1rem);
  margin-bottom:2rem;
  text-decoration:none;
  background-color:white;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.20);
  position:relative;
}
.grid-5 .grid-image{
  height:150px;
}
.grid-item::after,
.entry-content .grid-item::after{
  display:none;
}

.grid-image{
  height:230px;
  max-height:20vw;
  background-size:cover;
  background-repeat:no-repeat;
  background-color: var(--grey);
  background-position:center;
  overflow:hidden;
}
.grid-image img{
  width: 100%;
  height: 100% !important;
  object-fit: cover
}

.grid-latest .grid-image::after{
  content:'NEW';
  position:absolute;
  top:215px;
  right:0;
  width: 78px;
  height: 33px;
  color: var(--blue);
  font-size: 20px;
  font-weight: bold;
  line-height: 32px;
  text-align: center;
  background: var(--green);
}
.grid-content{
  padding:35px 11px 56px;
}
.grid-title{
  color: var(--blue);
  font-family: var(--open);
  font-size: 22px;
  font-weight: bold;
  line-height: 32px;
  margin-bottom:16px;
}
.grid-content p{
  color:var(--text);
  font-family: var(--open);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}
.grid-content .grid-read-more{
  height: 40px;
  color: var(--blue);
  font-family: var(--open);
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
  text-align:right;position: absolute;
  right: 1rem;
  bottom: 1rem;
}
.grid-read-more svg{
  fill: var(--black);
  vertical-align: text-bottom;
  margin-left: 4px;
  display: inline-block;
}
.grid-item:hover .grid-read-more::after{
  display:none;
}
.grid-read-more::after{
  content: '';
  background: url(../svg/read-more-accent.svg) no-repeat;
  width: 110px;
  height: 20px;
  position: absolute;
  right: 0;
  bottom: -8px;
}


/*Single*/
#site-content .entry-header.single:not(.entry-header-home){
  padding-top:0 !important;
  padding-bottom:0 !important;
  background-color:transparent;
}
.post-template .entry-header-inner.section-inner{
  margin: 4rem auto;
  max-width: 1300px;
}
.single .entry-content{
  padding-top:10px;
}
.single h1{
  color: var(--black);
  font-size: 35px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.49411765px;
  text-align:left;
}
.post-meta-wrapper.post-meta-single.post-meta-single-top {
  display: flex;
  justify-content: space-between;
}
.post-meta-single-top .post-meta{
  justify-content: start;
}
li.post-comment-link.meta-wrapper {
  display: none;
}
.post-meta-single-top .post-meta a{
  color:var(--blue);  
}
.post-meta-single-top .post-meta a::after{
  display:none;
}
li.post-date.meta-wrapper {
  display: none;
}
.jh-social{
  justify-content: end;
  color: #6d6d6d;
  display: flex;
  flex-wrap: wrap;
  font-weight: 500;
  list-style: none;
  margin:0;
}
.jh-social li{
  line-height:2rem;
}
.jh-social svg{
  fill: var(--blue);
  width:22px;
  display:inline-block;
}
.jh-social .jh-facebook svg{
  fill: #4267B2;
}
.jh-social .jh-twitter svg{
  fill: #55acee;
}
.jh-social .jh-linkedin svg{
  fill: #0077b5;
}
.jh-social .jh-pinterest svg{
  fill: #CB2027;
}
.jh-social .jh-email{
  bottom:3px;
}
.jh-social .jh-email svg{
  width:auto;
  height:28px;
}
.jh-social a::after{
  display:none;
}

/*SIDEBAR*/
.sidebar{
  width: 33%;
  min-width: 320px;
  padding-right: 3rem;
  padding: 8rem 10px 10px;
  position:relative;
}
.single .sidebar{
  padding-top:10px;
}
.single.has-post-thumbnail .sidebar{
  padding-top:66px;
}
.sidebar h3{
  color: var(--black);
  font-size: 22px;
  font-weight: 600;
  line-height: 27px;
  margin-left: 2rem;
}
.sidebar table{
  margin:1rem auto;
}
.sidebar h4{
  color: var(--blue);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  margin-left: 2rem;
}
.sidebar p{
  font-size:14px;
}
.sidebar li{
  line-height: 1.25;
  margin: 0.5rem 0 20px 2rem
}

.sidebar-form{
  border-radius: 2px;
  border: solid 1px var(--grey);
  background: var(--grey);
  text-align:center;
}
.sidebar-form input{
  height: 45.89px;
  border-radius: 2px;
  border: solid 0.5px #d6d6d6;
  background: var(--white);
  width: 85%;
  margin:18px auto;
  
}
.sidebar-form input[type="submit"]{
  color: var(--white);
  font-family: var(--open);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  height: 55px;
  border-radius: 8px;
  border:0;
  background: var(--orange);
  padding:0;
  width: 85%;
  margin-top:0;
}
.sidebar-form input[type="submit"]:hover{
  text-decoration:none;
  background-color:#ca3006;
}
.sidebar .gform_wrapper ul::after,
.sidebar .gfield_label{
  display: none;
}
.sidebar .gfield{
  margin:0;
}
.sidebar ul{
  list-style-type: none;
  position:relative;
  margin-left:0;
}
.sidebar ul::after{
  content:'';
  height: calc(100% + 7px);
  position: absolute;
  line-height: 0;
  font-size: 0;
  top:0;
  border-right: 2px solid var(--yellow);
  border-top: 7px solid transparent;
}
.sidebar ul:nth-of-type(even):not(.gform_fields)::after{
  border-right-color: var(--yellow);
}
.sidebar ul:nth-of-type(odd):not(.gform_fields)::after, .sidebar ul:first-of-type:not(.gform_fields)::after{
  border-right-color: var(--green);
}
.sidebar ul ul::after{
  display:none;
}
.sidebar ul h3{
  color: var(--blue);
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  margin: 0;
  margin-bottom: 14px;
}
.sidebar a{
  color:var(--blue);
  position:relative;
  display:inline-block;
  font-weight:500;
}

/*FOOTER*/
.footer-top-visible .footer-nav-widgets-wrapper, .footer-top-hidden #site-footer{
  margin-top:0; /**matches .post-inner padding-top*/
}

.footer-inner.section-inner{
  width:calc(100% - 4rem);
}
.footer-credits{
  font-size:15px;
}
.footer-top{
  display:block;
}
.footer-menu {
  display: flex;
  height: 230px;
  flex-flow: column wrap;
  width: 100%;
  margin:0;
  align-content: space-between;
}

.footer-menu li{
  line-height:20px;
  margin:0 0 12px;
  font-weight:600;
  break-inside: avoid-column;
  padding-bottom: 2px;
}
.footer-menu li a:after{
  content: '';
    width: calc(100% + 7px);
    position: absolute;
    left: -7px;
    bottom: -2px;
    line-height: 0;
    font-size: 0;
    height: 0;
    border-bottom: 2px solid transparent;
    border-left: 7px solid transparent;
    display: block;
}
.footer-widgets.column-one.grid-item {
  width: 60%;
  line-height: 55px;
}

.footer-widgets.column-two.grid-item {
  text-align: right;
}
.footer-widgets .menu-item{
  display:inline-block;
  font-size:15px;
  color: var(--blue);
  margin-right:10px;
}
.footer-widgets .search{
  margin-right:54px;
}
h2.widget-title.subheading.heading-size-3 {
  font-size: 15px;
  font-weight: normal;
  margin-bottom:0;
}
.textwidget.custom-html-widget,
.widget-content{
  line-height:1rem;
}
.textwidget.custom-html-widget span,
.widget-content span{
  line-height:50px;
  vertical-align: bottom;
  font-size:18px;
}
.textwidget.custom-html-widget a,
.widget-content a{
  display:inline-block;
  margin-left:10px;
}
.textwidget.custom-html-widget span a,
.widget-content span a{
  margin-left:0px;
}
.textwidget.custom-html-widget span a:hover::after,
.widget-content span a:hover::after{
  content:'';
  width: calc(100% + 7px);
  position: absolute;
  left: -7px;
  bottom: 8px;
  line-height: 0;
  font-size: 0;
  height: 0;
  border-bottom: 2px solid var(--yellow);
  border-left: 7px solid transparent;
  display:block;
}
.textwidget.custom-html-widget svg,
.widget-content svg{
  fill:var(--blue);
  height: 50px;
  width: 35px;
}
.footer-terms{
  text-align: center;
  padding-top:5rem;
  font-weight:500;
}

.footer-terms .divider{
  margin: 0 1rem;
}

.powered-by-wordpress{
  display:none;
}

.banner .adsbygoogle{
  width:calc(100% - 4rem);
  max-width: 1300px;
  margin: 8rem auto 0;
  display:block;
  height:280px;
}
@media (max-width: 782px) {
  .banner .adsbygoogle{
    height:200px;
  }
}

ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

ins.adsbygoogle {
  margin: auto;
  text-align: center;
}
#med_rect_btf, #med_rect_btf2, #med_rect_btf3{
  max-width:300px;
}

@media screen and (max-width: 500px){
  .site-title.faux-heading a{
    max-width:125px;
  }
  .header-inner .toggle{
    padding:0 1rem;
  }
  #site-content .entry-header.entry-header-home,
  #site-content article.type-page:not(.post-7655){
    padding-top:0px !important;
  }
  .entry-header-home .entry-header-inner h1{
    line-height:45px;
  }
  .entry-header-home .entry-header-inner p{
    font-size:20px;
    line-height:30px;
  }
  #search-form input[type="search"]{
    min-width:250px;
    font-size:15px;
  }
  .post-meta-wrapper.post-meta-single.post-meta-single-top{
    display: block;
  }
  .jh-social li:first-of-type{
    margin-left:0;
  }
  .entry-content img{
    display:block;
    float:none !important;
    margin:auto;
  }
  .nav-links > *{
    margin:1rem 0 0 1rem;
  }
  .grid-2 .grid-item{
    width:100%;
  }
  .column-one .textwidget.custom-html-widget span{
    display:block;
  }
  .column-one .textwidget.custom-html-widget a{
    max-width: calc(32% - 10px);
  }
  .column-one .widget_custom_html:nth-of-type(2) a {
    max-width: 80%;
  }
  .footer-top{
    display:none;
  }
}

@media screen and (max-width: 750px){
  .entry-header .search{
    margin-bottom:14rem;
    z-index: 2;
    position: relative;
  }
  .entry-header-home .entry-header-inner > svg{
    max-width:35rem;
    max-height:24rem;
    right: -6px;
    z-index:1;
  }
  .entry-content{
    max-width:100%;
  }
  .grid-image{
    min-height:200px;
  }
  .grid-latest .grid-image::after{
    top:185px;
  }
  .grid-5 .grid-item{
    width:100%;
  }
  .sidebar{
    display:none;
  }
  nav.footer-menu-wrapper{
    width:100%;
  }
  .footer-menu{
    height:530px;
  }
  .footer-widgets.column-one.grid-item {
    width: 100%;
    display: block;
    margin:0;
  }
  .footer-widgets.column-two.grid-item {
    width: 100%;
    display: block;
    text-align:center;
    margin:0;
  }
  .footer-widgets-wrapper {
    display: block;
  }
  aside.footer-widgets-outer-wrapper {
    text-align: center;
  }
  .footer-widgets .widget{
    margin:1.5rem 0;
  }
}

@media screen and (max-width: 1000px){
  button.toggle.close-nav-toggle{
    font-size:0;
    outline:none;
  }
  button.toggle.close-nav-toggle svg{
    position:relative;
    right:42px;
  }
  .archive-title, .archive-title span.color-accent{
    min-height:60px;
    height:auto;
  }
  .entry-header-home .entry-header-inner{
    width:auto;
    margin-right:4rem;
  }
  .entry-header-home .entry-header-inner h1{
    width:100%;
    height:auto;
  }
  .pagination .nav-links{
    justify-content:space-between;
  }
  .nav-links .placeholder{
    display:block;
  }
}

@media screen and (min-width: 750px) and (max-width:1000px){
  .home .entry-header-inner.section-inner{
    max-width:calc(100% - 280px);
  }
  .entry-content{
    max-width:calc(100% - 320px);
  }
  .grid-2 .grid-item{
    width:100%;
  }
  .grid-5 .grid-item{
    width:calc(33% - 1rem);
  }
  .grid-5 a.grid-item:nth-of-type(4), .grid-5 a.grid-item:nth-of-type(5) {
    display: none;
  }
  nav.footer-menu-wrapper{
    width:100%;
  }
  .footer-menu{
    height:370px;
  }
  .column-one .textwidget.custom-html-widget a{
    max-width:72px;
    vertical-align:middle;
  }
  .column-one .textwidget.custom-html-widget span{
    vertical-align: middle;
  }
}

@media screen and (min-width: 1000px) and (max-width:1300px){
  .header-inner{
    flex-wrap:wrap;
  }
  .site-title.faux-heading a{
    width: 140px;
    height:76px;
  }
  .primary-menu a{
    font-size:1.8vw;
  }
  .primary-menu-wrapper + .header-toggles{
    margin-left:1.5rem;
  }
  .header-inner .toggle{
    padding:0 1.5rem;
  }
  #site-content .entry-header.single:not(.entry-header-home){
    padding-top: 60px !important;
    width:auto;
  }
}
@media screen and (max-width: 1340px){
  .post-template .entry-header-inner.section-inner{
    margin:2rem;
    max-width:none;
  }
}

@media screen and (min-width: 1000px){
  .toggle-wrapper.nav-toggle-wrapper.has-expanded-menu{
    display:none;
  }
  .header-toggles .toggle{
    padding:0 2rem;
  }
  .primary-menu-wrapper + .header-toggles{
    margin-left:2rem;
  }
}
@media screen and (min-width:1000px) and (max-width:1400px){
  .header-titles-wrapper{
    max-width: 100%;
    width: 100%;
    justify-content: space-between;
  }
  .mobile-search-toggle, .mobile-nav-toggle{
    display:block !Important;
  }
  .menu-modal.active{
    z-index:9999;
  }
  .header-navigation-wrapper{
    display:none;
  }
}
@media screen and (min-width:1400px){
  .header-inner .search-toggle svg{
    height:21px;
    width: 21px;
  }
}
