/* ************  Отправка СМС  ************ */

button {
    cursor: pointer;
}
.header-block {
    background-color: white;
    margin-left: -20px;
    padding-bottom: 10px;
}
.inform-user {
    display: flex;
    justify-content: space-around;

}
.connect-club, .statistic-data {
    text-align: center;
}

.not-connecting-account, .not-statistic-data {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-45%, -50%);
}

.header-block p {
    font-size: 14px;
}
.header-block .connect-account{
    height: 30px;
    margin-top: 10px;
}

h3 {
    margin-top: 0;
}

#form_message, #form_settings {
    width: 1200px;
    margin: 40px auto;
    background-color: white;
    padding: 10px 0;
}
.form-group {
    display: flex;
}
#alpha-name {
    display: block;
    margin: 0 auto;
}
select, input, textarea {
    width: 320px;
}

select, input {
    height: 40px;
}

textarea {
    height: 60px;
}

label {
    float: left;
    font-size: 16px;
    margin-bottom: 5px;
}
.name-form {
    text-align: center;
    font-size: 16px;
}
#left-side, #right-side {
    text-align: center;
    width: 600px;
}
.select-alpha-name, .text-sms, .text-viber, .phone-number, .setting-login, .setting-pwd, .setting-token {
    width: 320px;
    margin: 25px auto;
}
.translit {
    cursor: pointer;
}
.translit:hover {
    text-decoration: underline;
}
.send, .save {
    margin-top: 50px;
}

/* ************  Статистика  ************ */
.statistic {
    margin-left: -20px;
    display: flex;
    justify-content: space-around;
}

.select-type-mess {
    width: 100px;
    height: 30px;
}

