/**
 *----------------------------------------------------------------------------
 * iCagenda     Events Management Extension for Joomla!
 *----------------------------------------------------------------------------
 * @version     4.0.0 2025-05-12
 *
 * @package     iCagenda.Media
 * @subpackage  CSS
 * @link        https://www.joomlic.com
 *
 * @author      Cyril Reze
 * @copyright   (c) 2012-2026 Cyril Reze / JoomliC. All rights reserved.
 * @license     GNU General Public License version 3 or later; see LICENSE.txt
 *
 * @since       3.4
 *----------------------------------------------------------------------------
 */

[data-bs-theme="light"] {
	.ic-card-header {
/*		background-color: #2e486b; */
		background-color: #476285;
	}
	.quick-icons .quickicon a.disabled {
		--text-color: var(--secondary-color);
		--text-color-hvr: var(--light);
		--bg-color: var(--secondary-bg-subtle);
		--icon-color: var(--secondary-color);
		--icon-color-hvr: var(--secondary-bg-subtle);
		--bg-color-hvr: var(--secondary);
		cursor: not-allowed !important;
	}
}
[data-bs-theme="dark"] {
	.ic-card-header {
		background-color: #20262d;
	}
}

.choices__placeholder {
  opacity: .8;
}
.js-stools-container-filters-visible {
  grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
}

/* iCagenda Admin Styles */
[class^="ic-spacer-"] label,
[class*=" ic-spacer-"] label {
  margin: 7px 0 -6px 0;
  font-family: inherit;
  font-weight: bold;
  line-height: 18px;
  color: inherit;
  text-rendering: optimizelegibility;
  cursor: none;
}
.ic-spacer-h3 label {
  font-size: 18px;
  line-height: 20px;
}

.form-horizontal .field-spacer > .control-label {
  width: 100% !important;
}
.form-horizontal .control-label .spacer hr {
  width: auto !important;
}

/* -- MAP FIELDS ---------------------------- */
.icmap-label {
  float: left;
  width: 140px;
  padding-top: 5px;
  padding-right: 5px;
  text-align: left;
}
.icmap-field {
  margin: 5px;
}
.form-validate .icmap-field input,
.icagenda_form .icmap-field input {
  background-color: #eee;
/*	width: auto; */
  color: #777;
}

/* -- FORM FIELD INVALID ---------------------------- */
.ic-field-invalid label{
/*	color: #9D261D; */
  color: red !important;
  font-weight: bold;
}
.ic-field-invalid input{
  border: 1px solid red !important;
}

.ic-field-invalid-lbl{
/*	color: #9D261D; */
  color: red !important;
  font-weight: bold;
}
.ic-field-invalid-input{
  border: 1px solid red !important;
}

.ic-date-invalid {
  color: red !important;
}
.ic-date-invalid input{
  color: red !important;
}


/* Unpublished item in admin list */
tr.unpublished td {
  background: #f2dede !important;
  color: gray;
}
tr.unpublished td a {
  color: #a94442;
}


/* -- ALERT MESSAGES AND NOTICES -------------------- */
.ic-alert {
  padding: 8px 14px 8px 14px;
  margin-bottom: 18px;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  border-radius: 4px;
}
.ic-alert-note {
  background-color: #fafafa;
  border-color: #ccc;
  color: #777;
}

/* -- GRAVATAR ICONS -------------------- */
.icon-gravatar-img {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  margin: auto;
}
.icon-no-consent {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  border: 4px solid #ff8a89;
  margin: auto;
  font-size: 40px;
  padding-top: 2px;
  line-height: 48px;
  color: #fff;
  background: #e0e0e0;
  overflow: hidden;
}
.no-consent-slash:before {
  position: relative;
  content: "/";
  color: #ff8a89;
  font-weight: 600;
  font-size: 68px;
  left: -28px;
  top: 0;
  line-height: 26px;
}

/* -- CSS TO BE CHECKED ----------------------------- */

