/* Media Queries
-------------------------------------------------------------- */
@media only screen and (max-width: 1366px) {
    .logotop {
        width: 183px;
    }
	.header-inner .logo {
		padding: 0 30px 0 30px;
		float: left;
		padding-left: 25px;
	}

	 .header-inner .nav-wrap {
	 	float: right;
	 	padding-left: 30px;
	 }

	#mainnav > ul > li {
		padding: 25px 7px 20px 7px;
	}

	.home #services .flat-divider.d100px,
	.home2 #services .flat-divider.d100px,
	.home2 #appointment .flat-divider.d100px {
		height: 50px;
	}

	.home2 #appointment .title-section {
		margin-bottom: 60px;
	}

	.home2 #appointment .input-wrap {
		margin-bottom: 10px;
	}

	.home2 #appointment .textarea-wrap,
	.home2 #appointment textarea {
		height: 130px;
	}

	.home #services .flat-iconbox {
		margin-bottom: 0;
	}

	.home #services .title-section.desc,
	.comment-form .form-submit {
		margin-bottom: 30px;
	}

	.home .row-appointment .flat-testimonials-single {
		padding: 170px 30px 50px 30px;
	}

	.header.style2 .header-inner .logo,
	.header.style3 .header-inner .logo {
		padding: 0 90px 0 30px;
	}

	.header.style2 #mainnav > ul > li.home > a,
	.header.style3 #mainnav > ul > li.home > a {
		padding: 0 10px 0 10px;
	}

	.header-inner .language-wrap,
	.header.style2 .btn-menu-active,
	.setting-wrap {
		display: none;
	}	

	.flat-testimonials-single:before {
		top: 91px;
	}
}

@media only screen and (max-width: 1250px) {
    .header-inner .nav-wrap {
        padding-left: 11px;
    }
	#mainnav > ul > li {
	    padding: 25px 2px 20px 2px;
	}
}
/* Smaller than standard 1200 */
@media only screen and (max-width: 1200px) {
	.header-inner .logo {
    padding: 0 5px 0 6px;
    float: left;
}
.doctorpage {
    padding: 4rem 0;
    background: #EBF3F3;
}
.logotop {
    padding-left: 13px;
}
}
@media only screen and (max-width: 1199px) {
	.flat-callout-box .text h3 {
	    line-height: 32px;
	    padding-top: 30px;
	    font-weight: 600;
	}
	.flat-team.style1 .social{
		display: none;
	}
	.header-inner .language-wrap,
	.header.style2 .btn-menu-active,
	.setting-wrap {
		display: none;
	}

	.header-inner .nav-wrap {
		float: right;
	}

	#mainnav > ul > li {
		padding: 19px 7px 20px 7px;
	}

	#mainnav > ul > li > a {
		padding: 0 2px;
		font-size: 13px;
	}

	.header.style2 .header-inner .logo, 
	.header.style3 .header-inner .logo {
		padding: 0 30px 0 15px;
	}

	#mainnav ul li ul {
		left: -100%;
	}

	#services > .col-md-6 {
		width: 100%;
	}
}

