.clearfix:after, .bottom-nav:after {
  display: table;
  clear: both;
  content: "";
}
*, *:before, *:after{
  border-radius: 0!important;
}
@font-face {
  font-family: "TitilliumWeb";
  font-weight: 900;
  font-style: normal;
  src: url("../fonts/TitilliumWeb-Black.ttf");
}

@font-face {
  font-family: "TitilliumWeb";
  font-weight: 700;
  font-style: normal;
  src: url("../fonts/TitilliumWeb-Bold.ttf");
}

@font-face {
  font-family: "TitilliumWeb";
  font-weight: 700;
  font-style: italic;
  src: url("../fonts/TitilliumWeb-BoldItalic.ttf");
}

@font-face {
  font-family: "TitilliumWeb";
  font-weight: 200;
  font-style: normal;
  src: url("../fonts/TitilliumWeb-ExtraLight.ttf");
}

@font-face {
  font-family: "TitilliumWeb";
  font-weight: 200;
  font-style: italic;
  src: url("../fonts/TitilliumWeb-ExtraLightItalic.ttf");
}

@font-face {
  font-family: "TitilliumWeb";
  font-weight: normal;
  font-style: italic;
  src: url("../fonts/TitilliumWeb-Italic.ttf");
}

@font-face {
  font-family: "TitilliumWeb";
  font-weight: 300;
  font-style: normal;
  src: url("../fonts/TitilliumWeb-Light.ttf");
}

@font-face {
  font-family: "TitilliumWeb";
  font-weight: 300;
  font-style: italic;
  src: url("../fonts/TitilliumWeb-LightItalic.ttf");
}

@font-face {
  font-family: "TitilliumWeb";
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/TitilliumWeb-Regular.ttf");
}

@font-face {
  font-family: "TitilliumWeb";
  font-weight: 600;
  font-style: normal;
  src: url("../fonts/TitilliumWeb-SemiBold.ttf");
}

@font-face {
  font-family: "TitilliumWeb";
  font-weight: 600;
  font-style: italic;
  src: url("../fonts/TitilliumWeb-SemiBoldItalic.ttf");
}

body {
  color: #000000;
}
 
a {  
  color: #000000;
}


.wrapper {
  width: 100%;
  max-width: 768px;
  margin: 0 auto; 
  padding: 50px;
  background-color: #fff;
  font-family: "TitilliumWeb", sans-serif; 
  position: relative;
  height: 100%;
  overflow-y: scroll;
}
.wrapper.login-page{
  overflow: visible;
  height: auto;
}
.wrapper.wrapper__index {
  overflow: auto;
}
.wrapper__index {
  background-color: rgba(0,0,0,0.3);
  /*background-image: url(../img/bg-clear.png);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;*/
  color: #fff;
}
.global-wrapper{
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/lowres_NY.jpeg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  left: 0;
  z-index: -1;
  filter: blur(2px);
}

.logo {
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
}

.ui.header {
  padding: 30px 0;
}

.town {
  width: 100%;
  max-width: 485px;
  margin: 0 auto;
  margin-top: 190px;
}

@media screen and (max-width: 500px) {
  .town {
    margin-top: 80px;
  }
}

.bottom-nav {
  margin-top: 280px;
}

@media screen and (max-width: 500px) {
  .bottom-nav {
    margin-top: 150px;
  }
}

.setting.icon, .power.icon, .sitemap.icon {
  font-size: 40px;
}


@media screen and (max-width: 500px) {
  .setting.icon, .power.icon {
    font-size: 30px;
  }
}
.left {
  float: left;
  width: 180px;
}
.right {
  float: right;
  width: 120px;
}

@media screen and (max-width: 500px) {
  .right {
    width: 130px;
  }
  .left {
    float: left;
    width: 130px;
  }
}

.sidebar.icon {
  font-size: 30px; 
  float: left;
  margin-top: 0px;
}

@media screen and (max-width: 500px) {
  .sidebar.icon {
    font-size: 25px;
  }
}

