/* Media Queries */

@media (min-width:992px) {
	.carousel-inner>.item {
		height: 310px;
	}
}

@media (max-width: 768px) {
	#headerWrapper .row {
		margin-left: 0;
		margin-right: 0;
	}
	#headerWrapper .row .col-xs-12 {
		padding-left: 0;
		padding-right: 0;
	}
	.logo {
		padding: 10px 0px;
	}
	.navbar-default {
		height: auto;
		margin-top: 0px;/*padding-left: 0px;
		padding-right: 0px;*/
	}
	.nav-tabs {
		margin-top: 0px;
	}
	.nav-tabs > li > a {
		border-radius: 0px;
	}
	.nav-tabs > li > a:hover {
		border-left: 0px;
		border-right: 0px;
	}
	.menuWrapper {
		background: #2f343a;
	}
	.navbar-default .navbar-collapse {
		background: #fff;
		padding:15px;
	}
	.menuWrapper .navbar-right {
		float: none !important;
		margin-top: 0px;
	}
	.navbar-collapse {
		padding-left: inherit;
		padding-right: inherit;
	}
	
	/*.m-top-footer{
			margin-top: 60px;
		}*/
		
	.listViewSearch{
		border-radius: 0 0px 8px 0;
	}
	
	.search{
		height: 48px;
		border-radius: 0 0px 5px 0;
	}
	
	.result .searchEventYear:first-child{
		border-top: none;	
	}
	
	.calendarCity, .searchEventYear, .listViewSearch{
		border-top: 1px solid #B5B6BB;
		height: 45px;
	}
		
	.m-minus-main {
		margin-top: 15px;
		margin-bottom: 15px;
	}
	.readMorebtn {
		height: auto;
		margin-bottom: 65px;
	}
	.eventBox {
		min-height: 120px;
	}
	.eventBox h4 {
		margin-top: 10px;
		font-size: 16px;
	}
	.ourServices .res-m-bot-25 {
		margin-bottom: 10px;
	}
	.latestEvent .res-m-bot-25 {
		margin-bottom: 10px;
	}
	.servicesBox h4 {
		margin-top: 0px;
	}
	.ourServices {
		padding-bottom: 0px;
	}
	.caption.mobile-block {
		margin-bottom: 10px;
		color: #fff;
		background-color: #2f343a;
		display: inline-block;
		padding: 20px 20px 20px 20px;
		font-size: 18px;
		font-size: 1.8rem;
		text-align: center;
	}
	.caption.mobile-block a {
		color: #fff
	}
	.caption.mobile-block a:hover {
		color: #fff;
		text-decoration: none;
	}
	.customMainnavTabs, .customSubnav {
		width: 100%;
		height: auto;
	}
	.customMainnavTabs li, .customSubnav li {
		width: 100%;
		height: auto;
	}
	#servicesTabs li {
		width: 100%;
	}
	#servicesTabs > li > a {
		margin-right: 0px;
	}
	#servicesTabs ul {
		padding: 0px;
	}
	#servicesTabs ul li a {
		line-height: 1.9em;
	}
	.widget img {
		max-width: 100%;
	}
	.navbar-right .dropdown-menu {
		width: 100%;
	}
	.navbar-collapse.in {
		overflow: inherit;
		max-height: 100%;
	}
	.dropdown-menu>li>a {
		line-height: 1.9em;
	}
	.servicesSubNav {
		width: 100%;
	}
	/*#customobiledropdown{
		display: block !important;
		position: relative;
		opacity: 1 !important;
		background-image: none;
		border: none;
		border-radius: 0px;
		box-shadow: none;
	}
	
	.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus{
		background-color: #7ec344;
		 background-image: none;
		color: #fff;
	}*/
		
		
	.fancybox-inner > div {
		width: auto !important;
	}
	.footer-copyright-container {
		clear: both;
		line-height: 24px;
		margin: 0;
		padding: 0 0 10px 8px;
		text-align: center;
		width: 100%;
	}
	#footer-nav li {
		background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
		display: inline-block;
		line-height: 22px;
		list-style: none outside none;
		margin: 0 -22px 0 0;
	}
	
	.fancybox-opened .fancybox-skin{
		padding: 15px 5px 15px 15px !important;
	}
	
	.col-md-6.col-lg-6.col-xs-12.left{
		padding-left: 0px;
	}
	
	.searchEventYear .selectbox{
	text-align:left;
	}
	
	
	.border-right{
	border-right:none;
	padding: 0px;
	width: 100%;
	}
	.bg{
	background:none;
	}
	.padg-4{
	padding:0px;
	}
	.calendarCity .searchtextbox1{
	text-indent:0px;
	height: 38px;
	border-radius: 8px;
	}
	.calendarCity .searchtextbox{
	text-indent:0px;
	height: 45px;
	border-radius: 8px;
	padding-left: 10px;	
	margin-left: 0px;
	width: 100%;
	}
	
	.wrapper-dropdown-3{
	margin:0px 0px 0px 12px !important;
	padding:0px !important;
	}
	
	.searchtextbox.ui-autocomplete-input{
	text-indent:12px;
	}
	
	#dd > span{
	position:relative;
	top:11px;
	left:-1px;
	}
	.footer-menu {
		text-align: center;
	}
	.wrapper-dropdown-6{
	width:auto;
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	}
	.abttext{
	margin:0px;
	padding:0px;
	}
	#monthCalendar > span {
		position: relative;
		top: 11px;
	}
	.wrapper-dropdown-4 > span {
		top: 0 !important;
	}
	.container-fluid {
		margin:0px;
	}
	.searchtextbox1 {
		padding: 0 0 0 15px !important;
	}
	.testmonial {
		font-style: italic;
		font-weight: normal;
		margin: 17px 0 0;
		padding: 19px;
	}
	
	.clientele{
		width: 30%;
	}

}




