/*
 * @version		$Id: yendifevents.css 1.2.0 25-02-2016 $
 * @package		Yendif Events
 * @copyright   Copyright (C) 2014-2016 Yendif Technologies PVT Ltd
 * @license     GNU/GPL http://www.gnu.org/licenses/gpl-2.0.html
*/

/*************************************************************************/
/*** General ***/
/*************************************************************************/
.yendif-events .yendif-inline-block {
	display: inline-block;
}

.yendif-events .form-inline label,
.yendif-events .form-inline input,
.yendif-events .form-inline select,
.yendif-events .form-inline .btn {
	margin-bottom: 9px;
}

.yendif-events .form-inline label {
	vertical-align: middle;
}

.yendif-events .yendif-preloader-fluid {
	position:absolute;
	display:block;
	width:100%;
	height:100%;
	margin:0 auto;
	padding:0;
	top:0;
	left:0;
	vertical-align:middle;
	background:url(../images/preloader-large.gif) no-repeat center center;
}

.yendif-events .yendif-preloader-large {
	height:120px;
	margin:0 auto;
	padding:0;
	vertical-align:middle;
	background:url(../images/preloader-large.gif) no-repeat center center;
}

.yendif-events .yendif-preloader-small {
	width:18px;
	height:18px;
	margin:0 10px;
	padding:0;
	vertical-align:middle;
	background:url(../images/preloader-small.gif) no-repeat center center;
}

.yendif-events p.yendif-lead {
	margin-bottom:0;
	line-height:28px;	
}

.yendif-module-mini-calendar {
	position:relative;
}

.yendif-events .yendif-mini-calendar .yendif-event-day {
	background:#08C !important;
	border:none !important;
}

.yendif-events .yendif-mini-calendar .yendif-event-day a {
	color:#FFF !important;
}

.yendif-events .yendif-mini-calendar th div,
.yendif-events .yendif-mini-calendar td div {
	text-align:center;
}

.yendif-events .yendif-calendar {
	max-width:100%;
}

.yendif-events .yendif-calendar th,
.yendif-events .yendif-calendar td {
	width:14%;
}

.yendif-events .yendif-calendar h2.yendif-date,
.yendif-events .yendif-calendar .yendif-day {
	display:none;
}

.yendif-events .yendif-calendar .label {
	white-space:normal;
}

.yendif-events .yendif-mini-calendar td.active,
.yendif-events .yendif-calendar td.active {
	font-weight:bold;
}

.yendif-events .yendif-cell-1 {
	width:100px;
}

.yendif-events p.yendif-hint {
	margin-top:5px;
}

.yendif-events span.yendif-help-inline {
	padding-top:5px;
	padding-right:5px;
}

.yendif-events .yendif-map-canvas {
	width:100%;
	height:200px;
}

