*[class*="fontawesome-"]:before {
    font-family: 'FontAwesome', sans-serif;
}

body {
    background: #f9f9f9;
    color: #0e171c;
    font: 300 100%/1.5em 'Lato', sans-serif;
    margin: 0;
}

a {
    text-decoration: none;
}

h2 {
    font-size: 22px;
    line-height: 20px;
    margin: 4px 0;
}

h3 {
    font-size: 24px;
    line-height: 24px;
    margin: 5px 0;
}

table {
    border-spacing: 0;
    width: 100%;
}

.calendar-container {
    height: 538px;
    left: 50%;
    margin: -255px 0 0 -245px;
    position: absolute;
    top: 45%;
    width: 510px;
}

.calendar {
    text-align: center;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px black;
    margin-bottom: 50px;
}

.calendar header {
    position: relative;
}

.calendar h2 {
    text-transform: uppercase;
}

.calendar thead {
    font-weight: 600;
    text-transform: uppercase;
}

.calendar tbody {
    color: #7c8a95;
}

.calendar c_td {
    border: 1px solid #7f7f7f;
    height: 72px;
    width: 72px;
    line-height: 64px;
    text-align: center;
    float: left;
    margin-left: -1px;
    margin-top: -1px;
    background: #f9f9f9;
}

.event-days c_td {
	font-size: 2em;
}

.calendar c_da {
	font-family: 'Ubuntu', serif;
	position: absolute;
	border: 1px solid #cfcfcf;
	border-radius: 50%;
	height: 24px;
	width: 24px;
	font-size: 12px;
	text-align: center;
	background: #F9F9F9;
	display: block;
	margin: 24px;
	z-index: 20;
	line-height: 22px;
	overflow: hidden;
	color: #7f7f7f;
}

c_type_1 {
	display: block;
	height: 35px;
	width: 35px;
	border-bottom: 1px solid #cfcfcf;
	border-right: 1px solid #cfcfcf;
	float: left;
	padding: 8px;
}

c_type_2 {
	display: block;
	height: 35px;
	width: 35px;
	float: left;
	border-bottom: 1px solid #cfcfcf;
	padding: 8px;
}

c_type_3 {
	display: block;
	height: 35px;
	width: 35px;
	border-right: 1px solid #cfcfcf;
	padding: 8px;
	float: left;
}

c_type_4 {
	display: block;
	height: 35px;
	width: 35px;
	float: left;
	padding: 8px;
}

.calendar tbody c_td:hover,
.calendar tbody c_td.active_td {
    box-shadow: 0 0 0 2px #ec008c;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.current-day c_da {
    background: black;
    color: #f9f9f9;
    border: 1px solid black;
}

.event.t1 > c_type_1::after {
	content: "B";
	display: inline-block;
	height: 25px;
	width: 25px;
	margin: -5px;
	line-height: 25px;
	font-size: 200%;
	color: white;
	border-radius: 50%;
	background: #c5901c;
}

.event.t3 > c_type_3::after {
	content: "G";
	display: inline-block;
	height: 25px;
	width: 25px;
	margin: -2px;
	line-height: 25px;
	font-size: 200%;
	color: white;
	border-radius: 50%;
	background: #d9b309;
}

.event.t2 > c_type_2::after {
	content: "S";
	display: inline-block;
	height: 25px;
	width: 25px;
	margin: -5px;
	line-height: 25px;
	font-size: 200%;
	color: white;
	border-radius: 50%;
	background: silver;
}

.event.t4 > c_type_4::after {
	content: "P";
	display: inline-block;
	height: 25px;
	width: 25px;
	margin: -2px;
	line-height: 25px;
	font-size: 200%;
	color: white;
	border-radius: 50%;
	background: #ec008c;
}

.event.current-day:after {
    background: #f9f9f9;
}

.btn-prev,
.btn-next {
	border: 2px solid #cbd1d2;
	border-radius: 50%;
	color: #cbd1d2;
	height: 32px;
	font-size: 22px;
	line-height: 28px;
	margin: -16px;
	position: absolute;
	top: 50%;
	width: 32px;
}

.btn-prev:hover,
.btn-next:hover {
    background: #cbd1d2;
    color: #f9f9f9;
}

.btn-prev {
    left: 30px;
}

.btn-next {
    right: 35px;
}

.list {
	font-family:'PT Sans', sans-serif;
    background: #f9f9f9;
    color: black;
    padding: 0 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px black;
}

.person-list {
	font-family:'PT Sans', sans-serif;
	background: #f9f9f9;
	color: black;
	padding: 10px;
	border-radius: 10px;
	box-shadow: 0px 0px 20px black;
}

.close {
    color: #A4AAAB;
    margin-top: -15px;
    margin-right: 10px;
    float: right;
}

.day-event {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 0px;
    margin-bottom: 50px;
    display:none;

}

.day-event p,
.day p {
	font-family: 'Corbel', serif;
    padding-left: 20px;
    padding-right: 20px;
}

.day-event .title,
.day .title {
	text-transform: uppercase;
}

.day-event span{
    font-size: 12px;
}

.day-event button {
    position: relative;
    vertical-align: top;
    width: 100%;
    height: 50px;
    padding: 0;
    font-size: 18px;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #c0392b;
    border: 0;
    border-bottom: 2px solid #b53224;
    cursor: pointer;
    -webkit-box-shadow: inset 0 -2px #b53224;
    box-shadow: inset 0 -2px #b53224;
}

.check-btn {
    width: 100%;
}

.person-list span,
.list span {
    background-color:#f9f9f9;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    font-weight:700;
    color: white;
    font-size:2em;
    text-transform: uppercase;
    letter-spacing:2px;
    text-decoration:none;
    font-family:'PT Sans', sans-serif;
    text-align:center;
    width:100%;
    height:50px;
    line-height:50px;
    cursor:pointer;
    display:block;
    margin: 0 auto;
    -webkit-transition:background-color 150ms ease-in;
    -moz-transition:background-color 150ms ease-in;
    -ms-transition:background-color 150ms ease-in;
    -o-transition:background-color 150ms ease-in;
    transition:background-color 150ms ease-in;
}

.person-list span.bronze,
.list span.bronze {
	background: #ae5e23;
	color: white;
}

.person-list span.silver,
.list span.silver {
	background: black;
	color: white;
}

.person-list span.gold,
.list span.gold {
	background: gold;
	color: white;
}

.person-list span.platinum,
.list span.platinum {
	background: #ec008c;
	color: white;
}

.person-list span:hover,
.list span:hover {
    background-color:#ec008c;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* STYLES GO HERE */
}

/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
/* STYLES GO HERE */
}

/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
/* STYLES GO HERE */
}

/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
/* STYLES GO HERE */
}

/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
/* STYLES GO HERE */
}

/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
/* STYLES GO HERE */
}

/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
/* STYLES GO HERE */
}

/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
/* STYLES GO HERE */
}

/* iPhone 5 (portrait & landscape)----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) {
/* STYLES GO HERE */
}

/* iPhone 5 (landscape)----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : landscape) {
/* STYLES GO HERE */
}

/* iPhone 5 (portrait)----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : portrait) {
/* STYLES GO HERE */
}