* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  -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%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

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;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

.select {
  position: relative;
  width: 100%;
}

.select__toggle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #fff;
  border: 1px solid #999;
  /* border-radius: 0.3125rem; */
  cursor: pointer;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  font-size: 1rem;
  padding: 0.375rem 0.75rem;
  line-height: 1.4;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-style: italic;
}

.select__toggle::after {
  content: '';
  width: 0.85rem;
  height: 0.85rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-left: 1rem;
  background-size: cover;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" height="100" width="100"%3E%3Cpath d="M97.625 25.3l-4.813-4.89c-1.668-1.606-3.616-2.41-5.84-2.41-2.27 0-4.194.804-5.777 2.41L50 52.087 18.806 20.412C17.223 18.805 15.298 18 13.03 18c-2.225 0-4.172.804-5.84 2.41l-4.75 4.89C.813 26.95 0 28.927 0 31.23c0 2.346.814 4.301 2.439 5.865l41.784 42.428C45.764 81.174 47.689 82 50 82c2.268 0 4.215-.826 5.84-2.476l41.784-42.428c1.584-1.608 2.376-3.563 2.376-5.865 0-2.26-.792-4.236-2.375-5.932z"/%3E%3C/svg%3E');
}

.select__toggle:focus {
  outline: none;
}