.add.user.icon {
  font-size: 50px; 
  float: right;
}

@media screen and (max-width: 500px) {
  .add.user.icon {
    font-size: 40px;
  }
}

.logo-2 {
  margin: 0 auto;
}

.ui.big.input.search {
  margin: 40px 0;
}

.telegram.icon {
  font-size: 20px;
}

hr {
  width: 30%;
  margin: 50px auto;
}
.list-table tr {
  cursor: pointer;
}
.agents-list td {
  cursor: pointer;
}
.users i {
  display: inline-block!important;
}
.users {
  margin-left: 5px;
}
.users > div {
  height: 47px;
}
.users {
  width: 200px;
}

.login-page .logo-2 {
  margin-top: 75px;
  margin-bottom: 200px;
}

.login-page .field  {
  margin-bottom: 30px !important;
}


.field label {
  font-size: 22px !important;
  margin-bottom: 15px !important;
  font-family: "TitilliumWeb";
}

.ui.form .field.field input{
  border: 3px solid #000 !important;
  border-radius: 0;
  height: 59.7px !important;
}

.ui.form textarea:not([rows]) {
  border: 3px solid #000 !important;
  border-radius: 0;
  box-shadow: none !important;
}
.ui.form textarea:not([rows]):focus {
  border: 3px solid #ccc !important;
  border-radius: 0;
}
.ui.form textarea:not([rows]):hover {
  border: 3px solid #ccc !important;
  border-radius: 0;
}

.login-page .ui.secondary.button {
  background: #ef1616;
  border-radius: 0;
  font-size: 28px;
  width: 185px;
  height: 56px;
  line-height: 56px;
  padding: 0;
  box-sizing: border-box;
  font-family: "TitilliumWeb";
  font-weight: 600;
  margin-top: 50px;
}

.login-page .ui.secondary.button:hover {
  background: #f33232;
}

.wrapper__index header {
  height: calc(100% - 125px)
}
.main-page__intro-text{
  display: flex;
  flex-flow: column;
  align-items: center;
  height: 100%;
  justify-content: center;
}
.main-page__intro-text h1{
  font-weight: 600;
  font-size: 50px;
  text-shadow: 2px 1px 1px #000;
}
.main-page__intro-text h2{
  font-weight: normal;
  font-size: 30px;
  text-shadow: 2px 1px 1px #000;
}

.nav{
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 125px;

  display:  flex;
  flex-flow: row;
  justify-content: space-around;
      width: 100%;
    max-width: 768px;
    transform: translateX(-50px);
}
.nav__button {
  border-top: 12px solid #000;
  background: #f1f0f1;
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;

  cursor: pointer;
}
.nav__button.active, .nav__button:hover  {
  background: #fff;
  border-top: 12px solid transparent;  
}
.nav__button.now{
  border-top: transparent !important;
}
.nav__button.disabled{
  pointer-events: none;
  position: relative;
}
.nav__button.disabled-full{
  opacity: 0;
  pointer-events: none;
}
.nav__button.disabled::before{
  content: "";
  background: rgba(255, 255, 255, 0.45);
  width: 100%;
  height: 100%;
  position: absolute;
}
@media (min-width: 1024px){
  .nav {
    position: fixed;
    width: 125px;
    width: 125px;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    height: 475px;
    max-width: 768px;
    transform: translateX(-50px);
    top: 0;
    left: calc(50% + 434px);
  }
  .nav__button {
    border-top: transparent;
    border-left: 10px solid #000;
    background: #f1f0f1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    cursor: pointer;
    height: 100%;
  }
  .nav__button.active, .nav__button:hover  {
    border-top: transparent;
    border-left: 10px solid transparent;  
  }
  .nav__button.now{
    border-top: transparent !important;
    border-left: transparent !important;
  }
  main {
    margin-bottom: 0 !important
  }
}

