/*
Theme Name: Ark - Child
Theme URI: http://themeforest.net/user/freshface/portfolio
Description: Premium WordPress Theme
Author: FRESHFACE
Author URI: http://themeforest.net/user/freshface/portfolio
License: Go to the "license" folder
License URI: Go to the "license" folder
Text Domain: ark-child
Tags: white
Version: 1.0.0
Template: ark
*/


/* general styles override */

* {
    font-family: 'Lato', Arial, sans-serif;
}

html,
body.admin-bar header.ark-header:not(.header-fixed) nav.navbar {
    max-width: 3000px;
    margin: 0 auto !important;
    float: none !important;
}

sup,
h1 sup,
h2.blog-grid-title-lg sup {
    font-size: 60% !important;
    top: -.7em;
}

sub {
    font-size: 55%;
}

h4,
h5,
h1 {
    font-weight: 500;
}

h2,
h3,
h6 {
    font-weight: 400;
}

p,
li,
.ff-richtext li {
    font-size: 16px;
    line-height: 2.5rem;
    font-weight: 400;
    color: #232323;
}

p a,
li a {
    color: #007935;
    border-bottom: 1px solid #ffce00;
    padding-bottom: 3px;
    transition: 500ms all ease-in-out;
    font-weight: 400;
}

p a:hover,
li a:hover,
a,
a:hover,
a:active,
a:visited,
a:focus {
    text-decoration: none !important;
}

p a:hover,
li a:hover {
    color: #0b1c48;
}

h1>a,
h2>a,
h3>a,
h4>a,
h5>a,
h6>a {
    font-weight: inherit;
    color: #007935;
}

th,
.table thead tr th {
    font-weight: bold;
}

td,
.table thead tr td {
    font-weight: 400 !important;
}

.accordion-v1 .panel-group .panel+.panel {
    margin-top: 0;
}


/* free demo button on resellers page */

.ffb-id-2onenenc a span.btn-text,
.ffb-id-2onenenc a span.btn-text:hover {
    font-weight: 400 !important;
}

a span.btn-text,
a span.btn-text:hover {
    font-weight: 600 !important;
}

a:visited,
a:focus {
    text-decoration: none;
}


/*breadcrumb subtitle*/

.breadcrumbs-v5 .breadcrumbs-v5-subtitle {
    display: none;
}


/*Hide reseller free demo button */

@media screen and (max-width: 582px) {
    .ffb-id-2onenenc {
        display: none;
    }
}


/* Custom*/

a.opp-link {
    color: #ffce00;
    transition: 1s all ease;
}

a.opp-link:hover {
    color: #007935;
}


/* Ark theme overrides */


/*removing link underline on topbar */

.ark-topbar-wrapper a,
.ffb-id-ppiol06 a,
.theme-icons-wrap a,
.mega-menu-title a,
#menu-item-4847 a,
#menu-item-4846 a {
    border: none;
    letter-spacing: 1px;
    text-transform: none;
}

.theme-icons:before {
    vertical-align: middle;
}


/* on lightbox buttons, the text is blended with background */

.freshframework-lightbox-page a:active {
    color: white;
}


/*Testimonials */

.testimonials-v1 {
    max-width: 90%;
    margin: 0 auto;
}


/* custom styles */

.post-grabber {
    font-size: 20px;
    color: #0b1c48;
    margin-bottom: 15px;
}

.font-small {
    font-size: small;
}


/* Feature Slider Styles */

.activeBtn {
    font-weight: bold;
    border-bottom: 1px solid #15ea83 !important;
}

#feature-buttons a {
    transition: 1s all ease;
}

#feature-buttons a:hover {
    border-bottom: 1px solid #15ea83 !important;
}


/* Home Page Feature Tabs */

@media screen and (max-width: 1004px) {
    .tab-pane h3 {
        margin: 0 !important;
        font-size: 18px !important;
    }
}


/*Nav Menu */

