.calendar {
	background: #2b4450;
	border-radius: 4px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, .3);
	height: 198px;
  perspective: 1000;
	transition: .9s;
	transform-style: preserve-3d;
	width: 94%;
	margin-left: 15px;
}

/* Front - Calendar */
.front {
	transform: rotateY(0deg);
}

.current-date {
	border-bottom: 1px solid rgba(73, 114, 133, .6);
	display: flex;
	justify-content: space-between;
	padding: 0px 29%;
	text-align: center;
	font-family: 'Open Sans',arial, sans-serif;
	font-size:0.8em;
	width: 100%;
	margin-top: 0px;
	color: #fff;
}

.current-date h1 {
	
	font-size: 0.8em;
	font-weight: 300;

}

.week-days {
	color: #dfebed;
	display: flex;
	justify-content: space-between;
	font-weight: normal;
	padding: -2px 0px;
	font-family: 'Open Sans',arial, sans-serif;
	font-size:0.8em;
}

.days {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.weeks {
	color: #fff;
	display: flex;
	flex-direction: column;
	padding: 0 0px;
}

.weeks div {
	display: flex;
	font-size: 0.7em;
	font-weight: 300;
	justify-content: space-between;
	margin-bottom: -15px;
	width: 100%;
	font-family: 'Open Sans',arial, sans-serif;
	margin-top: 1px;


}

.last-month {
	opacity: .3;
}

.weeks span {
	padding: 0px 7px;
	margin-top: 0.4em;
}

.weeks span.active {
	background-color: transparent;
	border-radius: 0%;
	border:solid 0px #eee;
}

.weeks span:not(.last-month):hover {
	cursor: pointer;
	font-weight: 600;
}

.event {
	position: relative;
}

.event:after {
	content: '•';
	color: #f78536;
	font-size: 0.8em;
	position: absolute;
	right: -4px;
	top: -4px;
}

/* Back - Event form */

.back {
	height: 100%;
	transform: rotateY(180deg);
}

.back input {
	background: none;
	border: none;
	border-bottom: 1px solid rgba(73, 114, 133, .6);
	color: #dfebed;
	font-size: 0.8em;
	font-weight: 300;
	padding: 30px 40px;
	width: 100%;
}

.info {
	color: #dfebed;
	display: flex;
	flex-direction: column;
	font-weight: 600;
	font-size: 0.8em;
	padding: 30px 40px;
}

.info div:not(.observations) {
	margin-bottom: 40px;
}

.info span {
	font-weight: 300;
}

.info .date {
	display: flex;
	justify-content: space-between;
}

.info .date p {
	width: 50%;
}

.info .address p {
	width: 100%;
}

.actions {
	bottom: 0;
	border-top: 1px solid rgba(73, 114, 133, .6);
	display: flex;
	justify-content: space-between;
	position: absolute;
	width: 100%;
}

.actions button {
	background: none;
	border: 0;
	color: #fff;
	font-weight: 600;
	letter-spacing: 3px;
	margin: 0;
	padding: 30px 0;
	text-transform: uppercase;
	width: 50%;
}

.actions button:first-of-type {
	border-right: 1px solid rgba(73, 114, 133, .6);
}

.actions button:hover {
	background: #497285;
	cursor: pointer;
}

.actions button:active {
	background: #5889a0;
	outline: none;
}

/* Flip animation */

.flip {
	transform: rotateY(180deg);
}

.front, .back {
	backface-visibility: hidden;
}


.active a
{
	color: #f78536; 
	border: solid 1px #385969; 
	padding: 2px 3px; 
	margin-bottom: 10px;
}
.event1 a
{
	color: #fff; 
	border: solid 1px #385969; 
	padding: 2px 3px; 
	margin-bottom: 10px;
}


/* Style the tab */
.tab {
  float: left;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  width: 20%;
  height: auto;
}

/* Style the buttons inside the tab */
.tab button {
  display: block;
  background-color: inherit;
  color: black;
  padding: 10px 10px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.8em;
  font-family: 'Open Sans',arial, sans-serif;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current "tab button" class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  float: left;
  padding: 0px 12px;
  border: 1px solid #ccc;
  width: 70%;
  border-left: none;
  height: auto;
}



.calendar_inner {
	
	border-radius: 4px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, .3);
	height: 350px;
  perspective: 1000;
	transition: .9s;
	transform-style: preserve-3d;
	width: 100%;
}

