.clear:before, .clear:after {
    content: ' ';
    display: table;
}

.clear {
    *zoom: 1;
}

.clear:after {
    clear: both;
}


/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden], template {
    display: none;
}

a {
    background-color: transparent;
}

a:active, a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: 700;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: .67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -.5em;
}

sub {
    bottom: -.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled], html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    height: auto;
}

input[type=search] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: 700;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td, th {
    padding: 0;
}


/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/1.5 'Raleway', Helvetica, Helvetica Neue, Arial, sans-serif;
}

.wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 970px;
}


/* Make the body 100% of the browser viewport height */

html, body {
    height: 100%;
    margin: 0;
}

h1 {
    font-size: 2em;
    margin-top: 0;
    font-family: 'Roboto Condensed', Helvetica, Helvetica Neue, Arial, sans-serif;
    font-weight: 700;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* =Header */

#slide00 {
    text-align: center;
    color: #ffffff;
    background-image: url('/resources/Allstate/images/landing-pages/onallstate/172/0.png');
    z-index: 160;
}

.header-container .wrapper {
    padding-top: 120px;
    z-index: 2;
}

.header-container:before {
    content: '1';
    display: block;
    font-size: 30em;
    position: absolute;
    top: 50%;
    left: 50%;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: 'Roboto Condensed', Helvetica, Helvetica Neue, Arial, sans-serif;
}


/*!* =Navigation *!*/


/*nav {*/


/*display: none;*/


/*position: fixed;*/


/*right: 30px;*/


/*top: 50%;*/


/*-webkit-transform: translateY(-50%);*/


/*-ms-transform: translateY(-50%);*/


/*transform: translateY(-50%);*/


/*text-align: right;*/


/*z-index: 100;*/


/*}*/


/*nav a {*/


/*display: block;*/


/*line-height: 25px;*/


/*position: relative;*/


/*padding-right: 20px;*/


/*color: #ffffff;*/


/*text-decoration: none;*/


/*}*/


/*nav a:hover .nav-label {*/


/*-webkit-transform: translateX(0);*/


/*-ms-transform: translateX(0);*/


/*transform: translateX(0);*/


/*opacity: 1;*/


/*visibility: visible;*/


/*}*/


/*nav .nav-dot {*/


/*display: block;*/


/*width: 10px;*/


/*height: 10px;*/


/*position: absolute;*/


/*right: 0;*/


/*top: 50%;*/


/*background-color: rgba(255, 255, 255, 0.5);*/


/*border-radius: 100%;*/


/*-webkit-transform: translateY(-50%);*/


/*-ms-transform: translateY(-50%);*/


/*transform: translateY(-50%);*/


/*-webkit-transition: all 0.3s linear;*/


/*transition: all 0.3s linear;*/


/*}*/


/*nav .nav-label {*/


/*display: block;*/


/*opacity: 0.5;*/


/*visibility: hidden;*/


/*-webkit-transform: translateX(-10px);*/


/*-ms-transform: translateX(-10px);*/


/*transform: translateX(-10px);*/


/*-webkit-transition: all 0.2s cubic-bezier(.17, .67, .83, .67);*/


/*transition: all 0.2s cubic-bezier(.17, .67, .83, .67);*/


/*}*/


/*nav.is-dark a {*/


/*color: #212121;*/


/*}*/


/*nav.is-dark .nav-dot {*/


/*background-color: rgba(0, 0, 0, 0.5);*/


/*}*/


/*nav ul {*/


/*margin: 0;*/


/*padding: 0;*/


/*}*/


/*nav li {*/


/*width: auto;*/


/*list-style: none;*/


/*}*/

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


/* =Main */

.slide {
    color: #ffffff;
    position: absolute;
    background: transparent;
}

.slide .wrapper {
    padding-top: 120px;
    text-align: center;
}

#slide01 {
    background-image: url('/resources/Allstate/images/landing-pages/onallstate/172/1.png');
}