#mega-menu-wrap-main-nav #mega-menu-main-nav>li.mega-menu-item>a.mega-menu-link {
    text-transform: none;
}


/*Mega Menu Styles */

.sub-nav-explanation {
    font-weight: 400;
    color: white;
    font-size: small;
}

.mega-block-title {
    text-decoration: underline !important;
}

#mega-menu-wrap-main-nav #mega-menu-main-nav li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
    padding: 5px;
}

#mega-menu-wrap-main-nav #mega-menu-main-nav li.mega-menu-item a.mega-menu-link:before {
    font-family: 'Lato', Arial, sans-serif;
}

.mega-menu-row {
    padding: 25px !important;
}

h1.mega-menu-title a:hover {
    color: rgba(255, 206, 0, 0.88);
}

#mega-menu-3875-0,
#mega-menu-3880-0 {
    padding-bottom: 0 !important;
}

#mega-menu-3875-1,
#mega-menu-3880-1 {
    padding-top: 0 !important;
}

h1.mega-menu-title {
    margin-bottom: 0;
}

.mega-menu-title a {
    font-size: .75em;
    color: #ffce00;
}

hr.mega-menu-divider {
    background: white;
    margin: 0;
    padding: 0;
    width: 75%;
    height: 2px;
}


/* Products */

#cloud-nav-button,
#manage-nav-button,
#capture-nav-button,
#route-nav-button,
#automate-nav-button {
    transition: all 0.4s ease;
}


/*make body show below the nav icons on the right */

.ffb-id-1p5qeune {
    z-index: 0;
}


/*sidebar nav text */

.promo-block-v11-small-title {
    font-weight: 600;
}


/*change background when element is in view matching nav button */

.in-view {
    background: #007935 !important;
}


/* other side menu styles*/

.promo-block-v11 .promo-block-v11-category .promo-block-v11-category-link {
    min-width: 90px;
    padding: 10px 0;
}

.page-id-408 .promo-block-v11 .promo-block-v11-category .promo-block-v11-category-item,
.page-id-1927 .promo-block-v11 .promo-block-v11-category .promo-block-v11-category-item,
.page-id-1706 .promo-block-v11 .promo-block-v11-category .promo-block-v11-category-item {
    padding: 0 3px;
    margin: 0 3px 6px -3px;
    min-width: 99px;
    display: block;
    line-height: 1em;
}

.promo-block-v11 .promo-block-v11-category .promo-block-v11-category-item {
    margin: 0 3px 6px 3px;
    display: inline-block;
    padding: 0 10px;
}

.promo-block-v11 .promo-block-v11-category .promo-block-v11-category-item a {
    border: none;
}


/*single product page sub menu */

.product-menu ul>li {
    cursor: pointer;
    min-width: 80px;
    padding: 0 10px !important;
}


/* search and filter plugin */

.searchandfilter ul {
    padding-left: 0;
}

.searchandfilter ul,
.searchandfilter li {
    max-width: 100%;
    display: block;
}


/* three boxes on features/product/solution pages */


/* adds symbols */

.dollar:before {
    content: '$';
}

.percent:after {
    content: '%';
}

.plus:after {
    content: '\002B';
}


/*inside boxes */

.counters-v3 {
    margin-bottom: 0;
    padding: 20px;
}


/* End three boxes styles */


/*lightbox pop up styles */

.mfp-iframe-holder .mfp-content {
    height: 90%;
}


/* End Lightbox Styles */


/* blog pagination number styles */

.paginations-v1-list>li>a:hover,
.paginations-v1-list>li>span:hover {
    color: #ffce00;
}


/* tech partners page */


/*Free Demo Button on Mega Menu */

li#mega-menu-item-5434 {
    background: #0b1c48 !important;
    height: 40px !important;
    transition: 0.5s background ease !important;
    border-radius: 50px !important;
}

#mega-menu-wrap-main-nav #mega-menu-main-nav li#mega-menu-item-5434 {
    margin-left: 20px;
}

