@font-face {
    font-family: 'icomoon';
    src: url('../../fonts/icomoon.ttf?uch8jx') format('truetype'),
    url('../../fonts/icomoon.woff?uch8jx') format('woff'),
    url('../../fonts/icomoon.svg?uch8jx#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Basic HTML
------------------------------------------------------------------------*/

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

h1 {
    font-size: 28px;
}

a {
    color: #0078C0;
    transition: color 0.3s;
}

a, a:hover {
    color: #0078C0;
}

a:hover {
    text-decoration: underline;
}

legend {
    font-size: 14px;
}

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

textarea {
    resize: vertical;
}

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

.show-view .show-group {
    padding-top: 2px;
    padding-bottom: 2px;
}

.show-view .entity-listing .box-body {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.show-view .box-header {
    padding-left: 0;
}

.skin-black-light.list .box-body {
    padding-bottom: 0;
    border: 1px solid #ddd;
}

.skin-black-light .show-group {
    background-color: #fff;
    border: 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: #0078C0;
}

.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: #0078C0;
    border-color: #338ab8;
    color: #fff;
}

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

.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-danger-force {
    background-color: #dd4b39;
    border-color: #d73925;
    color: #fff;
}

.btn-danger-force:hover,
.btn-danger-force:focus,
.btn-danger-force:active {
    background-color: #fff;
    border-color: #dd4b39;
    color: #dd4b39;
}

.btn-toolbar {
    margin-left: -10px;
}

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

.inline > * {
    display: inline-block;
}

.warning {
    color: #f39c12;;
}

.danger {
    color: #dd4b39
}

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

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


.dl-horizontal dt {
    text-align: left;
    width: 50%;
}

.dl-horizontal dd {
    width: 50%;
}

/* 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 #0078C0;
}

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

.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 #d2d6de;
    border-top-color: rgb(210, 214, 222);
    border-right-color: rgb(210, 214, 222);
    border-bottom-color: rgb(210, 214, 222);
    border-left-color: 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 #0078C0;
}

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

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

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #0078C0;
    border: 1px solid #0078C0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
}


/* 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;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 24px;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-download:before {
    content: "\e937";
}

.icon-apecita-plain:before {
    content: "\e900";
}

.icon-apecita-culture:before {
    content: "\e901";
}

.icon-apecita-dev-rural:before {
    content: "\e902";
}

.icon-apecita-environnement:before {
    content: "\e903";
}

.icon-apecita-equine:before {
    content: "\e904";
}

.icon-apecita-agroalim:before {
    content: "\e905";
}

.icon-apecita-agrofourniture:before {
    content: "\e906";
}

.icon-apecita-foret:before {
    content: "\e907";
}

.icon-apecita-horticulture:before {
    content: "\e908";
}

.icon-apecita-paysage:before {
    content: "\e909";
}

.icon-apecita-poisson:before {
    content: "\e90a";
}

.icon-apecita-prod-anim:before {
    content: "\e90b";
}

.icon-apecita-vin:before {
    content: "\e90c";
}

.icon-chevron-right:before {
    content: "\e90d";
}

.icon-chevron-down:before {
    content: "\e90e";
}

.icon-chevron-left:before {
    content: "\e90f";
}

.icon-chevron-up:before {
    content: "\e910";
}

.icon-triangle-right:before {
    content: "\e911";
}

.icon-triangle-down:before {
    content: "\e912";
}

.icon-triangle-left:before {
    content: "\e913";
}

.icon-triangle-up:before {
    content: "\e914";
}

.icon-facebook:before {
    content: "\e915";
}

.icon-twitter:before {
    content: "\e916";
}

.icon-linkedin:before {
    content: "\e917";
}

.icon-viadeo:before {
    content: "\e918";
}

.icon-youtube:before {
    content: "\e919";
}

.icon-user-space:before {
    content: "\e91a";
}

.icon-save:before {
    content: "\e91b";
}

.icon-apecita-bubble-left:before {
    content: "\e91c";
}

.icon-apecita-bubble-right:before {
    content: "\e91d";
}

.icon-bell:before {
    content: "\e91e";
}

.icon-apecita:before {
    content: "\e91f";
}

.icon-calendar:before {
    content: "\e920";
}

.icon-tick:before {
    content: "\e921";
}

.icon-coins:before {
    content: "\e922";
}

.icon-contract:before {
    content: "\e923";
}

.icon-file:before {
    content: "\e924";
}

.icon-heart:before {
    content: "\e925";
}

.icon-paper-clip:before {
    content: "\e926";
}

.icon-label:before {
    content: "\e927";
}

.icon-external-link:before {
    content: "\e928";
}

.icon-location:before {
    content: "\e929";
}

.icon-location-alt:before {
    content: "\e92a";
}

.icon-telephone:before {
    content: "\e92b";
}

.icon-fax:before {
    content: "\e92c";
}

.icon-envelope:before {
    content: "\e92d";
}

.icon-menu:before {
    content: "\e92e";
}

.icon-without:before {
    content: "\e92f";
}

.icon-minus:before {
    content: "\e930";
}

.icon-plus:before {
    content: "\e931";
}

.icon-search:before {
    content: "\e932";
}

.icon-suitcase:before {
    content: "\e933";
}

.icon-users:before {
    content: "\e934";
}

.icon-cursor-circle:before {
    content: "\e935";
}

.icon-hand-crop:before {
    content: "\e936";
}

.icon-pos-left {
    margin-right: 10px;
}

.icon-pos-right {
    margin-left: 10px;
}

.icon-ib {
    display: inline-block;
}

/* 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;
}

.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: #fff !important;
}

.logo .logo-mini b {
    color: #222d32;
    font-size: 10px;
}

/* 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: #0078C0;
    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 .form-group {
    padding-left: 20px;
    position: relative;
}

/* Collections
------------------------------------------------------------------------*/

.form-collection {
    margin-left: 20px;
}

.form-collection .form-collection-sortable-placeholder {
    background: #eee;
    margin: 0 0 15px;
}

.form-collection > .form-group {
    border-left: 5px solid #d2d6de;
    padding-left: 20px;
    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: #0078C0;
}

.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-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
}

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

/* List
------------------------------------------------------------------------*/
.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;
}

