/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1441px) {
	.home .sitemenu {
		right: 0;
	}

    .container {
       /* width: 90%;*/
    }
}

@media only screen and (max-width : 1200px) {

	.skylines02:before {
		left: -102%;
	}

    .page01 .contentline02 .infoline01 {
        left: -60px;
    }

	.homelines h2 {
		font-size: 65px;
	}

	.homelines #data h2 {
		padding-left: 0;
	}

	.homelines #ourwork {
	    padding-top: 178px;
	}

	.homelines #help h2 {
	    font-size: 58px;
	    margin-top: 0px!important;
	}

	.homelines #help .help_title {
	    padding-left: 85px;
	}

	.homelines #career h2 {
		margin-top: 0px!important;
	}
	.homelines #ourblog {
	    padding-top: 200px;
	}

	.homelines #about .about_title {
	    padding-left: 70px;
	}

}

/*Special for tablet - copy style from 954*/
@media only screen and (max-width:1025px){
    .container {
        width: 90%;
		padding-left: 15px;
		padding-right: 15px;
    }

    
    #clickable-london, #clickable-dubai {
    	display: none;
    }

    .sitemenu,
    .home .sitemenu {
    	right: 15px;
    }

    .page-id-36 .page01 {
        background: rgba(0, 0, 0, 0) url("../img/mechanics.png") no-repeat scroll 515px 50px;
    }

    .page-id-32 .page01 {
        background: rgba(0, 0, 0, 0) url("../img/microscope.png") no-repeat scroll 505px 50px / 22% auto;
    }

    .page-id-195 .page02 {
        background: rgba(0, 0, 0, 0) url("../img/mechanics.png") no-repeat scroll 465px 50px;
    }

    .page-id-66 .page01 {
        background: rgba(0, 0, 0, 0) url("../img/medal.png") no-repeat scroll 505px 50px / 22% auto;
    }

    .page-id-135 .teampage {
        background: rgba(0, 0, 0, 0) url("../img/medal.png") no-repeat scroll 455px 50px / 25% auto;
        padding-bottom: 80px;
    }

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 954px) {

    #homesec02, #homesec03, #homesec04, #homesec05, #homesec06 {
        background-size: 20%;
    }

    .singlepage h1 {
        margin-top: 0;
    }

	#homesec01{
		padding-top: 75px;
	}

	
    .page-template-blog-php .blogpage .blog_box img {
        border-radius: 10px;
        height: auto;
        max-width: 100%;
        min-height: auto;
    }

	.page01,
	.page02,
	.teampage {
		background: none!important; 
        padding-top: 32px;
	}

	.blogpage .blogline:before {
	    left: 0px;
	}

	.skylines03{
		padding: 80px 0;
	}
	.greenlines01{
	    padding: 140px 0;
	}

	#homesec02 .smallmenu,
	#homesec04 .smallmenu {
	    left: -66px;

	}

	.home h2:before,
	.home h1:before {
	    left: -60px;
	    top: 10px;
	    width: 40px;
    	height: 40px;
	}

	.page02 .contentline02 .infobox {
		position: static;
	}

	.page02 .contentline02:before,
	.teampage .contentline02:before,
	.teampage .contentline02,
    .page-id-195 .page02 .contentline02{
		display: none;
	}

	.team_photos {
	    margin-top: 0px;
	}


	.page01 h1:before,
	.page02 h1:before,
	.blogpage h1:before,
	.teampage h1:before,
    .singlepage h1::before,
    .jobs .singlepage h1::before,
    .page-id-195 .page02 h1::before,
    .press .singlepage h1::before{
		top: 0px;
		left: -87px;
	    width: 45px;
	    height: 45px;
	}

    .singlepage {
        padding-bottom: 50px;
        padding-top: 32px;
    }

    .singlepage  h1::before{
        top: 20px!important;
    }

    .blogpage {
        padding-bottom: 50px;
        padding-top: 32px;
    }

	.page01 h1,
	.blogpage h1 {
		font-size: 50px;
	}

	footer.page .copyright {
		margin-top: 30px;
	}

	.page01 .contentline02 .infoline01,
	.page01 .contentline04 .infoline02{
	    position: static;
        width: auto;
	}

    .tablet {
        min-height: 200px;
    }

	.page01 .contentline01,
	.page01 .contentline02,
	.page01 .contentline03,
	.page01 .contentline04,
	.page02 .contentline01,
	.page02 .contentline02,
	.teampage .contentline01,
	.teampage .contentline02,
    .blogpage .contentline01,
    .blogpage .contentline02,
    .page-template-press .blogpage .contentline01,
    .page-id-195 .page01 .contentline01,
    .page-id-195 .page01 .contentline02,
    .page-id-195 .page01 .contentline03,
    .page-id-195 .page01 .contentline04,
    .page-id-195 .page02 .contentline01,
    .singlepage .contentline01,
    .jobs .singlepage .contentline01{
		border:0!important;
	    padding: 20px 40px 20px 0!important;
	}

    .page-id-69 .blogpage .contentline01 {
        border:0 !important;
    }

    .blogpage .blog_box {
        min-height: auto;
    }




    .homelines #career .smallmenu {
	    float: none;
	}

	.homelines #help .smallmenu ul,
	.homelines #career .smallmenu ul,
	.homelines #about .smallmenu ul,
	#homesec02 .smallmenu ul,
	#homesec03 .smallmenu ul,
	#homesec04 .smallmenu ul,
	#homesec05 .smallmenu ul{
		/*margin-left: 55px;*/
	    margin-top: 0px;
	    background: transparent;
	}

	.homelines #help .smallmenu ul li a,
	 #homesec04 .smallmenu ul li a{
		background: #bfcd2f;
		border-radius: 6px;
	    margin: 0 0 2px;
	    display: inline-block;
	}	

	.homelines #career .smallmenu ul li a,
	#homesec05 .smallmenu ul li a{
		background: #eb719a;
		border-radius: 6px;
	    margin: 0 0 2px;
	    display: inline-block;
	}

	.homelines #about .smallmenu ul li a,
	#homesec02 .smallmenu ul li a{
		background: #de1d2e;
		border-radius: 6px;
	    margin: 0 0 2px;
	    display: inline-block;
	}

	#homesec03 .smallmenu ul li a{
		background: #06a9cc;
		border-radius: 6px;
	    margin: 0 0 2px;
	    display: inline-block;
	}

	.homelines #data,
	.homelines #about,
	.homelines #ourwork,
	.homelines #help,
	.homelines #career,
	.homelines #ourblog {
	    padding-top: 20px;
	    padding-left: 25px;
    	padding-bottom: 60px;
	}

	.homelines #about .about_title,
	.homelines #ourblog .blog_title,
	.homelines #help .help_title {
	    padding-left: 8px;
	}

	.homelines #data h2,
	.homelines #about h2,
	.homelines #ourwork h2,
	.homelines #help h2,
	.homelines #career h2,
	.homelines #ourblog h2 {
	    padding-left: 49px;
	    margin-top: 0;
	}	

	.homelines #data h2:before,
	.homelines #about h2:before,
	.homelines #ourwork h2:before,
	.homelines #help h2:before,
	.homelines #career h2:before,
	.homelines #ourblog h2:before {
		content: '';
		background-image: url(../img/roundar01.png);
		background-repeat: no-repeat;
		background-size: contain;		
		width: 50px;
		height: 50px;
	    position: absolute;
		top: 0px;
    	left: -25px;
	}	

	.homelines #data h2:before {
		background-image: url(../img/bluearow.png);
    	
	}	

	.homelines #ourwork h2:before {
		background-image: url(../img/roundar02.png);
    	
	}	

	.homelines #help h2:before {
		background-image: url(../img/roundar03.png);
    	
	}

	.homelines #career h2:before {
		background-image: url(../img/roundar04.png);
    	
	}	

	.homelines #ourblog h2:before {
		background-image: url(../img/roundar05.png);
    	
	}

	.homelines #data{
		/*min-height: 470px;*/
		padding-bottom: 200px;
		padding-left: 25px;
		/*background: url(../img/home01.png) no-repeat center center;*/
		background-size: contain;
	}

	.homelines #data:before {
		content: '';
		position: absolute;
		top: 20px;
    	left: 73px;
		width: 2px;
		height: 82%;
		background: #52a2e1;
	}		

	.homelines #about:before {
		content: '';
		position: absolute;
		top: 20px;
	    left: 73px;
	    width: 2px;
	    height: 42px;
		background: #de1d2e;
	}

	.homelines #ourwork:before {
		content: '';
		position: absolute;
		top: 20px;
	    left: 73px;
	    width: 2px;
	    height: 42px;
		background: #06a9cc;
	}

	.homelines #help:before {
		content: '';
		position: absolute;
		top: 20px;
	    left: 73px;
	    width: 2px;
	    height: 44px;
		background: #bfcd2f;
	}	

	.homelines #career:before {
		content: '';
		position: absolute;
		top: 20px;
	    left: 73px;
	    width: 2px;
	    height: 44px;
		background: #eb719a;
	}		

	.homelines #ourblog:before {
		content: '';
		position: absolute;
		top: 20px;
	    left: 73px;
	    width: 2px;
	    height: 44px;
		background: #006a77;
	}			

	.homelines #data:after {
		content: '';
		position: absolute;
		bottom: 34px;
	    left: 66px;
		width: 15px;
		height: 15px;
		border-radius: 100%;
		border: 2px solid #52a2e1;
	}


	/*header .logo {
		float:left;
		margin-left: 81px;
	}

	header .head_contacts,
	header.page .head_contacts {
	    float: right;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
    -ms-flex-direction: column;
        flex-direction: column;
            text-align: center;
            margin-top: 40px;
	}

	header .head_contacts div a {
		background: #006a77;
	}
	header .head_contacts div span {
	    color: #006a77;
	}*/

	.unrow-sm {
		margin-left: 0!important;
		margin-right: 0!important;
	}

	.homelines {
	 	background: none;
	}

	.container {
	    /*width: 100%!important;*/
    	width: 90%;
	}

	.homelines h2,
	.home h2,
	.home h1 {
		line-height: 50px;
	    font-size: 55px!important;
	}

