
@media only screen and (min-width: 768px) and (max-width: 978px){

#iview {
margin: 25px 0px 15px 0px!important;
float: left!important;
max-width: 718px;
}

#banner_header_728{
margin: 15px 0px 15px 0px!important;
float: left!important;
max-width: 718px;
height: auto;
}

#banner_header_728 img{
max-width: 718px;
height: auto;
}

#menu-wrap{
	max-width: 100%;
	width: 100%;
}

#mainMenu{
	float: none;
	width: auto;
	max-width: auto;
	display: block;
	margin: 0 auto;
}

#mainMenu ul {
display: none;
}

#feat_area_flex  .slides img {
width: 100%;
height: auto;
display: block;
}

#feat_area_flex .flex-caption{
max-width: 100%;
}

#feat_area_royal{
width: 718px;
}

#sidebar-footer{
width: 100%;
} 

.footer-widget{
width: 47%;
margin: 0px;
display: inline-block;
padding: 0 0 0 2%;
}

#sidebar-footer .widget_recent_posts li{
width: 330px;
margin: 2px 0 10px 0px;
}

#sidebar-footer .widget_thumbnail{
width: 100px;
height: 80px;
margin-right: 20px;
}

#sidebar-footer .widget_thumbnail img{
width: 100px;
height: 80px;
}

#sidebar-footer .widget_info{
width: 200px;
}

#sidebar-footer .flickr_wrap {
width: 340px;
display: inline-block;
height: 100%;
}

#sidebar-footer .flickr_wrap img{
width: 74px;
height: 74px;
margin: 0px 9px 10px 2px;
}

#sidebar-footer .twitter_list{
width: 330px!important; 
margin: 0px 0 10px 0px;
}

#crumbs{
max-width: 480px;
}

#credit {
color: #999;
position: relative;
display: inline-block;
float: left;
width: 100%;
padding: 10px 0 10px 10px;
font-size: 12px;
}

#content {
float: left;
display: inline-block;
}

#index_content #content {
width: 395px;
}

.nav-previous a{
margin-left:-215px;
}

.single_post .single_thumbnail img{
width: 100%;
height: auto;
}

.single_post .slider_format {
width: 390px!important;
height: auto!important;
}

.single_post .slider_format .slides img{
width: 390px!important;
height: auto!important;
}

.single_post .slider_format .flex-direction-nav{
width: 365px; 
bottom: 63px;
}

.commentlist p{
width: 66%;
}

.children .comment p{
width: 64%;
}

#archive_left_col{
width: 180px;
}

#archive_right_col{
width: 180px;
}

.error404_content {
width: 100%;
}


.success, .attention, .warning, .info, .question, .quotes, .comment_box, .color_box, .box_style_one, .box_style_two{
width: 85%;	
}

.single_post .success, .single_post .attention, .single_post .warning, .single_post .info, .single_post .question, .single_post .quotes, .single_post .comment_box, .single_post .color_box, .single_post .box_style_one, .single_post .box_style_two {
width: 73%;
}

.testimonials_style_one, .testimonials_style_two {
width: 87%;	
}

.st_horizontal .testimonials_style_one, .st_horizontal .testimonials_style_two {
width: 93%!important;	
}

.single_post .testimonials_style_one, .single_post .testimonials_style_two{
width: 75%;	
}

.single_title h1{
margin: 0px 0px 15px 0px;
max-width: 350px;
line-height: 25px;
font-size: 23px!important;
}

.post_one_column img{
display: inline-block;
width: 240px;
height: 140px;
margin: 0px;
padding: 0px;
float: left;
box-shadow: none!important;
border: none;
}

.single_post .carousel_post{
width: 195px;
}

.carousel_post p{
min-height: 80px;
}

.carousel_post img{
width: 194px!important;
height: 110px!important;
}

.post_mini_one_column h1 a{
display: inline-block;
margin-bottom: 5px;
}

.post_nr {
width: 100%;
}

#soc_book{
margin: 0px 20px 0 20%;
}

#gallery_box{
margin: -20px 0 25px 0px;
}

#gallery_box img{
width: 230px;
height: 215px;
}

#galleria{ 
width: 100%; 
max-width: 458px; 
height: 300px; 
}

.galleria-container img {
height: 85%!important;
max-width: 380px!important;
margin: 18px 0 0 -5px!important;
}

.galleria-thumbnails-container img {
height: 100%!important;
margin: 0px!important;
}

