@charset "UTF-8";

/*!
 * modals.css -https://3e96115d-7ffe-4b4d-a55c-cca0531a735a.p.bardy.io
 */


/***********************************
General Overwrite Styles
***********************************/
.modal {
    max-height: 100%;
}

.modal .modal-dialog {
    height: 90%;
}

/*
commented out as it was causing text overflow issues at the 200% zoom
.modal .modal-dialog .modal-content {*/
    /*max-height: 90%;*/
/*}*/

/*.modal .modal-dialog .modal-content .modal-body {*/
    /*height: 90%;*/
/*}*/

.modal-content {
    padding: 26px 30px;
    border-radius: 30px;
}

.modal-content .modal-header, .modal-content .modal-footer, .modal-content .modal-body {
    border: none;
    padding: 0;
}

.modal-header button.close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-block;
    background: url('/uiassets/btn-close.png') 0 0 no-repeat;
    width: 30px;
    height: 30px;
    z-index: 20;
    text-indent: -9999px;
    overflow: hidden;
}

.close {
    filter: alpha(opacity=50);
    opacity: .5;
}

.close:hover, .close:focus {
    filter: alpha(opacity=100);
    opacity: 1;
}

.modal-header .modal-title {
    font-size: 24px;
    margin-top: 0;
    font-weight: normal;
    display: block;
    margin-right: 20px;
    margin-bottom: 15px;
    line-height: 1;
}

.modal-footer {
    margin-top: 27px;
    text-align: center;
}

.modal-content a.button {
    display: block;
    text-align: center;
    padding: 10px 12px;
    margin: 10px auto;
    width: 60%;
}

.modal-footer .btn-primary {
    width: 100%;
    max-width: 300px;
}

.modal-dialog {
    margin: 90px auto 0;
}

.modal-footer .button.btn-primary {
    display: block;
    margin: 0 auto 10px;
    text-align: center;
}

.modal-body p {
    font-size: 14px !important;
}

.modal-body:after {
    content: '';
    clear: both;
    display: block;
}

.modal .modal-dialog .modal-content .modal-body {
    max-height: 400px !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal .modal-dialog .modal-content {
    padding: 26px 30px 0;
    border-radius: 30px;
}

.modal .modal-dialog .modal-content .modal-footer {
    padding: 15px;
    margin-top: 0;
}

.modal .modal-dialog .modal-content .modal-footer .button.btn-primary, .modal .modal-dialog .modal-content .modal-footer .button.btn-primary, .modal .modal-dialog .modal-content .modal-footer .button.btn-cancel, a.button.secondary {
    margin: 0 auto;
    border-radius: 5px;
    white-space: nowrap;
}

.modal .btn-primary:hover, .modal .btn-primary:focus, .modal .btn-primary.focus, .modal .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    color: #ffffff;
    background-color: #286090;
    border-color: #204d74;
    text-decoration: none;
}
.modal-content h5 {

    margin: 0;
    clear: both;
}

.modal-body h2 {
    font-size: 14px;
    font-weight: normal;
    color: #000;
    border-bottom: solid 1px #a6a6a6;
    padding: 0 0 10px 0;
}

button.close.modal-header-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-block;
    background: url('/uiassets/btn-close.png') 0 0 no-repeat;
    width: 30px;
    height: 30px;
    z-index: 20;
    text-indent: -9999px;
    overflow: hidden;
}

/***********************************
General Styles
***********************************/
.modal-content .button.secondary {
    padding: 11px;
    width: 100%;
    min-width: 120px;
    background-color: #FFFFFF !important;
    border: 1px solid #3170b7 !important;
    color: #3170b7 !important;
    /*-webkit-box-shadow: inset 0 0 0 1px rgba(27,117,187,1);*/
    /*box-shadow: inset 0 0 0 1px rgba(27,117,187,1);*/
    white-space: nowrap;
}

.modal-content .button.secondary:hover {
    color: #12508d !important;
    -webkit-box-shadow: inset 0 0 0 1px rgba(29,92,153,1);
    box-shadow: inset 0 0 0 1px rgba(29,92,153,1);
}

.modal-content a.topic_fold {
    cursor: pointer;
    font-size: 14px;
    padding-left: 18px;
    position: relative;
}

.modal-content a.topic_fold span.nub {
    background: url('/uiassets/nub-arrow.png') no-repeat;
    display: block;
    width: 15px;
    height: 15px;
    left: 0;
    position: absolute;
    top: 2px;
}

.modal-content a.topic_fold:hover span.nub {
    background: url('/uiassets/nub-arrow-hover.png') no-repeat;
}

.modal-content a.topic_fold span.nub.expanded {
    background: url('/uiassets/nub-arrow-expanded.png') no-repeat;
    left: 0;
    top: 2px;
}

.modal-content a.topic_fold:hover span.nub.expanded {
    background: url('/uiassets/nub-arrow-expanded-hover.png') no-repeat;
}

.modal-content .sub_topic {
    display: none;
    padding-left: 18px;
}

.modal-footer.align-left {
    text-align: left;
}

/***********************************
Two Column Styles
***********************************/
#chooseDevice .two-col {
    padding-bottom: 10px;
}

.row.hoz-sep-line:nth-of-type(2) {
    padding-bottom: 26px;
}

.two-column .col-one, .two-column .col-two {
    text-align: center;
}

.two-column .hoz-sep-line {
    background: url('/uiassets/modal_hor_line.png') no-repeat center;
}

.two-column .device-cart-image {
    width: 26%;
    margin-bottom: 10px;
}

.two-column .plan-cart-image {
    margin-top: 10px;
    margin-bottom: 15px;
}

.two-col h4 {
    margin-top: 0;
}

.two-col .button {
    width: 100%;
}

.two-col #deviceIMEI {
    margin-bottom: 0;
}

@media (max-width: 581px) {
    a.button.secondary {
        width: 100%;
    }
}

@media ( max-width: 480px) {
    .modal-header .modal-title {
        margin-right: 35px;
    }

    .modal.fade .modal-dialog {
        -webkit-transform: translate(125%, 0);
        -ms-transform: translate(125%, 0);
        -o-transform: translate(125%, 0);
        transform: translate(125%, 0);
        -webkit-transition: -webkit-transform 1s ease-out;
        -o-transition: -o-transform 1s ease-out;
        transition: transform 1s ease-out;
    }

    .modal.show .modal-dialog {
        -webkit-transform: translate(3%, 0);
        -ms-transform: translate(3%, 0);
        -o-transform: translate(3%, 0);
        transform: translate(3%, 0);
    }

    .modal .modal-dialog .modal-content .modal-body {
        height: auto;
    }

    .modal-dialog {
        width: 97% !important;
        height: 100% !important;
        padding: 0;
        margin: 0;
    }

    .modal-content {
        height: 100%;
        border-radius: 0;
    }

    .modal .modal-dialog .modal-content {
        border-radius: 0;
    }

    .modal-content {
        padding: 10px 15px;
    }

    body.shop #displayFullCart .modal-content {
        padding: 15px !important;
    }

    body.shop #displayFullCart .modal-title {
        font-size: 12px;
    }

    body.shop #displayFullCart .modal-heading {
        font-size: 10px !important;
    }

    body.shop #displayFullCart .hoz-sep-line * {
        font-size: 10px !important;
    }

    body.shop #displayFullCart .hoz-sep-line img.plan-cart-image {
        height: 30px;
    }

    body.shop #displayFullCart .modal-footer, body.shop #displayFullCart .modal-footer * {
        font-size: 10px;
    }
}

