/* Vlastni fonty */
@import url(https://fonts.googleapis.com/css?family=Play:400,700&subset=latin,latin-ext);

/* CSS reset */
html, body, div, span, applet, object, iframe,
 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
 a, abbr, acronym, address, big, cite, code,
 del, dfn, em, font, img, ins, kbd, q, s, samp,
 small, strike, strong, tt, var,
 dl, dt, dd, ol, ul, li,
 fieldset, form, label, legend,
 table, caption, tbody, tfoot, thead, tr, th, td {
       margin: 0;
       padding: 0;
       border: 0;
       outline: 0;
       font-weight: inherit;
       font-style: inherit;
       font-size: 100%;
       font-family: inherit;
       vertical-align: baseline; }       

*:focus, *:active {outline: 0;}     
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;}

.clearfix { zoom: 1; }
.clearfix:before, .clearfix:after {content: ""; display: table;}
.clearfix:after {clear: both;}

/*=========================================================================
                               Vlastni kod 
==========================================================================*/

body, html {
	font: 400 16px/24px 'Play','Roboto', sans-serif;
  background: #fff;
  color: #444444;
	margin: 0px;
	padding: 0px;
	text-align: center;
	width: 100%;
	height: 100%;}
  
a:link, a:visited, a:active {
	text-decoration: none;
    outline: 0;
    -webkit-transition: all 0.2s linear; transition: all 0.2s linear;}

a:hover {
	text-decoration: none;
    outline: 0;}
  
b, strong {font-weight: normal; font-weight: 700;}

/*===========================================================================
                                 zahlavi 
=============================================================================*/

.header__bar {
    display: block;
    max-width: 1040px;
    margin: 0 auto;
    padding: 20px 40px;
    width: 100%;}

#logo {
	width: 222px;
	height: 70px;
    margin: 0;
    float: left;}
	
#logo a{
	display: block;
    width: 100%;
	height: 100%;
	margin: 0px 0px 0px 0px;
	text-decoration: none;
	background: transparent url(../img/pix/logo-apama.svg) no-repeat left center;
    background-size: cover;}

.header__bar__icons{
    display: inline-block;
    float: right;
    list-style-type: none;}

.icon {
    width: 44px;
    height: 44px;
    float:left;
    margin: 13px 0 13px 10px;
    background-color: rgb(0,157,172);
    border-radius: 100%;
    text-align: center;
    line-height: 44px;
    list-style-type: none;
    color: #fff;
    -webkit-transition: all 0.2s linear; transition: all 0.2s linear;}