.onehalf img, .one_half_last img, .one_third img, .one_third_last img, .one_fourth img, .one_fourth_last img, .one_fifth img , .one_fifth_last img, .two_third img, .two_third_last img, .three_fourth img, .three_fourth_last img{
max-width: 100%!important; 
}


/******** Added ********/

#linkBack{
	height: auto;
	width: auto;
	top: 0;
}

#linkBack .dark p{
	padding: 0 4px;
}

}

/***********************************************************/
/***********************************************************/
/***********************************************************/

/***********************************************************/
/***********************************************************/
/***********************************************************/


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

	#header .inner{
		height: auto;
		min-height: auto;
	}

	#header {
		height: auto;
	}
	 
	#banner-header{
	width: 420px;
	height: 50px;
	display: inline-block;
	margin-top: 30px;
	float: left;
	}

	#banner-header img{
	width: 420px;
	height: auto;
	}

	#iview {
	margin: 15px 0px 15px 0px!important;
	float: left!important;
	width: 420px!important;
	}

	#banner_header_728{
	margin: 15px 0px 0px 0px!important;
	float: left!important;
	}

	#banner_header_728 img{
	width: 420px;
	height: auto;
	}

	#mainMenu ul {
	display: none;
	}



	#header_reg_box{
	max-width: 160px;
	}


	#feat_area_flex{
	width: 100%;
	height: auto;
	}

	#feat_area_flex  .slides img {
	width: 100%;
	height: 210px;
	}

	#feat_area_royal{
	width: 418px;
	}

	.videoGallery .rsTmb {
	padding: 12px;
	}

	.videoGallery .rsThumbs .rsThumb {
	width: 140px;
	min-height: 75px;
	}

	.videoGallery .rsThumbs {
	width: 140px;
	}

	.videoGallery .rsThumbs h5{
	line-height: 20px;
	font-size: 13px;
	}

	#crumbs{
	width: 100%;
	line-height: auto;
	}

	.widget_recent_posts li{
	width: 96%;
	margin: 2px 0 5px 0px;
	}

	#sidebar-right .flickr_wrap {
	width: 420px;
	}

	#sidebar-right .flickr_wrap img{
	width: 75px;
	height: 75px;
	}

	#sidebar-right .twitter_list {
	width: 420px;
	}

	#sidebar-footer .twitter_list{
	width: 410px;
	}

	#sidebar-right .menu{
	margin: 0px 0 0 0px;
	width: 100%;
	}

	#sidebar-footer{
	width: 100%;
	} 

	#fake-end{
		height:0px;
		margin:0px;
		border:0px !important;
	}

	.footer-widget{
		display: block;
		margin: 0 auto;
		width: 95%;
		padding: 0;
		overflow: hidden;
	}

	.footer-heading h3{
		padding-right: 0;
	}

	.footer-heading {
	width: 100%;
	}

	#footer_box{
	margin-top: 10px;
	position: relative;
	}

	#sidebar-footer .widget_recent_posts li{
	width: 410px;
	margin: 2px 0 5px 0px;
	}

	#sidebar-footer .widget_info{
	width: 270px;
	margin: 3px 0px 0 0px;
	}

	#sidebar-footer .widget_thumbnail{
	width: 100px;
	height: 80px;
	margin-right: 20px;
	}

	#sidebar-footer .widget_thumbnail img{
	width: 100px;
	height: 80px;
	}

	#sidebar-footer .flickr_wrap {
	width: 410px;
	}

	#sidebar-footer .flickr_wrap img{
	width: 73px;
	height: 73px;
	}


	.search{
	display: none;
	}

	#index_content #content {
	width: 420px;
	}

	.nav-previous a{
	margin-left: -230px;
	}

	#infscr-loading{
	left: 65%;
	}

	.single_post .single_thumbnail img{
	width: 100%;
	height: auto;
	}

	.single_post .slider_format {
	width: 418px!important;
	height: auto!important;
	}

	.single_post .slider_format .slides img{
	width: 418px!important;
	height: auto!important;
	}

	.single_post .slider_format .flex-direction-nav{
	width: 393px; 
	bottom: 66px;
	}

	.commentlist p{
	width: 66%;
	}

	.children .comment p{
	width: 64%;
	}

	#archive_left_col{
	width: 190px;
	}

	#archive_right_col{
	width: 190px;
	}

	.error404_content {
	width: 100%;
	}


	.success, .attention, .warning, .info, .question, .quotes, .comment_box, .color_box, .box_style_one, .box_style_two{
	width: 72%;	
	}

	.single_post .success, .single_post .attention, .single_post .warning, .single_post .info, .single_post .question, .single_post .quotes, .single_post .comment_box, .single_post .color_box, .single_post .box_style_one, .single_post .box_style_two {
	width: 72%;
	}

	.testimonials_style_one, .testimonials_style_two {
	width: 80%;	
	}

	.single_post .testimonials_style_one, .single_post .testimonials_style_two{
	width: 74%;	
	}

	.st_horizontal .testimonials_style_one, .st_horizontal .testimonials_style_two {
	width: 87%!important;	
	}

	.icon_phone_small,.icon_iphone_small,.icon_comments_small,.icon_pointer_small,.icon_mail_small,.icon_pen_small,.icon_arrow_small,.icon_user_small,.icon_users_small,.icon_add_user_small,.icon_contact_small,.icon_heart_small,.icon_star_small,.icon_like_small,.icon_comment_small,.icon_quote_small,.icon_print_small,.icon_flag_small,.icon_settings_small,.icon_cup_small,.icon_camera_small,.icon_view_small,.icon_clock_small,.icon_lock_small,.icon_ok_small,.icon_not_ok_small,.icon_block_small,.icon_info_small,.icon_help_small,.icon_expansion_small,.icon_narrowing_small,.icon_up_small,.icon_down_small,.icon_home_small,.icon_book_small,.icon_search_small {
	margin: 0 100% 8px 36%;
	}

	.single_title h1{
	margin: 0px 0px 15px 0px;
	max-width: 330px;
	line-height: 23px;
	font-size: 23px!important;
	}

	.post_one_column img{
	display: inline-block;
	width: 240px;
	height: 140px;
	margin: 0px;
	padding: 0px;
	float: left;
	box-shadow: none!important;
	border: none;
	}

	.carousel_post{
	width: 185px;
	}

	.carousel_post img{
	width: 188px!important;
	height: 110px!important;
	}

	.carousel_post p{
	min-height: 60px;
	}

	.post_mini_one_column h1 a{
	display: inline-block;
	margin-bottom: 5px;
	}

	.post_nr {
	width: 100%;
	}


	#soc_book{
	margin: 0px 0px 0 3%;
	}

	#gallery_box{
	margin: -20px 0 25px 0px;
	}

	#gallery_box img{
	width: 230px;
	height: 210px;
	}

	#galleria{ 
	width: 100%; 
	max-width: 478px; 
	height: 300px; 
	}

	.galleria-container img {
	height: 80%!important;
	max-width: 300px!important;
	margin: 18px 0 0 5px!important;
	}

	.galleria-thumbnails-container img {
	height: 100%!important;
	margin: 0px!important;
	}

	.single_text .flexslider_short {
	width: 385px!important;
	}

	.single_text .flexslider_short li img {
	min-width: 385px!important;
	}

	.error404_content .search{
	margin: 10px 0 20px -7px;
	float: left;
	display: inline-block;
	}

	.single-entry .search{
	float: left;
	display: inline-block;
	}

	.onehalf img, .one_half_last img, .one_third img, .one_third_last img, .one_fourth img, .one_fourth_last img, .one_fifth img , .one_fifth_last img, .two_third img, .two_third_last img, .three_fourth img, .three_fourth_last img{
	max-width: 100%!important; 
	}

	.st_horizontal .video-wrapper {
	border: 1px solid #e1e1e1;
	background: #fff; 
	width: 100%;
	display: inline-block;
	padding: 5px;
	box-shadow: 0px 1px 4px #d1d1d1;
	-webkit-box-shadow: 0px 1px 4px #d1d1d1;
	-moz-box-shadow: 0px 1px 4px #d1d1d1;
	}

	.video-wrapper {
	border: 1px solid #e1e1e1;
	background: #fff; 
	width: 97%;
	display: inline-block;
	padding: 5px;
	box-shadow: 0px 1px 4px #d1d1d1;
	-webkit-box-shadow: 0px 1px 4px #d1d1d1;
	-moz-box-shadow: 0px 1px 4px #d1d1d1;
	}

	.video_box_shadow{
	width: 97%;
	}

	.st_horizontal #commentsText{
	height: 100px; 
	width: 200px!important;
	}

	.gecko .post_thumbnail {
	margin: 0px!important;
	}

	.gecko .single_post .single_thumbnail{
	margin-bottom: 0px!important;
	}

	#title_box{
		text-align: center;
		height: 68px;
		width:100%; 
		margin:0 auto;
		float:none;
	}


	#title_box img {
		width:90%;
		float:none;
		margin:8px auto;
	}

	.flag-wrap{
		float:none;
		margin:0 auto;
		width:294px;
	}

	#linkBack .dark {
		width:100%;
		padding:1px 0px;
		display:block;
	}

	#menu_box{
		width:100%;
		position: fixed;
	}

	#mainMenu{
		display: inline-block;
		float: none;
		margin: 0 auto;
		text-align: center;
		width: 100%;
	}

	/* ----- 2017 Single Post ----- */

	.single_title h1{
		line-height: normal;
	}

	.sim_post_header,
	#reply-title{
		text-indent: 10px;
	}

	.form-submit{
		text-align: center;
	}

	/* ----- Comments ----- */
	#commentform{
		padding: 0 10px;
	}


}