#slide02 {
    background-image: url('/resources/Allstate/images/landing-pages/onallstate/172/2.png');
}

#slide03 {
    background-image: url('/resources/Allstate/images/landing-pages/onallstate/172/3.png');
}

#slide04 {
    background-image: url('/resources/Allstate/images/landing-pages/onallstate/172/4.png');
}

.button {
    text-decoration: none;
    color: #ffffff;
    border: 1px rgba(255, 255, 255, 0.7) solid;
    padding: 8px 15px;
    margin-top: 15px;
    display: inline-block;
    position: relative;
}

.button:hover {
    border-color: #ffffff;
    background-color: #ffffff;
    color: #000000;
}


/* =Footer */

.footer-container {
    text-align: center;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.9);
    background-color: rgba(0, 0, 0, 0.1);
}

.footer-container h3 {
    margin: 0;
    padding: 20px 0;
    font-weight: normal;
}

.footer-container a {
    color: rgba(0, 0, 0, 0.9);
}


/* =Simple animation up */


/*.no-touch .slideInUp {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.7s ease-out;
          transition: all 0.7s ease-out;
  -webkit-transform: translate3d(0, 50px, 0);
  transform: translate3d(0, 50px, 0); }
.no-touch .is-active .slideInUp {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0); }*/


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 768px) {
    h1 {
        font-size: 3em;
    }
    /* =Header */
    .header-container .wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
    }
    .header-container:before {
        font-size: 70em;
    }
    .slide section {
        max-width: 400px;
    }
    .slide .wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        text-align: left;
    }
    nav {
        display: block;
    }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *, *:before, *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a, a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    a[href^="#"]:after, a[href^="javascript:"]:after {
        content: "";
    }
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr, img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a, a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr, img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}

* {
    font-family: AllstateSans;
}

header#main-header {
    position: absolute;
    top: 0;
    left: 0;
    height: 60px;
    width: 100vw;
    background-color: #001c71;
    text-align: left;
    z-index: 100;
    position: absolute;
    z-index: 1000;
}

header#main-header .wrapper {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
}

header .logo img {
    margin-top: 4px;
    margin-left: 13px;
    display: inline-block;
}

.menu-icon {
    width: 99%;
    max-width: 178px;
    margin-right: 0.5%;
    float: left;
    text-align: center;
    padding: 29px 26px;
    height: 65px;
}

.last {
    margin-right: 0;
}

.main-feature-box {
    padding: 10px;
    width: 100%;
    max-width: 479px;
    position: absolute;
    top: 15%;
    left: 15%;
}

.main-feature-box p {
    font-size: 18px;
    line-height: 1.1;
}

.bg-blue {
    background-color: #001c71;
}

.bg-orange {
    background-color: #ff9e16;
}

.txt-white {
    color: #FFF;
}

.txt-blue {
    color: #001c71;
}

.content {
    width: 100vw;
    height: 100vh;
    position: relative;
}

#content00 {
    /*margin-top:-100vh;*/
}

#page {
    width: 100vw;
    height: 100vh;
}

#slide00, #slide01, #slide02, #slide03, #slide04 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 100% 100%;
    background-position: center center;
    background-size: cover;
    object-fit: cover;
}

#content01, #content02, #content03, #content04 {
    z-index: 200;
    position: relative;
}

#slide01 {
    z-index: 155;
}

#slide02 {
    z-index: 154;
}

#slide02 {
    z-index: 153;
}

#slide03 {
    z-index: 152;
}

#slide04 {
    z-index: 151;
}

#view-box {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 160;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.fadeOut {
    -webkit-animation: fade 1s;
    -moz-animation: fade 1s;
    -o-animation: fade 1s;
    animation: fade 0.5s;
}

@keyframes fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        /*z-index:-1;*/
    }
}

.fadeOut {
    opacity: 0;
}

.fadeIn {
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        /*z-index:-1;*/
    }
}

.fadeIn {
    opacity: 1;
}

