/*
 Author:       Cobweb Software
 Author URI:
 Template:     cobwebprogressive
 Version:      1.0.0

 Responsive layout

    1. Desktop max width 1199px
    2. Tablet max width 991px
    3. Tablet / Mobile max width 767px
    4. Mobile max width 579px

*/


/* -------------------------------------------------------------------------- *
 * 1. Desktop max width 1400px                                                *
 * -------------------------------------------------------------------------- */
 @media (min-width: 991px) {
 	#header #mainMenu > li > .nav-child{
		width: 970px;
	}
 }

 @media (min-width: 1200px) {
	#header #mainMenu > li > .nav-child{
		width: 1170px;
	}
}
 
@media (min-width: 1400px) {
	.container,
	#header #mainMenu > li > .nav-child{
		width: 1280px;
	}
}

@media (max-width: 1440px) {
	.owl-carousel .owl-nav{
		right: 6%;
	}
}
/* -------------------------------------------------------------------------- *
 * 1. Desktop max width 1200px                                                *
 * -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
	#header #mainMenu > li > a{
		padding: 5px 10px;
	}
	.header_top_left img{
		width: 100%;
	}
	.our-services .featured-services .image{
		height: 120px;
		padding: 10px 0;
	}
	div.itemImageBlock.floated{
		float: none;
	}
}

@media (min-width: 991px) {
	.itemView.masonry .itemHeader{
	    min-height: 427px; 
	}
}


/* -------------------------------------------------------------------------- *
 * 2. Tablet max width 991px                                                *
 * -------------------------------------------------------------------------- */

@media (max-width: 991px) {
	.container,
	#header #mainMenu > li > .nav-child{
		width: 100%;
	}

	#header #mainMenu{
		display: none;
	}
	#mobileMenu,
	.offcanvas-menu{
        display: initial;
    }

    .mod-languages{
    	margin: 10px 0;
    }

    .main_content_left,
    .maing_content_right{
    	padding: 0 30px;
    }
    .main_content_left{
    	margin-bottom: 60px;
    }
    .blog .single-blog{
    	margin-left: 0;
    	margin-right: 0;
    }

	.our-services .featured-services .image{
		height: 100px;
	}

	.our-projects-subtitle{
		margin-bottom: 50px;
	}

	.owl-carousel .owl-nav{
		top: -40px;
		right: 15px;
	}

	.owl-carousel .owl-nav button.owl-prev span,
	.owl-carousel .owl-nav button.owl-next span{
		width: 30px;
		height: 30px;
	}

	div.k2CalendarBlock table{
		width: 50%;
	}

	section.timeline .timeline-box.right{
		max-width: 100%;
	}
	section.timeline .timeline-box.right:before,
	section.timeline .timeline-box.right:after{
		content: "";
		display: block;
	}
	.ui.form .col-md-6{
		padding: 0;
	}

	.itemBody div[class*="col-"]:nth-of-type(2) .contacts{
		margin-top: 48px;
	}
}

/* -------------------------------------------------------------------------- *
 * 3. Tablet / Mobile max width 767px                                                *
 * -------------------------------------------------------------------------- */

@media (max-width: 767px) {
	#top-bar{
		display: none;
	}
	.header_top_left img{
		width: 50%;
		margin: auto;
		display: block;
	}
	.header_top_right{
		position: absolute;
	    top: 0;
	    width: 100%;
	    height: 100%;
	}
	#header #header-top:not(.fixed){
		position: relative;
	}
	#header #header-top:not(.fixed) .header_top_right{
		margin-top: 0;
	}
	.header_top_right #mobileMenu,
	.header_top_right .mod-languages{
		position: absolute;
	    top: 50%;
	    transform: translateY(-50%);
	    margin: 0;
	}
	.header_top_right .mod-languages{
		right: 10px;
	}
	#header #header-top.fixed{
		background-color: rgba(255, 255, 255, 0.5);
		border-bottom-color: transparent;
	}
	.sticky-header-active #header #header-top.fixed{
		background-color: #fff;
		border-bottom-color: #e5e5e5;
	}
	/*html:not(.sticky-header-active) #header #header-top.fixed #offcanvas-toggler .fa,
	html:not(.sticky-header-active) #header #header-top.fixed .mod-languages a{
		color: #fff;
	}*/
	#header #header-top.fixed .header_top_left img,
	#header #header-top .header_top_left img{
		width: 30%;
	}
	.our-services .featured-services:not(:last-child) > div{
		margin-bottom: 20px;
	}
	.owl-carousel .owl-nav{
		right: 20px;
	}

	.nav-pills li{
		width: 50%;
		margin: 0 0 10px 0 !important;
		text-align: center;
	}
	.nav-pills li:nth-child(odd){
		padding-right: 5px;
	}
	.nav-pills li:nth-child(even){
		padding-left: 5px;
	}

	.nav-pills li a{
		padding: 5px 10px;
		height: 47px;
		font-size: 14px;
	}

	.itemView .itemBody .col-md-9{
		margin-bottom: 40px;
	}
	section.timeline{
		width: 100%;
		margin: 0;
	}
	section.timeline .timeline-box.right:before,
	section.timeline .timeline-box.right:after,
	section.timeline .timeline-bar{
		content: none;
		display: none;
	}
	section.timeline .timeline-box-inner > div{
		padding: 20px;
		width: 100%;
	}
	section.timeline .timeline-box-inner{
		max-height: initial;
		display: block;
    	width: 100%;
    	overflow: initial;
	}
	section.timeline .timeline-box-inner .experience-description{
		display: none;
	}
	section.timeline .timeline-box .icon{
		top: 20px;
	}
	section.timeline .timeline-box .icon:before, section.timeline .timeline-box .icon:after{
		background-color: #fff !important;
	}
	section.timeline .timeline-box .experience-info > *{
		width: 100%;
		margin-bottom: 0;
	}
}

/* -------------------------------------------------------------------------- *
 * 4. Mobile max width 579px                                                  *
 * -------------------------------------------------------------------------- */

@media (max-width: 579px) {
	#header #header-top.fixed .header_top_left img,
	#header #header-top .header_top_left img{
		width: 50%;
	}
	.custom-col-12,
	.header_top_left img,
	.our-services .featured-services > div,
	div.k2CalendarBlock table,
	.nav-pills li{
		width: 100%;
	}
	.our-services .featured-services:not(:last-child) > div{
		margin-bottom: 10px;
	}
	.our-services .featured-services h4{
		display: flex;
	}
	.our-services .featured-services h4 > i{
		margin: auto;
	}
	.our-services ul{
		padding: 0 10px;
	}
	.our-services ul li{
		display: block;
	}
	.our-services ul li:not(:last-child){
		margin-right: 0;
	}

	.nav-pills li:nth-child(odd),
	.nav-pills li:nth-child(even){
		padding: 0;
	}
	.nav-pills li a{
		height: auto;
	}
	.nav-pills li a img{
		display: none;
	}

}

@media (max-width: 320px) {

}