/***********************************************************/
/***********************************************************/
/***********************************************************/

/***********************************************************/
/***********************************************************/
/***********************************************************/

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

	.flexslider,
	#feat_area_flex{
		display: none!important;
	}

	.right-widget{
		width: 100%;
	}

	a.upsellBanners img{
		width: 100%;
	}

	.right-widget a img{
		height: auto!important;
	}

	.right-widget .search{
		width: 100%;
		margin-bottom: 20px;
		padding-right: 0;
		padding-left: 0;
	}

	.right-widget input#s{
		width: 80%;
		padding-left: 5px;
		float: left;
	}

	.video_desc{
		width: 100%;
	}

	#sidebar-right{
		display: none;
	}

	#searchsubmit{
		width: 24px;
		float: left;
		position: static;
	}

	.banners a img{
		width: 100%;
	}

	.video_widget iframe{
		width: 100%;
	}

	.video_widget{
		width: 100%;
	}

	#content{
		width: 100%;
	}

	.single_title h1{
		width: 100%;
		max-width: 100%;
	}

	/* --- Single Post Content --- */

	#content_bread_panel{
		width: 100%;
	}

	.single_post{
		width: 100%;
	}

}

/***********************************************************/
/***********************************************************/
/***********************************************************/

/***********************************************************/
/***********************************************************/
/***********************************************************/

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

	#commentform label{
		position: static;
		width: 100%;
		margin-left: 0;
	}

	input#author{
		margin-top: 0;
	}

	#commentform input{
		width: 100%;
		padding-right: 0!important;
		padding-left: 0!important;
	}

	.form-submit #submit.submit{
		width: auto;
	}

}