.select_show .select__toggle::after {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.select__dropdown {
  display: none;
  position: absolute;
  top: 2.5rem;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  max-height: 10rem;
  overflow-y: auto;
  border-radius: 0.3125rem;
  z-index: 2;
  background-color: #fff;
}

.select_show .select__dropdown {
  display: block;
}

.select_show .select__backdrop {
  display: block;
}

.select__options {
  margin: 0;
  padding: 0;
  list-style: none;
}

.select__option {
  padding: 0.375rem 0.75rem;
}

.select__option_selected {
  background-color: #e1f5fe;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.select__option_selected::after {
  content: '';
  width: 0.75rem;
  height: 0.75rem;
  color: #0277bd;
  background-size: cover;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" height="100" width="100" class="svg-inline--fa fa-check fa-w-16" data-icon="check" data-prefix="fas" aria-hidden="true"%3E%3Cpath d="M33.964 85.547l-32.5-32.251a4.935 4.935 0 010-7.017l7.071-7.017a5.027 5.027 0 017.071 0L37.5 60.987l46.894-46.534a5.028 5.028 0 017.07 0l7.072 7.017a4.935 4.935 0 010 7.017l-57.5 57.06a5.027 5.027 0 01-7.072 0z" fill="%230277bd"/%3E%3C/svg%3E');
}

.select__option:hover {
  background-color: #f5f5f5;
  cursor: pointer;
  -webkit-transition: 0.2s background-color ease-in-out;
  transition: 0.2s background-color ease-in-out;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.content {
  margin: 50px 70px 140px 70px;
}

.main {
  margin: 0 0 0 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.main__element {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 40px 0 0 0;
}

.main__element:first-child {
  margin: 0;
}

.main__element-city {
  margin: 20px 0 0 0;
}

.main__element-status-text {
  margin: 20px 0 0 0;
}

.main__element-horizontal-line {
  border: 1px solid #E5E4E4;
  width: 100%;
}

.main__element .bold {
  font-size: 30px;
  font-weight: 700;
}

.main__element .topic-name {
  font-size: 21px;
}

.subelement__first {
  width: 225px;
  margin: 5px 0 0 0;
}

.subelement__second {
  width: 340px;
}

.subelement__second input {
  width: 340px;
  border: 1px solid #999;
  height: 31px;
  padding: 0 0 0 12px;
  font-size: 16px;
  line-height: 19px;
}

.subelement__third {
  width: 300px;
  margin: 0 0 0 18px;
}

.subelement__third p {
  color: #999;
  font-size: 12px;
  line-height: 20px;
  margin: 5px 0 0 0;
}

.subelement__third.change-status-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
}

.subelement__third .up-time-log {
  margin: 10px 0 0 0;
}

.subelement-greeting-hello {
  color: #666666;
}

.subelement-human-number {
  -ms-flex-item-align: end;
      align-self: flex-end;
}

.subelement-change-status-button {
  -ms-flex-item-align: end;
      align-self: flex-end;
  color: #0C77BB;
}

.subelement-change-status-button span {
  font-size: 18px;
  border-bottom: dashed #0C77BB;
  cursor: pointer;
}

.subelement-change-status-button span:hover {
  color: blueviolet;
  border-bottom: solid blueviolet;
}

.subelement-popup-input {
  position: absolute;
  top: 40px;
  display: none;
}

.subelement-popup-input.show {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.subelement-popup-input .input-status {
  margin: 5px 0 0 0;
  font-size: 12px;
  min-height: 40px;
  width: 250px;
  padding: 5px;
  text-align: justify;
  border: 1px solid black;
  border-radius: 3px;
  -webkit-box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
          box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.subelement-popup-input button {
  position: relative;
  margin: 10px 0 0 0;
  width: 100px;
  height: 30px;
  border: 1px solid black;
  -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
          box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  border-radius: 2px;
}

.subelement-popup-input button:hover {
  -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px, rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
          box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px, rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.subelement-popup-input button:active {
  -webkit-box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
          box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  top: 2px;
}

.subelement-status {
  padding: 0 0 0 12px;
}

.subelement__error p {
  font-size: 12px;
  color: #FF0000;
  padding: 4px 0 0 0;
}

.container {
  padding-left: 30px;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border: 1px solid #7e7e7e;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container input:checked ~ .checkmark:after {
  display: block;
}

.container .checkmark:after {
  left: 5px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: url("../img/vector.svg") no-repeat;
}

.button-submit-changer {
  width: 120px;
  height: 40px;
  font-size: 18px;
  border: 1px solid green;
  background: #71C838;
  -webkit-box-shadow: 0px 1px 0px #539D22;
          box-shadow: 0px 1px 0px #539D22;
  color: #fff;
  position: relative;
  cursor: pointer;
}

.button-submit-changer span {
  color: #fff;
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);
  font-size: 18px;
}

.button-submit-changer:active {
  top: 2px;
  -webkit-box-shadow: 0px 0px 0px black;
          box-shadow: 0px 0px 0px black;
}

#input-error {
  border: 1px solid #FF0000;
}

@media screen and (max-width: 1200px) {
  .content {
    margin: 35px 70px 0 70px;
  }
  .main__element {
    margin: 25px 0 0 0;
  }
  .main__element .bold {
    font-size: 26px;
  }
  .main__element-status-text {
    margin: 10px 0 0 0;
  }
  .main__element .topic-name {
    font-size: 18px;
  }
  .container .agreement-text {
    font-size: 14px;
  }
  .subelement__first {
    width: 200px;
    margin: 5px 0 0 0;
  }
  .subelement__second {
    width: 270px;
  }
  .subelement__second input {
    width: 270px;
    padding: 0 0 0 12px;
    font-size: 14px;
  }
  .subelement__third {
    width: 280px;
    margin: 0 0 0 16px;
  }
  .subelement__third p {
    margin: 3px 0 0 0;
  }
}

@media screen and (max-width: 900px) {
  .content {
    margin: 25px 45px;
  }
  .main__element {
    margin: 20px 0 0 0;
  }
  .main__element .bold {
    font-size: 24px;
  }
  .main__element-status-text {
    margin: 10px 0 0 0;
  }
  .subelement__first {
    width: 180px;
  }
  .subelement__second {
    width: 230px;
  }
  .subelement__second input {
    width: 230px;
    height: 30px;
    font-size: 12px;
  }
  .subelement__second-status p {
    font-size: 10px;
  }
  .subelement__third {
    width: 200px;
    margin: 0 0 0 14px;
  }
  .subelement__third p {
    margin: 0;
    line-height: 16px;
  }
  .subelement__third .up-time-log {
    margin: 4px 0 0 0;
  }
  .subelement-popup-input {
    top: 30px;
  }
  .subelement-popup-input .input-status {
    margin: 5px 0 0 0;
    font-size: 11px;
    min-height: 35px;
    width: 200px;
    padding: 5px;
  }
  .subelement-popup-input button {
    margin: 8px 0 0 0;
    width: 80px;
    height: 25px;
  }
}

@media screen and (max-width: 720px) {
  .content {
    margin: 15px 15px;
  }
  .main__element {
    margin: 15px 0 0 0;
  }
  .main__element .bold {
    font-size: 18px;
  }
  .main__element-status-text {
    margin: 10px 0 0 0;
  }
  .main__element .topic-name {
    font-size: 14px;
  }
  .subelement__first {
    width: 140px;
  }
  .subelement__second {
    width: 180px;
  }
  .subelement__second input {
    width: 190px;
    height: 25px;
    padding: 0 0 0 10px;
  }
  .subelement__second-status p {
    margin: 4px 0 0 0;
    font-size: 8px;
  }
  .subelement__third {
    width: 160px;
    margin: 0 0 0 12px;
  }
  .subelement__third p {
    font-size: 10px;
    margin: 0 0 0 5px;
    line-height: 15px;
  }
  .subelement-popup-input .input-status {
    margin: 5px 0 0 0;
    min-height: 30px;
    width: 150px;
  }
  .subelement-change-status-button {
    font-size: 14px;
  }
  .subelement-change-status-button span {
    font-size: 14px;
  }
  .container .agreement-text {
    font-size: 12px;
  }
}

@media screen and (max-width: 545px) {
  .main__element {
    margin: 13px 0 0 0;
  }
  .main__element .bold {
    font-size: 11px;
  }
  .main__element-status-text {
    margin: 8px 0 0 0;
  }
  .main__element .topic-name {
    font-size: 9px;
  }
  .subelement__first {
    width: 80px;
  }
  .subelement__second {
    width: 120px;
  }
  .subelement__second input {
    width: 120px;
    height: 18px;
    padding: 0 0 0 6px;
  }
  .subelement__second .select__toggle {
    font-size: 8px;
    line-height: 10px;
  }
  .subelement__second .select__toggle::after {
    width: 0.5rem;
    height: 0.5rem;
  }
  .subelement__third {
    width: 90px;
    margin: 0 0 0 2px;
  }
  .subelement__third p {
    font-size: 6px;
    line-height: 8px;
  }
  .subelement__third .up-time-log {
    margin: 4px 0 0 5px;
  }
  .subelement-change-status-button {
    font-size: 10px;
  }
  .subelement-change-status-button span {
    font-size: 10px;
  }
  .subelement-popup-input {
    top: 15px;
    left: 5px;
  }
  .subelement-popup-input .input-status {
    margin: 5px 0 0 0;
    font-size: 7px;
    min-height: 30px;
    width: 95px;
    padding: 3px;
  }
  .subelement-popup-input button {
    font-size: 10px;
    margin: 5px 0 0 0;
    width: 60px;
    height: 15px;
  }
  .container {
    padding-left: 25px;
  }
  .container .agreement-text {
    font-size: 8px;
  }
  .button-submit-changer {
    width: 80px;
    height: 25px;
    font-size: 12px;
  }
  .button-submit-changer span {
    font-size: 14px;
  }
}
