/* ==========================================================================
   Media Queries
   ========================================================================== */


  @media only screen and (min-height: 442px) and (max-height:1500px) and (max-width:479px){
        .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
}
 @media only screen and (min-height: 100px) and (max-height:441px) and (max-width:479px){
         .hlavni-nadpis{margin: -50px auto;}
     .we-create{margin:30px auto;}
}




    @media only screen and (min-height: 626px) and (max-height:1500px) and (min-width:480px) and (max-width:767px){
         .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
}

    @media only screen and (min-height: 513px) and (max-height:625px) and (min-width:480px) and (max-width:767px){
        .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
}

  @media only screen and (min-height: 422px) and (max-height:512px) and (min-width:480px) and (max-width:767px){
         .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
}
  @media only screen and (min-height: 370px) and (max-height:421px) and (min-width:480px) and (max-width:767px){
      .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
      .we-create{margin:15px auto;}
      .header h1{font-size:24px !important}
      .logo{margin-bottom:20px;}
}
@media only screen and (min-height: 0px) and (max-height:369px) and (min-width:480px) and (max-width:767px){
       .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
      .we-create{margin:15px auto;}
      .header h1{font-size:24px !important}
      .logo{margin-bottom:20px;}
}



  @media only screen and (min-height: 501px) and (max-height:1500px) and (min-width:768px) and (max-width:991px){
         .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
}
  @media only screen and (min-height: 400px) and (max-height:500px) and (min-width:768px) and (max-width:991px){
      .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
      .we-create{margin:15px auto;}
      .header h1{font-size:24px !important}
      .logo{margin-bottom:20px;}
}
@media only screen and (min-height: 0px) and (max-height:399px) and (min-width:768px) and (max-width:991px){
      .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
      .we-create{margin:15px auto;}
      .header h1{font-size:24px !important}
      .logo{margin-bottom:20px;}
}




    @media only screen and (min-height: 750px) and (max-height:1500px) and (min-width:992px) and (max-width:1440px){
      .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
      .logo{width: 60%; margin-bottom:20px;}
}

    @media only screen and (min-height: 581px) and (max-height:749px) and (min-width:992px) and (max-width:1440px){
        .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
         .we-create{margin:30px auto;}
      .header h1{font-size:28px !important;}
      .logo{width: 55%;margin-bottom:20px;}
}

  @media only screen and (min-height: 501px) and (max-height:580px) and (min-width:992px) and (max-width:1440px){
       .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
       .we-create{margin:25px auto;}
      .header h1{font-size:28px !important;}
      .logo{width: 55%;margin-bottom:20px;}
}
  @media only screen and (min-height: 400px) and (max-height:500px) and (min-width:992px) and (max-width:1440px){
     .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
      .we-create{margin:15px auto;}
      .header h1{font-size:24px !important;}
      .logo{width: 50%;margin-bottom:20px;}
}
@media only screen and (min-height: 0px) and (max-height:399px) and (min-width:992px) and (max-width:1440px){
      .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
      .we-create{margin:15px auto;}
      .header h1{font-size:24px !important;}
      .logo{width: 50%;margin-bottom:20px;}
}




    @media only screen and (min-height: 581px) and (max-height:1500px) and (min-width:1440px){
           .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
}

  @media only screen and (min-height: 501px) and (max-height:580px) and (min-width:1440px){
        .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
       .we-create{margin:25px auto;}
      .header h1{font-size:28px !important;}
      .logo{width: 55%;margin-bottom:20px;}
}
  @media only screen and (min-height: 400px) and (max-height:500px) and (min-width:1440px){
        .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
      .we-create{margin:15px auto;}
      .header h1{font-size:24px !important;}
      .logo{width: 50%;margin-bottom:20px;}
       .header{padding: 0px 0px;}
}
@media only screen and (min-height: 0px) and (max-height:399px) and (min-width:1440px){
        .hlavni-nadpis{ position: relative; top: 50%; transform: translateY(-50%);}
      .we-create{margin:15px auto;}
      .header h1{font-size:24px !important;}
      .logo{width: 50%;margin-bottom:20px;}
      .header{padding: 0px 0px;}
}