@media (max-width: 767px) {
	.contactformleft{
	width:100%;
	height:auto;
	float:none;
	}
	.contactformright{
	width:100%;
	float:none;
	height:auto;
	}
	.realperson-text{
	width:auto;
	}
	.abtimg{
	padding:0px;
	text-align:center;
	}
	.realperson-text{
	font-size:14px !important;
	}
	.realperson-regen{
	 width: 11% !important;
	}
	.wrapper-dropdown-6 > span {
		padding: 0 0 0 8px;
	}
	.searchtextbox {
		margin: 0 0 0 10px;
		width: 96%;
	}
	.searchtextbox.ui-autocomplete-input{
	text-indent:0px;
	}
	.searchtextbox1 {
		padding: 0 0 0 10px !important;
		margin:5px 0px 0px 0px;
	}
	.abttext > p{
	text-align:justify;
	}
	.navbar-header {
		background: none repeat scroll 0 0 #2F343A;
	}
	
	#contactForm .label, #contactSupportForm .label {
		color: #59595A;
		display: block;
		font-size: 16px;
		font-weight: normal;
		height: 40px;
		padding: 19px 0 0 10px;
		position: relative;
		text-align: left;
		width:70%;
		z-index: 100;
	}
	.cont {
		background-color: #FFFFFF;
		border: 8px solid #828282;
		color: #000000;
		display: block;
		font-size: 16px;
		height: 650px;
		left: 5%;
		padding: 0;
		position: absolute;
		top: 50%;
		width: 90%;
	}
	.mapViewSearch {
		background: none repeat scroll 0 0 #80C33F;
		border: medium none;
		border-radius: 5px;
		height: 61px;
		margin: 0;
		width: 100%;
	}
	.mapViewbutton {
		background-color: #7EC344;
		border-radius: 0 5px 0px 5px;
		border-right: 1px solid #D1D1D1;
		color: #FFFFFF;
		font-size: 14px;
		height: 44px;
		line-height: 1.3em;
		transition: all 0.3s ease 0s;
		width: 100%;
	}
	.mapViewbutton:hover{
	 border-radius: 0px;
	}
	.wrapper-dropdown-3 {
		/*background: none repeat scroll 0 0 #E6EAED;*/
		color: #a9a9a9;
		cursor: pointer;
		font-family: 'TitilliumWebRegular';
		font-size: 18px;
		height: 35px;
		margin: 7px 0 0 10px;
		outline: medium none;
		padding: 11px;
		position: relative;
		border-radius: 8px;
		/*border-bottom-left-radius:8px;
		border-bottom-right-radius:8px;*/
	}
	
	.wrapper-dropdown-3:after {
		content: "";
		width: 20px;
		height: 20px;
		position: absolute;
		right: 11px;
		top: 35%;
		margin-top: 0px;
		/*border-width: 6px 6px 0 6px;
		border-style: solid;
		border-color: #80c342 transparent;*/
		background: url('../images/aroows/down_3.png') no-repeat right;
	}
	
	.wrapper-dropdown-3 .dropdown {
	  /* Size & position */
		position: absolute;
		top: 115%;
		left: -6px;
		right: 0;
		/* Styles */
		background: white;
		border-radius: inherit;
		border: 1px solid rgba(0,0,0,0.17);
		font-weight: normal;
		-webkit-transition: all 0.5s ease-in;
		-moz-transition: all 0.5s ease-in;
		-ms-transition: all 0.5s ease-in;
		-o-transition: all 0.5s ease-in;
		transition: all 0.5s ease-in;
		list-style: none;
	
		/* Hiding */
		opacity: 0;
		pointer-events: none;
		padding:0px;
		width: 100%;
			z-index: 9999;
	}
	
	.wrapper-dropdown-3 .dropdown:after {
		content: "";
		width: 0;
		height: 0;
		position: absolute;
		bottom: 100%;
		right: 15px;
		border-width: 0 6px 6px 6px;
		border-style: solid;
		border-color: #fff transparent;
		z-index: 9999;    
	}
	
	.wrapper-dropdown-3 .dropdown:before {
		content: "";
		width: 0;
		height: 0;
		position: absolute;
		bottom: 100%;
		right: 13px;
		border-width: 0 8px 8px 8px;
		border-style: solid;
		border-color: rgba(0,0,0,0.1) transparent;    
			z-index: 9999;
	}
	
	.wrapper-dropdown-3 .dropdown li a {
		display: block;
		padding:5px 0 5px 20px;
		text-decoration: none;
		color: #777777;
		border-bottom: 1px solid #e6e8ea;
		box-shadow: inset 0 1px 0 rgba(255,255,255,1);
		-webkit-transition: all 0.3s ease-out;
		-moz-transition: all 0.3s ease-out;
		-ms-transition: all 0.3s ease-out;
		-o-transition: all 0.3s ease-out;
		transition: all 0.3s ease-out;
	}
	
	.wrapper-dropdown-3 .dropdown li i {
		float: right;
		color: inherit;
	}
	
	.wrapper-dropdown-3 .dropdown li:first-of-type a {
		border-radius: 7px 7px 0 0;
	}
	
	.wrapper-dropdown-3 .dropdown li:last-of-type a {
		border: none;
		border-radius: 0 0 7px 7px;
	}
	
	/* Hover state */
	.wrapper-dropdown-3 .dropdown li:hover a {
		background: #7EC344;
		border-radius:0px;
		color:#fff;
	}
	
	/* Active state */
	.wrapper-dropdown-3.active .dropdown {
		opacity: 1;
		pointer-events: auto;
	}
	
	.nbs-flexisel-container {
		margin: 0 0 20px;
		max-width: 100%;
		overflow: hidden;
		position: relative;
	}
	#maincontent .containerWrapper {
		background: #fff;
		/*border-bottom: 2px solid #b3b3b3;*/
		padding-bottom: 0px;
	}
	#racedetailsTd #avgTd #comparisionTd #overallTd #catcompareTd{
	width:100% !important;
	}
	.table-responsive{
	border:none;
	}
