/* ------ Animações ------ */
@-webkit-keyframes slide-in-up {
    from {
        -webkit-transform: translateY(-500px) scale(0);
                transform: translateY(-500px) scale(0);
        opacity: 0;
    }
    to {
        -webkit-transform: translateY(0px) scale(1);
                transform: translateY(0px) scale(1);
        opacity: 1;
    }
}
@keyframes slide-in-up {
    from {
        -webkit-transform: translateY(-500px) scale(0);
                transform: translateY(-500px) scale(0);
        opacity: 0;
    }
    to {
        -webkit-transform: translateY(0px) scale(1);
                transform: translateY(0px) scale(1);
        opacity: 1;
    }
}
@-webkit-keyframes slide-out-up {
    from {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
    }
    to {
        -webkit-transform: translateY(-500px);
                transform: translateY(-500px);
        opacity: 0;
    }
}
@keyframes slide-out-up {
    from {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
    }
    to {
        -webkit-transform: translateY(-500px);
                transform: translateY(-500px);
        opacity: 0;
    }
}

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

h1 {
    font-size: 32px;
    font-weight: 700;
    color: #FFF;
}
@media (min-width: 768px) {
    h1 { font-size: 48px; }
    h2 { font-size: 18px; line-height: 20px; }
}
h2 {
    font-size: 16px;
    line-height: 20px;
    color: #FFF;
    max-width: 565px;
    margin-top: 20px;
    font-weight: 400;
}
h3 {
    font-size: 30px;
    color: #3f3f3f;
    text-transform: uppercase;
}

