﻿/*global*/
.center {
    text-align: center;
}

.clear {
    clear: both;
    float: none;
    display: block;
}

.msgBox .content {
    width: 585px !important;
}

.sidebar {
    float: right;
    width: 223px;
}

.sidebar h3 {
    background-image: url("images/sidebar.png");
    background-repeat: no-repeat;
    color: White;
    margin: 0;
    padding: 9px 10px;
    position: relative;
}

    .sidebar h3 .btn-clear {
        background-image: url("images/btn-clear.png");
        background-repeat: no-repeat;
        cursor: pointer;
        height: 21px;
        position: absolute;
        right: 8px;
        top: 8px;
        width: 45px;
    }

.sidebar-header {
    padding: 0px 10px;
    border: 1px solid #A0A9C2;
    background-color: #7E889C;
}

    .sidebar-header h4 {
        float: left;
        font-size: 12px;
        color: White;
        font-weight: bold;
        padding: 5px 5px 5px 18px;
        background-repeat: no-repeat;
    }


    .sidebar-header .sidebar-header-icon {
        float: right;
        width: 26px;
        padding: 5px 0 5px;
    }

        .sidebar-header .sidebar-header-icon span {
            color: White;
            display: block;
            font-size: 12px;
            font-weight: bold;
            margin: 0;
            padding: 0px 10px 1px;
        }


    .sidebar-content .webpart-content ul {
        padding: 10px;
    }

        .sidebar-content .webpart-content ul li {
            background-color: #DBE9EB;
            border: 1px solid #C1C8D9;
            border-top: 1px solid #fff;
            color: #46515A;
            font-size: 12px;
            padding: 0;
        }

            .sidebar-content .webpart-content ul li:first-child {
                border-top: 1px solid #C1C8D9;
            }

.sidebar-item span {
    float: left;
}

.sidebar-group .sidebar-item span + span {
    float: right;
    background-image: url("images/label-box-sidebar-item.png");
    background-repeat: no-repeat;
    color: White;
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    padding: 0 5px 1px;
}

.btn-add-all,
.btn-add-criteria,
.btn-add-first,
.btn-remove,
.btn-over {
    display: block;
    text-decoration: none;
    margin-bottom: 5px;
}

.section {
    float: left;
    margin: 16px 16px 16px 0;
    width: 213px;
}

.section-left {
    width: 300px;
}

.section-right {
    width: 356px;
}


.central {
    border: 1px solid #C1C4CA;
    background-color: #FAFAFA;
    padding: 20px 0 0 16px;
}

    .central .webpart-content {
        border: 0 none;
        margin: 0 0 20px 0;
    }


    .central ul li {
        color: #666;
        margin: 2px 0px 2px 1px;
        padding: 3px 5px;
    }

        .central ul li.webpart-support {
            padding: 0px;
        }

        .central ul li.webpart-absentee {
            padding: 0px;
        }

.sidebar-group {
    background-color: White;
}

ul li.selection {
    background-color: #ABB5C9;
    color: #ffffff;
}

.dark {
    background-color: #E9EDF0 !important;
}

.light {
    background-color: #F5F6F8 !important;
}

ul li.accept {
    background-color: #DBE9EC;
}

ul li.cancel {
    background-color: #ECD4D4;
}

