/* Responsive Styles
================================================== */

/* All size smaller than 1301 */
@media only screen and (max-width: 1300px) {

	.boxed-layout #page,
	.boxed-layout-small #page {
		max-width: 97%;
		margin-top: 10px;
	}

	.wrap,
	.boxed-layout .wrap, 
	.boxed-layout-small .wrap {
		max-width: 94%;
	}

	.four-column-full-width {
		width: 33.33%;
	}

	.four-column-full-width:nth-child(4n+5) {
		clear: none;
	}

	.four-column-full-width:nth-child(3n+4) {
		clear: both;
	}

	.main-slider .image-slider,
	.boxed-layout-small .main-slider .image-slider {
		min-height: 460px;
	}

	.slider-content .slider-title, 
	.slider-content .slider-title a {
		font-size: 44px;
		line-height: 1.18;
	}

	.main-slider .multi-slider .image-slider {
		min-height: 360px;
	}

	.small-slider .image-slider {
		min-height: inherit;
	}

	#secondary {
		padding-left: 30px;
	}
}

/* All size smaller than 1024
================================================== */
@media only screen and (max-width: 1023px) {

	.boxed-layout #page,
	.boxed-layout-small #page {
		overflow: hidden;
	}

	.boxed-layout #site-title a img {
		width: 668px;
	}

	#search-box {
		background-color: #fff;
	}

	.header-social-block {
		display: none;
	}

	.widget-title {
		font-size: 22px;
		line-height: 1.364;	
	}

	.vid-thumb-content .vid-thumb-title, 
	.vid-thumb-content .vid-thumb-title a {
		font-size: 30px;
		line-height:28px;
	}

	.vid-thumb-content .vid-thumb-text {
		font-size: 18px;
		line-height: 25px;
	}

	.vid-thumb .scroll-down, 
	.sld-plus .scroll-down {
		display: none;
	}

	.main-slider .image-slider,
	.boxed-layout-small .main-slider .image-slider {
		min-height: 320px;
	}

	.slider-content .slider-title, 
	.slider-content .slider-title a {
		font-size: 30px;
		line-height: 28px;
	}

	.slider-content .slider-text {
		font-size: 18px;
		line-height: 25px;
		margin-bottom: 5px;
	}

	.main-slider .flex-direction-nav li {
		height: 40px;
		width: 40px;
	}

	.slider-content .slider-text a.more-link {
		padding: 2px 0;
		width: 160px;
	}
	
	.slider-content .btn-default {
		font-size: 12px;
		line-height: 18px;
		margin: 10px 5px 0;
		padding: 4px 12px;
	}

	#primary,
	#secondary {
		margin-bottom: 50px;
		padding: 0px;
		width: 100%;
		border: none;
	}

	.left-sidebar-layout #primary {
		float: none;
		padding-left: 0px;
	}

	.left-sidebar-layout #secondary {
		float: none;
		padding-right: 0px;
		border: none;
	}

	.no-sidebar-layout #main {
		margin: 0 ;
		width: 100%;
	}

	.contact-template #primary {
		padding-right: 30px;
	}

	.contact-template #secondary {
		padding-left: 30px;
	}

	/* ----- Column ----- */
	.column {
		margin: 0 -15px;
	}

	.two-column,
	.three-column,
	.four-column {
		padding: 0 15px 40px;
	}

	.two-column,
	.four-column,
	.three-column,
	.four-column-full-width,
	.boxed-layout-small .four-column-full-width,
	.column-2,
	.column-3,
	.column-4 {
		width: 50%;
	}

	.three-column:nth-child(3n+4),
	.four-column:nth-child(4n+5),
	.four-column-full-width:nth-child(3n+4),
	.boxed-layout-small .four-column-full-width:nth-child(3n+4),
	.column-2:nth-child(2n+3),
	.column-3:nth-child(3n+4),
	.column-4:nth-child(4n+5) {
 		clear: none;
	}

	.three-column:nth-child(2n+3),
	.four-column:nth-child(2n+3),
	.four-column-full-width:nth-child(2n+3),
	.boxed-layout-small .four-column-full-width:nth-child(2n+3),
	.column-2:nth-child(2n+3),
	.column-3:nth-child(2n+3),
	.column-4:nth-child(2n+3) {
 		clear: both;
	}

	/*Home Page gallery*/
	.featured-text-content .featured-title {
		font-size: 24px;
		line-height: 30px;
	}

	.gallery-col-4 .featured-item,
	.gallery-col-5 .featured-item,
	.post-gallery-col-4 .post-featured-item,
	.post-gallery-col-5 .post-featured-item {
		width: 33.33%;
	}

	.custom-logo-link .custom-logo {
		height: 60px;
	}

	.side-menu-wrap .custom-logo {
		height: 80px;
	}

	.top-logo-title .custom-logo {
		height: auto;
	}
	
	#colophon .widget-area {
		margin: 0;
		display: block;
	}
	
	#colophon .column-1,
	#colophon .column-2,
	#colophon .column-3,
	#colophon .column-4 {
		border-right: none;
		width: 100%;
		float: none;
		padding: 0;
		display: block;
	}
}

