/* Basic HTML
------------------------------------------------------------------------*/
/* Disable EasyAdmin property */
body {
    -moz-osx-font-smoothing: auto;
}

h1 {
    font-size: 28px;
}

a {
    color: #0077c8;
    transition: color 0.3s;
}

a, a:hover, a:focus {
    color: #0077c8;
}

a:hover {
    text-decoration: underline;
}

.nodisplay {
    display: none;
}
legend {
    font-size: 14px;
}

legend .control-label {
    padding-right: 25px;
}

textarea {
    resize: vertical;
}

textarea.form-control {
    height: 150px;
}

.box-header,
.box-body,
.box-footer {
    padding-left: 10px;
    padding-right: 10px;
}
.box.box-default,
.box.box-primary {
    border-top-color: #0077c8;
}
.box-body {
    padding-bottom: 0;
}

.table-hover .row-disabled, .table-hover .row-disabled:hover {
    background-color: #ccc;
    color: #777;
}

.form-submit {
    overflow: hidden;
    margin: 0 -20px 10px;
}
.form-control:focus {
    border-color: #0077c8;
}

.btn {
    transition: 0.3s;
    transition-property: color, border-color, background-color;
}
.btn-default {
    background-color: #f4f4f4;
    border-color: #ddd;
    color: #444;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    background-color: #fff;
    border-color: #444;
    color: #444;
}

.btn-primary {
    background-color: #0077c8;
    border-color: #0077c8;
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #fff;
    border-color: #0077c8;
    color: #0077c8;
}

.btn-danger {
    background-color: #f4f4f4;
    border-color: #ddd;
    color: #444;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #dd4b39;
    border-color: #d73925;
    color: #fff;
}

.btn-toolbar {
    margin-left: -10px;
}
.btn-toolbar > .btn,
.btn-toolbar > .btn-group,
.btn-toolbar > .input-group {
    margin-left: 10px;
}

.inline > * {
    display: inline-block;
}
.radio-inline {
    padding-left: 0;
}
.radio-inline .radio,
.radio-inline .checkbox {
    display: inline-block;
    margin-right: 15px;
}

.warning {
    color: #f39c12;;
}

.danger {
    color: #dd4b39
}

.field-counter {
    display: block;
    text-align: right;
}

.newrow, .new-row {
    clear: both;
    display: block;
}

.small-box .icon {
    font-size: 85px;
}
.small-box .icon:hover,
.small-box:hover .icon {
    font-size: 90px;
}

.caps {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    display: inline-block;
}

.text-center {
    text-align: center;
}

/* Actions
------------------------------------------------------------------------*/
.top-actions {
    margin-top: 15px;
    margin-bottom: 0;
}
.top-actions .action-list,
.top-actions .action-delete,
.top-actions .action-edit {
    margin-bottom: 15px;
}
/* Tabs
------------------------------------------------------------------------*/
.header-tabs {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    border-bottom: 1px solid #ddd;
}
.header-tabs .nav-tabs {
    border-bottom: 0;
}
.header-tabs > .nav-tabs > li:first-of-type {
    margin-left: 0;
}
.header-tabs > .nav-tabs > li.active {
    border-top-color: #0077c8;
}
.header-tabs > .nav-tabs > li {
    border-top: 3px solid transparent;
    margin-bottom: -2px;
    margin-right: 5px;
}
.header-tabs > .nav-tabs > li:first-of-type.active > a {
    border-left-color: transparent;
}
.header-tabs > .nav-tabs > li.active > a {
    border-top-color: transparent;
    border-left-color: #f4f4f4;
    border-right-color: #f4f4f4;
}
.header-tabs > .nav-tabs > li.active > a, .header-tabs > .nav-tabs > li.active:hover > a {
    background-color: #fff;
    color: #444;
}
.header-tabs > .nav-tabs > li > a, .header-tabs > .nav-tabs > li > a:hover {
    background: transparent;
    margin: 0;
}
.header-tabs > .nav-tabs > li > a {
    color: #444;
    border-radius: 0;
}
.header-tabs > .nav-tabs > li:not(.active) > a:hover, .header-tabs > .nav-tabs > li:not(.active) > a:focus, .header-tabs > .nav-tabs > li:not(.active) > a:active {
    border-color: transparent;
}
.header-tabs > .nav-tabs > li > a:hover {
    color: #999;
}
.header-tabs > .nav-tabs > li > a, .header-tabs > .nav-tabs > li > a:hover {
    background: transparent;
    margin: 0;
}
.header-tabs .header-tabs-title {
    line-height: 35px;
    padding: 5px 10px 0;
    color: #444;
    font-size:20px;
    margin:10px auto;
}
.nav-tabs-custom > .tab-content {
    padding-bottom: 0;
}

