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


html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.container1{
  display: grid;
  grid-template-columns: auto minmax(150px, 1500px);
  grid-template-rows: auto auto;
  justify-items: center;
  height: auto;
}
.img{
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: block;
    justify-self: left;
    background: linear-gradient(to right, #FF6D0C, rgb(255, 132, 43));
}
.logo{
  box-sizing: content-box;
  width: 100%;
}

.links{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    padding-left: 10vw;
    display: inline-block;
    background: linear-gradient(to right, rgb(255, 132, 43), rgb(247, 124, 36));
}

.links div{
  display: inline-block;
}

.links a{
  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: 700;
  margin-left: 2vw;
  font-size: 1.3rem;
  align-self: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

strong{
  font-size: 110%;
}

.menu{
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    background: linear-gradient(#005FAD, rgb(0, 122, 221) );
    width: 100%;

}
.menu a{
  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: 600;
  margin-top: 0.5vw;
  margin-bottom: 0.5vw;
  padding: 0.1vw 0.5vw;
  font-size: 1rem;
  border-radius: 1vw;
  margin-left: 7vw;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.menu a:hover{
    background: radial-gradient(#FF6D0C, rgb(255, 136, 56));
    border-radius: 25px;

}
.active{
    background: radial-gradient(#FF6D0C, rgb(255, 136, 56));
  border-radius: 25px;
  padding: 0.1vw 0.5vw;
  }

.boxy{
    background: white;
    padding-bottom: 70px;
    background: linear-gradient(to right, #FF6D0C, rgb(255, 132, 43), rgb(247, 124, 36));

}

ul{
    list-style: none;
    padding: 0;
}

.brand{
    text-align: center;
}

.brand span{
    color: #fff;
}

.wrapper > *{
    padding-bottom: 1em;
}

.company-info{
    display: block;
    background: linear-gradient(#005FAD, rgb(0, 122, 221));
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.5vw;
    padding-bottom: 0.1vw;
    margin: 0;
}

.company-info h3, .company-info ul{
    text-align: center;
    margin: 0 0 1vw 0;
    font-size: 1rem;
}

.wrapper{
    text-align: center;
}

.contact{
    display: inline-block;
    background: linear-gradient(to right, #FF6D0C, rgb(255, 132, 43), rgb(247, 124, 36));
    padding-left: 0;
    padding-right: 0;
    width: 100vw;
    font-size: 1rem;
}

.contact form{
    display: grid;
    grid-template-columns: max-content max-content max-content;
    grid-template-rows: max-content max-content max-content max-content;
    grid-gap: 1vw;
    justify-content: center;
    font-size: 1rem;
}

.contact form p{
    display: block;
}

.contact-form .full1{
    grid-column: 3;
    grid-row: 1 / 5;
}

.contact-form .full2{
    grid-column: 1 / 4;
    grid-row: 4 / 5;
}

.full2 button, .contact-form input, .contact-form select, .contact-form textarea{
    width: 20vw;
    height: 1.5rem;
    border: 1px solid #005FAD;
    font-size: 0.8rem;
}

.contact-form input::placeholder, .full1 textarea::placeholder, .contact-form select::placeholder{
  font-size: 0.8rem;
}

.contact-form .full1 textarea{
    height: 6vw;
    display: block;
}

.full2 button{
    background: #005FAD;
    border: 2px groove rgb(0, 76, 138);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5vw;
    box-shadow: 0 7px 9px 0 rgba(0, 0, 0, .24), 0 8px 20px 0 rgba(0, 0, 0, .19);
    color: white;
    width: 100%;
    height: 2rem;
}

.full2 button:hover, .full2 button:focus{
  background: blue;
  color:#fff;
  outline:0;
  transition: background-color 2s ease-out;
}

.services{
    display: inline-block;
    background: white;
    text-align: center;
    padding-top: 0;
    margin-top: 5vh;
}

hr{
    margin-top: 6vh;
    width: 10vw;
    text-align: center;
    margin: 0 auto;
}

.alert{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px;
    background: #005FAD;
    color: white;
    width: 20%;
    display: none;
}

.main{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
}

.blog-card {
  display: block;
  flex-direction: column;
  margin: 1rem auto;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, .1);
  margin-bottom: 1.6%;
  background: #fff;
  line-height: 1.4;
  font-family: sans-serif;
  border-radius: 5px;
  overflow: hidden;
  z-index: 0;
}

.blog-card a {
  color: inherit;
}
.blog-card a:hover {
  color: #5ad67d;
}
.blog-card:hover .photo {
  transform: scale(1.3) rotate(3deg);
}
.blog-card .meta {
  position: relative;
  z-index: 0;
  height: 200px;
}
.blog-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s;
}

.photo1{
    background-image: url(../images/puskonaladka_kotla.jpg);
}

.photo1_1{
    background-image: url(../images/knopki.jpg);
}

.photo2{
    background-image: url(../images/kotel.jpg);
}

.photo2_1{
    background-image: url(../images/ruka.jpg);
}

.photo3{
    background-image: url(../images/Boiler.jpg);
}

.photo3_1{
    background-image: url(../images/Kotel_i_gorelka.jpg);
}

.photo4{
    background-image: url(../images/auto.jpg);
}

.photo4_1{
    background-image: url(../images/kotelnaya.jpg);
}

.photo5{
    background-image: url(../images/kipia.jpeg);
}

.photo5_1{
    background-image: url(../images/sh_upr_03.jpg);
}

.photo6{
    background-image: url(../images/kipia2.jpg);
}

.photo6_1{
    background-image: url(../images/dat.jpg);
}

.photo7{
    background-image: url(../images/ter.jpg);
}

.photo8{
    background-image: url(../images/choose.jpg);
}

.photo8_1{
    background-image: url(../images/manytis.jpg);
}

.photo9{
    background-image: url(../images/scheme.jpg);
}

.photo9_1{
    background-image: url(../images/gidr.jpg);
}

.photo10{
    background-image: url(../images/teplo.jpg);
}

.photo10_1{
    background-image: url(../images/teplo.jpg);
}

.photo11{
    background-image: url(../images/nerj.jpg);
}

.photo11_1{
    background-image: url(../images/kaminnaya-truba.jpg);
}

.photo12{
    background-image: url(../docs/13thumb.jpg);
}

.photoreg{
    background-image: url(../images/trubi.jpg);
}

.photosolid{
    background-image: url(../images/solid.jpg);
}

.scada{
    background-image: url(../images/skada.png);
}

.blog-card .details, .blog-card .details ul {
  margin: auto;
  padding: 0;
  list-style: none;
}
.blog-card .details {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  margin: auto;
  transition: left 0.2s;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  padding: 10px;
  width: 100%;
  font-size: 1rem;
}
.blog-card .details a {
  text-decoration: dotted underline;
}
.blog-card .details ul li {
  display: inline-block;
}
.blog-card .details .author:before {
  font-family: FontAwesome;
  margin-right: 10px;
  content: "\f007";
}
.blog-card .details .date:before {
  font-family: FontAwesome;
  margin-right: 10px;
  content: "\f133";
}
.blog-card .details .tags ul:before {
  font-family: FontAwesome;
  content: "\f02b";
  margin-right: 10px;
}
.blog-card .details .tags li {
  margin-right: 2px;
}
.blog-card .details .tags li:first-child {
  margin-left: -4px;
}
.blog-card .description {
  padding: 1rem;
  background: #fff;
  position: relative;
  z-index: 1;
}
.blog-card .description h1, .blog-card .description h2 {
  font-family: Poppins, sans-serif;
}
.blog-card .description h1 {
  line-height: 1;
  margin: 0;
  font-size: 1rem;
}
.blog-card .description h2 {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #a2a2a2;
  margin-top: 5px;
}

.blog-card .description p{
    font-size: 1rem;
}

.blog-card .description .read-more {
  text-align: right;
}
.blog-card .description .read-more a {
  color: #005FAD;
  display: inline-block;
  position: relative;
}
.blog-card .description .read-more a:after {
  content: "\f061";
  font-family: FontAwesome;
  margin-left: -10px;
  opacity: 0;
  vertical-align: middle;
  transition: margin 0.3s, opacity 0.3s;
}
.blog-card .description .read-more a:hover:after {
  margin-left: 5px;
  opacity: 1;
}
.blog-card p {
  position: relative;
  margin: 1rem 0 0;
}
.blog-card p:first-of-type {
  margin-top: 1.25rem;
}
.blog-card p:first-of-type:before {
  content: "";
  position: absolute;
  height: 5px;
  background: linear-gradient(to right, #FF6D0C, rgb(255, 132, 43), rgb(247, 124, 36));
  width: 35px;
  top: -0.75rem;
  border-radius: 3px;
}
.blog-card:hover .details {
  left: 0%;
}

.footer-sub_content{
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    grid-template-rows: auto;
    grid-gap: 0 2rem;
    background: #005FAD;
    width: 100vw;
    padding-top: 5px;
    padding-bottom: 5px;
}

.footer-company_details{
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    color: white;
    font-size: 1rem;
}

.footer-company_details1{
    grid-row: 2;
    grid-column: 2;
    align-self: center;
    justify-self: center;
    color: white;
    font-size: 1rem;
}

@media (max-width: 1081px) {
  .links{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    padding-left: 10vw;
    display: grid;
    grid-auto-flow: row;
    background: linear-gradient(to right, rgb(255, 132, 43), rgb(247, 124, 36));
}

.links div{
  display: block;
}

.links a{
  display: block;
  text-decoration: none;
  color: white;
  font-weight: 700;
  margin-left: 2vw;
  font-size: 1.5vw;
  align-self: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.links1{
  grid-column: 1 / 2; grid-row: 1 / 3;
}

.links2{
  grid-column: 2 / 3; grid-row: 1 / 3;
}

.links3{
  grid-column: 1 / 3; grid-row: 3 / 4
}

.menu a{
  font-size: 0.5rem;
}

.footer-company_details, .footer-company_details1{
    font-size: 0.5rem;
}

.company-info h3, .company-info ul{
    font-size: 0.5rem;
}

.main{
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(280px, 1fr));
  grid-template-columns: auto;
}

.blog-card{
    transform: scale(0.7);
}

.contact-form .full1 textarea{
    height: 25vw;
    display: block;
}

.boxy{
    padding-bottom: 0;
}

}