/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: Steve Gibbons, Cimpress
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/************************ Global ***************************/
h1,h2,h3, .fusion-main-menu > ul > li > a {
    text-transform: uppercase;
}

.button-medium, .button-large {
    padding: 5px 10px;
}

.fusion-separator {
    margin-bottom: 20px;
}

#main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Mobile Nav */
/*.fusion-header-has-flyout-menu .fusion-flyout-menu-bg {
    background-color: rgba(240,86,58,0.95);
}*/

/*.fusion-mobile-nav-item a {
    color: #fff;
    background-color: transparent; 
    border: none; 
}*/

/*.fusion-scroll-section {
    display: flex;
}*/

/*.fusion-mobile-nav-item a, .fusion-mobile-nav-holder > ul > li.fusion-mobile-nav-item > a {
    font-size: 36px;
    font-family: "Open Sans";
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}*/

/*.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-menu {
    text-align: left;
}*/

.fusion-header .fusion-logo {
    margin-top: 30px;
    margin-bottom: 30px;
}

.fusion-main-menu > ul > li > a {
    line-height: 108px;
}

.fusion-mobile-menu-icons a {
    margin-top: 7px;
}

.no_margin p {
    margin-top: 0;
    margin-bottom: 0;
    margin: 0;
}

.fusion-title-size-three, h3 {
    margin-bottom: 5px !important;
}

.fusion-title-size-one, h1 {
    margin-top: auto !important;
    margin-bottom: auto !important;
}

nav#fusion-scroll-section-nav-1 {
    display: none;
}

/*Remove margin in blog feeds*/
.fusion-blog-layout-grid.fusion-blog-equal-heights .fusion-post-wrapper .fusion-meta-info {
    margin-top: 0;
}

/* Add padding before center aligned buttons*/
.fusion-button-wrapper.fusion-aligncenter {
    padding-top: 20px;
}

/* Blog Titles */
h2.entry-title a {
    color: #3a414c !important;
    font-weight: 400;
    text-transform: initial;
    font-family: "Open Sans";
}

/* Footer */
#menu-widget-2 ul li a {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .5px;
}

@media (min-width: 992px){
    footer .fusion-column {
     width:25%;
    }
}
@media (min-width: 992px){
    footer .fusion-column-last.col-lg-6.col-md-6.col-sm-6 {
     width:75%;
    }
}

/* Title Bar*/
.fusion-page-title-bar {
    margin-bottom: 100px;
}
.fusion-page-title-bar-center .fusion-page-title-captions {
    margin-top: 50px;
}



/******************* Home Page ******************/

/* White Logo on homepage  - Initial state */
/*body.page-id-4 #wrapper .fusion-header-v1 .fusion-header-has-flyout-menu-content .fusion-logo a img { 
display: none;
}*/
 
body/*.page-id-4*/ #wrapper .fusion-main-menu .fusion-widget-cart-counter > a:before, body/*.page-id-4*/ #wrapper .fusion-main-menu > ul > li > a {
    color: #fff;
}

/*body.page-id-4 .fusion-logo a .fusion-standard-logo {
    background: url('/wp-content/uploads/2018/01/Cimpress_Identity_White.png') top left no-repeat !important;
    display: block !important;
    height: 126px !important;
    margin: 0 auto !important;
}*/

/* Allow different navigation on initial vs scroll */
body/*.page-id-4*/ #wrapper .fusion-sticky-shadow .fusion-main-menu > ul > li > a {
    color:#3a414c;
}

/* for high resolution display */

/*@media only screen and (min--moz-device-pixel-ratio: 2),

only screen and (-o-min-device-pixel-ratio: 2/1),

only screen and (-webkit-min-device-pixel-ratio: 2),

only screen and (min-device-pixel-ratio: 2) {

body.page-id-4 .fusion-logo a .fusion-standard-logo{

    background: url('/wp-content/uploads/2018/01/Cimpress_Identity_White_retina.png') top left no-repeat !important;
    display: block !important;
    height: 126px !important;
    margin: 0 auto !important;
    background-size: contain !important;
    }
  }*/



/*100% height top section*/

.hundred-percent-height {
    height: 100vh !important;
}


/* Home Page teaser content Bar*/

.teaser_bar {
    position: absolute !important;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto !important;
}

