.calendar a {
    text-decoration: none;
}

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

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

.calendar img {
    height: auto;
    max-height: 250px;
    max-width: 90%;
}


.calendar 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;
}

.calendar header {
    position: relative;
}

.calendar h2 {
    text-transform: uppercase;
}

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

.calendar tbody {
    color: #000;
}

.calendar tbody td:hover {
    border: 2px solid #ffba00;
}

.calendar tbody td.active {
    border: 2px solid #ffba00;
}

.calendar tr {
    width: 505px;
    display: block;
    margin: auto;
}

.calendar td {
    border: 2px solid transparent;
    float: left;
    border-radius: 50%;
    display: inline-block;
    height: 64px;
    line-height: 64px;
    text-align: center;
    width: 64px;
}

.current-day {
    background: #ffba00;
    color: #f9f9f9;
    font-weight: 700;
}

.event {
    cursor: pointer;
    position: relative;
    color: #a94442;
    background-color: #f2dede;
    font-weight: 700;
}


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

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

.btn-prev:hover,
.btn-next:hover {
    background: #000;
    color: #fff !important;
    text-decoration: none;
}

.btn-prev {
    left: 30px;
}

.btn-next {
    right: 35px;
}

.list {
    margin-top: 20px;
}

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

.day-event {
    background-color: rgba(242, 242, 242, 0.7);
    width: 100%;
    padding-top: 20px;
    padding-bottom: 0px;
    display:none;

}

.day-event h2 {
    margin-bottom: 15px;
}

.day-event p {
    padding-bottom: 1px;
}

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

input[type=checkbox] {display:none;}

.calendar span {
    background-color:#373740;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    font-weight:700;
    color:#FFF;
    font-size:.85em;
    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;
}

.calendar span:hover {
    background-color:#c0392b;
}

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

    .calendar h2 {
        font-size: 16px;
    }

    .calendar td {
        border: 2px solid transparent;
        border-radius: 50%;
        display: inline-block;
        height: 25px;
        line-height: 25px;
        text-align: center;
        font-size: 9px;
        width: 25px;
    }

    .event:after {
        bottom: 5px;
        height: 4px;
        width: 4px;
        margin: -2px 0 0 -2px;
    }

    .btn-prev,
    .btn-next {
    	height: 20px;
    	width: 20px;
        line-height: 20px;
        margin: -10px;
    }

    .day-event {
        background-color: rgba(242, 242, 242, 1);
    }

}

/* 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 */
}
