﻿body {
    /*remove the default padding-top 80px Z*/
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 380px;
}

div.moduleCategory {
    background-color: mintcream;
}

input.moduleItem {
    padding-left: 30px;
}

fieldset.modules {
    margin: 8px;
    border: 1px solid silver;
    padding: 18px;
    border-radius: 4px;
    display: table-cell;
    width: 250px;
}

label {
    font-weight: normal !important;
}

/*overwrite bootstrap*/
.fixed-table {
    table-layout: fixed;
    width: 100%;
}

input[type="checkbox"].big-flag:checked + input + span {
    font-weight: bold;
    background-color: lightgreen;
}



td.up-down-border {
    border-top-style: solid;
    border-top-color: black;
    border-top-width: thin;
    border-bottom-style: solid;
    border-bottom-color: black;
    border-bottom-width: thin;
}

/*
    Z does not like some of the styles in bootstrap. So custom some here.
*/

table {
    border-spacing: 2px;
    border-collapse: collapse;
    background-color: transparent;
}

td,
th {
    padding: 4px;
}


th {
    text-align: left;
}


/*override bootstrap to have some spaces betwwen text boxes*/
.col-md-10 {
    margin-bottom: 5px;
}


.margin-left-1 {
    margin-left: 20px;
}

.margin-left-2 {
    margin-left: 40px;
}

.margin-left-3 {
    margin-left: 60px;
}

/*Special*/
.zero-spacing {
    margin: 0px;
}


/*Style used in jquery ui*/
.watermark::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.watermark:-ms-input-placeholder {
    color: #999;
}

.watermark::-webkit-input-placeholder {
    color: #999;
}




/*style of generated content*/
div.result {
    background-color: lightcyan;
}

div.info {
    background-color: lightgray;
}

div.resultHint {
    color: brown;
}

.resultItem:hover {
    background-color: yellow;
}

.actionItem:hover {
    background-color: greenyellow;
}


/*Button will show when the parent is hover over */

.dynamic {
    visibility: hidden;
}

.dynamicButton:hover .dynamic {
    visibility: visible;
}

/*This refine some basic attributes of class btn of bootstrap to make it smaller*/
.symbol {
    font-size: large;
    margin: 0px 0px 0px 0px;
    display: inline-block;
    padding: 0px 0px 0px 0px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}


.modal-content {
    width: 70% !important;
    margin: 30px auto !important;
}


.table-noborder {
    border: none;
}

    .table-noborder > thead > tr > th,
    .table-noborder > tbody > tr > th,
    .table-noborder > tfoot > tr > th,
    .table-noborder > thead > tr > td,
    .table-noborder > tbody > tr > td,
    .table-noborder > tfoot > tr > td {
        border: none;
        border-spacing: 0em;
        margin: 0px 0px 0px 0px;
    }

.compact1 > thead > tr > th,
.compact1 > tbody > tr > th,
.compact1 > tfoot > tr > th,
.compact1 > thead > tr > td,
.compact1 > tbody > tr > td,
.compact1 > tfoot > tr > td {
    padding: 1px;
}



textarea.form-editor {
    width: 80%;
    height: auto;
}

pre.detail-item {
    /*inline-block make the .symbol button appear in the same line*/
    display: inline-block;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: none;
    margin-bottom: 0px;
}
