/**
* Media Queries
*
* This is where the Responsive CSS added
* This is Desktop-First responsiveness
* Note: Responsive css starts with class .fbf-responsive
* 
* -----------------------------------------------------------------------------
*/

@media only screen and (max-width: 1024px) {

	/* Header 1 */
	.header-1 .home-slider {
		margin-top: -200px;
	}
	
	.header-1 .ls-fullwidth .ls-bottom-slidebuttons,
	.header-1 .ls-fullwidth .ls-nav-start,
	.header-1 .ls-fullwidth .ls-nav-stop,
	.header-1 .ls-fullwidth .ls-nav-sides {
		top: -60px;
	}
	
}

@media only screen and ( max-width: 1023px ) {
	
	.wrapper, .wrap,
	.wrap.alt-1, .wrapper.alt-1,
	.header-1 .home-slider-cta .wrapper,
	.internal-page-wrapper .content-sidebar-wrap {
		width: 721px;
	}
	
	/* Header 1 */
	.header-1 .ls-s-1 {
		margin-top: 40px!important;
	}
	
	.header-1 .ls-fullwidth .ls-bottom-slidebuttons,
	.header-1 .ls-fullwidth .ls-nav-start,
	.header-1 .ls-fullwidth .ls-nav-stop,
	.header-1 .ls-fullwidth .ls-nav-sides {
		top: -30px;
	}
	
	.header-1 .ls-fullwidth .ls-nav-prev,
	.header-1 .ls-fullwidth .ls-nav-next {
		margin-top: 60px;
	}
	
	.header-1 .site-header {
		padding: 25px;
		text-align: center;
	}
	
	.header-1 .header-widget-area {
		float: none;
		display: inline-block;
	}
	
	.header-1 .header-top-right-content {
		float: none;
		margin-bottom: 15px;
	}
	
	.header-1 .title-area {
		margin: -5px 0 0 10px;
	}
	
	.header-1 .home-slider-cta span {
		font-size: 17px;
	}
	
	.header-1 .home-slider .ls-s-1 {
		text-align: center;
	}
	
	.header-1 .nav-header ul {
		display: none;
	}
	
	.header-1 .jquery-responsive-select-menu {
		padding: 5px;
	}
	
	
	/* Service Listing 1 */
	.service-listing-block-1 .blurb {
		max-width: 50%;
	}
	
	.service-listing-block-1 .blurb-container {
		text-align: center;
	}
	
	.service-listing-block-1 .blurb {
		margin: 10px 8px;
		max-width: 50%;
		float: none;
	}
	
	.service-block-bottom {
		text-align: center;
	}
	
	.service-block-bottom .block-header-text {
		width: 100%;
		float: none;
		margin: 25px auto 30px;
		text-align: center;
	}
	
	.service-block-bottom form {
		float: none;
		display: inline-block;
	}
	
	/* Testimonials */
	.testimonials-1 {
		padding: 60px 0px 70px;
	}
	
	.testimonials-1 .testimonial-author {
		margin-bottom: 0;
	}
	
	/* Footer 1 */	
	.footer-1 .with-icon {
		padding-top: 40px;
		padding-left: 2%;
		text-align: center;
	}
	
	.footer-1 .with-icon:before {
		margin-top: -40px;
		margin-left: -16px;
		left: 50%;
	}
	
	.footer-1 .footer-social-icons a {
		margin: 0px 3px;
	}

	/* Course Map Page Buttons */
	.btn-group-left {
		float: left;
		width: 100% !important;
		text-align: center;
		margin: 0px auto;
		display: inline-block;
	}

	.trans-button-3{
		margin-right: 0px !important;
		clear: both !important;
		float: none !important;
	}

	.trans-button-4{
		margin: 15px 0px;
		clear: both !important;
		float: none !important;
	}

	.btn-group-right {
		float: left;
		width: 100%;
		text-align: center;
		display: inline-block;
		margin: 0 auto;
	}

	.social-button a{
		float: none !important;
	}
	
	/* Internals */
	.header-1.internal {
		background-position: center;
	}

	/* Internals - Events */
	.page-content-top-1 .left-side {
		padding-top: 20px;
		max-width: 200px;
	}
	
	/* Internals - Accomodation */
	.accommodation-listing-block .blurb-container .blurb {
		max-width: 48%;
		margin: 1%;
	}
	
	/* Internals -  Itineraries */
	.options-table {
		font-size: 14px;
	}
	
	.options-table .option-text {
		width: 280px;
	}
	
	.options-table td  {
		padding: 4px 15px
	}
	
	.content-section-type-1 {
		padding: 30px 25px;
	}
	
	.packages-section ul {
		padding-left: 35px;
	}
	
	.packages-section ul li {
		padding-left: 15px;
	}
	
	.ff-custom-accordion .panel-default > .panel-heading + .panel-collapse .panel-body {
		padding: 30px 30px 40px; 
	}
	
	/* Pricing */
	.pricing-content-container table tr td:first-child {
		min-width: initial;
	}
	
	/* Extras */
	.race-results-table td,
	.race-results-table-fix table td {
		padding: 5px 10px;
	}
}

