/* reset values for browser consistency, thanks to Eric Meyer: http://meyerweb.com/eric/tools/css/reset/ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
:focus {
    outline: 0;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: separate;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
em {
    font-style: normal;
}
/* generics */

body {
    font: 62.5% Arial, Helvetica, sans-serif;
    color: #444;
    text-align: center;
    background: #f4f4f4;
}

h1, h2 {
    font-weight: normal;
}

h3 {
    font-size: 1.6em;
    font-weight: bold;
}

h4, h5, strong {
    font-weight: bold;
}

a {
    color: #0068c4;
    text-decoration: none;
    cursor: pointer; /* temp */
}

textarea {
    resize: vertical;
}

a:hover {
    color: #00aeef;
}

.clear {
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 1px;
}

.cb {
    clear: both;
}

.cl {
    clear: left;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/* layout */

#header, #container {
    text-align: left;
    width: 960px;
    margin: 0 auto;
}

/* header */

#masthead {
    background: #082136 url(../img/header-bg.gif) repeat-x;
    border-bottom: 1px solid #fff;
    min-width: 960px;
}

#top-nav {
    color: #555;
    float: right;
    overflow: hidden;
    margin: 2em 0 0 0;
}

#top-nav a {
    font-size: 1.1em;
    color: #00aeef;
    padding: 0 0.5em;
}

#header {
    color: #fff;
    position: relative;
    overflow: hidden;
}

#header h1 {
    font-size: 2em;
    position: absolute;
    left: 20px;
    top: 15px;
}

#header h1 a {
    color: #fff;
}

#header h1 a span {
    font-size: 0.65em;
}

#main-nav {
    margin: 6em 0 0 0.5em;
}

#main-nav li {
    float: left;
    margin: 0 0 0 5px;
}

#main-nav a {
    font-size: 1.2em;
    line-height: 26px;
    color: #f4f4f4;
    text-align: center;
    width: 135px;
    float: left;
    background: #404040;
}

#main-nav a:hover {
    background: #555;
}

#main-nav a.active, #main-nav a.active:hover {
    color: #082136;
    background: #fff url(../img/main-nav-active.gif) repeat-x;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

/* container */

#container {
    background: #fff;
    padding: 0 0 2em 0;
}

#bc {
    font-size: 1.1em;
    padding: 5px 20px;
}

#bc span {
    padding: 0 0 0 15px;
    background: url(../img/bc-sep.gif) no-repeat 4px 50%;
}

#left-nav, .column, #side {
    float: left;
    margin: 5px 0 20px 20px;
}

#left-nav {
    width: 180px;
}

#side {
    width: 160px;
}

.no-nav .column {
    width: 450px;
}

.nav-one-col .column {
    width: 720px;
}

.nav-two-cols .column {
    width: 350px;
}

.nav-one-col-side .column {
    width: 540px;
}

/* left nav */

#left-nav {
    border-right: 1px solid #ddd;
}

#left-nav ul {
    font-size: 1.2em;
    margin: 5px 20px 20px 0;
}

#left-nav li {
    border-bottom: 1px solid #fff;
}

#left-nav li ul {
    margin: 0 0 0 10px;
}

#left-nav li a {
    background: url(../img/nav-bullet.gif) no-repeat 0 50%;
    display: block;
    padding: 5px 0 5px 10px;
}

#left-nav li ul a {
    font-size: 0.75em;
    padding: 3px 0 3px 10px;
}

#left-nav li a.active {
    font-weight: bold;
}

/* secondary nav in side */

.secondary-nav {
    background: #f5f8fb;
    padding: 5px 10px 10px;
    margin: 0 0 10px;
}

.secondary-nav li {
    font-size: 1.2em;
    margin: 5px 0;
}

ol.secondary-nav li {
    list-style-type: decimal;
    list-style-position: inside;
}

.secondary-nav li a.active {
    font-weight: bold;
}

/* page actions */

#page-actions {
    float: left;
    width: 100%;
}

#page-actions a {
    font-size: 1.2em;
    float:right;
    margin: 0 0 0 10px;
}