li#mega-menu-item-5434:hover {
    background: #ffce00 !important;
}

li#mega-menu-item-5434>a.mega-menu-link {
    line-height: 40px !important;
    color: white !important;
    transition: 0.5s color ease !important;
}

li#mega-menu-item-5434>a.mega-menu-link:hover {
    color: #0b1c48 !important;
}

@media screen and (max-width: 991px) {
    .mega-sub-menu {
        display: none !important;
    }
    #mega-menu-wrap-main-nav #mega-menu-main-nav li a.mega-menu-link:hover {
        color: #007935;
    }
    #mega-menu-wrap-main-nav #mega-menu-main-nav li#mega-menu-item-5434 {
        max-width: 200px;
        margin: 20px auto;
    }
}


/*home 3 slider */

.carousel:not(.ff-slider) img,
.blog-classic>img,
.theme-image-popup-v1 img.img-responsive,
.blog-simple-2 img.img-responsive,
.blog-grid>img {
    max-height: 730px;
    height: auto;
}


/*Document Lifecycle wheel styles */

#wheelDiv {
    height: 450px;
    width: 450px;
    margin: auto;
}

#wheelDiv>svg {
    height: 100%;
    width: 100%;
}

@media (max-width: 600px) {
    #wheelDiv {
        height: 450px;
        width: 450px;
    }
}

@media (max-width: 400px) {
    #wheelDiv {
        height: 300px;
        width: 300px;
    }
}

.desc-container div {
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
}

.wheel-desc {
    transform: translate(200%);
}

.txtArea h1 {
    color: #007935;
    font-size: 3em;
}

.txtArea h4 {
    color: #0b1c48;
    font-size: 1.5em;
}

.txtArea p {
    font-size: 1.3em;
    line-height: inherit;
}


/* END DLC WHEEL STYLES */


/* Home Awards Slider */

.award-slider img {
    width: auto;
    max-height: 100px;
}


/* Header */

.ffb-id-pmn78gh.fg-col.col-xs-8.fg-text-dark {
    max-height: 25px !important;
}


/* Before/after slider headers style */

.ffb-id-35p0ttfu .twentytwenty-before-label:before,
.ffb-id-35p0ttfu .twentytwenty-after-label:before {
    background-color: transparent !important;
    background: none !important;
    font-size: 55px;
    width: auto !important;
}

.ffb-id-35p0ttfu .twentytwenty-horizontal .twentytwenty-before-label:before,
.ffb-id-35p0ttfu .twentytwenty-horizontal .twentytwenty-after-label:before {
    margin-top: 0;
}


/* end before/after slider styles */


/* Search */

.ark-search-field .container-fluid {
    padding-left: 30px;
}

#searchform.input-group .form-control {
    height: 39px;
    border: 1px solid #ebeef6;
    box-shadow: none;
}

input.form-control {
    height: 40px;
}

.ark-search-field .ark-search-field-input {
    border: none !important;
    box-shadow: none !important;
}


/* END SEARCH*/


/* Feature Tabs */