.dl-horizontal dt {
    margin-bottom:10px;
    text-align: left;
}
.dl-horizontal dd {
    border-bottom:1px solid #ddd;
    margin-bottom:10px;
    padding-bottom:10px;
}
.tag {
    background: #0077c8;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
}

/* Form
------------------------------------------------------------------------*/
.has-error .checkbox, .has-error .checkbox-inline, .has-error .control-label, .has-error .help-block, .has-error .radio, .has-error .radio-inline, .has-error.checkbox label, .has-error.checkbox-inline label, .has-error.radio label, .has-error.radio-inline label {
    color: #dd4b39;
}
.form-group.has-error .form-control:focus, .form-group.has-error .input-group-addon:focus {
    border-color: #0077c8;
}
.form-group.has-error label {
    color: initial;
}
.form-group.has-error .help-block {
    color: #737373;
}
.form-group.has-error > .controls > .form-control, .form-group.has-error > .controls > .input-group-addon {
    border-color: #dd4b39;
    box-shadow: none;
}
.form-group.has-error > label {
    color: #dd4b39;
}
.form-group.has-error > .help-block {
    color: #dd4b39;
}
.input-group-addon:hover {
    cursor: pointer;
}
.controls-with-button {
    display: flex;
}
.controls-with-button input {
    min-width: 0;
}
.controls-with-button .btn {
    margin-left: 10px;
    flex: 0 0 auto;
}
.field-gdpr .control-label {
    font-weight: 400;
    margin-left: 5px;
}

/* Select2
------------------------------------------------------------------------*/
.select2-container {
    width: 100%!important; /* Prevent inline style from select2 */
}