#page-actions a img, .action-imgtxt img { /* todo: set action-imgtxt class to all page actions */
    vertical-align: middle;
    margin: -2px 5px 0 5px;
}

#page-actions h3 {
    float: left;
}

#page-actions h3 em {
    color: #898989;
}

/* page element settings */

#page-element-settings {
    margin: 0 0 10px;
}

#page-element-settings h3 {
    font-size: 1.4em;
    font-weight: normal;
    background: url(../img/configure.png) no-repeat 0 0;
    border-bottom: 2px solid #fff;
    padding: 0 0 5px 20px;
    margin: 0 0 10px;
}

#page-element-settings .panel {
    border-color: #fff;
    border-width: 2px;
}

/* translations */

.translation-table .translation {
    position: relative;
    padding-right: 40px;
}

.translation-table .translation_key {
    position: relative;
    padding-right: 24px;
}

.translation-table .cancel, .translation-table .undo {
    position: absolute;
    top: 3px;
    right: 0;
}

.translation-table .translation .undo {
    right: 23px;
}

.translation-table .translation-action {
    position: relative;
}

.translation-action .delete {
    visibility: hidden;
    position: absolute;
    top: -15px;
    right: 0;
}

.translation-action .edit {
    visibility: hidden;
    position: absolute;
    top: -15px;
    right: 23px;
    cursor: pointer;
}

tr:hover .translation-action .delete, tr:hover .translation-action .edit {
    visibility: visible;
}

.edit-translation:hover .translation-action .delete, .edit-translation:hover .translation-action .edit {
    visibility: hidden;
}

/* filter */

div.panel.filter h3 {
    font-size: 1.4em;
    font-weight: normal;
    background: url(../img/search.png) no-repeat 0 0;
    padding: 0 0 5px 20px;
    margin: 0 0 0;
}

/* panels */

.panel {
    clear: left;
    margin: 0 0 10px;
}

.sub-panel {
    margin: 10px 0 0;
}

.panel-group {

}

.panel-name {
    color: #1b496f;
    font-size: 1.35em;
    margin: 0 0 10px;
}

.block .panel-name {
    float: left;
    background-color: #f4f4f4;
    padding: 5px 10px;
    margin: 0 0 1px;
}

.panel-actions {
    float: right;
    font-size: 1.2em;
    margin: 0 0 5px;
}

.panel-actions a {
    margin: 0 0 0 5px;
}

/* block panel */

div.panel.block, #page-element-settings, div.panel.filter {
    border: 0;
    background-color: #f5f8fb;
    padding: 10px;
}

*+html div.panel {
    zoom: 1;
}

/* panel faux column */

.faux-col {
    background: url(../img/faux-line.gif) repeat-y center top;
}

.faux-col .panel {
    width: 48%;
    clear: none;
}

.faux-col .form-action {
    padding: 0;
    background: none;
}

/* tree-listing */

.tree-listing {
    font-size: 1.1em;
    border-top: 2px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin: 0 0 15px;
}

.tree-listing, .tree-listing ul, .tree-listing li {
    float: left;
    width: 100%;
    background-color: #fff;
}

.tree-listing .new {
    font-weight: bold;
    background: #ecf9db;
}

.tree-listing .tl-li {
    float: left;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
}

.tree-listing .tl-li.folder {
    background: #e3f5fe;
}

.tree-listing .tl-li.hover {
    background: #ffffc9;
}

.tree-listing .tl-left {
    float: left;
    padding: 7px 5px;
}

.tree-listing .tl-right {
    float: right;
    padding: 7px 5px;
}

.tree-listing .tl-right-buttons {
    float: right;
    padding: 5px 10px;
}

.tree-listing .tl-right a {
    margin: 0 4px;
}

.tree-listing .tree-root .tl-left, .tree-listing .tree-root label {
    font-weight: bold;
}

.tree-listing img {
    vertical-align: middle;
}

.tree-listing a img {
    margin: 0 4px 0 0;
}

.tree-listing .button {
    margin: 0 2px;
}

.tree-listing .toggle-node {
    opacity: 0.8;
}

/* sortables */