@media screen and (max-width: 757px) and (min-width: 481px) {
    .nav.nav-tabs>li>a {
        height: 87px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}


/* pfah pardot submit ajax style */


/* result */

.pfah-done,
.pfah-error {
    opacity: 0;
    z-index: -2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.pfah-done {
    background-color: #0b1c48;
    height: 100%;
    left: 0;
    padding: 2.5rem;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}


/* csslint allow: box-model */

.pfah-done-wrapper {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.pfah-done-heading {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 2.25rem;
    margin: 1.25rem 0;
    color: #ffce00;
}

.pfah-error-heading {
    font-size: 14px;
    color: red;
    margin-bottom: 15px;
}

.pfah-done-text {
    color: white;
}

.pfah-icon {
    color: #007935;
    font-size: 4em;
}

.pfah-submit-btn {
    background: #ffce00;
    border: 1px solid #ffce00;
    color: #0b1c48;
    font-weight: 600;
    margin-bottom: 20px;
    transition: 500ms all ease;
}

.pfah-submit-btn:hover {
    background: #0b1c48;
    color: #ffce00;
}

.pfah-error {
    left: 0;
    line-height: 2rem;
    margin-top: .625rem;
    max-height: 0;
    overflow: hidden;
}

.pfah-wrapper[data-error="keep"] .pfah-error {
    max-height: none;
    position: relative;
}

.pfah-wrapper[data-error="keep"] .pfah-error::before {
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.pfah-result-done .pfah-done,
.pfah-result-error .pfah-error {
    opacity: 1;
    z-index: 2;
}

.pfah-result-error .pfah-error {
    max-height: 10rem;
}


/* Calculator Input Range Slider https://www.w3schools.com/howto/howto_js_rangeslider.asp */

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #007935;
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #ffce00;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: green;
    cursor: pointer;
}


/* Process automation calculator */

.page-id-1904 .mfp-iframe-holder .mfp-content {
    height: auto;
}

.ffb-id-3b2vo7i5 .btn-base-brd-slide {
    padding: 5px 10px;
}


/* Product Quiz/Questionnaire */

.icon-plus,
.icon-minus {
    color: #007935;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-plus:hover,
.icon-minus:hover {
    color: #ffce00;
}

#minusProducts {
    display: none;
}

.boxes {
    margin: auto;
}

#prod-container .row:nth-of-type(2) {
    height: 120px;
}

@media screen and (max-width: 473px) {
    #prod-container .row:nth-of-type(2) {
        height: auto;
    }
}

#prod-container h3 span {
    font-size: 70%;
    color: #7b7b7b;
}

#prod-container h3 {
    text-align: center;
    color: #0b1c48;
}

button#next,
button#previous,
button#submit {
    background: #0b1c48;
    color: #ffce00;
    font-weight: 500;
    transition: 1s all ease;
}

button#next:hover,
button#previous:hover,
button#submit:hover {
    background: #ffce00;
    color: #0b1c48;
}

#prod-container .progress-bar {
    background-color: #007935;
}

#productResults .fg-row.row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}


/*Checkboxes styles*/

.boxes input[type="checkbox"] {
    display: none;
}

.boxes input[type="checkbox"]+label {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.boxes input[type="checkbox"]+label:last-child {
    margin-bottom: 0;
}

.boxes input[type="checkbox"]+label:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #007935;
    position: absolute;
    left: 0;
    top: 6px;
    opacity: .6;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}

.boxes input[type="checkbox"]:checked+label:before {
    width: 10px;
    top: 0;
    left: 5px;
    border-radius: 0;
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.section-heading .divider {
    height: 3px;
    background-color: #007935 !important;
}


/* Homepage Carousel */

.ffb-id-31qee1o3 .carousel-control.left,
#testimonials .carousel-control.left {
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .0001) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .2)), to(rgba(0, 0, 0, .0001)));
    background-image: linear-gradient(to right, rgba(255, 206, 0, .2) 0, rgba(255, 206, 0, .0001) 100%);
}

.ffb-id-31qee1o3 .carousel-control.right,
#testimonials .carousel-control.right {
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .2) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .2)));
    background-image: linear-gradient(to right, rgba(255, 206, 0, .0001) 0, rgba(255, 206, 0, .2) 100%);
}

.ffb-id-31qee1o3 p {
    padding: 0 35px;
}

.testimonials-v1,
.testimonials-v1:before {
    box-shadow: none !important;
    background: none !important;
    background-color: none !important;
}

a.dig-btn,
a.dig-btn:focus {
    background: #ffce00;
    color: #0b1c48;
    border: 1px solid #ffce00;
    font-weight: 500;
    transition: 200ms all ease-in-out;
}

a.dig-btn:hover {
    background: #0b1c48;
    color: #ffce00;
}


