/*
	SASS Stylesheet pro E-CORP
*/
@import "reset.css";
@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,500&subset=latin,latin-ext);
body {
  width: 100%;
  *zoom: 1; }
  body:before, body:after {
    content: "";
    display: table; }
  body:after {
    clear: both; }

body {
  font-family: 'Roboto', sans-serif;
  color: gray; }

.radek {
  width: 100%; }

a {
  text-decoration: none; }
  a:visited, a:link {
    color: black; }
  a:active, a:hover {
    color: #249cd0; }

#header, #slogan, #sluzby, #reference, #kontakt, #mapa, footer #horni, footer #spodni, #popis {
  margin: 0 auto;
  width: 60%; }

header {
  transition: ease 0.2s; }
  header img#logo {
    height: 130px;
    margin: 10px 0; }
  header img {
    margin: 0 0px 0 2.5px; }
  header #logopopisek {
    display: inline-block;
    vertical-align: middle;
    font-size: 95%;
    line-height: 200%; }
    header #logopopisek:first-line {
      font-size: 100%;
      font-weight: 600; }
    header #logopopisek a {
      color: gray; }
  header ul {
    float: right;
    margin: auto 0;
    line-height: 150px;
    text-align: center; }
    header ul li {
      display: inline-block;
      text-align: center; }
      header ul li:hover {
        box-shadow: inset 0 -5px 0 #249cd0; }
      header ul li a {
        text-align: center;
        font-weight: 500;
        font-size: 1.1rem;
        margin-left: 7.5px;
        text-transform: uppercase;
        text-decoration: none; }
  header .fixed {
    transition: ease 0.2s;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.975);
    padding: 0;
    margin: 0;
    text-align: center;
    line-height: 60px;
    vertical-align: middle; }

#slogan {
  height: 300px;
  padding: 75px 0; }
  #slogan h1 {
    color: white;
    text-shadow: 0 2px 0 black;
    font-size: 5rem;
    text-align: center;
    text-transform: uppercase; }
  #slogan p {
    text-align: justify;
    width: 400px;
    margin: 20px auto 0;
    color: #343434; }

#sluzby {
  padding: 30px 0; }
  #sluzby .sluzba {
    height: 200px;
    display: inline;
    float: left;
    width: 47.35714%;
    margin: 0 1.18393%; }
    #sluzby .sluzba svg {
      display: inline;
      float: left;
      width: 34.09714%;
      margin: 0 1.18393%; }
    #sluzby .sluzba > div {
      display: inline;
      float: left;
      width: 54.93429%;
      margin: 0 2.36786%; }
      #sluzby .sluzba > div h2 {
        color: black;
        font-size: 130%;
        font-weight: 500;
        margin-bottom: 10px; }
  #sluzby p.vice {
    box-shadow: 0 -1px 0px #cdcdcd;
    vertical-align: bottom;
    text-align: center;
    padding: 50px 0; }
    #sluzby p.vice a {
      margin: 30px;
      padding: 15px 25px;
      color: white;
      background-color: #222;
      text-transform: uppercase;
      text-decoration: none; }

#reference {
  color: white; }
  #reference p {
    padding: 100px 50px;
    font-size: 200%;
    text-align: center;
    clear: both;
    float: none; }
  #reference a {
    display: inline;
    float: left;
    width: 47.35714%;
    margin: 0 1.18393%; }
    #reference a article {
      color: white;
      margin-bottom: 20px; }
      #reference a article img.velky {
        border: 5px solid white;
        width: 95%;
        background-color: black;
        transition: 0.25s ease; }
      #reference a article .popisek {
        display: inline;
        float: left;
        width: 61.56429%;
        margin: 0 2.36786%;
        margin-right: 8.87946%;
        margin-bottom: 10px; }
        #reference a article .popisek h2 {
          font-size: 150%; }
        #reference a article .popisek span {
          font-size: 80%; }
      #reference a article img.mini {
        display: inline;
        float: left;
        width: 11.83929%;
        margin: 0 2.36786%; }
      #reference a article:hover {
        transition: 0.25s ease;
        color: #e7e7e7; }
        #reference a article:hover img.velky {
          border: 5px solid #e7e7e7; }