.ui-sortable .sorthelper {
    float: left;
    width: 100%;
    background: #f8f8f8 !important;
    border-bottom: 1px solid #e5e5e5;
}
.ui-sortable-helper {
    font-size: 11px;
}
.ui-sortable-helper .tl-left {
    padding: 5px 5px;
}
.ui-sortable-helper .tl-right {
    display: none;
}
.ui-sortable-helper img {
    vertical-align: middle;
}
.ui-sortable-helper a img {
    margin: 0 4px 0 0;
}

/* version filter */

.version .form-action {
    border: 0;
    background: #f6f6f6;
    float: right;
    margin: 6px 0 0 0;
}

/* tabs */

.tabs {
    width: 100%;
    overflow: hidden;
    background: url(../img/tabs-bg.gif) repeat-x left bottom;
    margin: 0 0 15px 0;
}

.tabs li {
    float: left;
    margin: 0 0 0 2px;
}

.tabs a {
    font-size: 1.1em;
    color: #f4f4f4;
    text-align: center;
    padding: 4px 10px;
    float: left;
    background: #00294d;
}

.tabs a:hover {
    background: #13609f;
}

.tabs a.active, .tabs a.active:hover {
    color: #082136;
    background: #fff url(../img/tabs-active.gif) repeat-x;
    border: 1px solid #00294d;
    border-bottom: 0;
}

.tabs a.active {
    font-weight: bold;
}

.tab-content {
    background-color: #fff;
    padding: 0 2px;
}

.subtab {
    background-color: #f5f8fb;
    padding: 15px;
}

.subtab .tabs {
    margin: 0;
}

.subtab .tabs a {
    padding: 2px 10px;
}

.subtab .tab-content {
    padding: 1px 12px;
}

/* toggle elements */

.toggle {
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: -3px 50%;
    background-image: url(../img/fld-minus.png);
    padding-left: 15px;
}

.toggle.off {
    background-image: url(../img/fld-plus.png);
}

/* site structure */

#new-page {
    background-image: url(../img/new-page.gif);
}

/* footer */

#footer {
    margin: 2em 0;
}

/* page contents */

.content-section {
    border-top: 2px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.content-section h5 {
    border-bottom: 1px solid #e5e5e5;
    padding: 6px 10px;
    background: #e3f5fe;
}

.content-section.custom h5 {
    background: #e3f5fe url(../img/faux-cell.gif) repeat-y 0 0;
}

.content-section li {
    border-bottom: 1px solid #e5e5e5;
    background-color: #f5f8fb;
    margin: 0 0 0;
    padding: 5px 5px 5px 10px;
}

.content-section li.clear	 {
    border: 0;
    padding: 0;
}

.content-section.custom h5 input.check {
    margin-right: 15px;
}

.content-section.custom h5 input.cp-text {
    margin: 0 5px 0 0;
    vertical-align: middle;
}

*+html .content-section.custom h5 input.check {
    margin-right: 10px;
}

*+html .content-section li {
    zoom: 1;
}

.content-section li:hover {
    background: #ffffc9;
}

.content-section .element-type {
    font-weight: bold;
    color: #888;
    float: left;
}

.content-section .element-langversion {
    margin: 0 5px;
    padding: 0 1px;
    float: left;
}

#lang-version-dropdown {
    min-width: 100px;
}

.content-section .element-actions {
    float: right;
}

.content-section .element-actions a img {
    margin: 0 2px 0 0;
    vertical-align: middle;
}

.content-section .element-actions a {
    margin: 0 4px;
}

.element-content, .element-langversion a, #lang-version-dropdown {
    background: #fff;
}

#page-contents .element-content {
    margin: 5px 5px 5px 0;
}

.element-content {
    margin: 5px;
    padding: 5px;
    border: 1px dashed #ddd;
    cursor: default;
}

.element-content .preview {
    overflow: hidden;
    margin: 0 0 2px;
}

.preview.short {
    height: 11.85em;
}

.element-content h1, .element-content h2, .element-content h3, .element-content h1, .element-content h2, .element-content h6 {
    font-size: 1em;
    font-weight: bold;
    margin: 0 0 4px;
}

.element-content p, .element-content .img {
    margin: 0 0 4px;
}

.element-content ul, .element-content ol {
    padding: 0 0 0 10px;
}

