﻿.deletehover,
.deletehover  div,
.deletehover .nav li a

{
    background-color: #fee !important;
}
.nav-tabs > li > a {
    background-color: #AAA;
    color: #fff;
    text-shadow: 1px 1px #000 !important;
}
.nav-tabs > li > a:hover {
    color: #000;
    text-shadow: 1px 1px #FFF !important;
}
    .nav-tabs > li.active > a:hover {
        text-shadow: 1px 1px #000 !important;
    }


/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

/* Styles for validation
-----------------------------------------------------------*/
.field-validation-error {
    color: #b94a48;
    display: none;
}

.popover .field-validation-error {
    display: block;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #b94a48;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #b94a48;
}

/* Styles for editor and display
----------------------------------------------------------*/
.ms-container {
    margin-top: 10px;
    width: 100%;
}

    .ms-container .ms-list {
        height: 500px;
    }

    .ms-container .searchheader {
        position: relative;
        background-color: #000;
        color: #fff;
        padding: 5px 5px 9px 15px;
    }

        .ms-container .searchheader input {
            position: absolute;
            right: 5px;
        }

textarea {
    min-height: 75px;
}

input[type="text"], input[type="password"], input[type="email"], textarea {
    border: 1px solid #ccc;
    /*padding: 2px;*/
    color: #444;
    /*width: 200px;*/
}

.tblauto input {
    font-size: 1em;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    color: #444;
}

    input.form-control, select.form-control {
        /*width: 100%;*/
    }

input[type="submit"] {
    padding: 5px;
}


.field {
    width: 100%;
    clear: both;
    padding-top: 5px;
}

    .field .editor-label {
        margin: 0 0 0 0;
        display: block;
        width: 200px;
        float: left;
    }

    .field .editor-field {
        margin: 0 0 0 0;
        display: block;
        width: 255px;
        float: left;
        font-weight: bold;
    }

        .field .editor-field span {
            display: none;
        }

        .field .editor-field a span {
            display: inline-block;
        }

    .field input[type=text], .field textarea {
        width: 100%;
    }


.text-box {
    width: 30em;
}

    .text-box.multi-line {
        height: 6.5em;
    }

.tri-state {
    width: 6em;
}

.error {
    color: #b94a48;
}

label.error {
    /* remove the next line when you have trouble in IE6 with labels in list */
    color: #b94a48;
    font-style: italic;
    display: none;
    position: absolute;
    height: 0;
    width: 0;
    overflow: hidden;
}

div.error {
    display: none;
}


input.error, textarea.error, .inputerror {
    border: 1px dotted #b94a48;
    background-color: #FFEBD7;
}

.other {
    display: none;
}

input.datepicker {
    width: 80px !important;
    text-align: right;
}

input.price {
    width: 80px !important;
    text-align: right;
}

/*validate popup*/
.form-group.msg .field-validation-error {
    display: none;
}

.form-group .popover .field-validation-error {
    display: block;
}

form {
    position: relative;
    display: block;
}

.moment {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1040;
}
    .moment .bg {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        opacity: .5;
        z-index: 1;
        background: #fff url('../images/wait16.gif') no-repeat center center;
    }
    .moment .progress {
        position: fixed;
        height: 5px;
        left:0;
        top:0px;
        width: 100%;
        z-index: 2;
    }

    .moment.error .bg{
        background-color: #f2dede;
    }

    .moment.success .bg{
        background-color: #b3e3e5;
        background-image: url('../images/check.png');
    }

.loading {
    background: #fff url('../images/wait16.gif') no-repeat left center;
    padding-left: 25px !important;
}

.progress .txt {
    position: absolute;
    color: #ccc;
    text-shadow: 2px 2px #555;
    line-height: 18px;
    width: 100%;
    text-align: center;
}

.errormessage {
}

.fileupload {
    position: relative;
    overflow: hidden;
    margin: 10px auto;
    width: 180px !important;
    height: 25px;
}

    .fileupload input[type="file"] {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        font-size: 20px;
        cursor: pointer;
        -ms-opacity: 0;
        opacity: 0;
    }