/*************************************************************************/
/*** Extending Bootstrap ***/
/*************************************************************************/
.panel {
  padding: 15px;
  margin-bottom: 20px;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-heading {
  padding: 10px 15px;
  margin: -15px -15px 15px;
  font-size: 17.5px;
  font-weight: 500;      
  background-color: #f5f5f5;
  border-bottom: 1px solid #dddddd;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}

.panel-footer {
  padding: 10px 15px;
  margin: 15px -15px -15px;
  background-color: #f5f5f5;
  border-top: 1px solid #dddddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.panel-primary {
  border-color: #428bca;
}

.panel-primary .panel-heading {
  color: #ffffff;
  background-color: #428bca;
  border-color: #428bca;
}

.panel-success {
  border-color: #d6e9c6;
}

.panel-success .panel-heading {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.panel-warning {
  border-color: #fbeed5;
}

.panel-warning .panel-heading {
  color: #c09853;
  background-color: #fcf8e3;
  border-color: #fbeed5;
}

.panel-danger {
  border-color: #eed3d7;
}

.panel-danger .panel-heading {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.panel-info {
  border-color: #bce8f1;
}

.panel-info .panel-heading {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

/*************************************************************************/
/*** Bootstrap Overrides ***/
/*************************************************************************/
.media,
.media-body {
  overflow: hidden;
  *overflow: visible;
  zoom: 1;
}

.media,
.media .media {
  margin-top: 15px;
}

.media:first-child {
  margin-top: 0;
}

.media-object {
  display: block;
}

.media-heading {
  margin: 0 0 10px;
}

.media > .pull-left {
  margin-right: 10px;
}

.media > .pull-right {
  margin-left: 10px;
}

.media-list {
  margin-left: 0;
  list-style: none;
}

.yendif-events.yendif-booking-details .controls,
.yendif-events.yendif-booking-status .controls {
	padding-top:5px;
}


.yendif-events .table-borderless tr,
.yendif-events .table-borderless th,
.yendif-events .table-borderless td {
	border:none;
}

.yendif-events .table select {
	width:auto;
	margin-bottom:0;
}

.yendif-events .table td.text-left {
	text-align:left;
}

.yendif-events .table td.text-right {
	text-align:right;
}

.yendif-events fieldset h3,
.yendif-events .panel h3 {
	margin-top:0;
	margin-bottom:0;
}

.yendif-events .panel hr {
	margin:9px 0;
}

.yendif-events .panel .table {
	margin-bottom:0;
}

.yendif-events .caption h3 {
	margin-top:0;
}

.yendif-events .thumbnail img {
	width:100% !important;
	height:auto !important;
}

.yendif-events .btn.disabled {
	background:transparent;
}

.yendif-events .modal-body { 
    -webkit-overflow-scrolling:touch; 
}

.yendif-events .modal .close {
	font-size:inherit;
}

.yendif-events .modal form {
	margin-bottom:0;
}

.yendif-events .media-object .badge {
	display:block;
	padding:1px;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border-radius:0;
	text-transform:uppercase;
	text-shadow:none;
}

.yendif-events .media-object .badge span {
	display:block;
	padding:4px 7px;
}

.yendif-events .media-object .badge .yendif-date {
	background:#FFF;
	color:#666;
}

.yendif-events.yendif-mini-calendar .btn-mini {
	padding:0px;
}

.yendif-events .form-inline .control-group {
	display: inline-block;
}

.yendif-events .form-inline .control-label {
	display: block;
}

.yendif-events .form-inline .control-group,
.yendif-events .form-inline .radio label,
.yendif-events .form-inline .checkbox label {
	margin-right: 9px;
}

@media (max-width: 768px) {	
	.yendif-events .yendif-calendar {
		border:none !important;
	}

	.yendif-events .yendif-calendar table,
	.yendif-events .yendif-calendar tbody,
	.yendif-events .yendif-calendar tr,
	.yendif-events .yendif-calendar th,
	.yendif-events .yendif-calendar td {
		float:left;
   		clear:both;
   		display:block;
		width:100%;
		margin:0;
   		padding:0;
		background:transparent !important;
		border:0;
		box-sizing:border-box;  
	}

	.yendif-events .yendif-calendar tr {
		display:table;
	}

	.yendif-events .yendif-calendar td {
		display:table-row;
		border-top:none;	
		border-right:1px solid #DDD;
		border-bottom:1px solid #DDD;
		border-left:1px solid #DDD;
	}

	.yendif-events .yendif-calendar .yendif-header {
		border-top:1px solid #DDD;
	}

	.yendif-events .yendif-calendar .yendif-empty-cell,
	.yendif-events .yendif-calendar .yendif-header th,
	.yendif-events .yendif-calendar p.yendif-date {
		display:none;
	}

	.yendif-events .yendif-calendar .yendif-section-1,
	.yendif-events .yendif-calendar .yendif-section-2 {
		display:table-cell;
		padding:8px;
		vertical-align:top;
	}

	.yendif-events .yendif-calendar .yendif-section-1 {
		width:100px;
		border-right:1px solid #DDD;
	}

	.yendif-events .yendif-calendar h2.yendif-date,
	.yendif-events .yendif-calendar p.yendif-day {
		display:block;
	}	
}

@media (max-width: 480px) {
	.yendif-events .media > .pull-left {
		margin-right:0;
	}
	
	.yendif-events.yendif-map-container .media > .pull-left {
		float:left !important;
		margin-right:10px !important;
	}
	
	.yendif-events .media-object {
		width:100% !important;
		height:auto !important;
	}
	
	.yendif-events.yendif-map-container .media-object {
		width:64px !important;
	}
	
	.yendif-events .yendif-mobile-block {
		display:block;
		width:100%;
		box-sizing:border-box;
		margin-bottom:7px;
	}
	
	.yendif-events .modal.fade.in {
        top:10px;
  	}
  
	.yendif-events .modal-body {
		max-height:250px; 
	}
	
	.yendif-events .modal-body .form-horizontal {
		padding:7px;
	}
}

@media only screen 
  and (max-device-width: 480px)
  and (orientation: landscape) {
  	.yendif-events .modal-header p {
		display:none;
	}
	
	.yendif-events .modal-body {
		max-height:150px; 
	}
}

/*************************************************************************/
/*** Map Module ***/
/*************************************************************************/
.yendif-map-container {
	position:relative;
	display:inline-block;
	width:100%;
	height:0;
	margin:0;
	min-width:100px;
}

.yendif-map-container .yendif-map-body {	
	overflow:hidden;
	position:absolute;	
	margin:auto;
	top:0;
	right:0;
	bottom:0;
	left:0;
	width:auto;	
	max-width:100%;
	min-width:10%;
	height:auto;
	max-height:100%;	
}

.yendif-map-container .yendif-map-body .media {
	max-width:200px;
}

.yendif-map-container .yendif-map-body .media .media-body {
	overflow:initial;
}