.element-content li, .element-content li:hover {
    display: list-item;
    background: 0;
    border: 0;
    margin: 5px;
    padding: 0;
}

.element-content ul li {
    list-style: disc inside;
}

.element-content ol li {
    list-style: decimal inside;
}

.dropdown {
    vertical-align: text-bottom;
    margin: 0 0 1px 0;
}

#preview .element-content {
    font-size: 1.1em;
}

/* permissions */

#permissions-table {
    clear: both;
}

#permissions-table th {
    font-weight: bold;
    width: 100px;
}

#permissions-table .th {
    font-weight: bold;
}

#permissions-table .th img {
    margin: 0 5px 0 0;
}

#permissions-table caption .action-imgtxt {
    margin: 0 0 0 5px;
}

/* user instances */

.instance {
    position: relative;
    margin: 0 0 25px;
}

.instance-label {
    font-size: 1.2em;
    margin: 0 0 5px;
}

.ignore-instance {
    position: absolute;
    top: -23px;
    right: 10px;
}

/* controlpanel table */

.cp-table {
    width: auto;
    background: #fff;
    border: 1px solid #ddd;
}

.cp-table caption {
    font-weight: bold;
    padding: 5px 0;
    vertical-align: bottom;
    overflow: hidden;
}

.cp-table th, .cp-table td {
    padding: 6px;
    vertical-align: middle;
}

.cp-table th {
    font-weight: bold;
    background-color: #e3f5fe;
    text-align: center;
}

.cp-table td {
    background-color: #f6f6f6;
}

.cp-table .th {
    white-space: nowrap;
    padding: 6px 10px;
}

.cp-table .th, .cp-table .th-empty, .cp-table tr:hover .th-empty {
    background-color: #e3f5fe;
}

.cp-table tr:hover .cp-text {
    background-color: #fff;
}

.cp-table tr:hover td {
    background-color: #ffffc9;
}

.cp-table tr img {
    vertical-align: text-bottom;
}

.cp-table.va-cell-top td {
    vertical-align: top;
}

*+html .cp-table tr img {
    vertical-align: middle;
}