@media only screen and (max-width: 767px) {
	
	.wrapper, .wrap,
	.wrap.alt-1, .wrapper.alt-1,
	.header-1 .home-slider-cta .wrapper,
	.internal-page-wrapper .content-sidebar-wrap {
		width: 503px;
	}
	
	/* Header 1 */
	.header-1 .title-area {
		display: block;
		float: none;
		text-align: center;
	}
	
	.header-1 .header-widget-area {
		float: none;
		text-align: center;
	}
	
	.header-1 .ls-s-1 {
		display:none!important;
	}
	
	.header-1 .header-widget-area .social-icons,
	.header-1 .header-widget-area .phone-num-container {
		margin: 5px auto;
	}
	
	.header-1 {
		padding-top: 0;
	}
	
	.header-1 .home-slider {
		margin-top: -126px;
	}
	
	.header-1 .header-widget-area {
		float: none;
		text-align: center;
		margin: 0 0 0 70px;
	}
	
	.header-1 .title-area {
		margin-top: 0;
	}
	
	.header-1 .home-slider-cta .btn {
		width: 150px;
		padding: 10px;
	}
	
	.header-1 .home-slider-cta .left-side,
	.header-1 .home-slider-cta .middle,
	.header-1 .home-slider-cta .right-side {
		max-width: 33.33%;
	}
	
	.header-1 .home-slider-cta span {
		line-height: 1.4;
	}
	
	.header-1 .home-slider-cta span strong {
		display: block;
	}
	
	/* Service Listing 1 */
	.service-listing-block-1 .blurb {
		max-width: 46%;
	}
	
	.row {
		margin: 0;
	}
	
	.service-block-bottom form input[type="text"],
	.service-block-bottom form input[type="email"] {
		width: 160px;
	}
	
	.service-block-bottom form input[type="submit"] {
		width: 127px;
	}
	
	/* Footer 1 */
	.footer-1 .col-xs-4 {
		width: 100%;
		margin-bottom: 40px;
		float: none;
	}
	
	.footer-1 .col-xs-4:last-child {
		margin-bottom: 0;
	}
	
	/* Internals */
	.internal-header-section .page-title {
		text-align: center;
	}
	
	.header-section-cta .left-side,
	.header-section-cta .right-side {
		width: 50%;
		float: left;
	}
	
	.tab-content {
		padding: 30px;
	}
	
	.tab-content .text-1 {
		font-size: 16px;
	}
	
	/* Internals - Events */
	.page-content-top-1 .left-side {
		padding-top: 0;
		max-width: 100%;
	}
	
	.weather-details-extra .box {
		width: 222px;
	}

	.events-page .nav-tabs > li a {
		padding: 10px 25px;
	}
	
	.about-race-table td,
	.about-race-table .row-2 td {
		padding: 5px 10px;
	}
	
	.image-block-link .title {
		font-size: 21px;
		margin-top: -15px;
	}
	
	.event-internal-top {
		margin-bottom: 50px;
	}
	
	.events-list-bottom {
		margin: 60px 0;
	}
	
	.panel-heading .accordion-toggle:before {
		position: absolute;
		margin-left: -30px;
	}
	
	.panel-heading .accordion-toggle.active:before {
		position: absolute;
		margin-left: -30px;
	}
	
	.ff-custom-accordion .panel-default > .panel-heading + .panel-collapse .panel-body,
	.panel-group .panel-default > .panel-heading + .panel-collapse .panel-body {
		padding: 20px 25px;
	}
	
	/* Internals - Accomodation */
	.accommodation-listing-block .blurb-container .blurb {
		display: block;
		margin: 0 auto 20px;
		width: 455px;
		max-width: 100%;
		float: none;
		overflow: hidden;
	}
	
	.trans-button-1 {
		padding: 11px 70px 10px 30px;
		width: initial;
		max-width: 100%;		
	}
	
	.accommodation .ls-fullwidth .ls-nav-prev,
	.accommodation .ls-fullwidth .ls-nav-next {
		margin-top: 100px !important;
	}
	
	/* Internals - Itineraries */
	.box-style-1 .box-item .inner {
		padding: 19px 15px;
	}
	
	.box-style-1 .box-item .btn {
		padding: 8px 20px;
		width: 140px;
	}
	
	.pricing-content-container table th {
		padding: 5px 10px;
	}
	
	.pricing-content-container table td {
		padding: 6px 15px; 
	}
	
	.pricing-content-container td.btn-container {
		padding: 8px;
	}
	
	.pricing-content-container td.btn-container a {
		position: relative;
	}
	
	.phone-box {
		padding-left: 70px;
	}
	
	/* Internals - Extras */
	.custom-scroll-top {
		height: 17px;
		overflow-x: auto;
		overflow-y: hidden;
	}
	
	.custom-scroll-top .scroll-arrow {
		height: 17px;
	}
	
	.race-results-table-fix .custom-scroll-top {
		display: none;
	}
	
	/* .race-results-table-fix .custom-scroll-top .scroll-arrow {
		width: 580px!important;
	}
	
	.race-results-table-fix .panel-body .custom-scroll-top:first-child {
		display: none;
	} */
	
	.testimonial-content-page {
		padding-left:120px;
	}
	
	/* Plugin Overide */
	/* Bootstrap Shortcode */
	.col-xs-5, .col-xs-7 {
		width: 100%;
	}
	
	.btn-right {
		float: none;
		width: 100%;
		margin: 0 0 10px;
	}
	
}


