/* Styles for Quezzio page

   developer:   marionm
   requires:    framework.css.en
   ========================================================================== */

/* ==========================================================================
   shared styles
   ========================================================================== */

body { font-family: 'Source Sans Pro', Arial, sans-serif; }

#quezzio h2 {
    color: #f47438;
    font-size: 2.19rem;
    margin-bottom: 1.5rem;
}

#quezzio h3 {
    color: #1d3c69;
    font-size: 1.38rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .81rem;
}

#quezzio h4 {
    color: #222;
    font-size: 1.13rem;
    font-weight: 600;
    margin-bottom: .4rem;
}

#quezzio h5 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: .4rem;
}

#quezzio p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

#quezzio a { color: #3d5fad; }

#quezzio a:hover { color: #f47438; }

#quezzio hr {
    border: none;
    border-bottom: 1px solid #ddd;
    margin: 3.13rem auto;
    max-width: calc(1200px - 2rem);
    padding: 0;
}

#quezzio section { margin: 2rem 0; }

#quezzio .page-width {
    margin: 0 auto;
    max-width: 1200px;
}

#quezzio .page-padding { padding: 3.125rem 0; }

#quezzio .border { border-bottom: 1px solid #ddd; }

#quezzio .contact-btn {
    background: #fff;
    border-radius: 5px;
    border: none;
    color: #18376e;
    font-size: 1rem;
    padding: .5rem .75rem;
}

#quezzio .contact-btn:hover {
    background: #f47438;
    color: #fff;
}

#quezzio .big-p {
    color: #404040;
    font-size: 1.25rem;
    line-height: 1.5;
}

#quezzio .gridde p {
    color: #404040;
}

/* ==========================================================================
   hero
   ========================================================================== */

#hero { background: #3160b3; }

#hero .breadcrumb a {
    background: #354b83;
    color: #c4d1f1;
    display: inline-block;
    font-size: .95rem;
    padding: .875rem 2rem;
}

#hero .breadcrumb a:after { color: #c4d1f1; }

#hero .breadcrumb a:hover {
    background: #f47438;
    color: #fff;
}

#hero-flex {
    display: flex;
    flex: 1 1 50%;
    padding: .5rem 0 3.75rem 0;
}

/* title
   ========================================================================== */

#hero .title {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

#hero .title h1 {
    line-height: .85;
    margin: 2rem 0 2rem;
}

#hero .title h1 > span {
    display: block !important;
    position: relative;
}

#hero .title h1 > span span {
    bottom: -21%;
    color: #b0c1e6;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 400;
    left: 4.5rem;
    position: absolute;
}

#hero .title h1 > span {
    color: #fff;
    display: inline-block;
    font-size: 6.23rem;
    font-weight: 600;
    text-transform: unset;
}

#hero .title h1 span.pole {
    font-weight: 300;
    opacity: .7;
    padding: 0px 3px;
}

#hero .title h2 {
    color: #fff;
    font-size: 1.56rem;
    margin-bottom: 1.8rem;
}

/* carousel
   ========================================================================== */

/* customizations */

.carousel {
    background: #f1f1f9;
    padding: 2rem;
}

.cd-hero {
    max-width: 100%;
    position: relative;
}

#intro .carousel img {
    border: 1px solid #ddd;
    box-sizing: content-box;
}

#intro .carousel h3 { margin: 1rem 0 0 0; }

#intro .carousel p {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 450px;
    text-align: center;
}

/* defaults, more or less */

