/*
 Theme Name:   Theme from Denis
 Description:  Wordpress Theme From Denis
 Author:       Denis R
 Version: 1.1
*/

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

/*  @font-face {
    font-family: 'Aero';
    src: local('At Hauss Aero Retina'), local('At-Hauss-Aero-Retina'),
        url('fonts/AtHaussAero-Retina.woff2') format('woff2'),
        url('fonts/AtHaussAero-Retina.woff') format('woff'),
        url('fonts/AtHaussAero-Retina.ttf') format('truetype');
    font-weight: 350;
    font-style: normal;
  }

  @font-face {
    font-family: 'Aero';
    src: local('At Hauss Aero Regular'), local('At-Hauss-Aero-Regular'),
        url('fonts/AtHaussAero-Regular.woff2') format('woff2'),
        url('fonts/AtHaussAero-Regular.woff') format('woff'),
        url('fonts/AtHaussAero-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
  }*/

  html,
  body {
    font-family: "Open Sans";
    font-weight: 400;
    font-size: 14px;
    color: #222;
    line-height: normal;
    min-height: 100vh;
    overflow-x: hidden;
  }

  body {
    position: relative;
    overflow-y: hidden;
  }

  a {
    text-decoration: none !important;
  }

  a:hover {
  }

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

  button {
    cursor: pointer;
  }


  h1, h2, h3, h4, h6 {

  }

  .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
  }

  .flexed {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .flexed--between {
    justify-content: space-between;
  }

  .flexed--around {
    justify-content: space-around;
  }

  .flexed--top {
    align-items: flex-start;
  }
  
  .flexed--bottom {
    align-items: flex-end;
  }

  .flexed--center {
    justify-content: center;
  }

  .rel {
    position: relative;
  }

  header .menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  header .menu li {
      display: block;
  }

  /* Text pages, including the public offer. */
  body.page {
    overflow-y: auto;
    background: #f7f9fc;
  }

  main {
    padding: 48px 0 72px;
  }

  main .main-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 56px);
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(25, 45, 70, 0.06);
  }

  main .main-inner > h1 {
    margin-bottom: 28px;
    color: #182536;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  main .main-content {
    color: #344256;
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: break-word;
  }

  main .main-content p,
  main .main-content ul,
  main .main-content ol,
  main .main-content blockquote,
  main .main-content table {
    margin-bottom: 1.25em;
  }

  main .main-content h2,
  main .main-content h3,
  main .main-content h4 {
    margin: 1.65em 0 0.55em;
    color: #182536;
    font-weight: 700;
    line-height: 1.35;
  }

  main .main-content h2 { font-size: 1.5em; }
  main .main-content h3 { font-size: 1.25em; }
  main .main-content h4 { font-size: 1.1em; }
  main .main-content > :first-child { margin-top: 0; }
  main .main-content > :last-child { margin-bottom: 0; }

  main .main-content ul,
  main .main-content ol {
    padding-left: 1.5em;
  }

  main .main-content li + li {
    margin-top: 0.4em;
  }

  main .main-content a {
    color: #1b63a5;
    text-decoration: underline !important;
    text-underline-offset: 3px;
  }

  main .main-content a:hover {
    color: #124779;
  }

  main .main-content blockquote {
    padding: 12px 20px;
    border-left: 3px solid #87add0;
    background: #f5f8fc;
    color: #526176;
  }

  main .main-content hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid #e5eaf0;
  }

  main .main-content table {
    width: 100%;
    border-collapse: collapse;
  }

  main .main-content th,
  main .main-content td {
    padding: 10px 12px;
    border: 1px solid #e5eaf0;
    text-align: left;
    vertical-align: top;
  }

  main .main-content th {
    background: #f5f8fc;
    color: #182536;
  }

  @media (max-width: 640px) {
    main { padding: 20px 0 40px; }
    main .main-inner { border-radius: 12px; }
    main .main-content { font-size: 15px; }
    main .main-content th,
    main .main-content td { padding: 8px; }
  }
