/*This styles is for the responsive layout of the theme*/
.main-navigation .menu {
	display: block;
}
@media screen and (max-width: 1299px){
	.slider-caption .caption-title{
		font-size: 50px;
		line-height: 40px;
	}

	.slider-caption .caption-description{
		font-size: 26px;
		line-height: 30px;
	}
}

@media screen and (max-width: 1199px){
    .boxed-layout #page{
        width:100%;
    }
    
	.ak-container,
    .boxed-layout .ak-container{
		width: 100%;
		padding: 0 10px;
	}

	.header-text{
		display: none;
	}

	.socials{
		float: none;
		margin: 0 0 10px;
        text-align:right;
	}

	.ak-search{
		float: none;
		margin: 0 0 10px;
	}

	.ak-search .searchform{
		float: right;
	}

	#welcome-text{
		width: 53.5%
	}

	#top-section .welcome-detail{

	}

	#latest-events{
		width: 44%;
	}

	.event-list .event-thumbnail{
		width: 28%;
	}

	.event-list .event-thumbnail img{
		width: 100%;
	}

	.event-list .event-detail{
		width: 68%;
	}

	#bottom-section .testimonial-slider-wrap, 
	#bottom-section .thumbnail-gallery, 
	#bottom-section .text-box{
		width: 31%; 
		margin-right: 3.5%
	}
    
    #bottom-section .testimonial-slider-wrap{
        margin-right:0;
    }

	.testimonial-thumbnail{
		width: 30%;
	}

	.testimonial-excerpt{
		width: 65%;
	}

	#bottom-section .thumbnail-gallery ul li:nth-child(3n){
		margin-right: 6px;
	}
}

@media screen and (max-width: 939px){
	body{}

	#page{
		/*max-width: 768px;*/
		width: 100%;
		margin:0 auto;
		box-shadow: 0 0 10px #999;
	}
	#call-to-action p {
		width: 50%;
		display: block;
		float: left;
		padding-right: 20px;
	}
	#slider-banner .bx-controls-direction{
		display: none;
	}

	

	#welcome-text{
		width: auto;
		margin-bottom: 25px;
		float: none;
	}

	#top-section{
		margin-top: 20px;
		margin-bottom: 30px;
	}

	.featured-post {
		width: 45%;
		margin: 2.5% !important;
	}

	#latest-events{
		width: auto;
		float: none;
	}

	#bottom-section .testimonial-slider-wrap, 
	#bottom-section .gallery, 
	#bottom-section .subscribe{
		width: auto;
		float: none;
		margin: 0 0 25px;
	}

	.testimonial-thumbnail,
	.testimonial-sidebar .testimonial-thumbnail{
		width: 100px;
		margin-right: 20px
	}

	.testimonial-excerpt,
	.testimonial-sidebar .testimonial-excerpt{
		width: calc( 100% - 120px);
		float: left;
	}	

	#top-footer .footer{
		width: 50%;
	}

	.hide{ display: block; margin-bottom: 25px;}

	#bottom-footer .site-info{
		float: none;
		text-align: center;
		margin-bottom: 10px;
	}

	#bottom-footer .copyright{
		float: none;
		text-align: center;
	}	

	.main-navigation ul ul{
		position: static;
		box-shadow: none;		
	}
    
    .main-navigation ul ul a{
        padding:0 20px ; 
    }

	.main-navigation .menu ul li{
		line-height:44px;
		border-bottom: 1px solid #333;
		padding:0; 
	}

	.main-navigation ul ul ul{
		background: #F6F6F6;
	}

	#primary-wrap{
		float: none;
		width: auto;
	}

	#primary, .left-sidebar #primary, 
	.both-sidebar #primary,
	.both-sidebar #primary-wrap .sidebar,
	.both-sidebar .sidebar{
		float: none;
		width: auto;
		margin-bottom: 25px;
	}

	.sidebar, .sidebar.left-sidebar{
		width: auto;
		float: none;
	}

}

@media screen and (max-width: 820px){
	.bx-viewport {
		height: 400px !important;
	}
	.bx-wrapper .slides {
		height: 400px;
	}
	.slider-caption .caption-title{
		font-size: 30px;
		line-height: 1.2 !important;
		width: 100%;
		text-align: center;
		margin-bottom: 10px;
	}
	.slider-caption .caption-description {
		width: 100%;
		text-align: center;
		font-size: 16px;
		line-height: 20px;
	}
	.caption-button {
		width: 160px;
		display: block;
		text-align: center;
		margin: 30px auto 0;
	}	
	.main-navigation .menu li{
		display: block;
		width: 100%; 
		float: none;				
		margin-left: 0;
	}
	.main-navigation .menu {
		display: none;
		position: absolute;
		left: 0;
		width: 100%;
		top: 80px;
		z-index: 9999;
		background: #000;
	}
	.main-navigation a {
		color: #fff;		
	}
	.main-navigation a img {
		padding: 0 !important;
	}
	#masthead .site-branding {
		display: table-cell;
		vertical-align: middle;
    	width: 100%;    	
	}
	.menu-toggle { 
		display: table-cell;
		float: right;
		clear: none;
		background: url('/wp-content/themes/accesspress-lite/images/menu-icon.png') no-repeat center;
		height: 80px;
		width: 48px;
		text-indent: -9999px;		
	}
	.slider-caption{
		padding: 20px 0;
	}
    #bottom-section .testimonial-slider, 
    #bottom-section .thumbnail-gallery, 
    #bottom-section .text-box{
        width:100%;
        float:none; 
        margin:0 0 20px; 
    }
    
    .wpcf7-form input[type="text"], 
    .wpcf7-form input[type="email"], 
    .wpcf7-form input[type="url"], 
    .wpcf7-form input[type="password"],
    .wpcf7-form select{
        width:80%;
    }
    
    .wpcf7-form textarea{
        width:100%;
    }
}

