﻿/*---------------------------------------------------------------------------------------- 
    FLAT FORM

====[ LAYOUT ]=============================================

    - Defaults
    - Horizontal form
    - Input with icons
    - File input
    - Select
    - Checkbox, radio and toggles
        - Checkbox and radio
        - Toggles
    - Ratings
    - Buttons
    - Alerts
    - Panel
    - Tooltip and help icon
    - Cart

---------------------------------------------------------------------------------------- */
/*---------------------------------------------------------------------------------------*/
/*	DEFAULTS
/*---------------------------------------------------------------------------------------*/
a,
.btn-link
{
    color: #428bca;
    cursor: pointer;
}

a:hover,
.btn-link:hover
{
    color: #999;
    text-decoration: none;
}

fieldset
{
    margin: 0 0 30px;
}

fieldset legend
{
    font-size: 18px;
    padding: 5px 0;
}

label
{
    font-weight: normal;
    margin: 0;
}

.strong
{
    font-weight: bold;
}

.form-group:after
{
    clear: both;
    content: '';
    display: table;
}

.control-label
{   
    color: #999;
    display: block;
    font-size: 12px;
    font-weight: normal;
    line-height: 22px;
    padding: 6px 0;
    text-transform: uppercase;
}

.control-label.control-label-sm
{
    font-size: 11px;
    line-height: 20px;
    padding-bottom: 5px;
    padding-top: 5px;
}

.control-label.control-label-lg
{
    font-size: 14px;
    line-height: 26px;
    padding-bottom: 10px;
    padding-top: 10px;
}

label .additional,
.control-label .additional
{
    color: #999;
}

.form-control
{
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border: 1px solid #ddd;
    border-radius: 0 !important;
    font-weight: normal;
}

.form-control:focus
{
    -moz-box-shadow: 0 0 7px 0 #76abd9;
    -webkit-box-shadow: 0 0 7px 0 #76abd9;
    border-color: #76abd9;
    box-shadow: 0 0 7px 0 #76abd9;
}

.help-block
{
    color: #999;
    font-size: 12px;
    margin: 2px 0 0;
}

.required-field
{
    color: #f45858;
    display: inline;
    font-size: 18px;
    line-height: 12px;
}

/*---------------------------------------------------------------------------------------*/
/* HORIZONTAL FORM
/*---------------------------------------------------------------------------------------*/
.form-horizontal .control-label
{
    padding-left: 15px;
    padding-right: 15px;
    text-align: left;
}

.form-horizontal .has-feedback .form-control-feedback
{
    right: 0;
}

/*---------------------------------------------------------------------------------------*/
/* INPUT WITH ICONS
/*---------------------------------------------------------------------------------------*/
.form-control-feedback
{
    color: #ccc;
}

.has-feedback.has-left-icon .form-control
{
    padding-left: 42.5px;
    padding-right: 12px;
}

.has-feedback.has-left-icon .form-control-feedback
{
    left: 0;
    right: auto;
}

.has-success .form-control
{
    border-color: #0ac964;
}
.has-success .form-control-feedback
{
    color: #0ac964;
}

.has-warning .form-control
{
    border-color: #c19716;
}
.has-warning .form-control-feedback
{
    color: #c19716;
}

.has-error .form-control
{
    border-color: #f45858;
}
.has-error .form-control-feedback
{
    color: #f45858;
}

/*---------------------------------------------------------------------------------------*/
/* FILE INPUT
/*---------------------------------------------------------------------------------------*/
.file-input
{
    position: relative;
}

