


/*Calender category color*/

.calender-section{
	width: 100%;
    display: inline-block;
}

ul.event_category_color_listing {
	padding:5px 0px;
	margin:0px;
	border-top:1px solid #fc4349;
}
.container-inner .fluid-block.events-block ul.event_category_color_listing{
	border-bottom:1px solid #fc4349;
}
ul.event_category_color_listing li {
	list-style:none;
	display:inline-block;
	margin-right: 17px;
	margin-bottom:0px;
}
ul.event_category_color_listing li > a span {
	width: 13px;
    height: 13px;
    float: left;
    display: inline-block;
    margin-right: 7px;
    border-radius: 50px;
    margin-top: 5px;
}
ul.event_category_color_listing li > a {
	color:#004056;
	font-size:15px;
	font-weight:700;
	text-decoration:none;
	font-family: 'aileronregular';
}
ul.event_category_color_listing li > a:hover,
ul.event_category_color_listing li > a:focus{
	text-decoration:none;
}
ul.event_category_color_listing li.centr-events > a span,
ul.event_category_color_listing li.centr-event > a span{
	background:#fc4349;
}
ul.event_category_color_listing li.industry-events > a span {
	background: #137494;
}
ul.event_category_color_listing li.members-events > a span,
ul.event_category_color_listing li.external-event > a span{
	    background: #00394c;
}

/*MY Calender*/
form#calendar_form{
	width:100%;
	/*padding:15px 40px 40px 40px;*/
	display:inline-block;
}
.custom_calendar_container {
	width:100%;
	/*padding:30px;*/
	display:inline-block;
	/*background-color:#4d5967;*/
    border-radius:0px;
	position:relative;
}

table.custom_calendar{
	width:100%;
	padding:0px;
	/*margin-bottom:10px;
	background-color:#9fdfca;*/
}
/*table.custom_calendar tr:first-child{
	background:#7bad7c;
}
table.custom_calendar tr.week_titles {
	background-color:#7bad7c;
}*/
table.custom_calendar tr.week_titles{
	border-bottom:1px solid #fc4349;
}
table.custom_calendar tr.week_titles td {
	color: #2c3e50;
    font-size:14px;
    height: auto;
	padding-top:10px !important;
    padding-bottom:5px !important;
}
.custom_calendar td{
	text-align:center;
	vertical-align:middle;
	border:none;
	padding:3px 5px!important;
}
table.custom_calendar tr td{
	font-size:14px;
	border-left:none;
	height:30px;
	width:60px;
	/*position:relative;*/
	color:#2c3e50;
	font-family: 'aileronregular';
	font-weight:100;
	line-height:normal!important;
}
table.custom_calendar tr td.calendar_month_year {
	font-size:30px;
	color:#2c3e50;
	line-height: 30px!important;
	border:none;
	font-family: 'source_sans_prolight';
	width:360px\9; /* IE6, IE7, IE8, IE9 */
}
table.custom_calendar tr td.calendar_month_year.second_month {
	padding-top:15px !important;
}
table.custom_calendar tr td.calendar_month_year > span{
	width:100%;
	font-weight:700;
	font-size:16px;
	display: inline-block;
	line-height: 100%;
	font-family: 'aileronregular';
}
.custom_calendar .prev{
	width:60px;
	width:60px\9; /* IE6, IE7, IE8, IE9 */
	height:20px;
	right:20px;
	left:auto;	
	border-radius: 4px 0px 0px 0px;
	/*background:#7bad7c;*/
	border:none;
	position:relative;
	text-align: left;
}
.custom_calendar .prev a{
    height: 24px;
    width: 24px;
    display: inline-block;
	position: absolute;
    bottom: 5px;
    left: 20px;
	background: url(../images/cal-arrows.png) no-repeat center 2px;
}
.custom_calendar .next{
	width:60px;
	height:20px;
	left:20px;
	right:auto;
	/*background:#7bad7c;*/
	border:none;
	text-align: right;
	position:relative;
	border-radius:0px 4px 0px 0px;
}
.custom_calendar .next a{
	height: 24px;
    width: 24px;
    display: inline-block;
	position: absolute;
    bottom: 5px;
    right: 20px;
	background: url(../images/cal-arrows.png) no-repeat center -23px;
}
table.custom_calendar > tbody > tr:nth-child(3) > td {
	padding-top:15px !important;
}
.custom_calendar tr > td:nth-child(6), .custom_calendar tr > td:nth-child(7) {
	color:#2c3e50;
}
.container-inner .fluid-block.events-block .custom_calendar tr:last-child > td{
	padding-bottom:15px !important;
}

