
/*.views-form table tbody .form-control-label{
  display: none;
}
.views-form input,
.views-form select{
  height: 35px!important;
  padding: 5px!important;
}

.views-field-form-field-status .custom-toggle{
  top: 8px;
}

.views-exposed-form .select-wrapper{
  margin-top: 5px;
}

.view-news .card{
  min-width: 400px;
}
.view-news .card > a > img{
  width: 100%;
  height: auto;
}

.views-view-list-group{
  padding: 0;
}

.user-compact-view{
  overflow: hidden;
  width: 100%;
  display: inline-block;
}
.user-compact-view .created{
  float: left;
  width: 50%;
  display: inline-block;
  line-height: 40px;
}
.user-compact-view .user, .user-compact-view label{
  float: left;
  width: 50%;
  display: inline-block;
  text-align: right;
  line-height: 40px;
}
.user-compact-view .field--name-user-picture, .user-compact-view img{
  width: 30px;
  height: 30px;
  border-radius: 15px;
  overflow: hidden;
  background-color: #0069aa;
  margin-left: 8px;
}
.user-compact-view .field--name-user-picture img{
  width: 100%;
  height: 100%;
  border-radius: 30px;
}
.user-compact-view .field--name-username{
  margin-right: 10px;
}
.user-compact-view .field--name-username p{
  margin: 0;
  line-height: 33px;
}

.user-compact-view:not(.img-left) .field--name-user-picture{
  float: right;
}
.user-compact-view.img-left .field--name-user-picture{
  float: left;
}
.user-compact-view:not(.img-left) .field--name-username{
  float: right;
}
.user-compact-view.img-left .field--name-username{
  float: left;
  margin-left: 10px;
}
.views-bootstrap-list-group .list-group-item{
  position: relative;
}
.views-bootstrap-list-group .user-compact-view{
  position: absolute;
  right: 5px;
  bottom: 0;
}

.card-footer .field:not(:first-child):not(.field--name-username){
  padding-top: 15px;
}
.card-footer .field:not(:last-child):not(.field--name-user-picture){
  border-bottom: 1px solid rgba(0,0,0,.05);
  padding-bottom: 15px;
}

.node-form .tabledrag-toggle-weight-wrapper,
#edit-field-notice-0-format-help-about,
#edit-field-description-0-format-help-about,
#edit-comment-body-0-format-help-about,
.node-form .js-filter-wrapper.filter-wrapper,
[data-drupal-selector="edit-role-change"] > legend{
  display: none;
}

.node-form #edit-field-address-0 > summary{
  display: none;
}

.node-form .form-item{
  margin: 5px 0;
  padding: 0;
}
.node-form .form-item > input{
  margin: 0;
  padding: 10px;
}
.node-form label,
.node-form .label{
  margin: 0;
  padding: 0;
}
.node-form .field--type-entity-reference{
  margin-bottom: 20px;
}
.node-form .field--type-entity-reference .row > .col > .card{
  margin-bottom: 0;
}

.node-form .draggable{
  position: relative;
}

.node-form .field-multiple-drag{
  vertical-align: top;
}
.node-form .messages.messages--warning{
  color: white;
  font-size: 13px;
  background-color: #f5365c;
  padding: 5px;
}
.node-form .warning.tabledrag-changed{
  display: none;
}
.node-form .tabledrag-handle{
  margin-top: 15px;
  height: auto!important;
}
.node-form .tabledrag-handle .handle{
  width: 19px !important;
  height: 19px !important;
  margin: 5px 0 0 15px !important;
  padding: 0 !important;
  display: inline-block;
  font: normal normal normal 14px/1 NucleoIcons;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: none !important;
  border: solid 1px;
  border-radius: 11px;
}
.node-form .tabledrag-handle .handle:before{
  content: "\ea31";
  font-size: 18px;
  top: -1px;
  position: relative;
}
.node-form .dataTables_wrapper table{
  width: 100%;
}
.node-form .dataTables_wrapper th{
  padding: 10px;
  background-color: #0069aa;
}
.node-form .dataTables_wrapper th, .node-form .dataTables_wrapper th h4{
  color: white;
}
.node-form .dataTables_wrapper tr:not(:last-child){
  border-bottom: solid 1px #0069aa;
}
.node-form .dataTables_wrapper .image-widget{
  float: left;
  margin-left: 20px;
}

.node-form .field-multiple-table{
  width: 100%;
  position: relative;
  border: solid 1px #0069aa;
}
.node-form .entityconnect-add,
.node-form .entityconnect-edit{
  position: absolute;
  top: 0;
}
.node-form .entityconnect-add{
  right: 5px;
}
.node-form .entityconnect-edit{
  right: 30px;
}
.node-form .entityconnect-edit.edit-icon :first-child{
  height: 20px!important;
}

.node-form .js-form-item-status-value{
  max-width: 370px;
  line-height: 25px;
  margin-bottom: 20px;
}
.node-form .form-submit{
  width: auto;
}
.node-form .image-widget .js-form-file.form-file{
  display: none;
}
.node-form .field--widget-image-image{
  border: 1px solid #CCC;
  background: rgb(240, 240, 240);
  padding: 15px;
  margin: 15px 0;
}
.node-form .field--widget-image-image .form-control-label{
  display: none;
}
.node-form #signature_thumb{
  display: none;
}

.js-form-type-checkbox{
  position: relative;
  margin: 10px 0;
}
.js-form-type-checkbox .form-control-label{
  padding-right: 60px;
}
.custom-toggle{
  position: absolute;
  right: 5px;
  top: 12px;
  margin-top: -0.75rem;
  display: block!important;
}
table .custom-toggle{
  position: inherit;
  right: auto;
  left: auto;
  margin: auto;
  top: 0!important;
}
.custom-toggle input{
  display: block;
  position: absolute;
  opacity: 0;
  height: 23px;
  width: 51px;
  z-index: 999999999;
}
.js-form-type-checkbox .form-item--error-message{
  margin-top: 5px;
}
.comment-wrapper > section > h2{
  font-size: 18px;
}
.media.media-comment{
  position: relative;
  width: 100%;
  margin-top: 1.8rem;
  box-shadow: inset 3px 0 0 #f5365c;
}
.media.media-comment .media-body{
  padding-left: 23px;
}
.media.media-comment .media-comment-text{
  padding-bottom: 10px;
  margin-bottom: 0;
}
.media.media-comment .user-compact-view{
  position: absolute;
  left: -5px;
  z-index: 9;
  top: -20px;
}
.media.media-comment .field--name-user-picture{
  width: 58px;
  height: 58px;
  border-radius: 29px;
  overflow: hidden;
}

.media.media-comment .field--name-username{
  display: none;
}
.media.comment-footer{
  margin-left: 23px;
  background-color: #f6f9fc;
  border-radius: 5px;
  margin-top: -10px;
  padding: 5px;
}
.media.comment-footer > span{
  margin-right: 10px;
}
.comment-form-wrapper{
  width: 100%;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(0,0,0,.05);
}

.fotorama__wrap{
  margin: auto;
}

.dropbutton-widget{
  background-color: white;
  border: solid 1px #0069aa;
  border-radius: 7px;
}

.dropbutton-widget .dropbutton{
  min-width: 40px;
  padding-left: 5px!important;
}

.geolocation-common-map-container span[typeof="Place"]{
  width: 100%;
  display: inline-block;
}

.field--name-field-image .field_items{
  display: flex;
  flex-wrap: wrap;
}

.field--name-field-image .field_items .field_item{
  flex: 0 1;
  margin: 5px;
}

.page-node-page .card-footer .field--type-entity-reference{
  border: solid 1px #0069aa!important;
  padding: 0!important;
  margin-bottom: 15px;
}
.page-node-page .card-footer .field--type-entity-reference .field_label{
  color: white;
  padding: 5px;
  background-color: #0069aa;
}
.page-node-page .card-footer .field--type-entity-reference .field_items{
  padding: 5px;
}

.fc-time,.fc-axis.fc-widget-content{
  background-color: #0069aa;
  color: white;
  font-weight: bold;
  text-align: center!important;
}

.view-with-action-toolbar{
  position: relative;
}

.view-action-toolbar{
  position: absolute;
  right: 0;
  top: -43px;
}

.paragraph--type--attachments .field--name-field-attachment{
  display: flex;
  flex-wrap: wrap;
}
.paragraph--type--attachments .field--name-field-attachment > .field_item{
  flex: 1 0 21%;
  width: auto;
  height: 100%;
}
.create-new-comments{
  margin-top: 20px;
}
.custom-group-wrapper label,.custom-group-wrapper span,.custom-group-wrapper a{
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
  transition: all .15s cubic-bezier(.68,-.55,.265,1.55);
  color: #8898aa;
  background-clip: padding-box;
  box-shadow: 0 3px 2px rgb(233 236 239 / 5%);
}
.custom-group-wrapper label{
   margin-right: 5px;
 }
.custom-group-wrapper a{
  color: #0069aa;
}
.field--name-body > .row{
  margin-bottom: 25px;
}
form:not(.views-exposed-form) .form-actions{
  margin-top: 20px;
}
.notify-drop .drop-content li {
  padding: 10px 10px 10px 40px !important;
}
.notify-drop .drop-content .notification-remove .fa{
  left: 9px;
  top: 9px;
  padding: 4px 4px 3px 4px;
  cursor: pointer;
}
.form-control-label{
  margin-bottom: 0;
}
details summary{
  display: none;
}
.form-item--error-message{
  border: solid 1px #f5365c;
  border-left-width: 7px;
  font-size: 12px;
  padding: 3px 10px;
  color: #f5365c;
}
nav.pager{
  margin-bottom: 20px;
}
.pager__items.justify-content-end{
  align-items: center;
  justify-content: center!important;
}
.page-item.active .page-link{
  border-color: #0069aa;
  background-color: #0069aa;
}
.navbar-vertical .navbar-nav .nav-link[data-toggle=collapse][aria-expanded=true]:after{
  color: #0069aa;
}
.edit-event--image{
  margin-bottom: 15px;
}
.edit-event--image img{
  width: 100%;
  height: auto;
}

.login-page .form-control-label{
  font-size: 0.825rem!important;
}

.login-page [data-once="formtips"] a{
  color: white;
}

.login-page [data-once="formtips"] a:hover{
  color: #0069aa;
}

.password-strength__indicator.is-strong{
  background-color: #2dce89;
}
.password-strength__indicator.is-weak{
  background-color: #fb6340;
}
 */

