/* Media Queries
-------------------------------------------------------------- */
@media only screen and (max-width: 1366px) {
	.row-map .widget-sv {
	    left: 80px;
	}
	
}

/* Smaller than standard 1200 */
@media only screen and (max-width: 1199px) {
	.flat-tabs ul.menu-tab li a {
		margin-right: 150px;
	}

	.btn-menu {
		display: block ;
	    margin-right: 0;
	    margin-left: 20px;
	    margin-top: 39px;
	}

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

	.main-content.have-sidebar .flat-post-ordering {
		top: -55px;
	}
}

/* Smaller than standard 992 */
@media only screen and (max-width: 991px) {
	.btn-menu {
	    margin-top: 30px;
	}

	.header .header-wrap .logo {
		margin-left: 0;
		margin-right: 0;
	}

	.mainnav {
		display: none;
	}

	.title-course {
		padding: 0;
	}

	.show-search a {
		line-height: 77px;
	}

	.sidebar, .have-sidebar .post-content {
		width: 100%;
	}

	.container,	.flat-pdr-100 {
		padding: 0 15px;
	}

	.flat-button-container, .flat-course-images {
		text-align: left;
	}

	.flat-row.course .flat-pdr-100, .have-sidebar .post-content article.post .content-post {
		margin-bottom: 40px;
	}

	.flat-row:not(.contact-page) {
		padding: 35px 0!important;
	}

	.flat-row.join-us, .flat-row.about-us {
		padding: 0!important;
	}

	.main-content.flat-row {
		padding-top: 80px!important;
	}

	.have-question {
		padding: 0 30px;
	}

	.news-letter-form .widget-mailchimb {
		bottom: 0;
	}

	.flat-counter {
		margin-bottom: 30px;
	}

	.main-content.course-grid .flat-course,
	footer .widget_tweets .link-left {
		width: 50%;		
	}

	.main-content.have-sidebar .sidebar {
		margin-top: 40px
	}

	.footer .widget {
		margin-bottom: 30px;
	}

	.page-title .page-title-heading h2 {
		padding-top: 52px;
	}

	.breadcrumbs {
		padding-bottom: 40px;
	}

	.teacher .flat-teacher {
		width: 50%;
	}

	footer .widget_tweets .link-right {
		float: none;
		padding-left: 30px;
	}

	.flat-contact-form textarea {
		max-width: 100%;
	}

	.course-single .sidebar {
		width: 100%;
		padding-left: 15px;
	}

	.blog-posts .blog-title-single h1, .blog-posts .blog-title h1 {
		margin-bottom: 30px;
	}

}

/* Tablet Landscape */
 @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

}

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

/* All Mobile Sizes */
@media only screen and (max-width: 767px) {
	.main-content.blog-posts .entry,
	.row-map .widget-sv,
	.main-content.blog-masory .post-wrap .entry,
	.comment-form .name-container,
	.comment-form .email-container {
		width: 100%;
	}

	.blog-posts .blog-title-single h1, .blog-posts .blog-title h1 {
		font-size: 30px;
		line-height: 30px;
	}

	.main-content.course-grid.have-sidebar .flat-course, .main-content.course-grid.have-sidebar .flat-course:nth-of-type(even), 
	.have-sidebar .post-content article.post, .have-sidebar .post-content article.post:nth-of-type(even) {
		width: 100%;
		margin: 0 0 33px;
	}


	.header-inner-pages p {
		padding-top: 10px;
	}

	.top .right-bar {
		float: none;
	}

	.top .flat-information, .text-information,  .top .flat-socials {
		text-align: center;
		width: 100%;
	}

	.flat-information > li > a {
	    padding: 5px 12px;
	}

	.flat-information > li:before {
		top: 5px;
	}

	.flat-row.join-us p {
		padding: 0 20px;
	}

	.flat-row.testimonial .testimonial-slider {
		width: 100%;
	}

	.contact .comment-form .name-container, 
	.flat-contact-form .input-wrap.name {
		width: 49%;
	}

	.flat-socials > li.facebook, .flat-socials > li.facebook a {
		padding-left: 0;
	}

	.contact-page {
		padding-top: 50px;
	}

	.contact-content {
	    margin-bottom: 45px;
	}

	.contact .comment-form .name-container, 
	.flat-contact-form .input-wrap.name, .contact .comment-form .email-container,
	.flat-contact-form .input-wrap.email, .contact .comment-form .subject-container,
	.flat-contact-form .input-wrap.Subject {
		width: 100%;
		margin-right: 0;
	}

	.flat-tabs ul.menu-tab li a {
		margin-right: 83px;
	}

	.main-content.course-grid .blog-title {
		margin-bottom: 20px;
	}

	.main-content.course-grid .flat-post-ordering {
		top: 55px;
		padding: 0 10px;
		left: 0;
		right: auto;
	}

	.main-content.course-list .featured-post {
		width: 100%;
		margin: 0 0 20px;
	}

	.main-content.course-list .flat-course .course-content {
		overflow: visible;
		clear: both;
		position: relative;
	}

	.main-content.course-single .course-widget-price {
		width: 100%;
		margin-bottom: 30px;
	}

	.course-widget-price .flat-button {
	    padding: 0 15px;
	    line-height: 37px;
	}

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

	ul.curriculum li ul.section-content li.course-lesson .fr {
		float: none;
	}

	.blog-posts .comment-post {
		margin-bottom: 40px;
	}

	.blog-posts .comment-post .comment-respond input {
		width: 100%;
	}

	.tp-leftarrow.square:hover, .tp-rightarrow.square:hover,
	.tp-leftarrow.square, .tp-rightarrow.square {
		background: transparent;
	}

	.flat-course .course-content .price {
		top: -32px;
	}

	.flat-tabs ul.menu-tab {
		margin-bottom: 0;
	}

	.flat-tabs ul.menu-tab li {
		margin-bottom: 50px;
	}

	.flat-tabs ul.menu-tab:after {
		top: 39%;
	}

	.blog-posts .comment-post .comment-avatar > img {
		margin-bottom: 5px;
	}

	.blog-posts .comment-post .comment.style1 {
		padding-left: 30px;
	}

	.header .header-wrap .logo {
		width: 150px;
		height: auto;
	}

	.post .date-post {
		margin-right: 10px;
		margin-bottom: 5px;
	}

}
	