/*update alert front page */

.update-alert {
    width: 40%;
    float: right;
}

@media screen and (max-width: 1240px) {
    .update-alert {
        width: 50%;
    }
}

@media screen and (max-width: 991px) {
    .update-alert {
        width: 75%;
    }
    .update-container {
        margin-top: 15px;
    }
}

@media screen and (max-width: 768px) {
    .update-alert {
        width: 100%;
    }
    .update-container {
        margin-top: 15px;
    }
}


/* true false quiz */

.correct {
    background-color: green !important;
}

.incorrect {
    background-color: red !important;
}


/*lightbox grey bar underneath */

.mfp-iframe-holder .mfp-content {
    height: auto;
}


/* workflow example post */

.ffb-id-43pa6i8t a:hover {
    cursor: pointer;
    text-decoration: none;
}

.pop-person {
    width: 40px;
}

svg a:focus {
    outline: 2px solid #080080;
}

svg a.diamond:focus {
    outline-offset: -5px !important;
}

.popover-content .col-3 {
    width: 25%;
    float: left;
}

.popover-content .col-9 {
    width: 75%;
    float: right;
}


/*rpa calculator */

#calc-results .ff-richtext tr td:first-child {
    color: yellow;
}

#calc-results .ff-richtext td {
    border: none;
    padding: 5px;
    font-size: 75%;
}


/* ABOUT PAGE TIMELINE */

.main-timeline {
    position: relative
}

.main-timeline .timeline-icon.hide-mob {
    display: inline-block;
}

.main-timeline .timeline-icon.mob {
    display: none;
}

.main-timeline:before {
    content: "";
    width: 5px;
    height: 100%;
    border-radius: 20px;
    margin: 0 auto;
    background: #142740;
    position: absolute;
    top: 0;
    left: 0;
    right: 0
}

.main-timeline .timeline {
    display: inline-block;
    margin-bottom: 100px;
    margin-top: 100px;
    position: relative;
    width: 100%;
}

.main-timeline .timeline:before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: #007935;
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%)
}

.main-timeline .timeline-icon {
    display: inline-block;
    width: 430px;
    height: 238px;
    border: 3px solid #007935;
    padding: 13px;
    text-align: center;
    position: absolute;
    top: 0;
    left: -10px;
    transform: translateY(-50%)
}

.main-timeline .timeline-icon i {
    display: block;
    border-radius: 50%;
    background: #007935;
    font-size: 64px;
    color: #fff;
    line-height: 100px;
    z-index: 1;
    position: relative
}

.main-timeline .timeline-icon:after,
.main-timeline .timeline-icon:before {
    content: "";
    width: 100px;
    height: 4px;
    background: #007935;
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%)
}

.main-timeline .timeline-icon:after {
    width: 20px;
    height: 50px;
    background: #fff;
    top: 89px;
    right: -18px
}

.main-timeline .timeline-content {
    width: 50%;
    padding: 0 50px;
    margin: 52px 0 0;
    float: right;
    position: relative
}

.main-timeline .timeline-content:before {
    content: "";
    width: 70%;
    height: 100%;
    border: 3px solid #007935;
    border-top: none;
    border-right: none;
    position: absolute;
    bottom: -13px;
    left: 35px;
    z-index: -1;
}

.main-timeline .timeline-content:after {
    content: "";
    width: 37px;
    height: 3px;
    background: #007935;
    position: absolute;
    top: 13px;
    left: 0
}

.main-timeline .title {
    font-size: 20px;
    font-weight: 600;
    color: #007935;
    text-transform: uppercase;
    margin: 20px 0 5px
}

.main-timeline .description {
    display: inline-block;
    margin: 0;
    padding-bottom: 10px;
    z-index: 100000000;
}

.main-timeline .timeline:nth-child(4n) .timeline-icon {
    left: auto;
    right: -10px;
}

.main-timeline .timeline:nth-child(4n) .timeline-icon:before {
    right: auto;
    left: -100px;
    z-index: 10000;
}

