@import "reset.css";
.clearfix::after {
  content: ".";
  visibility: hidden;
  height: 0;
  display: block;
  clear: both;
}

@font-face {
  font-family: "mft";
  src: url("fonts/Comic Sans MS.ttf");
}
html {
  min-width: 320px;
  height: 100%;
}

body {
  margin: 0;
  font-family: sans-serif;
  color: #3a3a3a;
  height: 100%;
}

header, footer, nav {
  padding: 0 calc((100% - 1152px) / 2);
}

@media only all and (max-width: 1218px) {
  header, footer, nav {
    padding: 0 25px;
  }
}
@media only all and (max-width: 630px) {
  header, footer, nav {
    padding: 0 5px;
  }
}
header {
  background: #252323;
  height: 70px;
}
header > figure {
  float: left;
  height: inherit;
  cursor: pointer;
}
header > figure > img {
  height: 70px;
  width: auto;
}
header div.Contacts {
  float: right;
  height: inherit;
  display: flex;
  line-height: 20px;
  font-size: 17px;
}
header div.Contacts > div {
  margin: auto;
}
header div.Contacts > div a {
  color: inherit;
  text-decoration: none;
}
header div.Contacts div.Phones {
  margin-right: 15px;
  color: white;
}
header div.Contacts div.Social a {
  color: white;
}
header div.Contacts div.Social a i {
  margin-right: 5px;
  color: #5181b8;
  font-size: 18px;
}
header div.Contacts div.Social a img {
  margin-right: 5px;
  vertical-align: -3px;
}

nav:not(.Breadcrumbs) {
  height: 70px;
  display: flex;
  font: bold 16px sans-serif;
  background: white;
}
nav:not(.Breadcrumbs) a {
  color: inherit;
  text-decoration: none;
}
nav:not(.Breadcrumbs) a {
  color: #8b8b8b;
  line-height: 70px;
  flex-grow: 1;
  text-align: center;
}
nav:not(.Breadcrumbs) a.active {
  border-bottom: solid #f1c30e 3px;
}
nav:not(.Breadcrumbs) a:hover {
  border-bottom: solid #f1c30e 3px;
  transition-duration: 0.1s;
}
nav:not(.Breadcrumbs) > div.Menu {
  display: none;
}

nav.Breadcrumbs {
  font: 14px sans-serif;
  color: #f1c30e;
  background: #eeeeee;
  padding-top: 10px;
  padding-bottom: 10px;
}
nav.Breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
nav.Breadcrumbs > a:hover {
  text-decoration: underline;
}
nav.Breadcrumbs > i {
  margin-right: 10px;
  margin-left: 10px;
}
nav.Breadcrumbs > span {
  font-weight: bold;
}

main {
  min-height: calc(100% - 250px);
}

footer {
  background: #252323;
  display: flex;
  color: #c1c1c1;
  padding: 15px 0;
  font-size: 14px;
  justify-content: space-between;
  height: 80px;
}
footer > div {
  margin: auto;
}
footer > div a {
  color: inherit;
  text-decoration: none;
}
footer > div.Contacts > p {
  margin: 5px 0;
}
footer > div.Contacts > p i {
  margin-right: 5px;
  color: #f1c30e;
}

