/**
 * Please do not edit the placeholder variables here. You can configure them on conf/presets.json.
 *
 * NOTE: Some of the Twitter Bootstrap's default style classes are modified to suit better.
 **/


/*****************************************************************************
 Bootstrap style override for both Hosted page and Portal.
 *****************************************************************************/

/* Body background, Font family, size & color */
body {
    font-size:13px;
    color:#000000;
    font-family:arial,sans-serif;
    background:#FAFAFA ;
}

/* Horizontal line */
hr{
    border-color:#D4D4D4;
}

/* href link color */
a,
.btn-link{
    color:#5E6D98;
    cursor:pointer;
}
a:hover,
.btn-link:hover,
.btn-link:focus{
    color:#2A6496;
}

/* Form field label */
label{
    font-weight:normal;
    color:#000000;
}

/* Content heading font */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family:arial,sans-serif;
    color:#666666;
}

/*address*/
address{
    margin-bottom:0;
}

/* Form field error message color*/
.text-danger {
    color:#F00F00;
}

/* Form field row and container inside navigation bar on top */
.row,
.navbar > .container > .navbar-header,
.navbar > .container > .navbar-collapse,
.form-horizontal .form-group{
    margin-left: -8px;
    margin-right: -8px;
}

/* Spacing between all the columns and container (All the columns wrapped into one of these element) */
.container, .navbar-brand, .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 8px;
    padding-right: 8px;
}

/* Wrapper element (All the columns are wrapped inside this element) */
.container {
    max-width:816px;
}

/* Margin bottom space of form group that contains field label, form input element(textbox/textarea/selectbox), error message */
.form-group {
    margin-bottom: 7px;
}

/*input and button fields */
.form-control,
.form-control:focus,
.input-group-addon,
.btn,
.btn:focus {
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    outline: none;
}

/* Background, border, font color and spacing for form input element. */
.form-control {
    font-size: 13px;
    background:#FFFFFF;
    border-color:#D6D3CE;
    color:#000000;
    padding: 6px;
    box-shadow:none;
    -webkit-box-shadow:none;
}
.form-control:focus {
    background:#FFFFFF;
    border-color:#5E6D98;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

/* This is provided here to ensure its present for the mobile devices, as Bootstrap remove this on mobile devices */
.form-inline .form-group {
    display: inline-block;
    vertical-align: middle;
}

/* Margin space for form group if placed near inline form */
.form-inline .form-group + .form-group {
    margin-left: 3px;
}

.btn-default,
.btn-primary,
.btn-danger{
    box-shadow: inset 0 -2px 0px rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: inset 0 -2px 0px rgba(0, 0, 0, 0.07);
}

/* Background, border color and text color for default form buttons */
.btn-default,
.btn-default:hover,
.btn-default:focus,
.btn-default[disabled],
.btn-default[disabled]:hover,
.btn-default[disabled]:focus{
    background:#3498DB;
    border-color:#3498DB;
    color:#FFFFFF;
}

/* Background, border color and text color for primary form buttons */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary[disabled],
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus{
    background:#3498DB;
    border-color:#3498DB;
    color:#FFFFFF;
}

/* Background, border color and text color for primary form buttons */
.btn-danger,
.btn-danger:hover,
.btn-danger:focus,
.btn-danger[disabled],
.btn-danger[disabled]:hover,
.btn-danger[disabled]:focus{
    background:#D9534F;
    border-color:#D9534F;
    color:#FFFFFF;
}

/*Block level help text for form controls.*/
.help-block {
    color:#999999;
}

/*dropdown menu contains panel section*/
.dropdown-menu.panel{
    border:1px solid #D6D3CE;
}

/*dropdown menu contains panel heading background and text color*/
.dropdown-menu>.panel-heading{
    background:#3498DB;
    color:#FFFFFF;
}

/*************************************************************
 Header and Footer with Bootstrap and ChargeBee style.
**************************************************************/

/* Header background and text color */
.navbar-static-top{
    background:#FAFAFA;
    color:#2E82FF;
}

/* Brand Logo height reset and Brand text color */
.navbar-brand {
    height:auto;
    color:#2E82FF;
}

/* Footer background, text color and few spacing style. */
.navbar-static-bottom {
    line-height: 23px;
    padding: 15px 0;
    margin: 0;
    border-radius: 0;
    text-align: center;
    color:#FFFFFF;
    background:#3498DB;
}

/*Need sticky footer, just add the "cb-sticky-footer" identifier in the HTML.*/
#cb-sticky-footer{
    margin:0!important;
}