.main-timeline .timeline:nth-child(4n) .timeline-icon:after {
    right: auto;
    left: -10px
}

.main-timeline .timeline:nth-child(4n) .timeline-content {
    float: left
}

.main-timeline .timeline:nth-child(4n) .timeline-content:before {
    left: auto;
    right: 35px;
    transform: rotateY(180deg)
}

.main-timeline .timeline:nth-child(4n) .timeline-content:after {
    left: auto;
    right: 0
}

.main-timeline .timeline:nth-child(2n) .timeline-content:after,
.main-timeline .timeline:nth-child(2n) .timeline-icon i,
.main-timeline .timeline:nth-child(2n) .timeline-icon:before,
.main-timeline .timeline:nth-child(2n):before {
    background: #007935
}

.main-timeline .timeline:nth-child(2n) .timeline-icon {
    border-color: #007935
}

.main-timeline .timeline:nth-child(2n) .title {
    color: #007935
}

.main-timeline .timeline:nth-child(2n) .timeline-content:before {
    border-left-color: #007935;
    border-bottom-color: #007935
}

.main-timeline .timeline:nth-child(4n) .timeline-content:after,
.main-timeline .timeline:nth-child(4n) .timeline-icon i,
.main-timeline .timeline:nth-child(4n) .timeline-icon:before,
.main-timeline .timeline:nth-child(4n):before {
    background: #080080;
}

.main-timeline .timeline:nth-child(4n) .timeline-icon {
    border-color: #080080;
}

.main-timeline .timeline:nth-child(4n) .title {
    color: #080080;
}

.main-timeline .timeline:nth-child(4n) .timeline-content:before {
    border-left-color: #080080;
    ;
    border-bottom-color: #080080;
}

.main-timeline .timeline:nth-child(6n) .timeline-content:after,
.main-timeline .timeline:nth-child(6n) .timeline-icon i,
.main-timeline .timeline:nth-child(6n) .timeline-icon:before,
.main-timeline .timeline:nth-child(6n):before {
    background: #ffce00
}

.main-timeline .timeline:nth-child(6n) .timeline-icon {
    border-color: #ffce00
}

.main-timeline .timeline:nth-child(6n) .title {
    color: #ffce00
}

.main-timeline .timeline:nth-child(6n) .timeline-content:before {
    border-left-color: #ffce00;
    border-bottom-color: #ffce00
}

.timeline .timeline-icon .timeline-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

.year {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    margin-bottom: 50px;
}

.year p {
    padding: 15px;
    border-radius: 50px;
    background: white;
    color: #007935;
    font-weight: bold;
    z-index: 1000;
    border: 1px solid #007935;
    cursor: pointer;
    transition: 500ms all ease-in-out;
}

.year.active p,
.year:hover p {
    background: #007935;
    border: none;
    color: white
}

@media only screen and (min-width: 1201px) {
    .main-timeline .timeline {
        width: 100%;
    }
    .main-timeline .timeline-icon {
        left: 30px;
    }
    .main-timeline .timeline-content {
        margin-top: -12px;
    }
    .main-timeline .timeline:nth-child(4n) .timeline-icon {
        left: auto;
        right: 30px;
    }
}

@media only screen and (max-width:1200px) {
    .main-timeline .timeline-icon:before {
        width: 50px;
        right: -50px;
        z-index: 10000;
    }
    .main-timeline .timeline:nth-child(4n) .timeline-icon:before {
        right: auto;
        left: -50px
    }
    .main-timeline .timeline-content {
        margin-top: -12px
    }
}

@media only screen and (max-width:990px) {
    .main-timeline .timeline {
        margin: 100px 0
    }
    .main-timeline .timeline-icon {
        left: 0;
        width: 300px;
    }
    .main-timeline .timeline:nth-child(even) .timeline-icon {
        right: 0
    }
}

