/*
Theme Name: KNR
Author: UKIE WEB, LLC
Author URI: https://ukieweb.com/
Version: 1.0
*/


/*
    - Base
    - Interactive Map
    - Accidents
    - Factors
    - Excessive Speed
    - Cell Phone
    - Fatality
    - Age Group
    - Responsive
*/



/*-----------------------------------------------------------------------------
    Base
 */

body {
    line-height: 165%;
}

.container {
    width:auto;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 200 !important;
}

h1 {
    font-size: 90px;
    line-height: 112px;
    margin-top: 48px;
    margin-bottom: 24px;
}

h2 {
    font-size: 72px;
    line-height: 80px;
    margin-top: 48px;
    margin-bottom: 24px;
}

h3 {
    font-size: 48px;
    line-height: 60px;
    margin-top: 48px;
    margin-bottom: 24px;
}

h4 {
    font-size: 22px;
    line-height: 30px;
    margin-top: 24px;
    margin-bottom: 24px;
    font-family: 'Barlow', sans-serif;
    font-weight: 500 !important;
}
h5 {
    font-size: 14px;
    line-height: 24px;
    margin-top: 12px;
    margin-bottom: 16px;
}

hr {
    border: 1px solid;
    margin: -1px 0;
}

p, span{
    font-size: 16px;
    line-height: 30px;
    font-weight: 300;
}

a{
    color: #28292e;
    transition: all 0.5s ease;
    text-decoration: none!important;
}
a:hover, a:focus, a:active{
    color: #999ea1;
    transition: all 0.5s ease;
}


[type=reset], [type=submit], button, html [type=button] {
    outline: none;
    cursor: pointer;
}
.wrapper{
    padding: 60px 0;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}
.btn {
    font-size: 20px;
    line-height: 55px;
    text-transform: uppercase;
    color: #fff;
    padding: 0 45px;
    background: #cb413c;
    font-weight: 300;
    border-radius: 4px;
    border: none;
    transition: all 0.5s ease;
    outline: none;
}
.btn:hover, .btn:focus, .btn:active{
    color: #fff;
    border: none;
    background: #e08e8b;
    transition: all 0.5s ease;
    outline: none;
}
.barlow{
    font-family: 'Barlow', sans-serif;
}
.title{
    text-transform: uppercase;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    color: #cb413c;
}

/*----------------------------------------------------------------------
    Interactive Map
 */

.interactive-map{
    padding: 70px;
    background: #fff;
    text-align: center;
    overflow: hidden;
    margin-top:155px;
}
.wrapper{
    background: #f0f1eb;
}
.jsmaps-wrapper .jsmaps-text{
    display: none;
    padding: 0;
}
.jsmaps-wrapper  .jsmaps-tooltip{
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Barlow', sans-serif;
    font-size: 24px;
    line-height: 30px;
    padding: 14px 30px;
    color: #fff;
    background: #31353b;
    border: none;
    border-radius: 0;
}
.interactive-map p{
    line-height: 30px;
    font-size: 21px;
    font-weight: 300;
}
.block-map{
    padding: 20px 0 60px;
}
.interactive-map h4{
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #4a4a4a;
}
.county-select{
    width: 384px;
    outline: none;
    height: 55px;
    border: none;
    padding: 12px 70px 12px 22px!important;
    background: #fff;
    cursor: pointer;
    text-transform: uppercase;
    /* for Firefox */
    -moz-appearance: none;
    /* for Chrome */
    -webkit-appearance: none;
}
select::-ms-expand {
    display: none;
}
.interactive-map .btn{
    margin-left: 12px;
}
.select-your-country{
    margin-bottom: 36px;
}
.select-your-country label{
    position: relative;
    margin-bottom: 0;
}
.select-your-country label:after{
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 14px solid #38342a;
    content: "";
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    margin-top: -7px;
    pointer-events: none;
}
.select-your-country label:before{
    width: 1px;
    height: 31px;
    background: #38342a;
    content: "";
    font-weight: 900;
    position: absolute;
    right: 54px;
    top: 12px;
    pointer-events: none;
}
.jsmaps-select.mobile {
    display: none;
}
.img-responsive{
    display: none;
    margin: 0 auto;
}
.responsive{
    display: none;
}
/*--------------------------------------------------------------
    Accidents
 */
