﻿/*
    Common 
*/

.wizard,
.tabcontrol
{
    display: block;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.wizard a,
.tabcontrol a
{
    outline: 0;
}

.wizard ul,
.tabcontrol ul
{
    list-style: none !important;
    padding: 0;
    margin: 0 !important;
}

.wizard ul > li,
.tabcontrol ul > li
{
    display: block;
    padding: 0;
}

/* Accessibility */
.wizard > .steps .current-info,
.tabcontrol > .steps .current-info
{
    position: absolute;
    left: -999em;
}

.wizard > .content > .title,
.tabcontrol > .content > .title
{
    position: absolute;
    left: -999em;
}



/*
    Wizard
*/

.wizard > .steps
{
    position: relative;
    display: block;
    width: 100%;
}

.wizard.vertical > .steps
{
    display: inline;
    float: left;
    width: 30%;
}

.wizard > .steps .number
{
    font-size: 1.429em;
}

.wizard > .steps > ul > li
{
    width: 25%;
}

.wizard > .steps > ul > li,
.wizard > .actions > ul > li
{
    float: left;
}

.wizard.vertical > .steps > ul > li
{
    float: none;
    width: 100%;
}

.wizard > .steps a,
.wizard > .steps a:hover,
.wizard > .steps a:active
{
    display: block;
    width: auto;
    margin: 0 0 0.5em;
    padding: 1em 1em;
    text-decoration: none;
    background: #eee;
    color: #000;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.wizard > .steps .disabled a,
.wizard > .steps .disabled a:hover,
.wizard > .steps .disabled a:active
{
    background: #eee;
    color: #aaa;
    cursor: default;
}

.wizard > .steps .current a,
.wizard > .steps .current a:hover,
.wizard > .steps .current a:active
{
    background: #DAE6F2;
    border: 1px solid #BDC4CA;
    color: #000;
    cursor: default;
}

.wizard > .steps .done a,
.wizard > .steps .done a:hover,
.wizard > .steps .done a:active
{
    background: #DFE9B7;
    border: 1px solid #BAC398;
    color: #666;
}

.wizard > .steps .error a,
.wizard > .steps .error a:hover,
.wizard > .steps .error a:active
{
    background: #F5DCD8;
    border: 1px solid #CDBFBE;
    color: #fff;
}

.wizard > .content
{
    background: #eee;
    display: block;
    margin: 0.5em;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    width: auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.wizard.vertical > .content
{
    display: inline;
    float: left;
    margin: 0 0 0.5em 2.5%;
    width: 67.5%;
}

.wizard > .content > .body
{
    float: left;
    width: 95%;
    height: 95%;
    padding: 2.5%;
}

.wizard > .content > .body ul
{
    list-style: disc !important;
}

.wizard > .content > .body ul > li
{
    display: list-item;
}

.wizard > .content > .body > iframe
{
    border: 0 none;
    width: 100%;
    height: 100%;
}

.wizard > .content > .body input
{
    border: 1px solid #ccc;
}

.wizard > .content > .body input[type="checkbox"]
{
    display: inline-block;
}

.wizard > .content > .body input.error
{
    background: rgb(251, 227, 228);
    border: 1px solid #fbc2c4;
    color: #8a1f11;
}

.wizard > .content > .body label
{
    display: block;
    margin-bottom: 0;
}

.wizard > .content > .body span.error
{
    color: #8a1f11;
    margin-left: 1.5em;
}

.wizard > .actions
{
    position: relative;
    display: block;
    text-align: right;
    width: 100%;
}

.wizard.vertical > .actions
{
    display: inline;
    float: right;
    margin: 0;
    width: 95%;
}

.wizard > .actions > ul
{
    display: inline-block;
    text-align: right;
}

.wizard > .actions > ul > li
{
    margin: 0 0.5em;
}

.wizard.vertical > .actions > ul > li
{
    margin: 0 0 0 1em;
}

.wizard > .actions a,
.wizard > .actions a:hover,
.wizard > .actions a:active
{
    /*background: #2184be;
    color: #fff;
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;*/
}

.wizard > .actions .disabled a,
.wizard > .actions .disabled a:hover,
.wizard > .actions .disabled a:active
{
    /*background: #eee;
    color: #aaa;*/
}

.wizard > .loading
{
}

.wizard > .loading .spinner
{
}



/*
    Tabcontrol
*/

.tabcontrol > .steps
{
    position: relative;
    display: block;
    width: 100%;
}

.tabcontrol > .steps > ul
{
    position: relative;
    margin: 6px 0 0 0;
    top: 1px;
    z-index: 1;
}

.tabcontrol > .steps > ul > li
{
    float: left;
    margin: 5px 2px 0 0;
    padding: 1px;

    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.tabcontrol > .steps > ul > li:hover
{
    background: #edecec;
    border: 1px solid #bbb;
    padding: 0;
}

.tabcontrol > .steps > ul > li.current
{
    background: #fff;
    border: 1px solid #bbb;
    border-bottom: 0 none;
    padding: 0 0 1px 0;
    margin-top: 0;
}

.tabcontrol > .steps > ul > li > a
{
    color: #5f5f5f;
    display: inline-block;
    border: 0 none;
    margin: 0;
    padding: 10px 30px;
    text-decoration: none;
}

.tabcontrol > .steps > ul > li > a:hover
{
    text-decoration: none;
}

.tabcontrol > .steps > ul > li.current > a
{
    padding: 15px 30px 10px 30px;
}

.tabcontrol > .content
{
    position: relative;
    display: inline-block;
    width: 100%;
    height: 35em;
    overflow: hidden;
    border-top: 1px solid #bbb;
    padding-top: 20px;
}

.tabcontrol > .content > .body
{
    float: left;
    position: absolute;
    width: 95%;
    height: 95%;
    padding: 2.5%;
}

.tabcontrol > .content > .body ul
{
    list-style: disc !important;
}

.tabcontrol > .content > .body ul > li
{
    display: list-item;
}

#apply_save {
    position: fixed;
    bottom: 50%;
    right: 0px;
    padding: 0;
    display: none;
    z-index: 999;
    background: #99ba00;
}
#apply_save:hover {
    padding-right: 5px;
}
#apply_save input {
    background: transparent url('../images/save.jpg') no-repeat;
    width: 35px;
    height: 100px;
    border: 0;
    cursor: pointer;
}
#apply_save input:focus {
    outline: none;
}