div#popup_box {
left: 0px;
}

}


@media screen and (min-width: 991px) {
.navbar-collapse.collapse {
        display: block !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 990px) {
	.clientele{
		width: 31%;
	}
    .navbar-header {
        float: none;
		margin:0px 0px 0px 0px;
		padding:0px;
    }
	#headerWrapper{
	background: none repeat scroll 0 0 #2F343A;
	}
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    
    .navbar-nav {
        float: none!important;
        margin:0px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
	
.navbar-default{
margin:0px;
}
.logo{
padding:0px;
}
.footer-copyright-container {
    float: right;
    margin-top: 26px;
    text-align: center;
}
.menu-footer-menu-container {
    text-align: center;
}
.navbar-default .navbar-collapse {
    background: none repeat scroll 0 0 #fff;
	margin:0px;
	padding:0px;
}
.container-fluid{
margin:0px;
padding:0px;
}
}

@media (max-width: 480px) {
	.clientele{
		width: 46%;
	}
}

@media (max-width: 360px) {
	.clientele{
		width: 100%;
	}
}

@media (max-width:1024px) {
	.navbar-default .container-fluid .nav > li > a{
		padding:8px 4px;
	}
}


@media (max-width: 1200px) {
	.res-m-bot-25 {
		margin-bottom: 25px;
	}
}