.accidents{
    text-align: left;
    padding-left: 90px;
    padding-right: 90px;
    background: #eff0ea;
    position: relative;
    overflow: hidden;

}
.speed-diagram{
    position: absolute;
    right: -55px;
    top: 190px;

}
.arrow-diagram{
    position: absolute;
    right: 172px;
    top: 233px;
    transform-origin: 22px 208px;
    transform: rotate(-121deg);
}
.speed-text{
    position: absolute;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    line-height: 24px;
    right: 127px;
    top: 570px;
    color: #eff0ea;
}

.accidents h1{
    font-weight: 300;
    text-transform: uppercase;
    margin: 0;
    color: #666666;
}
.accidents h4{
    margin: 0;
}
.statistic{
    width: 65%;
    padding-left: 9px;
}
.data-counties li{
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 22px;
}
.data-counties, .data-counties li .statistic h4{
    margin: 0;
    color: #333333;
}
.data-counties span{
    margin: 0 6px 0 13px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    font-size: 22px;
    line-height: 30px;
    padding-left: 17px;
    position: relative;
}
.data-counties span:after{
    content: "";
    width: 4px;
    height: 20px;
    background: #666;
    position: absolute;
    left: 0;
    top: 4px;
}
.data-counties li:first-of-type span{
    margin-left: 0;
    padding-left: 0;
}
.data-counties li:first-of-type span:after{
     display: none;
 }
.data{
    margin: 50px 0 60px;
    border-top: 2px solid #cb413c;
    border-bottom: 2px solid #cb413c;
    padding: 65px 0 40px;
}
.data h4{
    font-size: 26px;
    color: #413b30;
}
.data h4 span.county-number{
    color: #cb413c;
    font-size: 100px;
    margin: 0 23px 0 20px;
    position: relative;
    font-weight: 700;
}
.data .county-number sup{
    color: #cb413c;
    font-size: 44px;
    text-transform: none;
    position: absolute;
    left: 100%;
    top: 43px;
}
.data ul{
    margin: 0;
    padding: 30px 0 15px;
}
.data li{
    display: inline-block;
    vertical-align: top;
}
.data li:first-of-type{
    margin-right: 20px;
    padding: 0 2px;
}
.data .border-line{
    border-top: 2px solid #cb413c;
    border-bottom: 2px solid #cb413c;
}
.data li:last-of-type{
    margin-left: 20px;
    padding: 0 2px;
}
.in-county{
    font-size: 48px;
    color: #413b30;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    line-height: 36px;
    display: block;
    padding: 5px 0 8px;
}
.name{
    color: #cb413c;
    font-size: 90px;
    line-height: 67px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Barlow', sans-serif;
}



.population{
    font-size: 36px;
    line-height: 25px;
    padding-top: 7px;
    padding-bottom: 7px;
    display: block;
    text-transform: uppercase;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    letter-spacing: 5px;
    color: #413b30;

 }
.population small{
    font-size: 24px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    letter-spacing: 0;

}
.data p{
    font-size: 15px;
    line-height: 30px;
    text-transform: uppercase;
    color: #cb413c;
    text-align: center;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
}
.count-accidents{
    display: flex;
    justify-content: left;
    position: relative;
    padding-bottom: 60px;
}
.count-accidents h4{
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 26px;
    color: #666;
    font-weight: 300;
    position: relative;
    margin-right: 0;
    padding-right: 0;
    max-width: initial;
    text-align: center;
}
.count{
    font-size: 61px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    color: #cb413c;
    line-height: 52px;
    position: relative;
    width: 100%;
    right: auto;
    left: inherit;
    margin-top: 0;
    top: auto;
    text-align: center;
    display: block;
    padding: 0 0 5px 0;
}
.count-accidents img{
    position: absolute;
    right: -123px;
    top: 0;
}