body.cke_editable {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

    body.cke_editable[contenteditable=false] {
        background-color: #eee;
    }

.cke_chrome {
    border: 1px #ccc solid !important;
    border-radius: 4px;
}

.cke_top {
    border-bottom-color: #ccc !important;
}

.cke_bottom {
    border-top-color: #ccc !important;
}

.readonly .cke_top,
.readonly .cke_bottom,
.readonly .hidero,
.readonly form button,
form.readonly button,
.readonly .documentctr .fileupload,
.readonly .documentctr .deletedoc,
.readonly ol.sorter li .header .move,
.readonly .form-horizontal ol > li:hover > i.remove {
    display: none !important;
}

.documentctr {
    /*display: table;
    width: 100%;*/
}

    /*.documentctr div, .documentctr a {
       *display: table-cell;
        vertical-align: middle;
        width: 100%;
    }*/

    .documentctr .fileupload {
        display: inline-block;
        float: left;
        padding-top: 0;
        width: 32px !important;
        height: 32px;
        margin: 0 10px 0 0;
        background: url('/images/upload.png') no-repeat center center;
    }

    .documentctr .downloadlink {
        display: inline-block;
        /*float: left;*/
        padding-top: 0;
        width: calc(100%- 75px) !important;
        height: 32px;
    }

        .documentctr .downloadlink img {
            max-width: 100%;
            max-height: 75px;
        }

    .documentctr .deletedoc {
        display: inline-block;
        height: 25px;
        width: 25px;
        padding-top: 0;
        float: right;
        background: url('/images/delete.png') no-repeat center center;
    }
/*Draggable*/
body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.6;
    z-index: 2000;
}

    .dragged .header button,
    .dragged .contentedit,
    .dragged .tooltip {
        display: none !important;
    }

/*question answers*/
.simplesort {
}

    .simplesort li {
        margin-bottom: 5px;
    }

    .simplesort .itm {
        padding-top: 5px;
        position: relative;
    }

    .simplesort > li:nth-child(odd) .itm {
        background-color: #f5f5f5;
    }

    .simplesort > li.good .itm {
        background-color: rgba(220, 249, 220, 1);
    }

    .simplesort i.move {
        cursor: pointer;
        position: absolute;
        left: -25px;
        top: 35px;
        color: #999;
    }

    .simplesort .dragged {
        margin-left: 15px;
        margin-top: -35px;
    }

    .simplesort i.remove {
        display: none;
        color: #b94a48;
        cursor: pointer;
        position: absolute;
        right: -2px;
        top: -1px;
    }

    .simplesort .itm:hover {
        background-color: #eee;
    }

    .simplesort li.good .itm:hover {
        background-color: rgba(198, 245, 198, 1);
    }

    .simplesort .itm:hover i.remove {
        display: block;
    }

    .simplesort .itm > .form-group {
        margin-right: 15px;
        margin-left: 15px;
        margin-bottom: 5px;
    }

        .simplesort .itm > .form-group .checkbox {
            padding-top: 0;
        }

        .simplesort .itm > .form-group > .form-control {
            margin-top: 0;
        }
    li.bitplaceholder {
        position: relative;
        opacity: .6;
        
    }
        li.bitplaceholder .glyphicon {
            display:block ;
            position:absolute;
            left:0;
            top:10px;
            color:#faa;
        }
    .simplesort li.placeholder {
        position: relative;
        /** More li styles **/
        padding: 5px;
        height: 120px;
        margin-bottom: 5px;
        opacity: .6;
        background-color: #ccc;
    }

        .simplesort li.placeholder:before {
            position: absolute;
            /** Define arrowhead **/
            font-family: 'Glyphicons Halflings';
            content: "\e092";
            display: block;
            top:10px;
            left:0px;
            width: 10px;
            height: 10px;
        }


/*Sorter*/

ol.sorter li .header {
    position: relative;
    padding-left: 20px;
    cursor:pointer;
}

ol.sorter li > .header > i.move {
    position: absolute;
    left: 0;
    top: 12px;
}

ol.sorter li > .header > .well:hover {
    background-color: #ccc;
}

ol.sorter li .header button, 
ol.sorter li .header .well > i {
    position: absolute;
    right: 8px;
    top: 8px;
}

    ol.sorter li .header button.edit,
    ol.sorter li .header .well > i {
        opacity: 0;
    }

ol.sorter li .header:hover button.edit,
ol.sorter li .header:hover .well > i {
    opacity: 1;
}

ol.sorter li .header .move {
    padding: 0 10px 0 0;
    cursor: pointer;
    color: #999;
}

ol.sorter .dragged {
    margin-left: -5px;
    margin-top: -18px;
}


ol.sorter li .contentedit {
    position: relative;
    display: none;
}

    ol.sorter li .contentedit .delete {
        position: absolute;
        right: 5px;
        top: 10px;
    }

ol.sorter li.placeholder {
    position: relative;
    /** More li styles **/
    border: 1px solid #ccc;
    background-color: #eee;
    padding: 9px 5px;
    border-radius: 3px;
    margin-bottom: 18px;
    margin-top: 0px;
    opacity: .6;
}

    ol.sorter li.placeholder:before {
        position: absolute;
        /** Define arrowhead **/
        font-family: 'Glyphicons Halflings';
        content: "\e092";
        display: block;
        width: 10px;
        height: 10px;
        color:#faa;
    }