/* Smaller than standard 992 */
@media only screen and (max-width: 991px) {
    .btn-menu{
        position : absolute;
           right: 10px;
        
    }
	.sidebar {
		display: none;
	}
	.stories {
	    padding: 3rem 0;
	}
	.boxcont {
	    padding: 15px	;
	}
	.boxcont h1 {
	    font-size: 18px;
	    font-weight: 600;
	    padding-bottom: 5px;
	}
	.speciality {
	    padding: 3rem 0;
	}
	.gallery .panel-title {
	    text-align: left;
	}
	.gallery {
	    padding: 3rem 0;
	}
	.flat-team.style1.img-small .content {
	    padding: 20px 20px 15px 16px;
	}
	.flat-team.style1.img-small {
	    margin-top: 20px;
	}
	.flat-iconbox.icon-top p {
	    margin-bottom: 7px;
	}
	footer {
	    background-color: #1a5385;
	    padding: 40px 0 40px;
	    color: #858585;
	    position: relative;
	}
	.address p {
	    padding-bottom: 12px;
	}
	.footer-widgets .widget .widget-title {
	    margin-bottom: 9px;
	    padding-top: 25px;
	}
	.footer-widgets .widget .widget-title:before {
	    top: 36px;
	}
	.aboutpage {
	    padding: 3rem 0;
	}
	.mission {
	    padding: 3rem 0;
	}
	.abttop {
	    padding: 0 60px;
	}
	.carousel-caption.banner1 h1 {
	    font-size: 45px!important;
	}
	.carousel-caption h1 {
	    font-size: 36px!important;
	}
	.btn-menu {
		display: block ;
	}

	#mainnav,
	.header-inner .language-wrap {
		display: none;
	}

	.header-inner .logo {
		float: left;
    	padding: 0 49px;

	}

	.header-inner .nav-wrap {
		float: right;
	}

	.flat-row.row-about {
		padding: 90px 0 60px;
	}

	.flat-row,
	.flat-row.row-portfolio,
	.flat-row.row-pricing,
	.main-content,
	.flat-stats.video-bg,
	.home2 .flat-row.row-portfolio,
	.home2 .flat-row.row-pricing,
	.home2 .flat-row.row-testimonials {
		padding: 40px 0;
	}

	.flat-row.row-progress,
	.home2 .flat-row.row-progress,
	.home3 .flat-row.row-portfolio {
		padding: 40px 0 0;
	}

	.padding-left61px,
	.entry .feature-post,
	.appointment-form .wrap-right {
		padding-left: 0;
	}

	.appointment-form.for-full-width 
	.input-wrap.wrap-right:before {
		left: 0;
	}

	.appointment-form .wrap-left {
		padding-right: 0;
	}

	.about-wrap.padding-left61px {
		padding-top: 28px;
	}

	.flat-counter {
		padding: 19px 15px;
    	overflow: hidden;
	}

	.margin-top93px {
		margin-top: 20px;
	}

	.title-section {
		margin-bottom: 50px;
	}

	.flat-tabs.advantage {
		padding: 30px 10px 30px;
	}
	
	.flat-tabs.advantage .content-tab .content-inner p {
		padding: 20px 0;
	}

	.flat-bg-white,
	.flat-bg {
		width: 100%;
		margin-left: 0;
	}

	.home #services .flat-iconbox,
	.flat-latest-blog .entry, 
	.flat-latest-blog .entry-content p {
		margin-top: 60px;
		margin-bottom: 10px;
	}

	.appointment-form .send-wrap,
	.flat-contact-form .submit-wrap,
	.flat-progress-item {
		margin-top: 50px;
		margin-bottom: 0;
	}
	
	.flat-team.style1 .content,
	.appointment-form .wrap-left,
	.appointment-form .wrap-right,
	.flat-contact-form .wrap-type-input, 
	.flat-contact-form .textarea-wrap,
	.comment-form .name-container, 
	.comment-form .phone-container,
	.comment-form .email-container, 
	.comment-form .website-container,
	.home .flat-team.style1 .avatar,
	.flat-portfolio.v1 .item,
	.flat-portfolio.v4 .item {
		width: 100%;
	}	
	
	.flat-team.style1.img-small .avatar,
	.flat-team.style1.img-small .content,
	.flat-portfolio.v2 .item,
	.flat-portfolio.v3 .item {
		width: 50%;
	}

	.flat-portfolio .item .title-portfolio {
		font-size: 14px;
	}

	.portfolio-row-page .flat-portfolio.v4 .item {
		padding: 0 0 0;
	}

	.pricing-table .img {
		text-align: center;
	}

	.flat-divider.d100px {
		height: 60px;
	}

	.wrap-testimonials {
		padding: 30px;
	}

	.flat-latest-blog .entry .main-post,
	.blog-posts.v1 .entry .main-post,
	.blog-single .entry .main-post {
		padding-left: 40px;
	}

	.flat-team.style1 .content {
		padding: 30px 15px;
	}

	.appointment-form,
	.tp-caption {
		padding: 0 15px;
	}

	.page-template-front-page .flat-portfolio .portfolio-filter,
	.flat-tabs.advantage {
		margin-top: 0;
	}
	.contactpg {
	    padding-top: 3em;
	}
	.page-template-front-page .flat-portfolio .portfolio-filter > li {
		margin-bottom: 15px;
	}

	.flat-tabs.advantage.bg-white-after:after {
		width: 0;
		height: 0;
	}

	.flat-tabs.member .menu-tab {
		top: 30px;
	}

	.entry .entry-title,
	.flat-latest-blog.style1 .entry .entry-title {
		font-size: 17px;
		padding-top: 34px;
	}

	.flat-row.row-services-box {
		padding: 0 0 60px;
	}

	.wrap-simple-slider,
	.flat-about-box,
	.home2 .flat-row.row-contact .flat-contact-form,
	.bg-white-after .appointment-form,
	.home3 .flat-contact-form,
	.flat-contact-form .wrap-type-input, 
	.flat-contact-form .textarea-wrap,
	.flat-contact-form.for-full-width {
		padding: 0 0;
	}

	.flat-callout-box.aside .callout-wrap {
		display: block;
	}

	.flat-callout-box .buttons {	
		text-align: center;
		display: block;
	}

	.flat-callout-box .text {
		overflow: hidden;
	}

	.home3 .flat-iconbox.icon-top.border {
		margin-bottom: 100px;
	}

	.bg-white-after .appointment-form {
		margin-left: 0;
	}

	.bg-white-after .appointment-form .wrap-right,
	.comment-form .name-container, 
	.comment-form .phone-container,
	.flat-portfolio.v4 .portfolio-wrap {
		margin-right: 0;
	}

	.flat-portfolio .portfolio-filter {
		text-align: center;
	}

	.flat-portfolio .portfolio-filter > li:before,
	.flat-portfolio .portfolio-filter > li a {
		color: #202020;
	}

	.flat-portfolio .portfolio-filter {
		margin-bottom: 30px;
	}

	.breadcrumbs,
	.page-title-heading h1 {
		padding-left: 15px;
	}

	.page-title-heading h1,
	.title-box .main-title {
		font-size: 35px;
	}

	.entry .feature-post {
		float: none;
	}

	.comment-post .children {
		margin-left: 30px;
	}

	.flat-portfolio.v4 .item {
		padding: 0 0 30px 0;
	}

	.home #services .flat-divider.d100px, 
	.home2 #appointment .flat-divider.d100px {
		height: 60px;
	}

	.entry .feature-post {
		margin-right: 0;
		width: 100%;
		text-align: center;
	}

	.go-top,
	.flat-portfolio .item .link,
	.switcher-container h2 a {
		width: 33px;
		height: 33px;
		line-height: 33px;
       
	}

	.flat-portfolio .item .link {
		margin-left: -16px;
	}

	.go-top.style1 {
		top: -16px;
	}

	.switcher-container h2 a i,
	.go-top i {
		font-size: 18px;
	}

	.switcher-container h2 a {
		left: -33px;
	}

	.switcher-container h2 a i {
		margin-top: 8px;
	}
	
}

