body {
    background: #eee;
}
#content {
    background: #fff;
}
.nodisplay {
    display: none;
}
.cleared {
    clear: both;
}

.form-actions {
    background: none;
    margin: 0 0 20px;
}

#header {
    background: #fff;
}
#header:after { /* clearfix */
    content: "";
    display: table;
    clear: both;
}
#header .header_top {
    background: #691b33;
}
#header .logo {
    display: block;
}
#content {
    padding: 15px 0 0;
}

#rights {
    margin: 0 0 30px;
}
label {
    font-weight: normal;
}

.autocompleteGroupField {
    overflow: hidden;
}
.autocompleteField.row > .formField {
    float: left;
    margin: 0 0 5px;
}
.autocompleteField.row .controls {
    margin: 0 0 0 10px;
}
.autocompleteField.row .controls .minus {
    margin: 0 5px 0 0;
}
.uploadField .existing,
.uploadImageField .existing {
    display: block;
    margin: 0 0 10px;
    text-align: left;
}
.uploadImageField.multiple .existing ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.uploadImageField .existing li,
.uploadImageField .existing span {
    display: inline-block;
    margin: 0 5px 5px 0;
    text-align: center;
}
.uploadField .existing a,
.uploadImageField .existing a {
    display: block;
}
.uploadField .existing label,
.uploadImageField .existing label {
    display: inline-block;
}
.uploadField .existing label,
.uploadImageField .existing label {
    margin: 0;
    vertical-align: middle;
    padding: 0;
}
.uploadField .existing input,
.uploadImageField .existing input {
    margin: 0;
    vertical-align: middle;
    float: none;
}
.uploadImageField .existing img {
    width: 100px;
    display: block;
}
.uploadField .field .controls,
.uploadImageField .field .controls {
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}
.uploadField .field .controls span,
.uploadImageField .field .controls span {
    cursor: pointer;
}
.uploadField.multiple input[type="file"],
.uploadImageField.multiple input[type="file"] {
    display: inline-block;
}
.uploadField.multiple .help-block,
.uploadImageField.multiple .help-block {
    margin-top: 10px;
}

.textField textarea {
    width: 100%;
    height: 272px;
}

.form-horizontal .hiddenField {
    display: none;
}

.rightsField strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rightsField {
    margin: 0 0 10px;
}

.base_listing td {
    vertical-align: middle;
}
ul.sortable.sortable-active,
ul.sortable.sortable-active ul,
table.sortable tbody {
    cursor: move;
}
table.sortable .ui-sortable-helper {
    background: #fff;
}
ul.sortable.sortable-active li[data-not-sortable] {
    cursor: default;
}
.sortable-submit,
.sortable-cancel {
    display: none;
}

tr.disabled {
    color: #aaa;
}

#footer {
    color: #888;
    font-size: 12px;
    border-top: 1px solid #ccc;
    padding: 25px;
    text-align: center;
}
#footer img {
    vertical-align: middle;
}

@media (min-width: 992px) {
    #footer .copy {
        text-align: left;
    }
    #footer .idev {
        text-align: right;
    }
}

.ui-sortable-placeholder td {
    color: transparent;
}
.ui-sortable-placeholder td * {
    visibility: hidden;
}
.ui-sortable-helper {

}

.accordion-group.active {
    overflow: hidden;
}
.accordion-group.active > .accordion-heading .accordion-toggle {
    cursor: default;
}

.controls .plus {
    display: inline-block;
    text-indent: -9999em;
    background: url("../img/form_plus.png") no-repeat 0 0;
    height: 16px;
    width: 16px;
}
.controls .minus {
    display: inline-block;
    text-indent: -9999em;
    background: url("../img/form_minus.png") no-repeat 0 0;
    height: 16px;
    width: 16px;
}

.controls .minus.nodisplay {
    display: none;
}

#pages ul {
    list-style: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
#pages ul ul {
    margin: 0 0 0 40px;
}

#pages li > div {
    position: relative;
    background: #F8F8F8;
    padding: 10px 20px 10px 35px;
    margin: 0 0 10px;
}

#pages li .btn-toolbar {
    float: right;
    margin: 0;
}

.form_content_list_pages {
    margin: 0 0 50px;
}