.fusion-builder-row.fusion-builder-row-inner.fusion-row {
    max-width: 1220px !important;
}

.fusion-scroll-section.active .fusion-scroll-section-nav {
    display: none;
}

.feature_quote p{
    text-align: center;
    font-size: 34px;
    margin-bottom: 0;
}

.fusion-image-wrapper .fusion-rollover {
    display: none;
}

.teaser_bar .fusion-layout-column {
    padding: 0 20px;
    margin-bottom: 0 !important;
    font-size: 16px;
/*  width: calc(25% - ( (2% + 2% + 2% ) * 0.25 ) ) !important;
*/    margin-right: 2% !important;
}

.teaser_bar .fusion-layout-column:not(:first-child){
    border-left: 1px solid #fff;
}

.teaser_bar .fusion-layout-column:last-child{
    margin-right: 0 !important;
}

@media (max-width: 1050px){
    .fusion-is-sticky .fusion-logo img.fusion-sticky-logo, .fusion-logo img {
        width: 200px;
    }
    .fusion-main-menu > ul > li, .fusion-is-sticky .fusion-main-menu>ul>li {
    padding-right: 25px;
    }
    .fusion-main-menu > ul > li > a {
    line-height: 88px;
    }
}

@media (max-width: 950px) {
    .fusion-scroll-section {
    display: initial;
    }
    h1 {
        font-size: 36px !important;
    }
    h2 {
        font-size: 26px !important;
    }
    h4 {
        font-size: 32px !important;
    }
    h2.entry-title a {
        font-size: 18px;
        line-height: 1;
    }
    .feature_quote .fusion-column-wrapper {
        padding: 20px 20px 20px 20px !important;
    }
    .feature_quote p{
    font-size: 18px;
    }
    .fusion-main-menu > ul > li, .fusion-is-sticky .fusion-main-menu>ul>li {
    padding-right: 17px;
    }
    .fusion-main-menu > ul > li > a {
    line-height: 88px;
    }

}

@media (max-width: 800px) {
    .teaser_bar {
        display: none;
    }
    div.fusion-fullwidth.fullwidth-box.hundred-percent-fullwidth.non-hundred-percent-height-scrolling, div.fusion-fullwidth.fullwidth-box.nonhundred-percent-fullwidth.non-hundred-percent-height-scrolling {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    footer #menu-widget-2 {
        text-align: center;
    }
    footer .fusion-footer-widget-column {
        text-align: center;
    }
    .mc_chart {
        width: 60% !important;
        margin-right: 0 !important;
    }

    .mc_chart>div {
        padding: 7% !important;
    }
}

@media (min-width: 800px) {
    .display_800 {
        display: none;
    }

}

/*-Content Box Right*/
.content_box_right {
    float: right !important;
    margin-right: 0 !important;
}

.content_box_right_container .fusion-column-wrapper {
    background-position: -35vw !important;
}

@media (max-width:2000px) {
    .content_box_right_container .fusion-column-wrapper {
        background-position: -25vw !important;
    }
}

@media (max-width:1500px) {
    .content_box_right_container .fusion-column-wrapper {
        background-position: -15vw !important;
    }
}

@media (max-width:1000px) {
    .content_box_right_container .fusion-column-wrapper {
        background-position: -10vw !important;
    }
}

/*-Content Box Left*/
.content_box_left {
    float: left;
    margin-left: 0 !important;
}

.content_box_left_container .fusion-column-wrapper {
    background-position: 35vw !important;
}

@media (max-width:2000px) {
    .content_box_left_container .fusion-column-wrapper {
        background-position: 25vw !important;
    }
}

@media (max-width:1500px) {
    .content_box_left_container .fusion-column-wrapper {
        background-position: 15vw !important;
    }
}

@media (max-width:1000px) {
    .content_box_left_container .fusion-column-wrapper {
        background-position: 10vw !important;
    }
}