.listing {
    font-size: 1.05em;
    border-top: 2px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.listing .cp-table {
    width: 100%;
    border: none;
}

.listing th {
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.listing td {
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.listing .group td, .listing .group:hover td {
    font-weight: bold;
    background-color: #e3f5fe;
}

.listing .action {
    white-space: nowrap;
}

.listing .action a {
    margin: 0 4px;
}

a.col-sort, th.col-sort, a.col-sort:hover {
    cursor: pointer;
    color: #444;
}

a.col-sort-asc, th.col-sort-asc, a.col-sort-desc:hover {
    cursor: pointer;
    color: #444;
    background-image: url(../img/sort_asc.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    padding: 0 0 0 12px;
}

a.col-sort-desc, th.col-sort-desc, a.col-sort-asc:hover {
    cursor: pointer;
    color: #444;
    background-image: url(../img/sort_desc.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    padding: 0 0 0 12px;
}

th.col-sort-asc, th.col-sort-desc {
    background-position: 5px 50%;
    padding: 0 0 0 17px;
}

/* lists */

.boxlist li {
    border: 1px solid #ddd;
    background: #e3f5fe;
    margin: 0 0 5px;
    padding: 10px;
}

.boxlist img {
    vertical-align: middle;
    margin: -1px 2px 0 0;
}

.boxlist .action {
    float: right;
    margin: 0 4px;
}

.property-list {
    float: left;
    width: 100%;
}

.property-list li {
    margin: 4px 0;
}

.property-list li strong {
    margin: 0 0 0 5px;
}

/* forms & fields */

input, textarea, select {
    font: 11px Arial, Helvetica, sans-serif;
    color: #222;
}

input.cp-text, textarea {
    border: 1px solid #abadb3;
    padding: 2px;
    margin: 1px 0;
}

.disable input.cp-text,
input.cp-text:disabled {
    border: 1px solid #ddd;
    background: #fafafa;
}

input.cp-text:focus, input.cp-error, select.cp-error, textarea:focus, input.cp-hl {
    background-color: #ffffc9;
}

input.cp-text.notice {
    background-color: #ffc9c9;
}

.cp-tiny {
    width: 18px; /* approx 3 characters */
}

.cp-small {
    width: 61px; /* approx 10 characters */
}

.cp-medium {
    width: 162px; /* approx 26 characters */
}

.cp-large {
    width: 240px; /* approx 40 characters */
}

.cp-xlarge {
    width: 330px; /* approx 55 characters */
}

.cp-full {
    width: 98%;
}

input.pf {
    color: #777;
}

.inline {
    margin: 0 8px 0 0;
}

input.inline, select.inline {
    vertical-align: middle;
}

select.cp-xlarge {
    width: 336px;
}

optgroup {
    font-style: normal;
    padding: 3px 0;
}

input.button {
    padding: 1px .5em;
    width: auto;
    overflow: visible;
}

input.check {
    margin: 0 3px 0 0;
    padding: 0;
    position: relative;
    top: 0px;
}

*:first-child+html input.check {
    margin: -4px 0px 1px -3px;
    position: relative;
    top: 2px;
}

.formbody h4 input.check {
    margin: 3px 6px 1px 0;
}

*:first-child+html .formbody h4 input.check {
    margin: -4px 3px 0 -4px;
}

input.radio {
    margin: 1px 3px 0 1px;
    padding: 0;
    position: relative;
    top: -1px;
    vertical-align: middle;
}

.tree-listing input.radio {
    top: 1px;
}

*:first-child+html input.radio {
    margin: -4px 0 1px -3px;
    top: 2px;
}

*:first-child+html .tree-listing input.radio {
    margin: -4px 3px 1px -3px;
    top: 2px;
}

.loading {
    margin: 2px;
    width: 16px;
    height: 16px;
    background: url(../img/ajax-loader.gif) no-repeat 0 50%;
    position: absolute;
    display: block;
}

.checklist li label, .radiolist li label, .tree-listing li label {
    font-weight: normal;
    cursor: pointer;
}

.checklist li {
    margin: 0 0 3px 0;
}

.radiolist li {
    margin: 0 0 7px 0;
}

.checklist.fourcol {
    float: left;
    width: 24%;
    margin: 0 1% 0 0;
}

.checklist.threecol {
    float: left;
    width: 32%;
    margin: 0 1% 0 0;
}

.checklist.twocol, .fieldlist.twocol {
    float: left;
    width: 48%;
    margin: 0 2% 15px 0;
}

div.checklist label input {
    margin-right: 6px;
}

div.checklist label {
    font-weight: normal;
}

.fieldlist li, ul.fieldlist.onefieldcol li {
    float: left;
    width: 100%;
    margin: 0 0 5px;
}

.fieldlist.twofieldcol li {
    width: 48%;
    margin: 0 2% 5px 0;
}

.fieldlist label {
    float: left;
    min-width: 120px;
    line-height: 1.5em;
}

.fieldlist.label-up label {
    float: none;
    display: block;
}

.fieldlist select {
    margin: 1px 0;
}

.cp-datafield {
    background: #f5f8fb;
    padding: 4px;
    margin: 0 0 3px;
}

.cp-data-select {
    font-size: 1.1em;
    display: none;
    position: absolute;
    border: 1px solid #999;
    background: #fff;
}

.cp-data-select h5 {
    margin: 2px 4px 0;
}

.cp-data-select ul {
    margin: 2px 0 4px;
    overflow: hidden;
}

.cp-data-select a {
    display: block;
    padding: 1px 8px;
}

.cp-data-select a:hover {
    color: #fff;
    background-color: #3399ff;
}

/* formbody */

.formbody .panel {
    font-size: 1.1em;
}

.formbody h4 {
    padding: 0 0 2px 0;
}

.formbody h4.check-container {
    padding: 0;
    margin: -5px 0 0 0;
}

.formbody h4.toggle {
    padding: 0 0 0 20px;
    margin: 0 0 4px;
}

.formbody label {
    font-weight: bold;
}

.formbody label em {
    font-weight: normal;
}

.formbody label.check {
    cursor: pointer;
}

.formbody .panel {
    border-bottom: 1px solid #ddd;
    padding: 0 0 15px 0;
    margin: 0 0 15px;
}

.formbody .panel.new {
    font-weight: bold;
    background: #ecf9db url(../img/new.gif) no-repeat 10px 13px;
    padding: 15px 15px 15px 45px;
    height: 1%;
}

.formbody .last {
    border: 0;
    margin: 0;
}

.formbody .disable, .formbody .disable h4, .formbody .disable .cp-info, .disable .button {
    color: #c6c6c6;
}

.form-action {
    background: #fff url(../img/form-action.gif) repeat-x 0 0;
    padding: 10px;
    margin: 10px 0 0 0;
}

.form-action.disable {
    background-image: url(../img/form-action-disabled.gif);
}

.form-action .button {
    margin: 0 3px 0 0;
}

.formbody .tree-listing {
    font-size: 1em;
    margin: 0 0 4px;
}

.formbody .error {
    line-height: 16px;
    margin: 0 0 4px;
}

.form-img, .help {
    vertical-align: text-bottom;
}

*:first-child+html .form-img {
    vertical-align: 0;
}

.help, .field-action {
    margin: 0 0 0 3px;
}

.form-info {
    width: 140px;
    margin: 0 0 0 20px;
    padding: 0 10px 10px;
    float: right;
    background-color: #e3f5fe;
}

.form-info h6 {
    font-weight: bold;
    background: url(../img/note-bg.gif) no-repeat 0;
    padding: 5px 0 5px 20px;
    margin: 2px 0;
}

.form-info p {
    margin: 5px 0;
}

.form-info.cp-large {
    width: 220px;
}

.field-info {
    font-size: 11px;
}

.field-action {
    font-weight: bold;
}

.add {
    background: url(../img/add-new.png) no-repeat 0 0;
    padding: 2px 0 2px 20px;
}

.mandatory {
    font-size: 13px;
    line-height: 1;
    font-weight: bold;
    color: #d00;
    vertical-align: text-top;
    padding: 0 4px;
    cursor: help;
}

.cp-info {
    color: #999;
    margin: 3px 0;
}

.message {
    clear: both;
    font-size: 1.1em;
    line-height: 16px;
    background-color: #f8f8f8;
    background-position: 0 10px;
    margin: 5px 0 10px;
    padding: 10px;
}

.formbody .message {
    font-size: 1em;
}

.inline-message {
    line-height: 16px;
    margin: 0 0 2px 0;
}

.error {
    color: #c00;
    background: url(../img/alert.png) no-repeat;
    padding-left: 20px;
}

div.message.error {
    background-color: #ffffc9;
    margin: 5px 0 10px;
}

.success {
    color: #5a8900;
    background: url(../img/success.png) no-repeat;
    padding-left: 20px;
}

div.success {
    background-color: #ecf9db;
}

.common {
    background: url(../img/info.png) no-repeat;
    padding-left: 20px;
}

div.common {
    background-color: #f5f8fb;
}

.note {
    font-weight: bold;
    background: url(../img/note.png) no-repeat;
    padding-left: 20px;
}

div.note {
    background-color: #e3f5fe;
}

div.error, div.success, div.common, div.note {
    background-position: 10px 10px;
    padding-left: 35px;
}

.progress {
    background: #f5f8fb url(../img/progress-loader.gif) no-repeat 2px 2px;
    border: 2px solid #f5f8fb;
}

.message.small {
    padding: 0;
}

.progress .progress-bar {
    margin: 0 0 0 30px;
    background: #fff;
}

.progress-bar {
    position: relative;
}

.progress-bar-content {
    position: relative;
    z-index: 100;
    padding: 6px 10px;
}

.progress-bar-bg {
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    height: 100%;
    background: #f5f8fb;
}

/* anchor list */

.alfanum a {
    width: 1em;
    float: left;
    font-size: 1.1em;
    text-align: center;
    padding: 1px 0;
}

.alfanum a:hover {
    padding: 0;
    border-top: 1px solid #00aeef;
    border-bottom: 1px solid #00aeef;
    background-color: #fff;
}

/* pagination */

.pagination h5 {
    float:left;
    font-weight: normal;
    font-size:1.1em;
    margin:2px 10px 2px 0
}

.pagination a {
    float: left;
    font-size: 1.1em;
    border: 1px solid #ddd;
    margin: 0 1px 0;
    padding: 1px 4px;
}

.pagination a:hover {
    background: #f4f4f4;
}

.pagination .active, .pagination .active:hover {
    font-weight: bold;
    border: 0;
    background: #e3f5fe;
    padding: 2px 5px;
}

.pagination span {
    font-size: 1.3em;
    font-weight: bold;
    line-height: 0.75;
}

/* dialog */

#cp-loader {
    font-size: 1.5em;
    font-weight: bold;
    background: url(../img/dialog-loader.gif) no-repeat 10% 50%;
    padding: 30px 30px 30px 50px;
}

.dialog {
    width: 720px;
    background-color: #f5f8fb;
}

/* quick classes */

.cntr {
    text-align: center;
}

.rght {
    text-align: right;
}

.lft {
    text-align: left;
}

/* Flash slideshow backend */

#fss-folder-tree {
    /*float: left;*/
    width: 20%;
}

#fss-folder-tree ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0 8px;
}

#fss-folder-tree li {
    line-height: 1.5em;
    padding: 2px 0 2px 16px;
    margin: 3px 0 0;
}

#fss-folder-tree li.has-childs {
    padding: 2px 0;
    margin: 0;
}