.nav__button.active .nav__button--icon, .nav__button:hover .nav__button--icon{
  opacity: 0.8;
}
.nav__button:active{
  background: #ef1616;
  color: #fff;
}    
.nav__button:active .nav__button--icon {
  filter: invert(1);
}
.nav__button:active .nav__button--text {
  color: #fff;
}

.nav__button--icon{
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; 
}
.nav__button--text{
  margin-top: 10px;
  font-weight: normal;
  font-style: normal;
  font-size: 15.25px;
  color: #8d8b8c;
}
.nav__button--icon-login{
  background-image: url("../img/icon/login.png"); 
}

.nav__button--icon-list{
  background-image: url("../img/icon/list.png"); 
}

.nav__button--icon-settings{
  background-image: url("../img/icon/settings.png"); 
}

.nav__button--icon-new_contact{
  background-image: url("../img/icon/new_contact.png"); 
}
.wrapper:not(.add-page) .nav__button.nav__button--new-contact:last-child{
  background: #ef1616
}
.wrapper:not(.add-page)  .nav__button.nav__button--new-contact:last-child .nav__button--text{
  color: #fff;
}
.wrapper:not(.add-page) .nav__button.nav__button--new-contact:last-child .nav__button--icon{
  filter: invert(100%);
}


.ui.selection.dropdown:focus{
  border-radius: 0;
  border-color: #ccc; 
}

.ui.header:last-child{
  font-size: 30px;
  text-transform: uppercase;
}
.ui.selection.dropdown:not(.multiple), .ui.selection.active.dropdown:not(.multiple):hover {
  width: 100%;
  font-size: 22px;
  background: #fff;
  height: 55px;
  color: #000;
  font-weight: normal;
  padding: 0 18px;
  padding-right: 30px;
  line-height: 55px;
  border: 3px #000 solid;
  border-radius: 0;
}
.ui.selection.active.dropdown {
  border-radius: 0;
}

.ui.dropdown>.dropdown.icon {
  float: right;
  color: #000;
  opacity: 1;
  font-size: 22px;
  line-height: 55px;
  position: absolute;
  top: 12px;
  right: 15px;
}
.ui.dropdown.button > .dropdown.icon {
  color: #fff !important;
  line-height: normal;
  top: calc(50% - 10px);
}
.ui.form .field>.selection.dropdown>.dropdown.icon{
  /*position: absolute;
  top: 0px;
  right: 15px;*/
  float: right;
  color: #fff;
  opacity: 1;
  font-size: 22px;
  /* position: absolute; */
  /* top: 50%; */
  line-height: auto;
  padding: 0;
  position: absolute;
  top: calc(50% + 5px);
  right: 40px;
}
.ui.form .field>.selection.dropdown.visible>.dropdown.icon{
  transform: rotate(180deg);
}

.ui.floating.dropdown>.menu {
  margin-top: 0 !important;
  border: 3px solid #f1f0f1!important;
  box-shadow: none!important;
  width: 100% !important;
  border-radius: 0 !important;
}

.ui.dropdown .menu>.item {
  background: #fff;
  font-size: 22px !important;
  color: rgba(35, 31, 32, 0.6) !important;
  font-weight: normal;
}

.ui.dropdown .menu>.item:nth-child(2n-1) {
  background: #f1f0f1;
}
.ui.selection.dropdown .menu>.item{
  border-top: 0;
}
.ui.selection.active.dropdown:hover .menu{
  box-shadow: none;
  border: none;
}
.ui.selection.active.dropdown .menu{
  border-color: #ccc;
  border-radius: 0;
}
.dark-wrapper{
  background: #000;
  padding: 50px;
}
.ui.form .dark-wrapper .field>label{
  color: #fff;
}
.ui.form .field>label{
  font-weight: 500;
}


.logo-2 {
  margin-top: 10px;
}

.header {
  font-family: "TitilliumWeb";
  font-size: 30px !important;
  text-transform: uppercase;
  margin-bottom: 20px !important;

}

