* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
body {
  font-family: Verdana;
  background-color: #333333;
  background-repeat: no-repeat;
  max-width: 100%;
  padding-top: 75px;
}
.main {
  display: flex;
  flex-direction: column;
  margin: auto;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333333;
  z-index: 89;
}
.contentHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(186, 1, 1, 0) 1.04%, #ba0101 100%);
  border: solid 2px #660000; /*#8f0101; */
  margin: 0px 5px 0px 5px;
}

.menu-button {
  border: none;
  width: 24px;
  height: 24px;
  background-color: transparent;
  display: none;
  flex-direction: column;
  justify-content: space-around;
  padding: 0;
  margin-left: 8px;
  margin-right: 14px;
}
.line {
  width: 100%;
  height: 1px;
  background: #fff;
  border-radius: 4px;
  margin-right: 14px;
}
.logo {
  display: flex;
  align-items: stretch;
  margin-left: 10px;
  margin-right: 10px;
}
input [type="text"] {
  border-radius: 5px;
  background-color: #ffffff;
}

input,
select,
textarea {
  display: flex;
  flex: 0.8;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  border-radius: 5px;
  background-image: none;
  margin-right: 10px;
}

input[type="submit"] {
  background-color: #333333;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #a60606;
}
.input-image{
  padding: 7px;
}
.container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #ffffff;
}
.menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 240px;
  margin-right: 5px;
  margin-left: 8px;
  background-color: #ffffff;
  margin-top: 5px;
  overflow-y: hidden;
}

