* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:focus,
:active {
  outline: none;
}
a:focus,
a:active {
  outline: none;
}
nav,
footer,
header,
aside {
  display: block;
}
html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  font-family: "Montserrat", sans-serif;
  color: #000;
  background: #f8f8f8;
}
input,
button,
textarea {
  font-family: inherit;
}
input::-ms-clear {
  display: none;
}
button {
  cursor: pointer;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
a,
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
ul li {
  list-style: none;
}
img {
  vertical-align: top;
}
/* *styles ======================== */
.grid-container {
  display: grid;
  grid-template-areas:
    "sidebar header"
    "sidebar content";
  grid-template-columns: 90px auto;
  grid-template-rows: 60px minmax(calc(100vh - 60px), auto);
}
/* *Header ================================== */
.header {
  grid-area: header;
  background: #ffffff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}
.header__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 110%;
}
.header__profile {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.header__profile-name {
  margin-right: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 110%;
}
/* *Sidebar =================================== */
.sidebar {
  grid-area: sidebar;
  background-color: #000000;
  position: fixed;
  height: 100vh;
}
.sidebar__logo {
  display: block;
  background-color: #078b94;
  padding: 29px;
}
.sidebar__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sidebar__menu-item {
  padding: 25px 33px;
  cursor: pointer;
}
.sidebar__menu-item.active {
  background: rgba(7, 139, 148, 0.7);
}
/* *Content =================================== */
.content {
  grid-area: content;
  padding: 40px;
}
/* *Content inner ==================== */
.app-settings,
.settings-account,
.sending-messages,
.api-auth {
  display: grid;
  grid-template-columns: 100% 100%;
}
/* *Widgets ================================== */
.widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  column-gap: 20px;
  row-gap: 20px;
  margin-bottom: 20px;
}
/* *Progress-bar ================== */
.progress-bar {
  display: flex;
}
.progress-bar__section {
  height: 145px;
  width: 12px;
  background-color: #c4c4c4;
  margin-right: 12px;
  display: flex;
  align-items: flex-end;
}
.progress-bar__value {
  display: block;
  width: 100%;
  height: 50%;
  background: #078b94;
}
/* *shipment-statistic ============ */
.shipment-statistic {
  height: calc(95vh - 194px);
}
.shipment-statistic .card {
  height: 100%;
}
/* *Card ==================================== */
.card {
  background: #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  color: #000;
}
.card__inner {
  display: grid;
  grid-template-columns: 65% 35%;
}
.card__wrap {
  display: flex;
  justify-content: space-between;
}
.card__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card__title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.card__title--widgets::after {
  content: url("/static/images/icons/small-arrow.png");
  margin-left: 12px;
}
.card__title--big {
  font-size: 32px;
  font-weight: 500;
  text-transform: inherit;
}
.card__title--app {
  font-size: 18px;
  font-weight: 500;
  text-transform: inherit;
  margin-top: 13px;
}
.card__count {
  font-size: 36px;
  font-weight: 400;
  line-height: 110%;
}
.card__buttons {
  display: flex;
}
.card__buttons--devices .card__btn-radio span {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 110%;
  background: #ececec;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  margin-right: 10px;
  color: #979797;
}
.card__buttons--devices .card__btn-radio input:checked + span {
  background: #c4c4c4;
  color: #000;
  font-weight: 600;
}
/* *btn-radio ====================== */
.card__buttons--chart {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}
.card__btn-container {
  display: flex;
}
.card__btn-radio span {
  display: block;
  background: #fff;
  font-weight: 500;
  padding: 12px 10px;
  border-radius: 10px;
  position: relative;
  margin-right: 10px;
  cursor: pointer;
}
.card__btn-radio input {
  position: absolute;
  opacity: 0;
}
.card__btn-radio input:checked + span {
  background: #ececec;
  font-weight: 600;
}
.card__api-key {
  font-size: 16px;
  line-height: 110%;
  font-weight: 500;
  padding-bottom: 30px;
  position: relative;
}
.card__api-key:after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  bottom: 20px;
  left: 0;
  background: #c4c4c4;
}
.card__small-text {
  font-size: 14px;
  line-height: 110%;
  font-weight: 400;
  margin-bottom: 43px;
}
.card__statistic {
  font-size: 14px;
  line-height: 110%;
  font-weight: 500;
  padding-top: 20px;
  position: relative;
}
.card__statistic::before {
  content: "";
  position: absolute;
  background: #c4c4c4;
  height: 2px;
  width: 100%;
  top: 0;
  left: 0;
}
.card__label {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
}
.card__label-top {
  font-size: 12px;
  line-height: 110%;
  font-weight: 500;
  color: #000000;
  margin-bottom: 10px;
  position: relative;
}
.card__label-top::before {
  content: "";
  position: absolute;
  background: #078b94;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  top: 0;
  bottom: 0;
  left: -13px;
  margin: auto;
}
.card__label-os {
  color: #979797;
  font-weight: 600;
}
.card__label-bottom {
  font-size: 12px;
  line-height: 110%;
  font-weight: 600;
  color: #000000;
}
.card__devices-chart {
  margin-bottom: 10px;
}
/* *Inactive devices ================= */
.inactive-devices {
  display: flex;
  align-items: center;
  margin-top: 51px;
}
.inactive-devices__count {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ececec;
  border-radius: 10px;
  padding: 12px 20px;
  margin-right: 10px;
  color: #979797;
}
.inactive-devices__text {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  color: #979797;
  line-height: 110%;
}
/* *App-card ================= */
.app {
  display: grid;
  grid-template-columns: 50% 50%;
  column-gap: 20px;
  row-gap: 20px;
  margin-bottom: 20px;
}
.app-add-btn {
  background: #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  text-align: center;
  cursor: pointer;
}
.app-add-btn__icon {
  margin-bottom: 20px;
}
.app-add-btn__text {
  font-size: 16px;
  line-height: 110%;
  font-weight: 600;
  color: #078b94;
}
/* Chart ============================== */
.chart {
  margin-bottom: 30px;
}
/* *Content-nav ======================= */
.content-nav {
  display: flex;
  position: relative;
  margin-bottom: 20px;
}
.content-nav:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #c4c4c4;
  bottom: 0;
  left: 0;
}
.content-nav__item {
  padding: 0 2% 17px 2%;
  position: relative;
}
.content-nav__item:before {
  content: "";
  position: absolute;
  background: transparent;
  height: 4px;
  width: 100%;
  bottom: -2px;
  left: 0;
  z-index: 2;
}
.content-nav__item.active::before {
  background: #078b94;
}
.content-nav__item a {
  font-size: 16px;
  line-height: 110%;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}