.select2-container .select2-selection--single {
    height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
    top: 0;
    right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--default .select2-selection--single {
    padding-top: 3px;
    padding-left: 3px;
    border: 1px solid #d2d6de;
    border-radius: 0;
    background-color: #fff;
    background-image: none;
}

.select2-container--default .select2-selection--single:focus {
    border: 1px solid #0077c8;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border: 1px solid #0077c8;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
    background-image: none;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 0;
    border: 1px solid rgb(210, 214, 222);
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image-source: none;
    border-image-repeat: stretch stretch;
}

.select2-container--classic .select2-selection--multiple:focus,
.select2-container--classic.select2-container--open .select2-selection--multiple,
.select2-container--classic.select2-container--open .select2-dropdown {
    border: 1px solid #0077c8;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #0077c8!important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0077c8;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #0077c8;
    border: 1px solid #0077c8;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
}
.has-error .select2-container--default .select2-selection--single {
    border: 1px solid #dd4b39;
}

/* Global
------------------------------------------------------------------------*/
.top-buttons {
    margin: 10px 0;
}
.button-action {
    margin: 10px 10px 10px 0;
}
.clear {
    clear: left;
}
.box-footer {
    padding-bottom: 0;
}
.box-footer button {
    margin-bottom: 10px;
}

/* Sidebar
------------------------------------------------------------------------*/

.sidebar-collapse .main-sidebar .idev-footer-link {
    display: none;
}
.main-sidebar .idev-footer-link {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}
.main-sidebar .idev-footer-link a {
    color: #b8c7ce;
    transition: color 0.3s;
}
.main-sidebar .idev-footer-link a:focus,
.main-sidebar .idev-footer-link a:hover {
    text-decoration: none;
    color: #fff;
}

/* Header
------------------------------------------------------------------------*/

.sidebar-menu,
.main-sidebar .user-panel,
.sidebar-menu > li.header {
    white-space: normal !important;
}

.main-header .navbar-custom-menu .active {
    background-color: #e1e3e9;
    color: #333;
}

.skin-black .main-header > .logo {
    background: #0077c8;
    border-right: 0;
}

.skin-black .main-header > .logo img {
    vertical-align: initial;
}

.navbar.navbar-static-top {
    border-top: 1px solid #eee;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: 65px;
}

.navbar-nav > .user-menu .username span {
    display: none;
}

.content-header h1 {
    margin-bottom: 20px;
    font-size: 28px;
}

.skin-black .main-header > .logo {
    color: #fff;
}

.skin-black .main-header > .logo,
.skin-black .main-header > .logo:hover {
    background: #0077c8!important;
}

/* ML fields
------------------------------------------------------------------------*/
.field-ml > .control-label {
    float: left;
}
.field-ml-lang-switch {
    float: right;
}
.field-ml-lang-switch .btn {
    padding-left: 6px;
    padding-right: 6px;
}
.field-ml-lang-switch .btn.active {
    color: #0077c8;
    background: #fff;
}
.field-ml-lang-switch .btn.active,
.field-ml-lang-switch .btn:active {
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: auto;
}
.field-ml-lang-switch .btn-default:not(.active),
.field-ml-lang-switch .btn-default:not(.active):hover,
.field-ml-lang-switch .btn-default:not(.active):focus,
.field-ml-lang-switch .btn-default:not(.active):active {
    background-color: #eee;
    border-color: #ddd;
    color: #666;
}
.fields-ml-sub:before {
    content: '';
    display: table;
    clear: both;
}

/* Composite field
------------------------------------------------------------------------*/
.composite-field {
    margin-left: 20px;
    border-left: 5px solid #d2d6de;
}
.composite-field > div > .form-group {
    padding-left: 20px;
    position: relative;
}

/* Color field
------------------------------------------------------------------------*/
.field-color input {
    height: 34px;
}

/* Collections
------------------------------------------------------------------------*/
.form-collection {
    margin-left: 10px;
}
.form-collection .form-collection-sortable-placeholder {
    background: #eee;
    margin: 0 0 15px;
}
.form-collection > .form-group {
    border-left: 5px solid #d2d6de;
    padding-left: 10px;
    position: relative;
}
.form-collection > .form-group > .controls {
    margin-right: 75px;
}
.form-collection > .form-group > [class$="-actions"],
.form-collection > .form-group > [class*="-actions "] {
    position: absolute;
    left: 100%;
    margin-left: -65px;
    top: 0;
}
.form-collection > .form-group > [class$="-actions"] > *,
.form-collection > .form-group > [class*="-actions "] > * {
    margin-left: 10px;
    color: #999;
}
.form-collection > .form-group > [class$="-actions"] > *:hover,
.form-collection > .form-group > [class*="-actions "] > *:hover {
    color: #0077c8;
}
.form-collection > .form-group .form-collection-sortable-handle {
    cursor: move;
}
.form-collection > .form-group > [class$="-actions"] > [class$="-remove"]:hover,
.form-collection > .form-group > [class$="-actions"] > [class*="-remove "]:hover,
.form-collection > .form-group > [class*="-actions "] > [class$="-remove"]:hover,
.form-collection > .form-group > [class*="-actions "] > [class*="-remove "]:hover {
    color: #dd4b39;
}
.form-collection [class$="-up"],
.form-collection [class*="-up "],
.form-collection [class$="-down"],
.form-collection [class*="-down "] {
    display: none;
}

/* Search
------------------------------------------------------------------------*/
.search-form input[type="search"],
.search-form .btn {
    box-shadow: none;
    border: 1px solid transparent;
    height: 35px;
}

.search-form input[type="search"] {
    color: #666;
    background-color: #fff;
    border-radius: 2px 0 0 2px;
}

.search-form .btn {
    color: #999;
    background-color: #374850;
    border-radius: 0 2px 2px 0;
}

/* List
------------------------------------------------------------------------*/
.table-responsive table tbody tr td {
    vertical-align: middle;
}
.table-responsive .actions {
    white-space: nowrap;
}
.table-responsive .actions .btn-group > .btn {
    float: none;
}
.table-responsive .actions .btn-group .btn + .btn,
.table-responsive .actions .btn-group .btn + .btn-group,
.table-responsive .actions .btn-group .btn-group + .btn,
.table-responsive .actions .btn-group .btn-group + .btn-group {
    margin-left: -5px;
}
.global-actions,
.global-actions .button-action {
    display: inline-block;
}
.global-actions {
    min-height: 34px /* Required when there is no action button */
}
.global-actions .button-action {
    margin-top: 0;
}
.reorder-message {
    color: #ffffff;
    border-radius: 3px;
    border: 1px solid transparent;
    display: none;
    padding: 6px 12px;
    position: absolute;
    right: 15px;
}
.reorder-error {
    background-color: #dd4b39;
    border-color: #d73925;
}
.reorder-success {
    background-color: #00a65a;
    border-color: #00a65a;
}
.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
    margin-left: -5px;
}
.btn-group-vertical > .btn,
.btn-group > .btn {
    float: none;
}
.btn.action-delete:hover {
    color: #fff;
    background: #dd4b39;
    border-color: #d73925;
}
.advanced-search .box-header {
    cursor: pointer;
}
.handle:hover {
    background: #0077c8;
    color: #fff;
    cursor: grab;
}
.pagination .disabled {
    opacity: 0.5;
}
.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    background-color: #fff;
    color: #444;
    border-color: #444;
}
.pagination > li > a {
    background: #f4f4f4;
    border-color: #ddd;
    color: #444;
}