label {
  font-family: "TitilliumWeb";
  font-size: 22px !important;
  margin-bottom: 15px !important;
}

input {
  border-radius: 0 !important;
  border: 3px solid #000 !important;
  font-size: 22px !important;
  height: 55px !important;
  margin-bottom: 30px !important;
}

textarea {
  border-radius: 0 !important;
  border: 3px solid #000 !important;
  font-size: 22px !important;
  margin-bottom: 30px !important;
}

.selection.dropdown:not(.multiple) {
  border-radius: 0 !important;
  border: 3px solid #000 !important;
  font-size: 22px !important;
  height: 55px !important;
  margin-bottom: 30px !important;
}
.selection.dropdown.multiple{
  border-radius: 0 !important;
  border: 3px solid #000 !important;
  font-size: 22px !important;
  
  margin-bottom: 30px !important;
}
.dropdown .icon {
  color: #000!important;
  opacity: 1!important;
}

hr {
  width: 100%;
  border: 0;
  margin: 30px 0 40px 0;
  border-bottom: 1px dashed #ccc;
}

.fields-wrap {
  background: #000;
  padding: 50px;
  padding-bottom: 30px;
  margin-top: 60px;
}

.fields-wrap label {
  color: #fff !important;
  font-weight: normal !important;
}

.fields-wrap .field{
  margin-bottom: 40px !important;
}

button {
  margin-top: 80px !important;
  width: 240px !important;
  height: 60px !important;
  border-radius: 0 !important;
  background-color: #ef1616 !important; 
  font-size: 28px !important; 
  padding: 0 !important; 
  margin-bottom: 20px !important; 

}

.checkbox-wrap {
  margin-top: 60px !important;
}

.ui.checkbox label:before {
  width: 38px !important; 
  height: 38px !important; 
  border: 3px solid #2f2e2f !important; 
}

 .ui.checkbox input:checked~label:before {
  border: 3px solid #000 !important;
}


 .ui.checkbox input:checked~label:after {
  background: url(../img/check.png) no-repeat 50% !important;
  content: "" !important;
  width: 38px !important;
  height: 38px !important;
}

.inline.field {
  background: #f1f0f1 !important;
  margin: 0 auto !important;
  margin-bottom: 5px !important;
  max-width: 480px !important;
  width: 100% !important;
  padding: 27px !important;
  padding-left: 35px !important;

}

.inline.field label {
  font-family: "TitilliumWeb";
  font-size: 22px !important;
  padding-left: 80px !important;
  padding-top: 10px;

}

.inline.field.active {
  background: #000 !important;
  color: #fff !important;
  max-width: 480px !important;
  width: 100% !important;
}

.inline.field.active label{
  color: #fff !important;
}

.wrapper .ui.big.input.search {
  max-width: 625px;
  width: 100%;
}

.wrapper .ui.icon.input input {
  width: 58%;
  border-radius: 0;
  border: 2px solid #000;
  font-size: 22px;
  height: 55px;
}

.wrapper .users {
  width: 42%;
  margin-left: 0;
  
}

.wrapper .logo-2 {
  margin-bottom: 30px;
}

.wrapper  .ui.large.button {
  width: 100%;
  font-size: 22px;
  border-radius: 0;
  background: #000;
  height: 55px;
  color: #fff;
  font-weight: normal;
  padding: 0 18px;
  padding-right: 30px;
  line-height: 55px;
}

.wrapper  .ui.dropdown:not(.button) > .dropdown.icon {
  float: right;
  color: #fff;
  opacity: 1;
  font-size: 22px;
  /* position: absolute; */
  /* top: 50%; */
  line-height: auto;
  padding: 0;
  position: absolute;
  top: calc(50% + 5px);
  right: 40px;
  /*
  float: right;
  color: #fff;
  opacity: 1;
  font-size: 22px;
  line-height: 55px;
  */
}