.content-nav__item.active a {
  font-weight: 600;
}
/* *Sending-messages ======================== */
.sending-messages {
  display: grid;
  grid-template-columns: 65% 35%;
}
.form {
  background: #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 0 20px;
  text-align: right;
}
.form__section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
}
.form__input {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.form__input-desc {
  font-size: 12px;
  line-height: 110%;
  font-weight: 400;
  margin-top: 10px;
  text-align: left;
}
.form__input-alert {
  color: red;
  font-size: 12px;
  line-height: 110%;
  font-weight: 400;
  margin-top: 10px;
  text-align: left;
}
.form__section--textarea {
  align-items: start;
}
.form__section--textarea label {
  padding-top: 13px;
}
.form label {
  font-size: 14px;
  line-height: 110%;
  font-weight: 600;
  text-transform: uppercase;
}
.form input,
.form textarea {
  background: #ffffff;
  border: 1px solid #979797;
  border-radius: 4px;
  padding: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 110%;
  width: 100%;
}
.form__input,
.form__textarea {
  width: 70%;
}
.form textarea {
  resize: none;
  height: 160px;
}
.form__btn {
  font-size: 16px;
  line-height: 110%;
  color: #ffffff;
  background: #078b94;
  border-radius: 4px;
  padding: 11px 54px;
  margin: 20px 0;
}
.sending-messages .form__section:first-child:after,
.sending-messages .form__section:nth-child(4)::after,
.sending-messages .form__section:nth-child(4)::before,
.app-settings .form__section:nth-child(3)::before,
.app-settings .form__section:nth-child(3)::after,
.settings-account .form__section::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: #c4c4c4;
}
.sending-messages .form__section:first-child:after,
.sending-messages .form__section:nth-child(4)::after,
.app-settings .form__section:nth-child(3)::after,
.settings-account .form__section::after {
  bottom: 0;
  left: 0;
}
.sending-messages .form__section:nth-child(4)::before,
.app-settings .form__section:nth-child(3)::before {
  top: 0;
  left: 0;
}
.dddd {
  background: rgb(255, 99, 132);
}