/*	header{
		margin-bottom: 60px;
	}*/

	#homesec06 {
		min-height: 200px;
	}


	.redlines01{
	    margin-top: -228px;
	}
	.pinklines01{
	    margin-top: -150px;
	}



	
}



/* Small Devices, Tablets */
@media only screen and (max-width : 748px) {

    .home .c-hamburger {
        display: none;
    }

    .tablet {
        min-height: 0;
    }

.home .smallmenu ul li a {
    padding: 5px 14px;
}


    .page-template-press .blogpage .contentline01, .page-id-195 .page02 .contentline01, .blogpage .contentline01 {
        border-left: none !important;
    }

    .jobs .singlepage .contentline01 {
        border-left: none !important;
    }

	.page01 .contentline01,
	.page01 .contentline02,
	.page01 .contentline03,
	.page01 .contentline04,
	.page02 .contentline01,
	.page02 .contentline02,
	.teampage .contentline01,
	.teampage .contentline02,
    .page-id-195 .page01 .contentline01,
    .page-id-195 .page01 .contentline02,
    .page-id-195 .page01 .contentline03,
    .page-id-195 .page01 .contentline04{
	    padding: 20px 0;
	}

	.singlepage {
	    padding: 10px 0 50px 0;
	}

	.page01,
	.page02,
	.teampage,
    .blogpage{
		background: none!important; 
        padding-top: 12px;
	}

	header .head_contacts {
		margin-top: 31px;
    	/*margin-left: 7px;*/
    	float:right;
	}

	header .head_contacts div {
		font-size: 12px;
    	font-weight: 700;
    	margin-right:0;
	}
	header .head_contacts div a {
	    width: 25px;
	    height: 25px;
	    line-height: 26px;
	    margin-right: 2px;
	    background: #006a77;
	}

	header .head_contacts div .firstli{
		margin-right: 1px;
	}

	.infobox {
		margin-bottom: 30px;
		text-align: center;
	}

	header .logo {
	    width: 90px;
    	height: 48px;
	}

    .container {
        width: 90%;
    }
	.singlepage h1 {
	    font-size: 24px;
	    width: 90%;
	}

	.blogpage .blog_box {
		margin-bottom: 30px;
	}

	.blogpage .blog_box img {
		min-width: 100%;
	}

    .page-template-press .blog_box img {
        min-width: 60%;
    }

    .page-template-jobs-php .blogpage .blog_box img {
        min-width: auto;
    }


	.background_homelines_mobile {
		/*display: block;
		width: 280px;
		height: 169px;
		background: url(../img/home01.png) no-repeat center center;
		position: fixed;
		z-index: -1;
		top: 50%;*/
		/*left: 50%;*/
		background-size: contain;    
		/*-webkit-transform:translate(-50%,-50%);
        -ms-transform:translate(-50%,-50%);
            transform:translate(-50%,-50%);
        -webkit-transition: 1s;
    	transition: 1s;*/
	}

	#homesec05 .smallmenu,
	#homesec03 .smallmenu {
		float: none;
		display: block;
		position:static!important;
	}


	.redlines01,
	.greenlines01 {
		margin-top: 0;
		padding: 0px 7px;
	}

	#homesec01{
	    padding-top: 30px;
	}

	#homesec02,
	#homesec03,
	#homesec04,
	#homesec05,
	#homesec06 {
		background:none;
		top: 0px;
		padding-bottom: 50px;
	}

	#homesec01 {
	    background: rgba(0, 0, 0, 0) url("../img/WorldMap-01.jpg") no-repeat scroll center top / 100% auto;
	    height: 100%;
	    min-height: 270px;
	}

	#homesec06{
	    min-height: 50px;
	}

	#homesec02 .smallmenu,
	#homesec04 .smallmenu {
		position:static;
	}

	.bluelines01,
	.redlines01,
	.skylines01,
	.greenlines01 {
		border: 0;
	}

	.page nav{
		/*height: 36px;*/
	}

	.page01 .contentline02 .infobox {
	    padding-right: 10px;
	}

	.page01 h1:before,
	.page02 h1:before,
	.blogpage h1:before,
	.teampage h1:before,
    .page-id-195 .page01 h1:before{
		/*display: none;*/
		width: 20px !important;
		height: 20px!important;
		top: 0px!important;
    	left: -30px!important;
	}

	.page01 h1,
	.page02 h1,
	.blogpage h1,
	.teampage h1,
    .page-id-195 .page01 h1{
		font-size: 22px;
		margin-top: 0;
		width: 86%;
	}	

	.page01 .contentline03 {
		padding: 0;
	}

	.page01 .contentline02 .infobox h3,
	.page01 .contentline04 .infobox h3 {
	    min-height: auto!important;
    	padding-bottom: 10px;
	}

	.home .sitemenu,
	.page .sitemenu {
		/*right: 0;
	    top: 100px;*/
        right: -150%;
	    top: 0px;
	    background: #fff;
	    height: 100%;
	    position: fixed;
	/*	display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		        align-items: center;*/
        padding-left: 15px;
        padding-right: 15px;
        z-index: 100;
        -webkit-box-shadow: -5px -1px 29px 0px rgba(0,0,0,0.10);
		-moz-box-shadow: -5px -1px 29px 0px rgba(0,0,0,0.10);
		box-shadow: -5px -1px 29px 0px rgba(0,0,0,0.10);
	}

    .menuscroll {
        height: 80%;
        margin-right: -80px;
        margin-top: 70px;
        overflow-y: scroll;
        padding-right: 55px;
        width: 250px;
    }

	.sitemenu ul li ul {
		width: auto;
	}


	.homelines #data h2:before,
	.homelines #about h2:before,
	.homelines #ourwork h2:before,
	.homelines #help h2:before,
	.homelines #career h2:before,
	.homelines #ourblog h2:before{
		width: 25px;
		height: 25px;
		left:0;
	}

	.home h2:before,
	.home h1:before {
		width: 25px;
		height: 25px;
		left:-35px;	
		top: 0;	
	}

	.homelines #about:before,
	.homelines #ourwork:before,
	.homelines #help:before,
	.homelines #help:before,
	.homelines #career:before,
	.homelines #ourblog:before {
		height: 22px;
	}

	.homelines h2,
	.home h2,
	.home h1 {
	    line-height: 25px;
	    font-size: 25px!important;
	}

	.homelines #data {
	   /* min-height: 200px;*/
	   padding-bottom: 60px;
	}

	.homelines #data:before {
	    height: 74%;
	}

	.homelines #data:after {
		bottom: 9px;
	}
	/*header .head_contacts,
	header.page .head_contacts {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
    -ms-flex-direction: column;
        flex-direction: column;
	}

	header .head_contacts,
	header .head_contacts div {
	    width: 100%;
	}*/

	/*header .head_contacts,
	header.page .head_contacts{
		margin-top: 15px;
		float: none;
		width: 100%;
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient:horizontal;
		-webkit-box-direction:reverse;
		-webkit-flex-direction:row-reverse;
		    -ms-flex-direction:row-reverse;
		        flex-direction:row-reverse;
	}
	header .head_contacts div {
		width: 50%;
	    margin-right: 0px;
	}

	header .head_contacts div .firstli {
		width: 100%;
	}*/

	header .logo,
	header.page .logo {
	    float: left;
	    /*margin: 12px auto;*/
	}

	header{
		text-align: center;
	}

	.designed {
		font-size: 14px;
		text-transform: none;
		text-align:left!important;
		padding-top: 30px;
	}

	.homelines {
		background-size: contain;
	}
