/* only ipad 1024 and bigger screen landscape screen */
@media only screen and (min-width: 768px) {
	#mainmenu { display:block !important; }
}

@media only screen and (max-width: 1439px) {
	.slide-img img { max-width: 100%; }
	.owl-nav > div { left: 20px; }
	.owl-nav > div.owl-next { right: 20px; }
	.banner-contentbox { padding: 0 0 0 90px; }
	.banner-content h2 { font-size: 42px; }
	.banner-content { width: 42%; }
	.slide-img { width: 58%; }
}

@media only screen and (max-width: 1199px) {
	.facilities-wrapper:before { border-top-width:65px; }
	/*.slide-img { padding-top:30px; }*/
	.banner-content h2 { font-size: 34px; }
	.banner-content { font-size: 15px; }
	.section { padding: 70px 0; }
	.section.event-calendar-section h2 { margin-top: -40px; }
	.facility-col h3 { padding: 0 37px; }
	#footer { padding-bottom: 40px; }
	.ax-course-thumb img { max-width: 220px; width: 100%; }	
	/*.team-row figure, .team-contentbox { display:block; }*/
	
	.not-found-title { font-size:160px; margin:0 0 20px; }
	.not-found-wrap h2 { font-size:35px; margin-bottom:15px; }

	.calender-filter form > div { margin-right:20px; }
	.tribe-bar-filters input[type="submit"] { padding:13px 12px 11px; }
	.tribe-bar-filters .tribe-bar-date-filter, .tribe-bar-filters .tribe-bar-search-filter, .tribe-bar-filters .tribe-bar-geoloc-filter, .tribe-bar-filters .tribe-bar-submit { width:26.333%; }
	.tribe-bar-filters .tribe-bar-submit { width:19%; }
	.tribe-events-loop .tribe-events-list-event-title { font-size:20px; }
	.facilities-row .col  { width:33.333333%; margin-bottom:20px; }
}

/*==========================================================================================================*/
@media only screen and (max-width: 1023px) {
	body { min-width:320px; }
	img{ max-width: 100%; width:auto; height:auto; }
	.wrap { width:auto; padding:0 20px; }
	
	.default-grid.form-grid.cols2 .col { width:auto; float:none; }
	.buttonset .col a { margin:0 5px 8px 0; }
	.default-grid.cols4 .col { width:50%; }
	.cols2.default-grid.tab-grid .col { width:100%; }
	
	.image-block figure { width:45%; }
	
	#mainmenu > ul > li { margin-right: 22px; }
	.search-section { margin-left: 0; }
	.banner-content { display: block; width: auto; text-align: center; padding:50px 0 35px; }
	.slide-img { display: block; width: auto; /*padding-top:18px;*/ }
	.banner-contentbox { padding: 0 90px; }
	.slide-img img { max-width: 60%; margin: 0 auto; }
	
	.list-date em { display: block; margin: 0; line-height: 1; }
	.list-date { margin-bottom: 8px; }
	.facilities-row { padding-top: 0; }
	.facilities-row .cols4 .col { width: 50%; clear: left; }
	.facilities-row .cols4 .col:nth-child(2n) { clear: right; }
	.facilities-row .cols4 .col:nth-child(2) ~ .col { margin-top: 35px; }
	.facility-col p { margin-bottom: 20px; }
	.courses-section h2 { margin-top: 15px; }
	.courses-row .cols2 .col { float: none; width: auto; }
	.courses-row .cols2 .col + .col { margin-top: 40px; }
	
	.fmenu { float: none; margin: 0 0 15px; }
	.fmenu li { margin: 4px 0; }
	.fmenu li + li:before { margin: 0 6px; }
	.social-icons { float: none; }
	.fnav-row, .contact-info-row { padding: 25px 0; }
	.fnav-row { margin-bottom: 20px; }
	#footer { padding-bottom: 20px; }
	.events-row { padding: 25px 0; }
	
	#sidebar { width: auto; float: none; }
	.two-cols-block:before { display: none; }
	#primary { padding-left: 0; }
	.tribe-mini-calendar-list-wrapper { padding: 30px 0 20px; }
	.tribe-mini-calendar-list-wrapper .type-tribe_events { float: left; width: 50%; padding: 0 5px; }
	.tribe-mini-calendar-list-wrapper:after { content: ''; display: table; clear: both; }
	
	.cpd-info h2, .contact-section h2 { font-size:28px; }
	.cpd-info span, .contact-location h3, .contact-info h3 { font-size:20px; }
	.cpd-details h3 { font-size:18px; }
	.cpd-details h3 br { display:none; }
	.cpd-listing-content h4 { font-size:18px; margin:0 0 8px; }
	.contact-section h2 { margin-bottom:10px; }
	.tribe-bar-filters .tribe-bar-date-filter, .tribe-bar-filters .tribe-bar-search-filter, .tribe-bar-filters .tribe-bar-geoloc-filter, .tribe-bar-filters .tribe-bar-submit { width:27%; }
	.tribe-bar-filters .tribe-bar-submit { width:19%; }
	
	.main-calender .tribe-events-month { padding:2px 10px !important; margin-bottom:0 !important; }
	.main-calender .tribe-events-month { overflow:auto; }
	.main-calender .tribe-events-month table.tribe-events-calendar { box-shadow:none; }
	.main-calender .tribe-events-calendar { min-width:700px; width:100%; }
	.contact-section h2 { font-size:28px; }
	
	.calender-filter form > div { margin:0; float:none; }
	.calender-filter form > div.tribe-bar-filters { margin-top:15px; }
	.ax-course-details h1 { font-size:30px; }

	.section.facilities-wrapper h2 { margin-top:-40px; }
	.courses-col { margin-bottom:0; }
	#sidebar .tribe-events-loop .type-tribe_events { padding:0 5px; }
	#sidebar .tribe-events-loop { margin:0 -5px; }
	#sidebar .tribe-events-loop:after { content:""; display:table; clear:both; }
} 