#fss-folder-tree li.closed ul {
    display: none;
}

#fss-folder-tree li img {
    vertical-align: text-bottom;
}

#fss-folder-tree li a {
    background: url(../img/folder-offline.png) no-repeat 0 0;
    padding: 0 0 0 20px;
    margin: 0 2px;
}

#fss-folder-tree li a.active {
    font-weight: bold;
    background-image: url(../img/folder.png);
    background-position: 0 -1px;
}

#fss-folder-tree li li a.active {
    font-weight: bold;
    background-image: url(../img/note-bg.gif);
    background-position: 0 -1px;
}

td.right {
    text-align: right;
}

.noscript {
    font-size: 1.1em;
    color: red;
}

/** messages **/

ul.message {
    background: #ddddff url(../img/info.png) no-repeat 10px 10px;
    border: none;
    padding: 10px 10px 10px 40px;
    margin: 0 0 10px 0 !important;
    color: #444444;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    clear: both;
    list-style: none !important;
}

ul.message li {
    line-height: 1.5em;
}

ul.success {
    background-color: #ddffdd;
    /*border: 1px solid #009900;*/
    background-image: url(../img/success.png);
}

ul.error {
    background-color: #ffdddd;
    /*border: 1px solid #990000;*/
    background-image: url(../img/alert.png);
}