/* Timepicker Input Icon */
.timepicker {
  padding-right: 35px !important;
  cursor: text;
}

.timepicker-trigger {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #8898aa;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timepicker-trigger:hover {
  color: #1a73e8;
}

.timepicker-trigger i {
  font-size: 18px;
}

/* Custom Chrome-style Timepicker (Scrollable Version) */
.custom-chrome-timepicker {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 60px rgba(0,0,0,0.15);
  border: 1px solid #e1e4e8;
  padding: 10px;
  position: absolute;
  z-index: 100000 !important;
  width: 260px !important;
  box-sizing: border-box !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  user-select: none;
}

.custom-chrome-timepicker *, .custom-chrome-timepicker *:before, .custom-chrome-timepicker *:after {
  box-sizing: border-box !important;
}

.timepicker-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timepicker-wheels {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 10px;
}

.timepicker-wheel-container {
  height: 100%;
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  flex: 1;
  text-align: center;
  position: relative;
}

.timepicker-wheel-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.timepicker-wheel-list {
  padding: 120px 0; /* Half of height - half of item height */
  margin: 0;
  list-style: none;
}

.timepicker-wheel-item {
  height: 40px;
  line-height: 40px;
  font-size: 1.25rem;
  color: #8898aa;
  transition: all 0.2s;
  cursor: pointer;
}