.icon:hover, .icon.aktivni {background-color: #f3df35; color: #111;}

.icon__email {background: #d4d4d4 url(../img/pix/icon-email.svg) no-repeat center center;}
.icon__print {background: #d4d4d4 url(../img/pix/icon-print.svg) no-repeat center center;}

/*---banner---*/

.banner {background-color: rgb(236,236,236);}

.banner__frame{
      display: inline-block;
      max-width: 1040px;
      padding: 0 40px;
      width: 100%;}

.banner__phonenumber{
      width: auto;
      background-color: rgb(0,157,172);}

.banner__phonenumber span{
      font-size: 44px;
      font-weight: 700;
      color: #fff;
      background: transparent url(../img/pix/icon-phone.svg) no-repeat left center;
      margin: 0 auto;
      padding: 0 0 0 56px;
      display: inline-block;
      line-height: 100px;}
  
.slogan {
      width: auto;
      background: transparent url(../img/pix/logo-dps.svg) no-repeat left center;
      background-size: 48% auto;
      font: 36px/1.125 'Play','Roboto', sans-serif;
      padding: 140px 0 140px 52%;
      text-align: left;}

.banner__subtitle{clear: both; font-size: 28px; margin: 0 auto 60px;}
.banner__subtitle a{color: #777;}
.banner__subtitle a:hover{color: #999;}

  
/*=================================================================================
                                 hlavni cast webu 
==================================================================================*/

/* taby */

#taby-vnejsi {
    width: auto;
    display: block;}

.header__nav{
      display: inline-block;
      max-width: 1040px;
      padding: 0 40px;
      width: 100%;}

.header__nav__title{
    background-color: rgb(11,127,140);
    font-size: 30px;
    line-height: 70px;
    color: #fff;
    background: rgba(12,111,130,1); /* old browsers */
    background: -webkit-linear-gradient(left, rgba(12,111,130,0) 0%, rgba(12,111,130,1) 27%, rgba(12,111,130,1) 66%, rgba(12,111,130,0) 100%); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, rgba(12,111,130,0) 0%, rgba(12,111,130,1) 27%, rgba(12,111,130,1) 66%, rgba(12,111,130,0) 100%); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+ */}

.taby-menu {width: 100%; margin: 0 auto; background: rgb(24,47,65) url(../img/pix/spoje.jpg) no-repeat center center; background-size: cover;}
.taby-menu ul {max-width: 1040px; padding: 40px 40px; margin: 0 auto; display: block;}
.taby-menu li {
    float: left;
    display: inline-block;
    list-style-type: none;
    width: 27%;
    margin: 10px 3.1%;
    height: 200px;
    text-align: center;
    position: relative;}

.taby-menu li.vychozi {display: none;}

.taby-menu li span {
    width: 140px;
    height: 140px;
    display: inline-block;
    margin: 0 auto;
    border: 4px solid #fff;
    background-color: rgb(0,157,172);
    background-position: center center;
    background-repeat: none;
    background-size: contain;
    -webkit-transition: background-color 0.2s linear; transition: background-color 0.2s linear;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;}

.taby-menu li.current span, .taby-menu li:hover span {background-color: #f3df35; z-index: 5;}

.taby-menu li a {text-decoration: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

.taby-menu .current a {}

.taby-menu li:nth-child(2) span {background-image: url(../img/pix/icon-vyroba-x.svg);}
.taby-menu li.current:nth-child(2) span, .taby-menu li:nth-child(2):hover span {background-image: url(../img/pix/icon-vyroba-black.svg);}
.taby-menu li:nth-child(3) span{background-image: url(../img/pix/icon-spoje-x.svg);}
.taby-menu li.current:nth-child(3) span, .taby-menu li:nth-child(3):hover span{background-image: url(../img/pix/icon-spoje-black.svg);}
.taby-menu li:nth-child(4) span {background-image: url(../img/pix/icon-vzorky-x.svg);}
.taby-menu li.current:nth-child(4) span, .taby-menu li:nth-child(4):hover span{background-image: url(../img/pix/icon-vzorky-black.svg);}
.taby-menu li:nth-child(5) span {background-image: url(../img/pix/icon-student-x.svg);}
.taby-menu li.current:nth-child(5) span, .taby-menu li:nth-child(5):hover span {background-image: url(../img/pix/icon-student-black.svg);}
.taby-menu li:nth-child(6) span {background-image: url(../img/pix/icon-spoluprace-x.svg);}
.taby-menu li.current:nth-child(6) span, .taby-menu li:nth-child(6):hover span {background-image: url(../img/pix/icon-spoluprace-black.svg);}
.taby-menu li:nth-child(7) span {background-image: url(../img/pix/icon-informace-x.svg);}
.taby-menu li.current:nth-child(7) span, .taby-menu li:nth-child(7):hover span {background-image: url(../img/pix/icon-informace-black.svg);}

.taby-menu li h1{
    font-size: 18px;
    display: block;
    margin: 10px 0 0 0;
    color: #fff;}

.tab {
    width: 100%;
    background-color: #fff;
    margin: 0 auto;}

.tab-content {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: left;
    display: none;}

.tab-content.uvodni {padding: 80px 0;}

.sloupec{
    width: 50%;
    padding: 0 40px 0 0;  
    float: left;
    text-align: right;}

.sloupec:nth-of-type(2){
    padding: 0 0 0 40px;
    color: rgb(0,157,172);
    text-align: left;}

.tab-content p{
    margin: 0 0 28px 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;}

.tab-content p:last-child{margin: 0 0 0 0;}

.sloupec p:last-child{margin: 0 0 0 0;}

#tab-1 {display: block;}

.tab-content h1{
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 40px 0;
    color: rgb(0,157,172);}

.tab-content a{
    font-size: 24px;
    font-weight: 700;
    color: rgb(0,157,172);}

/*===========================================================
                          zapati 
==============================================================*/

.footer a {color: #f3df35;}
.footer a:hover {color: #fff;}

.footer__header__frame{
  background: rgb(0,157,172);
  text-align: center;
  padding: 0 40px;}

.footer__header{
  max-width: 960px;
  width: auto;
  background: transparent url(../img/pix/logo-apama-bila.svg) no-repeat right center; 
  background-size: auto 54px;    
  margin: 0 auto;
  text-align: left;    
  display: block;
  color: #fff;
  font-size: 27px;
  padding: 35px 0;}

.footer__content__frame{
  background: #193040 url(../img/pix/podana-ruka.jpg) no-repeat center center;
  background-size: auto 100%;
  padding: 100px 0;    
  color: #fff;}

.footer__content {
  display: inline-block;
  max-width: 1040px;
  padding: 0 40px;
  width: 100%;}

.verzalky{text-transform: uppercase;}

.contact__frame{
  width: calc(50% - 40px);
  float: left;
  line-height: 1.5;
  font-size: 18px;}

.contact__frame p{margin: 0 0 25px 0;}

.contact__frame h1{margin: 25px 0;}

.footer__content__vyzva{ 
  text-align: left;    
  margin: 0 0 20px 0;
  max-width: 360px;}

.contact{
  border-top: 1px solid rgba(255,255,255,0.2);    
  text-align: left;
  padding: 20px 0 0 0;    
  margin: 0;}

.number{width: auto;}

.number span{
      font-size: 24px;
      font-weight: 700;
      color: #fff;
      background: transparent url(../img/pix/icon-phone.svg) no-repeat left center;
      background-size: 34px auto;
      margin: 0 auto;
      padding: 0 0 0 44px;
      display: inline-block;
      line-height: 40px;}

/* formular */

.tab-content a.objednat {
	text-align: center;
	color: #fff;
    background: rgb(0,157,172);
    font: 700 18px/1.2 'Play','Roboto', sans-serif;
    text-transform: uppercase;
    border: none;
    width: auto; max-width: 250px;
    margin: 25px auto 0;
    padding: 15px 0;
    border: none;
    display: block;
    -webkit-transition: 0.3s ease;
	-moz-transition: 0.3s ease;
	-o-transition: 0.3s ease;
	transition: 0.3s ease;}

.tab-content a.objednat:hover {background: #f3df35; color: #111;}

.formular {
    width: calc(50% - 40px);
    display: block;
    float: right;}

.formular .pole {
  margin: 0 0 15px 0;
  display: block;
  padding: 0;
  width: 100%;
  text-align: left;
  position: relative;}

.formular input, .formular textarea {
	background: transparent;
	font: 400 16px/40px 'Play','Roboto', sans-serif;
    height: 40px;
	padding: 0 15px 0 15px;
    width: 100%;
    margin: 0;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    display: block;}

.formular input:hover, .formular textarea:hover {border: 1px solid rgba(255,255,255,0.8); -webkit-transition: all 0.2s linear; transition: all 0.2s linear;}
  
.formular textarea, .formular_kombinovany textarea {
	font: 400 16px/1.4 'Play','Roboto', sans-serif;
	padding: 15px 15px;
    height: 150px;}  

textarea { overflow: auto;}

.tlacitko {
	text-align: center;
	cursor: pointer; 
	cursor: hand;
	color: #111;
    background: #fff;
    font: 700 18px/44px 'Play','Roboto', sans-serif;
    text-transform: uppercase;
    border: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    height: 46px;
    -webkit-transition: 0.3s ease;
	-moz-transition: 0.3s ease;
	-o-transition: 0.3s ease;
	transition: 0.3s ease;}

.tlacitko:hover {background: rgb(0,157,172); color: #fff;}

.chyba {
  background: #ca47a3;
  color: #fff;
  font-size: 16px;
  padding: 7px 12px;
  margin: 0 0 10px 0;
  white-space: nowrap;
  position: relative;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  display: inline-block;
  z-index: 2;}
  
.chyba:after {
  background: #ca47a3;
  position: absolute;
  bottom: -4px; 
  left: 15px;
  width: 10px;
  height: 10px;
  content: '';
  -moz-transform:rotate(45deg);  
  -webkit-transform:rotate(45deg);  
  -o-transform:rotate(45deg);  
  -ms-transform:rotate(45deg);
  transform: rotate(45deg);
  -webkit-border-radius: 2px;
  -moz-border-radius: 23px;
  border-radius: 2px;}

.odeslano {
  width: auto;
  display: block;
  color: #fff;
  background: #00b085;
  padding: 40px 30px;
  margin: 0 auto;    
  font: 700 21px/1.2 'Play','Roboto', sans-serif;}
  
/*===========================================================================================
                                  responsivni design 
============================================================================================*/

@media screen and (max-width: 800px) {
.slogan {background-size: 36% auto; font-size: 33px; padding: 100px 0 100px 40%;}
.banner__subtitle{font-size: 21px; margin: 0 auto 40px;}
.taby-menu li {height: 160px;}
.taby-menu li span {width: 100px; height: 100px;}   
.tab-content {width: auto; max-width: auto; padding: 80px 40px;} 
.footer__header__frame{padding: 0 40px;}
.footer__header{text-align: center; font-size: 22px; padding: 100px 0 30px 0; background-position: center 30px;}    
}

@media screen and (max-width: 600px) {
#logo {width: 158px; height: 50px;}
.icon {width: 36px; height: 36px; margin: 7px 0 7px 7px; line-height: 36px;} 
.banner__phonenumber span{font-size: 24px; padding: 0 0 0 32px; line-height: 50px; background-size: 24px 24px;} 
.slogan {background-size: auto 100px; background-position: center 30px; font-size: 33px; padding: 150px 0 40px 0; text-align: center;}
.banner__subtitle{font-size: 18px; margin: 0 auto 40px;}   
.contact__frame, .formular {width: 100%; float: none;} 
.formular {margin: 40px auto 0;} 
.taby-menu ul {display: none;} 
.tab-content {width: auto; max-width: 100%; padding: 20px 40px; display: block;}     
.tab-content.uvodni {padding: 50px 40px 20px 40px;}
.sloupec, .sloupec:nth-of-type(2){width: auto; padding: 0;  float: none;text-align: left;}
.tab{padding: 0 0 30px 0;} 
.sloupec:nth-of-type(2){padding: 15px 0 0 0; }
.tab{padding: 0 0 30px 0;}      
.tab-content h1{font-size: 21px; margin: 0 0 15px 0;}
.tab-content p{margin: 0 0 15px 0; font-size: 21px;}    
.tab-content a{font-size: 24px;}    
}

@media screen and (max-width: 440px) {
#logo {width: 114px; height: 36px;}
.icon {width: 30px; height: 30px; margin: 3px 0 3px 4px; line-height: 30px;}     
.icon__email, .icon__print {display: none;}    
.slogan {background-size: auto 60px; background-position: center 20px; font-size: 30px; padding: 90px 0 30px 0;}  
.tab-content p{font-size: 16px;}    
.tab-content a{font-size: 18px;}   
}