.custom_calendar tr td > a.more{
    color: #fff!important;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    width:28px;
    height:28px;
	padding: 7px 6px 8px 8px;
    padding-left: 6px;
    vertical-align: middle;
    border-radius: 50px;
    line-height:15px;
	cursor:pointer;
}
.custom_calendar tr td.today .today_circle {
	display: inline-block;
    text-align: center;
    text-decoration: none;
	width: 28px;
    height: 28px;
	padding:3px 5px;
    padding-left: 5px;
    vertical-align: middle;
    border-radius: 50px;
	color:#2c3e50!important;
	border:2px solid #fc4349;
}
.custom_calendar tr td.centr-events > a.more,
.custom_calendar tr td.centr-event > a.more{
	background:#fc4349;
}
.custom_calendar tr td.industry-events > a.more{
	background: #137494;
}
.custom_calendar tr td.members-events > a.more,
.custom_calendar tr td.external-event > a.more{
	background: #00394c;
}
.custom_calendar tr td.today {
	color:#ed7800;
}
.custom_calendar tr td.today > a.more {
	padding:0px;
}
.custom_calendar tr td.today > a.more .today_circle {
	color:#FFFFFF !important;
	padding-top: 5px;
    padding-left: 5px;
	/*border: 2px solid #6a747c;*/
}
.custom_calendar tr td.cal_next_month, .custom_calendar tr td.cal_prev_month {
	color:#a6acb3;
}
.calendar_event_list {
   	width: 100%;
    z-index: 9;
    text-align: left;
    background-color: #FFFFFF;
	border-radius: 10px;
}

.event_popup_listing:before {
	content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: -8px;
	background-color:#cd5094;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}
.event_popup_listing.industry-events:before {
	background-color:#137494;
}
.event_popup_listing.members-events:before,
.event_popup_listing.external-event:before{
	background-color:#00394c;
}
.calendar_event_details {
	width:100%;
	float: left;
	display:inline-block;
}
.calendar_event_details:last-child {
	margin-bottom:0px !important;
	
}
.event_content_details {
    width:100%;
	min-height:85px;
	float: left;
    /*padding: 20px;*/
	padding-right:10px;
	font-size:16px;
	color:#FFFFFF;
	display: inline-block;
	padding:15px 20px 15px 15px;
	border-bottom: 1px solid white;
}
.event_content_details:last-child {
	border-bottom:0px;
}
.category_color.regulatory {
	background-color:#006ab2;
}
.category_color.internal {
	background-color:#006ab2;
}
.category_color.party{
	background-color:#94c33e;
}
.cal_event_date{
	font-weight:100;
	font-family: 'aileronregular';
}
.cal_event_title, .cal_event_date,
.cal_event_where, .cal_event_who,
.cal_event_venue {
	float: left;
    width: 100%;
	font-size:13px;
	margin-right:18px;
	line-height: 15px;
    display: inline-block;
}
.cal_event_where, .cal_event_venue{
	padding-left: 0px!important;
	font-family: 'aileronregular';
	background: none!important;
}
.cal_event_who {
	padding-left: 18px;
	font-family: 'aileronregular';
	background: url(../images/user.png) no-repeat 0px 2px;
	margin:0px;
}
.block-events .custom_calendar .events .cal_event_where, .block-events .custom_calendar .events .cal_event_venue{
	background: url(../images/location-dark.png) no-repeat 0px 2px;
}
.cal_event_title {
	font-weight:100;
	display:block;
	margin:0px;
	width:100%;
	line-height:15px;
	font-size:15px;
	margin-bottom:5px;
	font-family: 'aileronbold';
	padding-right:4px;
}
.cal_event_title a {
	text-decoration: none;
	color: #FFFFFF!important;
}
.event_content_details a.view_more  {
	float:left;
	display:inline-block;
    clear: both;
	font-size:16px;
	cursor:pointer;
	color:#FFFFFF;
}
.event_content_details p{
	color:#2c3e50;
	font-size:16px;
	font-weight:100;
	line-height:20px;
	margin-bottom:0px;
	font-family: 'aileronregular';
}
/*.calendar_event_list_scroll {
	float:left;
	max-height:125px;
}*/
.event_popup_listing {
	width: 230px;
	float: left;
	max-height:165px;
	margin-top: 30px;
	margin-bottom: 20px;
	position:absolute;
	z-index:9;
	top:12px;
	left:-100px;
	margin:auto;
	background-color:#cd5094;
	/*padding:15px 10px 15px 15px;
	background-color:#e17204;
	border-radius: 8px;*/
}

/*COLOR THEME*/
.member-event .event_popup_listing:before{
	background:#e64135;
}
.member-event .event_popup_listing {
	background:#e64135;
}
.events .event_popup_listing:before,
.online-event .event_popup_listing:before{
	background:#431b3d;
}
.events .event_popup_listing,
.online-event .event_popup_listing{
	background:#431b3d;
}
.events .event_popup_listing *, .events .event_popup_listing a.view_more{
	color:#ffffff!important;
	border-color:#ffffff;
}

.custom_calendar tr > td:first-child .event_popup_listing{
	left:-33px;
}
.custom_calendar tr > td:first-child .event_popup_listing::before{
	left:17.5%;
	right:auto;
}

.custom_calendar tr > td:last-child .event_popup_listing,
.custom_calendar tr > td:nth-child(6n) .event_popup_listing{
	left:-172px;
}
.custom_calendar tr > td:last-child .event_popup_listing::before,
.custom_calendar tr > td:nth-child(6n) .event_popup_listing::before{
	right:15%;
	left:auto;
}
.event_popup_wrap{
	position:relative;
	display:block;
	width:30px;
	margin:auto;
}
table.custom_calendar tr td{
	position:relative;
}
.calendar_event_list_scroll{
	float:left;
	width:100%;
	max-height:300;
	height:auto;
}
.event_popup_listing{
	border-radius: 4px;
}
.centr-events .event_popup_listing, .centr-events .event_popup_listing::before{
	background-color:#fc4349!important;
}
.industry-events .event_popup_listing, .industry-events .event_popup_listing::before{
	background-color:#137494!important;
}
.members-events .event_popup_listing, .members-events .event_popup_listing::before,
.external-event .event_popup_listing, .external-event .event_popup_listing::before{
	background-color:#00394c!important;
}
.popup_close{
	width:16px;
	height:16px;
	position:absolute;
	background:url(../images/close.png) no-repeat center;
	background-size:16px;
	top:6px;
	right:6px;
	cursor:pointer;
}
.block-events .custom_calendar .events  .popup_close{
	background-image:url(../images/close-dark.png);
}
.mCSB_scrollTools {
	right:4px !important;
	margin-top: 22px;
    margin-bottom: 10px;
}

.event_popup_listing .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
	width:6px;
	background-color: rgba(0,0,0,0.4) !important;
}
.event_popup_listing .mCSB_inside > .mCSB_container {
    margin-right:0px !important;
}
.event_popup_listing > .mCustomScrollBox {
	/*border-radius: 10px!important;*/
    overflow: hidden!important;
}
ul.event_category_color_listing li.centr-event.grey a,
ul.event_category_color_listing li.centr-events.grey a,
ul.event_category_color_listing li.industry-events.grey a,
ul.event_category_color_listing li.members-events.grey a{
	color: #a6acb3;
}
ul.event_category_color_listing li.centr-event.grey a span,
ul.event_category_color_listing li.centr-events.grey a span,
ul.event_category_color_listing li.industry-events.grey a span,
ul.event_category_color_listing li.members-events.grey a span{
	background: #a6acb3;
}
.event_content_details a.view_more{
	padding: 0px;
    border: solid 1px;
    border-width: 0px 0px 1px 0px;
    font-size: 13px!important;
    line-height: 13px;
    height: 16px;
    font-family: 'aileronregular';
	font-weight:100;
    text-transform:none;
    color: #FFFFFF!important;
    border-color: #FFFFFF;
    text-decoration: none!important;
    float: left;
    clear: left;
	margin-top:6px;
}