/* Content Box Center*/
.content_box_center {
    margin: auto;
    float: initial !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Blog Feed Box */
.fusion-blog-shortcode .fusion-post-grid .fusion-post-wrapper {
    border-bottom-width: 1px !important;
}

/* FAQ Toggle Headers - Used for history accordian */

.fusion-accordian .panel-title, .fusion-toggle-heading {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}


/********************* Businesses Page ***********************/


/* Filters */

.fusion-portfolio-1 div {
    text-align: center;
/*    line-height:30px;
*/}

.fusion-portfolio-1 div .fusion-portfolio-meta, .fusion-portfolio-1 div .fusion-post-content {
    text-align: left;
}
    
.fusion-portfolio-1 div li {
    list-style:none;
    display:inline;
}

.fusion-filter {
    float: none;
}

.fusion-filter a {
    display: inline;
}

.fusion-portfolio-content-wrapper {
    border-width: 1px !important;
}

/*.fusion-portfolio-post img.attachment-full.size-full.wp-post-image {
    max-height: 150px;
}*/

.fusion-portfolio-three article.fusion-portfolio-post img {
    padding: 30px;
    max-height: 150px !important; 
}

.fusion-portfolio-three article.fusion-portfolio-post {
    height: auto !important;
    min-height: 530px;
    position: relative !important;
    left: auto !important;
    top: auto !important;
}

.fusion-portfolio-three div.fusion-portfolio-wrapper {
    height: auto;
}

/************************* Newsroom ************************/

/* for feeds where featured image is a logo, add padding */
.featured_logo img.attachment-full.size-full.wp-post-image {
    padding: 20px;
}

/************************** Executive Team ***********************/
.bio_title {
    padding: 20px;
}

.post-content .bio_title p {
    margin-bottom: 0;
}

/************************ About Us ***************************/

.revenue_chart {
    width: 60% !important;
    margin-right: 0 !important;
}

div.revenue_chart>div {
    padding: 7% !important;
}



/************************ CAREERS SECTION ***************************/

.careers_third_boxes {
	min-height: 270px;
}

@media (max-width: 800px){
	div.fusion-fullwidth.fullwidth-box.hundred-percent-fullwidth.non-hundred-percent-height-scrolling.careers_info_content, div.fusion-fullwidth.fullwidth-box.nonhundred-percent-fullwidth.non-hundred-percent-height-scrolling.careers_info_content{
	    margin-left: 2%;
	    margin-right: 2%;
	}
}

/* Used on both Careers Search and single job page */

.careers__bg {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1.careers__title {
    color: white;
    font-family: "Gotham Rounded Light";
    font-weight: normal;
    font-size: 3rem;
    text-align: center;
}

/* Used on both Careers embeddable form and Careers Search. */

.form-submit-btn, .careers__filter input[type="submit"] {
    margin-top: 10px;
    background: white;
    color: #f0563a;
    border: 1px solid white;
    border-radius: 3px !important;
    padding: 4px 9px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: 300ms;
}

.form-submit-btn:hover, .careers__filter input[type="submit"]:hover {
    background-color: #f0563a;
    color: white;
    transition: 300ms;
}

/* Used on Careers Search and single job pages */

.social__link {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0 5px;
    border-radius: 25px;
    border: 1px solid black;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
}

/****************** Embeddable Careers Listing **********************/


h3.listing_feed__title a {
    color: #f0563a;
    font-size: 1.5rem;
    font-weight: normal;
}

.careers__listing_feed {
    padding: 20px 0;
    background: #fff;
    margin-bottom: 20px;
}

.careers__listing_feed p {
    color: #727E90;
}

.careers__listing_feed a {
    color: #f0563a;
}

/****************** Embeddable Careers Form ****************************/

.careers-form {
    background: #f0563a;
    color: white;
    display: inline-block;
    padding: 20px;
    margin: 10px 0;
    text-align: center;
}

.careers-form h2 {
    margin: 10px 0 20px 0;
    color: white !important;
}

.careers-form p {
    margin: 5px 0;
}

.careers-form__description {
    padding-bottom: 5px;
    border-bottom: 3px solid white;
}

.careers-form__search {
    padding-top: 5px;
}

.careers-form__search p {
    text-transform: uppercase;
}

.careers-form__search select {
   text-align-last:center;
}

/*the container must be positioned relative:*/
.careers-form__select {
  position: relative;
}
.careers-form__select select {
  display: none; /*hide original SELECT element:*/
}
.careers-form__select .select-selected {
  background-color: white;
}
/*style the arrow inside the select element:*/
.careers-form__select .select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #f0563a transparent transparent transparent;
}
/*point the arrow upwards when the select box is open (active):*/
.careers-form__select .select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}
/*style the items (options), including the selected item:*/
.careers-form__select .select-items div,.select-selected {
  color: #f0563a;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}
/*style items (options):*/
.careers-form__select .select-items {
  position: absolute;
  background-color: white;
  border: 1px solid #f1f1f1;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  max-height: 150px;
  overflow: scroll;
}
/*hide the items when the select box is closed:*/
.careers-form__select .select-hide {
  display: none;
}
.careers-form__select .select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

/*********************** Careers Search Page ****************************/

.container--careers {
    width: 100vw;
}

.careers {
    max-width: 1200px;
    margin: 0 auto; 
}

.page-template-template-careers #main, .page-template-template-careers-vcs #main {
    padding: 0;
}

