html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/*
    Karta logowania
*/

div.login-logout-tab div.card-header {
    padding: 0px 0px 12px 0px;
    text-align: center;
}

div.login-logout-tab ul.nav-tabs {
    margin: 0px 0px -12px 0px;
    text-align: center;
}

div.login-logout-tab li.nav-items {
    width: 100%;
}

div.login-logout-tab a.nav-link {
    font-size: 25px;
    color: #495057;
    text-align: center;
}

div.card-content {
    padding: 10px 20px;
}

/*
    Custom buttons (a tag)
*/

.custom-button-1 {
    display: inline-block;
    width: 100%;
    background: white;
    padding: 2px;
    text-align: center;
    border-radius: 5px;
    border-color: #6495ED;
    border-style: solid;
    border-width: 2px;
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.custom-button-2 {
    display: inline-block;
    width: 100%;
    background: #6495ED;
    padding: 2px;
    text-align: center;
    border-radius: 5px;
    border-color: #6495ED;
    border-style: solid;
    border-width: 2px;
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.custom-button-2:hover {
    color: white;
}

.custom-button-3 {
    display: inline-block;
    width: 100%;
    background-color: lightgray;
    padding: 2px;
    text-align: center;
    border-radius: 5px;
    border-color: darkgray;
    border-style: solid;
    border-width: 2px;
    color: gray;
    font-weight: bold;
    text-decoration: none;
    pointer-events: none;
}

.custom-button-3:hover {
    color: gray;
}

.custom-button-4 {
    display: inline-block;
    width: 100%;
    background-color: #c62828;
    padding: 2px;
    text-align: center;
    border-radius: 5px;
    border-color: red;
    border-style: solid;
    border-width: 2px;
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.custom-button-4:hover {
    color: white;
}

.custom-button-5 {
    display: inline-block;
    width: 100%;
    height: 100%;
    background: #0d6efd;
    padding: 0px;
    text-align: center;
    border-radius: 10px;
    border-color: #0d6efd;
    border-style: solid;
    border-width: 2px;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.custom-container-1 {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.custom-button-5:hover {
    background-color: #0a58ca;
    color: white;
}

.custom-plus-button-1 {
    border: 2px solid #0d6efd;
    border-radius: 999px;
    height: 25px;
    width: 25px;
    background-color: white;
    color: #0d6efd;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.custom-expand-button-1 {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #5de6de;
    background-image: linear-gradient(315deg, #cce5f0 0%, #dddcdd 74%);
    border: none;
    border-radius: 50%;
    transition: 200ms;
}

.custom-expand-button-1 svg {
	fill: darkgray;
	width: 15px;
	height: 15px;
	position: absolute;
	transform: translateX(-50%) translateY(-50%);
}

.custom-expand-button-1:before {
	position: absolute;
	transform: translateX(-50%) translateY(45px);
	font-size: 15px;
	transition: 200ms;
	color: transparent;
	font-weight: bold;
}

.custom-expand-button-1:hover {
	box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.custom-expand-button-1:hover::before {
	color: #fff;
}

.custom-expand-button-1:hover svg {
    /* animation: bounce 2s infinite linear; */
    transform: translate(-50%, -48%) rotate(180deg); 
}

.active svg {
    transform: translate(-50%, -48%) rotate(180deg);
}

.active:hover svg {
    transform: translate(-50%, -50%) rotate(0deg);
}

@keyframes bounce {
	0% {transform: translateX(-50%) translateY(-50%)}
	25% {transform: translateX(-50%) translateY(-65%)}
	50% {transform: translateX(-50%) translateY(-50%)}
	75% {transform: translateX(-50%) translateY(-35%)}
	100% {transform: translateX(-50%) translateY(-50%)}
}

.custom-expand-button-1:focus {
	outline: none;
}

/*
    Custom Collapsible Year/Month Buttons
*/

.custom-collapsible-button-1 {
    display: flex;
    flex-direction: row;
    justify-content: left;
    margin-bottom: 0;
    flex-wrap: wrap;
    padding: 5px;
    background: #DCDCDC;
}

.collapsible-year {
    order: 1;
    width: 90px;
    margin: 5px;
    padding: 10px;
    border: 2px solid #6d99e8;
    background-color: white;
    font-weight: bold;
    color: black;
}

.collapsible-year.active {
    background-color: #82abf5;
    color: white;
}

.btn-year {
    display: none;
    flex-direction: row;
    justify-content: left;
    padding-top: 10px;
    margin-bottom: 15px;
    margin-left: 0px;
    order: 2;
    flex: 0 0 100%;
}

.collapsible-month {
    margin-left: 5px;
    margin-right: 5px;
    width: 90px;
    border: 2px solid #6d99e8;
    background-color: white;
    font-weight: bold;
    color: black;
}

.collapsible-month.active {
    background-color: #82abf5;
    color: white;
}

/*
    Custom list (li item)
*/

.custom-list-item-1 {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #E8E8E8;
}

.custom-list-item-2 {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #F0F0F0;
}

/*
    Calendar
*/

.calendar {
    width: 100%;
    text-align: center;
}

.calendar-month {
    background-color: #509af5;
    width: 100%;
    text-align: center;
    padding: 25px 25px 15px 5px;
}

.calendar-month ul {
    list-style-type: none;
}

.calendar-month ul li {
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.calendar-month .prev {
    float: left;
    padding-top: 10px;
}

.calendar-month .next {
    float: right;
    padding-top: 10px;
}

.calendar-header {
    margin: 0 auto;
    padding: 10px 0;
    background-color: #ddd;
}

.calendar-header ul {
    list-style-type: none;
    display: flex;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
}

.calendar-header li {
    width: 14%;
    font-size: 18px;
    text-align: center;
    color: #666;
}

.calendar-days {
    padding: 10px 0;
    background: #eee;
    margin: 0 auto;
}

.calendar-days ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: 15px;
}

.calendar-days li {
    width: 14%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction:column;
    font-size: 12px;
    list-style-type: none;
    color: #777;
    height: 45px;
}

.calendar-days li:hover {

    -webkit-filter: brightness(.5);
   filter: brightness(.5);
   font-weight: bold;
   transition: 0.6s;
}

.calendar-tooltip {
    text-decoration: none;
    color: black;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    font-size: 18px;
    padding: 0;
}

.calendar-tooltip .calendar-tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.calendar-tooltip:hover .calendar-tooltiptext {
    visibility: visible;
}

/*
    Custom Marks
*/

.alertMark {
    border: 2px solid red;
    width: 20px;
    height: 20px;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 5px;
    margin-top: 2px;
    color: #c62828;
    font-weight: bold;
}

/*
    Custom Layouts
*/

.allPage {
    width: 100%;
    margin: 0 auto;
}

.flexLayout-columns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flexLayout-rows {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.course {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    max-width: 100%;
    margin: 20px;
    overflow: hidden;
    width: 700px;
}

.course h6 {
    opacity: 0.6;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.course h2 {
    letter-spacing: 1px;
    margin: 10px 0;
}

.course-preview {
    background-color: #2A265F;
    color: #fff;
    padding: 30px;
    max-width: 250px;
}

.course-preview a {
    color: #fff;
    display: inline-block;
    font-size: 12px;
    opacity: 0.6;
    margin-top: 30px;
    text-decoration: none;
}

.course-info {
    padding: 30px;
    position: relative;
    width: 100%;
}

.btnAccept {
    background-color: #2A265F;
    border: 0;
    border-radius: 50px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 16px;
    padding: 12px 25px;
    bottom: 30px;
    right: 30px;
    letter-spacing: 1px;
}