/************************************************************
 Boostrap style override especially for Portal
 ************************************************************/

 /* Label not used in form*/
.control-label {
    color:#868686;
}

/* Break words between any two letters*/
.form-horizontal .control-label,
.form-horizontal .form-control-static{
    word-break: break-word;
}

/*
 * Navigation dropdown menu on top of the header band
 */
.navbar-collapse > .navbar-nav a{
    color:#2E82FF;
}
.navbar-collapse > .navbar-nav > .dropdown{
    margin: 12px 0 0;
}
.navbar-collapse > .navbar-nav > .dropdown > a{
    min-width: 130px;
    padding: 5px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.navbar-collapse > .navbar-nav > .dropdown > a:focus{
    background: none;
}
.navbar-collapse > .navbar-nav a:hover,
.navbar-collapse > .navbar-nav > .dropdown > a:hover,
.navbar-collapse > .navbar-nav > .dropdown.open > a,
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus{
    color:#000;
    background: #fff;
}
.navbar-collapse  .navbar-nav .dropdown-menu{
    border: none;
    min-width: 130px;
    margin-top: -2px;
}
.navbar-collapse .navbar-nav .dropdown-menu a{
    color: #000;
    font-size:13px;
    padding:3px 10px;
}
.navbar-collapse .navbar-nav .dropdown-menu a:hover{
    background: #f7f7f7;
}
.nav .caret{
    border-top-color: #fff;
    border-bottom-color: #fff;
}
.nav a:hover .caret,
.nav .open > a .caret,
.nav .open > a:hover .caret,
.nav .open > a:focus .caret{
    border-top-color: #000;
    border-bottom-color: #000;
}

/*on mobile the dropdown menu icon background color*/
.navbar-toggle .icon-bar{
    background:#2E82FF;
}

/* space out and segment sections of content*/
.page-header{
    border-color:#E3E3E3;
}

/* adjust space*/
.page-header + .table{
    margin-top:-10px;
}

/*basic alert messages.*/
.alert{
    background: transparent;
    border-radius:0;
    border-left-width:3px;
}

/*centred the alert messages.*/
.text-center  > .alert{
    display:inline-block;
}


/*info alert message background and text color.*/
.alert-info{
    border-color:#79ACC1;
    color:#72A2B6;
}

/*warning alert message background and text color.*/
.alert-warning{
    border-color:#D59E18;
    color:#E8BA49;
}

/**
 * ChargeBee's custom styles - These styles are defined to ensure better styling of various sections.
 **/

/**********************************************************
 ChargeBee styled for both Hosted page and Portal
***********************************************************/

/*combo box placeholder color*/
.cb-select-placeholder {
    color: #999;
}

/*combo box placeholder color on change*/
.cb-select-opt {
    color:#000000;
}

/* border dashed for any element which has this class */
.dashed {
    border-style: dashed;
}

/*
 * #cb-wrapper-hp holds the whole form content from ChargeBee Hosted Page
 * #cb-wrapper-ssp holds the whole form content from ChargeBee Portal
 */

#cb-wrapper-hp,
#cb-wrapper-ssp{
    margin-bottom: 30px;
    position: relative;
}

/* Heading color and top margin space inside form */
#cb-wrapper-hp h3,
#cb-wrapper-ssp h3,
#cb-wrapper-ssp .page-header{
    margin:0 0 9px;
}

/*Section with identifier for custom styling in hosted page and portal */
/*The "cb-well" class used for the purpose of background, border and spacing. Don't use the override the class until know the purpose of it.*/
#cb-main-content,
#cb-billing,
#cb-shipping,
#cb-account,
#cb-payment,
.cb-well{
    /*-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);*/
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-bottom: 15px;
    padding:15px;
    background-color:#FFFFFF;
    border: 1px solid #E3E3E3;
}

/*Links are underline inside this class*/
.cb-well a{
    text-decoration:underline;
}

/**********************************************************
 ChargeBee styled especially for Hosted page
***********************************************************/