.highcharts-label, .highcharts-data-label-connector{
    display: none;
}

/*--------------------------------------------------------------
    Factors
 */
.content{
    position: relative;
}
.factors{
    background: #85b7b1;
    padding: 45px 90px;
}
.factors h2{
    color: #eff1eb;
    margin: 0;
    font-weight: 300;
}
.factor{
    padding: 150px 170px 160px;
    position: relative;
    font-size: 0;
}
.alcohol{
    background: rgba(212, 209, 156, 0.3);
}
.arrow-down{
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -24px;
}
.left-col, .right-col{
    width: 50%;
    display: inline-block;
    text-align: left;
}
.title-quotient{
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    color: #85b7b1;
    padding: 0 2px;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
}
.quotient{
    font-size: 115px;
    font-weight: 700;
    line-height: 100px;
    color: #85b7b1;
    font-family: 'Barlow', sans-serif;
}
.factor ul{
    margin: 0 0 45px 0;
    font-size: 0;
}
.factor li{
    display: inline-block;
    vertical-align: middle;
}
.border-line{
    border-top: 1px solid #85b7b1;
    border-bottom: 1px solid #85b7b1;
    text-align: left;
    padding: 3px 0;
}
.factor .border-line{
    margin-left: 25px;
    line-height: 12px;
    margin-top: 3px;
}
.factor p{
    font-weight: 400;
}
.factor-img{
    position: absolute;
    right: 0;
    top: 80px;
}
.keys{
    position: absolute;
    left: -160px;
    top: 250px;
}
.diagram h4{
    color: #85b7b1;
    font-size: 24px;
    line-height: 26px;
    padding-right: 100px;
    position: relative;
    margin: 40px 0 0 0;
    width: calc(100% - 180px);
}

.diagram {
     display: flex;
     justify-content: space-between;
    padding: 54px 0 30px;
    position: relative;
    z-index: 9;
 }
.diagram img{
   max-width: 180px;
}

/*--------------------------------------------------------------
        Excessive Speed
     */
.excessive-speed{
    background: #f9f9f7;
    position: relative;
    min-height: 168px;
    padding-bottom: 120px;
    padding-top: 130px;
}
.excessive-speed .diagram{
    padding-bottom: 0;

}
.excessive-speed .quotient, .excessive-speed .title-quotient, .excessive-speed .diagram h4{
    color: #cb413c;
}
.excessive-speed .border-line{
    border-color: #cb413c;
}
.excessive-speed .factor-img{
    overflow: hidden;
    left: 0;
    top: -165px;
}
.auto{
    position: absolute;
    top: 46px;
    left: -155px;
}
.aos-animate.auto{
    top: 134px;
    left: 0;
}
.moto{
    position: absolute;
    left: 220px;
    top: 174px;
}
.aos-animate.moto{
    left: 95px;
    top: 102px;
}
.limit{
    position: absolute;
    left: 60px;
    top: 436px;
}

/*--------------------------------------------------------------
        Cell Phone
     */

.cell-phone{
    background: #4a4a4a;
    min-height: 686px;
    padding-bottom: 60px;
    padding-top: 100px;
    height: 686px;
}
.cell-phone .diagram{
    padding-bottom: 0;

}
.cell-phone p{
    color: #fff;
}
.cell-phone .factor-img{
    overflow: hidden;
    right: 0;
    padding-top: 80px;
    top: -80px;
}
.mann{
    position: absolute;
    right: 242px;
    top: 285px;
}
.aos-animate.mann{
    right: 360px;
    top: 215px;
}
.mann-auto{
    position: absolute;
    top: -23px;
    right: -107px;
}
.aos-animate.mann-auto{
    top: 40px;
    right: 0;
}

/*--------------------------------------------------------------
        Fatality
     */
