root { 
    display: block;
}

body
{
	font: normal .75em/1em arial;
	color: #333;
}

body > div.container {
   background: #fff;
}

label
{
	font-weight: bold;
	margin: 0 0 .5em 0;
	display: block;
	clear: both;
}

label.inline
{
	display: inline;
}

input
{
	margin: 0 0 .5em 0;
}

button
{
	margin: 0 0 .5em 0;
}

#voterguide_librarybundle_questionstype_yn input,
#voterguide_librarybundle_questionstype_textarea input,
#voterguide_adminbundle_racestype_type input,
#voterguide_adminbundle_candidatestype_answered input,
#voterguide_adminbundle_candidatestype_wontAnswer input,
#voterguide_adminbundle_candidatestype_inactive input,
#voterguide_adminbundle_usertype_enabled input,
#voterguide_adminbundle_usertype_locked input,
#voterguide_adminbundle_usertype_expired input,
#voterguide_adminbundle_usertype_roles input
{
	float: left;
	clear: left;
	margin-right: 12px;
}

#voterguide_librarybundle_questionstype_yn label,
#voterguide_librarybundle_questionstype_textarea label,
#voterguide_adminbundle_racestype_type label,
#voterguide_adminbundle_candidatestype_answered label,
#voterguide_adminbundle_candidatestype_wontAnswer label,
#voterguide_adminbundle_candidatestype_inactive label,
#voterguide_adminbundle_usertype_enabled label,
#voterguide_adminbundle_usertype_locked label,
#voterguide_adminbundle_usertype_expired label,
#voterguide_adminbundle_usertype_roles label
{
	float: left;
	clear: right;
}

.view_single tr td
{
	padding: 3px;
}

ul.admin_options
{
	margin-top: 2em;
}

ul.admin_options li
{
	margin-bottom: 1em;
}

.admin_logo
{
	max-width: 720px;
	margin: 0 auto 20px;
}

.admin_body {
	max-width: 720px;
	padding: 19px 29px 29px;
	margin: 10px auto 20px;
	background-color: #fff;
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

p.submit_button
{
	display: block;
	clear: both;
	margin: 24px 0;
}

ul.candidate-list li
{
	margin-bottom: 1.25em;
}

label.inline.for-checkbox
{
	margin: 2px 0 0 10px;
}


/* ----------------------------------------------------------------------
   -- CRUD form layout
   ---------------------------------------------------------------------- */

div.yes_no {
    width: 14em;
    overflow: hidden;
    padding-left: 8px;
    margin-bottom: 1em;
}

    div.yes_no input[type='radio'] {
        float: left;
        clear: both;
    }
    
    div.yes_no label {
        float: left;
        clear: none;
        text-align: left;
        margin: 2px 16px;
    }

.candidate.thumbnail {
    width: 120px;
    margin:auto;
}


.icon-spin {
    -moz-animation: spin 1,.5s infinite linear;
    -o-animation: spin 1.5s infinite linear;
    -webkit-animation: spin 1.5s infinite linear;
    animation: spin 1.5s infinite linear
}

@-moz-keyframes spin    { 0% {-moz-transform: rotate(0deg)}100%{-moz-transform:rotate(359deg)}}
@-webkit-keyframes spin { 0% {-webkit-transform: rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}
@-o-keyframes spin      { 0% {-o-transform: rotate(0deg)}100%{-o-transform:rotate(359deg)}}
@-ms-keyframes spin     { 0% {-ms-transform: rotate(0deg)}100%{-ms-transform:rotate(359deg)}}
@keyframes spin         { 0% {transform: rotate(0deg)}100%{transform:rotate(359deg)}}


#candidate-questions li.empty {
    font-size: 1.5em;
    color: #AAA;
    text-align: center;
    margin: 1em auto;
}

.table-theme-acscan thead th {
    /* background: #06C; */
    background: #333;
    color: white;
    font-size: 1.2em;
}

    .table-theme-acscan thead th a {
        color: white;
    }

a.edit_link i          { display: none; }
tr:hover a.edit_link i { display: inline-block; }

.table.sortable thead th a.current {
    color: #eee;
}

    .table.sortable thead th.headerSortUp,
    .table.sortable thead th.headerSortDown {
        background: #444;
    }
    
    .table.sortable thead th.header:hover {
        background: #555;
    }
    
    .table.sortable thead th.header a:hover {
        text-decoration: none;
    }
    
    .table.sortable thead th.headerSortUp a:after  {
        content: '\2191';
        margin-left: 4px;
    }
    
    .table.sortable thead th.headerSortDown a:after {
        content: '\2193';
        margin-left: 4px;
    }

    .table.sortable tbody td.candidate_status {
        text-align: center;
    }
               

.table.sortable tbody td.sorted,
.table.sortable tbody th.sorted {
    background: #eee;
}

.table.sortable tfoot {
    display: none;
}

    .table.sortable tfoot td {
        background: #ddd;
    }

ul.horizontal li {
    float: left;
    margin-right: 0.5em;
}

#bulk-question-assignment {
    padding: 1em;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #bbb;
    border-top: 1px solid #bbb;
    background: #fafafa;
    display: none;
    margin-bottom: 1em;
}

    #bulk-question-assignment h4 {
        line-height: 32px;
    }

    #bulk-question-assignment #question-pool {
        background: #eaeaea;
    }

.table_options .actions li.apply, 
.table_options .actions li.cancel {
    display: none;
}

#candidate-questions.drag_over {
    border-color: #aaa;
    background: #FFF;
}

.record_properties {
    width: 40%;
    font-size: 1.1em;
}

    .record_properties th, .record_properties td {
        padding: 0.5em !important;
        vertical-align: top;
    }

    .record_properties th[scope="row"] {
        text-align: right;
        background: #fafafa;
        border-right: 2px solid #eee;
        width: 40%;
    }

.record_actions li.add,
.record_actions li.edit,
.record_actions li.save {
    float: left;
    margin-right: 1em;
}

.record_actions li.delete {
    float: left;
}

.record_actions li.back {
    float: right;
}

.approve_responses .for-checkbox {
    position: relative;
    top: 4px;
    margin-left: 0.5em;
}

li.no_tab a:hover {
    background: none !important;
    border-left-color: #FFF !important;
    border-right-color: #FFF !important;
    border-top-color: #FFF !important;
}

li.no_tab a:hover i {
    opacity: 0.9;
}

.bootstrap-tagsinput input {
    min-width: 200px;
}

.dropdown-menu li a {
    font-size: 14px !important;
    font-weight: normal !important;
}