/* All size smaller than 981px
================================================== */
@media only screen and (max-width: 980px) { 

	.boxed-layout #page,
	.boxed-layout-small #page {
		margin-top: 0;
	}

	
/* ----- Responsive Navigation ----- */


	.side-menu.show {
		padding: 50px 40px 0 25px;
	}

	.jarallax-video-pause {
		opacity: 0 !important;
	}

	.show-fgt-hover .featured-item.has-post-thumbnail .featured-title {
		font-size: 18px;
		line-height: 25px;

	}
}

/* All Mobile Screen ( smaller than 768px )
================================================== */
@media only screen and (max-width: 767px) {

	.comments-title,
	#respond h3#reply-title {
		font-size: 26px;
		line-height: 1.231;
	}
	
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	p {
		margin-bottom: 10px;
	}
	
	hr {
		margin-bottom: 30px;
	}
	
	input[type="text"],
	input[type="email"],
	input[type="search"],
	input[type="password"],
	textarea,
	input[type="reset"],
	input[type="button"],
	input[type="submit"] {
		margin-bottom: 20px;
	}
	
	input.s {
		margin: 0;
	}
	
	#site-title {
		font-size: 30px;
	}
	
	.boxed-layout #site-branding,
	.boxed-layout #site-title a img,
	.boxed-layout-small #site-branding,
	.boxed-layout-small #site-title a img {
		max-width: 400px;
	}
	
	.header-search,
	.header-search-x {
		display: none;
	}

	#site-branding {
		margin-left: 20px;
	}
	
	.right-toggle {
		margin-right: 24px;
	}
	
	.show-menu-toggle {
		margin-right: 0px;
	}
	
	.main-slider .image-slider,
	.boxed-layout-small .main-slider .image-slider {
		min-height: 250px;
	}
	.vid-thumb-content,
	.slider-content {
		left: 0;
		max-width: 90%;
		right: 0;
		text-align: center;
		top: 50%;
	}

	.vid-thumb-content .vid-thumb-text {
		font-size: 18px;
		line-height: 25px;
	}

	.vid-thumb-content .vid-thumb-title, 
	.vid-thumb-content .vid-thumb-title a,
	.slider-content .slider-title, 
	.slider-content .slider-title a {
		font-size: 24px;
		line-height: 1.375;
	}

	.movie .vid-thumb-content {
		max-width: 80%;
	}
	
	.page-header {
		padding: 10px 20px;
	}
	
	#content {
		padding-top: 50px;
	}
	
	/* ----- Column ----- */
	.column {
		margin: 0;
	}
	
	.two-column,
	.three-column {
		padding: 0 0 30px;
		width: 100%;
	}
	
	.two-column-full-width,
	.four-column-full-width,
	.boxed-layout-small .four-column-full-width,
	#primary .three-column, 
	#primary .four-column-full-width, 
	#primary .four-column {
		margin: 0;
		width: 100%;
	}
	
	.four-column {
		padding: 0 10px 30px;
		width: 50%;
	}
	
	.three-column:nth-child(2n+3) {
 		clear: none;
	}
	
	.three-column-post .post-container,
	.four-column-post .post-container {
		width: 50%;
	}
	
	.two-column-blog #primary .post {
		width: 100%;
		float: left;
		margin-right: 0;
	}

	.two-column-blog #primary .post:nth-child(2n+1) {
		margin-left: 0;
	}
	
	.small-image-blog .entry-thumb-content {
		width: 100%;
	}

	.blog a.more-link:before {
		left: -50%;
		width: 50%;
	}

	/* Contact Template*/

	.contact-template #primary {
		padding-right: 0;
		width: 100%;
	}

	.contact-template #secondary {
		padding-left: 0;
		width: 100%;
	}

	.blog a.more-link:after {
		right: -50%;
		width: 50%;
	}
	
	.widget {
		margin-bottom: 40px;
	}
	
	.widget_custom-tagcloud {
		margin-bottom: 32px;
	}
	
	.widget_posts {
		margin-bottom: 20px;
	}

	/* Home Page gallery*/

	.gallery-col-3 .featured-item,
	.gallery-col-4 .featured-item,
	.gallery-col-5 .featured-item,
	.post-gallery-col-3 .post-featured-item,
	.post-gallery-col-4 .post-featured-item,
	.post-gallery-col-5 .post-featured-item {
		width: 50%;
	}

	.header-social-block {
		top: 60%;
	}

	.featured-gallery-title {
		margin-top: 20px;
		margin-bottom: 0;
	}

	.filter-button ul li {
		margin: 20px 10px !important;
	}

	.show-fgt-hover .featured-item.has-post-thumbnail .featured-title {
		font-size: 16px;
		line-height: 23px;

	}

	.about-template .about-contant.has-post-thumbnail #primary {
		width: 70%;
		float: none;
		padding: 50px 0;
		margin: 0 auto;
	}

	#colophon .widget-area {
		margin: 0;
		display: block;
	}

	#colophon .widget_posts {
		margin-bottom: 20px;
	}
	
	.site-info #site-branding {
		max-width: 100%;
	}
	
	.side-menu {
		width: 104%;
	}

	.box-gallery .featured-gallery-content {
		width: 94%;
	}
}

