/* =Responsive Structure
----------------------------------------------- */


/* =================== */
/* = MAX-WIDTH 1024px = */
/* =================== */


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

	.tour-sidebar-search:before { display: none; }

	body 					{ font-size: 16px; min-width: 1024px; max-width:1024px; }
	.defaultContentWidth 	{ max-width: 1024px; }
	.wide #content 			{ max-width: 664px; }
	.narrow #content 		{ max-width: 664px; }
	#page.narrow 			{ max-width: 1024px; }

	.entry-content p 		{ line-height: 24px; margin-bottom: 30px; }
	
	#page.narrow .page-shadow { margin-bottom: 0; }

	.rev_slider, 
	.rev_slider_wrapper 	{ min-height: 510px; height: auto !important; width: auto !important; max-width: 1024px !important; }


	ul.social-icons, 						
	.wide ul.social-icons 	{ right: 50px; }

	.ait_tour_list-wrap 	{ margin: 0 -20px; }

	.advertising-box img 		{ width: 90%; }
	#main .advertising-box img 	{ width: 100%; }

	header .info 				{ font-size: 14px; left: 50px; }

	#site-generator nav 		{ float: none; padding: 15px 0; }

	.alignnone 					{ width: 100%; }

	/* Menu */

	#access 					{ border-radius: 0; float: none; margin: 0 auto; width: auto; }
	#access ul 					{ text-align: center; }
	#access .sub-menu a 		{ text-align: left; }


	#dir-holder input.dir-searchinput-date { width: 100%; }



	/* ait-shortcode-items-list */

	.ait-shortcode-items-list 					{ margin: 0; }

	.ait-shortcode-items-list .thumbnail > img { height: auto; max-width: 100%; width: 100%; }

	.ait-shortcode-items-list .item-title 	{ display: block; text-align: center; }
	.ait-shortcode-items-list .price 		{ display: block; float: none; text-align: center; }
	.ait-shortcode-items-list .price:after,
	.ait-shortcode-items-list .price:before { display: none; }


	/* Comlumns Shortcodces */

	.sc-column.one-half, .sc-column.one-half-last 			{ width: 50%; }
	.sc-column.one-third, .sc-column.one-third-last 		{ width: 33.33%; }
	.sc-column.two-third, .sc-column.two-third-last 		{ width: 66.66% }
	.sc-column.one-fourth, .sc-column.one-fourth-last 		{ width: 25%; }
	.sc-column.three-fourth, .sc-column.three-fourth-last 	{ width: 75%; }

	.sc-column.one-half, .sc-column.one-half-last,
	.sc-column.one-third, .sc-column.one-third-last,
	.sc-column.two-third, .sc-column.two-third-last,
	.sc-column.one-fourth, .sc-column.one-fourth-last,
	.sc-column.three-fourth, .sc-column.three-fourth-last { 
		-moz-box-sizing: border-box; box-sizing: border-box; -webkit-box-sizing: border-box; margin: 0; padding-right: 5%; }

	.sc-column.one-half-last,
	.sc-column.one-third-last,
	.sc-column.two-third-last,
	.sc-column.one-fourth-last,
	.sc-column.three-fourth-last { padding-right: 0; }


	/* Top destinations */

	.ait-shortcode-items-top .item-excerpt { font-size: 15px; line-height: 20px; }


	/* Deals Shortcode */

	.ait-shortcode-items-list .item-title,
	.ait-shortcode-items-list .price { font-size: 15px; }

	/* Item Page */

	.item-address { font-size: 15px; }


	/* Hotel Search Results */

	ul.items li.item .thumbnail { display: inline-block; margin-bottom: 0; }

	.desc-text 			{ font-size: 14px; }


	/* Widgets */

	footer .widget-area 			{ margin: 0 2%; }
	.widgets .widget-container 		{ -moz-box-sizing: border-box; box-sizing: border-box; padding: 0 2% 40px !important; width: 50%; }
	aside.widget_text.widget img 	{ max-width: 49%; height: auto; }

	#ait-dir-register-shortcode input 				{ width: 96%; }
	#ait-dir-register-shortcode label 				{ display: block !important; }
	.wp-user-form .register-role select 			{ margin-left: 0; width: 100%;}
	#ait-dir-register-shortcode .register-username 	{ margin-right: 0; }
	#ait-dir-register-shortcode .register-username, 
	#ait-dir-register-shortcode .register-email 	{ display: block; }

	footer .widgets .postitem h3 					{ font-size: 15px !important; }
	footer .widgets .widget_posts p small 			{ font-size: 14px; }



	/* Contact */

	.wpcf7-textarea-wrapper { left: auto; position: relative !important; top: auto; }
	.wpcf7 input, 
	.wpcf7 textarea 		{ width: 90%; }

	/* Footer */

	#footer-text 	{ float: none; padding: 15px 25px; }
	nav.footer-menu { float: none; padding: 0 25px 15px; }

	.frame pre, 
	.frame pre code	{ white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; }

}