.file-input label
{
    bottom: 0;
    left: 0;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.file-input .btn
{
    bottom: 3px;
    font-size: 12px;
    line-height: 24px;
    max-width: 100px;
    padding-bottom: 0;
    padding-top: 0;
    position: absolute;
    right: 3px;
    text-transform: uppercase;
    top: 3px;
}

.file-input.input-sm .btn
{
    line-height: 22px;
}

.file-input.input-lg .btn
{
    line-height: 38px;
}

.file-input .btn input
{
    height: 0;
    width: 0;
}

.file-input .file-name
{
    background: transparent;
    border: 0;
    float: left;
    padding: 0;
    width: 100%;
}
/*---------------------------------------------------------------------------------------*/
/* SELECT
/*---------------------------------------------------------------------------------------*/
select.form-control.multiple
{
    padding: 0;
}

select.form-control.multiple option
{
    padding: 6px 12px;
}

.fancy-select
{
    color: #46565D;
    position: relative;
}

.fancy-select.disabled .form-control
{
    background: #ddd;
    cursor: inherit;
    opacity: 0.5;
}

.fancy-select .form-control
{
    cursor: pointer;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fancy-select .form-control:after
{
    color: #999;
    content: "";
    display: block;
    font-family: FontAwesome;
    font-size: 12px;
    line-height: 12px;
    margin: -6px 8px 0 0;
    position: absolute;
    right: 0;
    top: 50%;
}

.fancy-select .form-control.open
{
    border-color: #76abd9;
}

.fancy-select .form-control.open:after
{
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    color: #76abd9;
    margin-top: -4px;
    transform: rotate(180deg);
}

.fancy-select ul.options
{
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    background: #f6f6f6;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    left: 0;
    list-style: none;
    margin: 0;
    max-height: 200px;
    opacity: 0;
    overflow: auto;
    padding: 0;
    position: absolute;
    top: 100%;
    visibility: hidden;
    width: 100%;
    z-index: 50;
}

.fancy-select ul.options.open
{
    opacity: 1;
    visibility: visible;
}

.fancy-select ul.options.overflowing
{
    bottom: 100%;
    top: auto;
}

.fancy-select ul.options.overflowing.open
{
    top: auto;
}

.fancy-select ul.options li
{
    color: #666;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 12px;
    white-space: nowrap;
}

.fancy-select ul.options li.hover
{
    background: #eee;
    color: #000;
}


.fancy-select ul.options li.selected
{
    background: #ccc;
    color: #fff;
}
/*---------------------------------------------------------------------------------------*/
/* CHECKBOX, RADIO AND TOGGLES
/*---------------------------------------------------------------------------------------*/
.radio-inline,
.checkbox-inline
{
    padding: 0;
}

label.custom-option
{
    display: inline-block;
    height: 20px;
    padding: 0;
    position: relative;
    vertical-align: top;
}

label.custom-option + label
{
    padding: 0 10px;
}

label.custom-option input[type="checkbox"],
label.custom-option input[type="radio"],
label.custom-option .button-checkbox,
label.custom-option .button-radio
{
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

label.custom-option input[type="checkbox"],
label.custom-option input[type="radio"]
{
    margin: 0;
    opacity: 0;
}

label.custom-option .button-checkbox,
label.custom-option .button-radio
{
    background: #fff;
    border: 1px solid #ccc;
}

label.custom-option input[type="checkbox"]:checked + .button-checkbox,
label.custom-option input[type="radio"]:checked + .button-radio
{
    border-color: #76abd9;
}

label.custom-option input[type="checkbox"] + .button-checkbox:after,
label.custom-option input[type="radio"] + .button-radio:after
{
    content: '';
    position: absolute;
    z-index: 2;
}

label.custom-option .button-radio,
label.custom-option .button-radio:after
{
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

/* Checkbox and radio */
label.custom-option
{
    width: 20px;
}

label.custom-option.button input[type="checkbox"] + .button-checkbox:after,
label.custom-option.button input[type="radio"] + .button-radio:after
{
    background: #76abd9;
    bottom: 5px;
    display: none;
    left: 5px;
    top: 5px;
    width: 8px;
}

label.custom-option.button input[type="checkbox"]:checked + .button-checkbox:after,
label.custom-option.button input[type="radio"]:checked + .button-radio:after
{
    display: block;
}

/* Toggles */
label.custom-option.toggle
{
    width: 46px;
}

label.custom-option.toggle:before,
label.custom-option.toggle:after
{
    color: #777;
    font-family: Arial, sans-serif;
    font-size: 8px;
    line-height: 19px;
    position: absolute;
    text-align: center;
    top: 1px;
    width: 24px;
    z-index: 1;
}

label.custom-option.toggle:before
{
    content: attr(data-on);
    left: 1px;
}

label.custom-option.toggle:after
{
    content: attr(data-off);
    right: 1px;
}

label.custom-option.toggle input[type="checkbox"] + .button-checkbox:after,
label.custom-option.toggle input[type="radio"] + .button-radio:after
{
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    background: #ccc;
    bottom: 1px;
    display: block;
    left: 1px;
    top: 1px;
    transition: all 0.3s;
    width: 20px;
}

label.custom-option.toggle input[type="checkbox"]:checked + .button-checkbox:after,
label.custom-option.toggle input[type="radio"]:checked + .button-radio:after
{
    background: #76abd9;
    left: 23px;
}
/*---------------------------------------------------------------------------------------*/
/* RATINGS
/*---------------------------------------------------------------------------------------*/
.rating
{
    position: relative;
}

.rating .rating-wrapper
{
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
}

.rating .rating-wrapper > input
{
    height: 0;
    opacity: 0;
    position: absolute;
    width: 0;
    z-index: -1;
}

.rating .rating-wrapper > label
{
    color: #ccc;
    cursor: pointer;
    float: right;
    padding-left: 2px;
    padding-right: 2px;
}

.rating.rating-sm .rating-wrapper > label
{
    line-height: 16px;
    padding-bottom: 5px;
    padding-top: 5px;
}
.rating .rating-wrapper > label
{
    line-height: 20px;
    padding-bottom: 7px;
    padding-top: 7px;
}
.rating.rating-lg .rating-wrapper > label
{
    line-height: 26px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.rating.rating-sm.star .rating-wrapper > label
{
    font-size: 16px;
}
.rating.star .rating-wrapper > label
{
    font-size: 20px;
}
.rating.rating-lg.star .rating-wrapper > label
{
    font-size: 26px;
}

.rating.rating-sm.heart .rating-wrapper > label
{
    font-size: 14px;
}
.rating.heart .rating-wrapper > label
{
    font-size: 18px;
}
.rating.rating-lg.heart .rating-wrapper > label
{
    font-size: 24px;
}

.rating.star .rating-wrapper > input:checked ~ label
{
    color: #fcc54e;
}
.rating.star .rating-wrapper > input:hover ~ label
{
    color: #ecb54e;
}

.rating.heart .rating-wrapper > input:checked ~ label
{
    color: #f45858;
}
.rating.heart .rating-wrapper > input:hover ~ label
{
    color: #d43838;
}

.rating .control-label
{
    display: inline-block;
    vertical-align: middle;
}
/*---------------------------------------------------------------------------------------*/
/* BUTTONS
/*---------------------------------------------------------------------------------------*/
.btn
{
    -moz-border-radius: 0;
    -moz-box-shadow: none !important;
    -moz-transition: all 0.3s;
    -webkit-border-radius: 0;
    -webkit-box-shadow: none !important;
    -webkit-transition: all 0.3s;
    background: transparent;
    border-radius: 0;
    box-shadow: none !important;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    z-index: 1;
}

.btn:hover
{
    background: transparent;
}

.btn:before
{
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    bottom: -1px;
    content: '';
    left: -1px;
    position: absolute;
    right: -1px;
    top: -1px;
    transition: all 0.5s;
    z-index: -1;
}

.btn:hover:before
{
    opacity: 0.2;
}

.btn.btn-animated:hover:before
{
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.btn-default,
.btn-default:hover
{
    border-color: #ccc;
}
.btn-default:before
{
    background: #f0f0f0;
}
.btn-default:hover
{
    color: #999;
}

.btn-primary,
.btn-primary:hover
{
    border-color: #0f9fcf;
}
.btn-primary:before
{
    background: #76abd9;
}
.btn-primary:hover
{
    color: #0f9fcf;
}

.btn-success,
.btn-success:hover
{
    border-color: #0ac964;
}
.btn-success:before
{
    background: #50f29c;
}
.btn-success:hover
{
    color: #0ac964;
}

.btn-info,
.btn-info:hover
{
    border-color: #8078cc;
}
.btn-info:before
{
    background: #b2ade4;
}
.btn-info:hover
{
    color: #8078cc;
}

.btn-warning,
.btn-warning:hover
{
    border-color: #c19716;
}
.btn-warning:before
{
    background: #ecc54e;
}
.btn-warning:hover
{
    color: #c19716;
}

.btn-danger,
.btn-danger:hover
{
    border-color: #ab0505;
}
.btn-danger:before
{
    background: #f45858;
}
.btn-danger:hover
{
    color: #ab0505;
}

.btn-block.btn-facebook .fa,
.btn-block.btn-twitter .fa,
.btn-block.btn-google .fa
{
    background: rgba(0, 0, 0, 0.1);
}

.btn-facebook,
.btn-facebook:hover,
.btn-twitter,
.btn-twitter:hover,
.btn-google,
.btn-google:hover
{
    color: #fff;
}

.btn-facebook
{
    background: #3b5a9a;
    border-color: #3b5a9a;
}
.btn-facebook:hover
{
    background: #5873a9;
}

.btn-twitter
{
    background: #29a9e1;
    border-color: #29a9e1;
}
.btn-twitter:hover
{
    background: #49b6e5;
}

.btn-google
{
    background: #df4b38;
    border-color: #df4b38;
}
.btn-google:hover
{
    background: #e46656;
}

.input-group-btn > .btn,
.input-group-btn > .btn:hover,
.input-group-btn > .btn:focus,
.input-group-btn > .btn:active
{
    z-index: 3;
}

.btn.btn-sm.btn-left-icon
{
    padding-left: 29px;
}
.btn.btn-left-icon
{
    padding-left: 33px;
}
.btn.btn-lg.btn-left-icon
{
    padding-left: 45px;
}

.btn.btn-sm.btn-right-icon
{
    padding-right: 29px;
}
.btn.btn-right-icon
{
    padding-right: 33px;
}
.btn.btn-lg.btn-right-icon
{
    padding-right: 45px;
}

.btn.btn-sm.btn-left-icon .fa,
.btn.btn-sm.btn-right-icon .fa
{
    line-height: 29px;
    width: 29px;
}

.btn.btn-left-icon .fa,
.btn.btn-right-icon .fa
{
    line-height: 33px;
    width: 33px;
}

.btn.btn-lg.btn-left-icon .fa,
.btn.btn-lg.btn-right-icon .fa
{
    line-height: 45px;
    width: 45px;
}

.btn.btn-left-icon .fa,
.btn.btn-right-icon .fa
{
    position: absolute;
    top: 0;
}

.btn.btn-left-icon .fa
{
    left: 0;
}

.btn.btn-right-icon .fa
{
    right: 0;
}
/*---------------------------------------------------------------------------------------*/
/* ALERTS
/*---------------------------------------------------------------------------------------*/
.alert
{
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.alert-default
{
    background: #f9f9f9;
}
.alert-success
{
    background: #cafbe1;
}
.alert-info
{
    background: #d8e6f7;
}
.alert-warning
{
    background: #f9edca;
}
.alert-danger
{
    background: #fccdcd;
}

.alert-default,
.alert-default .alert-link
{
    border-color: #eee;
    color: #999;
}
.alert-success,
.alert-success .alert-link
{
    border-color: #a7f8cd;
    color: #0ac964;
}
.alert-info,
.alert-info .alert-link
{
    border-color: #c8d6f1;
    color: #7088cc;
}
.alert-warning,
.alert-warning .alert-link
{
    border-color: #f5e2a6;
    color: #c19716;
}
.alert-danger,
.alert-danger .alert-link
{
    border-color: #f9abab;
    color: #ab0505;
}

.alert .alert-link
{
    font-weight: normal;
    text-decoration: underline;
}

.alert .alert-link:hover
{
    text-decoration: none;
}

.alert .close
{
    font-family: Arial, sans-serif;
    opacity: 0.4;
    top: -1px;
}
/*---------------------------------------------------------------------------------------*/
/* PANELS
/*---------------------------------------------------------------------------------------*/
.panel.panel-form
{
    border: 1px solid #e6e6e6;
}

.panel.panel-form,
.panel.panel-form .panel-heading,
.panel.panel-form .panel-footer
{
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.panel.panel-form .panel-heading
{
    background: #76abd9;
    border-bottom: 7px solid #eee;
    color: #d6f5ff;
    text-align: center;
}

.panel.panel-form .panel-heading a
{
    color: #fff;
    text-decoration: underline;
}

.panel.panel-form .panel-heading a:hover
{
    text-decoration: none;
}

.panel.panel-form .panel-heading p
{
    margin: 0;
}

.panel.panel-form .panel-heading .title
{
    color: #fff;
    font-weight: bold;
    margin: 0 0 10px;
    position: relative;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.panel.panel-form .panel-heading .title:before
{
    border-bottom: 1px solid rgba(100%, 100%, 100%, 0.3);
    bottom: -8px;
    content: '';
    height: 0;
    left: 50%;
    margin-left: -15px;
    position: absolute;
    width: 30px;
}

.panel.panel-form .panel-body
{
    background: #fcfcfc;
}
@media (min-width: 361px)
{
    .panel.panel-form .panel-body
    {
        padding: 15px;
    }
}
.panel.panel-form .panel-footer
{
    background: #f6f6f6;
    border-top: 1px solid #e6e6e6;
    color: #aaa;
}
/*---------------------------------------------------------------------------------------*/
/* TOOLTIP AND HELP ICONS
/*---------------------------------------------------------------------------------------*/
.tooltip
{
    text-transform: none;
}

.tooltip.in
{
    opacity: 0.7;
}

.tooltip-inner
{
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding: 5px 10px;
}

.fa.help-icon
{
    color: #76abd9;
    cursor: help;
    font-size: 14px;
    pointer-events: auto;
}

label .fa.help-icon,
.control-label .fa.help-icon
{
    padding: 0 5px;
}
/*---------------------------------------------------------------------------------------*/
/* CHART
/*---------------------------------------------------------------------------------------*/
.cart-steps
{
    color: #999;
    margin-bottom: 30px;
}

.cart-steps ul
{
    list-style: none;
    margin-bottom: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    z-index: 0;
}

.cart-steps li
{
    line-height: 14px;
    padding-bottom: 10px;
    padding-top: 0;
}

.cart-steps li:after
{
    border-bottom: 1px solid #eee;
    content: '';
    left: 0;
    position: absolute;
    right: 0;
    top: 40px;
}

.cart-steps li:before
{
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #eee;
    content: '';
    left: 50%;
    margin-left: -5px;
    position: absolute;
    top: 41px;
}

.cart-steps li span
{
    background: #eee;
    color: #fff;
    display: block;
    font-size: 20px;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    margin: 0 auto 10px;
    width: 40px;
}

/* Active */
.cart-steps li.active
{
    border-color: #76abd9;
    color: #333;
}

.cart-steps li.active:after
{
    border-color: #76abd9;
}

.cart-steps li.active:before
{
    border-top-color: #76abd9;
}

.cart-steps li.active span
{
    background: #76abd9;
}

.product-list,
.user-data ul
{
    line-height: 26px;
    margin: 0 0 20px;
}

.product-list li
{
    line-height: 30px;
    margin: 0;
    padding-bottom: 5px;
    padding-top: 5px;
}

.product-list li:nth-child(even)
{
    background: #fbfbfb;
}

.price-list
{
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    line-height: 30px;
    margin: 0 0 30px;
    padding: 10px 0;
    text-transform: uppercase;
}

.price-list ul
{
    margin-bottom: 0;
}
