/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../font/lato-v23-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../font/lato-v23-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
	font-family: 'BRLNSR';
	 src: local(''),
       url('../font/BRLNSR.woff') format('woff');
}

:root {
  --main-color: #c06014;
  --warning-color: #c06014;
  --main-font: 'Lato';
  --main-headings-font: 'BRLNSR';
   --content-width: 1460px;
}

.logo img {
max-width: 80%;
}

.header1 {
  align-items: center;
}

.header1-logo {
  display: none;
}

.social {
  text-align: right;
}

.social img {
	width: 32px;
	height: 32px;
  margin-left: 10px
}

footer,.footer1 {
  background: var(--border-color)
}

.footer1 h3 {
  color: var(--main-font-color);
  font-size: 1rem;
  font-weight: 700
}

.footer2 {
  margin: 0 var(--main-margin) !important;
  border-color: #D3D3D3;
}

a {
  text-decoration: none;
}

.nav li {
  border-right: none
}

.nav li a:hover,.menuactive {
  background-color: transparent;
  /* color: var(--warning-color) */
  color: #000;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}

.card h3:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: var(--main-color)
}

.card h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: var(--main-color)
}

/*mozilo*/
.aligncenter {
  text-align: center;
}

.alignright {
  text-align: right;
}

.leftcontentimage {
  float: left
}

.rightcontentimage {
  float: right;
}

@media only screen and (min-width: 36rem) {
  .header1 {
    order: 1;
  }

  header {
    order: 2;
  }

  .menu {
    order: 3
  }

  main {
    order: 4;
    flex: 1
  }

  .infobox {
    order: 5;
  }

  .footer1 {
    order: 6
  }

  footer {
    order: 7
  }

  .mr-grid {
    display: flex;
/*    min-height: 100vh; */
    flex-direction: column;
    margin: 0 auto;
  }

  header,footer {
    flex: 0 !important
  }

  footer,.footer1 {
    padding-left: calc(var(--main-padding)*2);
    padding-right: calc(var(--main-padding)*2)
  }

  .header1-logo {
    display: initial
  }

  .logo {
    display: none;
  }

  .footer1-mi h3 {
    text-align: center;
  }

  .footer1-re h3 {
    text-align: right;
  }

  .social img {
    margin-left: 15px
  }

}

@media only screen and (min-width: 48rem) {
  .nav ul.mainmenu {
    justify-content: center
  }
  
  .content {order:2}
}

@media only screen and (min-width: 62rem) {}

@media only screen and (min-width: 75rem) {}
