/*

    CCS Consolidated Collision Services stylesheet

    CCS brand colours:

    red         #ED1C24, rgba(237, 28, 36, 1);
    bright red  #FF1E29, rgba(255, 30, 41, 1);
    blue        #0C4C91, rgba(12, 76, 145, 1);
    bright blue #1169C1, rgba(17, 105, 193, 1);

*/

/* common styles */
* { margin: 0; padding: 0; border: 0; box-sizing: border-box; font-family: sans-serif; }
a { text-decoration: none; color: #0C4C91; }
a:hover { color: #1169C1; }
img { width: 100%; display: block; }
h1 { margin-bottom: 1em; }
h3 { margin-bottom: 0.5em; }
form { display: inline; margin: 0; padding: 0; }
button, input[type=button], input[type=submit], input[type=reset], label { cursor: pointer; }

br.soft-break-1800, br.soft-break-1700, br.soft-break-1600, br.soft-break-1500, br.soft-break-1400, br.soft-break-1300, 
    br.soft-break-1200, br.soft-break-1100, br.soft-break-1000, br.soft-break-900, br.soft-break-800, br.soft-break-700, 
    br.soft-break-600, br.soft-break-500, br.soft-break-450, br.soft-break-400 { display: none; }
@media screen and (max-width: 1800px) { br.soft-break-1800 { display: inline; } }
@media screen and (max-width: 1700px) { br.soft-break-1700 { display: inline; } }
@media screen and (max-width: 1600px) { br.soft-break-1600 { display: inline; } }
@media screen and (max-width: 1500px) { br.soft-break-1500 { display: inline; } }
@media screen and (max-width: 1400px) { br.soft-break-1400 { display: inline; } }
@media screen and (max-width: 1300px) { br.soft-break-1300 { display: inline; } }
@media screen and (max-width: 1200px) { br.soft-break-1200 { display: inline; } }
@media screen and (max-width: 1100px) { br.soft-break-1100 { display: inline; } }
@media screen and (max-width: 1000px) { br.soft-break-1000 { display: inline; } }
@media screen and (max-width: 900px)  { br.soft-break-900  { display: inline; } }
@media screen and (max-width: 800px)  { br.soft-break-800  { display: inline; } }
@media screen and (max-width: 700px)  { br.soft-break-700  { display: inline; } }
@media screen and (max-width: 600px)  { br.soft-break-600  { display: inline; } }
@media screen and (max-width: 500px)  { br.soft-break-500  { display: inline; } }
@media screen and (max-width: 450px)  { br.soft-break-450  { display: inline; } }
@media screen and (max-width: 400px)  { br.soft-break-400  { display: inline; } }

/* home */
div.action-block { position: relative; display: inline-block; width: 33.33333%; text-align: center; overflow: hidden; }
div.action-block-text { position: absolute; bottom: 0; width: 100%; }
div.action-block-text a { display: inline-block; width: 100%; color: #ffffff; background-color: rgba(0, 0, 0, 0.7); font-size: 2em; font-weight: bold; padding: 0.5em; transition: all 0.5s ease; }
div.action-block-image { position: relative; height: 25em; }
img.action-block-img { height: 100%; object-fit: cover; transition: all 0.5s ease; }

div.action-block:hover img.action-block-img { transform: scale(1.1); overflow: hidden; }
div.action-block:hover div.action-block-text a { background-color: rgba(1, 59, 166, 0.8); }

@media screen and (max-width: 850px) {
    div.action-block { width: 100%; }
}

div.highlights { background-color: #E3E3E3; padding: 5em 0; text-align: center; }
body.fr-ca div.highlights-item { display: inline-block; width: 17%; padding: 1em 1em; vertical-align: top; }
body.en-ca div.highlights-item { display: inline-block; width: 15%; padding: 1em 1em; vertical-align: top; }

@media screen and (max-width: 1600px) {
    body.fr-ca div.highlights-item { width: 45% !important; }
    body.en-ca div.highlights-item { width: 30%; }
}

@media screen and (max-width: 850px) {
    body.fr-ca div.highlights-item { width: 80% !important; }
    body.en-ca div.highlights-item { width: 45%; }
}

@media screen and (max-width: 500px) {
    body.en-ca div.highlights-item { width: 80%; }
}

div.testimonials {
    color: #ffffff;
    background: linear-gradient(to right, rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('/img/testimonials-bg.jpg') no-repeat;
    background-size: cover;
    padding: 3em 0;
    text-align: center;
}
div.testimonials h1 { padding: 0; margin: 0; }
div.testimonials p { padding: 0 0 2em; }
div.testimonial-bubble { position: relative; text-align: left; color: #000000; background-color: #ffffff; border-radius: 1em; width: 28%; min-height: 20em; padding: 3em; margin: 1em 2em; display: inline-block; }
div.testimonial-bubble span.sq, div.testimonial-bubble span.eq { position: absolute; font-size: 8em; opacity: 0.1; }
div.testimonial-bubble span.sq { top: -0.1em; left: 0.1em; }
div.testimonial-bubble span.eq { bottom: 0.3em; right: 0.1em; }
div.testimonial-bubble p.testimonial-text { text-align: left; }
div.testimonial-bubble span.testimonial-by { display: inline-block; width: 100%; text-align: center; font-weight: bold; }
div.testimonial-bubble span.testimonial-shop { display: inline-block; width: 100%; text-align: center; }

@media screen and (max-width: 1500px) {
    div.testimonial-bubble { width: 40%; }
    div.testimonial-bubble-3 { display: none; }
}

@media screen and (max-width: 850px) {
    div.testimonial-bubble { width: 80%; }
    div.testimonial-bubble-2 { display: none; }
}


/* accident assistance */
div.accident-assistance { text-align: left; padding: 5em 20%; }
div.accident-assistance h1 { margin-bottom: 1em; }
div.accident-assistance h2, div.accident-assistance p { margin-bottom: 1em; }
div.accident-assistance ul { padding: 0 0 0.5em 3em; }

/* COVID-19 */
.covid-19 { font-size: 1.2em; }

.covid-19 table { margin: 0; padding: 0; border: 0; border-collapse: collapse; }
.covid-19 table th, .covid-19 table td { margin: 0; padding: 0; border: 0; vertical-align: middle; }

.covid-19 img { display: inline-block; max-width: unset; }

.covid-19 p.bold { font-size: 1.25em; font-weight: bold; text-align: center; }

.covid-19 div.header { padding: 1em 0; color: #ffffff; background-color: #0C4C91; font-size: 2.5em; font-weight: bold; text-align: center; }
.covid-19 div.content { width: 80vw; max-width: 1200px; margin: auto; }
.covid-19 div.intro, .covid-19 div.outro { padding: 2em 0; }

.covid-19 table.open-table { margin: 2em 0; }
.covid-19 table.open-table td { vertical-align: middle; }
.covid-19 table.open-table p { padding-bottom: 1em; }
.covid-19 table.open-table p:last-of-type { padding-bottom: 0; }
.covid-19 img.open-sign { padding-right: 2em; width: 100vw; max-height: 12em; max-width: 12em; }

.covid-19 table.steps-table tr:nth-of-type(2n+1) { background-color: #e0e0e0; }
.covid-19 table.steps-table tr:nth-of-type(2n+1) td.step-num { color: #ffffff; }
.covid-19 td.step-num { color: #e0e0e0; font-size: 6em; font-weight: bold; font-style: italic; padding: 0.1em 0.3em 0.1em 0.2em; }
.covid-19 td.step-text { padding: 2em 0; }
.covid-19 p.step-name { color: #ff0000; font-weight: bold; padding-bottom: 1em; }
.covid-19 td.step-image { padding: 2em }
.covid-19 img.step-img { width: 100vw; max-width: 8em; max-height: 8em; }

/* footer */
.tagline-banner { color: #ffffff; background-color: #0C4C91; font-size: 2em; font-weight: bold; width: 100%; text-align: center; padding: 1.4em 1em; }
.tagline-banner br { display: none; }

@media screen and (max-width: 1000px) {
    .tagline-banner br.tagline-banner-med { display: inline; }
}

@media screen and (max-width: 600px) {
    .tagline-banner br.tagline-banner-med { display: none; }
    .tagline-banner br.tagline-banner-thin { display: inline; }
}

footer { padding: 3em 5%; width: 100%; text-align: center; margin: auto; }
footer * { vertical-align: top; }
footer a { color: #0C4C91; text-decoration: none; transition: all 0.5s ease; }
footer a:hover { color: #1169C1; }

footer div.footer-section { display: inline-block; width: 33%; text-align: center; margin-bottom: 3em; }
footer div.footer-section-inner { display: inline-block; }
footer div.footer-section-header { font-size: 2em; font-weight: bold; padding-bottom: 0.5em; text-align: center; }

@media screen and (max-width: 1000px) {
    footer div.footer-section { width: 49%; }
}

@media screen and (max-width: 650px) {
    footer div.footer-section { width: 100%; }
}

footer div.footer-towing-section { text-align: center; }
footer div.towing-header { font-size: 1.3em; font-weight: bold; white-space: nowrap; }
footer div.towing-number { font-size: 2em; font-weight: bold; }
footer div.towing-number a { color: #000000; }
footer img.logo { max-width: 75%; margin: auto; }

footer div.footer-nav-section { text-align: center; white-space: nowrap; }
footer ul.footer-nav-items { list-style: none; display: inline-block; }
footer li.footer-nav-item { text-align: left; }
footer div.footer-nav-section a { font-weight: bold; }

footer div.footer-contact-section { text-align: left; white-space: nowrap; }
footer div.contact-type, footer div.contact-info { vertical-align: top; display: inline-block; }
footer div.contact-type { min-width: 2em; }
footer div.contact-info { padding-bottom: 1em; }

footer ul.social-links { list-style: none; }
footer ul.social-links li { display: inline-block; font-size: 1.5em; margin-left: 1em; }
footer ul.social-links li:first-of-type { margin-left: 0; }
footer ul.social-links li a.social-links-icon { color: #808080; transition: all 0.5s ease; }
footer ul.social-links li a.social-links-icon-facebook:hover  { color: #3b5998; }
footer ul.social-links li a.social-links-icon-instagram:hover { color: #125688; }
footer ul.social-links li a.social-links-icon-linkedin:hover  { color: #007bb5; }
footer ul.social-links li a.social-links-icon-twitter:hover   { color: #55acee; }
footer ul.social-links li a.social-links-icon-youtube:hover   { color: #bb0000; }

footer div.copyright { margin: 0 1em; color: #999999; text-align: center; white-space: nowrap; }
footer div.copyright a { color: #999999; margin-left: 1em; }

@media screen and (max-width: 1000px) {
    footer div.copyright a:first-of-type { margin-left: 0; }
}

@media screen and (max-width: 450px) {
    footer div.copyright a { margin: 0; }
}
