/*download dialog*/
.modal-dialog {
    top: 160px;
    font-family: 'Myriad Pro', Helvetica, Arial, sans-serif;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.modal-dialog h3,
.modal-dialog h2,
.modal-dialog h4,
.modal-dialog h5,
.modal-dialog h6,
.modal-dialog p {
    color: #333;
}

.modal-dialog h3 {
    font-size: 2.4rem;
}

.modal-dialog p {
    font-family: 'Myriad Pro', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 2.0rem;
}

.modal-dialog .modal-content {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: url(/assets/images/modal/download-popout-bg.png) no-repeat 0 0;
    -webkit-background-size: 100%;
    background-size: 100%;
    padding-bottom: 26px;
}

.modal-dialog .form-group .form-control {
    border-left: none;
    border-right: none;
    border-top: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}

.modal-dialog .form-group .form-control:focus {
    background-color: #fff;
}

.modal-dialog .modal-header h3 {
    margin-bottom: 0;
}

.modal-dialog .modal-header {
    border-bottom: 0 none;
    padding-top: 48px;
}

.modal-dialog .modal-header .close {
    position: relative;
    top: -15px;
    right: 22px;
}

@media all and (min-width: 768px) {

    .modal-dialog .modal-body {
        padding: 0 80px 40px 80px;
    }

    .modal-dialog .modal-body .form-group {
        width: 78%;
        margin: 35px auto 0 auto;
    }

    .modal-dialog .modal-header > h3, .modal-dialog .modal-body > p {
        width: 98%;
        margin: auto;
    }
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 690px;
    }

    .modal-dialog .modal-content {
        padding-bottom: 40px;
    }
}

.modal-dialog .modal-footer {
    background-color: #f7f1ea;
    color: #333;
    margin: 0 25px 0 27px;
    padding-bottom: 45px;
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}

.modal-dialog .modal-footer .btn {
    font-size: 14px;
    font-weight: normal;
    min-width: 130px;
    height: 32px;
    line-height: 32px;
    padding: 0;
    margin-bottom: 0;
}

.modal-dialog .modal-footer .f-18 {
    font-size: 1.8rem;
    text-align: left;
}

.modal-dialog .modal-footer p {
    font-family: 'Myriad Pro', Helvetica, Arial, sans-serif;
    text-align: left;
    padding: 10px 0 0 0;
}

.modal-dialog .modal-footer .col-md-8 > p:first-child {
    padding-top: 20px;
}

.modal-dialog .modal-footer strong {
    color: #ff9900;
    font-weight: bold;
}

.modal-dialog .modal-body .price-item {
    text-align: left;
}

.modal-dialog .modal-footer .price-item .sale-price {
    color: #ff9900;
    font-size: 2.2rem;
}

.modal-dialog .modal-footer .col-md-4 {
    text-align: center;
}

@media (max-width: 1199px) {
    .modal-dialog .modal-footer {
        margin: 0 25px -10px 27px;
        padding-top: 25px;
    }
}

@media (min-width: 1200px) {
    .modal-dialog .modal-content {
        padding-bottom: 26px;
    }
}

@media (max-width: 767px) {
    .modal .modal-content {
        background-image: none;
        background-color: #fff;
        padding-bottom: 0;
    }

    .modal-content .form-group {
        margin-top: 35px;
        text-align: center;
    }

    .modal-content .form-group .form-control {
        text-align: center;
    }

    .modal-footer {
        margin: 0 auto;
        text-align: center;
        padding-bottom: 25px;
        padding-top: 15px;
    }

    .modal-footer p, .modal-footer .col-md-8 p {
        text-align: center;
    }
}

.btn.focus, .btn:focus, .btn:hover {
    color: #fff;
}

.modal {
    z-index: 10086;
}

.btn .glyphicon-refresh {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
    -webkit-animation: loopRotate 2s infinite linear;
    -o-animation: loopRotate 2s infinite linear;
    animation: loopRotate 2s infinite linear;
}

.modal-dialog.modal-sm {
    width: auto;
    max-width: 400px;
}
#am-dialog .modal-dialog .modal-content {
    background: none;
    padding-bottom: inherit;
    border: 0 none;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