.fatality{
    padding-bottom: 100px;
    min-height: 722px;
    background: #f9f9f7;
    height: 722px;
}
.fatality .diagram{
    padding-bottom: 0;
}
.fatality .factor-img{
    left: 0;
    top: -41px;
}
.fatality .quotient, .fatality .title-quotient, .fatality .diagram h4{
    color: #cb413c;
}

.fatality .border-line{
    border-color: #cb413c;
}

/*--------------------------------------------------------------
        Age Group
     */
.age-group{
    background: #f6f6eb;
    padding: 100px 135px;
}
.age-group h2, .age-group h3{
    color: #cb413c;
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
}
.age-group h3{
    line-height: 38px;
}
.age-group p{
    margin-bottom: 0;
}
.age-group .left-col{
    width: 440px;
}
.age-group .right-col{
    margin-top: 16px;
    width: calc(100% - 440px);
    padding-left: 70px;
    border-left: 1px solid #cb413c;
}
.age-group .left-col, .age-group .right-col{
    vertical-align: top;
}
.age-group .options-accidents{
    margin-bottom: 0;
    margin-top: -30px;
    background: #f6f6eb;
    position: relative;
    padding-top: 30px;
}
.line-canvas{
    padding-top: 70px;
}
.options-accidents h4{
    font-size: 24px;
    margin: 0;
    padding-left: 50px;
    color: #85b7b1;
    position: relative;
    line-height: 35px;
}
.options-accidents h4:before{
    content: "";
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #85b7b1;
    left: 0;
    top: 0;
}
.options-accidents .county h4{
    color: #e24930;
}
.options-accidents .county h4:before{
    background: #e24930;
}
.options-accidents li{
    margin: 0 36px;
}
.table-age-group{
    display: none;
}
table{
    width: 100%;
}
th, td{
    width: 30%;
    padding: 15px 10px;
}
th{
    font-size: 16px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-right: 1px solid #988e8e;
    line-height: 18px;
    vertical-align: bottom;
}
th:last-of-type{
    border-right: none;
}
td{
    font-size: 21px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    border: 1px solid #988e8e;
    border-left: none;
}
td:last-of-type{
    border-right: none;
}
tr:last-of-type td{
    border-bottom: none;
}
.county-table{
    color: #ea603e;
}
th.county-table{
    color: #fff;
    background: #ea603e;
}
.state-table{
    color: #316a9b;
}
th.state-table{
    color: #fff;
    background: #316a9b;
}
/*--------------------------------------------------------------
    Responsive
 */

