/* Enjoy Events – habillage webmail (Roundcube 1.6.20 / Elastic). Généré le 28/10/2026.
   1) Couleurs : différence exacte entre Elastic d'origine et Elastic recompilé avec la palette du site (#14213D, #1F2F4D, #C9A961, #8A6A2B, #FBF7F0). */
a{color:#8A6A2B}
a:hover{color:#6E5422}
#layout > div > .header{background-color:#FBF7F0}
@media screen and (min-width: 481px){#layout-menu .popover-header{background-color:#14213D !important}}
@media screen and (max-width: 768px){#layout > div > .header{background-color:#FBF7F0}}
@media screen and (max-width: 768px){#layout > div > .footer{background-color:#FBF7F0}}
@media screen and (min-width: 481px){#layout-menu{background-color:#14213D}}
#rcmdraglayer{background-color:#14213D}
.popup .listbox .footer{background-color:#FFFDF8}
p.image-attachment{background-color:rgba(138, 106, 43, 0.05)}
.quota-widget .value{background-color:#8A6A2B}
.image-tools{background-color:rgba(138, 106, 43, 0.4)}
.image-tools a:focus,
.image-tools a:hover{background-color:rgba(138, 106, 43, 0.5) !important}
.table-widget table.options-table tr.selected td{background-color:#F3EBD9}
.floating-action-buttons a.button{background:#8A6A2B;box-shadow:0 0 5px 5px #dbc18c}
.btn:focus{box-shadow:0 0 0 0.2rem rgba(20, 33, 61, 0.3)}
.btn-link{color:#8A6A2B}
.btn-primary{background:#14213D;border-color:#14213D}
.btn-primary:focus{background:#0e172a;border-color:#0b1222;box-shadow:0 0 0 0.2rem rgba(20, 33, 61, 0.5)}
.btn-primary:hover{background:#0e172a;border-color:#0b1222}
.btn-primary.disabled,
.btn-primary:disabled{background:#14213D;border-color:#14213D}
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active{background:#070c17;border-color:#05080f}
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus{box-shadow:0 0 0 0.2rem rgba(20, 33, 61, 0.53)}
.ui-menu .ui-state-active{background-color:#8A6A2B !important}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset a.btn-link:focus{background-color:rgba(20, 33, 61, 0.5)}
@media screen and (max-width: 480px){.ui-dialog .ui-dialog-titlebar{background-color:#FBF7F0}}
@media screen and (max-width: 480px){.ui-dialog .ui-dialog-buttonpane{background-color:#FBF7F0}}
.ui-slider .ui-slider-range{background:#d5b679}
.ui-slider .ui-slider-handle.ui-state-active{background:#8A6A2B;border-color:#14213D}
.ui-datepicker .ui-datepicker-days-cell-over a,
.ui-datepicker .ui-datepicker-days-cell-over a.ui-state-default,
.ui-datepicker .ui-state-highlight,
.ui-datepicker.ui-widget-content .ui-state-highlight{background:#d5b679;color:#8A6A2B}
.ui-datepicker a.ui-state-active{background:#8A6A2B !important}
html.layout-small .popover-header,
html.layout-phone .popover-header{background-color:#14213D}
.menu a:not(.disabled):focus,
.menu a:not(.disabled):hover{background-color:#f8f1e4}
.menu.toolbar .dropbutton:not(.disabled):hover{background-color:#f8f1e4}
.menu.toolbar .dropbutton a.dropdown:hover{background-color:#f2e6d0}
.menu.pagenav.pagenav-list{background-color:#FFFDF8}
.popover .menu li a:not(.disabled):hover{background-color:#8A6A2B}
.popover .menu .dropbutton a.dropdown:hover{background-color:#8A6A2B}
@media screen and (min-width: 769px){.header a.button.icon:not(.disabled):focus,
  .header a.button.icon:not(.disabled):hover{background-color:#f8f1e4}}
.searchbar{background-color:#FFFDF8}
@media screen and (min-width: 481px){#taskmenu a.selected{background:#1F2F4D}}
@media screen and (min-width: 481px){#taskmenu a.selected:hover{background:#1F2F4D}}
@media screen and (min-width: 481px){#taskmenu a:hover{background:#1F2F4D}}
@media screen and (min-width: 481px){#taskmenu .special-buttons{background-color:#14213D}}
@media screen and (min-width: 481px){#taskmenu .action-buttons a{color:#C9A961}}
@media screen and (min-width: 481px){#taskmenu .action-buttons a:hover{color:#E6D0A0;background:#1F2F4D}}
@media screen and (min-width: 1025px){#taskmenu a:focus{background-color:#1F2F4D}}
.ui.alert{background-color:rgba(138, 106, 43, 0.05)}
.ui.alert a:not(.btn){color:#8A6A2B}
.ui.alert.boxinformation{background-color:rgba(138, 106, 43, 0.2)}
#messagestack .alert-info.information{background-color:#8A6A2B}
.listing li.selected,
.listing tr.selected td{background-color:#F3EBD9}
html:not(.touch) .listing li > a:focus,
html:not(.touch) .listing.focus tbody tr.focused > td:first-child,
html:not(.touch) .listing.focus:not(.withselection) tbody tr.focused > td.selection + td{border-left:2px solid #c9a152}
.popupmenu .listing li > a:not(.disabled):hover{background-color:#8A6A2B}
.popupmenu .listing li.selected{background-color:#8A6A2B}
ul.treelist li.selected > div > a,
ul.treelist li.selected > a{background-color:#F3EBD9}
.folderlist li.mailbox .unreadcount{background:#8A6A2B}
.folderlist li.mailbox.recent > a{color:#3c2e13}
.folderlist li.mailbox.recent > a > .unreadcount{background:#8A6A2B}
.formcontent.raweditor .CodeMirror-focused{border-color:#8A6A2B;box-shadow:0 0 0 0.2rem rgba(138, 106, 43, 0.25)}
.input-group a:focus{background-color:rgba(138, 106, 43, 0.25)}
.multi-input > .content.focused{border-color:#8A6A2B;box-shadow:0 0 0 0.2rem rgba(138, 106, 43, 0.25)}
.file-upload.droptarget.active{border-color:#e2c693}
.file-upload.droptarget.hover{border-color:#e2c693;background-color:#f8f1e4}
.recipient-input.focus{border-color:#8A6A2B;box-shadow:0 0 0 0.2rem rgba(138, 106, 43, 0.25)}
.tagedit-list[tabindex="-1"]{border-color:#8A6A2B;box-shadow:0 0 0 0.2rem rgba(138, 106, 43, 0.25)}
.form-control:focus{border-color:#8A6A2B;box-shadow:0 0 0 0.2rem rgba(138, 106, 43, 0.25)}
.input-group-text input:focus{border-color:#8A6A2B !important}
.custom-switch .custom-control-input:focus ~ .custom-control-label:before{box-shadow:0 0 0 0.2rem rgba(138, 106, 43, 0.25)}
.custom-switch .custom-control-input:focus:not(:checked) ~ .custom-control-label::before{border-color:#8A6A2B}
.custom-switch .custom-control-input:checked ~ .custom-control-label::before{border-color:#8A6A2B;background-color:#8A6A2B}
.custom-switch .custom-control-input:checked:disabled ~ .custom-control-label::before{border-color:#c3963e;background-color:#c3963e}
.custom-file-input:focus ~ .custom-file-label{border-color:#8A6A2B;box-shadow:0 0 0 0.2rem rgba(138, 106, 43, 0.25)}
div.tox.focused{border-color:#8A6A2B !important;box-shadow:0 0 0 0.2rem rgba(138, 106, 43, 0.25) !important}
div.tox .tox-dialog .tox-dialog__body-nav-item--active{color:#8A6A2B}
div.tox .tox-dialog .tox-dialog__body-nav-item--active:hover{color:#6E5422}
div.tox .tox-dialog__footer .tox-button{background:#14213D;border-color:#14213D}
div.tox .tox-dialog__footer .tox-button:focus{background:#0e172a;border-color:#0b1222;box-shadow:0 0 0 0.2rem rgba(20, 33, 61, 0.5)}
div.tox .tox-dialog__footer .tox-button:hover{background:#0e172a;border-color:#0b1222}
div.tox .tox-dialog__footer .tox-button.disabled,
div.tox .tox-dialog__footer .tox-button:disabled{background:#14213D;border-color:#14213D}
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled):active,
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled).active{background:#070c17;border-color:#05080f}
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled):active:focus,
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled).active:focus{box-shadow:0 0 0 0.2rem rgba(20, 33, 61, 0.53)}
div.tox .tox-dialog__footer .tox-button:focus:not(:disabled){background:#14213D;border-color:#14213D}
div.tox .tox-color-input > input:focus,
div.tox .tox-listboxfield .tox-listbox--select:focus,
div.tox .tox-textarea:focus,
div.tox .tox-textfield:focus{border-color:#8A6A2B;box-shadow:0 0 0 0.2rem rgba(138, 106, 43, 0.25)}
@media screen and (max-width: 480px){div.tox .tox-dialog__header{background-color:#FBF7F0}}
@media screen and (max-width: 480px){div.tox .tox-dialog__footer{background-color:#FBF7F0}}
.image-selector .attachmentslist li:hover,
.image-selector .attachmentslist li:focus{background:#F3EBD9}
.googie_list li.googie_list_onhover{background-color:#8A6A2B}
.message-part blockquote,
.message-htmlpart blockquote{color:#151007;border-left:2px solid #151007;border-right:2px solid #151007}
html.dark-mode{scrollbar-color:#291f0d #4d6066}
html.dark-mode:not(.touch) ::-webkit-scrollbar-thumb{background-color:#291f0d}
html.dark-mode .ui.alert.boxinformation,
html.dark-mode #messagestack .alert-info{background-color:#C9A961}
html.dark-mode #taskmenu .action-buttons a{color:#8A6A2B}
html.dark-mode .listing li.selected,
html.dark-mode .listing li.selected > a,
html.dark-mode .listing li.selected > div > a,
html.dark-mode .listing tr.selected td{color:#C9A961}
html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject a,
html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject span.msgicon.status{color:#C9A961}
html.dark-mode .btn-primary{background-color:#C9A961}
html.dark-mode .btn-primary:hover:not(:disabled){background-color:#cfb374}
html.dark-mode .floating-action-buttons a.button{background:#C9A961}
html.dark-mode .custom-file-label:focus:not(.is-invalid),
html.dark-mode .form-control:focus:not(.is-invalid){border-color:#C9A961}
html.dark-mode .custom-switch .custom-control-input:checked ~ .custom-control-label::before{background-color:#C9A961}
html.dark-mode .multi-input:not(.is-invalid) > .content.focused{border-color:#C9A961}
html.dark-mode .input-group a:focus{border-color:#C9A961;box-shadow:0 0 0 0.2rem rgba(138, 106, 43, 0.25)}
html.dark-mode .recipient-input.focus{border-color:#C9A961}
html.dark-mode .formcontent.raweditor .CodeMirror-focused{border-color:#C9A961}
html.dark-mode .tox .tox-dialog__footer .tox-button{background-color:#C9A961}
html.dark-mode .tox .tox-dialog__footer .tox-button:focus:not(:disabled){background-color:#C9A961}
html.dark-mode .tox .tox-dialog__footer .tox-button:hover:not(:disabled){background-color:#cfb374}
html.dark-mode .tox .tox-dialog__body-nav-item--active{color:#8A6A2B}
html.dark-mode .tox .tox-collection__item--enabled{color:#C9A961}
html.dark-mode .message-part blockquote{border-color:#C9A961;color:#C9A961}
html.dark-mode .ui-datepicker .ui-state-highlight,
html.dark-mode .ui-datepicker.ui-widget-content .ui-state-highlight{color:#8A6A2B}
/* ===== 2) Identité Enjoy Events : page de connexion ===== */
body.task-login{background:#FBF7F0;}
/* Centrage vertical + horizontal : la hauteur suit la zone réellement visible (100dvh, barre d'URL mobile comprise) */
body.task-login{height:100%;}
body.task-login #layout{height:100vh;height:100dvh;min-height:0;}
.task-login #layout-content{background:radial-gradient(ellipse at top,#FFFDF8 0%,#FBF7F0 55%,#F3EBD9 100%) !important;display:flex !important;flex-direction:column;align-items:center;justify-content:center;justify-content:safe center;height:100%;min-height:0;max-height:none;width:100%;flex:1 1 auto;margin:0 !important;padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));box-sizing:border-box;overflow-y:auto;-webkit-overflow-scrolling:touch;}
.task-login #layout-content > #logo,.task-login #layout-content > #login-form{flex:0 0 auto;position:relative;top:0 !important;left:auto;right:auto;}
.task-login #login-form{margin:0 auto !important;}
@media (max-height:620px){.task-login #logo{max-height:110px;margin-bottom:16px;}}
.task-login #logo{top:0 !important;display:block;max-height:150px;max-width:min(300px,80vw);width:auto;height:auto;margin:0 auto 28px;}
.task-login #login-form{top:0 !important;max-width:360px;width:100%;background:#fff;border:1px solid #E4DCCB;border-top:3px solid #C9A961;border-radius:14px;padding:28px 26px 20px;box-shadow:0 18px 40px -22px rgba(20,33,61,.35);box-sizing:border-box;}
.task-login #login-form .input-group-text{background:#FBF7F0;border-color:#E4DCCB;color:#8A6A2B;}
.task-login #login-form .form-control{border-color:#E4DCCB;}
.task-login #login-form .form-control:focus{border-color:#8A6A2B;box-shadow:0 0 0 .2rem rgba(201,169,97,.25);}
.task-login #rcmloginsubmit{background:#14213D;border-color:#14213D;letter-spacing:.12em;font-weight:600;padding:.6rem 1rem;border-radius:8px;}
.task-login #rcmloginsubmit:hover,.task-login #rcmloginsubmit:focus{background:#1F2F4D;border-color:#C9A961;}
/* Masquer toute mention du produit et le pied de page Roundcube */
#login-footer{font-size:0 !important;color:transparent !important;}
#login-footer > *:not(.loginfooter-keep){display:none !important;}
#login-footer::after{content:"Enjoy Events · Monaco · Côte d'Azur";display:block;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#8A6A2B;margin-top:14px;text-align:center;}
/* Menu « À propos » (crédits Roundcube) masqué dans la barre latérale */
#taskmenu a.about{display:none !important;}

/* ===== 3) En-tête / menu latéral ===== */
#layout-menu .popover-header img{padding:.45rem .35rem;}
#taskmenu a.selected,#taskmenu a.selected:hover{box-shadow:inset 3px 0 0 #C9A961;}
html.layout-phone #layout-menu .popover-header img{max-height:44px;}

/* ===== 4) Mode sombre ===== */
html.dark-mode body.task-login{background:#0E1626;}
html.dark-mode .task-login #layout-content{background:radial-gradient(ellipse at top,#1A2742 0%,#0E1626 70%) !important;}
html.dark-mode .task-login #login-form{background:#14213D;border-color:#2A3550;border-top-color:#C9A961;}
html.dark-mode .task-login #login-form .input-group-text{background:#1A2742;border-color:#2A3550;color:#C9A961;}
html.dark-mode .task-login #rcmloginsubmit{background:#C9A961;border-color:#C9A961;color:#14213D;}
html.dark-mode #login-footer::after{color:#C9A961;}
html.dark-mode #logo{opacity:1;}
html.dark-mode .task-login #login-form .form-control{background:#0E1626;border-color:#2A3550;color:#EEE7D8;}
@media (max-height:480px){.task-login #logo{max-height:72px;margin-bottom:10px;}.task-login #login-form{padding:16px 20px 12px;}}
