.imports {

    .import_field_label {width: 150px;display:inline-block;}
    .import_field_label.format {font-weight:normal;color: #999;}
    .live_preview_header {font-weight:bold;}
    .preview_record_sample {display:none;}
    .live_previews table {width: 100%;}
    .field_details {display:none;}
    .field_details.display {display:block;}
    .select {width: 200px;display:inline-block;}
    .import_layout {width: 200px; float: right;margin-right: 15px;height: 80px;}
    .live_preview_row_id td, table tr.live_preview_row_id:hover td {background: #333 !important; color: white !important;}
    .live_interpretation {color: darkgreen; margin-top: 8px;}

    .existing_interpretation_status {margin-bottom: 0;}
    .existing_interpretation_status.will_create {color:darkred;}
    .existing_interpretation_status.will_not_create {color:darkgreen;}

    .live_interpretation.neutral {color: #666;}
    .live_interpretation.invalid {color: darkred;}
    .live_preview_field {width: 350px;margin:0;}
    span.required {color:darkred;}

    .import_error {
        background: #e67373;
        border: 1px solid #bb3b3b;
        color: #661717;
    }

    .import_notification {margin: 25px 0;}
    .import_notification .number {font-size: 8em;margin: 75px 0 75px 75px;line-height: 1.4em;float:left;opacity: 0.25;}
    .import_notification .details {margin-left: 187px;}
    .import_notification .title {font-size: 2em; margin: 1em 0; line-height: 1.4em;}
    .import_notification.import_notice {


        margin-top: 0;

        .title {
            margin-top: 0;
        }

        .number {
            margin: 15px 0 0 60px;
        }
    }

    .center {text-align:center;}

    .imports_layout_help {display:none;}

}

#store-plugin-details {

    .plugin-review {
        small {
            font-size: 0.85em;
        }
    }

    .img-thumbnail {
        padding: 4px;
        background-color: #fff;
        border: 1px solid #ddd !important;
        border-radius: 4px;
        -webkit-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
        cursor: pointer;
    }

    .aside {
        float: right;
        background: rgb(245, 247, 250);
        border: 1px solid darken(rgb(245, 247, 250), 10%);
        padding: 20px;
        margin-bottom: 16px;

        &:after {
            content: '';
            display: table;
            clear: both;
        }

    }

    .buy {
        color: white;
    }

    .description {
        margin-top: 1em;
    }

    .rating {
        width: 20px;
        vertical-align: middle;
    }

    .faded-rating {
        opacity: 0.25;
    }

}

#found-plugins .store-plugin {

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: rgb(245, 247, 250);
    border: 1px solid darken(rgb(245, 247, 250), 10%);
    padding: 20px;
    margin-bottom: 16px;
    cursor: pointer;

    .buy {
        color: white;
        float: right;
    }

    h4, p {
        margin: 0;
    }

    .description {
        margin-top: 1em;
    }

    img {
        width: 20px;
        vertical-align: middle;
    }

    .faded-rating {
        opacity: 0.25;
    }

}

#view-entries tfoot td {font-size: 14px;}
#default_task_due_date, #default_invoice_due_date, #send_x_days_before_input {width: 50px;display:inline;}

// Mobile Navbar
@media only screen and (max-width: 940px) {
    div.fixed {position: static;}
    div#main {margin-top: 0;}
    .top-bar .nav-search, .top-bar .nav-search form, .top-bar .right .divider {display:none;}
    .top-bar .dropdown .title img {margin-top: 0;}
    .top-bar .divider.force-show-mobile {display:block;}

    .has-dropdown .button.tiny.update-badge {
        left: 18px;
    }

    .top-bar ul li ul li, .top-bar, .top-bar ul li ul li:last-child {
        border: 0;
    }

}

@media only screen and (max-width: 940px) and (min-width: 768px) {
    #create-invoice {

        > .three.columns, > .nine.columns {
            width: 100%;
            left: 0;
            right: 0;
        }

        > .three.columns {
            > .panel {
                padding: 0;

                > .row {
                    margin: 0;
                }
            }
        }

    }
}

.upgrade-btn {color: white !important;}
.upgrade-btn span {color: white !important;}

.plugin-store-screenshot {
    width: 18%;
    padding: 1%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
}

.plugins-header {
    margin-top: 4em;
    margin-bottom: 3em;

    #search-plugins {
        text-align: right;
    }

    h2 {
        margin: 0;
    }

    input {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        height: 37px;
        margin: 0;
        margin-top: 4px;
        margin-right: -4px;
        padding: 9px;
        display:inline-block;
        width:50%;
    }

    button {
        margin-top: 4px;
        height: 37px;
    }

}

.relative-container {position:relative;}

.expand-email-template {
    cursor: pointer;
}

.expandable-email-template-container {
    display: none;
}

.button.tiny.update-badge {
    position:absolute;
    left:11px;
    @include border-radius(4px);
    padding: 10px 0px;
    width: 30px;
    top: 8px;
    text-align: center;

    &:hover {
        background-color: $pancakeBlue;
    }

    &:before, &:after {display:none;}

}