.cd-hero__slider {
    height: calc(400px + 4rem);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.cd-hero__slide {
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0px);
    transform: translateZ(0px);
    will-change: transform;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cd-hero__slide.cd-hero__slide--selected {
    /* this is the visible slide */
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.cd-hero__slide.cd-hero__slide--move-left {
    /* slide hidden on the left */
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}

.cd-hero__slide.cd-hero__slide--is-moving, .cd-hero__slide.cd-hero__slide--selected {
    /* the cd-hero__slide--is-moving class is assigned to the slide which is moving outside the viewport */
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}

html:not(.js-enabled) .cd-hero__slide { display: none; }

html:not(.js-enabled) .cd-hero__slide.cd-hero__slide--selected { display: block; }

/* hero slider nav */

.cd-hero__nav {
    background: #f1f1f9;
    height: 1.125rem;
    width: 100%;
    z-index: 2;
}

.cd-hero__nav nav,
.cd-hero__nav ul,
.cd-hero__nav li,
.cd-hero__nav a { height: 100%; }

.cd-hero__nav nav {
    display: block;
    margin: 0 auto;
    position: relative;
}

.cd-hero__nav ul.outer-ul {
    align-items: stretch;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.cd-hero__nav li {
    line-height: 1.125rem;
    padding-bottom: 0;
}

.cd-hero__nav ul.outer-ul li.scroll {
    overflow-x: hidden;
    width: 100%;
}

.cd-hero__nav ul.inner-ul {
    align-items: stretch;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: hidden;
    /*overflow-x: hidden;*/
}

.cd-hero__nav ul.inner-ul > li { flex: 0 0 auto; }

.cd-hero__nav .dot {
    background: transparent;
    border-radius: 100%;
    border: 2px solid #a6a6a6;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    margin: 0 4px;
    width: 12px;
}

.cd-hero__nav li.cd-selected .dot { background: #a6a6a6; }

.cd-hero__nav .dot:hover { border-color: #eb661e; }

.cd-hero__nav li.cd-selected .dot:hover { background: #eb661e; }

.cd-hero__nav ul.outer-ul li.arrow {
    cursor: pointer;
    display: inline-block;
    height: 100%;
    text-align: right;
    width: calc(1.875rem);
}

.cd-hero__nav ul.outer-ul li.arrow svg {
    height: 1.5625rem;
    margin: 0.25rem 0;
    width: 0.875rem;
}

.cd-hero__nav ul.outer-ul li.arrow:hover polygon { fill: #c0c0c0; }

.cd-hero__nav ul.outer-ul li.arrow-left { transform: scaleX(-1); }

.cd-hero__nav ul.outer-ul li.arrow-right {  }

/* ==========================================================================
   why
   ========================================================================== */

#why .gridde {
    display: grid;
    gap: 2.5rem 5rem;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2.5rem;
}

#why .gridde > div {
    display: grid;
    grid-gap: .875rem;
    grid-template-columns: 60px 1fr;
}

#why .gridde p { margin-bottom: 0; }

#why .view-wrapper:hover .topics-grid { background: #f0faff; }

#why .clickable-box {
    background: #f1f1f9;
    border: 1px solid #ddd;
    padding: 1rem;
}

#why .clickable-box h4 {
    cursor: pointer;
    position: relative;
}

#why .clickable-box h4 img {
    margin: 0 1rem 0 0;
    vertical-align: middle;
}

#why .clickable-box .arrow {
    position: absolute;
    right: 0;
    top: 1.4rem;
}

#why .hideable-box {
    background: #fff;
    margin-top: 1rem;
    padding: 2rem;
}

#why .box-grid {
    display: grid;
    gap: 1.5rem 5rem;
    grid-template-columns: 1fr 1fr;
    line-height: 1.5;
}

#why .box-grid ul { padding-left: .9rem; }

#why .box-grid li:before {
    color: #ff6a1c;
    content: '•';
    margin-left: -.9rem;
    position: absolute;
}

#why .hideable-box hr {
    margin: 1.5rem auto;
    max-width: 100%;
}

#why .hideable-box .view-all {
    color: #f47438;
    cursor: pointer;
}

#why .topics-grid {
    cursor: pointer;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 1rem;
    position: relative;
}

#why .topics-grid:before {
    background: url('../img/magnify.png');
    background-size: 25px 50px;
    bottom: 0;
    content: '';
    display: inline-block;
    height: 25px;
    left: 3rem;
    margin: auto;
    position: absolute;
    top: 0;
    width: 25px;
    z-index: 9;
}

#why .view-wrapper:hover .topics-grid:before { background-position: left bottom; }

#why .sample-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 1rem;
}

#why .topic-list h5 { margin-top: 2rem; }

#why .topic-list ul { padding-left: .9rem; }

#why .topic-list li { color: #787878; }

#why .topic-list li:before {
    color: #ff6a1c;
    content: '•';
    margin-left: -.9rem;
    position: absolute;
}

/* ==========================================================================
   real world success
   ========================================================================== */

#realworld h2 + h3 {
    font-size: 1.8rem;
    font-style: italic;
    margin-top: -1rem;
}

#realworld .solution-grid {
    display: grid;
    gap: 1.5rem 5rem;
    grid-template-columns: 1fr 1fr 1fr;
}

#realworld .solution-grid p { margin-bottom: 0; }

.quote.grid-container {
    color: #fff;
    display: grid;
    grid-template-columns: 458px 1fr;
    margin: 2.5rem auto;
    border: 1px solid #cccccc;
}

.quote.grid-container .left {
    max-width: 500px;
    display: grid;
    margin: auto auto;
}