.action-delete:hover {
    color: #fff;
    background: #dd4b39;
    border-color: #d73925;
}

.advanced-search .box-header {
    cursor: pointer;
}

.handle:hover {
    background: #0078C0;
    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-logo {
    background: #0078C0;
    margin-bottom: 0;
}

.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;
}

/* 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: inline-block;
}

.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
------------------------------------------------------------------------*/

.field-cms_video .controls,
.field-filemanager .controls {
    overflow: hidden;
}

.field-cms_video input,
.field-filemanager input {
    float: left;
    width: 90%;
}

.field-cms_video button,
.field-filemanager button {
    float: right;
}

.field-cms_video .modal-dialog,
.field-filemanager .modal-dialog {
    width: 80%;
    height: 80%;
}

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

.field-cms_video .modal-body,
.field-filemanager .modal-body {
    flex: auto;
}

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

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

/* Show
------------------------------------------------------------------------*/
.show .box-title {
    color: #0078C0;
}

.show h2 {
    font-size: 18px;
}

.show .img-block {
    display: block;
    margin: 0 auto 50px;
}

.show .dl-horizontal {
    margin-bottom: 0;
    padding: 8px 0;
    margin-left: -10px;
    margin-right: -10px;
    background-color: #ecf0f5;
}

.show .dl-horizontal-inner {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    word-wrap: break-word;
    color: #666666;
}

.show .dl-horizontal + .dl-horizontal {
    border-top: 1px solid #eee;
}

.show-view.paginator-title {
    padding-bottom: 10px;
}

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

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

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

#footer .idev a,
.login-page .idev a {
    color: inherit;
}

/* IdevCMSBundle
------------------------------------------------------------------------*/
.new-layout .radio-icon input:checked + label,
.new-layout .radio-icon label:hover {
    background: #0078C0;
}

.disposition .radio-icon input:checked + label,
.disposition .radio-icon label:hover {
    background: #0078C0;
    border-color: #0078C0;
}

.form-row-drop-zone .drop-zone {
    color: #0078C0;
}

.form-row-drop-zone .drop-zone .queue li {
    border-color: #0078C0;
}

.form-row-drop-zone .drop-zone .queue .preview::after {
    color: #0078C0;
}

.form-row-drop-zone .drop-zone .existing a::before,
.form-row-drop-zone .drop-zone .existing a::after {
    color: #0078C0;
}

.form-row-drop-zone .drop-zone .existing li:hover {
    border-color: #0078C0;
}

.form-row-drop-zone .drop-zone .queue .progress-bar {
    background: #0078C0;
}

.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%;
}


.nav-tabs-custom.enterprise-detail {
    background: none;
    box-shadow: none;
}

.nav-tabs-custom.enterprise-detail > .nav-tabs > li.active > a,
.nav-tabs-custom.enterprise-detail > .nav-tabs > li.active:hover > a {
    background: none;
    color: #444
}

.nav-tabs-custom.enterprise-detail > .nav-tabs > li.active {
    border-bottom-color: #0078c0;
}

.nav-tabs-custom.enterprise-detail > .nav-tabs > li {
    border-bottom: 3px solid transparent;
    border-top: none;
    margin-bottom: -2px;
    margin-right: 5px
}

.nav-tabs-custom.enterprise-detail > .nav-tabs > li > a {
    border-right: none;
    border-left: none;
}

.nav-tabs-custom.enterprise-detail > .nav-tabs.enterprise-detail {
    border-bottom: none;
}

.nav-tabs-custom.enterprise-detail > .tab-content.enterprise-detail {
    background: #fff;
    padding: 10px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    background: none;
}

.nav-tabs-custom.enterprise-detail > .nav-tabs > li.active > a,
.nav-tabs-custom.enterprise-detail > .nav-tabs > li.active:hover > a {
    background: none;
    color: #0078c0;
    font-weight: bold;
}

.alert-apecita {
    background-color: #0078c0;
    color: #fff;
}

.alert-apecita.alert-apecita-warning {
    background-color: #FFC107;
    color: #1E1E1E;
}

@media (min-width: 767px) {

    .dl-horizontal {
        display: flex;
        flex-wrap: wrap;
    }

    .dl-horizontal dt {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        flex: 0 0 auto;
    }

    .dl-horizontal dd {
        margin-left: auto;
    }

    .field-group-flex-container {
        width: 50%;
    }

    .field-group-flex-container + .field-group {
        width: 50%;
    }

    /* 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;
    }

    .btn-group-custom > .btn-group:not(:last-child) {
        margin-right: 5px;
    }

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

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

    .alert-apecita {
        width: 100%;
    }
}

@media (min-width: 1280px) {

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

    .alert-apecita{
        width: max-content;
    }
}