/* Tablet Landscape */
 @media only screen and (max-device-width : 1024px){
 	.flat-portfolio.v1 .item {
	    width: 24.5%;
	}
 	.singleimages-border:before {
	    left: 12px;
	    top: -27px;
	    width: 85%;
	}
	 .flat-button i {;
	    right: -27px;
	}
 	.title-box .sub-title {
	    margin-bottom: 10px;
	    line-height: 22px;
	}
 	.flat-row.row-about {
	    padding: 60px 0 50px;
	}
 	.title-box .sub-title:after, .title-box .main-title:before, .title-box .main-title:after {
	      
	}
 	.title-box .main-title {
	    font-size: 39px;
	    line-height: 38px;
	    letter-spacing: 3.5px;
	    margin-bottom: 66px;
	    font-weight: 900;
	    color: #1B74AA;
	}
 }
 @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
 	.padding-left61px {
    padding-left: 19px;
}
}

/* Tablet Portrait Size */
@media only screen and (min-width: 768px) and (max-width: 991px) {

}

/* All Mobile Sizes */
@media only screen and (max-width: 768px) {
	.flat-counter .icon-counter {
	    width: 62px;
	    height: 62px;
	}
	.flat-counter .name-count {
    font-size: 17px;
}
	.flat-counter .numb-count {	
	    font-size: 40px;
	    font-weight: 800;
	}
	.header-inner .logo {
	    float: left;
	    padding: 0 35px;
	}
	.carousel-caption.banner1 h1 {
	    font-size: 34px!important;
	}
	.carousel-caption h1 {
	    font-size: 28px!important;
	    line-height: 48px!important;
	}
}
@media only screen and (max-width: 767px) {
	.missionpage p {
	   padding-bottom: 10px;
	}
	.header-inner .logo {
		padding: 0 15px 0 15px;
	}

	.page-title-heading h1, 
	.title-box .main-title {
		font-size: 30px;
	}

	.page-title-heading h1 {
		margin-top: -15px;
	}

	.tp-caption.flat-scroll-btn i {
		font-size: 18px;
	}

	.tp-caption.flat-content-slider:before {
		width: 1px;
	}

	.title-box .main-title {
		font-size: 25px;
	}
	
	.flat-tabs.member .menu-tab {
		top: 0;
	}

	.flat-callout-box .icon {
		float: none;
		margin: 15px auto;   
	}

	.flat-callout-box .text {
		text-align: center;
	}

	.page-title-heading h1 {
		font-size: 25px;
	}

	blockquote .wrap-text {
		padding: 15px;
	}

	.flat-latest-blog .entry .main-post, 
	.blog-posts.v1 .entry .main-post, 
	.blog-single .entry .main-post {
		padding-left: 0;
	}

	.blog-posts.v1 .entry .feature-post .type-post,
	.blog-single .entry .feature-post .type-post {
		left: 10px;
    	top: 71%;
	}

	.entry .entry-title,
	.comment-post h4.comment-title {
		font-size: 13px;
		padding-top: 15px;
	}

	.sidebar {
		padding-top: 30px;
	}

	.main-content {
		padding: 60px 0 0;
	}

	footer {
		padding: 30px 0 60px;
	}

	blockquote .blockqoute-text,
	.comment-list-wrap {
		margin-bottom: 0;
	}

	blockquote .wrap-text {
		border: 0;
	}

	.post-wrap,
	.flat-portfolio .portfolio-filter > li {
		padding-right: 0;
	}

	.flex-direction-nav a {
		top: 50%;
		margin-top: -10px;
	}

	.blog-posts.v1 blockquote:after {
		left: 0;
	}

	.comment-post .comment-avatar {
		float: none;
	}

	.tp-caption.flat-button:after {
		background-color: transparent;
	}

	.tp-caption.flat-button i,
	.tp-leftarrow.square, 
	.tp-rightarrow.square,
	.tp-caption.flat-title-slider3:after {
		display: none;
	}

	.flat-latest-blog .entry .feature-post .type-post {
		left: 15px;
    	top: 86%;
	}
	.footer-widgets .widget {
	    padding: 12px 15px 12px 15px;
	}
}