.wrapper .ui.floating.dropdown>.menu {
  margin-top: 0 !important;
  border: 3px solid #f1f0f1!important;
  box-shadow: none!important;
  width: auto !important;
  border-radius: 0 !important;


}

.wrapper .ui.dropdown .menu>.item {
  background: #fff;
  font-size: 22px !important;
  color: rgba(35, 31, 32, 0.6) !important;
  font-weight: normal;
}

.wrapper .ui.dropdown .menu>.item:nth-child(2n-1) {
  background: #f1f0f1;

}

.wrapper .list-table {
  border: none;
}

.wrapper table {
  max-width: 620px;
  width: 100%;
  margin: 20px !important;
}

.wrapper .list-table tr td {
  border: none !important;
  border-bottom: 1px solid #000 !important;
}

.wrapper .left-td {
  font-family: "TitilliumWeb";
  font-size: 22px;
  line-height: 36px;
  padding-left: 1.5em !important;
}

.wrapper .left-td .decor {
  font-weight: 600;
}
.wrapper .left-td .decor-small {
  font-size: 0.8em;
}
.wrapper .left-td .decor-small a:hover {
  color: #000;
  text-decoration: underline;
}
.wrapper .right-td {
  vertical-align: middle;
  width: 140px;
}

.wrapper .right-td .li-icon {
  width: 43px;
  height: 43px;
  display: block;
  margin: 0 auto;
  background: url(../img/list-ico.png) no-repeat 50%;
}


.wrapper .paginator {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 120px;
}

.wrapper .paginator li {
  display: inline-block;
  margin: 0 5px;
}

.wrapper .paginator li.between {
  opacity: 0.6;
}
.wrapper .paginator li a {
  font-family: "TitilliumWeb";
  opacity: 0.6;
  font-size: 17px;
  text-align: center;
  padding: 0 5px;
  cursor: pointer;
}

.wrapper .paginator li a:hover {
  opacity: 1;
  color: #000;
}

.wrapper .paginator li a.active {
  opacity: 1;
  border-bottom: 2px solid #000;
}

.wrapper .paginator li a.prev {
  display: inline-block;
  border-radius: 50%;
  background: #e6e7e8;
  width: 30px;
  height: 30px;
  opacity: 1;
  font-size: 15px;
  padding-top: 0px;
  line-height: 25px;
  padding: 0;
  text-align: center;
  margin-right: 5px;
}

.wrapper .paginator li a.next {
  display: inline-block;
  border-radius: 50%;
  background: #e6e7e8;
  width: 30px;
  height: 30px;
  opacity: 1;
  font-size: 15px;
  padding-top: 0px;
  line-height: 26px;
  padding: 0;
  text-align: center;
  margin-left: 5px;
}

.wrapper .paginator li a.next:hover,
.wrapper .paginator li a.prev:hover {
  background: #000;
  color: #fff;
}

.wrapper .bottom-nav {
  margin-top: 80px;
}
.list-search-form .input{
  margin:auto;
}
.remove.icon{
  height: 55px!important; 
}
main{
  margin-bottom: 100px 
}
.disabled{
  pointer-events: none;

}
.admin-href a{
  font-size: 22px;
  text-decoration: underline
}
.admin-href a.active-link{
  pointer-events: none;
  text-decoration: none;
  font-weight: bold;
}
a.ui.massive.secondary.button{
  background-color: #ef1616;
}

.list-table .pencil.alternate.icon {
  font-size: 2.8em
}
.list-page .list-search-form {
  margin-bottom: 0 !important;
}
.del-btn {
  text-align: center;
  color: red;
  font-size: 20px;
  text-decoration: underline;
  margin-bottom: 20px; 
}
.del-btn a {
  color: red;
}
.del-btn:hover a {
  text-decoration: none;
}
.list-search-form__container.ui.page.grid {
  padding-right: 0px;
  padding-left: 0px;
}
.list-search-form__container .list-search-form .input {
  width: 100%;
}
.list-table .right-td .pencil {
  margin-top: 20px;
}