.box {
    width: 100%;
    max-width: 400px;
    padding: 22px 27px;
}

.main-feature-box {
    width: 100%;
    max-width: 479px;
    padding: 22px 27px;
}

* {
    font-family: 'Allstate Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.menu-icon {
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'ITC Avant Garde Gothic';
    /*font-size: 48px;*/
    font-size:36px;
    font-weight: bold;
    /*line-height: 0.9;*/
    line-height:1;
}

.box h3 {
    padding: 0;
    margin: 0;
}

footer {
    padding: 26px;
}

footer p {
    font-size: 12px;
    font-weight: 300;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

div.icon-menu {
    position: absolute;
    bottom: 27px;
}

.menu-desktop {
    position: absolute;
    width: 100%;
    bottom: 27px;
}

.menu-mobile {
    position: absolute;
    width: 100%;
    bottom: 27px;
}

.menu-row-mobile {
    width: 470px;
    margin: 0 auto;
}

.menu-icon {
    margin-bottom: 6px;
}

.footer-tagline {
    width: 100%;
    max-width: 506px;
    height: auto;
    float: left;
    /*margin-right:25px;*/
}

.header-cta, .footer-cta, .main-feature-box-cta {
    max-width: 145px;
    height: auto;
    float: right;
}

.main-feature-box-cta {
  float:left;
  border:solid 1px #001c71;
}

.footer-cta-quote {
    margin-right: 10px;
}

.footer-tagline-cta {
    margin-bottom: 32px;
    width: 96%;
    padding-left: 2%;
}

.footer-logo {
    margin-bottom: 20px;
}

footer.wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 25px 0 15px 0;
}

header .wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

header .logo, .header-cta-box {
    float: left;
}

.header-cta-quote, .header-cta-agent {
    margin-right: 10px;
}

header .logo {
    width: 20%;
    padding-top: 8px;
}

.header-tagline {
    display: none;
}

.header-cta-box {
    width: 80%;
    padding-top: 8px;
}

@media only screen and (max-width: 831px) {
    .footer-tagline {
        width: 96%;
        padding-left: 2%;
        margin-bottom: 25px;
    }
    .footer-cta-box {
        width: 96%;
        padding-left: 2%;
        display: block;
        width: 100%;
        padding-top: 25px;
    }
    .footer-cta {
        float: none;
    }
}

.menu-row-mobile {
    display: none;
}

@media only screen and (max-width:960px) {
    .menu-row-mobile {
        display: block;
    }
    .menu-row-desktop {
        display: none;
    }
}

@media only screen and (max-width:860px) {
    .footer-tagline {
        width: 96%;
        padding-left: 2%;
        display: none;
    }
    .header-tagline {
        width: 250px;
        display: block;
        padding-left: 2%;
        float: right;
        padding-top: 8px;
        margin-right: 10px;
    }
    .footer-cta-box {
        padding: 0;
    }
    .header-cta-box {
        display: none;
    }
}

@media only screen and (max-width: 745px) {
    .main-feature-box {
        width: 100%;
        top: 60px;
        left: 0;
        padding: 11px 0;
        max-width: 100%;
        text-align: center;
    }
    .main-feature-box h1 {
        font-size: 34px;
    }
    .main-feature-box p {
        font-size: 14px;
    }
    .main-feature-box h1, .main-feature-box p {
        width: 95%;
        /*margin:0 auto;*/
        margin: 0;
    }
}

@media only screen and (max-width: 600px) {
    .wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .box {
        width: 100%;
    }
    .menu-row {
      /*width:100%;*/
      max-width:none;
      margin:0 auto;
    }
    .menu-icon {
            width: 35%;
        font-size: 12px;
    }
}

@media only screen and (max-width: 400px) {
    .box {
        padding: 5px;
        max-width: none;
    }
    .box h3, .box p {
        width: 95%;
    }
    .box h3 {
        font-size: 44px;
    }
    .box p {
        font-size: 14px;
    }
}