/* All Mobile Screen ( smaller than 481px )
================================================== */
@media only screen and (max-width: 480px) {

	.boxed-layout #colophon,
	.boxed-layout-small #colophon {
		margin-bottom: 10px;
	}
	
	#site-branding {
		max-width: 265px;
	}

	#site-title {
		font-size: 24px;
	}

	.top-logo-title #site-branding,
	.top-logo-title #site-detail {
		text-align: left;
	}
	
	.boxed-layout #site-branding,
	.boxed-layout #site-title a img,
	.boxed-layout-small #site-branding,
	.boxed-layout-small #site-title a img {
		max-width: 240px;
	}

	/* ----- Column ----- */
	.column {
		margin: 0;
	}
	
	.four-column {
		padding: 0 0 30px;
		width: 100%;
	}
	
	.four-column:nth-child(2n+3) {
		clear: none;
	}
	
	.two-column-post .post-container,
	.three-column-post .post-container,
	.four-column-post .post-container {
		width: 100%;
	}
	
	.btn-default {
		padding: 6px 18px;
		font-size: 13px;
	}

	.vid-thumb .header-social-block, 
	.sld-plus .header-social-block {
		display: none;
	}

	.movie .vid-thumb-content {
		left: 0;
		right: 0;
	}

	.movie .vid-thumb-content .vid-thumb-title, 
	.movie .vid-thumb-content .vid-thumb-title a {
		font-size: 20px;
	}

	.movie .vid-thumb-content .vid-thumb-text {
		font-size: 14px;
	}

	.widget-title span {
		font-size: 16px;
		line-height: 1.4375;
	}

	.post-gallery-col-2 .post-featured-item,
	.post-gallery-col-3 .post-featured-item,
	.post-gallery-col-4 .post-featured-item,
	.post-gallery-col-5 .post-featured-item {
		width: 100%;
	}
}

/* All Mobile ( smaller than 320px )
================================================== */
@media only screen and (max-width: 319px) {
	.wrap,
	.boxed-layout #page,
	.boxed-layout .wrap,
	.boxed-layout-small #page,
	.boxed-layout-small .wrap {
		width: 96%;
	}

	/*Home Page Gallery*/

	.gallery-col-2 .featured-item,
	.gallery-col-3 .featured-item,
	.gallery-col-4 .featured-item,
	.gallery-col-5 .featured-item {
		width: 100%;
	}
}