@import url(fonts.css);

html, body {
  font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0 auto;
  padding: 0;
  height: 100%;
  width: 100%;
}
/* Верхнее с права Меню на 4 кнопки Главная, О компании, Каталоги, Заказы */

#topmenu .wrap {
  display:flex;
  height: 80px;
  justify-content: space-between;
  background: linear-gradient(0deg, #d3e6fb, #fff);
}

.wrap .logo {
  float:left;
  margin-left: 100px;
  text-align: center;
}

@media (max-width: 680px) {
  .wrap .logo {
    margin-left: 0;
  }
}

#topmenu ul {
  float: right;
	list-style-type: none;
  margin: 0;
  padding: 0;
}

#topmenu li {
  float: left;
}

#topmenu a {
	color: #545454;
  display: inline-block;
	text-decoration: none;
	text-align: center;
  height: 46px;
	padding-top: 30px;
	width: 130px;
}

@media (max-width: 1200px) {
  #topmenu .wrap {
    flex-direction: column;
    padding: 0 0 70px 0;
  }
}

@media (max-width: 550px) {
  #topmenu a {
    width: 120px;
  }
}

@media (max-width: 480px) {
  #topmenu a {
    width: 110px;
  }
}

@media (max-width: 360px) {
  #topmenu a {
    width: 80px;
  }
}

#topmenu a:hover {
	background: linear-gradient(180deg, #d3e6fb, #fff);
	border-bottom: 4px solid #1818d0;
}

/* Информ-строка "Часы", "Тел.", "Эл.почта" и "Курсы валют" */

#infoline .linewrap {
  display: flex;
  justify-content: center;
  background: #d3e6fb;
  color:#545454;
  padding-left: 12px;
  width: 100%;
}
@media (max-width: 400px) {
  #infoline .linewrap {
    padding-left: 85px;
  }
}
#watch {
  margin: 3px;
  padding-left: 4%;
  height: 27px;
  width:32px;
}

#digital_watch {
  font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 5px 30px 0 0;
  padding:0;
  height: 28px;
}

#tel {
  font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-top: 2px;
}

#hard_currency {
  font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  display: grid;
  float: right;
  grid-template-columns: repeat(3, 30%);
  gap: 30px;
  text-align: right;
  margin: 3px;
  margin-left: 30px;
}

#hard_currency .fa-long-arrow-alt-down {
	color: rgb(92, 68, 245);
}

#hard_currency .fa-long-arrow-alt-up {
	color: rgb(255, 17, 0);
}

/* Фото заставка с рекламой */

.flexbox {
  display: flex;
  flex-direction: row;
}

.container {
  max-height: 300px;
  display: block;
  text-align: center;
  position: relative;
}

.images-descrition {
  margin: 0;
  padding: 0;
  opacity: 0.6;
  max-width: 100%;
  overflow: hidden;
}

.description {
  position: absolute;
  color:#fafafb;
  font-family: "rb";
  font-size: 22px;
  top: 40%;
  left: 20%;
  transform: translate(-35%, 50%);
  opacity:0;
}

.container:hover .description {
  opacity:100; 
}

/* Основное поле сайта - grid разметка на Левое с краю меню и 4-е блока в main */

.grid * {
  text-align: center;
  font-family: Roboto, sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif,
}

/* Сетка grid */

.grid {
  height: 100%;
  width: 100%;
  background: #d3e6fb;
  margin: 0;
  display: grid;
  grid-template-columns: 400px 1fr;
  grid-template-rows: 100px 1fr 150px;
  grid-template-areas: 
    "aside header"
    "aside main"
    "footer footer";
}

header {
  grid-area: header;
  background: #d3e6fb;
  color:#545454;
  font-size: 20px;
  padding: 27px 100px 30px 0px;
  margin-left: -60px;
  height: auto;
}

aside {
  grid-area: aside;
  background: #d3e6fb;
  color:#545454;
  font-size: 10px;
  margin-left: 100px;
}
main {
  grid-area: main;  
  background: #d3e6fb;
  color:#545454;
  display: grid;
  column-gap: 90px;
  column-width: 350px;
  font-size: 20px;
  padding: 25px 50px 30px 280px;
  grid-template-columns: 400px 400px;
  grid-template-rows: 350px 350px;
  grid-template-areas: 
    "item1 item2"
    "item3 item4"
}

main img {
  margin-top: 10px;
  box-shadow: 17px 19px 7px rgba(95, 93, 97, 0.692);
}