.filter-block {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.label-type-message {
    margin: 5px;
}

.statistic h3 {
    text-align: center;
}

.statistic-sms, .statistic-viber {
    background-color: white;
    margin-top: 20px;
    padding: 10px;
    width: 1200px;
}

.thead, .row-statistic {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid black;
}
.thead span, .row-statistic span {
    font-size: 14px;
    width: 200px;
    text-align: center;
    margin: auto 5px;
    padding: 10px 0;
}

.full-statistic {
    font-size: 12px;
    margin: 0;
}

.update-statistic {
    display: block;
    width: 200px;
    margin: 10px auto;
    padding: 5px;
}

/* ************  Настройки  ************ */
.error {
    margin: 0;
    text-align: left;
    color: red;
}
.popup-fade {
	display: none;
}
.popup-fade:before {
	content: '';
	background: #000;
	position: fixed; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	opacity: 0.7;
	z-index: 9999;
}
.popup {
	position: fixed;
	top: 45%;
	left: 50%;
	padding: 20px;
	width: 360px;
	margin-left: -200px;	
	border-radius: 4px; 
	z-index: 99999;
    opacity: 1;	
    text-align: center;
}
.popup-message, .popup-settings {
    background: #fff;

}
.popup p {
    font-size: 14px;
}
.popup-close {
    display: block;
    margin: 0 auto;
}

/* SPINNER */
.loader {
    margin: 0px auto;
    font-size: 15px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load5 1.1s infinite ease;
    animation: load5 1.1s infinite ease;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
  }
  @-webkit-keyframes load5 {
    0%,
    100% {
      box-shadow: 0em -2.6em 0em 0em #d9c4c4, 1.8em -1.8em 0 0em rgba(217,196,196, 0.2), 2.5em 0em 0 0em rgba(217,196,196, 0.2), 1.75em 1.75em 0 0em rgba(217,196,196, 0.2), 0em 2.5em 0 0em rgba(217,196,196, 0.2), -1.8em 1.8em 0 0em rgba(217,196,196, 0.2), -2.6em 0em 0 0em rgba(217,196,196, 0.5), -1.8em -1.8em 0 0em rgba(217,196,196, 0.7);
    }
    12.5% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.7), 1.8em -1.8em 0 0em #d9c4c4, 2.5em 0em 0 0em rgba(217,196,196, 0.2), 1.75em 1.75em 0 0em rgba(217,196,196, 0.2), 0em 2.5em 0 0em rgba(217,196,196, 0.2), -1.8em 1.8em 0 0em rgba(217,196,196, 0.2), -2.6em 0em 0 0em rgba(217,196,196, 0.2), -1.8em -1.8em 0 0em rgba(217,196,196, 0.5);
    }
    25% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.5), 1.8em -1.8em 0 0em rgba(217,196,196, 0.7), 2.5em 0em 0 0em #d9c4c4, 1.75em 1.75em 0 0em rgba(217,196,196, 0.2), 0em 2.5em 0 0em rgba(217,196,196, 0.2), -1.8em 1.8em 0 0em rgba(217,196,196, 0.2), -2.6em 0em 0 0em rgba(217,196,196, 0.2), -1.8em -1.8em 0 0em rgba(217,196,196, 0.2);
    }
    37.5% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.2), 1.8em -1.8em 0 0em rgba(217,196,196, 0.5), 2.5em 0em 0 0em rgba(217,196,196, 0.7), 1.75em 1.75em 0 0em #d9c4c4, 0em 2.5em 0 0em rgba(217,196,196, 0.2), -1.8em 1.8em 0 0em rgba(217,196,196, 0.2), -2.6em 0em 0 0em rgba(217,196,196, 0.2), -1.8em -1.8em 0 0em rgba(217,196,196, 0.2);
    }
    50% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.2), 1.8em -1.8em 0 0em rgba(217,196,196, 0.2), 2.5em 0em 0 0em rgba(217,196,196, 0.5), 1.75em 1.75em 0 0em rgba(217,196,196, 0.7), 0em 2.5em 0 0em #d9c4c4, -1.8em 1.8em 0 0em rgba(217,196,196, 0.2), -2.6em 0em 0 0em rgba(217,196,196, 0.2), -1.8em -1.8em 0 0em rgba(217,196,196, 0.2);
    }
    62.5% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.2), 1.8em -1.8em 0 0em rgba(217,196,196, 0.2), 2.5em 0em 0 0em rgba(217,196,196, 0.2), 1.75em 1.75em 0 0em rgba(217,196,196, 0.5), 0em 2.5em 0 0em rgba(217,196,196, 0.7), -1.8em 1.8em 0 0em #d9c4c4, -2.6em 0em 0 0em rgba(217,196,196, 0.2), -1.8em -1.8em 0 0em rgba(217,196,196, 0.2);
    }
    75% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.2), 1.8em -1.8em 0 0em rgba(217,196,196, 0.2), 2.5em 0em 0 0em rgba(217,196,196, 0.2), 1.75em 1.75em 0 0em rgba(217,196,196, 0.2), 0em 2.5em 0 0em rgba(217,196,196, 0.5), -1.8em 1.8em 0 0em rgba(217,196,196, 0.7), -2.6em 0em 0 0em #d9c4c4, -1.8em -1.8em 0 0em rgba(217,196,196, 0.2);
    }
    87.5% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.2), 1.8em -1.8em 0 0em rgba(217,196,196, 0.2), 2.5em 0em 0 0em rgba(217,196,196, 0.2), 1.75em 1.75em 0 0em rgba(217,196,196, 0.2), 0em 2.5em 0 0em rgba(217,196,196, 0.2), -1.8em 1.8em 0 0em rgba(217,196,196, 0.5), -2.6em 0em 0 0em rgba(217,196,196, 0.7), -1.8em -1.8em 0 0em #d9c4c4;
    }
  }
  @keyframes load5 {
    0%,
    100% {
      box-shadow: 0em -2.6em 0em 0em #d9c4c4, 1.8em -1.8em 0 0em rgba(217,196,196, 0.2), 2.5em 0em 0 0em rgba(217,196,196, 0.2), 1.75em 1.75em 0 0em rgba(217,196,196, 0.2), 0em 2.5em 0 0em rgba(217,196,196, 0.2), -1.8em 1.8em 0 0em rgba(217,196,196, 0.2), -2.6em 0em 0 0em rgba(217,196,196, 0.5), -1.8em -1.8em 0 0em rgba(217,196,196, 0.7);
    }
    12.5% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.7), 1.8em -1.8em 0 0em #d9c4c4, 2.5em 0em 0 0em rgba(217,196,196, 0.2), 1.75em 1.75em 0 0em rgba(217,196,196, 0.2), 0em 2.5em 0 0em rgba(217,196,196, 0.2), -1.8em 1.8em 0 0em rgba(217,196,196, 0.2), -2.6em 0em 0 0em rgba(217,196,196, 0.2), -1.8em -1.8em 0 0em rgba(217,196,196, 0.5);
    }
    25% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.5), 1.8em -1.8em 0 0em rgba(217,196,196, 0.7), 2.5em 0em 0 0em #d9c4c4, 1.75em 1.75em 0 0em rgba(217,196,196, 0.2), 0em 2.5em 0 0em rgba(217,196,196, 0.2), -1.8em 1.8em 0 0em rgba(217,196,196, 0.2), -2.6em 0em 0 0em rgba(217,196,196, 0.2), -1.8em -1.8em 0 0em rgba(217,196,196, 0.2);
    }
    37.5% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.2), 1.8em -1.8em 0 0em rgba(217,196,196, 0.5), 2.5em 0em 0 0em rgba(217,196,196, 0.7), 1.75em 1.75em 0 0em #d9c4c4, 0em 2.5em 0 0em rgba(217,196,196, 0.2), -1.8em 1.8em 0 0em rgba(217,196,196, 0.2), -2.6em 0em 0 0em rgba(217,196,196, 0.2), -1.8em -1.8em 0 0em rgba(217,196,196, 0.2);
    }
    50% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.2), 1.8em -1.8em 0 0em rgba(217,196,196, 0.2), 2.5em 0em 0 0em rgba(217,196,196, 0.5), 1.75em 1.75em 0 0em rgba(217,196,196, 0.7), 0em 2.5em 0 0em #d9c4c4, -1.8em 1.8em 0 0em rgba(217,196,196, 0.2), -2.6em 0em 0 0em rgba(217,196,196, 0.2), -1.8em -1.8em 0 0em rgba(217,196,196, 0.2);
    }
    62.5% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.2), 1.8em -1.8em 0 0em rgba(217,196,196, 0.2), 2.5em 0em 0 0em rgba(217,196,196, 0.2), 1.75em 1.75em 0 0em rgba(217,196,196, 0.5), 0em 2.5em 0 0em rgba(217,196,196, 0.7), -1.8em 1.8em 0 0em #d9c4c4, -2.6em 0em 0 0em rgba(217,196,196, 0.2), -1.8em -1.8em 0 0em rgba(217,196,196, 0.2);
    }
    75% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.2), 1.8em -1.8em 0 0em rgba(217,196,196, 0.2), 2.5em 0em 0 0em rgba(217,196,196, 0.2), 1.75em 1.75em 0 0em rgba(217,196,196, 0.2), 0em 2.5em 0 0em rgba(217,196,196, 0.5), -1.8em 1.8em 0 0em rgba(217,196,196, 0.7), -2.6em 0em 0 0em #d9c4c4, -1.8em -1.8em 0 0em rgba(217,196,196, 0.2);
    }
    87.5% {
      box-shadow: 0em -2.6em 0em 0em rgba(217,196,196, 0.2), 1.8em -1.8em 0 0em rgba(217,196,196, 0.2), 2.5em 0em 0 0em rgba(217,196,196, 0.2), 1.75em 1.75em 0 0em rgba(217,196,196, 0.2), 0em 2.5em 0 0em rgba(217,196,196, 0.2), -1.8em 1.8em 0 0em rgba(217,196,196, 0.5), -2.6em 0em 0 0em rgba(217,196,196, 0.7), -1.8em -1.8em 0 0em #d9c4c4;
    }
  }
  
  /* MEDIA QUERIES */