#kontakt #formular, #kontakt #nazory {
  display: inline;
  float: left;
  width: 47.35714%;
  margin: 0 1.18393%;
  font-size: 75%; }
  #kontakt #formular {
    float: none;
    margin: 0 auto;
    text-align: center; }
    #kontakt #formular h2 {
      margin: 19px;
      font-size: 130%;
      color: black;
      text-transform: uppercase;
      letter-spacing: 1px; }
    #kontakt #formular form {
      display: inline;
      margin: 0 20px; }
      #kontakt #formular form textarea, #kontakt #formular form input {
        border: 0;
        background-color: #e6e6e6;
        padding: 5px;
        margin: 10px;
        width: 430px;
        max-width: 430px;
        transition: 0.75s ease; }
      #kontakt #formular form input:active {
        background-color: gray; }
      #kontakt #formular form input:focus, #kontakt #formular form textarea:focus {
        background-color: #b3b3b3;
        transition: 0.75s ease; }
      #kontakt #formular form input[type=submit] {
        margin: 10px 15px; }
  #kontakt #nazory {
    float: left; }
    #kontakt #nazory .nazor {
      margin: 17.5px auto;
      display: inline-block;
      width: 90%; }
      #kontakt #nazory .nazor img {
        margin: 2.5%;
        display: inline;
        float: left;
        width: 12.5%;
        height: 12.5%; }
      #kontakt #nazory .nazor article {
        float: right;
        width: 80%;
        text-align: justify; }
        #kontakt #nazory .nazor article h4 {
          font-size: 133.33333%;
          color: black; }
        #kontakt #nazory .nazor article h6 {
          font-size: 106.66667%; }

#mapDiv {
  width: 100%;
  height: 600px; }

footer.horni {
  background-color: #262626;
  height: 200px;
  text-align: center; }
  footer.horni .tretina {
    display: inline;
    float: left;
    width: 30.78214%;
    margin: 0 1.18393%; }
    footer.horni .tretina p {
      line-height: 20px;
      font-size: 95%;
      padding: 15px; }
    footer.horni .tretina img.logo {
      height: 160px;
      margin: 20px 0; }
    footer.horni .tretina .kontakt {
      line-height: 31px;
      text-align: left;
      padding-left: 5px;
      font-size: 100%;
      margin: 35px 0; }
      footer.horni .tretina .kontakt a {
        color: #747474; }
    footer.horni .tretina .ikony {
      float: left;
      margin: 40px 5px 40px 0; }

footer.spodni {
  padding: 10px 0;
  text-align: center;
  background-color: black;
  /* zakazka */ }
  footer.spodni a {
    color: #747474; }

#odkazy {
  width: 960px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0; }
  #odkazy span {
    padding: 5px;
    background-color: #249cd0;
    color: white;
    transition: ease 0.5s; }
    #odkazy span a {
      color: white; }
    #odkazy span:hover {
      background-color: white;
      transition: ease 0.5s; }
      #odkazy span:hover a {
        color: #249cd0; }

#nasledujici {
  float: right; }

#predchozi {
  float: left;
  padding: 5px;
  background-color: #249cd0; }

#nahled {
  width: 100%;
  margin: 0 auto;
  text-align: center; }
  #nahled img {
    width: 100%; }
  #nahled #slogan h1 {
    color: #249cd0;
    text-shadow: 0 2px 5px rgba(116, 116, 116, 0.5), 0 -2px 5px rgba(116, 116, 116, 0.5), 2px 0 5px rgba(116, 116, 116, 0.5), -2px 0 5px rgba(116, 116, 116, 0.5); }
    #nahled #slogan h2 {
      font-size: 150%; }

