/*
 * Acquisitions page CSS — extracted from the legacy acquisitions.php inline
 * <style> (handshake hero, company-grid, process timeline, Gravity form, FAQ).
 */
/*
---------- OVERRIDER STYLES ----------
*/
ul:not(.ul--no-bullet):not(.orbit-container):not(.gform_fields):not(.gfield_radio) li::before {
    /* Overriding global square bullets */
    border-radius: 9999px;
}
.page--full-width .page__container {
    padding: 0;
}
.grid-container {
    padding: 0 !important;
}
.page__top-content {
    background-color: #FFF;
    margin: 0;
}
.row--thin {
    max-width: 100% !important;
}
.page__top-content p {
    max-width: 100%;
}
.block--video {
    display: none;
}
@media screen and (max-width:650px){
.grid-padding-x > .cell {
    padding: 0!important;
}
.page__top-content.row--thin {
    margin: 0!important;
}
}
/*
---------- GLOBAL STYLES ----------
*/



h1, h2, h3, h4 {
    font-family: "Directors Gothic Bold", "Barlow Semi Condensed", sans-serif;
}
h1 {
    display: none;
}
h2 {
    font-style: normal;    
}
h2, p.section-introduction {
    text-align: center;
}
section h2:first-child {
    margin-top: 3rem;
}
h3 {
    font-style: normal;
    text-transform: uppercase;
}
p {
    line-height: 130%;
    margin-bottom: 0;
}
p.section-introduction {
    max-width: 70%;
    margin: 0 auto;
}
ol, ul, dl {
    color: #000;
}
ul:not(.ul--no-bullet):not(.orbit-container):not(.gform_fields):not(.gfield_radio) li {
  margin-bottom: .75rem;
  line-height: 1.35;
}
ul:not(.ul--no-bullet):not(.orbit-container):not(.gform_fields):not(.gfield_radio) li:before {
  width: 6px;
  height: 6px;
  top: 8px;
  left: -18px;
}
img {
    display: block;
}
.btn--primary,
.btn--primary:hover,
.btn--primary:focus {
    cursor: pointer;
    color: #FFF;
    background-color: #D22730;
    padding: .75rem 3.25rem;
    text-decoration: none;
    font-weight: normal;
}
/*
---------- HERO SPACE ------------
*/
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(/wp-content/uploads/2016/07/banner-handshake.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 1rem 0 9rem 0;
    clip-path: url(#heroCurve);
    min-height: 150px; /* Overrider */
}
.hero h1 {
    color: #FFF;
    display: block;
    font-size: 3rem !important;
    font-style: normal;
    margin-top: 3.5rem;
    padding: 0 5%;
    text-transform: uppercase !important;
}
.hero .btn--primary {
    display: inline-block;
    margin-top: 2rem;
}
@media screen and (max-width:650px){
    .hero {
        padding: 0 0 5rem 0;
    }
    .hero br {
        display: none;
    }
    .hero h1 {
        margin-top: 1.5rem;
    }
}
/*
---------- MAIN CONTENT IMAGES + TEXT ------------
*/
.main h2 {
    margin-top: 3rem;
}
.main .image-and-text {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-auto-rows: 1fr;
    margin: 3rem auto 0 auto;
    padding: 0 3rem;
    width: 80%;
    max-width: 1300px;
}
.main .image-and-text img {
    max-width: 90%;
    height: auto;
    object-fit: cover;
}
.main .image-and-text ol {
    max-width: 50%;
}
.main .image-and-text p {
    display: none;
    /* Due to WP WYSIWYG editor adding 



<p>'s*/
}
/* Makes every even number figure container reversed */
.main .image-and-text:nth-of-type(odd) img {
    order: 2;
    padding-left: 3rem;
}
@media only screen and (max-width: 768px) {
    .main .image-and-text {
        display: block;
    }
    .main .image-and-text:nth-of-type(odd) img {
        order: 0;
        padding-left: 0;
    }
    .main .image-and-text img {
        margin: 0 auto 2rem auto;
    }
}
@media screen and (max-width:650px){
    .main .image-and-text {
        width: 100%;
    }
    .main .image-and-text {
        grid-auto-rows: auto;
    }
}
/*
--------------- COMPANY GRID ---------------
*/
.company-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 3rem;
    margin: 3rem auto 0 auto;
    width: 90%;
}
.company-grid__item {
    margin-bottom: 2rem;
}
.company-grid__item:not(:last-child) {
    margin-right: .75rem;
}
.company-grid__item .image-container {
    border: 2px solid #F1F1F1;
    padding: 0 .5rem;
    width: 170px;
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.company-grid__item .image-container img {
    max-width: 140px;
}
.company-grid__item .image-container img.duppy {
    max-width: 120px;
}
.company-grid__item p {
    text-align: center;
    margin-top: .5rem;
}
@media screen and (min-width:650px){
    .company-grid__item p {
        font-size: 1.1rem;
    }
}
@media screen and (max-width:650px){
    .company-grid__item .image-container { 
        width: 140px;
        height: 140px;
    }
    .company-grid__item .image-container img {
        max-width: 95%;
    }
    .company-grid__item .image-container img.duppy {
        max-width: 85%;
    }
}
@media screen and (max-width:500px){
    .company-grid__item {
        max-width: 110px;
    }
    .company-grid__item .image-container { 
        width: 110px;
        height: 110px;
        margin: 0 auto;
    }
}
/*
------------ TIMELINE -------------
*/
.timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, minmax(160px,auto));
    grid-auto-flow: column;
    margin-top: 3rem;
}
.timeline__intro__wrapper {
    background-color: #e82c2a;
    padding: 1.25rem 3rem;
    margin-bottom: 3rem;
}
.timeline__intro h3, 
.timeline__intro p {
    color: #FFF;
}
.timeline h3 span {
    color: #000;
    display: block;
    font-size: 80%;
}
.timeline__entry {
    border-left: 6px solid #91191D;
    padding: 0 2rem 0 3rem;
    margin-left: 2rem;
    position: relative;
    padding-bottom: 1.5rem;
}
.timeline__entry::before {
    content: "";
    display: block;
    background-color: #e82c2a;
    border: 2px solid #FFF;
    border-radius: 50%;
    height: 15px;
    width: 15px;
    position: absolute;
    left: -.65rem;
    top: -.2rem;
}
.timeline__entry:last-child {
    border-left: none;
}
.timeline__entry:last-child::before {
    left: -.275rem;
}
.timeline__entry h3 {
    margin-top: -.45rem;
}
.timeline__image-scroll {
    width: 85%;
    margin: 2rem auto 0 auto;
    overflow-x: scroll;
}
@media only screen and (max-width: 768px) {
    .timeline {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, minmax(auto,auto));
        grid-auto-flow: row;
    }
    .timeline__entry {
        padding-bottom: 2rem;
    }
}
@media only screen and (max-width: 650px) {
    .timeline__image {
        width: 750px;
        max-width: none;
        margin: 0;
    }  
}
/* 
----------- FORM CSS -----------
*/
.form {
    background-color: #F1F1F1;
}
.form h2 {
    padding: 3rem 0 2rem 0;
}
.form .contacts {
    display: flex;
    max-width: 70%;
    margin: 0 auto;
    padding: 2rem 0;
}
.form .contacts .email b {
    display: none;
}
.form .gform_body [type="text"],
.form .gform_body [type="number"],
.form .gform_body [type="email"],
.form .gform_body [type="tel"] {
    background-color: #DBDCDE;
    border: none;
    border-radius: 0px !important;
    padding: 7px 8px !important;
}
.form .gform_body [type="text"]::placeholder,
.form .gform_body [type="number"]::placeholder,
.form .gform_body [type="email"]::placeholder,
.form .gform_body [type="tel"]::placeholder {
    color: #000;
    text-transform: uppercase;
}
.form .gform_body [type="number"]::-webkit-outer-spin-button,
.form .gform_body [type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.form .gform_body [type="number"] {
  -moz-appearance: textfield;
}
.form .gform_title {
    display: none;
}
.form .gform_footer {
    flex-direction: column;
}
.form .gform_wrapper {
    width: 90%;
    margin: 0 auto !important;
}
.form .gform_wrapper .top_label .gfield_label {
    color: #000;
    display: inline-block!important;
}
.form .gform_wrapper.gravity-theme .gfield_required {
    display: none;
}
.form .gform_wrapper.gravity-theme .gform_fields {
    grid-column-gap: 1%;
    grid-row-gap: 11px;
}
.form h3.gsection_title {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 0;
    padding: 0;
}
.form .gform_wrapper.gravity-theme .end-market-section {
    background-color: #DBDCDE;
    border-bottom: 0;
    padding: .65rem;
}
.form .gform_wrapper .end-market-field-group {
    background-color: #DBDCDE;
    padding: 1rem 0 1rem .9rem;
    margin-top: -1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.form .gform_wrapper .end-market-field-group.firt {
    padding-left: .65rem;
}
.form .gform_wrapper .end-market-field-group.last {
    padding-right: .65rem;
}
.form .gform_wrapper .end-market-field-group label {
    font-weight: normal;
    text-transform: uppercase;
}
.form .gform_wrapper .end-market-field-group input {
    background-color: #FFF;
}
.form .gform_wrapper.gravity-theme .gform_footer.before::before {
    display: none;
}
.form .gform_wrapper.gravity-theme .gform_validation_errors {
    background: none;
    border: none;
    box-shadow: none;
}
.form .gform_wrapper.gravity-theme .gform_validation_errors h2 {
   font-size: 18px; 
}
.form .gform_wrapper.gravity-theme .gfield_validation_message, 
.form .gform_wrapper.gravity-theme .validation_message {
    background: none;
    border: none;
    padding: 8px 0;
}
.form .gform_confirmation_message {
    text-align: center;
    font-weight: bold;
    color: #000;
}
.form input[type="submit"],
.form button[type="button"] {
    cursor: pointer;
    align-self: center !important;
    background-color: #D22730;
    padding: .65rem 4.25rem;
    font-style: normal;
    font-weight: normal;
    text-transform: none;
    font-size: 16px;
    border: none;
    margin-top: 2.5rem;
}
@media screen and (min-width: 650px) {
    .form .gform_wrapper .end-market-field-group {
        margin-left: -1rem;
        padding-right: 1rem;
    }
    .form .gform_wrapper .end-market-field-group.first {
        margin-left: 0;
    }
}
@media screen and (max-width: 650px) {
    .form .gform_wrapper .end-market-field-group,
    .form .gform_wrapper .end-market-field-group.last {
        padding-right: 1rem;
    }
    .form .contacts {
        flex-direction: column;
    }
    .form .contacts p.section-introduction:not(:last-child) {
        margin-bottom: 1.5rem;
    }
}
/* 
----------- FAQ CSS -----------
*/
.accordion {
    width: 90%;
    margin: 1.5rem auto 3rem auto;
}
.accordion dt {
    background-color: #F1F1F1;
    color: #e82c2a;
    font-weight: normal;
    padding: 1rem 3rem 1rem 1.25rem;
    position: relative;
}
.accordion dt::after {
    content: "";
    display: block;
    background: url(/wp-content/uploads/2016/07/caret.svg) no-repeat;
    position: absolute;
    width: 14px;
    height: 14px;
    right: 1.5rem;
    top: 36%;
    transform: rotate(-90deg);
}
.accordion dt h5 {
    color: #d22630;
    margin-bottom: 0;
    line-height: 1;
    font-weight: 500;
    padding-right: 2rem;
}
.accordion dd {
    display: none;
    max-height: 0;
    padding: .65rem 6rem 1rem .65rem;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion dt.active, 
.accordion dt:hover {
  background-color: #DBDCDE;
}
.accordion dt.active + dd {
    display: block;
    max-height: 100%;
}
.accordion dt.active::after {
    transform: rotate(0deg);
    top: 43%;
}
@media screen and (max-width: 650px) {
    .accordion dd {
        padding: .65rem 1rem;
    }
}
