/*
    @Name: reset | @Author: Cherry.liu
====================================================================================== */
/* Reset */
* {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    box-shadow: none;
    list-style: none;
    box-sizing: border-box;
}
a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none;
}
body {
    font-family: Roboto, Helvetica, Arial, "Helvetica Neue", Tahoma, sans-serif;
    font-size: 18px;
    color: #303030;
    line-height: 1.4;
    background: #fff;
}


/* Placeholder */
input::-o-input-placeholder ,
textarea::-o-input-placeholder {
    color: #a3a3a3;
}
input:-ms-input-placeholder ,
textarea:-ms-input-placeholder {
    color: #a3a3a3;
}
input::-moz-placeholder ,
textarea::-moz-placeholder {
    color: #a3a3a3;
}
input::-webkit-input-placeholder ,
textarea::-webkit-input-placeholder {
    color: #a3a3a3;
}
input:-webkit-autofill ,
textarea:-webkit-autofill ,
select:-webkit-autofill {
    background-color: transparent!important;
    background-image: none;
    color: #a3a3a3;
}


/* Gird */
.container {
    width: 1060px;
    margin-left: auto;
    margin-right: auto;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1em;
    margin-right: -1em;
}
.col {
    flex: 1 0 0%;
}
.col, 
.col-sm , 
.col-md ,
.col-sm-4 , 
.col-sm-8 {
    position: relative;
    max-width: 100%;
    padding-left: 1em;
    padding-right: 1em;
}
.col-sm , 
.col-md ,
.col-sm-4 ,
.col-sm-8 {
    flex: 0 0 100%;
}
@media(min-width: 1024px) {
    .col-md {
        flex: 1 0 0%;
    }
}
@media(min-width: 768px) {
    .col-sm {
        flex: 1 0 0%;
    }
    .col-sm-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-sm-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}
@media(max-width: 767px){
    .order-xs-last{
        order: 13;
    }
}

/* Align */
.align-items-start {
    align-items: start!important;
}
.align-items-center {
    align-items: center!important;
}
.align-items-end {
    align-items: flex-end!important;
}
.align-self-start {
    align-self: flex-start!important;
}
.align-self-center {
    align-self: center!important;
}
.align-self-end {
    align-self: flex-end!important;
}
.w-100 {
    width: 100%!important;
}
@media (max-width: 1199px) {
    .container {
        width: 100%;
        padding-left: 2em;
        padding-right: 2em;
    }
}

/* Text */
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.uppercase {
    text-transform: uppercase;
}
.font-bold {
    font-weight: 700;
}


/* Form */
.form-group {
    margin-bottom: 1.2em;
}
.form-label {
    display: block;
    margin-bottom: 0.4em;
    font-size: 16px;
}
.form-control {
    padding: 0.8em;
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    border-radius: 0.4em;
    border: 1px solid #e0e0e0;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    background: #fff url(../images/arrowdown.png) no-repeat 97% center;
    padding-right: 3em;
}
.btn,
a.btn ,
button.btn {
    display: inline-block;
    padding: 0.8em;
    font-size: 16px;
    line-height: 20px;
    border-radius: 0.4em;
    text-align: center;
    cursor: pointer;
}
.btn-block {
    display: block;
    width: 100%!important;
}


/* radio  */
.radio input[type=radio]{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.radio {
  position: relative;
  display: inline-block;
  line-height: 22px;
  min-height: 22px;
  padding-left: 28px;
  font-size: 16px;
}
.radio.block {
    width: 100%;
}
.radio .control-icon,
.radio .control-border {
  display: block;
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
}
.radio .control-icon:after {
    display: block;
    content: " ";
    width: 10px;
    height: 10px;
    margin: 3px;
    border-radius: 50%;
}
.radio .control-icon {
    position: absolute;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    border-color: #e0e0e0;
    border-radius: 50%;
}
.radio-btn {
    padding: 0.8em 0.8em 0.8em 2.6em;
}
.radio-btn .control-icon {
    top: 0.8em;
    left: 0.8em;
}
.radio-btn .control-border {
    border: 1px solid #e0e0e0;
    border-radius: 0.4em;
}
.radio input[type=radio]:checked + .control-icon {
  border-color: #5B8633;
}
.radio input[type=radio]:checked + .control-icon:after {
  background: #5B8633;
}
.radio.radio-btn input[type=radio]:checked + .control-icon + .control-border {
    border: 1px solid #5B8633;
}


/* input-group */
.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}
.input-group .form-control, .input-group-addon, .input-group-btn {
    display: table-cell;
}
.input-group-addon, .input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}
.input-group-addon:first-child {
    border-right: 0;
    border-radius: 0.4em 0 0 0.4em;
}
.input-group .form-control:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group-addon {
    padding: 0.8em;
    color: #888;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 0.4em;
    cursor: default;
}
.input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}


