@import url("font.css");
@import url("font-awesome.css");
@import url("jquery.fancybox.css");
@import url("https://fonts.googleapis.com/css?family=Didact+Gothic&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext");
body {
  font-family: "Didact Gothic", sans-serif;
  font-size: 18px;
  font-weight: normal;
  color: #333;
  background: #fff;
  line-height: 20px;
}

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

img {
  max-width: 100%;
  height: auto;
}

.row {
  margin: 0;
}

.content {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 15px;
}

p,
ul,
li {
  margin: 0;
}

p + p,
p + ul {
  margin-top: 15px;
}

p + h1,
p + h2,
p + h3,
p + h4,
p + h5,
p + h6,
ul + h2,
ul + h3 {
  margin-top: 30px;
}

header .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

header .content h1 {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

header .content h1 img {
  max-width: 220px;
}

header .content .slogon {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: right;
  font-size: 30px;
}

@media (max-width: 28.6875em) {
  header .content .slogon {
    font-size: 22px;
    margin-top: 10px;
  }
}

@media (max-width: 28.6875em) {
  header .content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

#navigation {
  margin: 30px 0 80px;
  padding: 0;
  background: #273582;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
}

#navigation ul {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#navigation ul li {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: center;
  position: relative;
}

@media (max-width: 28.6875em) {
  #navigation ul li {
    width: 100%;
    display: block;
    border-bottom: 1px solid #eee;
  }
  #navigation ul li:last-child {
    border-bottom: none;
  }
}

#navigation ul li::before {
  content: "";
  width: 2px;
  height: 40px;
  background: #ccc;
  display: block;
  position: absolute;
  left: -1px;
  top: 50%;
  margin-top: -20px;
}

@media (max-width: 28.6875em) {
  #navigation ul li::before {
    display: none;
  }
}

#navigation ul li:first-child::before {
  display: none;
}

#navigation ul li a {
  font-size: 25px;
  color: #fff;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding: 20px 5px;
  display: block;
}

#navigation ul li a:hover {
  background-color: rgba(205, 22, 25, 0.8);
}

@media (max-width: 47.9375em) {
  #navigation ul li a {
    font-size: 20px;
  }
}

@media (max-width: 28.6875em) {
  #navigation ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

section .content {
  padding-bottom: 50px;
  position: relative;
  margin-bottom: 50px;
  border-bottom: 1px solid #ddd;
}

section .content a {
  color: #273582;
  font-weight: 600;
}

section .content a:hover {
  color: #cd1619;
}

section .content h2 {
  color: #273582;
  font-weight: 600;
  margin-bottom: 40px;
}

section .content h2::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #cd1619;
  display: block;
  margin: 10px 0;
}

section .content h3 {
  color: #000;
  font-size: 22px;
  font-weight: 600;
}

section .content ul {
  list-style: none;
  padding: 0;
}

section .content li {
  position: relative;
  padding-left: 20px;
}

section .content li::before {
  font-family: "FontAwesome";
  content: "\f00c";
  margin-right: 5px;
  font-size: 14px;
  position: absolute;
  left: 0;
}

section .content p,
section .content li {
  line-height: 32px;
}

section .content .img_portfolio {
  max-width: 275px;
  float: right;
  margin: 0 10px 30px 50px;
  -webkit-box-shadow: 5px 3px 13px rgba(0, 0, 0, 0.7);
          box-shadow: 5px 3px 13px rgba(0, 0, 0, 0.7);
  padding: 5px;
}

@media (max-width: 600px) {
  section .content .img_portfolio {
    max-width: 200px;
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  section .content .img_portfolio {
    max-width: 140px;
    padding: 2px;
    margin-left: 20px;
  }
}

@media (max-width: 460px) {
  section .content .img_portfolio {
    display: block;
    max-width: 100%;
    float: none;
    margin: 0 auto 50px;
  }
}

footer {
  background-color: #273582;
  color: #fff;
  font-size: 14px;
  padding: 15px;
  text-align: center;
}

footer .links {
  padding: 0;
  text-align: left;
}

@media (max-width: 28.6875em) {
  footer .links {
    text-align: center;
    width: 100%;
  }
}

footer .links a {
  color: #fff;
}

footer .links span {
  display: inline-block;
  margin: 0 5px;
  font-size: 12px;
}

footer .copyright {
  padding: 0;
  text-align: right;
}

@media (max-width: 28.6875em) {
  footer .copyright {
    text-align: center;
    width: 100%;
    padding-top: 15px;
  }
}

.scrollup {
  width: 50px;
  height: 50px;
  font-size: 24px;
  line-height: 46px;
  color: #fff;
  background: #c5c6c6;
  border-radius: 50%;
  -webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  position: fixed;
  right: 40px;
  bottom: 40px;
  display: none;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  z-index: 20;
}

.scrollup::before {
  font-weight: 400;
  font-family: "FontAwesome";
  content: "\f106";
}
/*# sourceMappingURL=style.css.map */