@media screen and (min-width:481px)  and (max-width:992px){
	
	
	.otxfullcalendar .otxcalendar-event-view-band {
		right:-81px!important;
	}
	
	 .otxfullcalendar .otxcalendar-event-view-band .otxcalendar-band-inner {
		margin-right:81px!important;
		padding-right:50px!important;
	}
	 .otxfullcalendar .otxcalendar-event-view-band .otxcalendar-band-close-btn {
		font-size:25px!important;
		
	}
	
}

@media screen and (max-width: 480px), screen and (max-width: 768px),screen and (max-width: 992px)  {
	
	.fc-header-left, .fc-header-center, .fc-header-right {
    	width: 100%!important;
   	 	display: block;
		clear:both;
	}
	
	.panel.calendar .fc-button{
		top:auto!important;
		border:1px solid #d6d6d6;
	}
	.panel.calendar .fc-header-right {
		text-align:left;
		padding-left:-20px;
		border-bottom:1px solid #d6d6d6;
		margin-bottom:10px;
	}
	
	
	.panel.calendar .fc-header-space {
		display:none;
	}
	.panel-danger.calendar .fc-button-prev, .panel-danger.calendar .fc-button-next,
	.panel-success.calendar .fc-button-prev, .panel-success.calendar .fc-button-next,
	.panel-warning.calendar .fc-button-prev, .panel-warning.calendar .fc-button-next,
	.panel-primary.calendar .fc-button-prev, .panel-primary.calendar .fc-button-next,
	.panel-info.calendar .fc-button-prev, .panel-info.calendar .fc-button-next {
		
	}
	.panel.calendar .fc-header-right .fc-button{
		margin-bottom:0;
		bottom:-1px;
	}
	.panel.calendar .fc-button-prev, .panel.calendar .fc-button-next{
		top:-35px!important;
		right:10px!important;
		position:absolute;
		width:40px;
		
	}
	
	.panel.calendar .fc-button-prev{
		right:50px!important;
	}
	.panel.calendar .fc-header-right .fc-state-active {
		border-top:2px solid #e5e5e5!important;
		border-bottom-color:#f5f5f5!important;
		background:none!important;
		text-shadow:none!important;
		box-shadow:none!important;
		color:#333!important;
	}
	.panel-danger.calendar .fc-header-right .fc-state-active {
		border-top-color:#d9534f!important;
	}
	.panel-success.calendar .fc-header-right .fc-state-active {
		border-top-color:#5CB85C!important;
	}
	.panel-warning.calendar .fc-header-right .fc-state-active {
		border-top-color:#f0ad4e!important;
	}
	.panel-primary.calendar .fc-header-right .fc-state-active {
		border-top-color:#428bca!important;
	}
	.panel-info.calendar .fc-header-right .fc-state-active {
		border-top-color:#5bc0de!important;
	}
	.panel.calendar .fc-header-right .fc-state-disabled {
		color:#ccc;
	}
	.panel.calendar .fc-header-title h2{
		white-space:normal;
		word-wrap:normal;
	}

}

/* phones! */
@media screen and (max-width:480px) {
	
	
	.otxfullcalendar .otxcalendar-event-view-band {
		right:0px!important;
	}
	
	.otxfullcalendar .otxcalendar-event-view-band .otxcalendar-band-inner {
		margin-right:10px!important;
		padding:20px!important;
		padding-right:30px!important;
	}
	
	.otxfullcalendar .otxcalendar-event-view-band .otxcalendar-band-close-btn {
		font-size:18px!important;
		right:0px!important;
		
	}
	
}

