body {
  margin: 0;
  padding: 0;
  font-family: "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
  font-size: 14px;
}

#top {
  background: #eee;
  border-bottom: 1px solid #ddd;
  padding: 0 10px;
  font-size: 12px;
}

#calendar {
  margin: 20px auto;
  padding: 0 10px;
}

.fc-header-toolbar {
  border-top: 3px solid #004735;
  border-bottom: 3px solid #004735;
  border-spacing: 1cm 2em;
}

#calendar .fc-month-view .fc-today {
  background: #004735;
  color: white;
}

.fc-other-month {
  background: #F4F4F4;
}

.fc-day-header {
  background: #eee;
}

.fc-basic-view .fc-body .fc-row {
  min-height: 1em;
}
#calendar .fc-month-view .fc-body .fc-row.fc-week.fc-widget-content{
  min-height: 6em;
}
#calendar .fc-year-view .fc-body .fc-row.fc-week.fc-widget-content{
  min-height: 2em;
}
#calendar .fc-month-view .fc-row .fc-content-skeleton td, .fc-row .fc-helper-skeleton td{
  border-color: #ddd;
}

#calendar .fc-toolbar .fc-button-group {
  position: absolute;
  top: -40px;
  right: 0;
}

#calendar .fc-toolbar {
  position: relative;
}

#calendar .fc-toolbar .fc-button-group .fc-state-default,
#calendar .fc-toolbar .fc-button-group .fc-state-default:hover {
  background: #b4b4b4;
  border: none;
  box-shadow: none;
  color: #3c3c3c;
  text-shadow: unset;
  padding: 5px 30px;
  border-right: 3px solid white;
  transition: unset;
  z-index: 0;
}

#calendar .fc-toolbar .fc-button-group .fc-state-default:last-child {
  border: 0;
}

#calendar .fc-toolbar .fc-button-group .fc-state-active,
#calendar .fc-toolbar .fc-button-group .fc-state-active:hover {
  border: none;
  box-shadow: none;
  background: #004735;
  color: white;
  text-shadow: unset;
  border-right: 2px solid white;
  transition: unset;
  z-index: 0;
}

.fc-row .fc-content-skeleton td,
.fc-row .fc-helper-skeleton td {
  border-color: #ddd;
}

#calendar .fc-toolbar .fc-icon-left-single-arrow::after,
#calendarWidget .fc-toolbar .fc-icon-left-single-arrow::after{
  content: '<<';
  font-size: 100%;
}

#calendar .fc-toolbar .fc-icon-right-single-arrow::after,
#calendarWidget .fc-toolbar .fc-icon-right-single-arrow::after{
  content: '>>';
  font-size: 100%;
}

#calendar .fc-toolbar .fc-prev-button,
#calendar .fc-toolbar .fc-next-button,
#calendarWidget .fc-toolbar .fc-prev-button,
#calendarWidget .fc-toolbar .fc-next-button{
  margin-top: 5px;
  background: transparent;
  border: none;
  padding: 0 6px;
  box-shadow: none;
}

#calendarWidget .fc-toolbar .fc-prev-button,
#calendarWidget .fc-toolbar .fc-next-button{
  margin-top: 3px;
}

#calendar .fc-toolbar .fc-next-button,
#calendarWidget .fc-toolbar .fc-next-button{
  float: right;
}


/*Zoom*/

.fond {
  position: absolute;
  padding-top: 85px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #00506b;
}

.media {
  border: solid white 1px;
}


/*Year View */

#calendar .fc-year-main-table th,
#calendar .fc-year-main-table td {
  border-style: none;
  background-color: transparent;
}
#calendar .fc-year-main-table .fc-year-monthly-name{
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 2px solid #004735;
}
#calendar .fc-year-view .fc-day-top .fc-day-number{
  float: none;
}
#calendar .fc-year-view .fc-row table.fc-year-month-header{
  border: 0;
}
#calendar .fc-year-view .fc-row .fc-bg table{
  border: 0;
}


#calendar .fc-year-view .fc-has-event{
  background: #fff0cb;
}
#calendar .fc-year-view .fc-today.fc-has-event{
  background: #004735;
}
#calendar .fc-year-view .fc-today.fc-other-month.fc-next-month.fc-has-event{
  background-color: white;
}
#calendar .fc-year-view .fc-today.fc-other-month.fc-next-month.fc-has-event>span{
  cursor: auto;
}
#calendar .fc-year-view .fc-has-event span{
  cursor: pointer;
}
#calendar .fc-month-view .fc-other-month{
  background: white;
  color: #ddd;
  opacity: 1;
}
#calendar tbody{
  border-color: transparent;
}

#calendar .fc-day-grid-event .fc-content{
  white-space: normal !important;
}
#calendar .fc-row .fc-content-skeleton{
  padding-bottom: 0;
}

#calendar .fc-row .fc-content-skeleton td>span{
  vertical-align: middle;
}
#calendar  .fc-title {
  font-weight: normal;
}


/*Főoldal havi nézet*/
#calendarWidget .fc-miniMonth-view{
  border-bottom: 3px solid #004735;
  padding-bottom: 2px;
}
.front #calendarWidget .fc-miniMonth-view{
  border-bottom: 0;
}
#calendarWidget .fc-header-toolbar{
  background-color: #ffab0d;
  padding: 8px 0;
  margin-bottom: 0px;
  border: 1px solid white;
  height: 50px;
}

