body {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  background: #fff;
  color: #707070;
  -webkit-font-smoothing: antialiased;
}

/*---------------
    #General
---------------*/
h1,
h2,
h3,
h4 {
  font-family: 'Raleway';
  color: #505050;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 5px;
  text-transform: none;
}

h2 {
  font-size: 34px;
  text-align: center;
  margin-bottom: 60px;
}

h2:after {
  content: '';
  display: block;
  width: 150px;
  margin: 10px auto 0 auto;
  border-bottom: 2px solid #505050;
}

p {
  margin: 0;
}

.text {
  text-align: center;
}

.text p {
  max-width: 85%;
  font-size: 20px;
  font-weight: normal;
  margin: 0 auto 30px auto;
}

.text p:only-child, .text p:last-child {
  margin-bottom: 0;
}

.text img {
  margin: 0 auto;
}

.list {
  text-align: left;
}

.list li {
  font-size: 18px;
  font-weight: normal;
}

section {
  padding: 80px 0;
}

section.section-odd {
  background: #f1f1f1;
}

a {
  color: #1792E8;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover, a:focus {
  color: #45a8ed;
  cursor: pointer;
}

a:hover, a:active, a:focus {
  outline: 0;
  text-decoration: none;
}

button,
input {
  border: none;
}

button:focus,
input:focus {
  outline: 0;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/*---------------
    #Buttons
---------------*/
.btn {
  color: #fff;
  background: #505050;
  font-size: 16px;
  font-family: 'Raleway';
  font-weight: bold;
  display: inline-block;
  width: 250px;
  min-height: 60px;
  line-height: 60px;
  padding: 0 10px 0 20px;
  text-align: left;
  position: relative;
  text-transform: uppercase;
}

.btn span {
  float: right;
  font-size: 15px;
  line-height: 60px;
}

.btn:hover {
  color: #fff;
  background: #1792E8;
}

.btn:hover:before {
  border-bottom-color: #1792E8;
}

.btn:hover:after {
  border-left-color: #1792E8;
}

.btn:before, .btn:after {
  content: '';
  position: absolute;
  height: 0px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.btn:before {
  float: left;
  left: -25px;
  border-left: 25px solid transparent;
  border-bottom: 60px solid #505050;
}

.btn:after {
  float: right;
  right: -25px;
  border-left: 25px solid #505050;
  border-bottom: 60px solid transparent;
}

.buttons {
  margin-top: 50px;
  text-align: center;
}

/*---------------
    #Logo
---------------*/
.logo {
  height: 70px;
  float: left;
  color: #45a8ed;
  font-size: 18px;
  font-family: 'Orbitron';
  font-weight: bold;
  text-transform: uppercase;
  padding-top: 10px;
}

.logo span {
  display: block;
  color: #505050;
  font-size: 15px;
  font-family: 'Courgette';
  font-weight: normal;
  text-transform: none;
  text-align: center;
}

.logo:hover {
  color: #1792E8;
}

/*---------------
    #Menu
---------------*/
#main-menu {
  background: #f1f1f1;
  min-height: 70px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}

#main-menu .navbar-toggle {
  margin: 18px 15px 18px 0;
  border-color: #45a8ed;
}

#main-menu .navbar-toggle:hover, #main-menu .navbar-toggle:focus {
  background-color: #a2d3f6;
}

#main-menu .navbar-toggle .icon-bar {
  background-color: #45a8ed;
}

#main-menu nav {
  padding: 0;
}

#main-menu nav ul {
  float: right;
}

#main-menu nav ul li {
  height: 70px;
  line-height: 70px;
  float: left;
  position: relative;
  background: #f1f1f1;
  -webkit-transform: skew(-20deg);
  -ms-transform: skew(-20deg);
  transform: skew(-20deg);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