#hidden {
  display: none;
  }


/** Edition Header **/
.ic-edit-header{
  width: 100%;
  position: relative;
  margin: 10px;
  padding: 20px 10px 10px 10px;
  position: relative;
  display: block;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  text-align: center;
}
.ic-edit-header-title{
  font-size: 24px;
  line-height: 24px;
  margin: 0;
  position: relative;
  text-align: right;
  font-weight: 300;
  color: hsl(var(--hue), 40%, 70%);
  text-shadow: 1px 1px 1px rgba(255,255,255,0.7);
}
.ic-edit-header-title span{
  font-size: 36px;
  font-weight: 500;
}
.ic-edit-header-subtitle{
  font-size: 14px;
  font-weight: 300;
  margin: 0;
  padding: 15px 0 5px 0;
  /* color: #7c8e8d; */
  color: #888;
  font-family: Cambria, Georgia, serif;
  font-style: italic;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.9);
}


/** Edition Header @deprecated 3.8 **/
.container{
  width: 100%;
  position: relative;
}
.container > header{
  margin: 10px;
  padding: 20px 10px 10px 10px;
  position: relative;
  display: block;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  text-align: center;
}
.container > header h1{
  font-size: 40px;
  line-height: 40px;
  margin: 0;
  position: relative;
  font-weight: 300;
  /* color: #128680; */
  color: #777777;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.7);
}
.container > header h1 span{
  font-weight: 700;
}
.container > header h2{
  font-size: 14px;
  font-weight: 300;
  margin: 0;
  padding: 15px 0 5px 0;
  /* color: #7c8e8d; */
  color: #888;
  font-family: Cambria, Georgia, serif;
  font-style: italic;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.9);
}
/* Header Style */
.iCheader-top{
  line-height: 24px;
  font-size: 11px;
  background: #fff;
  background: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  /*z-index: 9999;*/
  position: relative;
  font-family: Cambria, Georgia, serif;
  box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}
.iCheader-top a{
  padding: 0px 10px;
  letter-spacing: 1px;
  color: #333;
  display: inline-block;
}
.iCheader-top a:hover{
  background: rgba(255,255,255,0.3);
}
.iCheader-top span.right{
  float: right;
}
.iCheader-top span.right a{
  float: left;
  display: block;
}
/* Tutorial Videos Buttons Style */
.iCheader-videos{
  text-align:center;
  display: block;
  line-height: 30px;
  padding: 5px 0px;
}
.iCheader-videos a{
  display: inline-block;
  margin: 0px 4px;
  padding: 0px 6px;
  color: #aaa;
  line-height: 20px;
  font-size: 13px;
  text-shadow: 1px 1px 1px #fff;
  border: 1px solid #ddd;
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
  background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}
.iCheader-videos a:hover{
  color: #333;
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}
.iCheader-videos a:active{
  background: #fff;
}
.iCheader-videos a.current-demo,
.iCheader-videos a.current-demo:hover{
  background: #f6f6f6;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
}

/** general **/
.clr{
  clear: both;
  padding: 0;
  height: 0;
  margin: 0;
}

.iC-italic-grey {
  font-style: italic;
  color: #777
}

.iCflag {
  padding: 0px !important;
  margin-bottom: 3px;
}

.iCleft {
  text-align: left;
}


.locandina img {
  background:#dedede;
  padding:5px;
  border:1px solid #ccc;
  max-width:150px;
  max-height:200px;
}
.icon-48-events {
  background-image: url(../media/com_icagenda/images/icon48event.png);
}

icon48icagenda {
  background-image: none;
}

/**
 * ChangeLog
 **/