/* File upload */
.fileinput-button {
    position: relative;
    overflow: hidden;
}
.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px;
    direction: ltr;
    cursor: pointer;
}
.btn { 
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.43;
    margin-bottom: 0px;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
.btn-success { 
    background-color: #5CB85C;
    border: 1 px solid #4CAE4C;
    color: #FFFFFF;
}
.btn-primary { 
    background-color: #428BCA;
    border: 1 px solid #357EBD;
    color: #FFFFFF;
}
.btn-warning { 
    background-color: #F0AD4E;
    border: 1 px solid #EEA236;
    color: #FFFFFF;
}
.btn-danger { 
    background-color: #D9534F;
    border: 1 px solid #D43F3A;
    color: #FFFFFF;
}
.fade { 
    opacity: 0;
    transition: opacity 0.15s cubic-bezier(0, 0, 1, 1) 0;
}
.fade.in { 
    opacity: 1;
}
.progress { 
    background-color: #F5F5F5;
    border-radius: 4px;
    box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.102);
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}
.progress.active .progress-bar { 
    animation: progress-bar-stripes 2s cubic-bezier(0, 0, 1, 1) -1;
}
.progress-striped .progress-bar { 
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.149) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.149) 50%, rgba(255, 255, 255, 0.149) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}
.progress-striped .progress-bar-success { 
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.149) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.149) 50%, rgba(255, 255, 255, 0.149) 75%, transparent 75%, transparent);
}
.progress-bar { 
    background-color: #428BCA;
    box-shadow: inset 0px -1px 0px rgba(0, 0, 0, 0.149);
    color: #FFFFFF;
    float: left;
    font-size: 12px;
    height: 100%;
    line-height: 20px;
    text-align: center;
    transition: width 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) 0;
    width: 0px;
}
.progress-bar-success { 
    background-color: #5CB85C;
}
.fileupload-buttonbar .btn,
.fileupload-buttonbar .toggle {
    margin-bottom: 5px;
}
.fileupload-processing .fileupload-process,
.files .processing .preview {
    display: block;
    width: 32px;
    height: 32px;
    background: url("../images/loading.gif") center no-repeat;
    background-size: contain;
}
.table { 
    margin-bottom: 20px;
    width: 100%;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td { 
    border-top: 1px solid #DDDDDD;
    vertical-align: top;
    font-size: 97%;
}
.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th { 
    background-color: #F9F9F9;
}
.files audio,
.files video {
    max-width: 300px;
}
.files img {
    vertical-align: middle;
}
.text-danger { 
    color: #A94442;
}

/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Responsive */
@media only screen and (max-width: 1023px) {
    /* Style adjustments for viewports that meet the condition */
    .wizard.vertical > .steps
       {
        display: block;
        float: none;
        width: 100%;
    }

    .wizard.vertical > .content
       {
        display: block;
        float: none;
        margin: 0 0 0.5em 0;
        width: 100%;
    }

}

@media (max-width: 767px) {
    .fileupload-buttonbar .toggle,
    .files .toggle,
    .files .btn span {
        display: none;
    }
    .files .name {
        width: 80px;
        word-wrap: break-word;
    }
    .files audio,
    .files video {
        max-width: 80px;
    }
    .files img,
    .files canvas {
        max-width: 100%;
    }



}

/* Fixes for IE < 8 */
@media screen\9 {
    .fileinput-button input {
        filter: alpha(opacity=0);
        font-size: 100%;
        height: 100%;
    }
}