@font-face {
  font-family: 'Frutiger';
  src: url('../fonts/FrutigerNeueLTW1G-Light.eot');
  src: url('../fonts/FrutigerNeueLTW1G-Light.woff2') format('woff2'),
       url('../fonts/FrutigerNeueLTW1G-Light.woff') format('woff'),
       url('../fonts/FrutigerNeueLTW1G-Light.ttf') format('truetype'),
       url('../fonts/FrutigerNeueLTW1G-Light.svg#FrutigerNeueLTW1G-Light') format('svg'),
       url('../fonts/FrutigerNeueLTW1G-Light.eot?#iefix') format('embedded-opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Frutiger';
  src: url('../fonts/FrutigerNeueLTW1G-Regular.eot');
  src: url('../fonts/FrutigerNeueLTW1G-Regular.woff2') format('woff2'),
       url('../fonts/FrutigerNeueLTW1G-Regular.woff') format('woff'),
       url('../fonts/FrutigerNeueLTW1G-Regular.ttf') format('truetype'),
       url('../fonts/FrutigerNeueLTW1G-Regular.svg#FrutigerNeueLTW1G-Regular') format('svg'),
       url('../fonts/FrutigerNeueLTW1G-Regular.eot?#iefix') format('embedded-opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Frutiger';
  src: url('../fonts/FrutigerNeueLTW1G-Black.eot');
  src: url('../fonts/FrutigerNeueLTW1G-Black.woff2') format('woff2'),
       url('../fonts/FrutigerNeueLTW1G-Black.woff') format('woff'),
       url('../fonts/FrutigerNeueLTW1G-Black.ttf') format('truetype'),
       url('../fonts/FrutigerNeueLTW1G-Black.svg#FrutigerNeueLTW1G-Black') format('svg'),
       url('../fonts/FrutigerNeueLTW1G-Black.eot?#iefix') format('embedded-opentype');
  font-weight: 700;
  font-style: normal;
}

@charset 'utf-8';

:root {
  --primary-color: #ae0f0a;
  --accent-color: #3adb76;
  --secondary-color: #575756; 
  --text-color: #24617a; 
  --gray-color: #ddd;
}


/* переназначение имеющихся элементов */


.logo {
    background: url("../img/logo_huawei.png") no-repeat left top;
}

.header__micro-anons li, .header__micro-anons li a  {
  color: #d60700;
    
}

.header__menu {
  background-color: #000;
}

svg, #bottom {
  box-sizing: content-box;
}

#bottom {
    background-image: url('../img/bot_crn.gif');
	min-width: 0;
}
#botlinks {
  background-color: black;
  height: 28px;
}

#credits #labels {
	width: 110px;
	overflow: hidden;
}

#credits {
	overflow: hidden;
}

#credits #labels img {
	margin: 18px 5px;
}

@media (max-width: 992px) {
	#botlinks a {
		display: none;
	}
}

.row {
  margin-bottom: 30px;
}

div.header {min-width: 0;}
div.header__micro-anons {
  right: 15px;
}
@media (max-width: 576px) { 
	div.header {height: 245px;}
	div.header__micro-anons {
	  left: 0px;
	  top: 160px;
	  width: 100%;
	  text-align: center;
	
	
	}
	
	.upper__social, .upper__search, .header__menu {
		display: none;
	}


	
	.header__menu ul {
		display: none;
	}
}




.huawei_product {
	align-content: flex-start;
}

/* типографика */

body, p {
  font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Frutiger,Roboto,Arial,sans-serif;
}

a:hover {text-decoration: none;}




/* шапка */

#huawei_header {
  width: 100%;
  padding: 10px 60px;
  position: relative;
  background-image: url('../img/corner_tl.png'), url('../img/corner_tr.png');
  background-position: top left, top right;
  background-repeat: no-repeat, no-repeat;
  background-color: #eee;
  border-top: 2px solid white;
}

#huawei_header .row {
  margin-bottom: 0;
  
}

.huawei_logo {
  width: auto;
  height: 44px;
}

.huawei_social a {
  margin-right: 10px;
}
.huawei_social a svg {
  fill: #575756;
}


/*    баннер     */


/*    кнопка больше     */

#showmore1, #showmore2, #showmore3, #showmore4 {
    margin-bottom: 30px;
    overflow: hidden;
    text-align: center;
    transition: max-height ease 1s, transform ease 0.5s;
    
    
}   

#showmore1 a, #showmore2 a, #showmore3 a, #showmore4 a {
      display: inline-block;
      border-radius: 30px;
      background-color: var(--gray-color);
      padding: 5px 30px;
      color: black;
      font-size: 12px;
      line-height: 30px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 600;
      transition: all 1s ease;
}

#showmore1 a:hover, #showmore2 a:hover, #showmore3 a:hover, #showmore4 a:hover {
  padding: 5px 60px;
  color: var(--primary-color);
}


/*    обзоры     */