.menu a {
  display: block;
  font-size: 11px;
  font-weight: bold;
  color: #000000;
  padding-left: 12px;
  background: url(../images/design/menuBackground.jpg);
  background-repeat: no-repeat;
  line-height: 32px;
  font-family: Verdana;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 5px;
  padding-bottom: 0px;
  padding-top: 0px;
}
.menuNew a {
  background: url(../images/design/menuBackgroundNew.gif);
  background-repeat: no-repeat;
}
.menuOld {
  background: url(../images/design/menuBackground.jpg);
  background-repeat: no-repeat;
}
.menu a:hover {
  color: #ba0101;
  padding: 0 5px 0 10px;
  font-weight: bold;
  text-decoration: none;
}
.menu a:visited {
  color: #666666;
}
.sideNav a {
  text-decoration: none;
}
.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 10px 10px 5px;
  margin: auto;
}
.contact-column {
  padding: 10px;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.promo {
  display: flex;
  justify-content: center;
  margin-top: 5px;
  background-image: url(../images/design/promo.png);
  background-repeat: no-repeat;
  width: 468px;
  height: 90px;
}

.general {
  margin: auto;
  max-width: 1200px;
  padding: 0px 10px 0px 0px;
}
.general-images {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0px 12px 0px 12px;
}
.general-image {
  flex-basis: 30%;
  background-color: #ffffff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 7px;
  overflow: hidden;
  margin-top: 30px;
  text-decoration: none;
}
.images {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.video-block {
  flex-direction: column;
  display: flex;
  align-items: center;
  padding-bottom: 30px;
  border-radius: 5px;
  margin-bottom: 5px;
}
.video {
  padding: 1px;
}
.video-title {
  display: flex;
  flex-wrap: wrap;
  text-decoration: none;
  color: red;
}
.home-images {
  flex-direction: column;
  display: flex;
  align-items: center;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  margin: 0px 20px 20px 15px;
  flex-basis: 30%;
}
.home-image {
  object-fit: cover;
  padding: 0px 10px 0px 5px;
}
.home-images-title {
  font-family: Verdana;
  font-size: 14px;
  color: #333333;
}
.image-description {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  color: #333333;
  border-radius: 2px;
  padding-top: 10px;
  padding: 10px 10px 15px 10px;
  margin: 0 20px 0 20px;
  font-weight: bold;
  text-overflow: ellipsis;
}
p {
  margin: 0;
  font-size: 14px;
}
.page-description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  color: #333333;
  border-radius: 2px;
  padding-top: 10px;
  padding: 10px 10px 15px 10px;
  margin: 0 20px 0 20px;
}
.footer {
  max-width: 100%;
  background-color: #333333;
  border-top: solid 10px #a60606;
}
.footer-block {
  justify-content: space-around;
  display: flex;
  align-items: center;
  color: #ffffff;
  margin-top: 5px;
}
.footer-block a {
  color: #ffffff;
}
.address-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  font-size: 14px;
  margin-right: 5px;
}
.address a {
  margin-right: 10px;
  white-space: nowrap;
}
.information {
  display: block;
  margin-bottom: 5px;
}
.website {
  margin-bottom: 10px;
  font-size: 14px;
}
.telephoe {
  font-size: 14px;
}
.mail {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mail a {
  margin-left: 5px;
  align-items: flex-start;
  font-size: 14px;
}
.copyright {
  color: black;
  font-weight: bold;
  margin: 0px 0px 0px 20px;
  padding: 0;
}
/* styles for page contact.thml*/
div.elem-group {
  margin: 40px 0;
}

label {
  display: block;
  padding-bottom: 4px;
  font-size: 1.25em;
}

input,
select,
textarea {
  border-radius: 2px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 1em;
  padding: 8px;
}

textarea {
  height: 250px;
}

button {
  height: 50px;
  background: #a60606;
  color: white;
  border: 2px solid #a60606;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  border: 2px solid black;
}
/* styles for page contact.thml*/
@media (max-width: 1240px) {
  .contentHeader {
    padding-left: 15px;
  }
  .menu {
    position: fixed;
    left: 0;
    height: 100%;
    max-width: 220px;
    transform: translateX(-110%);
    transition: 0.1s;
  }
  .menu a {
    padding-left: 15px;
  }
  .menu.active {
    transform: translateX(0%);
    overflow-y: auto;
    padding-bottom: 90px;
  }
  .container {
    display: flex;
    flex-direction: row;
    max-width: 1
    240px;
  }
  .main-content {
    max-width: 1240px;
  }
  .menu-button {
    display: flex;
  }
}
@media (max-width: 1080px) {
  .container {
    max-width: 1050px;
  }
  .promo {
    width:321px ;
  }
  .main-content {
    max-width: 1050px;
  }
  .general-image {
    flex-basis: 49%;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 992px;
  }
  .main-content {
    max-width: 992px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 760px;
  }
  .main-content {
    max-width: 760px;
  }
  .general-image {
    flex-basis: 100%;
  }
  .home-image {
    width: 100%;
  }
 
  h1 {
    font-size: 18px;
  }
  .footer-block {
    flex-direction: column;
  }
  .address {
    display: none;
  }
}
@media (max-width: 414px) {
  .contentHeader {
    padding-left: 0px;
  }
  .logo {
    margin-right: 0px;
  }
  .menu-button {
    margin-right: 0px;
  }
  .container {
    max-width: 414px;
  }
  .main-content {
    max-width: 414px;
  }
  .video-title {
    white-space: nowrap;
    font-size: 15px;
  }
  .input-image {
    width: 0px;
    display: flex;
    justify-content: left;
    margin-right: 18px;
    margin-left: 6px;
  }
}

@media (max-width: 375px) {
  .contentHeader {
    padding-left: 0px;
  }
  .logo {
    margin-right: 0px;
  }
  .menu-button {
    margin-right: 0px;
  }
  .container {
    max-width: 374px;
  }
  .main-content {
    max-width: 374px;
  }
  
  .contact-column {
    padding-right: 5px;
  }
  .search {
    display: none;
  }
  .input-image {
    margin-right: 10px;
  }
}
@media (max-width: 280px) {
  .container {
    max-width: 280px;
  }
  .promo {
    width: 240px;
  }
  .main-content {
    max-width: 280px;
  }

  .video-title {
    width: 240px;
  }
  h1 {
    font-size: 9px;
  }
  .contact-column {
    padding-right: 1px;
  }
  .search {
    display: none;
  }
  .input-image {
    display: none;
  }
}