/* Mobile Landscape Size */
@media only screen and (max-width: 600px) {
		#mainnav-mobi ul > li > a {
	    text-decoration: none;
	    height: 55px;
	    line-height: 45px;
	    padding: 0 26px;
	    color: #fff;
	}
	#mainnav-mobi > ul > li > ul > li >  a {
	    padding-left: 44px !important;
	}
	.gallery .panel-title {
	    font-size: 19px;
	    padding: 7px 5px;
	}
	.gallery .panel-body {
	    padding: 30px 20px;
	}
	.flat-team.style1.img-small .avatar, .flat-team.style1.img-small .content, .flat-portfolio.v2 .item, .flat-portfolio.v3 .item {
	  width: 100% ;
	}
	.aboutpage {
	    padding: 3rem 0;
	}
	.abttop {
	    padding: 0 10px;
	}
	.address p {
	    padding-bottom: 0;
	}
	.flat-callout-box .buttons {
	    text-align: center;
	    display: block;
	    margin-top: 5px;
	}
	.flat-callout-box .text h3 {
	    font-size: 30px;
	    line-height: 45px;
	    font-weight: 600;
	}
	.flat-team.style1 .name {
	    font-size: 22px;
	}
	.carousel-caption {
	    position: absolute;
	    top: 23%;
	}
	.flat-portfolio.v1 .item {
    width: 49%;
}
.btn1 .button {
    font-size: 20px;
    height: 50px;
    width: 50px;
    line-height: 44px;
}
.float1 {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 80px;
    right: 10px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}
.flat-tabs.advantage .content-tab .content-inner p {
    padding: 21px 26px 31px 58px;
    margin-bottom: 0;
    font-size: 18px;
}
.flat-tabs.advantage .content-tab .content-inner p {
    padding: 21px 26px 0 26px;
    margin-bottom: 0;
    font-size: 18px;
}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
}

/* Mobile Portrait Size */
@media only screen and (max-width: 479px) {
	.abttop h1 {
	    font-size: 28px;

	}
	.flat-row.row-appointment .title-section {
	    margin-bottom: 50px;
	}
	#appointment h1 {
	    padding-top: 46px;
	    line-height: 29px;
	}
	.entry-page p {
	    line-height: 28px;
	}
	.slider .carousel-control.right {
	    width: 30px;
	    height: 30px;
	    line-height: 30px;
	}
	.slider .carousel-control.left {
	    width: 30px;
	    height: 30px;
	    line-height: 30px;
	}
	.carousel-caption h1 {
	    font-size: 16px!important;
	    line-height: 30px!important;
	    padding: 12px 16px;
	}
	.carousel-caption.banner1 h1 {
	    font-size: 19px!important;
	}
	.carousel-caption h3 {
		font-size: 20px;
	    color: #fff;
	    padding-bottom: 11px;
	}
	.carousel-caption {
	    position: absolute;
	    top: 3%;
	     left: 75px;
	}
	.header-inner .logo {
	    margin-top: 10px;
	    margin-bottom: 10px;
	}
	.flat-latest-blog .entry .feature-post .type-post {
		top: 80%;
	}	
	
	.flat-portfolio.v2 .item,
	.flat-portfolio.v3 .item {
		width: 100%;
	}
}

@media (max-width: 320px) {	
	.flat-team.style1.img-small .avatar,
	.flat-team.style1.img-small .content {
		width: 100%;
	}

	.flat-latest-blog.style1 .entry .entry-title {
		font-size: 14px;
	}

	.flat-latest-blog.style1 .entry .entry-title {
		padding-top: 0;
	}



	.flat-iconbox.icon-right,
	.flat-iconbox.icon-left {
		padding-left: 0;
		padding-right: 0;
	}

	.flat-socials li {
		margin-right: 1px;
	}
}