/* Edit
------------------------------------------------------------------------*/
.box-footer a.btn {
    margin-bottom: 10px;
}

/* Login page
------------------------------------------------------------------------*/
.login-page {
    background-color: #eee
}
.login-page .idev-footer-link {
    text-align: center;
}
.login-page .idev-footer-link a {
    color: #666;
}
.login-logo {
    background: #0077c8;
    margin-bottom: 0;
    padding: 10px;
}
.login-box {
    margin-bottom: 50px;
}
.login-box-body,
.register-box-body {
    padding-bottom: 10px;
}
.login-logo a {
    display: block;
}
.login-box-msg,
.register-box-msg {
    font-size: 16px;
}
.login-forgotten-password {
    display: inline-block;
    font-size: 13px;
    margin-top: 5px;
}
.login-box-body .form-control-feedback,
.register-box-body .form-control-feedback {
    color: #b8c7ce;
}

/* Invitation page
------------------------------------------------------------------------*/
.invitation-role {
    margin-bottom: 20px;
}
.invitation-box .field-gdpr .controls {
    display: flex;
    align-items: flex-start;
}
.invitation-box .field-gdpr .controls input {
    flex: 0 0 auto;
}
.invitation-password-help-block {
    margin-top: -10px;
}

/* Thumbnails and image lightbox
------------------------------------------------------------------------*/
.file-group,
.field-vich_image,
.field-vich_file {
    border-bottom: 1px solid #d2d6de;
}

.easyadmin-vich-image,
.easyadmin-vich-file,
.easyadmin-ml-image,
.easyadmin-ml-video,
.easyadmin-ml-file {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    align-items:center;
    margin-bottom: 10px;
}
.easyadmin-vich-image .checkbox,
.easyadmin-vich-file .checkbox,
.easyadmin-ml-image .checkbox,
.easyadmin-ml-video .checkbox,
.easyadmin-ml-file .checkbox {
    margin-bottom: 0;
}
.easyadmin-thumbnail {
    display: inline-block;
}
.easyadmin-vich-image-fields,
.easyadmin-vich-file-fields,
.easyadmin-ml-image-fields,
.easyadmin-ml-video-fields,
.easyadmin-ml-file-fields {
    display: inline-block;
}

.easyadmin-thumbnail img {
    border: 3px solid #fff;
    box-shadow: 0 0 3px #aaa;
    max-height: 100px;
    max-width: 100%;
    margin-right: 15px;
    margin-bottom: 10px;
}

.easyadmin-file {
    display: inline-block;
    margin-bottom: 10px;
}

.easyadmin-thumbnail img:hover {
    cursor: zoom-in;
}

.featherlight .easyadmin-lightbox:hover {
    cursor: zoom-out;
}

.easyadmin-lightbox {
    display: none;
}

.featherlight .easyadmin-lightbox {
    display: block;
}

.easyadmin-lightbox img {
    max-width: 100%;
}

/* Filemanager
------------------------------------------------------------------------*/
.js-filemanager {
    display: flex;
}
.js-filemanager input {
    min-width: 0;
}
.js-filemanager .btn {
    margin-left: 10px;
    flex: 0 0 auto;
}
.field-filemanager .modal-dialog {
    width: 80%;
    height: 80%;
}