@media (max-width: 1380px) {
  header {
    grid-area: header;
    background: #d3e6fb;
    color:#545454;
    font-size: 20px;
    padding: 25px 3px 0px 30px;
    height: 75px;
    width: 700px;
  }
  aside {
    margin-left: 0;
  }
  .grid main {
    flex-direction: column;
    margin-left: -80px;
  }
  main {
  grid-area: main;  
  background: #d3e6fb;
  color:#545454;
  display: grid;
  grid-gap: 40px;
  font-size: 20px;
  padding: 5px 400px 50px 250px;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  grid-template-areas: 
    "item1"
    "item2"
    "item3" 
    "item4"
  }
}

@media (max-width: 970px) {
  header {
    height: 100px;
    padding: 25px 3px 0px 12px;
    width: 400px;
  }
  aside {
    margin-left: -30px;
  }
  .grid main {
    margin-left: -250px;
  }
}

/* Подвал */

footer {
  grid-area: footer;
  padding: 3px;
  background: linear-gradient(180deg,#5d5dfe,#43d3f7);
  font-size: 16px;
  font-weight: 200;
  color:#fff;
  line-height: 0.4;
  width: 100%;
  text-align: center;
}

footer .infor {
  display: flex;
  justify-content: space-between;
}

footer .infor1 {
  padding-top: 15px;
  padding-left: 5%;
  text-align: left;
}

footer .infor2 {
  padding-top: 15px;
  padding-right: 5%;
  text-align: right;
}

@media (max-width: 1100px) {
  footer {
    width: 1080px;
    height: auto;
    line-height: 1.2;
    text-align: center;
    padding: 0 1% 0 1%;
  }
  .grid {
    grid-template-rows: 1fr 1fr;
  }
  footer .infor {
  display: flex;
  }
  footer .infor1 {
  padding-top: 15px;
  text-align: left;
  }
  footer .infor2 {
  padding-top: 15px;
  text-align: right;
  }
}
@media (max-width: 641px) {
  footer {
    width: 600px;
    height: auto;
    line-height: 1.2;
    text-align: center;
  }
  footer .infor {
  display: block;
  }
  footer .infor1 {
  padding-top: 10px;
  text-align: center;
  padding-left: 20px;
  }
  footer .infor2 {
  padding-top: 10px;
  text-align: center;
  padding-left: 20px;
  }
}

/* СSS - стили для стр. Заказы и Каталоги */

.orders {
  height: auto;
  background-color: #d3e6fb;
  margin-bottom: -20px;
}

.head_1 {
  height:auto;
  display: flex;
  background-color: #d3e6fb;
  text-align: center;
  font-size: 600;
  color: #545454;
  padding: 50px 0 20px 400px;
} 

.head_1 .fa-cog {
  font-size: xx-large;
}

.head_1 span {
  margin: -20px 0 0 30px;
}

.catalogues_info {
  background-color: #d3e6fb;
  text-align: center;
  font-weight:400;
  color: #545454;
  padding: 10px 10px;
}

.container_1 {
  height:auto;
  display: flex;
  justify-content: space-evenly;
  background-color: #d3e6fb;
  color: #545454;
  padding-bottom: 350px;
}

.catalogues {
  display: flex;
  justify-content: space-evenly;
  margin: 0;
  background-color: #d3e6fb;
  color: #545454;
  padding-bottom: 80px;
  text-align: center;
}

@media (max-width:780px) {
  .catalogues {
    flex-direction: column;
  }
}


.container_2 .catalogue_r img {
  box-shadow: 17px 19px 7px rgba(95, 93, 97, 0.692);
}

.container_2 .catalogue_e img {
  box-shadow: 17px 19px 7px rgba(95, 93, 97, 0.692);
}

.container_1 .forma fieldset {
  box-shadow: 17px 19px 7px rgba(95, 93, 97, 0.692);
}

.container_1 .contacts fieldset {
  box-shadow: 17px 19px 7px rgba(95, 93, 97, 0.692);
}

.forma {
    margin-left: 50px;
    padding: 10px;
    text-align: left;
}
.contacts {
    text-align: left;
    margin-left: 20px;
    padding: 10px 0 20px 0;
}

.note {
  height: auto;
  background-color: #d3e6fb;
  margin: -300px 400px 60px 170px;
  text-align: left;
  padding: 5px 20px;
  padding-bottom: -10px;
  background-color: #d3e6fb;
  border: 1px solid #545454;
  color: #545454;
  box-shadow: 17px 19px 7px rgba(95, 93, 97, 0.692);
}

@media (max-width: 1800px) {
  .note {
    margin: -300px 200px 60px 170px;
  }
}

@media (max-width: 1325px) {
  .note {
    margin: -300px 50px 60px 170px;
    margin-left: 40px;
  }
  .head_1 {
    padding-left: 40px;
  }
}

@media (max-width: 1014px) {
  .head_1 {
    padding-left: 10px;
  }
  .container_1 {
    display: block;
    background-color: #d3e6fb;
    color: #545454;
    height: 1320px;
  }
  .forma {
    width: 335px;
    text-align: left;
    margin-left: 290px;
  }
  .contacts {
    width:335px;
    margin: 10px 100px 0 300px;
    text-align: left;
  }
  .note {
    width:630px;
    margin: -540px 100px 80px 160px;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .forma {
    margin-left: 10px;
  }
  .contacts {
    margin-left: 19px;
  }
  .note {
    width: 290px;
    margin-left: 20px;
    margin-right: 100px;
  }
}

/* Боковое левое меню */

.form {
  background:#4e85fc;
  border: 1px solid #a6a4a4;
  border-top-left-radius: 25px; 
  color:#545454;
  width: 184px;
  margin: 25px 20px 0 41px;
  padding: 24px;
  height:25px;
  box-shadow: 17px 19px 7px rgba(95, 93, 97, 0.692);
}

@media (max-width: 480px) {
  .form {
    margin: 25px 20px 0 33px;
  }
}
.form .fa-cog {
  background: none;
  font-size: 22px;
  color:#545454;
}

.form span {
  color: #545454;
  font-size: 20px;
  padding: 10px auto;
}

#sidemenu ul {
  list-style: none;
  margin: 25px 18px;
  font-size: 16px;
  padding: 7px;
  width: 250px;  
}

@media (max-width: 480px) {
  #sidemenu ul {
  margin: 25px 18px 0 10px;
  }
}
#sidemenu ul li {
  margin: 3px 0 0 15px;
  position: relative;
  border: 1px solid #a6a4a4;
  border-radius: 5px;
  box-shadow: 17px 19px 7px rgba(95, 93, 97, 0.692);
}