.area {
    font-family: 'Proxima Nova Regular', sans-serif;
    width: 100%;
    min-height: 1px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #FFFFFF;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.area-center {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    clear: both;
}
.area-header {
    background-image: url('../img/back-como-funciona.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding-top: 165px;
    padding-bottom: 230px;
    max-height: 700px;
}
.area-default {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 700px;
}
.area-grey {
    background-color: #eeeeee;
}
.area-footer {
    background-color: #EA404F;
    padding: 90px 0;
    text-align: center;
}
.area-footer h1 {
    font-family: "Proxima Nova Bold";
    font-size: 36px;
    padding-bottom: 20px;
}
.area-footer a {
    font-family: "Proxima Nova Bold";
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 13px;
    padding: 15px 40px;
    border-radius: 30px;
    border: 1px solid #FFF;
    color: #FFF;
    text-transform: uppercase;
    -webkit-transition: 240ms linear all;
    transition: 240ms linear all;
}
.area-footer a:hover {
    color: #EA404F;
    background-color: #FFF;
    text-decoration: none;

}
.area-heading {margin-bottom: 100px;}
.area-heading-text {
    float: left;
    width: 50%;
    max-width: 410px;
    position: relative;
    z-index: 1;
}
.area-heading-text:after {
    content: ' ';
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Proxima Nova Bold', sans-serif;
    font-size: 220px;
    color: #eeeeee;
    z-index: -1;
}
.area-heading-text-1:after {content: '1';}
.area-heading-text-2:after {content: '2'; color: #e0e0e0;}
.area-heading-text-3:after {content: '3';}

.area-heading-text h3 {
    font-family: 'Proxima Nova Bold', sans-serif;;
    margin-top: 84px;
    margin-bottom: 40px;
}
.area-heading-text p {font-size: 16px; line-height: 20px;}
.area-heading-image {float: right; width: 50%; }
.area-heading-image img { width: 100%; }

.slide-box {
    height: 333px;
    float: left;
    text-align: center;
    padding: 30px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin-bottom: 40px;
}
.slide-width-33 {width: 33%;}
.slide-width-50 {width: 50%;}
.box-image {
    height: 60px;
}
.slide-box h5 {
    font-size: 18px;
    padding-top: 30px;
    margin-bottom: 10px;
    height: 80px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.slide-box p {font-size: 14px; line-height: 18px;}
.slide-box-controls {display: none;}
.slide-box-active {-webkit-transform: translateY(0px) !important;transform: translateY(0px) !important; opacity: 1;}
.slide-in-up {-webkit-animation: slide-in-up 500ms;animation: slide-in-up 500ms; -webkit-transform: translateY(0px); transform: translateY(0px); opacity: 1;}
.slide-out-up {-webkit-animation: slide-out-up 1500ms;animation: slide-out-up 1500ms; -webkit-transform: translateY(-500px); transform: translateY(-500px); opacity: 0;}

/* ----------------------
        Responsivo
------------------------- */
@media (max-width: 768px){
    .area-heading-text,
    .area-heading-image {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .area-heading-text {
        margin-bottom: 60px;
    }
    .area-heading-text:after {
        left: 90px;
    }
}

/* ------------------------------
    Exibe os icones em Slide
    em telas menos que 658px
------------------------------ */
@media (max-width: 658px){
    .area-heading-text:after {
        left: 0;
    }
    .area-slides {
        overflow: hidden;
        position: relative;
        height: 320px;
    }
    .slide-box {
        display: inline-block;
        -webkit-transform: translateY(-500px);
                transform: translateY(-500px);
        position: absolute;
    }
    .slide-box-controls {
        display: block;
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
    }
    .slide-box-controls .slide-box-select {
        width: 11px;
        height: 11px;
        background-color: #8c9494;
        border: none;
        color: red;
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
        font-size: 0;
    }
    .slide-box-select:hover,
    .slide-box-select-active {
        background-color: #ea404f !important;
    }
    .slide-width-33,
    .slide-width-50 {
        width: 100%;
    }
}

/* ======================================
        Carousel
===================================== */
.carousel {
  position: relative;
  margin-bottom: 20px;
  line-height: 1;
}

.carousel .p-carousel {
    width: 80%;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.carousel .h1-carousel {
    display: block;
    text-align: center;
    margin: 20px auto;
    font-size: 18px;
    color: #000;
}

.carousel .item .span6.image {
    text-align: center;
}

@media (min-width: 658px){
    .carousel-inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: distribute;
            justify-content: space-around;
    }
    #slider-1 .carousel-inner {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
    #slider-1 .carousel-inner .item {
        width: 33.3333333333%;
    }
    #slider-2 .carousel-inner {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
    .carousel-inner .item {
        width: 100%;
        max-width: 400px;
        padding: 30px;
    }
    .carousel .carousel-control,
    .carousel .carousel-pager {
        display: none;
    }
}

@media (max-width: 658px){

    .carousel-inner {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

    .carousel .item {
      position: relative;
      display: none;
      height: 240px;
      -webkit-transition: 0.6s ease-in-out left;
              transition: 0.6s ease-in-out left;
    }

    .carousel .item > img {
      display: block;
      line-height: 1;
    }

    .carousel .active,
    .carousel .next,
    .carousel .prev {
      display: block;
    }

    .carousel .active {
      left: 0;
    }

    .carousel .next,
    .carousel .prev {
      position: absolute;
      top: 0;
      width: 100%;
    }

    .carousel .next {
      left: 100%;
    }

    .carousel .prev {
      left: -100%;
    }

    .carousel .next.left,
    .carousel .prev.right {
      left: 0;
    }

    .carousel .active.left {
      left: -100%;
    }

    .carousel .active.right {
      left: 100%;
    }

    .carousel-control {
      position: absolute;
      top: 40%;
      left: 15px;
      width: 40px;
      height: 40px;
      margin-top: -20px;
      font-size: 60px;
      font-weight: 100;
      line-height: 30px;
      color: #ffffff;
      text-align: center;
      background: #222222;
      border: 3px solid #ffffff;
      border-radius: 23px;
      opacity: 0.5;
      filter: alpha(opacity=50);
      visibility: hidden;
    }

    .carousel-control.right {
      right: 15px;
      left: auto;
    }

    .carousel-control:hover {
      color: #ffffff;
      text-decoration: none;
      opacity: 0.9;
      filter: alpha(opacity=90);
    }

    .carousel-caption {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      padding: 15px;
      background: #333333;
      background: rgba(0, 0, 0, 0.75);
    }

    .carousel-caption h4,
    .carousel-caption p {
      line-height: 20px;
      color: #ffffff;
    }

    .carousel-caption h4 {
      margin: 0 0 5px;
    }

    .carousel-caption p {
      margin-bottom: 0;
    }

    .carousel .carousel-pager {
        display: block;
        list-style: none;
        text-align: center;
    }

    .carousel .carousel-pager li {
        display: inline-block;
        height: 10px; width: 10px;
        border-radius: 50%;
        overflow: hidden;
        background-color: #8c9494;
        cursor: pointer;
    }

    .carousel .carousel-pager li.active {
        color: #ea404f;
    }
}