.top-bar .tiny.button.updates-available-badge {
    background: #2ba6cb !important;
    border: 1px solid #1e728c !important;
    color: white !important;

    &:hover {
        background-color: #2284a1 !important;
    }

    a {color: white !important;font-weight: bold !important;}
    a:hover {background: transparent !important;color: white !important;font-weight: bold !important;}

}

.user_icon_small {
    border:2px solid #BBD5DF;
    padding:2px;
    background:#fff;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.small-btn {font-size: 12px !important; padding: 3px 0;}


// Project Info

.project_complete {
    background: #6ad264;
}

.project_inprogress {
    background: #70D3E6;
}

.project_na {
    background:#ff9900;
}

.panel.project-details-panel {
    padding-bottom: 0;
}

// Gear Icon

.gears {
    background: url('../img/icons-admin-sprite.png') -399px 1px no-repeat;
}

.more-actions:hover .gears,
.gears:hover {
    background: white url('../img/icons-admin-sprite.png') -399px -28px no-repeat;
}

.more-actions .partial-payment-details span {
    text-align:left;
}

.gears:active {
    background: white url('../img/icons-admin-sprite.png') -399px -56px no-repeat;
}


.more-actions {
    position:relative;
    float:left;
    ul {
        display:none !important;
        position:absolute;
        z-index:10;
        top: 37px;
        left: 0;
        border: 1px solid #dedede;
        min-width:200px;
        background: white;
        a {padding: 16px !important; display: block;color: #666;margin:0 !important;}
        a:hover {text-decoration:none; color:#000;}
    }
    .gear {
        position: absolute;
        padding-left: 4px;
        padding-top: 4px;
        padding-bottom: 8px;
        border: 1px solid transparent;
        border-bottom: 0;
        width: 30px;
    }
    .gear.top-menu {
        border-bottom: 1px solid #dedede !important;
        padding-bottom: 5px !important;
    }
}

.more-actions:hover {
    ul {
        display: block !important;
    }
    .gear {
        background: white;
        border: 1px solid #dedede;
        border-bottom: 0;
    }
}

.more-actions:last ul {
    display:block !important;
}

.settings-dropdown {
    position: relative;
    &:before {
        content: "";
        width: 20px;
        height: 20px;
        position: absolute;
        top: 9px;
        left: 16px;
        background: url(../img/tooltip-arrow.png) 0 0 no-repeat;
    }
}

.iframe .fixed {display:none;}
.iframe #main {margin-top: 0;}
.iframe .assigned_users_list .select {width: 280px;}

.parent-line-item-table-cell {
    padding: 0;
    table {
        padding: 0;
        border: 0;
    }
    .name-row {width: 24%;}
    .qty-row {width: 9.5%;}
    .amount-row {width: 9.5%;}
    .discount-row {width: 9.5%;}
    .tax-row {width: 15%;}
    .type-row {width: 15%;}
    .cost-row  {width: 10%;}
}

.filter-time-entries {cursor:pointer;text-align:center;margin:15px 0 10px 0}

.invoice-outstanding {
    margin-bottom: 0;
    padding-bottom: 15px;
}

.time-picker {
    margin-top: -46px !important;
    width: 148px !important;
}

.timePicker[name="start_time"] {
    width: 148px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body .fixed {
    z-index: 1000;
}

body .meows {
    z-index: 999;
}

.nowrap {
    white-space: nowrap;
}

.conflicted li {
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.display-inline-block {
    display: inline-block;
}

.parent-line-item-table-row:nth-child(even) {background: transparent !important;}

.td-full-width {
    width: 100%;
}

.td-no-wrap {
    white-space: nowrap;
}

.redactor_box .redactor_editor {
    max-height: 350px;
}

.gear-menu {
    .gear-menu-icon {
        margin-right: 10px;
    }

    span {
        font-weight: normal;
    }
}

.invoice-item {
    .item-description {
        margin-bottom: 0;
    }

    .invoice-banner {
        font-weight: normal;
    }

    h4 {
        margin-bottom: 0;
    }

    .no-bottom {
        margin-top: -6px;
    }

    .top-no-bottom {
        margin-bottom: -6px;
    }
}

.invoice-item.not-invoice {
    .fixed-bottom {
        //margin-bottom: -30px;

        .three.columns {
            margin-top: -18px;
        }
    }
}

.break-all-words {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.inline-notification {
    padding: 8px;
    display: block;
    margin-bottom: 8px;
    display: none;
}

.just-installed {
    padding-top: 1em;

    p {
        margin: 0;
    }

    .twitter-share-button, .twitter-follow-button {
        margin-top: 1em;
    }

    .confirm-btn {
        float: right;
    }
}

/* This forces Font Awesome icons and Redactor icons to always work. */
.fa {font-family: FontAwesome !important;}
.re-icon {font-family: 'RedactorFont' !important;}

#branding .CodeMirror {border: 1px solid #AAA;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;}

/* CodeMirror CSS (here to fix) an issue with empty settings page */
@import "codemirror";