@media only screen and (min-width: 992px) {
	/****Ipad Landscape 1024 Container 970 ****/

	.c-logo-part ul li{ margin:0 15px;}
	.form{ margin:0 0 0 20px}
	.main-nav{ display:block !important;}


	/*.portfolioContainer{ width:800px; margin:0px auto !important; } */

}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	/****Ipad Portrait 768 Container 750 ****/
	body{ font-size:13px;}
	p{ line-height:20px ;}
    .logo{width:60%;}
	.header h1{ font-size:32px;}
    .we-create li{font-size: 18px;}
	.main-nav ul li a{ padding:14px;}
	.small-logo{ padding:0 20px;}
	.main-nav{ display:none; position:absolute; left:0; width:100%; top:74px; float: none; background:#fff;}
	.main-nav li{ display:block;}
	.main-nav li.small-logo{ display:none;}
	.main-nav li a{ display:block; padding:7px 32px; border-bottom:none;}
	.main-nav li a:hover{color:#7cc576}
	.team-leader-box{ max-width:307px; width:auto; float:none; margin:0 auto;	}
	.team-leader-box:nth-of-type(3n){ margin:0 auto}
	.res-nav_click{ display:block;}
	h2{ font-size:30px}
	h6{ font-size:16px;}
	h3{ font-size:15px;}
	.service-list{ font-size:15px;}
	.featured-work p.padding-b{ padding-bottom:15px;}
	.main-section{ padding:70px 0;}
	.c-logo-part ul li{float:left; width:18%;}
	.c-logo-part ul li a{ display:inline-block; margin: 0 -50px;}
	.c-logo-part ul li a img{ display:block; padding-top: 15px;}
	.form{ margin:0;}
	.contact-info-box{ margin:0 ;}
	.social-link{ margin:0;}
	.image_on, #home:hover .image_off{display:block;}
	.cenik{margin-bottom:50px;}
	.blog-sub-text h2{text-align: center;}
	.blog-sub-form{width: 70%; display: block;  margin: 40px auto;}
	.blog-sub-button{ display: block; margin: 0 auto;}
    .team-obrazek{margin: 0 200px; padding-top: 0px;}
    .call-to-action-button{margin: 20px auto;}
    .vynikame-phone{padding-top: 200px}

	/*.portfolioContainer{ width:750px; margin:0px auto !important; }
	.Portfolio-box{ height:250px;}*/



}

@media only screen and (max-width: 767px) {
	/****Mobile Landscape 480 Container 100% ****/
	body{ font-size:12px;}
	h2{ font-size:26px;}
	h3{ font-size:14px;}
	h6{ font-size:16px; margin-bottom:40px;}
	p{ line-height:18px; font-size: 14px}
	.service-list{ font-size:12px;}
	.we-create li{ font-size:16px; padding:0 0 0 8px}
	.header h1{ font-size:28px;}
	.header{ padding:60px 0;}
	.main-section{ padding:60px 0 70px;}
	.main-nav{ display:none; position:absolute; left:0; width:100%; top:74px; float: none; background:#fff;}
	.main-nav li{ display:block;}
	.main-nav li.small-logo{ display:none;}
	.main-nav li a{ display:block; padding:7px 32px; border-bottom:none;}
	.main-nav li a:hover{color:#7cc576}
	.team-leader-box{ max-width:307px; width:auto; float:none; margin:0 auto;	}
	.team-leader-box:nth-of-type(3n){ margin:0 auto}
	.res-nav_click{ display:block;}
	.featured-work{ font-size:12px; margin-top:30px;}
	.featured-box{ font-size:12px;}
	.featured-box p{ line-height:18px; font-size: 14px}
	.c-logo-part{ display:none;}
	.main-section.team{ padding:60px 0 50px;}
	.business-talking h2{ font-size:36px;}
	.contact-info-box{ margin:0 0 12px 30px; font-size:14px;}
	.contact-info-box span{ line-height:32px;}
	.social-link{ margin-left:30px;}
	.form{ margin:0 30px;}
	.copyright{ font-size:12px;}
	.business-talking a{ padding:10px 25px; font-size:14px;}
	.main-section.contact{ padding:60px 0 70px}
	.client-part-haead{ font-size:20px; line-height:30px;}
	.link{ font-size:14px; padding:10px 25px;}
	.logo{ width:200px;}
	.main-section.contact{ background-size:contain;}
	.Portfolio-nav li a{ padding:5px 16px;}
	.Portfolio-nav li{ display:block;}
	.image_on, #home:hover .image_off{display:block;}
	.cenik{margin: 50px auto; width: 60%;}
	.blog-sub-text h2{text-align: center;}
	.blog-sub-form{width: 60%; display: block;  margin: 40px auto;}
	.blog-sub-button{ display: block; margin: 0 auto;}
    .vynikame-phone {padding: 0px 120px;}
    .codelame-notebook {padding: 20px 120px;}
    .team-obrazek{margin: 0 150px; padding-top: 0px;}
    .main-section.team h6{margin:30px 50px; text-align: center;}
    .call-to-action-button{margin: 20px auto;}
    .kontakt-nadpis{text-align: center}
    .kontakt-nadpis-underline{margin:0 auto; margin-bottom: 30px; margin-top: -10px;}

}

@media only screen and (max-width: 479px) {
	/****Mobile Portrait 320 ****/
	.contact-info-box{ margin-left:0px;}
	.social-link{ margin-left:0px;}
	.form{ margin:0}
	.c-logo-part{ display:none;}
	.Portfolio-box{  max-width:300px !important; width:96.4% !important; margin:0 !important}
	.Portfolio-box img { max-width:100%;}
	.portfolioContainer{ width:320px !important; margin:0 auto !important }
	.image_on, #home:hover .image_off{display:block; padding-top: 10px;}
	.cenik{margin: 50px auto; width: 90%;}
    .call-to-action-button{margin: 20px auto;}

    .codelame-notebook{padding: 30px;}
    .vynikame-phone{padding:0px 30px}
    .portfolio-box{width: auto; height: auto;margin: 15px; box-shadow:4px 4px 6px 3px rgba(0, 0, 0, 0.1);padding-bottom: 20px;}
    .link_projekty{margin-top:32px;}
    .main-section.team h6{margin:30px 0px;}
    .team-obrazek{margin:0 50px;}
    .ceniknadpis{padding-bottom:0px;}
    .kontakt h2{padding:50px 20px;}
    }


