/*This styles is for the responsive layout of the theme*/
@media screen and (max-width: 1300px){
	.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: 1200px){
	#welcome-text.full-width { width:95%; left:2.5%;}
    .boxed-layout #page{
        width:100%;
    }
    
	.ak-container,
    .boxed-layout .ak-container{
		width: 100%;
		padding: 0 10px;
	}

	#masthead .right-header{
		padding:0;
	}
	#top-header .clearfix::after {
		clear:inherit !important;
	}
	.socials{
		float: none;
		margin: 0 0 10px;
        text-align:right;
	}

	.ak-search{
		float: none;
		margin: 0 0 10px;
	}

	.ak-search .searchform{
		float: right;
	}

	.slider-caption .caption-title{
		font-size: 30px;
		line-height: 26px;
	}

	.slider-caption .caption-description{
		font-size: 16px;
		line-height: 20px;
	}

	#slider-banner .bx-wrapper .bx-pager{
		bottom:5px;
	}

	#slider-banner .bx-wrapper .bx-pager.bx-default-pager a{
		height: 14px;
		width: 14px;
	}

	#welcome-text{
		width: 53.5%
	}

	#top-section .welcome-text-image{
		width: 30%
	}

	#top-section .welcome-detail{
		width: 65%
	}

	#latest-events{
		width: 44%;
	}

	.event-list .event-thumbnail{
		width: 28%;
	}

	.event-list .event-thumbnail img{
		width: 100%;
	}

	.event-list .event-detail{
		width: 68%;
	}

	.featured-post{
		width: 30%;
		margin-right: 5%;
	}

	#bottom-section .testimonial-slider-wrap, 
	#bottom-section .thumbnail-gallery, 
	#bottom-section .text-box{
		
	}
    
    #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: 1094px){
	.main-navigation a {
		padding:0 10px
	}
}
@media screen and (max-width: 1060px){
	.nursing-cancer-div, .nursing-cancer-div1 { width:100%; float:none; margin-bottom:15px}
	.nurs-img { width:15%;}
	.cancer-hospi1 { padding-bottom:20px}
	.cancer-hospi1, .nursing-insti1 { height:auto}
	#mid-section { margin-top:65px	}
	#mid-section h4 { font-size:20px}
	#bottom-section .thumbnail-gallery .gallery-item { height:110px}
	.main-navigation li { background:none}
	.main-navigation a { padding:0 5px	}
	#menu-footer-menu li { padding:0 5px}
	#secondary-right .nurs-img { width:100%;}
	#content { padding:20px 0 0}
}
@media screen and (max-width: 940px){
	body{
		background: #fff;
	}

	#page{
		max-width: 100%;
		width: 100%;
		margin:0 auto;
		background: #FFF;
	}
	

	#slider-banner .bx-controls-direction{
		display: none;
	}

	#welcome-text{
		width: auto;
		margin-bottom: 25px;
		float: none;
	}

	#top-section{
		margin-top: 20px;
		margin-bottom: 30px;
	}

	#top-section .welcome-text-image img{
		width: 100%
	}

	#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;
	}

	#site-navigation .ak-container{
		padding:0;
	}

	.menu-toggle{ 
		display: block;
		float: right;
		background: url(../images/menu.png) no-repeat center rgba(0,0,0,0.3);
		height: 48px;
		width: 48px;
		text-indent: -9999px;
		margin: 0;
		font-size:0;
		margin-right:15px;
		z-index:100;
	}

	.main-navigation .menu {
		display: none;
	}

	#top-footer .footer{
		width: 50%;
	}

	.hide{ display: block; margin-bottom: 25px;}

	#bottom-footer .site-info{
		float: none;
		text-align: right;
		margin-bottom: 10px;
	}

	#welcome-text.full-width { bottom:-74px}

	.main-navigation .menu{
		position: absolute;
		right: 0;
		width: 50%;
		top: 48px;
		z-index: 9999;
		background: #327A00;
		text-align:left
	}

	.main-navigation .menu li{
		width: 100%; 
		float: none;
		line-height: 38px;
		border-bottom:1px solid rgba(255,255,255,0.1);
		padding:5px 20px
	}

	.main-navigation ul ul{
		position: static;
		box-shadow: none;
		border: none;
	}
    
    .main-navigation ul ul a{
        padding:0 20px ;
		font-size:15px;
		text-transform:uppercase; 
    }
	.main-navigation .menu ul li:first-child {border-bottom: 1px solid rgba(255, 255, 255, 0.1);}
	.main-navigation .menu ul li{
		line-height:38px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		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;
	}
	.chairman, .secretory-blk {
		width:100%;
		float:none
	}
	.desk-img { width:17%;}
	.secretory-blk { padding-left:0; margin-top:15px; padding-top:20px; border-top:dotted 1px #3d3d3d}
	.chairman h4 { background-position:left}
	#secondary-right { display:none}
	.left-div, .right-div { width:100%; float:none; clear:both}
	#post-34 .entry-title { margin-bottom:0}
	#post-34 .entry-content { margin-top:0}
	.right-div { margin-top:20px}
}
@media screen and (max-width: 818px){
	.header-text { display:none}
}
@media screen and (max-width: 768px){
	.slider-caption .caption-title{
		margin-bottom: 0;
	}
	

	.slider-caption .caption-description{
		display: none;
	}

	.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,
	.wpcf7-form input[type="tel"]{
        width:100%;
    }
    
    .wpcf7-form textarea{
        width:100%;
    }
	#welcome-text.full-width {
		position:relative;
		top:0;
		margin-bottom:0;
		box-shadow:none;
		padding:0
	}
	#mid-section {
		margin-top:20px
	}
	#bottom-section .thumbnail-gallery .gallery-item {
		width:30%;
	}
	#bottom-section { padding-bottom:0}
	.footer2, .footer-right, #bottom-footer .copyright, #bottom-footer .site-info { width:100%; text-align:center}
	.footer2 .widget {margin:5px}
	
}
@media screen and (max-width: 615px){
	.nurs-img { width:30%;}
	#mid-section { margin-bottom:10px}
	#chairman-desk { padding:20px 0}
} 
@media screen and (max-width: 605px) {
	.header-email { display:none}
	.menu-toggle { position:absolute; top:-53px; right:0}
	#top-header { background:#50B908}
	#masthead .site-branding img { width:65% !important;}
	#top-section { margin-bottom:20px; padding-bottom:15px}
	.main-navigation .menu { top:0}
	
}