/*==========================================================================================================*/
@media only screen and (max-width: 700px) {
	.ax-table table { border-top:0; }
	.ax-table table tr { border-bottom:1px solid #ddd; }
	.ax-table table tr:last-child { border-bottom:0; }
}

/*==========================================================================================================*/
@media only screen and (max-width: 767px) {
	
	#header { position:relative; }
	#logo { margin:5px 0; width:100px; }
	#mainmenu { display:none; position:absolute; left:0; width:100%; top:100%; background:#232425; z-index:5; }
	#mainmenu ul li { float:none; margin:0; padding:0; border-bottom:solid 1px rgba(255,255,255,0.085); }
	#mainmenu ul li:last-child { border: 0; }
	#mainmenu ul li a { padding:12px 15px; display:block; color: #fff;  }	
	
	#mainmenu > ul > li .sub-menu { position: static; display: none; -webkit-transform: none; transform: none; -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none; -ms-transition: none; transition: none; opacity: 1; visibility: visible; padding: 0; border-top:solid 1px rgba(255,255,255,0.085); }
	.navtrigger { width: 30px; height: 30px; background: #f2930c; border-radius: 50%; text-align: center; cursor: pointer; position: absolute; right: 15px; top: 9px; }
	.navtrigger:after { content: ''; position: absolute; left: 9px; top: 12px; border-radius: 1px; border-top: 7px solid #fff; border-left: 6px solid transparent; border-right: 6px solid transparent; }
	.navtrigger.open:after { -webkit-transform: rotate(180deg); transform: rotate(180deg); top: 10px; }
	#mainmenu > ul > li .sub-menu { background: none; width: auto; box-shadow: none; }
	#mainmenu > ul > li ul li a { color: #fff; }
	#mainmenu > ul > li ul li + li { border-top: 0; }
	#mainmenu > ul > li ul li a { padding-left: 28px; position: relative; }
	#mainmenu > ul > li ul li a:before { content: ''; position: absolute; left: 15px; top: 17px; width: 6px; height: 6px; border-style: solid; border-color: #fff; border-width: 1px 1px 0 0; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
	#mainmenu > ul > li ul li a:hover:before { border-color: #f2930c; }
	
	/* Responsive Menu line icon*/
	#menu { float: right; margin-left: 13px; width: 38px; height: 38px; background: #f2930c; border-radius: 50%; }	
	.menulines-button { padding:0; cursor: pointer; user-select: none; text-transform:uppercase; font-size:16px; color:#fff; text-decoration:none; }
	.menulines-button:hover { text-decoration:none; }
	.menulines { display: inline-block; width: 18px; height: 2px; background: #fff; position: relative; float: left; margin:18px 0 0 10px; -moz-transition:all 550ms cubic-bezier(0.450, 1.000, 0.320, 1.000); -ms-transition:all 550ms cubic-bezier(0.450, 1.000, 0.320, 1.000); -webkit-transition:all 550ms cubic-bezier(0.450, 1.000, 0.320, 1.000); transition:all 550ms cubic-bezier(0.450, 1.000, 0.320, 1.000); opacity:1; }
	.menulines:before, .menulines:after { display: inline-block; width:18px; height: 2px; background: #fff; position: absolute; left: 0; content:''; -moz-transition:all 550ms cubic-bezier(0.450, 1.000, 0.320, 1.000); -ms-transition:all 550ms cubic-bezier(0.450, 1.000, 0.320, 1.000); -webkit-transition:all 550ms cubic-bezier(0.450, 1.000, 0.320, 1.000); transition:all 550ms cubic-bezier(0.450, 1.000, 0.320, 1.000); -webkit-transform-origin: 0.28571rem center; -moz-transform-origin: 0.28571rem center; -ms-transform-origin: 0.28571rem center; transform-origin: 0.28571rem center; }
	.menulines:before { top: 6px; }
	.menulines:after { top: -6px; }
	.menuopen .menulines { background:none; }
	.menuopen .menulines:before, .menuopen .menulines:after {  -webkit-transform-origin: 50% 50%;  -moz-transform-origin: 50% 50%;  -ms-transform-origin: 50% 50%; transform-origin: 50% 50%; top: 0; } 
	.menuopen .menulines:before { -webkit-transform: rotate3d(0, 0, 1, 45deg); transform: rotate3d(0, 0, 1, 45deg); } 
	.menuopen .menulines:after {  -webkit-transform: rotate3d(0, 0, 1, -45deg); transform: rotate3d(0, 0, 1, -45deg); }
	
	.default-grid.cols3 .col { width:50%; }
	.default-grid.cols3 .col:nth-child(3) { clear:left; }
	.tabnav { display:none; }
	.tab-container { padding:0; border:none;}
	.tab-data { margin:0 0 30px; }
	.tab-data .tabnav { display:none; }
	.tab-container .tabMobiletrigger { background:#f3f3f3; border:medium none; font-size:15px !important; text-transform:uppercase; margin:0 0 7px; padding:16px 54px 16px 16px; position:relative; cursor:pointer; font-weight:bold; }
	.tabMobiletrigger:after { border-left:8px solid rgba(0, 0, 0, 0); border-right:8px solid rgba(0, 0, 0, 0); border-top:8px solid #848690; content:""; margin-top:-3px; position:absolute; right:19px; top:50%; }
	.tabMobiletrigger:before { background:rgba(0, 0, 0, 0.08); content:""; height:100%; position:absolute; right:0; top:0; width:54px; z-index:1; }
	.tabcontent { padding:15px 0; margin:0; }
	.tabMobiletrigger.rotate:after { border-top-color:#272c2f; -webkit-transform:rotate(180deg); -moz-transform:rotate(180deg); -ms-transform:rotate(180deg); transform:rotate(180deg); }
	
	.heading-listblock.cols2 .col, .dropcaps-box.cols2 .col { width:100%; float:none; }
	
	.tribe-events-adv-list-widget .type-tribe_events { width: 50%; }
	.slide-img img { max-width: 90%; }
	.facilities-wrapper:before, .event-calendar-section:after, .courses-section:before, .courses-section:after { display: none; }
	.section.event-calendar-section h2, .section.facilities-wrapper h2, .upcoming-events-section h2, .courses-section h2 { margin-top: 0; }
	/*.slide-img { padding: 0; }*/
	.section { padding: 50px 0; }
	.courses-row { padding-top: 30px; }
	.courses-col h3 { text-align: center; }
	.contact-info-row .button { float: none; display: table; margin: 20px auto 0; }
	.contact-left-col { float: none; }
	.search-fieldbox .search-field { font-size: 34px; height: 80px; line-height: 80px; }
	.search-fieldbox input[type="submit"] { top: 22px; }
	.search-section { margin-top: 10px; }	
	.navigation-row { margin-top: 8px; }
	
	.locations-list li a { font-size: 18px; }
	.tribe-events-adv-list-widget .type-tribe_events:nth-child(2n+1) { clear:left; }
	.tribe-events-adv-list-widget .type-tribe_events:nth-child(3n+1) { clear:none; }
	.tribe-bar-filters .tribe-bar-date-filter, .tribe-bar-filters .tribe-bar-search-filter, .tribe-bar-filters .tribe-bar-geoloc-filter, .tribe-bar-filters .tribe-bar-submit { width:50%; }
	.tribe-bar-filters .tribe-bar-submit { width:50%; padding-top:43px; }
	.tribe-bar-filters div label { margin:15px 0 2px 10px; }
	.calender-filter { padding:20px 0 40px; }
	h2.tribe-events-page-title { font-size:20px; margin-bottom:5px; }
	.tribe-events-sub-nav { padding:5px 0; }
	.tribe-events-sub-nav li a { font-size:15px; line-height:1.4; }
	
	.not-found-wrap { padding:60px 0 80px; }
	.not-found-title { font-size:150px; margin:0 0 10px; }
	.not-found-wrap h2 { font-size:30px; margin-bottom:10px; }
	.not-found-wrap p { font-size:16px; }
	
	.one-column .site-content { padding:25px 0; }
	.home .one-column .site-content, .calendar-section .site-content { padding:0; }
	
	.team-row:nth-child(2n+1) { clear:left; }
	.team-row { float:left; margin-bottom:4%; width:48%; }
	.team-row:nth-child(2n) { clear:right; margin-left:4%; }
	.team-row figure { width:100%; }
	.team-contentbox { width:100%; }
	
	.contact-section h2 { margin-bottom:5px; }
	.calender-filter form > div.tribe-bar-filters { margin-top:5px; }
	
	.tribe-events-loop .tribe-events-list-event-title { font-size:18px; }
	.tribe-events-loop .tribe-events-list-separator-month, .tribe-events-day .tribe-events-day-time-slot > h5 { font-size:18px; }
	.tribe-events-venue-meta .tribe-venue-name { font-size:22px; }
	.tribe-events-schedule h2 { font-size:18px; }
	.tribe-events-single-event-title { font-size:22px; }
	.tribe-events-schedule .tribe-events-cost { font-size:18px; } 
	
	h2 { font-size:22px; }
	.ax-course-details h1 { font-size:28px; }
	
	div.wp-pagenavi a, div.wp-pagenavi span.current, div.wp-pagenavi span.extend { width:38px; margin:0 2px; font-size:17px; }
	div.wp-pagenavi a.previouspostslink, div.wp-pagenavi a.nextpostslink, div.wp-pagenavi a.last, div.wp-pagenavi a.first { margin:0 2px; }
	
	.course-instance-desc { font-size:15px; margin:5px 0 0; }
	.banner-content { padding-top:0; }
	
	.facilities-row .col { width:50%; }
}


/*==========================================================================================================*/
/* only iphone4 landscape & Potriat 300 by 480*/
@media only screen and (max-width: 567px) {
	
	
	.default-grid.cols3 .col, .default-grid.cols2 .col, .default-grid.cols4 .col { width:auto; float:none; }
	table.res-table tr th { display:none; }
	table.res-table tr td { display:block; position:relative; padding-left:50%; }
	table.res-table td:before { content: attr(data-th) ": "; font-weight: bold; width: 50%; display:block; padding-right:10px; position:absolute; left:0; top:0; padding:10px 10px; } 
	table.res-table { border-top:0; }	
	
	.list-block.cols3 .col { width:100%; float:none; }
	.image-block figure { width:100%; float:none; padding-right:0; }
	.image-block.right-align figure { padding-left:0; }
	
	.slide-img { display: none; }
	.home-slider .owl-nav > div { display: none; }
	.banner-contentbox { padding: 0; }
	.owl-dots { text-align: center; position: absolute; bottom: 15px; left: 0; right: 0; }
	.owl-dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; display: inline-block; margin: 0 3px; cursor: pointer; }
	.banner-content { padding:20px 0; }
	.home-slider { padding-bottom: 50px; }
	.owl-dot.active { background: #f2930c; }
	.banner-content h2 { font-size: 28px; }
	.section { padding: 35px 0; }
	.section.event-calendar-section { padding-bottom: 25px; }
	.facility-col h3 { padding: 0; }
	.course-name { float: none; max-width: none; margin-bottom: 15px; display: block; }
	.cource-info { padding-left: 10px; overflow: visible; }
	.courses-row { padding-top: 10px; }
	.contact-left-col h4 { font-size: 20px; font-weight: 500; }
	.contact-left-col { font-size: 14px; }
	.contact-left-col:before { top: 2px; }
	
	.location-list-box { width: 50%; }
	.cols2 .col { float: none; width: auto; }
	.ax-course-thumb { float: none; margin: 0 0 10px; }
	.ax-course-thumb img { max-width: 100%; width: auto; }
	.ax-course-list-record:first-child { padding-top: 0; }
	.ax-course-list-record:last-child { padding-bottom: 0; }
	
	.faq-accordion .accordion-databox .accordion-row h5 { font-size:14px; }
	.accordion-databox .accordion-row h5 { padding:14px 54px 14px 14px; }
	
	.cpd-info h2, .contact-section h2 { font-size:24px; }
	.cpd-info span, .contact-location h3, .contact-info h3 { font-size:18px; }
	.cpd-details h3 { font-size:16px; margin:0 0 30px; }
	.cpd-listing-content h4 { font-size:18px; }
	.cpd-listing:last-child { margin:0 0 20px; }
	
	.footer-bottom { text-align:center; }
	.copyright { float:none; }
	.designed-by { float:none; margin:10px 0 0; }
	.tribe-bar-filters .tribe-bar-date-filter, .tribe-bar-filters .tribe-bar-search-filter, .tribe-bar-filters .tribe-bar-geoloc-filter, .tribe-bar-filters .tribe-bar-submit { width:100%; }
	.tribe-bar-filters .tribe-bar-submit { width:100%; padding-top:20px; }
	.tribe-bar-filters div label { font-size:15px; }
	
	.not-found-title { font-size:140px; }
	.not-found-wrap h2 { font-size:25px; margin-bottom:10px; }
	.not-found-wrap p { margin:0; }
	.main-title-row h1, .main-title-row h2 { font-size:25px; }
	
	.alignleft, .alignright { float:none; margin:0 0 20px; }
	.about-details h2 { font-size:25px; }
	.about-details h3 { font-size:20px; }
	
	.contact-row .cotnact-map { width:auto; }
	.contact-detail { position:static; width:auto; -webkit-transform:none; transform:none; -webkit-box-shadow:none; box-shadow:none; border:1px solid #dfdfdf; border-top:0; padding:20px; }
	.contact-detail h4 { font-size:20px; }
	
	.calender-filter form > div.tribe-bar-filters { margin-top:0; }
	
	.tribe-events-loop .tribe-events-event-meta .location .tribe-events-gmap { margin:12px 0 2px; display:table; float:none; }	
	.tribe-events-venue-meta .tribe-venue-name { font-size:20px; }
	.tribe-events-single-event-title { font-size:20px; }
	.tribe-events-schedule h2 { font-size:14px; }
	.tribe-events-schedule .tribe-events-cost { font-size:16px; }
	
	h2 { font-size:20px; }
	.ax-course-details h1 { font-size:25px; }
	
	.tribe-events-sub-nav li a { font-size:14px; }
	div.wp-pagenavi span.extend, div.wp-pagenavi a.last, div.wp-pagenavi a.first { display:none; }
	
	.event-box h2 { font-size:16px; margin-bottom:8px; padding-bottom:8px; }
	
	
}

/*==========================================================================================================*/
/* only iphone landscape 340 by 478*/
@media only screen and (max-width: 480px) {

	 .form-inline .form-group label, .form-inline .form-group .field-box { float:none; display:block; width:auto; }
	.form-inline .form-group label.blank { display:none; }
	
}
/*==========================================================================================================*/
/* only iphone portrait 300 by 479*/
@media only screen and (max-width: 479px) {
	
	.section h2 { font-size:30px; }
	.banner-content h2 { font-size: 23px; line-height: 1.2; }
	.banner-content { line-height: 1.6; }
	.tribe-events-adv-list-widget .type-tribe_events, .facilities-row .cols4 .col { float: none; width: auto; }
	.facilities-row .cols4 .col { margin-top: 35px; }
	.search-fieldbox .search-field { font-size: 20px; height: 60px; line-height: 60px; }
	.search-fieldbox input[type="submit"] { top: 10px; -webkit-transform: scale(0.65); transform: scale(0.65); right: 28px; }
	.location-list-box { float: none; width: auto; }
	.locations-list { margin-top: 15px; margin-bottom: 15px; }
	.tribe-mini-calendar-list-wrapper .type-tribe_events { float: none; width: auto; padding: 0; }
	.main-title-row h1, .main-title-row h2 { font-size: 25px; }
	.cpd-listing { margin:0 0 20px; padding:0 0 30px; }
	.cpd-info h2, .contact-section h2 { font-size:22px; }
	.listing-img { width:55px; margin:0 12px 0 0; }
	.cpd-listing-content { padding:0 0 0 16px; }
	.cpd-listing-content h4 { font-size:16px; }
	.cpd-listing-content .button.learn-more-btn { padding:11px 28px; }
	.cpd-listing:last-child { margin:0; }
	
	.designed-by { margin-top:7px; }
	.tribe-events-adv-list-widget .type-tribe_events:nth-child(2n+1) { clear:none; }	
	
	.not-found-title { font-size:110px; margin:0 0 6px; letter-spacing:normal; }
	.not-found-wrap h2 { font-size:18px; }
	.not-found-wrap p { font-size:14px; line-height:1.3; }
	
	.team-row { width:100%; margin-bottom:20px; }
	.team-row:nth-child(2n) { clear:none; margin-left:0; }
	.team-row:nth-child(2n+1) { clear:none; }
	.contact-detail { padding:20px; }
	.contact-detail h4 { font-size:18px; }
	.tribe-events-loop .tribe-events-list-event-title { font-size:17px; }
	.tribe-events-loop .tribe-events-event-cost { font-size:18px; margin:10px 0 6px; }
	.tribe-events-sub-nav li a { font-size:12px; }
	div.wp-pagenavi a, div.wp-pagenavi span.current, div.wp-pagenavi span.extend { width:34px; }
	
	.ax-course-details h1 { font-size:22px; }
	
	.facilities-row .col { width:100%; }
	
} 
/*==========================================================================================================*/
/* Retina css */ 
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 3 / 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 2) {
	.sprites, .sp-after:after, .sp-before:before, #search-icon, .search-fieldbox input[type="submit"], .contact-left-col:before, .social-icons li a, .alert:before, .locations-list li a:before, .tribe-events-loop .tribe-events-event-meta .location .tribe-events-gmap:before, div.wp-pagenavi a.first:before, div.wp-pagenavi a.last:before, div.wp-pagenavi a.previouspostslink:before, div.wp-pagenavi a.nextpostslink:before, .location-contact-info li:before { background-image:url(../images/bgi/sprites@2x.png);
	-moz-background-size:237px 207px; -ms-background-size:237px 207px; -o-background-size:237px 207px; -webkit-background-size:237px 207px; background-size:237px 207px; }
}