/* =================== */
/* = MAX-WIDTH 768px = */
/* =================== */


@media all and (max-width: 768px) {

	body 					{ min-width: 480px; max-width:768px; width: 480px; }
	.defaultContentWidth 	{ max-width: 768px; }
	.wide #content 			{ max-width: 387px; }
	.narrow #content 		{ max-width: 408px; }
	#page.narrow 			{ max-width: 768px; }

	#logo 		{ float: none; padding: 20px 0; max-width: 100%; }
	#logo img 	{ margin: 0 auto; }
	.wide #logo { margin-left: 0; }


	header .info { background-image: none; left: auto; padding: 20px 0; position: relative; text-align: center; top: auto; width: 100%; }

	ul.social-icons 		{ position: relative; right: auto; text-align: center; top: auto; width: 100%; }
	.social-icons li 		{ display: inline-block; float: none; margin: 0 10px; }
	.wide ul.social-icons 	{ right: auto; }

	#access a 				{ margin: 0 5px; padding: 15px 5px; }

	.item-info-share 		{ float: none; }
	.item-info 				{ margin: 0 0 20px; width: 100%; }

	.ui-tabs .ui-tabs-nav li { display: inline-block; float: none !important; width: 48%; }
	.ui-tabs .ui-tabs-nav li.ui-tabs-active { margin: 0; padding: 0; }

	ul.items .description .desc-head .item-price { border-radius: 0 4px 0 4px; left: -85px; min-width: 45px; right: auto; text-align: right; top: 80px; }


	/* Map Search */

	#directory-main-bar-wrapper .tour-sidebar-search 	{ position: relative; right: auto; top: auto; }
	#directory-main-bar-wrapper #dir-search-inputs,
	#directory-main-bar-wrapper #dir-search-button 		{ -moz-box-sizing: border-box; box-sizing: border-box; max-width: 100%; width: 100%; }
	#directory-main-bar-wrapper #dir-search-advanced 	{ width: 50%; }

	#directory-main-bar-wrapper #dir-search-button 		{ padding: 25px 40px; }

	#directory-main-bar-wrapper #dir-holder input, 
	#directory-main-bar-wrapper #dir-holder input#dir-searchinput-category, 
	#directory-main-bar-wrapper #dir-holder input#dir-searchinput-location { width: 49%; }

	.onecolumn .sc-column.one-third, .onecolumn .sc-column.one-third-last { width: 33.33%; }
}


@media all and (max-width : 726px) { 
	dl.item-address dt,
	dl.item-address dd { padding-left: 0; width: 100%; }

	.rating-send-form,
	.rating-send-form .rating-ipnuts,
	.rating-send-form .rating-details,
	.rating-send-form .ratings { -moz-box-sizing: border-box; box-sizing: border-box; display: inline-block; width: 100%; }

	.rating-send-form .rating { float: none; }

}

@media all and (max-width : 700px) { 

	.item-share 	{ margin: 0 0 10px; width: 100%; }
	.social-item 	{ display: block; margin-bottom: 10px; width: auto; }

	.detail > input, 
	.detail > textarea { width: 90%; }
}



/* =================== */
/* = MAX-WIDTH 480px = */
/* =================== */