/*
	.blogpage {
	    padding-top: 39px;
	}*/

    .col-xs-12.col-sm-4.col-md-4.col-lg-4.address {
        -ms-box-orient: horizontal;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -moz-flex;
        display: -webkit-flex;
        display: flex;
        flex-direction: column-reverse;
        -webkit-flex-direction: column-reverse;
        margin-bottom: 10px;
        margin-top: 10px;
    }

     .page-id-69 .page01 h1::before {
        height: 20px !important;
        left: -25px !important;
        top: 1px !important;
        width: 20px !important;
    }



}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {


    header .head_contacts {
        display: flex;
        flex-direction: column-reverse;
        float: right;
        margin-top: 10px;
        padding-left: 0;
    }

    .page-id-69 .blogpage .contentline01 {
        border: 0 none !important;
        padding: 20px 10px 10px;
    }

    #homesec01 {
	    min-height: 200px;
	}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 748px) {
    .page02, .teampage {
        background: rgba(0, 0, 0, 0) url("../img/mechanics.png") no-repeat scroll 475px 50px;
        padding-top: 50px;
    }
    .page-id-53 .page02, .page-id-39 .page02 {
    background: rgba(0, 0, 0, 0) url("../img/microscope.png") no-repeat scroll 495px 50px / 22% auto;
}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 954px) {
    .greenlines02 {
        margin-top: -.5px;
    }

    .greenlines02 {
        margin-top: -0.8px;
    }

}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	header.page .head_contacts div .firstli{
		padding-right: 40px;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min--moz-device-pixel-ratio: 1.5),
    only screen and (min-device-pixel-ratio: 1.5) {
  

	header .logo {
		background: url(../img/logo@2x.png) no-repeat;
		background-size: contain;
	}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px)  {
    .page-id-36 .page01 {
        background: rgba(0, 0, 0, 0) url("../img/mechanics.png") no-repeat scroll 445px 50px!important;
    }
    .page-id-32 .page01 {
        background: rgba(0, 0, 0, 0) url("../img/microscope.png") no-repeat scroll 465px 50px / 22% auto!important;
    }

    .page-id-53 .page02, .page-id-39 .page02 {
        background: rgba(0, 0, 0, 0) url("../img/microscope.png") no-repeat scroll 485px 50px / 22% auto;
    }
    .page02, .teampage {
        background: rgba(0, 0, 0, 0) url("../img/mechanics.png") no-repeat scroll 485px 50px;
    }
}