#multiple_actions, #search_listing {
    padding: 20px 10px;
    background: #EEE;
    overflow: hidden;
    margin: 0 0 30px;
}
#search_listing form {
    margin: 0;
}
#search_listing .submit,
#multiple_actions .submit {
    display: block;
    text-align: center;
    padding: 20px 0 0;
    clear: both;
}

#search_listing .submit .reset {
    margin: 0 0 0 20px;
}

.form-row-margin {
    margin-bottom: 35px;
}

#multiple_actions {
    text-align: center;
}
#multiple_actions .form-row {
    display: inline-block;
}
.icon-detail {
    background-position: -49px -1px;
}
.icon-process {
    background-position: -192px -97px;
}
.icon-unprocess {
    background-position: -168px -97px;
}
.icon-download {
    text-indent: -999em;
    background-position: -95px -24px;
}
.icon-create {
    background-position: -408px -97px;
}

.form-group .link_back {
    margin-left: 10px;
}
#pages ul .fold {
    position: absolute;
    top: 14px;
    left: 10px;
    cursor: pointer;
}
#pages .fold:before {
    content: "\e114";
}
#pages .fold.glyphicon-chevron-right:before {
    content: "\e080";
}
#pages > form {
    margin-top: 20px;
}

.uploadImageField .field_multiple {
    margin-bottom: 15px;
}
.uploadImageField .field_multiple .existing img {
    height: 100px;
    width: auto;
}
.ui-datepicker {
    z-index: 99 !important;
}

.ml_tabs .btn {
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.field_ml .form-control {
    border-top-left-radius: 0;
}

#filemanager {
    margin: 0 0 40px;
    border: 1px solid #CCC;
}

#forgotten_password h1 {
    text-align: center;
    margin: 0 0 30px;
}

#drop_form {
    display: none;
}
.drop_zone {
    background: #eee;
    margin: 0 0 18px;
    padding: 20px 20px 10px;
    overflow: hidden;
    border: 3px dashed #ccc;

    transition: all 0.3s;
}
.drop_zone.dragover {
    border: 3px dashed #333;
}
.drop_zone p {
    text-align: center;
}
.drop_zone input[type="file"] {
    display: inline;
}
.drop_zone .list ul {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0;
}
.drop_zone .list li {
    display: inline-block;
    position: relative;
    margin: 0 10px 10px 0;
    font-size: 14px;
    white-space: nowrap;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0 0 0 5px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.drop_zone .list .img {
    width: 100px;
    height: 100px;
    padding: 0;
    background: none;
    border: 0;
}
.drop_zone .list .img img {
    max-width: 100px;
    max-height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.drop_zone .list .delete {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 5px;
    border: 0;
    background: #fff;
}
.drop_zone .list .img .delete {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: none;
}
.drop_zone .list .img:hover .delete {
    display: block;
}
.drop_zone .list .preview {
    text-align: center;
    min-width: 100px;
}
.drop_zone .list .progress {
    width: 100%;
    margin: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.drop_zone .list .img .preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 12px;
    line-height: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.drop_zone .list .img .progress {
    position: absolute;
    bottom: 0;
}

.inputField .modal-dialog {
    width: 80%;
    height: 80%;
}
.inputField .modal-content {
    height: 100%;
}
.inputField .modal-body {
    height: 90%;
    padding: 5%;
}
.inputField .controls.filemanager input {
    float: left;
    width: 90%;
}
.inputField .controls.filemanager button {
    float: right;
}
.btn-primary {
    background-color: #691b33;
    border-color: #691b33;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
    background-color: #511728;
    border-color: #511728;
}
a, .btn-link {
    color: #691b33;
}
a:hover, a:focus,
.btn-link:hover, .btn-link:hover {
    color: #511728;
}
.mce-tinymce {
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.mce-focused {
    border-color: #691b33 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(101, 29, 50, 0.6);
}
.form-control:focus {
    border-color: #691b33;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(101, 29, 50, 0.6);
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: #691b33;
}

.listing_pagination {
    margin: 0 0 18px;
}



.rte {
    overflow: hidden;
}
.rte .col.col-1 {
    margin-left: 0;
}
.disposition_1 .col {

}
.disposition_1-1 .col {
    float: left;
    width: 48.48484848%;
    margin: 0 0 0 3.03030303%;
}
.disposition_1-1-1 .col {
    float: left;
    width: 31.31313131%;
    margin: 0 0 0 3.03030303%;
}
.rte img {
    max-width: 100%;
    height: auto;
}





#list-contents tbody,
#list-contents tbody tr,
#list-contents tbody td {
    display: block;
    border: 0;
    padding: 0;
    background: #eee;
}
#list-contents tbody {
    padding: 20px;
    border-top: 30px solid #fff;
}
#list-contents tbody:first-child {
    border-top: 0;
}
#list-contents tbody tr {
    margin-top: 20px;
}
#list-contents tbody tr:first-child {
    margin-top: 0;
}
#list-contents tbody tr.ui-sortable-helper {
    opacity: 0.5;
    background: none;
}
#list-contents tbody tr.ui-sortable-helper, td {
    background: none;
}
#list-contents tbody tr.ui-sortable-placeholder {
    visibility: visible !important;
    background: rgba(136,136,136,0.7);
}
#list-contents tbody.not-connectable tr.ui-sortable-placeholder {
    height: 0 !important;
    overflow: hidden;
    margin: 0;
}
#list-contents tbody .zone-title h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    margin: 0;
}
#list-contents tbody,
#list-contents tr[data-not-sortable] {
    cursor: default;
}
#list-contents tr {
    cursor: move;
}
#list-contents tbody td .item-type {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
#list-contents tbody td .content {
    background: #fff;
    border: 1px solid #e7e7e7;
    padding: 20px 20px 10px;
}
#list-contents tbody .restricted-module .content {
    opacity: 0.5;
}
#list-contents tbody .add-content-row a {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 28px;
}
#list-contents tbody .item {
    position: relative;
}
#list-contents tbody .item-hidden .content {
    opacity: 0.5;
}
#list-contents tbody .item:hover .actions {
    display: block;
}
#list-contents tbody .item .actions {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(136,136,136,0.7);
    border: 1px solid #e7e7e7;
    text-align: center;
    padding: 0;
}
#list-contents tbody .item .actions:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 0;
    height: 100%;
}
#list-contents tbody .item .actions a {
    display: inline-block;
    vertical-align: middle;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #888;
    margin: 0 15px;
}

