.clearfix {
  display: block;
  content: "";
  clear: both;
}

.modal-overlay {
  background: #e9e9e9;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.5;
  z-index: 1000;
}

.modal-overlay .loader {
  background: url("/assets/common/images/spin.svg") center center no-repeat;
  height: 100%;
  z-index: 20;
}

.dtp {
  z-index: 9999;
}

.ajax-main-overlay {
  background: #e9e9e9;
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.5;
  z-index: 99999;
  margin: -12px -28px
}

.ajax-main-overlay .loader {
  background: url("/assets/common/images/spin.svg") center center no-repeat;
  height: 100%;
  z-index: 20;
}

.mar-10 {
  margin-left: 10px !important;
}

.upload-form {
  position: relative;
}

.upload-image-save {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
}

.upload-image-save i {
  font-size: 20px;
}

.imageuploadify-container {
  width: 90px;
  height: 90px;
  position: relative;
  overflow: hidden;
  margin-bottom: 1em;
  float: left;
  border-radius: 12px;
  box-shadow: 0 0 4px 0 #888;
  background: #AF9A8F;
}

.imageuploadify-container .imageuploadify-details {
  position: absolute;
  top: 0;
  padding-top: 20px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(255, 255, 255, .5);
  z-index: 2;
  opacity: 0;
}

.imageuploadify-container>.imageuploadify-details:hover {
  opacity: 1 !important;
  color: #3AA0FF;
  text-align: center;
  white-space: normal
}

.imageuploadify-container img {
  height: 100%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
}

.imageuploadify-container button.btn-danger {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 15px;
  font-size: 10px;
  line-height: 1.42;
  padding: 2px 0;
  text-align: center;
  z-index: 3;
}

.dtp>.dtp-content {
  max-width: 340px !important;
}

#appbundle_location_template_ifr {
  height: auto !important;
}

.alert-close-icon {
  color: #fff !important;
}

.send_newsletter_button {
  float: right;
  margin-right: 20px;
}

/* declare a 7 column grid on the parent */
#calendar {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

#calendar a {
  color: #8e352e;
  text-decoration: none;
}

#calendar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#calendar li {
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  margin-right: -1px;
  margin-bottom: -1px;
}

#calendar ul.weekdays {
  background: #2196F3;
}

/* redeclare this grid on both the weekdays and days list */
#calendar>ul {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

#calendar ul.weekdays li {
  text-align: center;
  text-transform: uppercase;
  line-height: 20px;
  border: none !important;
  padding: 10px 6px;
  color: #fff;
  font-size: 13px;
}

#calendar .days li {
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

#calendar .days li:hover {
  background: #d3d3d3;
}

#calendar .date {
  text-align: center;
  margin-bottom: 5px;
  padding: 5px;
  background: #333;
  color: #fff;
  width: 30px;
  border-radius: 50%;
  flex: 0 0 auto;
  align-self: flex-end;
}

#calendar .event {
  flex: 0 0 auto;
  font-size: 13px;
  border-radius: 4px;
  padding: 5px;
  margin-bottom: 5px;
  line-height: 14px;
  background: #e4f2f2;
  border: 1px solid #b5dbdc;
  color: #009aaf;
  text-decoration: none;
}

#calendar .event-desc {
  color: #666;
  margin: 3px 0 7px 0;
  text-decoration: none;
}

#calendar .other-month {
  background: #f5f5f5;
  color: #666;
}

/* ============================
				Mobile Responsiveness
   ============================*/
@media(max-width: 768px) {
  #calendar .weekdays, #calendar .other-month {
    display: none;
  }

  #calendar li {
    height: auto !important;
    border: 1px solid #ededed;
    width: 100%;
    padding: 10px;
    margin-bottom: -1px;
  }

  #calendar, #calendar>ul {
    grid-template-columns: 1fr;
  }

  #calendar>ul {
    grid-column: 1 / 2;
  }

  #calendar .date {
    align-self: flex-start;
  }

  .day.other-month {
    display: none !important;
  }

  .add-show-btn-container {
    text-align: center !important;
  }
}

@media(max-width: 990px) {
  .month-year-label-list {
    width: 100% !important;
  }
}

.padding-15 {
  padding: 15px;
}

.padding-3 {
  padding: 3px;
}

.calendar-header-label {
  margin: 6px 15px 15px 15px;
  font-size: 2em;
  font-weight: 600;
}

.event-container {
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
}

.other-month {
  background-color: #918C8C !important;
  opacity: 0.2;
}

.month-year-label-list {
  text-align: center;
  vertical-align: middle;
  display: inline-block;
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
}

.prev-next-month-label {
  font-size: 15px;
}

.err .help-block {
  color: #ff0000 !important;
}

.fa-power-off {
  margin-right: 10px;
}

.fa-sign-out {
  margin-right: 5px;
}

.fa-trash-calendar {
  color: #ff0000;
  cursor: pointer;
}

.fa-edit, .fa-clone, .fa-trash {
  cursor: pointer;
}

.event {
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: center !important;
}

.event_radio {
  margin-bottom: 10px;
  text-align: center;
}

.picture_upload_block {
  background: #EAEDF2;
  box-shadow: 0 0px 8px rgba(0, 0, 0, 0.3) !important;
  display: inline-block;
  margin: 5px;
}

@media(min-width: 1024px) {
  .imageuploadify-container {
    margin-left: 20px;
  }
}

.language-container {
  margin-top: 15px;
  margin-right: 10px;
}

.language-container .langugae-icon {
  margin-right: 5px;
}

.flag-active {
  color: rgba(255, 0, 0, 1);
  cursor: default;
  pointer-events: none;
  opacity: 0.5;
}

.mobile-language-container.hidden-lg {
  margin: 0;
  text-align: center;
  display: block;
  width: 100%;
}

.red {
  color: red;
}

.mobile-language-menu-container {
  width: 75px;
  background: #fff;
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 4px 3px 5px 3px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1) !important;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.mobile-language-menu-container .langugae-icon:first-child {
  margin-right: 5px;
}

.modal-header {
  background-color: #2196F3;
  color: #fff;
}

.select2-container {
  width: 100% !important;
}

#mimin-mobile-menu-opener {
  z-index: 9999;
}

.modal {
  z-index: 9999;
}

.select2-dropdown {
  z-index: 99999;
}

.dtp {
  z-index: 9999;
}

.shadow-on-box {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1) !important;
}

.canvas_update_img {
  cursor: crosshair;
}
.canvas_update_img_contract {
  cursor: crosshair;
}
.input-group-addon {
	padding: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: #555;
	text-align: left;
	background-color: transparent !important;
	border: 0;
	box-shadow: unset;
	width: auto;
	position: absolute;
	left: 0;
	bottom: 5px;
}
.form-animate-error .input-group-addon {
  bottom: 29px !important;
}
.currency_form {
    padding-left: 16px !important;
}
.currency_label {
  margin-left: 10px;
  margin-top: -4px;
}