.seda {
  background-color: #747474; }

.svetleSeda {
  background-color: #e7e7e7; }

.bila {
  background-color: white; }

.modra {
  background-color: #249cd0; }

@media (max-width: 1024px) {
  #header, #slogan, #sluzby, #reference, #kontakt, #mapa, footer #horni, footer #spodni {
    display: inline;
    float: left;
    width: 97.08214%;
    margin: 0 1.18393%; }

  #header {
    line-height: 100%;
    text-align: center;
    min-height: 200px; }
    #header ul {
      display: block;
      float: none;
      margin: 0 auto;
      width: 80%;
      height: auto;
      line-height: 50px;
      vertical-align: middle;
      text-align: center; }
    #header ul.fixed {
      width: 100%;
      transition: ease 0s;
      height: auto;
      line-height: 50px; }

  #slogan {
    height: auto;
    padding: 30px 0; }
    #slogan h1 {
      font-size: 300%; }
    #slogan p {
      width: 60%;
      margin: 20px auto; }

  #sluzby .sluzba {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 15px 0;
    display: block;
    text-align: center; }
    #sluzby .sluzba svg {
      display: block;
      margin: 0 auto;
      float: none; }
    #sluzby .sluzba > div {
      width: 60%;
      text-align: justify;
      margin: 0 auto;
      float: none;
      text-align: center; }
    #sluzby .sluzba h2 {
      font-size: 120%;
      margin: 10px 0; }
    #sluzby p.vice {
      height: auto;
      padding: 35px 0; }
    #sluzby p.vice a {
      display: block;
      margin: 20px; }

  #reference a {
    float: none;
    clear: both;
    width: 80%;
    margin: 0 auto;
    display: block; }
    #reference article .popisek {
      display: block;
      margin: 0 auto;
      float: none;
      text-align: center; }
      #reference article .popisek span, #reference article .popisek h2 {
        display: block; }
    #reference article img.velky {
      display: block;
      width: 100%;
      max-width: 430px;
      margin: 0 auto;
      float: none; }
    #reference article img.mini {
      display: none; }

  #kontakt #nazory, #kontakt #formular {
    width: 100%;
    min-width: 100%;
    float: none;
    display: block; }
    #kontakt #nazory .nazor, #kontakt #formular .nazor {
      margin: 0 auto;
      width: 75%;
      display: block;
      background-color: rgba(255, 255, 0, 0.5);
      clear: both; }
    #kontakt #nazory h2, #kontakt #formular h2 {
      text-align: center;
      clear: both; }
    #kontakt #nazory form table, #kontakt #formular form table {
      width: 100%;
      margin: 0 auto; }
      #kontakt #nazory form textarea, #kontakt #formular form textarea, #kontakt #nazory form input, #kontakt #formular form input, #kontakt #nazory form input[type=submit], #kontakt #formular form input[type=submit] {
        display: block;
        width: 75%;
        max-width: 75%;
        margin-left: auto;
        margin-right: auto; }

  div.radek.mapa {
    text-align: center; }
    div.radek.mapa img {
      display: none;
      margin: 0 auto; }

  footer.horni {
    height: auto;
    clear: both; }
    footer.horni .tretina {
      width: 50%;
      margin: 0 auto;
      text-align: center;
      padding: 0;
      height: auto;
      float: none;
      display: block; }
    footer.horni .tretina .ikony {
      margin: 2px 5px; } }

@media (max-width: 640px) {
  #slogan p {
    width: 95%;
    margin: 20px 0;
    padding: 0 2.5%; }

  #sluzby .sluzba {
    width: 100%; }

  #reference article img.velky {
    width: 90%; }

  #kontakt .polovina .nazor {
    width: 90%; }
    #kontakt .polovina form textarea, #kontakt .polovina form input, #kontakt .polovina form input[type=submit] {
      width: 90%;
      max-width: 90%; } }
