
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Montserrat", sans-serif;
  text-rendering: optimizeLegibility;
}

.main-container-wrapper {
  background-color: #F8FAFA;
  min-width: 320px;
  max-width: 100%;
  overflow-y: auto;
 */ padding: 20px;
}

.calendar-container, .events-container {
 */ background-color: #fff;
  */ margin: 10px;
}
@media (min-width: 768px){
.calendar-container {
      border-left: 1px solid #c7c7c7;

}
}

@media (min-width: 768px) {
  .events-container {
    border-left: 1px solid #c7c7c7;
    border-right: 1px solid #c7c7c7;
  }
}


@media (min-width: 768px) {
  .main-container-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .calendar-container, .events-container {
    flex: 1;
    max-width: calc(50% - 0px);
  }

  .calendar-container {
    order: 1;
  }

  .events-container {
    order: 2;
    overflow-y: auto;
    max-height: 600px;
  }
}

/* Kalender-specifika styles */
.calendar-container__header {
  display: flex;
  justify-content: space-between;
}

.calendar-container__btn {
  cursor: pointer;
  background-color: #f6f6f6;
  border: none;
  border-radius:20px;
  padding: 10px;
}

/* Händelse-specifika styles */
.events__title {
  color: #484848;
  margin-top: 24px;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
}

.events__item {
  background: #fff;
  border-left: 8px solid #e5a427d6;
  border-radius: 2px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.05);
  padding: 15px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}


.mock-up-link {
  display: none;
}
@media (min-width: 768px) {
  .mock-up-link {
    display: block;
  }
}

.main-container-wrapper {
  background-color: #F8FAFA;
  min-width: 320px;
  min-height: 568px;
  max-width: 1045px;
  overflow-y: auto;
}
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
  /* For landscape layouts only */
  .main-container-wrapper {
  max-width: 100%;
}
}

header {
  background-color: #fff;
  display: flex;
  height: 58px;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.header__btn {
  background-color: #86D8C9;
  border: 2px solid #fff;
  border-radius: 50%;
  -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  height: 80px;
  padding-top: 18px;
  position: absolute;
  top: -25px;
  width: 80px;
}
.header__btn:hover, .header__btn:focus {
  background: #67cebb;
  transition: all 0.3s ease-in;
  outline: none;
}
.header__btn .icon {
  display: inline-block;
}
.header__btn--left {
  left: -25px;
  padding-left: 38px;
  text-align: left;
}
.header__btn--right {
  padding-right: 32px;
  right: -25px;
  text-align: right;
}

.calendar-container {
  background-color: #fff;
  padding: 16px;
 
}
.calendar-container__header {
  display: flex;
  justify-content: space-between;
}
.calendar-container__btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  outline: none;
  color: #E9E8E8;
}
.calendar-container__btn:hover, .calendar-container__btn:focus {
  color: #9FAAB7;
  transition: all 0.3s ease-in;
}
.calendar-container__title {
  color: #222741;
  font-size: 20px;
  font-weight: 700;
}