div .thumbnail-right-block {
    border-left: 1px solid black;
    padding: 20px;
    background-color: #f5f8fb;
    font-size: 1.1em;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

div .thumbnail-right-block .thumb-itself {
    width: 180px;
    height: 180px;
    border: 1px solid black;
    margin: 0 auto;
}

div .thumbnail-right-block .delete-label {
    text-align: center;
    width: 100%;
    padding: 5px 0;
}

div .thumbnail-right-block .new-logo {
    padding: 10px 0;
}

ul .errors li {
    color: #DD0000;
}

input.date {
    width: 80px;
    background: white url(../img/calendar.png) no-repeat 66px 0px;
    cursor: pointer;
}

input.page-picker {
    width: 300px;
    padding: 0 0 0 22px;
    background: transparent url(../img/view.png) no-repeat 0 0;
    border: none;
    height: 16px;
    cursor: pointer;
}

input.page-picker.no-data {
    color: #888;
}

/* Manage emails */
.two-col {
    margin: 0 0 15px;
}

.two-col .panel.block {
    width: 45%;
    padding: 2%;
}

.two-col .panel {
    width: 48%;
    clear: none;
}


/** Model Table *******************************************************************************************************/

table.model-table {
    width: 100%;
    border: 2px solid #E5E5E5;
    border-left: none;
    border-right: none;
    font-size: 1.1em;
    padding: 0;
    border-collapse: collapse;
}

table.model-table th,
table.model-table td {
    padding: 6px;
    border-bottom: 1px solid #E5E5E5;
    vertical-align: middle;
}

table.model-table th {
    background-color: #E3F5FE;
}

table.model-table span.sort {
    float: right;
    padding: 0px 0 0;
    width: 6px;
}

table.model-table span.sort a.sort-asc,
table.model-table span.sort a.sort-desc {
    margin: 1px 0 0 0;
    float: right;
    width: 10px;
    height: 6px;
    text-indent: -1000px;
    overflow: hidden;
    background: url('../img/sorting.gif') no-repeat -10px 0px;
}
table.model-table span.sort a.sort-desc {
    background-position: -10px -6px;
}
table.model-table span.sort a.sort-asc:hover,
table.model-table span.sort a.sort-asc.active {
    background-position: 0px 0px;
}
table.model-table span.sort a.sort-desc:hover,
table.model-table span.sort a.sort-desc.active {
    background-position: 0px -6px;
}

table.model-table td.actions {
    text-align: right;
}

table.model-table td.actions a {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    overflow: hidden;
    margin-left: 5px;
    text-indent: 1000px;
}

table.model-table td.actions a.edit {
    background: url('../img/edit.png');
}

table.model-table td.actions a.delete {
    background: url('../img/delete.png');
}

table.model-table td.actions a.duplicate {
    background: url('../img/copy.png');
}

table.model-table td.actions a.view {
    background: url('../img/view.png');
}

table.model-table td.actions a.entries {
    background: url('../img/browse_survey.png');
}

/** Pagination ********************************************************************************************************/

div.pagination {
    padding: 8px 0;
    vertical-align: middle;
    background: transparent;
    overflow: hidden;
    text-align: center;
    font-size: 1.1em;
}

select {
    padding: 1px 0;
}

div.top-pagination {
    border: 1px solid #D7D7D7;
    border-bottom: none;
}

div.pagination .pagination-items-per-page {
    float: left;
    line-height: 1.5em;
}

div.pagination .pagination-word-links,
div.pagination .pagination-number-links {
    display: inline;
    line-height: 1.5em;
}

div.pagination .pagination-word-links a {
    padding: 0 6px;
}

div.pagination .pagination-number-links a {
    border: 1px solid #555;
    padding: 1px 6px;
    margin: 0 2px;
    display: inline-block;
    color: #555;
}

div.pagination .pagination-number-links a.active {
    background: #d0d0d0;
    color: #333;
}

div.pagination .pagination-amount-string {
    float: right;
    line-height: 1.5em;
}

.panel input[type=checkbox] {
    margin-left: 0;
}

/* Select2 fix */
.select2-drop {
    text-align: left;
    font-size: 1.5em;
}

body.in-popup {
    text-align: left;
}

/** Status message popup **********************************************************************************************/

#status-message {
    display: block;
    position: fixed;
    top: 60px;
    right: 60px;
    background: #E3F5FE;
    border-radius: 3px;
    box-shadow: 0 0 2px #555;
    font-size: 1.3em;
    padding: 10px;
}

#status-message img {
    margin-right: 10px;
    vertical-align: bottom;
}

.in-popup {
    background: white;
}

.in-popup .column {
    background: white;
    float: none;
    margin: 0;
    padding: 10px;
    width: auto;
}

.form-action input,
.btn {
    cursor: pointer;
    padding: 5px 7px;
    border: 1px solid #888;
    border-radius: 3px;
    background: #efefef;
    box-shadow: 0 1px 2px #aaa, inset 0 -20px 10px -10px #ddd;
}

.form-action .btn-secondary,
.btn-secondary {
    background: #ffcece;
}

.lang-select-block div.panel.block {
    border: 1px solid #ddd;
    border-top: 0;
}

.lang-select-header {
    padding: 3px;
    background-color: #efefef;
    border: 1px solid #ddd;
}

.lang-select-header h4 {
    float: left;
    font-size: 120%;
    padding: 3px 0 0 7px;
    color: #555;
}

.lang-select-header label {
    font-weight: normal;
    font-size: 110%;
}

.lang-select-header select.cp-xlarge {
    width: auto;
}