.two_levels_listing .actions,
.two_levels_listing .field_hidden {
    width: 0;
}
.two_levels_listing .actions .btn-toolbar,
.two_levels_listing .actions .btn-group {
    white-space: nowrap;
    font-size: 0;
}
.two_levels_listing .actions .btn-group {
    float: none;
    display: inline-block;
    vertical-align: middle;
}

.two_levels_listing.sortable tbody {
    cursor: default;
}
.two_levels_listing.sortable-active tbody,
.two_levels_listing.sortable-active .collapse-toggler {
    cursor: move;
}
.two-levels-listing-item .collapse-toggler {
    cursor: pointer;
}
.two-levels-listing-item .collapse-toggler .glyphicon {
    margin: 0 5px 0 0;
}
.two-levels-listing-sub-items-wrap {
    clear: both;
    overflow: hidden;
}
.two-levels-listing-sub-items {
    margin: 8px 0 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
}
.two-levels-listing-item .btn-toolbar {
    padding: 0 8px;
}

.admin_ranking.table .form-row {
    margin: 0;
}
.admin_ranking.table input {
    text-align: center;
}
.admin_ranking.table td {
    vertical-align: middle;
}
.admin_ranking.table .team {
    white-space: nowrap;
}

.edit-composition-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row wrap;
}
.edit-composition-header .edit-composition-header-item {
    flex: 0 0 auto;
}

.inline-radios .radio {
    display: inline-block;
}
.inline-radios .radio + .radio {
    margin-left: 7px;
}

.stadium-positions-checkboxes-table {
    border: hidden;
}
.stadium-positions-checkboxes-table th,
.stadium-positions-checkboxes-table td {
    border: 1px solid #ccc;
    text-align: center;
}
.stadium-positions-checkboxes-table th {
    padding: 10px;
}
.stadium-positions-checkbox {
    position: relative;
    padding: 10px;
}
.stadium-positions-checkbox label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* Fix weird issue where the width of the style format submenu is not computed properly */
.mce-floatpanel.mce-menu-sub,
.mce-floatpanel.mce-menu-sub > .mce-container-body {
    width: auto !important;
}