@media all and (max-width: 497px) {

	body 					{ min-width: 320px; max-width:480px; }
	.wide #content 			{ max-width: 430px; }
	.narrow #content 		{ max-width: 430px; }
	#page.narrow 			{ max-width: 480px; }

	.defaultContentWidth,
	#directory-search .defaultContentWidth 	{ max-width: 480px; width: auto; }
	#directory-search .reset-ajax 			{ position: absolute; left: auto; right: 0; top: 0; }

	#main,
	#wrapper-row,
	#primary,
	#secondary 			{ display: block; }
	#primary 			{ padding-bottom: 20px; }
	#colophon 			{ padding: 20px 0 0; }

	#main 				{ border: 0; width: 100%; }
	#content 			{ max-width: 430px; width: auto; padding: 50px 25px 0; }
	.onecolumn #content { padding: 30px 25px 0; }
	#secondary 			{ margin: 0; padding-top: 30px; max-width: 480px; width: auto; }
	#supplementary 		{ padding: 30px 25px 10px; }

	.mainmenu 			{ float: none; left: auto; }

	.rev_slider, 
	.rev_slider_wrapper { max-width: 480px !important; min-height: 300px; }
	.rev_slider_wrapper .tp-caption p { width: 150px !important; }


	.tour-sidebar-search { margin: -30px 0 50px 0; width: auto; }

	.widgets .widget-container { padding: 0 0 40px 0 !important; max-width: 480px; width: 100% !important; }

	.blog #main h2 		{ line-height: 24px; }
	.entry-content p 	{ font-size: 18px; letter-spacing: 0.02em; line-height: 28px; }
	#content nav 		{ padding-bottom: 40px; }

	#site-generator nav { float: none; }

	.item-image 		{ margin: 0 -25px 30px; padding: 40px 25px 7px; }

	.comments-container { margin: 0 -25px; padding: 40px 25px 1px; }

	.jcarousel-prev, .jcarousel-next { display: block !important; }

	/* Menu */

	#access 			{ float: none; margin: 0 auto; max-width: 480px; padding: 20px 0; text-align: center;}
	#access ul,
	.assistive-text 	{ display: none; }
	.responsive-menu 	{ display: inline; font-size: 15px; height: 40px; padding: 10px; }


	.ait-shortcode-items-list { border-right: 0; }
	.ait-shortcode-items-list .thumbnail > img { width: 100%; }

	/* Directory Search */

	#dir-search-inputs 	{ border: 0; padding: 50px 30px 0; width: 420px; max-width: 420px; }
	#dir-holder 		{ background: none; border: 0; border-radius: 0; box-shadow: none; }
	#dir-holder input,
	#dir-holder input#dir-searchinput-category, 
	#dir-holder input#dir-searchinput-location { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin-bottom: 15px; padding: 9px 20px; width: 49%; max-width: 100%; min-width: auto; }


	#dir-search-button 			{ padding: 20px 0; text-align: center; width: 100%; }
	ul.ui-autocomplete 			{ width: 405px !important; }
	.dir-searchinput-settings 	{ background-color: #efefef; border-radius: 20px; float: none; position: absolute; top: 156px; width: 36px; }
	#dir-holder input.dir-searchinput-date { width: 49%; }

	/* IE9 - Placeholder */
	#dir-holder span label[for=dir-searchinput-text] 		{ left: 10px !important; top: 10px !important; font-size: 14px !important; border: none !important; }
	#dir-holder span label[for=dir-searchinput-category] 	{ left: 10px !important; top: 10px !important; font-size: 14px !important; border: none !important; }
	#dir-holder span label[for=dir-searchinput-location] 	{ left: 10px !important; top: 10px !important; font-size: 14px !important; border: none !important; }

	span.for-dir-searchinput-text 		{ width: 420px; }
	input.dir-searchinput-text 			{ width: 420px; }
	span.for-dir-searchinput-location 	{ position: relative !important; left: auto; }
	span.for-dir-searchinput-category 	{ position: relative !important; left: auto; }

	#secondary #dir-search-advanced 	{ left: auto; margin: 0 0 60px; position: relative; top: auto; width: 100%; }

	/* Advanced Search */

	#dir-search-advanced 		{ left: 0; right: auto; top:-209px; }
	#dir-search-advanced:before { left: 10px; right: auto;}

	#dir-search-button input, 
	.trip-order 				{ width: 40%; }

	/* Content */

	.items .description 		{ width: auto; }
	#searchform #s, 
	#search-form .s 			{ width: 81%; max-width: 340px; }
	#searchform #searchsubmit, 
	#search-form .searchsubmit 	{ width: 10%; padding: 0; }

	/* Widgets */

	aside.widget 				{ padding: 0 25px 30px; }
	#main aside h3.widget-title { margin: 0 -25px 20px; padding: 0 25px; }

	footer .widget-area 		{ margin: 0; }

	.widgets h2.widget-title 	{ font-size: 27px; line-height: 30px; text-align: center; }
	ul.subcategories li 		{ margin-right: 0; max-width: 480px; }

	.widget_recent_comments li 	{ border-bottom: 1px dotted #CFCFCF; }

	.widgets .widget_archive li, .widgets .widget_categories li, .widgets .widget_links li, .widgets .widget_meta li, .widgets .widget_nav_menu li, .widgets .widget_pages li, .widgets .widget_recent_entries li, .widgets .widget_rss li, .widgets .widget_submenu li, .widgets .widget_recent_comments li 
								{ border-width: 0 0 1px 0; }


	/* Shortcodes */

	.entry-content img, 
	.comment-content img,
	.widget img 	{ height: auto; width: 100%; }

	img.ajax-loader { width: auto; }

	.sc-column.three-fourth, 
	.sc-column.three-fourth-last,
	.sc-column.one-third, 
	.sc-column.one-third-last,
	.sc-column.one-half, 
	.sc-column.one-half-last,
	.sc-column.two-third, 
	.sc-column.two-third-last,
	.sc-column.one-fourth, 
	.sc-column.one-fourth-last,
	.ui-widget-content .sc-column.one-third, .ui-widget-content .sc-column.one-third-last,
	.sc-column.three-fourth, .sc-column.three-fourth-last, .sc-column.one-third, .sc-column.one-third-last, .sc-column.one-half, .sc-column.one-half-last, .sc-column.two-third, .sc-column.two-third-last, .sc-column.one-fourth, .sc-column.one-fourth-last,
	.onecolumn .sc-column.one-third, .onecolumn .sc-column.one-third-last { width: 100%; }

	.sc-column.one-half, .sc-column.one-half-last, .sc-column.one-third, .sc-column.one-third-last, .sc-column.two-third, .sc-column.two-third-last, .sc-column.one-fourth, .sc-column.one-fourth-last, .sc-column.three-fourth, .sc-column.three-fourth-last { padding-right: 0; }

	.fb_iframe_widget span,
	.twtr-doc 							{ max-width: 403px !important; }

	.rev_slider iframe 					{ width: 240px !important; }
	.rev_slider_wrapper .tp-caption p 	{ width: 350px !important; }


	/* Ait-shortcode-items-top .item Shortcode */

	.ait-shortcode-items-top 					{ background: none; margin: 0 auto; padding: 35px 0 30px; }
	.ait-shortcode-items-top .title 			{ font-size: 24px; margin: 0 0 20px; }
	.ait-shortcode-items-top .item 				{ margin: 0 20px 40px; width: 100%; }
	.ait-shortcode-items-top .item-thumbnail 	{ height: auto; width: 100%; }
	.ait-shortcode-items-top .item-title 		{ font-size: 17px; padding-bottom: 15px; }
	.ait-shortcode-items-top .item-price		{ bottom: 10px; }
	.ait-shortcode-items-top .item-price 		{ font-size: 19px; padding: 6px 10px; }

	.ait-shortcode-items-top .items-container { margin: 0 auto; }

	.ait-shortcode-items-top .items > li:nth-child(2n+1) { background: none;}


	.rating-system .rating-ipnuts .star 		{ margin: 7px 0; }
	.rating-system .rating .stars				{ float: right; }

	/* Ait-shortcode-items-list */

	.ait-shortcode-items-list .item-title 		{ display: inline-block; }
	.ait-shortcode-items-list .price 			{ display: inline-block; float: right; }
	.ait-shortcode-items-list .title 			{ font-size: 20px; padding-bottom: 10px; text-align: center; }
	.ait-shortcode-items-list .price:after, 
	.ait-shortcode-items-list .price:before 	{ display: block; }


	/* Item Share */

	.item-info-share 	{ float: none; margin-bottom: 20px; width: 100%; }
	.item-info 			{ width: 100%; margin: 0 0 20px; }
	dl.item-address dt 	{ font-size: 15px; width: 80px; }
	dl.item-address dd 	{ font-size: 15px; }


	/* List Items */

	ul.items > li 	{ margin: 0 -25px; padding: 30px 25px 25px; }

	.item-share 	{ width: auto; }

	.fb_iframe_widget span,
	.twtr-doc 		{ max-width: 374px !important; }

	.entry-content .sc-notification p { margin-bottom: 0; }

	.message.error { display: block; margin: 10px 0 0 0; }


	/* Item Availability Table */

	.ui-tabs .ui-tabs-nav li { width: 100%; }

	table.style2 tbody th, table.style2 tbody td 		{ padding: 7px 2px 5px; }
	#table-tour-offers.style2 tbody tr td.o-price,
	#table-tour-offers.style2 thead tr th.res-amount 	{ max-width: 34px; min-width: auto; }

	#table-tour-offers.style2 tbody tr td.o-date,
	#table-tour-offers.style2 tbody tr td.o-content 	{ width: 11px; }

}