/* Main form submit button large*/
#cb-wrapper-hp .btn-primary {
    padding-left: 35px;
    padding-right: 35px;
    font-size: 16px;
}

/*Identifier for Order summary container in checkout page & Existing card details in update card page.*/
#cb-main-content {
    line-height: 22px;
}

/*horizontal line spacing*/
#cb-main-content hr {
    margin: 5px 0;
    border-color:#E3E3E3;
}

/* Styles for heading inside order summary and card details page. */
#cb-main-content h3 {
    background:#3498DB;
    color:#FFFFFF;
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    margin: -16px -16px 9px -16px;
    padding: 9px 15px;
}

/* Reduce default bottom space on order line items list */
#cb-main-content ul {
    margin-bottom: 0;
}

/* Fix max width for input group(Coupon filed comes in the order summary section to apply discount) */
#cb-main-content .input-group {
    max-width: 250px;
}

/*order total font size larger*/
#cb-order-total{
    font-size:16px;
}

/*
 * Styles that are specific for iframe embedded hosted page using API.
 */
#chargebee-iframe #cb-wrapper-hp {
    max-width: 510px;
     margin: auto; 
	border: 1px solid #3498DB;
}

/**********************************************************
 ChargeBee styled especially for Portal
***********************************************************/

/*reduce the margin space due to error comes on bottom*/
#cb-wrapper-ssp .form-group{
    margin-bottom:0;
}

/*icon for the help text*/
.cb-icon-help{
    width:18px;
    height:18px;
    display:inline-block;
    background:url(../images/cb-icon-help.png)no-repeat;
    cursor:pointer;
    margin:0 0 -4px 2px;
}

/*#cb-progress identifier handle the alert and loading*/
#cb-handle-progress{
    position:relative;
}

/*basic alert override to be flash message*/
.cb-alert-flash{
    text-align: center;
    z-index: 999;
    position: absolute;
    left: 0;
    right: 0;
    top:0;
}

.cb-alert-flash .alert,
.cb-alert-flash .loader{
    background:#fff;
    border:1px solid #ddd;
    display: inline-block;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-box-shadow:0 0 10px 0 rgba(0, 0, 0, 0.05);
    -moz-box-shadow:0 0 10px 0 rgba(0, 0, 0, 0.05);
    box-shadow:0 0 10px 0 rgba(0, 0, 0, 0.05);
    padding:4px 8px;
}

.cb-alert-flash .alert-success{
    color:#69ad22;
}

.cb-alert-flash .alert-warning{
    color:#e8ba4a;
}

.cb-alert-flash .alert-danger{
    color:#cc3335;
}

.cb-alert-flash .alert .glyphicon{
    font-size: 14px;
    margin-right: 5px;
}

.cb-alert-flash .loader .cb-process{
    padding:1px 12px;
}

/*Subscripiton status*/
.cb-subscription-status{
    padding: 1px 6px;
    font-size: 11px;
    border-radius: 5px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 5px;    
    text-transform: uppercase;
    position: relative;
    top: -4px;
    color: #FFFFFF;
}

/*Subscripiton status future background color*/
.cb-subscription-status.future{
    background:#91388C;
}

/*Subscripiton status in trial background color*/
.cb-subscription-status.in_trial{
    background:#E8BA4A;
}

/*Subscripiton status active background color*/
.cb-subscription-status.active{
    background:#69AD22;
}

/*Subscripiton status non renewing background color*/
.cb-subscription-status.non_renewing{
    background:#555F78;
}

/*Subscripiton status cancelled background color*/
.cb-subscription-status.cancelled{
    background:#CC3335;
}

/*Identifier contains the login,signup,change password,manage subscription,account,billing form.*/
#cb-user-content{
    margin:0 auto;
    max-width:480px;
}

/*
 * #cb-content hold the contents of account,billing,shipping,card,invoice details.
 */

/*horizontal line*/
#cb-content hr{
    border-style:dashed;
    border-color:#E3E3E3;
    margin:10px 0;
}

/*heading text formatting to bold*/
#cb-content .h3,
#cb-content .h4{
    font-weight:bold;
}

/*Order list border bottom and spacing*/
.cb-subscribed-items li{
    padding:7px 0;
    border-bottom:1px dashed #E3E3E3;
}

