
/**
 * @file
 * Basic styling for common markup.
 */

/**
 * HTML elements.
 */
fieldset {
    margin-bottom: 1em;
    padding: 0.5em;
}
form {
    margin: 0;
    padding: 0;
}
hr {
    border: 1px solid gray;
    height: 1px;
}
img {
    border: 0;
}
table {
    border-collapse: collapse;
}
th {
    border-bottom: 3px solid #ccc;
    padding-right: 1em; /* LTR */
    text-align: left; /* LTR */
}
tbody {
    border-top: 1px solid #ccc;
}
tr.even,
tr.odd {
    background-color: #eee;
    border-bottom: 1px solid #ccc;
    padding: 0.1em 0.6em;
}

/**
 * Markup generated by theme_tablesort_indicator().
 */
th.active img {
    display: inline;
}
td.active {
    background-color: #ddd;
}

/**
 * Markup generated by theme_item_list().
 */
.item-list .title {
    font-weight: bold;
}
.item-list ul {
    margin: 0 0 0.75em 0;
    padding: 0;
}
.item-list ul li {
    margin: 0 0 0.25em 1.5em; /* LTR */
    padding: 0;
}

/**
 * Markup generated by Form API.
 */
.form-item,
.form-actions {
    margin-top: 1em;
    margin-bottom: 1em;
}
tr.odd .form-item,
tr.even .form-item {
    margin-top: 0;
    margin-bottom: 0;
    white-space: nowrap;
}
.form-item .description {
    font-size: 0.85em;
}
label {
    display: block;
    font-weight: bold;
}
label.option {
    display: inline;
    font-weight: normal;
}
.form-checkboxes .form-item,
.form-radios .form-item {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}
.form-type-radio .description,
.form-type-checkbox .description {
    margin-left: 2.4em;
}
input.form-checkbox,
input.form-radio {
    vertical-align: middle;
}
.marker,
.form-required {
    color: #f00;
}
.form-item input.error,
.form-item textarea.error,
.form-item select.error {
    border: 2px solid red;
}

/**
 * Inline items.
 */
.container-inline .form-actions,
.container-inline.form-actions {
    margin-top: 0;
    margin-bottom: 0;
}

/**
 * Markup generated by theme_more_link().
 */
.more-link {
    text-align: right; /* LTR */
}

/**
 * Markup generated by theme_more_help_link().
 */
.more-help-link {
    text-align: right; /* LTR */
}
.more-help-link a {
    background: url(../images/help.png) 0 50% no-repeat; /* LTR */
    padding: 1px 0 1px 20px; /* LTR */
}

/**
 * Markup generated by theme_pager().
 */
.item-list .pager {
    clear: both;
    text-align: center;
}
.item-list .pager li {
    background-image: none;
    display: inline;
    list-style-type: none;
    padding: 0.5em;
}
.pager-current {
    font-weight: bold;
}

/**
 * Autocomplete.
 *
 * @see autocomplete.js
 */
/* Suggestion list */
#autocomplete li.selected {
    background: #0072b9;
    color: #fff;
}

/**
 * Collapsible fieldsets.
 *
 * @see collapse.js
 */
html.js fieldset.collapsible .fieldset-legend {
    background: url(../images/menu-expanded.png) 5px 65% no-repeat; /* LTR */
    padding-left: 15px; /* LTR */
}
html.js fieldset.collapsed .fieldset-legend {
    background-image: url(../images/menu-collapsed.png); /* LTR */
    background-position: 5px 50%; /* LTR */
}
.fieldset-legend span.summary {
    color: #999;
    font-size: 0.9em;
    margin-left: 0.5em;
}

/**
 * TableDrag behavior.
 *
 * @see tabledrag.js
 */
tr.drag {
    background-color: #fffff0;
}
tr.drag-previous {
    background-color: #ffd;
}
.tabledrag-toggle-weight {
    font-size: 0.9em;
}
body div.tabledrag-changed-warning {
    margin-bottom: 0.5em;
}

/**
 * TableSelect behavior.
 *
 * @see tableselect.js
*/
tr.selected td {
    background: #ffc;
}
td.checkbox,
th.checkbox {
    text-align: center;
}

#comments {
    margin-top: 15px;
}
.indented {
    margin-left: 25px; /* LTR */
}
.comment-unpublished {
    background-color: #fff4f4;
}
.comment-preview {
    background-color: #ffffea;
}

/* Field display */
.field .field-label {
    font-weight: bold;
}
.field-label-inline .field-label,
.field-label-inline .field-items {
    float:left; /*LTR*/
}

/* Form display */
form .field-multiple-table {
    margin: 0;
}
form .field-multiple-table th.field-label {
    padding-left: 0; /*LTR*/
}
form .field-multiple-table td.field-multiple-drag {
    width: 30px;
    padding-right: 0; /*LTR*/
}
form .field-multiple-table td.field-multiple-drag a.tabledrag-handle {
    padding-right: .5em; /*LTR*/
}

form .field-add-more-submit {
    margin: .5em 0 0;
}

.node-unpublished {
    background-color: #fff4f4;
}
.preview .node {
    background-color: #ffffea;
}
td.revision-current {
    background: #ffc;
}
/*==========================================================================
1. GENERAL
===========================================================================*/

.align-center,
a.align-center {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.clear-both {
    clear: both;
}

.clear-left {
    clear: left;
}

.clear-right {
    clear: right;
}


/*==========================================================================
2. COLUMNS
===========================================================================*/

*[class|="col"],
[class*=" col-"] {
    float: left;
    padding-right: 4%;
}

@media (max-width: 767px) {
    *[class|="col"],
    [class*=" col-"] {
        float: none !important;
        margin-right: 0;
        width: auto !important;
    }
}

*[class|="col"].float-right {
    float: right;
    padding-left: 4%;
    padding-right: 0;
}


.col-1-2 {width: 50%;}
.col-1-3 {width: 33.333%;}
.col-2-3 {width: 65.33%;}
.col-1-4 {width: 25%;}
.col-3-4 {width: 75%;}
.col-1-5 {width: 20%;}
.col-2-5 {width: 40%;}
.col-3-5 {width: 60%;}
.col-4-5 {width: 80%;}
.col-1-6 {width: 16.666%;}
.col-5-6 {width: 83.333%;}

.col-100 {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.col-last {
    padding-right: 0;
}



/*==========================================================================
4. PIEGRAPH
===========================================================================*/

.piegraph-wrap {
    margin: 40px 0;
}
.piegraph-wrap .piegraph {
    display: block;
    margin: 0 auto;
    position: relative;
    text-align: center;
}
.piegraph-wrap .piegraph .piegraph-percent {
    display: block;
    font-size: 30px;
    line-height: 30px;
    margin-top: -15px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
    z-index: 10;
}

.piegraph-wrap .piegraph-title {
    text-align: center;
}


/*==========================================================================
5. COUNTER
===========================================================================*/

[id^="tm-counter"] .num {
    font-size: 5em;
    font-weight: bold;
    line-height: 1em;
    text-align: center;
}

[id^="tm-counter"] .title {
    font-weight: bold;
    text-align: center;
}