.scroll-pane {
    height: 175px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar .scroll-pane {
    height: 304px;
}

.sidebar-content.scroll-pane {
    width: auto !important;
}

.webpart .webpart-header {
    margin-bottom: -2px;
    padding-bottom: 4px;
}

.webpart > .webpart-content {
    padding-bottom: 9px !important;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 0;
}

.scroll-border, .subcontent-border {
    padding-bottom: 9px !important;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px 3px 3px 3px;
}

.subcontent-border {
    padding: 10px;
}

.webpart.webpart-transparent .webpart-header,
.webpart.webpart-transparent > .webpart-content {
    background-image: none;
    border: 0 none;
    background-color: transparent;
}

.central .webpart.webpart-transparent > .webpart-content ul li {
    padding: 0;
    margin: 0;
}

.webpart-header h2 {
    float: left;
}

.webpart-header .webpart-exclude {
    float: right;
    text-align: right;
    font-size: 10px;
    width: 71px;
}

.webpart-header .webpart-switch {
    float: right;
    text-align: right;
    font-size: 10px;
    width: 71px;
}

.support-label {
    float: left;
    width: 100px;
}

.absentee-label {
    float: left;
    width: 100px;
}

.option {
    width: 138px !important;
    z-index: 6;
    position: absolute;
    float: left;
}

.support-action {
    font-size: 11px;
    width: 70px;
}
.absentee-action {
    float: right;
    font-size: 11px;
    width: 45px;
}

.support-action-head {
    width: 77px;
}

.support-headline {
    padding: 0 5px;
}

.absentee-headline {
    padding: 0 5px;
}

    .webpart-header label,
    .webpart-header input,
    .support-headline span, .absentee-headline span {
        color: #707070;
    }

.support-action div,
.support-label div,
.absentee-action div, .absentee-label div {
    color: #46525B;
}

.support-action div {
    text-align: center;
}

    .support-action div span, .absentee-action div span {
        font-size: 10px;
    }

.support-item .support-action, .absentee-item .absentee-action {
    float: right;
    margin-left: 8px;
    text-align: left;
    width: 62px;
}

.absentee-item .absentee-action {
    margin-left: 0px;
    width: 30px;
}

    .support-item .support-action input, .absentee-item .absentee-action input {
        margin: 0 5px;
    }

.support-item .support-label {
    width: 110px;
}

.absentee-item .absentee-label {
    width: 590px !important;
}

.support-action input:first-child {
    margin-right: 10px;
}

div.cmf-skinned-select {
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    width: 213px;
}

div.cmf-skinned-select {
    background: url('images/skin.png') top right no-repeat;
    border: 0 none;
    width: 213px;
    height: 31px;
    background-color: transparent !important;
}

.webpart-previusly .webpart-header h2 {
    float: none;
    width: auto;
}

.webpart-transparent ul li {
    padding: 0;
}

.input-txt, .input-txt-age, .input-txt-voted, .input-txt-schema {
    width: 33px;
}

.input-txt-area {
    background-color: transparent;
    border: 0 none;
    resize: none;
}

.input-txt-election {
    display: inline-block;
    height: 22px;
    padding: 0 2px;
    width: 33px;
}

.input-date-registration {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0 none;
    color: #46525B;
    display: inline-block;
    height: 22px;
    padding: 0 2px;
    width: 33px;
}

.age {
    padding-top: 6px;
}

.bottom-actions {
    padding-top: 10px;
}

.bottom-up {
    height: 40px;
    padding-top: 10px;
}

.bottom-down {
    height: 70px;
    padding-top: 10px;
}

.bottom-save {
    width: 355px;
    height: 50px;
}

#txt_display {
    border-radius: 5px;
    margin-top: 10px;
    border-color: #DDD;
    border-width: thin;
    border-style: solid;
    background-color: #FFF;
    width: 100%;
    height: 250px;
    padding: 10px;
    overflow: auto;
}

#txtQueryCategory {
    border-radius: 3px;
    margin-left: 10px;
    border-color: #A4B1BA;
    border-width: thin;
    border-style: solid;
    background-color: #E9ECF1;
    float: right;
    width: 225px;
    height: 23px;
}

.bottom-actions div.cmf-skinned-select {
    top: -7px;
}

.bottom-actions p > span,
.bottom-actions p label .bottom-actions p > span label {
    font-size: 14px;
}
/* */
.bottom-actions span {
    font-size: 14px;
}

.bottom-actions label {
    margin-right: 15px;
}

.bottom-actions p {
    margin: 20px 0 0;
}

.bottom-actions label {
    position: static;
    top: auto;
    font-size: 14px;
}

.input-txt-save {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0 none;
    color: #46525B;
    display: inline-block;
    height: 23px;
    padding: 2px 5px;
    width: 174px;
}

.btn-save {
    background-color: transparent;
    background-image: url("images/btn-save.png");
    background-repeat: no-repeat;
    border: 0 none;
    display: inline-block;
    height: 27px;
    width: 47px;
    cursor: pointer;
}

.btn-help {
    background-color: transparent;
    background-image: url("images/help_button.png");
    background-repeat: no-repeat;
    border: 0 none;
    display: inline-block;
    height: 17px;
    width: 17px;
    cursor: pointer;
    float: right;
}

.btn-attached {
    float: none !important;
    vertical-align: top !important;
}

.btn-post-flag {
    background-color: transparent;
    background-image: url("images/btn-post-flag.png");
    background-repeat: no-repeat;
    border: 0 none;
    display: inline-block;
    height: 23px;
    width: 100px;
    cursor: pointer;
    float: right;
}

.btn-checkbox-right {
    float: left !important;
    padding-right: 5px;
    padding-top: 5px;
}

.save-container * {
    float: left;
    display: block;
}

.save-container {
    display: inline-block;
    position: relative;
    top: 9px;
}


    .box.toggle {
        width: 157px;
        height: 17px;
        margin: 20px auto 0;
        padding: 3px;
        padding-top: 3px;
        padding-bottom: 3px;
    }

.support-label .check.checked, .absentee-label .check.checked {
    background-position: left center;
}

.support-action .check.checked, .absentee-action .check.checked {
    background-position: left bottom;
}

.support-action span.check, absentee-action span.check {
    margin-right: 15px; /* 15 px*/
}

.result, .target-model {
    margin-top: 20px;
}

.right-align {
    float: right;
}

.left-align {
    float: left;
}

