* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
}
html {
  font-size: 14px;
}
html,
body {
  width: 100%;
  height: 100%;
}
body {
  font-family: 'Roboto', sans-serif;
  background-color: #fff;
  background-image: url(../img/tech_bg.png);
  background-repeat: repeat;
  color: #212121;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: default;
}
a:-webkit-any-link {
  text-decoration: none;
  color: #212121;
}
a:-moz-any-link {
  text-decoration: none;
  color: #212121;
}
a:any-link {
  text-decoration: none;
  color: #212121;
}
a:visited {
  color: #212121;
}
a:hover {
  color: #00c6f3;
}
header,
footer {
  width: 100%;
}
#header_wrapper,
#wrapper {
  width: 100%;
  max-width: 992px;
  margin: 0 auto;
}
header {
  background: #37404b;
}
section {
  width: 100%;
  max-width: 992px;
  background: #fff;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
          box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  margin: 8px auto;
  display: inline-block;
  text-align: left;
}
#header_wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 5px 10px;
}
#header_wrapper .logo {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
}
#header_wrapper .logo img {
  width: 120px;
}
#header_wrapper .header_icon {
  height: 20px;
  margin-right: 10px;
  opacity: 0.8;
}
#header_wrapper p {
  display: none;
}
#header_wrapper .header_icon:hover {
  cursor: pointer;
  opacity: 1;
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}
#wrapper {
  padding: 15px 10px 25px;
}
#wrapper .wrapper_title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 23px;
}
#wrapper #today {
  font-size: 0.8rem;
  color: #6f8897;
}
#wrapper .wrapper_title:first-of-type {
  margin-top: 0;
}
#wrapper .text_news {
  margin-top: 9px;
}
#wrapper .text_news p:first-child {
  margin-bottom: 3px;
}
#wrapper .text_news:hover p:first-child {
  text-decoration: underline;
}
#wrapper .pictext_block {
  margin-top: 14px;
}
#wrapper .pictext_block_pic {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}
#wrapper .pictext_block_text {
  font-weight: 500;
  margin: 5px 0;
}
#wrapper .pictext_block:hover {
  cursor: pointer;
}
#wrapper .pictext_block:hover .pictext_block_text {
  text-decoration: underline;
  color: #00c6f3;
}
.views {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: 0.85rem;
  color: #a8adb1;
}
.views p:last-of-type {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: right;
  color: #d3d5da;
}
.views img {
  width: 14px;
  margin-right: 5px;
}
footer {
  background: #23282c;
  color: #fff;
}
#footer_wrapper {
  padding: 25px 20px 40px;
  width: 100%;
  max-width: 992px;
  margin: 0 auto;
}
#footer_wrapper img {
  cursor: pointer;
}
#footer_wrapper .links {
  margin: 0 auto 30px;
  text-align: center;
}
#footer_wrapper .links p {
  margin-top: 15px;
  font-size: 1.1rem;
}
#footer_wrapper .links p:hover {
  cursor: pointer;
  color: #00c6f3;
}
#footer_wrapper .social {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 85%;
  max-width: 250px;
  margin: 0 auto;
}
#footer_wrapper .social img {
  width: 20px;
}
#footer_wrapper .footer_logo {
  display: none;
}
.more {
  width: 100%;
  text-align: center;
  color: #00c6f3;
  font-weight: 500;
  border: 2px solid #00c6f3;
  padding: 8px;
  margin-top: 25px;
  border-radius: 25px;
}
.more:hover {
  cursor: pointer;
  background: #00c6f3;
  color: #fff;
}
.article {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 30px;
}
.article_pic {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
}
.article_text {
  margin-top: 10px;
  text-align: justify;
}
.article h2 {
  font-size: 1.6rem;
  text-align: center;
}
.article h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 12px;
  text-align: center;
}
.article_actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 20px;
}
.article .navigation {
  color: #707780;
}
.article .navigation p {
  margin-left: 30px;
  font-weight: 700;
  cursor: pointer;
}
.article .navigation p:first-of-type {
  margin-bottom: 15px;
}
.article .navigation p::before {
  content: '';
  position: absolute;
  left: -25px;
  width: 18px;
  height: 18px;
  background: url(../img/arrow_grey.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.article .navigation .rotate::before {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}
.article .navigation p:hover {
  color: #00c6f3;
}
.article .navigation p:hover::before {
  background: url(../img/arrow_blue.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.article .save {
  color: #00c6f3;
  font-weight: 700;
  border: 2px solid #00c6f3;
  border-radius: 25px;
  padding: 8px 20px;
}
.article .save p {
  margin-left: 15px;
}
.article .save p::before {
  content: '';
  position: absolute;
  top: 2px;
  left: -20px;
  width: 12px;
  height: 15px;
  background: url(../img/save_blue.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.article .save:hover {
  color: #fff;
  background: #00c6f3;
  cursor: pointer;
}
.article .save:hover p::before {
  background: url(../img/save_white.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
/*************** media queries FOR WRAPPER ONLY ***********/
@media screen and (min-width: 375px) {
  #header_wrapper {
    padding: 10px 12px;
  }
  #header_wrapper p {
    display: inline-block;
    background: #23282c;
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
  }
  #header_wrapper p:hover {
    cursor: pointer;
    background: #00c6f3;
  }
  #wrapper .wrapper_title {
    margin-top: 30px;
  }
  #wrapper .wrapper_title:first-of-type {
    margin-top: 0;
  }
  #wrapper .text_news {
    margin-top: 12px;
  }
  #wrapper .pictext_block_pic {
    height: 240px;
  }
  .article {
    margin: 0 auto 40px;
  }
  .article_pic {
    height: 220px;
  }
  .article h2 {
    font-size: 1.9rem;
  }
  .article h3 {
    font-size: 1.3rem;
  }
}
@media screen and (min-width: 576px) {
  #wrapper .wrapper_title {
    font-size: 1.7rem;
    margin-top: 15px;
    padding-top: 25px;
    border-top: 1px solid #ededed;
  }
  #wrapper .wrapper_title:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border: none;
  }
  #wrapper #today {
    font-size: 0.9rem;
  }
  #wrapper .text_news {
    margin-top: 17px;
  }
  #wrapper .text_news p:first-child {
    margin-bottom: 5px;
  }
  #wrapper .wrapper_pictext {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  #wrapper .pictext_block {
    width: 48%;
  }
  #wrapper .pictext_block_pic {
    height: 200px;
  }
}
@media screen and (min-width: 768px) {
  #header_wrapper {
    padding: 12px;
  }
  #header_wrapper .logo img {
    width: 200px;
  }
  #header_wrapper .header_icon {
    height: 25px;
    margin-right: 25px;
  }
  #header_wrapper p {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
  }
  section {
    margin: 15px auto;
  }
  #wrapper {
    padding: 35px 15px 40px;
  }
  #wrapper .wrapper_title {
    font-size: 1.9rem;
    margin-top: 25px;
    padding-top: 40px;
  }
  #wrapper #today {
    font-size: 1rem;
  }
  #wrapper .wrapper_title:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border: none;
  }
  #wrapper .wrapper_text {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  #wrapper .text_news {
    width: 30%;
    margin-top: 20px;
  }
  #wrapper .pictext_block {
    width: 23%;
    margin-top: 25px;
  }
  #wrapper .pictext_block_pic {
    height: 150px;
  }
  .more {
    margin: 40px auto 0;
    padding: 10px;
    width: 180px;
  }
  #footer_wrapper {
    padding: 35px 20px 55px;
  }
  #footer_wrapper .links {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 0 auto 45px;
  }
  #footer_wrapper .links p {
    margin-top: 0;
  }
  #footer_wrapper img {
    opacity: 0.8;
  }
  #footer_wrapper img:hover {
    opacity: 1;
  }
  #footer_wrapper .footer_bottom {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  #footer_wrapper .footer_bottom .footer_logo {
    display: inline-block;
    width: 200px;
  }
  #footer_wrapper .social {
    margin: 0;
  }
  #footer_wrapper .social img {
    width: 24px;
  }
  .article {
    margin: 0 auto 55px;
  }
  .article_pic {
    height: 320px;
  }
  .article_text {
    margin-top: 15px;
  }
  .article h2 {
    font-size: 2.2rem;
  }
  .article h3 {
    font-size: 1.5rem;
    margin: 0 0 18px;
  }
  .article_actions {
    margin-top: 30px;
  }
}
@media screen and (min-width: 992px) {
  #header_wrapper {
    padding: 12px 0;
  }
  #wrapper {
    padding: 35px 30px 50px;
  }
  .more {
    margin-top: 55px;
  }
  #footer_wrapper .links {
    padding: 0 120px;
  }
}

/* Category cards keep their own reading space in the compact technology grid. */
#wrapper .ot-category-title{margin:0 0 20px;font-size:28px;line-height:1.3;}
#wrapper .ot-category{row-gap:28px;}
#wrapper .ot-category .pictext_block{margin-top:0;}
#wrapper .ot-category .pictext_block_pic{display:block;}
#wrapper .ot-category .pictext_block_text{margin:12px 0 8px;line-height:1.4;}
#wrapper .ot-category time{font-size:12px;color:#62717e;}
@media(max-width:575px){#wrapper .ot-category .pictext_block + .pictext_block{margin-top:28px;}}

/* Separate compact story cards without affecting the category grid. */
#wrapper .wrapper_pictext:not(.ot-category) .pictext_block_text{margin:10px 0 0;line-height:1.4;}
#wrapper .article > h2{margin-bottom:16px;}
#wrapper .wrapper_text{margin-top:14px;}
@media(max-width:575px){
  #wrapper .wrapper_pictext:not(.ot-category) .pictext_block + .pictext_block{margin-top:24px;}
  #wrapper .wrapper_text .text_news + .text_news{margin-top:18px;}
}