@media screen and (max-width: 580px) {
	h1{ font-size:28px;}
	h2{ font-size:24px;}
	h3{ font-size:20px;}
	h4{ font-size:18px;}
	h5{ font-size:16px;}
	h6{ font-size:14px;}

	#mid-section{
		margin-bottom: 30px;
	}

	.slider-caption .caption-title{
		font-size:16px;
	}

	.featured-post{
		width: auto;
		margin: 0 0 20px;
		float: none;
		text-align: center;
	}

	.featured-post .featured-image img{
		margin: 0 auto;
	}

	

	#masthead .site-branding{
		float: none;
		text-align: center;
	}
}
@media screen and (max-width: 520px) {
	#post-30 .images { width:31% !important;}
}
@media screen and (max-width: 500px) {
	#bottom-section .thumbnail-gallery .gallery-item {
		height:98px
	}
	#top-section h1 a { font-size:20px}
	.chairman h4, .secretory-blk h4 { background-position:right top; font-size:18px}
	.nurs-img { margin:22px 15px 0}
	.main-navigation .menu{ width:100%; }
	#masthead .site-branding img { width:47% !important }
	#masthead .site-branding { top:0}
}

@media screen and (max-width: 480px) {
	.slider-caption{
		display: none;
	}

	#top-section .welcome-text-image{
		width:auto !important;
		float: none;
		margin-bottom: 15px;
	}

	#top-section .welcome-text-image img{
		width: 100%;
	}

	#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;
    }
	#bottom-section { display:none}
	.cont-blk1 { width:100%; float:none;}
	.wpcf7-form  p { margin-bottom:0; margin-top:5px}
}
@media screen and (max-width: 447px) {
	#post-30 .images { width:47% !important;} 
}
@media screen and (max-width: 405px) {
	.chairman h4 span{ display:none}
}
@media screen and (max-width: 380px){
    .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 (max-width: 317px) {
	#masthead .site-branding img { width:48% !important }
}

@media screen and (max-width: 352px) {
	#post-30 .images { width:96% !important;} 
}
@media screen and (min-width: 941px){
	.main-navigation .menu {
		display: block !important;
	}
}