/*Order total font size increase*/
.cb-subscribed-total{
    font-size:28px;
}

/*Invoice table border top & bottom*/
#cb-portal-invoice-table{
    border-top:1px solid #E3E3E3;
    border-bottom:1px solid #E3E3E3;
}

/*Invoice table border color*/
#cb-portal-invoice-table td{
    border-color:#E3E3E3;
}

/*Subscription manage list styled, border bottom and spacing*/
.cb-subscription-manage dl{
    padding:12px 0;
    margin:0;
}

/*Subsciption more the one has border on top*/
.cb-subscription-manage dl + dl{
    border-top:1px dashed #E3E3E3;
}

/*override the padding*/
.cb-subscription-manage dt,
.cb-subscription-manage dd{
    padding:0;
}

/*glyphicon spacing for specific places*/
#cb-content .page-header a .glyphicon,
#cb-portal-invoice-table .glyphicon{
    margin:0 5px;
}

/*Invoice success color*/
#cb-portal-invoice-table .text-success,
.cb-portal-invoice-details .text-success{
    color:#69ad22;
}

/*Invoice payment due color*/
#cb-portal-invoice-table .text-warning,
.cb-portal-invoice-details .text-warning{
    color:#e8ba4a;
}

/*Invoice Not paid color*/
#cb-portal-invoice-table .text-danger,
.cb-portal-invoice-details .text-danger{
    color:#cc3335;
}
/*
 * Media queries to assign different style depending on browser window size.
 */
@media (min-width: 600px) {
    .navbar > .container .navbar-brand {
        margin-left:0;
        padding-left:0;
    }
    .navbar > .container > .navbar-header,
    .navbar > .container > .navbar-collapse ,
    .navbar-nav.navbar-right:last-child{
        margin-left:0;
        margin-right:0;
    }
    #cb-main-content strong {
        font-weight: normal;
    }
    #cb-handle-progress{
        min-height: 50px;
    }
    .cb-portal-invoice-desc{
        max-width:265px;
        display:inline-block;
    }
    .cb-portal-invoice-details{
        margin-left:13px;
    }    
}
@media (max-width: 600px) {
    h1, h2, h3, .h1, .h2, .h3 {
        font-size: 18px;
        margin-top: 10px;
    }
    h4, h5, h6, .h4, .h5, .h6{
        font-size:15px;
    }
    .center-xs {
        float: none !important;
        clear: both;
        text-align: center;
        display: block;
    }
    .center-xs + .center-xs {
        margin-top: 7px;
    }
    #cb-portal-invoice-table td {
        display: block;
        border: none;
        text-align: right;
        padding:5px;
    }
    #cb-portal-invoice-table td[data-cb-invoice]:before {
        content: attr(data-cb-invoice);
        float: left;
        color:#868686;
    }
    #cb-portal-invoice-table td:last-child{
        border-bottom:1px solid #E3E3E3!important;
    }
}
@media (min-width: 480px) {
    #cb-content .page-header a{
        margin-top:7px;
        float:right;
    }
    #chargebee-iframe .col-sm-12 {
        float: left;
        width: 100%;
    }
    #chargebee-iframe .col-sm-11 {
        float: left;
        width: 91.66666666666666%;
    }
    #chargebee-iframe .col-sm-10 {
        float: left;
        width: 83.33333333333334%;
    }
    #chargebee-iframe .col-sm-9 {
        float: left;
        width: 75%;
    }
    #chargebee-iframe .col-sm-8 {
        float: left;
        width: 66.66666666666666%;
    }
    #chargebee-iframe .col-sm-7 {
        float: left;
        width: 58.333333333333336%;
    }
    #chargebee-iframe .col-sm-6 {
        float: left;
        width: 50%;
    }
    #chargebee-iframe .col-sm-5 {
        float: left;
        width: 41.66666666666667%;
    }
    #chargebee-iframe .col-sm-4 {
        float: left;
        width: 33.33333333333333%;
    }
    #chargebee-iframe .col-sm-3 {
        float: left;
        width: 25%;
    }
    #chargebee-iframe .col-sm-2 {
        float: left;
        width: 16.666666666666664%;
    }
    #chargebee-iframe .col-sm-1 {
        float: left;
        width: 8.333333333333332%;
    }
}