.calendar-table {
  margin-top: 12px;
  width: 100%;
}
.calendar-table__item {
  border: 2px solid transparent;
  border-radius: 50%;
  color: #424588;
  font-size: 12px;
  font-weight: 700;
  width: 100%;

  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.calendar-table__row {
  display: flex;
  justify-content: center;
}
.calendar-table__header {
  border-bottom: 2px solid #F2F6F8;
  margin-bottom: 4px;
}
.calendar-table__header .calendar-table__col {
  display: inline-block;
  color: #99A4AE;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 3px;
  text-align: center;
  text-transform: uppercase;
  width: 40px;
  height: 38px;
}
@media (min-width: 360px) {
  .calendar-table__header .calendar-table__col {
    width: 46px;
	    padding: 8px;
  }
}
@media (min-width: 410px) {
  .calendar-table__header .calendar-table__col {
    width: 54px;
	    padding: 8px;
  }
}
.calendar-table__body .calendar-table__col {
  width: 40px;
  height: 42px;
      padding: 8px;
  padding-bottom: 2px;
}
@media (min-width: 360px) {
  .calendar-table__body .calendar-table__col {
    width: 46px;
	    padding: 8px;
    height: 48px;
  }
}
@media (min-width: 410px) {
  .calendar-table__body .calendar-table__col {
    width: 54px;
    height: 56px;
	    padding: 8px;
  }
}
.calendar-table__today .calendar-table__item {
  border-color: #FEFEFE;
  background-color: #F2F6F8;
  -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
.calendar-table__event .calendar-table__item {
  background-color: #66DCEC;
  border-color: #FEFEFE;
  -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  color: #fff;
}
.calendar-table__event--long {
  overflow-x: hidden;
}
.calendar-table__event--long .calendar-table__item {
  border-radius: 0;
  border-width: 2px 0;
}
.calendar-table__event--start .calendar-table__item {
  border-left: 2px solid #fff;
  border-radius: 50% 0 0 50%;
}
.calendar-table__event--start.calendar-table__col:last-child .calendar-table__item {
  border-width: 2px;
}
.calendar-table__event--end .calendar-table__item {
  border-right: 2px solid #fff;
  border-radius: 0 50% 50% 0;
}
.calendar-table__event--end.calendar-table__col:first-child .calendar-table__item {
  border-width: 2px;
}
.calendar-table__inactive .calendar-table__item {
  color: #DCDCE3;
  cursor: default;
  
}
.calendar-table__inactive .calendar-table__item:hover {
  background: transparent;
  box-shadow: none;
}
.calendar-table__inactive.calendar-table__event .calendar-table__item {
  color: #fff;
  opacity: 0.25;
}
.calendar-table__inactive.calendar-table__event .calendar-table__item:hover {
  background: #66DCEC;
  -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}


/* Standardstil för större skärmar */
.events-container {
  padding: 0 30px;
}

/* Stil för mindre enheter (exempelvis mobiltelefoner) */
@media screen and (max-width: 600px) {
  .events-container {
    padding: 0 16px;
  }
}


.events__title {
  color: #484848;
  margin-top: 24px;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
}
.events__tag {
  background: #e5a427d6;
  border: 1px solid #6a656580;
  -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  color: black;
  font-size: 10px;
  font-weight: 600;
  width: 60px;
  margin-left: 16px;
  padding: 5px 2px;
  text-align: center;
}
.events__tag--highlighted {
  background: #FDCA40;
}
.events__item {
  background: #fff;
  border-left: 8px solid #e5a427d6;
  border-radius: 2px;
  -moz-box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.05);
  padding: 15px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.events__item--left {
  width: calc(100% - 76px);
}
.events__name {
  font-size: 12px;
  font-weight: 700;
  color: #222741;
  display: block;
  margin-bottom: 6px;
}
.events__date {
  font-size: 12px;
  color: #9FAAB7;
  display: inline-block;
}

.calendar-container__btn--left, .calendar-container__btn--right {
  cursor: pointer;
  background-color: #f6f6f6;
   border: 1px solid #b9b9b94f;
  border-radius:20px;
  padding: 7px;
}

.calendar-container__btn--left i, .calendar-container__btn--right i {
  display: inline-block;
  /* Anpassa nedan med din egen ikon eller bakgrund */
  width: 20px;
  height: 20px;
  background-image: url('path-to-your-icon.png');
  background-size: cover;
}
.calendar-table__event {
  background-color: #ffcc0054; /* Välj en färg som indikerar en händelse */
}

.calendar-table__event:active {
  background-color: #ffcc0054; /* Samma färg behålls även när händelsen är aktiv */
}
.events__tag {
  display: inline-block; /* Eller annan layout-egenskap som passar din design */
  /* Andra stilar för att behålla layouten stabil */
}

.calendar-table__item.selected {
  /* Stilar för att visa att detta datum är valt, utan att påverka layouten */
  border:1px solid #a4a4a4;
}
#futureEventsModal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
  z-index: 1000;
}
.calendar-table__inactive {
  color: gray;
  font-weight:100;
  pointer-events: none; /* Förhindrar klick */
}

.shopping-cart {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrera innehÃ¥llet horisontellt */
    border:0px;
    padding:0px;
    padding-rights: 15px;
    margin:0px;
    background:none;
    width: 60px; /* ExempelvÃ¤rde, justera enligt dina behov */
}
.cart-hover-box {
    display: none;
}
.shopping-cart:hover {
    cursor: pointer;
}


.cart-count {
    background-color: black;
    color: #fff;
    padding: 2px 5px;
    border-radius: 50%;
    font-size: 14px;
}


@media (min-width: 768px){
.vidsidavidsida {
	margin:0px;
	padding:0 15px; 
	width:calc(57% - 0px);
    border-left: 1px solid #c7c7c7;

}
.tillbakafaltet {
	border-left: 1px solid #c7c7c7; 
border-right: 1px solid #c7c7c7;
}
}


@media (max-width: 768px){
.vidsidavidsida {
order: 0;
padding:0 0px;
margin-bottom:-25px;
}

.events-container {
order: 0;

}

.vadtrordu {
    display: flex;
    flex-direction: column;
}
}



.div-only-mobile {
    visibility: hidden;
    display: none;
}

@media screen and (max-width: 849px) {

.div-no-mobile {
    visibility: hidden;
}

.div-only-mobile {
    visibility: visible;
    display: block;
}

}

.alerts {
  padding: 16px;
  background-color: #f44336;
  color: white;
      margin-left: 20px;
	      margin-right: 20px;
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}