@media only screen and (max-width: 539px) {
	
	.wrapper, .wrap,
	.wrap.alt-1, .wrapper.alt-1,
	.header-1 .home-slider-cta .wrapper,
	.internal-page-wrapper .content-sidebar-wrap {
		width: 291px;
	}
	
	/* Header 1 */
	.header-1 .title-area {
		position: relative;
		margin: 0 0 20px;
	}
	
	.header-1 .top-text {
		font-size: 20px;
	}

	.header-1 .home-slider {
		margin-top: 0;
	}
	
	.header-1 .header-widget-area {
		margin: 0;
	}
	
	.header-1 .home-slider-cta .wrapper {
		padding: 20px 0 19px;
	}
	
	.header-1 .ls-fullwidth .ls-nav-prev,
	.header-1 .ls-fullwidth .ls-nav-next {
		margin-top: 0;
	}

	.header-1 .home-slider-cta .left-side,
	.header-1 .home-slider-cta .middle,
	.header-1 .home-slider-cta .right-side {
		max-width: 100%;
		width: 100%;
		text-align: center;
	}
	
	.header-1 .home-slider-cta .middle {
		margin: 10px 0;
	}
	
	.header-1.home {
		background-image: url(../images/internal-header-bg.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}
	
	.header-1 .home-slider {
		display: none;
	}
	
	.header-1 .home-slider-cta {
		position: relative;
	}
	
	/* Service Listing 1 */
	.service-listing-block-1 .blurb {
		max-width: 100%;
	}
	
	.service-block-bottom form input[type="text"],
	.service-block-bottom form input[type="email"],
	.service-block-bottom form input[type="submit"] {
		width: 100%;
	}
	
	.service-block-bottom form input[type="text"],
	.service-block-bottom form input[type="email"] {
		margin: 0 0 14px;
	}
	
	.service-block-bottom form {
		padding: 20px 15px 18px;
	}
	
	/* Internals */
	.header-section-cta .left-side,
	.header-section-cta .right-side {
		width: 100%;
		float: none;
		text-align: center;
	}
	
	.header-section-cta .left-side {
		margin-bottom: 15px;
	}
	
	.internal-header-section .page-title {
		font-size: 35px;
	}
	
	/* Testimonial Page */
	.testimonial-box {
		background: #e7d3c6 !important;
	}

	.testimonial-content-page {
		padding: 25px 10px 25px 10px !important;
	}
	
	/* Events */
	.weather-details-extra {
		float: none;
		width: 100%;
	}
	
	.weather-details-extra .box {
		padding: 30px 40px 0;
		width: 100%;
	}
	
	.page-content-top-1 .weather-widget-container {
		float: none;
	}
	
	.weather-widget-container .awesome-weather-wrap {
		width: 100%!important;
	}
	
	.page-content-top-1 .left-side,
	.page-content-top-1 .right-side	{
		float: none;
		width: 100%;
	}
	
	.image-block-links-container .image-block-link {
	
	}
	
	.image-block-link a {
		width: 291px;
		max-width: 100%;
		height: 100px;
		overflow: hidden;
	}
	
	.image-block-link img {
		position: absolute;
		left: 50%;
		margin-left: -400px;
		max-width: initial;
		height: 100px;
	}
	
	.image-block-link .title:before {
		display: none;
	}
	
	.nav-tabs > li {
		width: 100%;
	}
	
	.about-race-table {
		display: block;
		overflow-x: auto;
	}
	
	table .text-1 {
		font-size: 22px;
	}
	
	.trans-button-1 {
		min-width: initial;
	}
	
	/* Accomodation */
	.accommodation .ls-fullwidth .ls-nav-prev,
	.accommodation .ls-fullwidth .ls-nav-next {
		margin-top: 70px !important;
	}
	
	.box-spacer {
		margin-top: 120px;
	}
	
	/* Itineraries */
	.itineraries-list-container .box-item .left-icon,
	.pricing-list-container .box-item .left-icon {
		height: 100%;
		background-repeat: no-repeat;
		background-position-y: 50%;
	}
	
	.itineraries-list-container .box-item .inner,
	.pricing-list-container .box-item .inner {
		display: inline-block;
		padding: 20px 19px 18px;
		height: initial;
	}
	
	.box-item .left,
	.box-item .right {
		float: none;
	}
	
	.box-item .left {
		margin-bottom: 15px;
	}
	
	.entry-content h2 > br {
		display: none;
	}
	
	.content-section-type-1 {
		padding: 10px;
	}
		
	.options-table tr td {
		display: block;
		width: 100%;
		margin-bottom: 5px;
		text-align: center;
	}
	
	.options-table .num-container,
	.options-table .option-text,
	.options-table .full-btn-container {
		width: 100%;
	}
	
	.options-table .option-title {
		border-right: 2px solid;
	}
	
	.options-table .option-text {
		border-left: 2px solid;
	}
	
	/* Pricing */
	.pricing-content-container {
		font-size: 11px;
	}
	
	.pricing-content-container table td,
	.pricing-content-container table th {
		padding: 5px;
	}
	
	.pricing-content-container th.main-heading {
		font-size: 20px;
	}
	
	.pricing-content-container tr.spacing {
		padding: 20px;
	}
	
	/* Extras */
	.phone-box {
		padding-left: 0;
	}
	
	.pb-name,
	.pb-company-name {
		padding-left: 89px;
	}
	
	.btn-right {
		padding: 10px;
		font-size: 14px;
	}
}




/*Photo Gallery responsive*/
@media only screen and (max-width: 1024px) {

}

@media only screen and ( max-width: 1023px ) {
	/* target 768 - 1023 */
}

@media only screen and (max-width: 767px) {
	/* target 540 - 767 */
	.ngg-description p {
		font-size: 12px;	
	}
	.photo-gallery .ngg-albumtitle a {
		font-size: 13px;
	}
}

@media only screen and (max-width: 539px) {
	/* target 320 - 539 */
	html>body.photo-gallery .ngg-album {
		max-width: 100%;
	}
}