#sidemenu ul .one1 a {
  background: linear-gradient(180deg,#92d3eb,#d5edf3);
}

#sidemenu ul .two1 a {
  background: linear-gradient(180deg,#b5f86d, #ddf1c8);
}

#sidemenu ul .three1 a {
  background: linear-gradient(180deg,#7f8081, #d6d7d7);
}

#sidemenu ul .fore1 a {
  background: linear-gradient(180deg,#f48e44, #f9bea5);
}

#sidemenu ul .five1 a {
  background: linear-gradient(180deg,#fbed24, #f5eca9);
}

#sidemenu ul .six1 a {
  background: linear-gradient(180deg,#44b403, #b3fa61);
}

#sidemenu ul .seven1 a {
  background: linear-gradient(180deg,#0a88f6, #8abefa);
}

#sidemenu ul .eight1 a {
  background: linear-gradient(180deg,rgb(100, 169, 164), #96cbd8);
}

.nine1 a {
  background: url("../images/logohww.png") no-repeat 0px 0px, linear-gradient(0deg, #d3e6fb, #fff);
  display: block;
  margin: 50px 30px 10px -26px;
  list-style: none;
  text-decoration: none;
  color:#545454;
  font-size: 16px;
  padding: 69px 0 0 0;
  height: 25px;
  width: 285px;
  position: relative;
  border: 1px solid #a6a4a4;
  border-radius: 5px;
  box-shadow: 17px 19px 7px rgba(95, 93, 97, 0.692);
}
@media (max-width: 970px) {
  .nine1 a {
   margin: 50px 30px 10px -9px;
  }
}

@media (max-width: 340px) {
  .nine1 a {
    margin: 30px 30px 10px -10px;
  }
}

#sidemenu ul li a {
  display: block;
  padding: 5px 5px;
  text-decoration: none;
  text-align:center;
  height: 50px;
  line-height: 20px;
  border-radius: 5px;
  font-size: 16px;
  color:#545454;
}
#sidemenu li ul {
  display: none;
  left: 229px;
  margin: -52px 0;
  position: absolute;
}

#sidemenu a:hover {
  display: block;
  color:rgb(250, 20, 3);
  font-weight: 400;
}
#sidemenu li:hover ul {
  display: block;
}