.div-select {
    padding-bottom: 6px;
}

.checkList li, .valueList li {
    cursor: pointer;
}

.accept {
    background-color: #DBE9EC !important;
}

.no-sidebar-category {
    padding: 0px !important;
}

.light-font-color {
    color: #747474;
}

div.webdeveloper-line-guide {
    width: 100%;
}


/* grid Flag count: auto center positioning */

#flag-count-container div .cmf-skinned-select {
    width: 203px !important;
    background-size: 200px 25px;
}

#countFlagGrid tr td {
    font-size: 10px;
}

    #countFlagGrid tr td[aria-describedby=countFlagGrid_Count] {
        text-align: right;
    }

.btn-process-counts {
    background: url("/Content/Styles/images/btn-process-counts.png") no-repeat scroll 0 0 transparent !important;
}

.btn-export-excel {
    background-color: green;
    color: white;
}

.count-buttons {
    clear: left;
    margin-bottom: 20px;
}

    .count-buttons span:not(.select2-chosen):not(.select2-arrow) {
        width: 101px;
        display: inline-block;
        height: 20px;
        margin-left: 13px;
        margin-top: 30px;
        cursor: pointer;
    }

#countFlagGridContainer {
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 10px;
}

.flag-count-source {
    display: block;
    clear: both;
}

    .flag-count-source li {
        float: left;
        background-image: none !important;
        border: 0 none !important;
        color: #747474;
        font-size: 11px;
    }

        .flag-count-source li.first {
            margin-left: 13px !important;
        }

        .flag-count-source li.filteroption {
            display: inline-block;
            border: 1px solid #B6B6B6;
        }

        .flag-count-source li.displayCounts {
            float: right;
            margin-top: 10px;
            margin-right: 14px;
        }

            .flag-count-source li.displayCounts div {
                height: 20px;
                border-radius: 6px;
                text-align: start;
            }

                .flag-count-source li.displayCounts div.counts {
                    background-color: #55586D;
                    color: White;
                    border: 1px solid #B6B6B6;
                }

                    .flag-count-source li.displayCounts div.counts label {
                        vertical-align: middle;
                        margin-right: 4px;
                    }

                    .flag-count-source li.displayCounts div.counts input {
                        margin: 2px;
                    }

#executeQuery.btn-process-counts {
    float: none;
    clear: both;
}

#dateRange-countFlag {
    width: 296px;
}

    #dateRange-countFlag img {
        width: 19px;
        height: 19px;
        margin-left: -23px;
    }

    #dateRange-countFlag span {
        margin-left: 12px;
    }

/***************************************************/

/* MultiSelect */

.ui-multiselect {
    padding: 2px 0 2px 4px;
    text-align: left;
}

    .ui-multiselect span.ui-icon {
        float: right;
    }

.ui-multiselect-single .ui-multiselect-checkboxes input {
    position: absolute !important;
    top: auto !important;
    left: -9999px;
}

.ui-multiselect-single .ui-multiselect-checkboxes label {
    padding: 5px !important;
}

.ui-multiselect-header {
    margin-bottom: 3px;
    padding: 3px 0 3px 4px;
}

    .ui-multiselect-header ul {
        font-size: 0.9em;
    }

        .ui-multiselect-header ul li {
            float: left;
            padding: 0 10px 0 0;
        }

    .ui-multiselect-header a {
        text-decoration: none;
    }

        .ui-multiselect-header a:hover {
            text-decoration: underline;
        }

    .ui-multiselect-header span.ui-icon {
        float: left;
    }

    .ui-multiselect-header li.ui-multiselect-close {
        float: right;
        text-align: right;
        padding-right: 0;
    }

.ui-multiselect-menu {
    display: none;
    padding: 3px;
    position: absolute;
    z-index: 100000;
    text-align: left;
    border-radius: 0 !important;
}

    .ui-multiselect-menu.ui-state-hover {
        background-image: none !important;
        background-color: #3875d7;
        border: 1px solid #3875d7;
        border-radius: 0;
    }

.ui-multiselect-checkboxes {
    position: relative /* fixes bug in IE6/7 */;
    overflow-y: scroll;
}

    .ui-multiselect-checkboxes label {
        cursor: default;
        display: block;
        border: 1px solid transparent;
        padding: 3px 1px;
    }

        .ui-multiselect-checkboxes label input {
            position: relative;
            top: 1px;
        }

    .ui-multiselect-checkboxes li {
        clear: both;
        font-size: 0.9em;
        padding-right: 3px;
    }

        .ui-multiselect-checkboxes li.ui-multiselect-optgroup-label {
            text-align: center;
            font-weight: bold;
            border-bottom: 1px solid;
        }

            .ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a {
                display: block;
                padding: 3px;
                margin: 1px 0;
                text-decoration: none;
            }

ul, li {
    list-style: none;
    margin: 0 !important;
    padding: 0;
}