/* Header H3 */
h3.ic-changelog { margin-top: 20pt; font-size: 16pt; }
h3.ic-changelog-pro { color: #990000; margin-top: 20pt; font-size: 16pt; }

/* Header H4 */
h4.ic-changelog { border-bottom: 1px solid rgba(100,100,100,.375); margin-top: 15pt; font-size: 12pt; }

/* Global */
ul.ic-changelog { list-style-type: none; padding: 10px; margin: 3px; font-size: 12pt; border: thin solid rgba(100, 100, 100, 0.25); border-radius: 5px; }
ul.ic-changelog li { line-height: 1; padding: 0; margin: 3px 0 0 0; }

/* Info */
.ic-message-info { color:#fff; list-style-type: none; padding: 7px; margin: 10px 3px 20px 3px; font-size: 12pt; background-color: #578AD6; border-radius: 5px; }

/* legend */
.ic-box {
  line-height: 14pt;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  text-align: left;
  vertical-align: middle;
  border-radius: 3px;
  margin: -3px 2px auto 2px;
  padding: 1px 2px;
  font-size: 10pt;
  font-weight: normal;
  width: auto;
}
/* legend */
.ic-box-12 {
  line-height: 14px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  text-align: center;
  vertical-align: middle;
  border-radius: 3px;
  margin: 0 3px auto 3px;
  font-weight: normal;
  height: 14px;
  width: 14px;
}
.ic-box-important {
  background: #EBAD14;
  color: #FFFFFF;
}
.ic-box-added {
  background: #61BF1A;
  color: #FFFFFF;
}
.ic-box-removed {
  background: #ED2E38;
  color: #FFFFFF;
}
.ic-box-changed {
  background: #999;
  color: #FFFFFF;
}
.ic-box-fixed {
  background: #578AD6;
  color: #FFFFFF;
}
.ic-important {
  color: #cc9933;
}
.ic-added {
  color: #5aa427;
}
.ic-removed {
  color: #e52929;
}
.ic-changed {
  color: #777;
}
.ic-fixed {
  color: #0f6eac;
}

.ic-box-16 {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  text-align: center;
  vertical-align: middle;
  border-radius: 3px;
  font-weight: normal;
  line-height: 16px;
  height: 16px;
  width: 16px;
  margin-right: 6px;
  margin-top: 0;
}
.ic-bold { font-weight: bold; }

/* Sub Important */
li.ic-changelog-important-sub span {margin-left: 23px; border-left: 1px dashed #cc9933; padding-left: 5px }
li.ic-changelog-important-sub { color: #cc9933; font-weight: normal; }


.blockbtn {
  display: inline-block;
  *display: inline;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  *margin-left: .3em;
  font-size: 13px;
  line-height: 18px;
  *line-height: 20px;
  color: #333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255,255,255,0.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: #f5f5f5;
  *background-color: #e6e6e6;
  background-image: -ms-linear-gradient(top,#fff,#e6e6e6);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
  background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
  background-image: -o-linear-gradient(top,#fff,#e6e6e6);
  background-image: linear-gradient(top,#fff,#e6e6e6);
  background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #ccc;
  *border: 0;
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff',endColorstr='#e6e6e6',GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
}


/** map **/
.ui-autocomplete {
  background-color: white;
  width: 300px;
  border: 1px solid #cfcfcf;
  list-style-type: none;
  padding: 5px;
  cursor: pointer;
}
.ui-autocomplete li {
  margin: 5px;
}
.ui-autocomplete li > a {
  cursor: pointer;
}

/** calendar **/
fieldset.adminform textarea.date {height: 130px; }
#add {line-height: 28px; margin-left:145px;}
table#dTable {width: 113px; border:1px solid #cdcec9;}


/*
 * Params Styles
**/

/* -- STYLE_RED ------------------- */
.stylered {
  color:#cc0000; background-color:#FFFFFF; font-weight:bold; padding:10px 25px; margin:0; border:1px red dotted; text-align:center;
}
/* -- STYLE_NOTE ------------------- */
.stylenote {
  color:#666; margin:5px 0px 0px 0px; padding:5px 0px 0px 0px;
}
/* -- STYLE_NOTEP ------------------- */
.stylenotep {
  color:#666; margin:5px 0px 0px 0px; padding:0px;
}
/* -- STYLE_SUB ------------------- */
.stylesub {
  font-weight:normal; font-size:12px; text-transform:uppercase; color:#666; margin:10px 0px 0px 0px;
}
/* -- STYLE_COPY ------------------- */
.stylecopy {
  color:#666; font-size:12px; margin:0;
}



/** Control Panel **/
.icpanel table {
  width: 100%;
  /*background: #F4F4F4;*/
  margin-top: 5px;
  margin-bottom: 10px;
}
.icpanel .left {
  float: left;
}
.icpanel .right {
  float: right;
}


.icagenda-card {
  background-color: rgba(255,255,255,0.1);
/*    color: #333; */
  min-height: 200px;
  padding: 20px;
/*  margin-top: 10px; */
  border: 1px solid rgba(155,155,155,0.3);
  border-radius: .2rem;
}
.ic-panel {
  background-color: rgba(255,255,255,0.1);
  padding: 20px;
  margin-top: 10px;
  border: 1px solid rgba(155,155,155,0.3);
  border-radius: .2rem;
}
.ic-min-h-200 {
  min-height: 200px;
}

.ic-panel h3 {
  margin-top: 20px;
}
.icpanel-icon {
  display: inline-block;
  width: 128px;
  min-height: 128px;
  line-height: 1.25rem;
  padding-top: 5px;
  margin-bottom: 15px;
  margin-left: 7px;
  margin-right: 7px;
  vertical-align: top;
  text-align: center;
  text-decoration: none;
  color: #565656;
  background-color: #fff;
  border: 1px solid rgba(155,155,155,0.3);
  border-radius: 10px;
  transition-duration: 0.5s;
  transition-property: all;
  overflow: hidden;
}
.icpanel-icon a {
  color: #565656;
  text-decoration: none !important;
}
.ic-panel div.denied:hover,
.ic-panel div.denied:focus,
.ic-panel div.denied:active {
  color: #999999;
  border: 1px solid #ccc !important;
  border-radius: 5px !important;
  box-shadow: none;
  transition-duration: 0s;
  transition-property: none;
}

.icpanel-icon:hover,
.icpanel-icon:focus,
.icpanel-icon:active {
  background-position: 0 center;
  background-color: #FFFFFF;
  /*border-bottom-left-radius: 50% 20px;*/
  border: 1px solid #999999;
  color: #565656;
/*	box-shadow: -5px 10px 15px rgba(0, 0, 0, 0.25); */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.icpanel-icon a:hover,
.icpanel-icon a:focus,
.icpanel-icon a:active {
  color: #565656;
}
.icpanel-icon-text-container {
  margin-top: 5px;
  padding: 7px 3px 7px 3px;
  min-height: 53px;
}
.icpanel-icon-text {
  display: block;
  text-align: center;
}
.ic-bg-white {
  background: #fff;
/*    color: #333; */
}
.ic-bg-grey {
  background: #666;
  color: #fff;
}
.ic-bg-grey-light {
  background: rgba(155,155,155,0.1);
/*    color: #333; */
}
.ic-bg-blue {
  background: #0d6efd;
  color: #fff;
}
.ic-bg-green {
  background: #198754;
  color: #fff;
}
.ic-bg-red {
  background: #cc0000;
  color: #fff;
}
.icpanel-icon .ic-bg-grey,
.icpanel-icon .ic-bg-grey-light,
.icpanel-icon .ic-bg-blue,
.icpanel-icon .ic-bg-green,
.icpanel-icon .ic-bg-red {
  transition-duration: 0.5s;
  transition-property: all;
}
.icpanel-icon:hover .ic-bg-grey {
  background: #5a5a5a;
}
.icpanel-icon:hover .ic-bg-grey-light {
  background: #e2e1e2;
}
.icpanel-icon:hover .ic-bg-blue {
  background: #3d599b;
}
.icpanel-icon:hover .ic-bg-green {
  background: #2d7b53;
}
.icpanel-icon:hover .ic-bg-red {
  background: #af2920;
}



.cpanel-icon {
  /* float: left; */
  margin-bottom: 15px;
  margin-left: 7px;
  margin-right: 7px;
  text-align: center;
  line-height: 14px;
}
.cpanel-icon a {
  background-color: #FFFFFF;
  background-position: -30px center;
  border: 1px solid #CCCCCC;
  /*border-radius: 5px 5px 5px 5px;*/
  border-radius: 5px;
  color: #565656;
  display: inline-block;
  /* float: left; */
  height: 98px;
  text-decoration: none !important;
  transition-duration: 0.5s;
  /*transition-property: background-position, -moz-border-radius-bottomleft, -moz-box-shadow;*/
  transition-property: all;
  vertical-align: middle;
  width: 108px;
}

.cpanel-icon a:hover,
.cpanel-icon a:focus,
.cpanel-icon a:active {
  background-position: 0 center;
  background-color: #FFFFFF;
  /*border-bottom-left-radius: 50% 20px;*/
  border: 1px solid #990000;
  color: #565656;
  box-shadow: -5px 10px 15px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  position: relative;
  z-index: 10;
}
.cpanel-icon-text {
  display: block;
  text-align: center;
}

.ic-liveupdate-content {
  padding-top: 12px;
}
.ic-liveupdate-icon {
  font-size: 36px;
  padding-bottom: 14px;
}

.update-found {
  background: #cc0000;
  border: 1px solid rgba(0,0,0,0.2);
}
.update-found:hover,
.update-found:focus,
.update-found:active {
  background-color: #af2920;
  color: #fff;
}
.update-found .icon-upload {
  color: #fff;
}
/*
.update-found .icpanel-icon-text {
  margin-top: -10px;
}
*/

/* J3 */
.cpanel-icon.update-found {
  border-radius: 5px !important;
}
.cpanel-icon.update-found a {
  background: #cc0000;
  border: 1px solid rgba(0,0,0,0.2);
  color: #fff;
}
.cpanel-icon.update-found a:hover,
.cpanel-icon.update-found a:focus,
.cpanel-icon.update-found a:active {
  background: #af2920;
  color: #fff;
}
.cpanel-icon.update-found .icon-upload {
  margin-right: 20px;
  padding-top: 2px;
}


.ic-panel div.icon.danger a {
  border: 0;
}
.ic-panel div.icon .btn {
  transition-duration: 0.5s;
  transition-property: border-radius;
}
.ic-panel div.icon .btn:hover {
  border-radius: 10px;
}
.icpanel img, .ic-panel img {
  margin: 0 auto;
  padding: 10px 0 5px 0;
}
.icpanel span.iconText, .ic-panel span.iconText {
  display: block;
  text-align: center;
}
.icpanel span.denied, .ic-panel span.denied {
  color: #999999;
}
div.icpanel-left {
  float: left;
  width: 54%;
}
div.icpanel-right {
  float: right;
  width: 45%;
}

/** Events List **/
.ic-nextdate {
  padding: 2px 5px;
  border-radius: 5px;
}
.ic-upcoming {
  color: #fff;
  background: #555;
}
.ic-today {
  color: #fff;
  background: #c30000;
}
.ic-past {
  color: #777;
  background: #e4e4e4;
  font-style: italic;
}
.ic-no-date {
  background: #fbb450;
  font-weight: bold;
}

/** Temporary fix input width for JCE media field input  (@TODO removed 4.0 with admin refactory) */
.wf-media-input {
  width: 90px !important;
}

/** Config Type Elements **/
.element-title,
.element-title-img {
  margin-left: -180px;
  max-width: 1000px;
}
.element-title-img img {
  float: left;
  padding: 6px 10px 10px 0px;
}
@media (max-width: 420px) {
  .element-title,
  .element-title-img {
	margin-left: 0;
	float: none;
  }
}