/*MY Calender End*/




/* # RESPONSIVE #
================================================== */

/* #Tablet [_]
--------------------------------------------------- */
@media only screen and (min-width: 960px) and (max-width: 1200px) {
	
	.custom_calendar tr > td:nth-child(5n) .event_popup_listing{
		left:-210px;
	}
	.custom_calendar tr > td:last-child .event_popup_listing{
		left:-275px;
	}
	.custom_calendar tr > td:nth-child(5n) .event_popup_listing::before{
		right: -41%;
	}
	.custom_calendar tr > td:last-child .event_popup_listing::before {
		right: 6%;
	}

}

/*IPAD  -  []
----------------------------------------------*/
@media only screen and (max-width: 959px) {
	.custom_calendar .prev{
		right: 0px;
	}
	.custom_calendar .prev a{
		left:-1px
	}
	.custom_calendar .next{
		left:0px;
	}
	.custom_calendar .next a{
		right:0px;
	}
	.custom_calendar tr > td:first-child .event_popup_listing{
		left:-37px;
	}
	.custom_calendar tr > td:first-child .event_popup_listing:before{
		left:-216px;
	}
}

/*IPHONE 5  -  [_]
-----------------------------------------------*/
@media only screen and (max-width : 667px) {

	.custom_calendar tr > td:nth-child(2n) .event_popup_listing{
		left:-118px;
	}
	.custom_calendar tr > td:nth-child(6n) .event_popup_listing{
		left:-173px;
	}
	.custom_calendar tr > td:nth-child(2n) .event_popup_listing::before{
		right:16%;
	}
	.custom_calendar tr > td:nth-child(6n) .event_popup_listing::before {
		right: 39%;
	}
}