@media only screen and (max-width:767px) {
    .main-timeline {
        padding-top: 50px
    }
    .main-timeline:before {
        left: 80px;
        right: 0;
        margin: 0
    }
    .main-timeline .timeline {
        margin-bottom: 70px
    }
    .main-timeline .timeline:before {
        top: 0;
        left: 83px;
        right: 0;
        margin: 0
    }
    .main-timeline .timeline-icon {
        width: 60px;
        height: 60px;
        line-height: 40px;
        padding: 5px;
        top: 0;
        left: 0
    }
    .main-timeline .timeline:nth-child(even) .timeline-icon {
        left: 0;
        right: auto
    }
    .main-timeline .timeline-icon:before,
    .main-timeline .timeline:nth-child(even) .timeline-icon:before {
        width: 25px;
        left: auto;
        right: -25px
    }
    .main-timeline .timeline-icon:after,
    .main-timeline .timeline:nth-child(even) .timeline-icon:after {
        width: 25px;
        height: 30px;
        top: 44px;
        left: auto;
        right: -5px
    }
    .main-timeline .timeline-icon i {
        font-size: 30px;
        line-height: 45px
    }
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(even) .timeline-content {
        width: 100%;
        margin-top: -15px;
        padding-left: 130px;
        padding-right: 5px
    }
    .main-timeline .timeline:nth-child(even) .timeline-content {
        float: right
    }
    .main-timeline .timeline-content:before,
    .main-timeline .timeline:nth-child(even) .timeline-content:before {
        width: 50%;
        left: 120px
    }
    .main-timeline .timeline:nth-child(even) .timeline-content:before {
        right: auto;
        transform: rotateY(0)
    }
    .main-timeline .timeline-content:after,
    .main-timeline .timeline:nth-child(even) .timeline-content:after {
        left: 85px
    }
    .main-timeline .timeline-icon.hide-mob {
        display: none;
    }
    .main-timeline .timeline-icon.mob {
        display: inline-block;
    }
}

@media only screen and (max-width:479px) {
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(2n) .timeline-content {
        padding-left: 110px
    }
    .hide-mob {
        display: none;
    }
    .mob {
        display: inline-block;
    }
    .main-timeline .timeline-content:before,
    .main-timeline .timeline:nth-child(2n) .timeline-content:before {
        left: 99px
    }
    .main-timeline .timeline-content:after,
    .main-timeline .timeline:nth-child(2n) .timeline-content:after {
        left: 65px
    }
    .year {
        justify-content: start;
    }
    .main-timeline .timeline {
        margin-top: 0;
    }
    .timeline h3.title {
        font-size: 90%;
    }
}


/* Data Hoarding Quiz */

.data-quiz-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-quiz,
.data-quiz-intro {
    height: 520px;
    width: 500px;
    border: 1px solid #007935;
    padding: 25px;
    box-shadow: 5px 5px 5px #cecece;
    overflow: hidden;
}

.quiz-header {
    margin-bottom: 20px;
}

.quiz-header h2 {
    color: #007935;
}

.question-header {
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #080080;
    color: #ffce00;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.question-header h4 {
    font-size: 1.5em;
}

.quiz-question {
    margin-top: 20px;
    overflow: hidden;
    height: 60px;
}

.quiz-question h5 {
    display: none;
    font-size: 1.4em;
}

.quiz-question h5:first-child {
    display: block;
}