/* Mobile Landscape Size */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
}

/* Mobile Portrait Size */
@media only screen and (max-width: 479px) {
	.teacher .flat-teacher {
		width: 100%;
	}

	.flat-portfolio.v1 .item,
	.flat-portfolio.v3 .item,
	.flat-portfolio.v3 .item.w50,
	.flat-portfolio.v4 .item,
	.flat-portfolio.v2 .item,
	ul.products li {
		width: 100%;
	}

	.flat-information > li, .flat-information > li.email {
		margin: 0;
	}

	.flat-row.testimonial .testimonial-slider {
		padding: 15px;
	}

	.news-letter-form .widget-mailchimb p, .news-letter-form .widget-mailchimb .widget-title,
	.news-letter-form .widget-mailchimb input[type=email] {
		margin-bottom: 10px;
	}

	.news-letter-form .widget-mailchimb input[type=email] {
		width: 100%;
	}

	.flat-tabs .content-tab .text-tab {
		width: 100%;
		padding: 15px;
	}

	.flat-tabs .content-tab .images-tab {
		width: 100%;
	}

	.button-right.owl-theme .owl-controls .owl-nav div.owl-next, 
	.button-right.owl-theme .owl-controls .owl-nav div.owl-prev {
		top: -32px;
	}

	.flat-tabs ul.menu-tab li a {
		margin-right: 19px;
	}

	.flat-accordion .flat-toggle .toggle-content {
		margin-left: -30px;
		padding-right: 25px;
	}

	.flat-accordion .toggle-content > div {
		overflow: visible;
	}

	.flat-accordion .toggle-content .faq-img {
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}

	.main-content.course-grid .flat-post-ordering {
		top: 55px;
		padding: 0 10px;
		left: 0;
		right: auto;
	}

	.main-content.course-grid.have-sidebar .flat-post-ordering,  {
		top: -95px;
	}

	.main-content.course-grid .list-grid{
		float: right;
	}

	.main-content.course-grid label.modern-select, .main-content.course-list label.modern-select {
		margin-bottom: 5px;
	}

	.main-content.course-grid .flat-course, .main-content.course-grid.have-sidebar .flat-course {
		width: 100%;
	}

	.main-content.course-list .flat-post-ordering {
		top: 62px;
		width: 100%;
		right: 0;
	}

	.post-lastest-new  .post .date-post {
		margin-right: 15px;
	}

	.content-post {
		padding: 0;
	}

	.news-letter-form .widget-mailchimb button {
		padding: 0 12px;
	    font-size: 10px;
	}

}

@media (max-width: 361px) {	
	.main-content.course-list .course-meta.desc {
		top: 145px;
	}
	
	.main-content.course-list .flat-course .course-meta.review {
		margin-bottom: 96px;
	}

	.flat-course-images {
		margin: 0 -15px;
	}

	.flat-course-images li {
		margin-right: 0;
		float: left;
		width: 50%;
	}

}