.timepicker-wheel-item.active {
  color: #1a73e8;
  font-weight: 700;
  font-size: 1.75rem;
}

.timepicker-selection-highlight {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 40px;
  margin-top: -20px;
  border-top: 1px solid #e1e4e8;
  border-bottom: 1px solid #e1e4e8;
  pointer-events: none;
  background: rgba(26, 115, 232, 0.03);
  border-radius: 4px;
}

.time-separator {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  padding: 0 5px;
  z-index: 2;
}

.timepicker-actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  border-top: 1px solid #f1f3f4;
  padding-top: 10px;
}

.timepicker-actions .btn {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
}

.timepicker-actions .btn-ok {
  color: #1a73e8;
  border: none;
  background: none;
}

.timepicker-actions .btn-cancel {
  color: #5f6368;
  border: none;
  background: none;
}

.timepicker-actions .btn:hover {
  background-color: rgba(26, 115, 232, 0.04);
}

input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

form.node-form input,
form.node-form select{
  margin-top: 0!important;
}

.datepicker-wrapper .ui-datepicker-inline{
  display: none!important;
}

/** Datepicker Icon Styling **/
.datepicker-wrapper input.datepicker-input {
  padding-right: 35px !important;
}

.datepicker-icon {
  color: #888;
  font-size: 16px;
  z-index: 2;
}

.datepicker-icon:hover {
  color: #000;
}

/**
 * Slightly larger jQuery UI datepicker popup on tablets / touch devices, so
 * drivers can tap dates more easily on mobile (Asana 1216585547609990).
 * Scoped to the focus popup only (not the inline .ui-datepicker-inline
 * calendars) and left untouched on desktop.
 */