.quiz-options {
    margin-top: 20px;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

.quiz-next {
    padding: 16px;
    font-weight: bold;
    width: 100%;
}

.next,
.start,
.start-over {
    width: 50%;
    color: #080080;
    cursor: pointer;
    padding: 10px;
    margin: 0 auto;
    transition: 500ms all linear;
    font-size: 1.5em;
}

.next {
    background: #eee;
}

.next.active,
.start,
.start-over {
    background: #080080;
    color: #ffce00;
}

.quiz-results {
    margin-top: 20px;
    display: none;
}

.quiz-results .col-4 div {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #007935;
    margin-bottom: 10px;
}

.quiz-results .col-4 div h6 {
    color: #007935;
    font-size: 1.2em;
}

.quiz-results .col-4 h5 {
    font-size: 1.5em;
}

.result-text strong {
    color: #007935;
}

.button {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 90px;
    height: 90px;
    background: white;
    border: 5px solid #080080;
    box-shadow: inset 5px 5px 0px rgba(8, 0, 128, 0.4);
    border-radius: 100px;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 5px;
}

.button:before {
    display: inline-block;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 220px;
    height: 120px;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 3px;
    color: #080080;
    overflow: hidden;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.button:first-child:before {
    content: "1";
}

.button:nth-child(2):before {
    content: "2";
}

.button:nth-child(3):before {
    content: "3";
}

.button:hover {
    width: 200px;
    border-radius: 20px;
    border: 5px solid #007935;
    box-shadow: inset 5px 5px 0px rgba(0, 121, 53, 0.4);
}

.button:hover:before {
    content: "";
    -webkit-animation: hide 100ms linear;
    animation: hide 100ms linear;
}

.button:hover:after {
    display: inline-block;
    position: absolute;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 220px;
    height: 120px;
    font-size: 1.8rem;
    margin-left: -50px;
    margin-top: 3px;
    color: #007935;
    font-weight: bold;
    margin-left: 0px;
    overflow: hidden;
    width: 300px;
    -webkit-animation: reveal 200ms ease-in-out;
    animation: reveal 200ms ease-in-out;
}

.button.active {
    width: 200px;
    border-radius: 20px;
    border: 5px solid #007935;
    box-shadow: inset 5px 5px 0px rgba(0, 121, 53, 0.4);
}

.button.active:before {
    content: "";
    -webkit-animation: hide 100ms linear;
    animation: hide 100ms linear;
}

.button.active:after {
    display: inline-block;
    position: absolute;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 220px;
    height: 120px;
    font-size: 1.8rem;
    margin-left: -50px;
    margin-top: 3px;
    color: #007935;
    font-weight: bold;
    margin-left: 0px;
    overflow: hidden;
    width: 300px;
    -webkit-animation: reveal 200ms ease-in-out;
    animation: reveal 200ms ease-in-out;
}

.button:first-child:hover:after {
    content: "Below Average";
}

.button:nth-child(2):hover:after {
    content: "Average";
}

.button:nth-child(3):hover:after {
    content: "Above Average";
}

.button.active:first-child:after {
    content: "Below Average";
}

.button.active:nth-child(2):after {
    content: "Average";
}

.button.active:nth-child(3):after {
    content: "Above Average";
}

@-webkit-keyframes reveal {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes reveal {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes hide {
    0% {
        -webkit-transform: scale(1) translateX(0);
        transform: scale(1) translateX(0);
    }
    100% {
        -webkit-transform: scale(0) translateX(100px);
        transform: scale(0) translateX(100px);
    }
}

@keyframes hide {
    0% {
        -webkit-transform: scale(1) translateX(0);
        transform: scale(1) translateX(0);
    }
    100% {
        -webkit-transform: scale(0) translateX(100px);
        transform: scale(0) translateX(100px);
    }
}

.intro-img {
    width: 95px;
    height: 95px;
    background-size: contain;
    background-repeat: no-repeat;
}

.col-4 {
    width: 30%;
    float: left;
    margin: 1%;
}

@media screen and (max-width: 500px) {
    .data-quiz,
    .data-quiz-intro {
        height: 750px;
        width: 100%;
    }
    .quiz-options {
        flex-flow: column;
    }
    .quiz-question {
        height: 110px;
    }
    .quiz-options .button {
        width: 100%;
        height: 60px;
    }
    .quiz-header h2 {
        font-size: 20px;
    }
    .question-header {
        padding: 10px;
    }
    .col-4 {
        width: 100%;
    }
}