#am-dialog .modal-dialog .modal-footer {
    padding: 6px 0 13px 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    margin: 0;
    background: #fff;
    border-top: 0 none;
}
#am-dialog {
    font-family: 'Myriad Pro', Segoe UI, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#am-dialog .modal-dialog .modal-header {
    padding: 16px 0 4px 0;
    border-bottom: 1px solid #dedede;
    position: relative;
    background-color: #F8F8F8;
}
#am-dialog .modal-dialog .modal-header > h4, #am-dialog .modal-dialog .modal-body > p {
    width: auto;
    padding-left: 10px;
    padding-right: 15px;
}
#am-dialog .btn.btn-sm {
    height: 28px;
    line-height: 28px;
    padding: 0 15px;
}
#am-dialog .modal-header .close {
    position: absolute;
    top: 10px;
    right: 11px;
}
#am-dialog .modal-dialog .modal-body {
    padding: 10px 0 15px;
    background-color: #fff;
}

.link-as {
    display: block;
}

.banner .link-as {
    margin-top: 33px;
}

.link-group {
    display: inline-block;
    vertical-align: middle;
}

.link-group > a {
    margin-bottom: 0;
}

.link-group > p {
    font-size: 1.2rem;
    font-family: 'Myriad Pro', Helvetica, Arial, sans-serif;
}


.link-as .btn:first-child {
    margin-bottom: 5px;
}

.form-group .link-as {
    display: inline-block;
    margin-bottom: 20px;
}

.form-group .btn-link {
    color: #000066;
    margin: 0;
    padding: 0;
    font-size: 12px;
    height: auto;
    line-height: normal;
    width: auto;
}

.form-group .btn-link:hover {
    text-decoration: underline;
    color: #000066;
}

.btn-link {
    display: block;
}


.btn-yellow {
    background-color: #ff9900;
}

.rel {
    position: relative;
}

.rel .info {
    position: absolute;
    bottom: -27px;
    left: 0;
    width: 100%;
    line-height: 2.6rem;
    z-index: 123456;
}

.info.error {
    color: #ff0c0c;
}

.info.success {
    color: #00B050;
}

.form-group.has-error .form-control {
    border-color: #ff0c0c;
}

#am-dialog .modal-inner {
    background: #f7f1ea;
    -webkit-background-size: cover;
    background-size: cover;
    margin: -1px 15px -1px 15px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    overflow: hidden;
}
#am-dialog .btn {
    max-width: none;
    min-width: auto;
    height: auto;
    line-height: normal;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-right: 10px;
}

/** style of this page*/
.am-modal {
    display: block;
}
#am-modal-downloaded {
    display: none;
}
.modal-innerbox {
    background:url(/assets/images/modal/modal-bg.png) no-repeat center;
    -webkit-background-size: cover;
    background-size: cover;
    overflow: hidden;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 30px 35px 45px 35px;
}
.am-modal .modal-dialog .modal-header {
    padding: 0;
}
.am-modal .modal-dialog .modal-body {
    padding: 0;
}
.am-modal .modal-content {
    top: 150px;
    background: #fff none;
    -webkit-background-size: cover;
    background-size: cover;
    padding: 0;
}
.am-modal .link-as .btn {
    margin-bottom: 0;
}
.am-modal .link-as .btn:first-child {
    margin-right: 30px;
}
.am-modal .img-responsive {
    max-width: none!important;
}
.am-modal .rp-info {
    margin-bottom: 20px;
}
.am-modal .rp-info > span {
    display: inline-block;
    vertical-align: middle;
}
.am-modal .rp-info p span:first-child {
    margin-right: 100px;
}
.am-modal .rp-info p:first-child {
    margin-bottom: 15px;
}
.am-modal .modal-header > h3,.am-modal .modal-body > p {
    width: auto;
    display: block;
}
.am-modal .modal-header > h3 {
    color: #091871;
    font-family: 'helvetica Blk', 'Myriad Pro', Segoe UI, "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align:center;
    margin-bottom: 20px;
}
.am-modal .modal-header .close {
    top: -15px;
    right: -15px;
}
.am-modal .media-left, .media>.pull-left {
    padding-right: 35px;
}

@media all and (max-width: 768px) {
    .am-modal .media-body {
        width: auto;
    }
}
@media all and (max-width: 576px) {
    .am-modal .link-as .btn {
        width: 100%;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
    .am-modal .link-as .btn:first-child {
        margin-right: auto;
        margin-bottom: 15px;
    }
}
/*downoad dialog*/