@media screen and (max-width: 579px) {
	h1{ font-size:28px;}
	h2{ font-size:24px;}
	h3{ font-size:20px;}
	h4{ font-size:18px;}
	h5{ font-size:16px;}
	h6{ font-size:14px;}
	.bx-wrapper .slides img {
		max-width: 175%;
		min-height: 400px;
	}
	#mid-section{
		margin-bottom: 30px;
	}

	.slider-caption .caption-title{
		font-size:20px;
		line-height: 1.2 !important;
	}
	#call-to-action .ak-container {
		padding: 0 20px;
	}
	.featured-post{
		width: 100%;
		max-width: 350px;
		margin: 0 auto 30px !important;
		float: none;		
	}
	.home .featured-post h2 {
		font-size: 16px;
	}

	#masthead .site-branding img {
		width: 200px !important;
	}

	.featured-post .featured-image img{
		margin: 20px auto 0;
	}

	.featured-post .read-more {
		bottom: 10px !important;
	}

	.featured-post .featured-image {
		margin: 0px auto 15px !important;
	}

	article.hentry h1.entry-title {
		line-height: 1 !important;
	}

	h1.entry-title a {
		font-size: 28px !important;
	}

	#masthead .right-header .ak-search{
		display: none;
	}

	#masthead .site-branding{
		text-align: center;
	}

	#call-to-action p {
		width: 100%;
		float: none;
		padding: 0;	
	}
	#top-section.ak-container {
		display: block;
	}
	
	#top-section .welcome-text {
		display: block;
		clear: both;
		width: 100%;
		float: none;
		margin-bottom: 40px;
		padding: 0 20px;
	}
	.welcome-text:last-child {
		padding-left: 0;
		margin-bottom: 0;
		border: none;
	}
}

@media screen and (max-width: 479px) {
	
	#top-section .welcome-text-image{
		width:auto !important;
		float: none;
		margin-bottom: 15px;
	}

	#top-section .welcome-detail{
		width:auto !important;
	}

	#top-footer .footer{
		width: 100%;
		float: none;
		margin: 0 0 20px;
	}

	#top-footer .footer .widget{
		padding-right: 0	
	}

	#top-footer h1.widget-title{
		margin-bottom: 10px;
	}
    
    .cat-portfolio-list{
        width:100%;
        margin-right:0;
    }
    
    .cat-testimonial-list .entry-header{
        float:none;
        width:50%;
        margin-bottom:30px;
    }
    
    .cat-testimonial-list .entry-header img{
        width:100%;
    }
    
    .cat-testimonial-list .cat-testimonial-excerpt{
        float:none;
        width:100%;
    }
    
    .cat-testimonial-list .cat-testimonial-excerpt:before{
        border-color:transparent transparent #F2F3F4;
        top:-40px;
        left:20px;
    }
    
    .cat-testimonial-list:nth-child(odd) .cat-testimonial-excerpt:before{
        border-color:transparent transparent #F2F3F4;
        top:-40px;
        right:20px;
    }
    #call-to-action{
    	text-align: center;
    	padding: 20px 0;
    }
    #call-to-action h4{
    	width: 100%;
    	float: none;
    	max-width: none;
    	margin-bottom: 5px;
    }
    #call-to-action .action-btn{
    	float: none;
    	display: inline-block;
    }
}

@media screen and (max-width: 379px){
    .portofolio-layout .entry-title{
        font-size:22px;
    }
    
    .portofolio-layout .cat-portfolio-excerpt{
        font-size:14px;
    }
    
    .portofolio-layout .cat-portfolio-excerpt{
        top:110px;
    }
    
    .cat-event-list .cat-event-image{
        width:100%;
        float:none;
        margin-bottom:15px;
    }
    .cat-event-list .cat-event-excerpt{
        width:100%;
        float:none;
    }
    
    .cat-testimonial-list .entry-header{
        width:100%;
    }
}

@media screen and (min-width: 821px){
	.main-navigation .menu {
		display: block !important;
	}
}