.section_header {
    border-top: 1px solid black;
    box-sizing: border-box;
    margin-bottom: 15px;     
}
.section_header h2 {
      display: inline-block;
      border-top: 3px solid black;
      margin-top: 0;
      margin-left: -15px;
      padding: 4px 30px 4px 15px;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.3em;
      font-weight: 600;
      color: var(--primary-color);
}

.review_item {
  margin-bottom: 30px;
}

.review_item a {
      display: block;
      width: 100%;
      overflow: hidden;
}

.review_item .image {
      width: 100%;
      height: 160px;
      margin-bottom: 30px;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      transition: all ease 1s;
}

.review_item .image:hover  {
      transform: scale(1.1);
}

.review_item h3 {
      font-size: 25px;
      line-height: 28px;
      font-weight: 300;
      color: var(--secondary-color);
      margin-bottom: 15px;
      transition: color ease 0.5s;
}

.review_item h3:hover {
      color: var(--primary-color);
}

h4.author {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 400;
      color: var(--primary-color);      
}



/*     видео       */

.video_item {

    height: auto;
    min-height: 16rem;
    margin-bottom: 30px;
}

.video_item iframe {
      width: 100%;
      height: 100%;
      border-radius: 1.5rem;

}


/*    статьи    */

.article_item {
  margin-bottom: 30px;
}

.article_item  a {
      display: block;
      position: relative;
      height: 20rem;
      width: 100%;
      background: black;
      border-radius: 1.5rem;

}

.article_item a div.image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      z-index: 0;
      border-radius: 1.5rem;
      opacity: 0.5;
      transition: opacity ease 1s;

}

.article_item a:hover div.image {
      opacity: 0.3;
}

.article_item h3 {
      position: absolute;

      bottom: 30px;
      left: 0;
      margin: 15px;
      font-size: 20px;
      line-height: 22px;
      font-weight: 400;
      color: white;
      transition: color ease 0.5s;
      z-index: 1;
}
    
.article_item h4.author {
      position: absolute;
      bottom: 15px;
      left: 15px;
      z-index: 10000;
      color: var(--gray-color);
}




/*    новости     */

.huawei_news a {
    display: block;
    margin-bottom: 30px;
    padding: 15px;
    background-color: white;
    transition: all ease 1s;
}

.huawei_news  a:hover {
    background-color: var(--gray-color);
    transform: translateY(-5px);
  }
  
.huawei_news  h3 {
    font-size: 22px;
    line-height: 24px;
    color: var(--primary-color);
    font-weight: 300;
  }
  
.huawei_news  p {
    color: var(--secondary-color);
    font-size: 12px;
    line-height: 18px;
  }


/*    устройства     */


.product_item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 60px;
}

.product_item  a {
    display: block;
    position: relative;
    border: 1px solid var(--secondary-color);
    border-radius: 1rem;
    min-height: 420px;
    min-width: 220px;
    max-width: 260px;
    padding: 1.5rem 0.75rem;
    text-align: right;
}

.product_item img.product_photo {
      max-width: 240px;
      position: absolute;
      top: 40px;
      left: -55px;
      transition: all ease 1s;  
}

.product_item img.product_photo:hover {
      top: 25px;
}

.product_item h3.name {
      font-weight: 300;
      color: var(--secondary-color);
      font-size: 26px;
      line-height: 26px;
      letter-spacing: -0.05em;
      margin-bottom: 30px;
      transition: color ease 0.5s;
}

.product_item h3.name:hover {
      color: var(--primary-color);
}

.product_item div.specs {
      position: relative;
      width: 100px;
      margin-left: 120px;
      text-align: left;
}    
.product_item .specs p {
        font-size: 17px;
        line-height: 19px;
        color: var(--secondary-color);
        letter-spacing: -0.03em;
        font-weight: 400;

}

.product_item .specs span.head {
        color: var(--primary-color);
        font-size: 12px;
        display: block;
        letter-spacing: 0.02em;
}

.product_item  .nextbutton {
      position: absolute;
      bottom: 0px;
      right: 15px;
      padding: 15px 30px 15px 0;
      font-size: 14px;
      letter-spacing: 0.02em;
      background-image: url("../img/arrow.svg");
      background-size: 2rem;
      background-position: center right;
      background-repeat: no-repeat; 
      transition: all ease 1s;
}

.product_item .nextbutton:hover {
      transform: scale(1.1);
}

/*    устройства  горизонтальное фото   */
  
.hor img.product_photo {
      max-width: 330px;
      position: absolute;
      top: 180px;
      left: -65px;
      transition: all ease 1s;  
}

.hor img.product_photo:hover {
      top: 165px;
}

.hor div.specs {
      columns: 2;
      margin-left: 15px;
      margin-right: 15px;
      text-align: left;
      width: 100%;

}
    
.hor div.specs p { 
        
        display: block;
        font-size: 17px;
        line-height: 19px;
        color: var(--secondary-color);
        letter-spacing: -0.03em;
        font-weight: 400;

}

.hor div.specs span.head {
        color: var(--primary-color);
        font-size: 12px;
        display: block;
        letter-spacing: 0.02em;
}