/***********************************************************/
/***********************************************************/
/***********************************************************/

/***********************************************************/
/***********************************************************/
/***********************************************************/

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

	/* Social Menu */
	#sidebar-right{
		margin-top: 0px;
	}

	#crumbs{
		margin: 0;
		line-height: normal;
	}

}

/***********************************************************/
/***********************************************************/
/***********************************************************/

/***********************************************************/
/***********************************************************/
/***********************************************************/


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

	#linkBack,
	#sidebar-footer .widget_thumbnail{
		display: none;
	}

	#sidebar-footer .widget_info,
	#sidebar-footer .widget_recent_posts li{
		width: 100%;
	}

	/* ---------- Home ---------- */

	#sidebar-right{
		margin-left: 0px;
	}

	.video_widget{
		margin: 0 auto;
	}

	.right-widget .search{
		float: none;
	}

}

@media screen and (max-width:400px) {
	#content{
		width: 100%;
		float: none;
	}

	#sidebar-right{
		width: 100%;
		margin-bottom: 0;
		float: none;
		margin-top: 30px;
		display: none;
	}

	#fade-end{
		display: none;
	}

	#main_content{
		margin-bottom: 0;
	}

	.nav-previous{
		text-align: center;
		width: 100%;
	}

	.nav-previous a{
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 100%;
		text-align: center;
	}

	.nav-previous a span{
		position: static;
	}

	#sidebar-footer .widget-1,
	#sidebar-footer .widget-2,
	#sidebar-footer .widget-4{
		display: none;
	}

	/* --- 11 Jan --- */


	.xl{
		display: block;
	}



}