@media only all and (max-width: 900px) {
  nav:not(.Breadcrumbs) {
    padding: 0;
  }
}
@media only all and (max-width: 760px) {
  nav:not(.Breadcrumbs) {
    position: absolute;
    top: 70px;
    height: auto;
    z-index: 1;
    background: none;
  }
  nav:not(.Breadcrumbs) > div.Menu {
    width: 80px;
    height: 30px;
    display: block;
    margin-top: 10px;
    box-sizing: border-box;
    color: #252323;
    text-align: center;
  }
  nav:not(.Breadcrumbs) > div.Menu > span {
    font-size: 20px;
  }
  nav:not(.Breadcrumbs) > div.Menu:hover {
    cursor: pointer;
  }
  nav:not(.Breadcrumbs) > a {
    display: none;
  }
  nav.active:not(.Breadcrumbs) {
    display: block;
    border-right: solid 3px #8b8b8b;
    border-bottom: solid 3px #8b8b8b;
    background: white;
  }
  nav.active:not(.Breadcrumbs) > * {
    margin-right: -3px;
  }
  nav.active:not(.Breadcrumbs) > a {
    display: block;
    width: 130px;
    height: 50px;
    line-height: 50px;
  }
  nav.active:not(.Breadcrumbs) a:hover {
    border-bottom: none;
    border-right: solid #f1c30e 3px;
  }
  nav.active:not(.Breadcrumbs) a.active {
    border-bottom: none;
    border-right: solid #f1c30e 3px;
  }
  nav.active:not(.Breadcrumbs) > div.Menu {
    width: 130px;
    border: none;
  }
  nav.Breadcrumbs {
    padding-left: 80px;
  }
  main {
    min-height: calc(100% - 180px);
  }
}
@media only all and (max-width: 660px) {
  header > figure {
    width: auto;
  }
  header > figure > img {
    width: 150px;
  }
}
@media only all and (max-width: 590px) {
  header > figure {
    width: auto;
  }
  header > div.Contacts {
    font-size: 14px;
  }
}
@media only all and (max-width: 480px) {
  header > div.Contacts > div.Social > p > a > span {
    display: none;
  }
}
@media only all and (max-width: 380px) {
  footer > div.Contacts > p > a > span {
    display: none;
  }
  footer > div.Contacts > p:nth-last-of-type(-n + 2) {
    float: left;
  }
}
@media only all and (max-width: 340px) {
  footer {
    flex-direction: column;
  }
  footer > div :first-of-type {
    margin-bottom: 5px;
  }
}
main {
  padding-left: calc((100% - 1152px) / 2);
  padding-right: calc((100% - 1152px) / 2);
  background: #eeeeee;
  min-height: calc(100vh - 250px);
}
@media only all and (max-width: 1218px) {
  main {
    padding-left: 25px;
    padding-right: 25px;
  }
}
@media only all and (max-width: 630px) {
  main {
    padding-left: 5px;
    padding-right: 5px;
  }
}
main > :first-child {
  padding-top: 40px;
}
main > :last-child {
  padding-bottom: 40px;
}
main > h1 {
  text-align: center;
  font: bold 35px "mft", sans-serif;
  margin-bottom: 40px;
}
@media only all and (max-width: 630px) {
  main > h1 {
    padding-bottom: 25px;
  }
}
main > section {
  display: flex;
  flex-direction: row-reverse;
  padding: 60px 20px;
  border: solid 3px #f1c30e;
  border-radius: 5px;
  background: white;
  margin: 40px 0;
}
main > section > div, main > section > ul {
  flex-basis: 720px;
  flex-grow: 1;
}
main > section > figure {
  flex-basis: 230px;
  margin: 10px 0 0 10px;
  flex-grow: 1;
}
main > section > figure > img {
  border-radius: 50%;
  width: 230px;
  transition-duration: 0.4s;
  transform: scale(1);
}
main > section > figure > img:hover {
  transition-duration: 0.4s;
  transform: scale(1.05);
}
main > section h2 {
  font: bold 20px sans-serif;
  margin: 0 0 20px;
  text-transform: uppercase;
}
main > section ul > li {
  margin: 10px 0;
  font-size: 16px;
  line-height: 26px;
}
main > section ul > li a {
  color: inherit;
  text-decoration: none;
}
main > section ul > li > i.fa-times {
  color: red;
  font-size: 18px;
  position: relative;
  top: 1px;
}
main > section ul > li > i.fa-check {
  color: green;
}
main > section ul > li > i {
  margin-right: 5px;
}
main > section ul > li span, main > section ul > li a {
  font-weight: bold;
}
main > section ul > li a {
  color: #f1c30e;
}
main > section ul > li a i {
  margin-left: 5px;
  font-size: 15px;
}
main > p:last-child {
  text-align: center;
  font: 20px sans-serif;
}
main > p:last-child > span {
  font-weight: bold;
  font-size: 22px;
}
main > p:last-of-type::before {
  content: "!!!";
  font: bold 35px sans-serif;
  color: #f1c30e;
  margin: -15px 10px 0 0;
  display: inline-block;
}

@media only all and (max-width: 760px) {
  main > h1:first-child {
    padding-top: 60px;
    padding-bottom: 0;
  }
}
@media only all and (max-width: 570px) {
  main > section {
    flex-direction: column;
  }
  main > section > div, main > section ul {
    flex-basis: 0;
  }
  main > section > figure img {
    width: 100%;
    margin-bottom: 20px;
  }
}
@media only all and (max-width: 420px) {
  main {
    padding: 0 5px;
  }
  main > section {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    margin: 20px 0;
  }
  main > p:last-of-type {
    padding-bottom: 15px;
  }
}/*# sourceMappingURL=SafetyStyle2.css.map */