@media screen and (max-width: 1500px){
    .accidents {
        padding: 60px;
    }
    .factors{
        padding: 45px 60px;
    }
    .name {
        font-size: 100px;
    }
    .data{
        text-align: center;
    }
    .data li:first-of-type {
        margin-right: 10px;
    }
    .data li:last-of-type {
        margin-left: 10px;
    }
    .data h4 {
        font-size: 24px;
    }

    .count-accidents img {
        right: -132px;
        top: 0px;
    }
    .factor {
        padding: 150px 100px 160px;
    }
    .fatality {
        padding-bottom: 75px;
    }
    .age-group {
        padding: 100px 135px;
    }
    .cell-phone {
        padding-bottom: 60px;
        padding-top: 100px;
    }
}
@media screen and (max-width: 1450px){

}
@media screen and (max-width: 1400px){
    .data{
        text-align: left;
    }
    .keys {
        left: -50px;
        top: 505px;
    }
}
@media screen and (max-width: 1360px){
    .speed-diagram {
        right: -48px;
        top: 231px;
        width: 370px;
    }
    .arrow-diagram {
        height: 150px;
        right: 122px;
        top: 282px;
        transform-origin: 14px 136px;
    }
    .speed-text {
        font-size: 22px;
        right: 73px;
        top: 500px;
    }
    .data h4 {
        font-size: 23px;
    }
    .data h4 span.county-number {
        font-size: 80px;
        margin: 0 15px 0 8px;
    }
    .data .county-number sup {
        font-size: 36px;
        top: 34px;
    }
    .name {
        font-size: 94px;
    }
    .statistic {
        width: 70%;
    }
    .data{
        text-align: center;
    }
    .count-accidents img {
        right: -200px;
        top: 0;
    }
    .factor {
        padding: 150px 60px 160px;
    }
    .factor .border-line {
        margin-left: 15px;
    }
    .cell-phone {
         padding-bottom: 60px;
         padding-top: 100px;
     }
    .age-group {
        padding: 100px 60px;
    }
    .fatality {
        padding-bottom: 75px;
    }
}
@media (min-width: 1200px) and (max-width: 1360px){
    .mann {
        right: 170px;
        top: 337px;
    }
    .aos-animate.mann {
        right: 242px;
        top: 285px;
    }

}
@media screen and (max-width: 1240px){
    .left-col, .right-col {
        width: calc(100% - 490px);
    }
    .content{
        width: 490px;
        position: relative;
    }
    .alcohol{
        overflow: hidden;
    }

    .factor-img {
         right: -116px;
         top: 120px;
     }
    .keys{
        display: none;
    }
}
@media screen and (max-width: 1199px){
    h1 {
        font-size: 72px;
        line-height: 94px;
    }
    h2 {
        font-size: 60px;
        line-height: 72px;
    }
    .accidents {
        padding: 60px 40px;
    }
    .factors{
        padding: 45px 40px;
    }
    .statistic {
        width: 63%;
    }
    .name {
        font-size: 68px;
        line-height: 46px;
    }
    .in-county {
        font-size: 36px;
        line-height: 25px;
    }

    .population {
        font-size: 28px;
        letter-spacing: 3px;
        line-height: 20px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .population small {
        font-size: 18px;
        letter-spacing: 0;
    }
    .data li:first-of-type {
        margin-right: 5px;
    }
    .data li:last-of-type {
        margin-left: 5px;
    }
    .data h4 {
        position: relative;
        max-width: 475px;
        padding-right: 165px;
        text-align: right;
        margin: 0 auto;
    }
    .data h4 span.county-number {
        position: absolute;
        right: inherit;
        top: 14px;
        left: calc(100% - 165px);
        min-width: -webkit-min-content;
        min-width: -moz-min-content;
        min-width: min-content;
    }
    .data .county-number sup {
        top: 2px;
    }
   /* .count {
        line-height: 52px;
        position: relative;
        width: 100%;
        right: auto;
        left: inherit;
        margin-top: 0;
        top: auto;
        text-align: center;
        display: block;
        padding: 0 0 5px 0;
    }
    .count-accidents h4 {
        margin-right: 0;
        padding-right: 0;
        max-width: initial;
        text-align: center;
    }*/
    .count-accidents img {
        right: -230px;
        top: -10px;
    }
    .count-accidents {
        padding-bottom: 30px;
    }
    .title-quotient{
        display: inline-block;
        border-top: 1px solid #85b7b1;
        border-bottom: 1px solid #85b7b1;
        padding: 11px 3px 13px;
    }
    .excessive-speed .title-quotient, .fatality .title-quotient{
        border-color: #cb413c;
    }
    .border-line {
        padding: 0;
        border: none;
    }

    .diagram {
        display: none;
    }
    .factor ul {
        margin: 0 0 60px 0;
    }
    .factor li {
        display: block;
        text-align: center;
    }
    .content {
        width: 100%;
    }
    .left-col, .right-col {
        width: 100%;
    }
    .factor-img {
        right: 0;
        top: inherit;
        bottom: -15px;
    }

    .factor p {
        width: 50%;
    }
    .factor .border-line {
        margin-left: 0;
        padding: 11px 0;
        margin-top: 9px;
    }
    .title-quotient br{
        display: none;
    }
    .factor {
        padding: 60px 40px 360px;
    }
    .alcohol{
        padding-top: 150px;
    }
    .excessive-speed, .cell-phone{
        padding-bottom: 600px;
    }
    .excessive-speed .factor-img {
        top: inherit;
        bottom: -150px;
    }
    .excessive-speed p {
        width: 50%;
        margin: 0 0 16px auto;
    }
    .cell-phone .factor-img {
        top: inherit;
        bottom: 0;
    }
    .cell-phone, .fatality{
        height: inherit;
    }
    .fatality .factor-img {
        top: inherit;
        bottom: -10px;
    }
    .fatality{
        background: #d9dada;
        padding-bottom: 400px;
    }
    .fatality p{
       margin-left: auto;
    }
    .age-group p {
        width: 100%;
    }
    .age-group .left-col {
        width: 100%;
        text-align: center;
        padding-bottom: 50px;
    }
    .age-group .right-col {
        padding-left: 0;
        border: none;
        width: 100%;

    }
    .options-accidents li {
        display: block;
        text-align: left;
        margin: 0 0 20px;
    }
    .age-group{
        padding-bottom: 60px;
    }
    .cell-phone, .age-group{
        padding-top: 90px;
    }
}
@media screen and (max-width: 1069px){
    .factor-img {
        right: -116px;
        top: inherit;
        bottom: 0;
    }
}
@media screen and (max-width: 1040px){
    .fatality{
        padding-bottom: 550px;
    }
    .fatality p{
        width: 100%;
    }
}
@media screen and (max-width: 991px){
    .interactive-map{
        padding: 45px;
    }
    .interactive-map .container{
        padding: 0 45px;
    }
    .accidents h1 {
        line-height: 72px;
        margin-bottom: 20px;
    }
    .speed-text {
        display: none;
    }
    .statistic {
        width: 100%;
        padding: 0;
    }
    .data {
        padding-bottom: 320px;
        overflow: hidden;
        position: relative;
        margin: 40px 0;
        padding-top: 40px;
    }
    .speed-diagram {
        right: 50%;
        margin-right: -185px;
        top: initial;
        bottom: -75px;
        width: 370px;
    }
    .arrow-diagram {
        right: 50%;
        margin-right: -16px;
        top: inherit;
        bottom: 96px;
    }
    .count-accidents img {
        display: none;
    }
    .accidents {
        text-align: center;
    }
    .count-accidents {
        padding-bottom: 10px;
    }
    h2 {
        font-size: 54px;
        line-height: 60px;
    }
    .line-canvas, .options-accidents{
        display: none;
    }
    .table-age-group{
        display: block;
        padding: 70px 0 30px;
    }

}
@media screen and (max-width: 767px){
    .interactive-map{
        padding: 45px 30px;
    }
    .interactive-map .container{
        padding: 0 30px;
    }
    .interactive-map .btn {
        margin-left: 0;
        margin-top: 30px;
    }
    .wrapper{
        padding: 45px 0;
    }
    .accidents {
        padding: 60px 30px;
    }
    .factors{
        padding: 45px 30px;
    }
    .name {
        font-size: 60px;
        line-height: 38px;
    }
    .factor {
        padding: 60px 60px 360px;
    }
    .alcohol{
        padding-top: 150px;
    }
    .excessive-speed, .cell-phone{
        padding-bottom: 600px;
    }
    .fatality{
        padding-bottom: 550px;
    }
    .age-group{
        padding-bottom: 60px;
    }
    .cell-phone, .age-group{
        padding-top: 90px;
    }
    .factor {
        padding-left: 30px;
        padding-right: 30px;
    }
    .excessive-speed, .cell-phone, .fatality{
        overflow: hidden;
    }
    .data h4 span.county-number {
        font-size: 70px;
    }
}

@media screen and (max-width: 575px){
    .interactive-map{
        padding: 20px 15px;
    }
    .interactive-map .container{
        padding: 0 30px;
    }
    .responsive{
        display: block;
    }
    .block-map, .text-screen {
        display: none;
    }
    .select-your-country {
        padding-top: 74px;
    }
    .interactive-map .bg-map {
        background: url("../images/home-bg.jpg") center no-repeat;
        background-size: cover;
    }
    .img-responsive{
        display: block;
        padding-bottom: 20px;
    }
    .select-your-country h4{
        display: none;
    }
    .accidents {
        padding: 50px 20px;
    }
    .factors{
        padding: 45px 20px;
    }
    .data {
        padding-bottom: 310px;
        padding-top: 30px;
        margin-bottom: 30px;
    }
    .data ul {
        padding: 13px 0 15px;
    }
    .data li:last-of-type {
        border: none;
    }
    .population {
        padding: 0;
        line-height: 18px;
    }
    h1 {
        font-size: 60px;
        line-height: 60px;
    }
    .data-counties li{
        font-size: 21px;
    }
    .data-counties span {
        font-size: 21px;
    }
    .data h4 {
        font-size: 24px;
        max-width: 410px;
        padding-right: 122px;
    }
    .data h4 span.county-number {
        font-size: 54px;
        right: inherit;
        left: calc(100% - 122px);
    }
    .data .county-number sup {
        top: 7px;
        font-size: 28px;
    }
    .in-county {
        font-size: 30px;
        line-height: 20px;
    }
    .name {
        font-size: 54px;
        line-height: 34px;
    }
    .accidents h1 {
        line-height: 60px;
    }
    .count {
        font-size: 54px;
    }
    .data-counties li{
        display: block;
        line-height: 25px;
    }
    .data-counties span{
        margin: 0 8px 0 0;
        line-height: 25px;
        padding: 0;
    }
    .data-counties span:after{
        display: none;
    }
    .count-accidents {
        padding-bottom: 0;
    }
    h2 {
        font-size: 48px;
        line-height: 54px;
    }
    .factor {
        padding-left: 20px;
        padding-right: 20px;
    }
    .factor p{
        width: 100%;
    }
    .alcohol {
        padding-bottom: 200px;
    }
    .alcohol p{
        width: 60%;
    }
    .alcohol .factor-img img{
        width: 70%;
    }
    .alcohol .factor-img {
        right: -220px;
    }
    .excessive-speed .factor-img {
        bottom: -80px;
    }
    .excessive-speed{
        padding-bottom: 700px;
    }
    .moto {
        top: 137px;
    }
    .aos-animate.moto {
        top: 64px;
    }
    .auto {
        top: -52px;
    }
    .aos-animate.auto {
        top: 37px;
    }
    .limit {
        left: 39px;
        top: 326px;
    }
    .cell-phone{
        padding-bottom: 600px;
    }
    .cell-phone .factor-img {
        top: inherit;
        bottom: 0;
        left: inherit;
        right: -180px;
    }
    .mann-auto {
        top: 60px;
        right: 0;
        width: 350px;
    }
    .aos-animate.mann-auto {
        top: 210px;
        right: 180px;
    }
    .mann {
        width: 180px;
        right: 260px;
        top: 455px;
    }
    .aos-animate.mann {
        right: 382px;
        top: 381px;
    }
}
@media screen and (max-width: 495px){
    h2{
        font-size: 40px;
        line-height: 44px;
    }
    .data h4 span.county-number {
        font-size: 24px;
        right: inherit;
        position: relative;
        line-height: 30px;
        margin: 0 6px;
        width: initial;
        padding-bottom: 0;
        left: inherit;
        top: 0;
    }
    .data .county-number sup {
        top: 0;
        left: 0;
        font-size: 24px;
        position: relative;
        margin-left: 6px;
    }
    .data h4 {
        padding-right: 0;
        text-align: center;
    }
    .count-accidents h4 {
        font-size: 20px;
        line-height: 24px;
    }
}
@media screen and (max-width: 475px){
    .select-your-country label {
        width: 100%;
    }
    .county-select{
        width: 100%;
    }
    .data li:first-of-type {
        margin-right: 0;
        border: none;
    }
    .data li:last-of-type {
        margin-left: 0;
    }
    .data li {
        display: block;
        vertical-align: top;
        text-align: center;
    }
    .name {
        font-size: 54px;
        line-height: 44px;
    }
    .population small {
        font-size: 18px;
        letter-spacing: 3px;
        margin-left: 8px;
    }
    .population {
        padding: 0;
        line-height: 18px;
        font-size: 18px;
    }
    .population br{
        display: none;
    }
    .data ul {
        padding: 20px 0 15px;
    }
    .data p {
        line-height: 20px;
    }
    .speed-diagram {
        right: 50%;
        margin-right: -125px;
        top: initial;
        bottom: -46px;
        width: 250px;
    }
    .arrow-diagram {
        right: 50%;
        margin-right: -11px;
        top: inherit;
        bottom: 70px;
        height: 100px;
        transform-origin: 10px 90px;
    }
    .data {
        padding-bottom: 215px;
    }
    .alcohol {
        padding-bottom: 360px;
    }
    .alcohol p{
        width: 100%;
    }
    .alcohol .factor-img {
        right: -176px;
    }
    .fatality .factor-img img{
        width: 324px;
    }
    .fatality {
        padding-bottom: 400px;
    }
}
@media screen and (max-width: 425px){
    h1{
        font-size: 42px;
        line-height: 46px;
    }
    h2{
        font-size: 38px;
        line-height: 42px;
    }
    h3{
        font-size: 36px;
        line-height: 48px;
    }
    .factors h2 {
        font-size: 24px;
        line-height: 30px;
    }
    .accidents h1 {
        font-size: 34px;
        line-height: 38px;
        word-break: break-word;
    }
    .name {
        font-size: 44px;
    }
    .excessive-speed .factor-img {
        bottom: -160px;
    }

    .aos-animate.auto {
        top: 0;
        left: -70px;
    }
}
@media screen and (max-width: 375px){
    .cell-phone .factor-img {
        right: -240px;
    }
    td {
        font-size: 18px;
    }

}

/***************************
 * Integration Edits
 ***************************/

.PR_nav,
header.animate,
div.preload,
#mobile-nav,
footer,
#mobile_contact_bar {
    display: none;
}