.quote.grid-container .right {
    display: grid;
    background: #395b91;
    align-items: center;
    height: 300px;
}

.quote.grid-container .right ul li {
    display: block;
    list-style: none;
}

.quote.grid-container p {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.5rem;
    margin-left: calc(10px + (16 - 10) * ((100vw - 600px) / (1920 - 600)));
    margin-right: calc(-12px + (0 + 12) * ((100vw - 600px) / (1920 - 600)));
    padding-bottom: 0px;
    padding-left: calc(58px + (78 - 58) * ((100vw - 600px) / (1920 - 600)));
    padding-right: calc(24px + (38 - 24) * ((100vw - 600px) / (1920 - 600)));
}

.quote.grid-container p.the-quote-itself {
    background: url(../img/solution-quote.png) no-repeat;
    background-size: calc(44px + (70 - 44) * ((100vw - 600px) / (1920 - 600)));
    font-size: calc(15px + (20 - 15) * ((100vw - 600px) / (1920 - 600)));
    font-style: italic;
    padding-left: calc(56px + (85 - 56) * ((100vw - 600px) / (1920 - 600)));
    text-align: left;
}

.quote.grid-container p.attribution {
    font-size: calc(10.5px + (15 - 10.5) * ((100vw - 600px) / (1920 - 600)));
    margin-right: calc(0px + (9 - 0) * ((100vw - 600px) / (1920 - 600)));
    margin-top: calc(18px + (27 - 18) * ((100vw - 600px) / (1920 - 600)));
    padding-bottom: 0px;
    text-align: right;
}

/* ==========================================================================
   quote
   ========================================================================== */

#quote ._page-width {
    background: url('../img/quezzio-icon.svg') no-repeat 1rem center;
    background-size: 55px;
    border: solid #ccc;
    border-width: 1px 0;
    color: #3d5fad;
    font-size: 1.44rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    padding-left: 5.5rem;
    padding-top: 2rem;
}

#quote a {
    background: #3d5fad;
    border-radius: 0.25rem;
    color:  #fff;
    font-size: 1rem;
    font-style: normal;
    margin-left: 2rem;
    padding: 0.25rem 0.75rem;
}

#quote a:hover {
    background: #f47438;
    color: #fff;
}

/* ==========================================================================
   q&a
   ========================================================================== */

#qanda h4 {
    color: #222;
    font-size: 1rem;
}

#qanda p { color: #787878; }

#qanda .nav {
    display: flex;
    gap: 2rem;
}

#qanda .nav .item {
    border-right: 1px solid #ccc;
    cursor: pointer;
    padding-right: 2rem;
}

#qanda .nav .item:after {
    content: '➤';
    font-size: .5rem;
    margin-left: .25rem;
}

#qanda .nav .item:last-of-type {
    border-right: none;
    padding-right: 0;
}

#qanda .nav .item:hover,
#qanda .nav .item.selected-item { color: #f47438; }

#qanda .nav .item.selected-item:after { transform: rotate(90deg); }

#qanda .slides { margin-top: 1rem; }

#qanda .slides .slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3.75rem;
}

#qanda .slides .selected-slide { display: grid; }

/* ==========================================================================
   footer
   ========================================================================== */

#footer {
    background: #f47438;
    bottom: 0;
    color: #fff;
    font-size: 1.13rem;
    height: 3.13rem;
    position: fixed;
    width: 100%;
}

#footer > div {
    align-items: center;
    display: flex;
    height: 3.13rem;
    justify-content: center;
}

#footer .contact-btn {
    background: #fff;
    color: #f47438;
    font-size: .94rem;
    line-height: 1;
    margin-left: 1.25rem;
    padding: .38rem .81rem;
    white-space: nowrap;
}

#footer .contact-btn:hover {
    background: #ffeb9e;
    color: #f47438;
}

/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for large screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {
}

/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
    #hero-flex { flex-direction: column; }
    #hero-flex .title { justify-content: center; }
    #hero-flex .title div > *:not(h1) { display: none; }

    #realworld .solution-grid,
    .quote.grid-container { grid-template-columns: 1fr; }
}

/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    .cd-hero__slider { height: calc(350px + 4rem); }

    #why .gridde,
    #why .box-grid,
    #qanda .slides .slide { grid-template-columns: 1fr; }

    #qanda .slides .slide { gap: 0; }

    #footer { font-size: .9rem; }
}

/* styles for minimum supported screen width (320px)
   ========================================================================== */

@media all and (max-width: 320px) {
    .cd-hero__slider { height: calc(250px + 4rem); }
}

/* printer styles
   ========================================================================== */

@media print {
}