@media (any-pointer: coarse) {
  .ui-datepicker:not(.ui-datepicker-inline) {
    /* Width stays jQuery UI's 17em, which scales up with the larger font-size
       (~326px). Cap it so it never overflows a small phone screen. */
    max-width: 96vw;
    font-size: 1.2rem;
    padding: 0.4em;
  }

  .ui-datepicker:not(.ui-datepicker-inline) .ui-datepicker-title {
    line-height: 1.5;
  }

  .ui-datepicker:not(.ui-datepicker-inline) .ui-datepicker-title select {
    padding: 0.2em;
  }

  .ui-datepicker:not(.ui-datepicker-inline) .ui-datepicker-prev,
  .ui-datepicker:not(.ui-datepicker-inline) .ui-datepicker-next {
    width: 2em;
    height: 2em;
    top: 0.3em;
  }

  .ui-datepicker:not(.ui-datepicker-inline) table.ui-datepicker-calendar {
    width: 100%;
    margin: 0.2em 0 0;
  }

  .ui-datepicker:not(.ui-datepicker-inline) th {
    padding: 0.4em 0.2em;
  }

  .ui-datepicker:not(.ui-datepicker-inline) td a,
  .ui-datepicker:not(.ui-datepicker-inline) td span {
    padding: 0.45em 0.3em;
    text-align: center;
    line-height: 1.2;
  }
}

.dataTables_wrapper.table-container .views-field-field-vacation-periods ul{
  list-style: none;
  padding: 0;
}
.dataTables_wrapper.table-container .views-field-field-vacation-periods li{
  display: inline-block;
}
.dataTables_wrapper.table-container .views-field-field-vacation-periods li .field{
  line-height: 1.4em;
}
.dataTables_wrapper.table-container .views-field-field-vacation-periods li:not(:last-child){
  border-right: 2px solid #e1e4e8;
  padding-right: 5px;
  margin-right: 5px;
}

/* miniorange 2FA pages: /mfa_setup/USER/settings and /user/USER/mo-webauthn
 *
 * Those pages render their tables through Drupal's generic 'table' hook, i.e.
 * templates/dataset/table.html.twig. Unlike views-view-table.html.twig, that
 * template passes {{ attributes }} straight through instead of adding the
 * bootstrap classes, so the <table> arrives without .table/.table-hover and the
 * <thead> without .thead-light -- the rows end up unstyled while every view in
 * the system shows the argon DataTable look. The module's markup cannot be
 * changed from the theme, so the look is restored here.
 *
 * Scoped to tables that lack .table so it can only ever touch already unstyled
 * tables; the views tables keep their own classes and are not matched. Values
 * mirror libs/argon/css/argon.min.css (.table, .thead-light, .table-hover). */
.dataTables_wrapper.dt-bootstrap4 > table:not(.table) {
  width: 100%;
  margin-bottom: 0;
  color: #525f7f;
  background-color: transparent;
  border-collapse: collapse;
}

.dataTables_wrapper.dt-bootstrap4 > table:not(.table) th,
.dataTables_wrapper.dt-bootstrap4 > table:not(.table) td {
  padding: 1rem 1.5rem;
  vertical-align: middle;
  border-top: 1px solid #e9ecef;
  border-right: 0;
  border-left: 0;
}

.dataTables_wrapper.dt-bootstrap4 > table:not(.table) thead th {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #8898aa;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: #f6f9fc;
  border-top: 0;
  border-bottom: 1px solid #e9ecef;
  vertical-align: bottom;
}

.dataTables_wrapper.dt-bootstrap4 > table:not(.table) tbody td {
  font-size: 0.8125rem;
}

.dataTables_wrapper.dt-bootstrap4 > table:not(.table) tbody tr:hover {
  color: #525f7f;
  background-color: #f6f9fc;
}

/* dataset/table.html.twig wraps every table in its own .card. On the 2FA
 * settings page that table sits inside the form's card, so the card frame is
 * drawn twice. Drop the inner frame -- the .row[data-id] only exists in that
 * template, so views tables (whose row carries no data-id) keep their card. */
.card .row[data-id] > .col > .card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* miniorange 2FA login: the "Verify" button arrives as .button--primary without
 * any bootstrap colour class, so it picks up the wrong colour. Colours mirror
 * argon's .btn-success. */
form[data-drupal-selector="mo-auth-miniorange-authenticate"] input[data-drupal-selector="edit-login"] {
  color: #fff;
  background-color: #2dce89;
  border-color: #2dce89;
}

form[data-drupal-selector="mo-auth-miniorange-authenticate"] input[data-drupal-selector="edit-login"]:hover,
form[data-drupal-selector="mo-auth-miniorange-authenticate"] input[data-drupal-selector="edit-login"]:focus {
  color: #fff;
  background-color: #26af74;
  border-color: #24a46d;
}

.login-page > .row > .col-lg-5 > .row > .col-12 > a{
  display: none!important;
}

.login-page .form-submit[value="Log in"]{
  margin-top: 15px;
}