#main-menu nav ul li a {
  color: #505050;
  font-size: 15px;
  padding: 0 20px;
  font-family: 'Raleway';
  font-weight: normal;
  text-transform: uppercase;
  display: block;
  float: left;
  height: 100%;
  -webkit-transform: skew(20deg);
  -ms-transform: skew(20deg);
  transform: skew(20deg);
}

#main-menu nav ul li.active, #main-menu nav ul li:hover {
  background: #1792E8;
}

#main-menu nav ul li.active a, #main-menu nav ul li:hover a {
  color: #fff;
  font-weight: bold;
}

#main-menu nav ul li:after {
  content: '|';
  color: #a3a3a3;
  position: absolute;
  right: -3px;
}

#main-menu nav ul li:last-child {
  margin: 0;
}

#main-menu nav ul li:last-child:after {
  content: none;
}

/*---------------
    #Header
---------------*/
header {
  position: relative;
  margin-top: 70px;
}

header .header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 200px 0;
}

header .header-content p {
  color: #45a8ed;
  font-size: 22px;
  font-style: italic;
  font-weight: normal;
}

header .header-content .buttons {
  margin-top: 45px;
}

header .header-content .buttons .btn:first-of-type {
  margin-right: 40px;
}

/*---------------
    #Slider
---------------*/
.slider .item {
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slider .item:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
}

.slider .slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.slider .slider-content p {
  color: #d8d8d8;
  font-size: 24px;
}

.slider .slider-heading {
  font-family: 'Orbitron';
}

.slider .slider-title {
  font-family: 'Courgette';
}

/*---------------
    #Cinnost
---------------*/
.cinnost .list {
  display: inline-block;
}

.cinnost .list li {
  font-weight: bold;
}

/*---------------
    #Referencie
---------------*/
.referencie p {
  margin-bottom: 50px;
}

.referencie .referencia {
  margin-bottom: 30px;
}

.referencie .referencia p {
  text-align: left;
  margin: 0 0 10px 0;
}

.referencie .referencia p:last-child {
  font-size: 16px;
  font-style: italic;
  margin-top: 10px;
}

.referencie .referencia li {
  font-size: 16px;
}

/*---------------
    #Certfikaty
---------------*/
.certifikaty .text {
  margin-bottom: 50px;
}

.certifikat {
  margin-bottom: 40px;
}

.certifikat a {
  display: block;
  position: relative;
  border: 5px solid #f1f1f1;
}

.certifikat a:hover {
  border-color: #1792E8;
}

.certifikat p {
  font-size: 16px;
  text-align: center;
  margin-top: 15px;
}

/*---------------
    #Kontakt
---------------*/
/* Footer
------------------------- */
footer {
  background: #d8d8d8;
  height: 70px;
  text-align: center;
}

footer p {
  color: #505050;
  font-size: 16px;
  line-height: 70px;
}

/* Media Queries
------------------------- */
@media (max-width: 767px) {
  #main-menu nav {
    background: #f1f1f1;
  }
  #main-menu nav ul {
    width: 100%;
    float: none;
  }
  #main-menu nav ul li {
    height: 50px;
    line-height: 50px;
    float: none;
    border-bottom: 1px solid #d8d8d8;
  }
  #main-menu nav ul li a {
    color: #434343;
    font-size: 14px;
    width: 100%;
    float: none;
    text-align: center;
  }
  #main-menu nav ul li a:hover {
    color: #fff;
    background: #1792E8;
  }
  #main-menu nav ul li.active a {
    color: #fff;
    background: #1792E8;
  }
  #main-menu nav ul li:after {
    content: none;
  }
  #main-menu nav ul li:last-child {
    border: none;
  }
}

@media (max-width: 560px) {
  header h1 {
    font-size: 46px;
  }
  header .header-content p {
    font-size: 20px;
  }
}

@media (max-width: 380px) {
  h2 {
    font-size: 30px;
  }
}

@media (max-width: 320px) {
  header h1 {
    font-size: 40px;
  }
  header .header-content p {
    font-size: 18px;
  }
}