.page-template-template-careers #main .fusion-row, .page-template-template-careers-vcs #main .fusion-row {
    margin: 0;
}

/* Filters */

.careers__filter {
    width: 100%;
    float: left;
    background: #f0563a;
    color: white;
    margin-bottom: 20px;
}

.searchandfilter ul>li>ul:not(.children) {
    padding: 0;
}

.careers__filter p {
    margin: 0;
    width: 100%;
    margin-bottom: 20px;
}

.careers__filter ul {
    padding: 0 20px;
    margin-left: 0;
}

.careers__filter h4 {
    font-weight: normal;
    font-size: 1rem !important;
}

.careers__filter [data-sf-field-input-type=checkbox] h4 {
    cursor: pointer;
}

.sf-label-checkbox {
    margin: 5px 0;
}

/*[data-sf-field-input-type=checkbox] ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.careers__filter [data-sf-field-input-type=checkbox] h4::after {
    content: attr(data-numChecked);
    float: right;
    margin-right: 5px;
}

.careers__filter [data-sf-field-input-type=checkbox] h4.collapsed::before {
    content: '+';
    background-color: #F7715E;
    float: right;
    width: 25px;
    height: 25px;
    border-radius: 12.5px;
    text-align: center;
}

.careers__filter [data-sf-field-input-type=checkbox] h4.active::before {
    content: '-';
    background-color: #F7715E;
    float: right;
    width: 25px;
    height: 25px;
    border-radius: 12.5px;
    text-align: center;
}*/

.careers__filter input::placeholder {
    color: white;
}

li[data-sf-field-input-type=checkbox] {
    border-bottom: 1px solid #F7715E;
}

li.sf-field-submit {
    padding-bottom: 30px !important;
    border-bottom: 1px solid #F7715E;
}

li.sf-field-search label {
    width: 100%;
}

li.sf-field-search input {
    background-color: #F7715E;
    border: 0;
    color: white;
}

.searchandfilter li[data-sf-field-input-type=checkbox] label {
    padding-left: 30px;
}

.addon__link--white {
    color: #fff;
    text-align: center;
}

.social__link--white {
    border: 1px solid white;
    transition: all 300ms;
}

.social__link--white:hover {
    background-color: white;
    color: #E14630;
}

/* CHECKBOX STYLING */

/* Base for label styling */
.careers__filter [type="checkbox"]:not(:checked),
.careers__filter [type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}
.careers__filter [type="checkbox"]:not(:checked) + label,
.careers__filter [type="checkbox"]:checked + label {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
}

/* checkbox aspect */
.careers__filter [type="checkbox"]:not(:checked) + label:before,
.careers__filter [type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left:0; top: 2px;
  width: 12px; height: 12px;
  border: 2px solid white;
  border-radius: 3px;
}
/* checked mark aspect */
.careers__filter [type="checkbox"]:not(:checked) + label:after,
.careers__filter [type="checkbox"]:checked + label:after,
.careers__filter [type="checkbox"]:hover + label:after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 3px;
  position: absolute;
  top: 2px; left: 0;
  font-size: 14px;
  color: #09ad7e;
  transition: all .2s;
}
/* checked mark aspect changes */
.careers__filter [type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transition: 300ms;
}
.careers__filter [type="checkbox"]:checked + label:after {
  opacity: 1;
  transition: 300ms;
  background: white;
}
/* disabled checkbox */
.careers__filter [type="checkbox"]:disabled:not(:checked) + label:before,
.careers__filter [type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
}