#outerWrapper {
    margin: 0 auto;
    padding: 0;
}

.canvasjs-chart-credit{
    display: none!important;
    color: transparent;
}

.wrapper.accidents {
    padding-top: 100px;
}

@media(max-width: 480px) {
    .wrapper.accidents {
        padding-top: 60px;
    }
}

.county-name-header::before {
    content: "ACCIDENT STATISTICS FOR:";
    display: block;
    font-size: 0.5em;
    margin-left: 12px;
    position: absolute;
    top: 20px;
}

@media(max-width: 480px) {
    .county-name-header::before {
        margin-left: 8px;
    }
}

.county-nav-bar {
    background-color: #f6f9fb;
    left: 0;
    padding: 4px 8px;
    position: fixed;
    right: 0;
    z-index: 5;
    font-size: 14px;
    top:80px;
}

.county-nav-bar a {
    align-items: center;
    display: flex;
    font-weight: 500;
    margin-left: 8px;
}

.county-nav-bar svg {
    margin-right: 8px;
    position: relative;
    bottom: 1px;
}

.arrow-diagram {
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.interactive-map {
    padding-top: calc(70px + 34px);
}

@media screen and (max-width: 575px) {
    .interactive-map {
        padding-top: calc(20px + 34px);
    }
}

@media screen and (max-width: 767px) {
    .interactive-map {
        padding-top: calc(45px + 34px);
    }
}

.keystone-footer {
    background-color: #f0f1eb;
    color: #666;
    list-style: none;
    padding: 30px 0;
}

@media(min-width: 480px) {
    .keystone-footer {
        align-content: space-between;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 40px;
    }

    .keystone-footer li {
        margin: 4px 8px;
    }
}

.keystone-footer a {
    text-decoration: underline !important;
}