/* margin */
.mb-sm {
    margin-bottom: 0.8em;
}
.mb-md {
    margin-bottom: 1.8em;
}

/* header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1em 0;
    color: rgba(255,255,255,0.8);
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    background: rgba(0,0,0,0.32);
}
.header .row .col-sm:first-child {
     flex: 4;
}
.header .tel {
    display: inline-block;
    font-size: 16px;
    padding: 0.3em 0.6em;
    color: #fff;
    border-radius: 0.4em;
    cursor: pointer;
}


/* Footer */
.footer {
    padding: 1em 0;
    color: #888;
    font-size: 0.7em;
    text-align: center;
    background: #f7f7f7;
    border-top: 1px solid #e0e0e0;
}
.footer .link {
    cursor: pointer;
}


/* banner */
.banner .slogan {
    color: #fff;
    font-size: 42px;
    line-height: 1.6;
}
.slogan .title {
    font-size: 52px;
    line-height: 1.3;
    font-weight: 700;
}
.slogan .content {
    margin-top: 20px;
    font-size: 34px;
    line-height: 1.5;
}
.form-box .form {
    margin-bottom: 1.4em;
}
.form-box .form-head {
    padding: 1em 1.6em;
    color: #fff;
    text-align: center;
    border-radius: 0.6em 0.6em 0 0;
}

.form-box .form-head .title {
    font-weight: 700;
    font-size: 1.6em;
    color: #FFFFFF;
    text-align: center;
}
.form-content {
    padding: 1.6em;
    background: #FFFFFF;
    border-radius: 0 0 0.6em 0.6em;
}
.form-box .row {
    margin-left: -0.6em;
    margin-right: -0.6em;
}
.form-box .col,
.form-box .col-sm {
    padding-left: 0.6em;
    padding-right: 0.6em;
}
.form-box .other-info {
    font-size: 12px;
    text-align: center;
    opacity: 0.64;
}
.banner.full-page{
    position: absolute;
    width: 100%;
    height: 100%;
}
.banner.full-page .mask {
    display: flex;
    height: 100%;
    align-items: center!important;
}


/* Modal */
.modular {
    padding: 3em 0;
}
.modular-title {
    font-family: Roboto-Bold;
    font-weight: 700;
    font-size: 1.8em;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

/* Congratulations */
.congratulations-box {
    color: #303030;
    padding: 3.5em 2em 3em 2em;
    text-align: center;
    background: #fff;
    border-radius: 0.6em; 
    margin: 0 auto;
}
.congratulations-title {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 0.4em;
    text-align: center;
}
.privacy-box {
    color: #a3a3a3;
    font-size: 0.8em;
    border-top: 1px solid #e0e0e0;
    padding-top: 0.8em;
}
.congratulations-box.call-box {
    padding: 2.4em 2em 4em 2em;
    width: 680px;
}
.call-box .congratulations-title {
    margin: 0;
}
.call-box .title-dividing {
    margin: 0.2em 0 0.8em 0;
}
.call-box .btn {
    font-size: 20px;
    padding: 1em;
    width: 220px;
    font-weight: 700;
}
.title-dividing {
    width: 100%;
    height: 10px;
    border-top: 4px solid #EB8A67;
    border-bottom: 2px solid #EB8A67;
}


/* Mobile */
@media (max-width: 1023px) {
    .banner .slogan {
        margin-bottom: 20px;
        font-size: 32px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
        line-height: 1.5;
    }
    select {
        background: #fff url(../images/arrowdown.png) no-repeat 95% center;
        padding-right: 3em;
    }
    .container {
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;
    }
    .text-xs-center {
        text-align: center;
    }
    .header .tel {
        margin-top: 0.4em;
    }
    .banner .slogan {
        font-size: 24px;
        line-height: 1.2;
    }
    .slogan .title {
        font-size: 24px;
        line-height: 1.2;
    }
    .slogan .content {
        margin-top: 8px;
        font-size: 14px;
    }
    .modular {
        padding: 2em 0;
    }
    .modular .btn {
        width: 100%;
    }
    .banner.full-page .mask {
        padding: 0 0 3em 0;
    }
    .congratulations-box.call-box {
        width: 100%;
    }
}