#calendarWidget .fc-header-toolbar .fc-center h2{
  color: #004735;
  border-bottom: 0;
  font-size: 18px;
  padding: 0;
  margin: 0;
  margin-top: 0px;
}
.front #calendarWidget .fc-header-toolbar .fc-center h2{
  margin-top: 8px;
}
#calendarWidget .fc-basic-view .fc-body .fc-row{
  background-color: #f9f3ed;
}
#calendarWidget .fc-row .fc-day-header{
  background-color: #004735;
  color: white;
  vertical-align: middle;
  border-right: 1px solid white;
  height: 44px;
}
#calendarWidget .fc-miniMonth-view .fc-has-event{
  background: #ffab0d;
}
#calendarWidget .fc-miniMonth-view .fc-other-month{
  background-color: #f9f3ed;
}

#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton{
  padding-bottom: 0;
}
#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-day-top{
  text-align: center;
  vertical-align: middle;
}
#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-today {
  background-color: #f9f3ed;
}

#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-today.fc-has-event {
  background-color: #ffab0d;
}
/*#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-today.fc-has-event>span {
  color: white;
}*/

#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-today {
  position: relative;
}

#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-today:before {
  position: absolute;
  top: 0px;
  bottom: 2px;
  left: 0px;
  right: 0px;
  content: '';
  border: 2px solid #004735;
  z-index: 3;
}

#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-today.fc-has-event .fc-day-number {
  color: #fff;
}

#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton,
#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton table,
#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton thead,
#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton tr {
  height: inherit;
}

#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-day-top > .fc-day-number {
  float: none;
  color: #004735;
  font-size: 16px;
}

#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-day-top.fc-has-event {
  cursor: pointer;
}

#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-day-top.fc-has-event:hover > .fc-day-number {
  color: #fff;
}
#calendarWidget .fc-miniMonth-view .fc-body .fc-row .fc-content-skeleton .fc-has-event:hover {
  background: #004735;
}

#calendarWidget .fc-miniMonth-view .fc-body .fc-scroller.fc-day-grid-container{
  margin-top: 1px;
  overflow-y: hidden!important;
}

/*sideBar calendarWidget*/
#block-unideb-unideb-events-block #calendarWidget .fc-miniMonth-view .fc-other-month,
.fc-row .fc-content-skeleton td, .fc-row .fc-helper-skeleton td{
  background: white;
}

.front #block-unideb-unideb-events-block #calendarWidget .fc-miniMonth-view .fc-other-month,
.fc-row .fc-content-skeleton td, .fc-row .fc-helper-skeleton td{
  background: transparent;
}

#block-unideb-unideb-events-block .fc-unthemed th, 
#block-unideb-unideb-events-block .fc-unthemed td, .fc-unthemed thead, 
#block-unideb-unideb-events-block .fc-unthemed tbody, 
#block-unideb-unideb-events-block .fc-unthemed .fc-divider, 
#block-unideb-unideb-events-block .fc-unthemed .fc-row,
#block-unideb-unideb-events-block .fc-unthemed .fc-content,
#block-unideb-unideb-events-block .fc-unthemed .fc-popover, 
#block-unideb-unideb-events-block .fc-unthemed .fc-list-view, 
#block-unideb-unideb-events-block .fc-unthemed .fc-list-heading td{
  border-color: #fff;
}


.fc-unthemed th, .fc-unthemed td, .fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed .fc-divider, .fc-unthemed .fc-row, .fc-unthemed .fc-content, .fc-unthemed .fc-popover, .fc-unthemed .fc-list-view, .fc-unthemed .fc-list-heading td{
  border-color: #fff;
}
#sidebar-right #calendarWidget .fc-miniMonth-view .fc-other-month{
  background-color: white;
}

#sidebar-right .fc-unthemed th, 
#sidebar-right .fc-unthemed td, 
#sidebar-right .fc-unthemed thead, 
#sidebar-right .fc-unthemed tbody, 
#sidebar-right .fc-unthemed .fc-divider, 
#sidebar-right .fc-unthemed .fc-row, 
#sidebar-right .fc-unthemed .fc-content, 
#sidebar-right .fc-unthemed .fc-popover, 
#sidebar-right .fc-unthemed .fc-list-view, 
#sidebar-right .fc-unthemed .fc-list-heading td{
  background-color: white;
}

#calendarWidget .fc-miniMonth-view .fc-row .fc-content-skeleton td,
#calendarWidget .fc-miniMonth-view .fc-row .fc-helper-skeleton td {
  border-color: white;
}

#sidebar-right #calendarWidget .fc-row .fc-day-header{
  height: 37px;
}
@media (max-width: 768px){
  .fc-year-main-table tr>.fc-year-month-border,
  .fc-year-main-table tr>.fc-year-month-separator,
  .fc-year-main-table tr>.fc-month-view{
    display: block;
  }
  #calendar .fc-toolbar .fc-button-group{
    top: -175px;
    left: 0;
    
  }
  #calendar .fc-toolbar .fc-button-group .fc-state-default, #calendar .fc-toolbar .fc-button-group .fc-state-default:hover{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-right: 0;
  }

  #calendar .fc-toolbar .fc-button-group button{
    width: 100%;
    margin-bottom: 5px;
  }
  #calendar .fc-toolbar{
    margin-top: 155px;
  }
}