/* Social Media */

.careers__social {
    text-align: center;
    background-color: #E14630;
    padding: 40px 0;
}


.careers__filter .careers__social a {
    color: white;
}

/* Results */
#showing-results {
    padding-bottom: 10px;
}

.listing__ID {
    font-weight: bold;
}

.careers__numResults {
    padding-bottom: 20px;
}

.careers__results {
    width: 100%;
    float: right;
}

.careers__results p {
    color: #3B414B;
    margin: 0;
    font-size: 1rem;
}

.careers__results h2 {
    margin: 20px 0 !important;
}

.careers__listings {
    border-top: 4px solid #DCD9D9;
}

.careers__listing {
    border-bottom: 4px solid #DCD9D9;
    padding: 20px 0;
}

.listing__title a {
    color: #727E90;
    font-size: 2rem;
    font-weight: normal;
}

/*********************** Single Job ****************************/

.single-job #main {
    padding: 0;
}

.single-job #main .fusion-row {
    margin: 0;
}

.container--job {
    width: 100vw;
}

.job {
    max-width: 1200px;
    margin: 0 auto; 
}

.job__id {
    font-weight: bold;
    margin: 50px 0 10px 0;
}

h1.job__title {
    font-weight: normal;
    color: #727E90;
    font-size: 2.2rem;
    margin: 0;
    margin-bottom: 20px;
}

.job__categories {
  margin-bottom: 36px;
  font-size: 18px;
}

.job__categories p {
  color: #3A414C;
  margin: 0;
  line-height: 27px;
}


/* Override some styles from iCIMS */
.job__information > * {
  width: auto !important;
  max-width: 100% !important;
  margin-bottom: 20px;
}

.job__information table {
  max-width: 100% !important;
  width: 100% !important;
}

.job__information p {
  font-size: 1rem;
  line-height: 1.6rem;
}

span[style="font-family: Wingdings;"], span[style="font-size: 11.0pt; font-family: Wingdings;"] {
    display: none !important;
}

/* End iCIMS overwrite */

.job__header-text p {
    margin: 40px 0;
    font-size: 1.2rem;
}

.job__header a.apply-button {
    display: inline-block;
    margin-bottom: 20px;
}

.job__information {
    width: 100%;
    float: left;
    border-top: 4px solid #DCD9D9;
    float: left;
    font-family: 'Open Sans';
}

.job__footer {
    background-color: #EEEEEE;
    padding: 40px;
    margin: 30px 0;
}

.job__apply {
    padding: 20px 0;
}

.job__related {
    margin-bottom: 40px;
}

.related__title {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 20px 0;
}

a.apply-button {
    color: white;
    background-color: #f0563a;
    padding: 5px 10px;
    border-radius: 2px;
    transition: all .3s;
}

a.apply-button:hover {
    background-color: #d63625;
}

a.grey-button {
    display: inline-block;
    margin: 5px;
    text-transform: uppercase;
    color: black;
    font-weight: bold;
    background-color: #EEEEEE;
    padding: 4px 9px;
    border-radius: 5px;
    border: 1px solid #EEEEEE;
}

a.grey-button:hover {
    background-color: white;
}

.job__sidebar {
    width: 100%;
    float: right;
    padding-bottom: 40px;
}

.job__social a {
    color: black;
}

.job__social a:hover {
    color: #f0563a;
    transition: 0ms;
}

.job__social a:hover .social__link {
    border: 1px solid #f0563a;
    transition: 0ms;
}

.social__share {
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    display: inline-block;
    font-weight: bold;
}

@media screen and (min-width: 960px) {

    /* Careers Search Page */

    .careers__filter {
        width: 33%;
    }

    .careers__filter form {
        padding: 40px;
    }

    .careers__results {
        width: 65%;
        padding: 40px;
    }

    /* Single Job */

    .job__header-content {
        width: 60%;
    }

    .job__id {
        margin: 100px 0 10px 0;
    }

    .job__information {
        width: 60%;
    }

    .job__sidebar {
        width: 38%;
        padding: 0 0 0 40px;
        position: relative;
        top: -28px;
    }

    .job__header .apply-button {
        float: right;
        margin-top: 52px;
    }

    .job__categories {
        display: inline-block;
    }
}