/* PHONES */
@media(max-width: 359px) {
  .statistic-block .table-statistic {
    max-width: 500px;
    width: 320px;
    margin-left: -10px;
  }
}
@media(max-width: 720px) {
  .header-block {
    padding-left: 10px;
    margin-left: -10px;
  }
  .header-block p {
    font-size: 12px;
  }
  .form {
    margin-left: -10px;
  }
  #form_message, #form_settings, .table-statistic {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

  }
  /* .statistic-block{
    margin-left: -10px;
  } */
  /* .table-statistic {
    max-width: 320px;
    width: 320px;
    margin-left: -10px;
  } */
  .form-group {
    display: block;
  }
  #left-side, #right-side {
    max-width: 320px;
    margin: 0 auto;
  }
  .select-alpha-name, .text-sms, .text-viber, .phone-number, .setting-login, .setting-pwd, .setting-token, #alpha-name, select, input, textarea {
    width: 200px;
  }
  .select-type-message .select-type-mess {
    min-height: 20px;
    padding: 0 5px;
  }
  .table-statistic tr th, .table-statistic tr td, .full-statistic {
    font-size: 10px;
  }
  .full-statistic {
    text-align: center;
  }
}

@media(min-width: 720.98px) and (max-width: 992px) {

  .form {
    margin-left: -20px;
  }
  #form_message, #form_settings, .table-statistic {
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

  }
  #left-side, #right-side {
    max-width: 320px;
    margin: 0 auto;
  }
  .select-alpha-name, .text-sms, .text-viber, .phone-number, .setting-login, .setting-pwd, .setting-token, #alpha-name, select, input, textarea {
    width: 200px;
  }
  .select-type-message .select-type-mess {
    min-height: 20px;
    padding: 0 5px;
  }
  .table-statistic tr th, .table-statistic tr td, .full-statistic {
    font-size: 10px;
  }
  .full-statistic {
    text-align: center;
  }
}

@media(min-width: 992.98px) and (max-width: 1400px) {
  #form_message, #form_settings, .table-statistic {
    /* max-width: 1100px; */
    width: 800px;
    margin-left: auto;
    margin-right: auto;

  }
  .form {
    margin-left: -10px;
  }
}

@media(min-width: 1200x) {
  .form {
    margin-left: -20px;
  }
}