/* Retina Devices */
	@media 
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (   min--moz-device-pixel-ratio: 2),
	only screen and (   -moz-min-device-pixel-ratio: 2),
	only screen and (     -o-min-device-pixel-ratio: 2/1),
	only screen and (        min-device-pixel-ratio: 2),
	only screen and (                min-resolution: 192dpi),
	only screen and (                min-resolution: 2dppx) {
	
}

@media only screen and (max-width: 768px) {
.top{display: none;}
.flat-lh-25 {
    line-height: 20px;
    text-align: justify;
    color: #333;
}
.flat-button.orange{font-weight:600;}
.flat-row.join-us .overlay.bg-222, .flat-row.about-us .overlay.bg-222{padding: 50px 0 50px;}
.post-lastest-new .title-post{margin-bottom: 40px;}
.post-lastest-new .title-post a{font-size: 17px;}
.flat-row.testimonial .testimonial-content:before{   
	content: "";
    top: 32px;
    left: 50px;
}
.pg20{padding:0px 15px;}
.btn_down {
    background: #000;
    padding: 10px 25px 10px 25px;
    color: #fff;
}
section{padding-bottom:25px;}
.flat-row.pad-top-134 {
    padding-top: 54px;
}
.images-tab img{width:100%;
	max-width: 100%;
    float: left;
}
.flat-tabs .content-tab p{text-align: justify;}
.flat-title h1{    font-size: 30px;}
.box_show{width:100%;max-width: 100%;height: auto;margin-bottom: 15px;}
.img img {
    max-width: 100%;
    margin-left: -5px;
    border: 1px solid #bfbcbc;
    margin-top: 10px;  max-width: 100%;
    margin-left: -5px;
}
.btn_more{float:none;}
.min_height {
    min-height:100px;
}
.section{padding:10px 0px;}
.txt_content{font-size: 18px;}
.course-content ul {
    min-height: 0px;
}
.entry-content p{padding: 15px;}
.box_min{max-width: 100%;}
section {
    padding-bottom: 0px;
}
.title-course {
    padding: 0;
    font-size: 26px;
    margin-bottom: 10px;
}
.flat-course-images{display: none;}
.flat-row:not(.contact-page) {
    padding: 35px 0px 0px 0px!important;
}
.flat-row.join-us .overlay.bg-222, .flat-row.about-us .overlay.bg-222 {
    padding: 25px 0 25px;
}
.flat-row.join-us p {
    padding: 0 20px;
    text-align: center;
    display: block;
    width: 100%;
}
.post-lastest-new .post {
    margin-bottom: 0px;
}
.author-name2 {
    position: absolute;
    z-index: 999;
    margin-top: 15px;
    font-size: 20px;
    text-align: center;
    display: block;
    width: 100%;
}
.footer .widget {
    margin-bottom: 10px;
}
.btn_enq {
    color: #333;
    border-color: #a9332c!important;
    display: block!important;
    padding: 10px 10px!important;
    border: 1px solid #000;
    font-size: 15px;
    margin-top: 10px;
    margin-left: 40px;
    margin-right: 40px;
    text-align: center;
}
.about_img img {
    max-width: 100%;
    width: 100%;
}
.box_shad {
    max-width: 95%;
    width: 100%;
    box-shadow: 0px 0px 10px #676767;
    margin-bottom: 30px !important;
    margin-left: 10px;
}
.post-lastest-new .title-post {
    margin-bottom: 0px;
}
.entry-content p {
    padding: 20px 0px;
}
.icon_txt {
    color: #fff;
    font-size: 28px;
    text-align: center;
    padding: 15px 0px;
}
.post .entry-image img {
    border-radius: 0px;
    width: 100%;
}
.title-post:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: #f00;
    left: 8px;
    top: 285px;
}

.img_icon img {
	max-width: 40px;
    position: relative;
    top: 18px;
    left: 20%;
    margin-bottom: 10px;
}
.img_icon {
    width: 32%;
    float: left;
    margin-top: 50px;
}
.img_box{margin-bottom: 15px;width: 80px;
    height: 80px;}
	
.owl-controls {
    text-align: center;
    display: none;
}
.media_pg{padding: 15px;}
.media_pb{padding-bottom:30px;}
.icon_txt:before{margin-top:75px;left: 46%;}	
.flat-title-section h1 {
    margin-bottom: 0px;
    text-transform: uppercase;
    font-size: 25px;
}


.title-course {
    padding: 0;
    font-size: 26px;
    margin-bottom: 10px;
    margin-top: 10px;
}
.mediapg50{padding-bottom:35px;}
.flat-row {
    clear: both;
    display: block;
    position: relative;
    padding: 0px;
}
.submit-wrap{padding-bottom: 20px;}
.main-content {
    padding: 15px 0px 0px 0px;
}
#txt_serv{padding-top:20px;}


}
