@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;
  display: flex;
  justify-content: space-around;
  padding-top: 50px;
  padding-bottom: 50px;
}
@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 > * {
  flex-basis: 40%;
}

section.Contacts > div:not(.Logo) h2 {
  font: bold 25px sans-serif;
  margin-bottom: 10px;
}
section.Contacts > div:not(.Logo) div.Phone {
  margin-bottom: 3px;
}
section.Contacts > div:not(.Logo) div.Phone > span {
  display: inline-block;
  font: 18px sans-serif;
}
section.Contacts > div:not(.Logo) div.Social {
  margin-bottom: 3px;
}
section.Contacts > div:not(.Logo) div.Social a {
  color: inherit;
  text-decoration: none;
}
section.Contacts > div:not(.Logo) div.Social > a {
  font: 18px sans-serif;
}
section.Contacts > div:not(.Logo) div.Social > a > img {
  margin-right: 5px;
  vertical-align: -3px;
}
section.Contacts > div:not(.Logo) div.Social > a > i {
  margin-right: 5px;
  color: #5181b8;
  font-size: 18px;
}
section.Contacts > div:not(.Logo) div.Phone:nth-of-type(2) {
  margin-bottom: 20px;
}
section.Contacts > div.Logo {
  background: url("../Images/Logo/Logo.jpg") no-repeat 50% 50%, black;
  height: 300px;
  width: 300px;
  border-radius: 50%;
  margin-top: 40px;
  transition-duration: 0.4s;
  transform: scale(1);
}
section.Contacts > div.Logo:hover {
  transition-duration: 0.4s;
  transform: scale(1.05);
}

main > form {
  padding: 30px 5% 0;
  box-sizing: border-box;
  background: white;
  border: solid 3px #f1c30e;
  border-radius: 5px;
  min-width: 460px;
}
main > form > * {
  margin-bottom: 50px;
  box-sizing: border-box;
}
main > form > h1 {
  font: bold 25px sans-serif;
}
main > form > fieldset > label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}
main > form > fieldset > input {
  display: block;
  border: none;
  border-bottom: 1px solid;
  width: 100%;
  line-height: 2em;
  padding: 0 5px;
  outline-color: #f1c30e;
}
main > form > fieldset > textarea {
  resize: none;
  display: block;
  width: 100%;
  padding: 0 5px;
  outline-color: #f1c30e;
}
main > form > fieldset.Buttons > input {
  padding: 10px;
  background: #f1c30e;
  text-align: center;
  color: white;
  font: bold 18px sans-serif;
  border-radius: 5px;
  margin: auto;
  width: 120px;
  transform: scale(1);
  transition-duration: 0.5s;
  border: none;
}
main > form > fieldset.Buttons > input:hover {
  cursor: pointer;
  transform: scale(1.1);
  transition-duration: 0.5s;
}
main > form > fieldset.Buttons > div.g-recaptcha {
  margin-bottom: 20px;
}

@media only all and (max-width: 920px) {
  main {
    flex-direction: column;
    align-items: center;
  }
  section.Contacts > div:not(.Logo) {
    display: inline-block;
    margin: 0 30px;
  }
  section.Contacts > div.Logo {
    margin: 40px auto;
  }
  main > form {
    margin-bottom: 40px;
  }
}
@media only all and (max-width: 670px) {
  main {
    padding-bottom: 20px;
  }
  main > form {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
  section.Contacts > div:not(.Logo) {
    display: block;
    margin: auto;
    text-align: center;
  }
}/*# sourceMappingURL=ContactsStyle2.css.map */