.field-filemanager .modal-content {
    height: 100%;
    display: flex;
    flex-flow: column;
}

.field-filemanager .modal-body {
    flex: auto;
}
.filemanager-modal-body {
    display: flex;
    flex-flow: column;
}

.filemanager-modal-body iframe {
    flex: auto;
}

/* Show
------------------------------------------------------------------------*/
.show .box-title {
    font-size: 20px;
}
.show h2 {
    font-size: 18px;
}
.show .img-block {
    display: block;
    margin: 0 auto 50px;
}
.show .dl-horizontal {
    margin-top: 20px;
}

/* Footer
------------------------------------------------------------------------*/
.content-footer {
    padding: 15px 15px 0 15px;
}

/* Footer
------------------------------------------------------------------------*/
#footer .copy {
    text-align: center;
}

#footer .idev {
    text-align: center;
}

/* IdevCMSBundle
------------------------------------------------------------------------*/
.new-layout .radio-icon input:checked + label,
.new-layout .radio-icon label:hover {
    background: #0077c8;
}
.disposition .radio-icon input:checked + label,
.disposition .radio-icon label:hover {
    background: #0077c8;
    border-color: #0077c8;
}
.form-row-drop-zone .drop-zone {
    color: #0077c8;
}
.form-row-drop-zone .drop-zone .queue li {
    border-color: #0077c8;
}
.form-row-drop-zone .drop-zone .queue .preview::after {
    color: #0077c8;
}
.form-row-drop-zone .drop-zone .existing a::before,
.form-row-drop-zone .drop-zone .existing a::after {
    color: #0077c8;
}
.form-row-drop-zone .drop-zone .existing li:hover {
    border-color: #0077c8;
}
.form-row-drop-zone .drop-zone .queue .progress-bar {
    background: #0077c8;
}

.gallery {
    position: relative;
    margin: 0 0 20px;
}
.gallery > ul {
    list-style: none;
    padding: 0;
    margin: 0 -10px;
    font-size: 0;
}
.gallery > ul > li {
    display: inline-block;
    vertical-align: middle;
    width: 16.666666%;
    padding: 0 10px;
    position: relative;
    margin: 0 0 20px;
}
.gallery > ul > li > div {
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    bottom: 0;
}
.gallery > ul > li:before {
    content: '';
    display: block;
    padding-top: 59.210526%;
    background: #fff;
}
.gallery > ul > li img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
}

@media (min-width: 636px) {
    /* Basic HTML
    ------------------------------------------------------------------------*/
    .header-tabs .header-tabs-title {
        margin: 0;
    }

    /* ML fields
    ------------------------------------------------------------------------*/
    .global-ml-switch {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 280px;
    }
}

@media (min-width: 768px) {
    /* Basic HTML
    ------------------------------------------------------------------------*/
    .dl-horizontal {
        display:flex;
        flex-wrap:wrap;
    }
    .dl-horizontal dt {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        width: 240px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
        flex: 0 0 auto;
    }
    .dl-horizontal dd {
        margin-left: 0;
        width: calc(100% - 240px);
    }

    /* Invitation page
    ------------------------------------------------------------------------*/
    .invitation-box {
        width: 600px;
    }

    /* Header
    ------------------------------------------------------------------------*/
    .skin-black .main-header > .logo {
        background: #ffffff;
    }

    .navbar.navbar-static-top {
        border-top: none;
    }

    .navbar-nav > .user-menu .username span {
        display: inline-block;
    }

    /* List
    -----------------------------------------------------------------------*/
    .btn-group .btn + .btn,
    .btn-group .btn + .btn-group,
    .btn-group .btn-group + .btn,
    .btn-group .btn-group + .btn-group {
        margin-left: -1px;
    }
    .btn-group-vertical > .btn,
    .btn-group > .btn {
        float: left;
    }

    /* Footer
    ------------------------------------------------------------------------*/
    #footer .copy {
        text-align: left;
    }

    #footer .idev {
        text-align: right;
    }
}

@media (min-width: 1280px) {
    /* Header
    ------------------------------------------------------------------------*/
    .skin-black .main-header > .logo {
        background: #ffffff;
    }
}