/* Front - Calendar */
.front_inner {
	transform: rotateY(0deg);
}

.current-date_inner {
	border-bottom: 1px solid rgba(73, 114, 133, .6);
	justify-content: space-between;
	text-align: center;
	font-family: 'Open Sans',arial, sans-serif;
	font-size:1.2em;
	width: 100%;
	color: #000;
	padding: 15px;
}

.current-date_inner h1 {
	
	font-size: 0.8em;
	font-weight: 300;

}

.week-days_inner {
	color: #000;
	display: flex;
	justify-content: space-between;
	font-weight: normal;
	padding: 0px 12px;
	font-family: 'Open Sans',arial, sans-serif;
	font-size:0.8em;
}

.days_inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.weeks_inner {
	color: #000;
	display: flex;
	flex-direction: column;
	padding: 0 0px;
}

.weeks_inner div {
	display: flex;
	font-size: 0.7em;
	font-weight: 300;
	justify-content: space-between;
	margin-bottom: 0px;
	width: 100%;
	font-family: 'Open Sans',arial, sans-serif;
	margin-top: 5px;


}

.last-month_inner {
	opacity: .3;
}

.weeks_inner span {
	padding: 0px 7px;
	margin-top: 0.4em;
}

.weeks_inner span.active {
	background-color: transparent;
	border-radius: 0%;
	border:solid 0px #eee;
}

.weeks_inner span:not(.last-month):hover {
	cursor: pointer;
	font-weight: 600;
}

.event_inner {
	position: relative;
}

.event_inner:after {
	content: '•';
	color: #f78536;
	font-size: 0.8em;
	position: absolute;
	right: -4px;
	top: -4px;
}

/* Back - Event form */

.back_inner {
	height: 100%;
	transform: rotateY(180deg);
}

.back_inner input {
	background: none;
	border: none;
	border-bottom: 1px solid rgba(73, 114, 133, .6);
	color: #dfebed;
	font-size: 0.8em;
	font-weight: 300;
	padding: 30px 40px;
	width: 100%;
}

.info_inner {
	color: #dfebed;
	display: flex;
	flex-direction: column;
	font-weight: 600;
	font-size: 0.8em;
	padding: 30px 40px;
}

.info_inner div:not(.observations) {
	margin-bottom: 40px;
}

.info_inner span {
	font-weight: 300;
}

.info_inner .date_inner {
	display: flex;
	justify-content: space-between;
}

.info_inner .date_inner p {
	width: 50%;
}

.info_inner .address_inner p {
	width: 100%;
}

.actions_inner {
	bottom: 0;
	border-top: 1px solid rgba(73, 114, 133, .6);
	display: flex;
	justify-content: space-between;
	position: absolute;
	width: 100%;
}

.actions_inner button {
	background: none;
	border: 0;
	color: #fff;
	font-weight: 600;
	letter-spacing: 3px;
	margin: 0;
	padding: 30px 0;
	text-transform: uppercase;
	width: 50%;
}

.actions_inner button:first-of-type {
	border-right: 1px solid rgba(73, 114, 133, .6);
}

.actions_inner button:hover {
	background: #497285;
	cursor: pointer;
}

.actions_inner button:active {
	background: #5889a0;
	outline: none;
}

/* Flip animation */

.flip_inner {
	transform: rotateY(180deg);
}

.front_inner, .back_inner {
	backface-visibility: hidden;
}


.active_inner a
{
	background-color: #8773c1;
	color: #fff;
border: solid 0px #385969;
padding: 7px 8px;
margin-bottom: 0px;
border-radius: 100%;
}
.event1_inner a
{
	color: #000;
border: solid 1px #eee
;
padding: 7px 8px;
margin-bottom: 0px;
border-radius: 100%;
}

@media all and (max-width : 768px) 
{
	.active_inner a
{
	background-color: #8773c1;
	color: #fff;
border: solid 0px #385969;
padding: 4px 4px;
margin-bottom: 0px;
border-radius: 100%;
}
.event1_inner a
{
	color: #000;
border: solid 1px #eee;
padding: 4px 4px;
margin-bottom: 0px;
border-radius: 100%;
}
}