@charset "utf-8";
/* CSS Document */

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}



/*body {font-family: Arial, Helvetica, sans-serif;}*/
/*Применяем шрифт ROBOTO*/
.modal-content {
	font-family: 'Roboto', sans-serif; font-weight: 400; font-size: 14px;}

.loginField {
    background: url(/img/user.png) no-repeat 5px 50%;  /* Картинка для поля с паролем */
   }

.groupField {
    background: url(/img/group.png) no-repeat 5px 50%; /* Картинка для поля с паролем */
   }

.groupSearch {
    background: url(/img/search.png) no-repeat 5px 50%; /* Картинка для поля с паролем */
   }

.groupEmail {
    background: url(/img/email.png) no-repeat 5px 50%; /* Картинка для поля с паролем */
   }

.datainput {
    background: no-repeat 5px 50%;  /* поле с датой */
}

.searchField-fiz {
    background: url(/img/terr-logo4.png) no-repeat 5px 50%;  /* Картинка для поля с паролем */
}

.searchField-org {
    background: url(/img/terr-logo2.png) no-repeat 5px 50%;  /* Картинка для поля с паролем */
}

.passField {
    background: url(/img/lock.png) no-repeat 5px 50%; /* Картинка для поля с паролем */
}

.groupText {
    background: url(/img/mailtheme.png) no-repeat 5px 50%; /* Картинка для поля с паролем */
}

.groupTextarea {
/*    background: url(/img/textarea.png) no-repeat ;*/
	background-position: top 2px left 5px ;
	
	outline: none;
	-moz-appearance: none;
	
	overflow: auto;

/*	box-sizing: border-box;*/
	padding-left: 5px;

}




h4 {
	font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 18px; color: DimGray; margin: 20px 0;
}
				 						/*ПОЛЯ ВВОДА */
/* Full-width input fields */
input[type=text], input[type=password], input[type=search], input[type=email], input[type=date], input[type=time], input[type=number]  {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
		padding-left: 30px; /* Расстояние от левого края */
}

input[type=date] {
	font-family: 'Roboto', sans-serif; font-weight: 400; font-size: 15px;  color: DimGray;}

/*если поле некорректно заполнено в соответствии с pattern */
input:invalid {
/*			border: red solid 1px;*/
}

										/* *** */


/* Set a style for all buttons */
button, input[type=submit], input[type=reset]  {
/*  background-color: #04AA6D;*/
  background-color: #DFA94F;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
margin-bottom: auto;
  border: none;
  cursor: pointer;
  width: 100%;
		
}

button:hover, input[type=submit]:hover, input[type=reset]:hover {
  opacity: 0.8;
}

button:disabled, input[type=submit]:disabled {
    background: #F5F5F5;
    color : #C3C3C3;
}

button:active, input[type=submit]:active {
    background: #F5F5F5;
    color : #DFA94F;
}


/* Extra styles for the cancel button */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 24px 0 0px 0;
  position: relative;
}

img.avatar {
  width: 40%;
  border-radius: 50%;
}

.container {
  padding: 16px;
}

p.checkbox {
	display: flex;
	justify-content: center;
	
}

div.capture {
	display: flex;
	
	justify-content: space-between;
	align-items: center; 
	
}

.buttonEx {
	display: flex;
	justify-content: space-between;
	align-items: center; 
	
}

label.capture {
	margin-bottom: 0;
}

input.capture {
	display: flex;
	width: 90px;
	height: 28px;
}

label.psw {
	display: flex;
	justify-content: flex-end;
/*	text-transform: lowercase;*/
	white-space: pre; 
	
}

span.psw {
  float: right;
  padding: 16px;
}

/* The Modal (background) */
.modal, .modal1 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place fixed*/
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 60px;	
}

.modal_ter {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place fixed*/
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 100px;	
}


/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
/*  width: 40%;  Could be more or less, depending on screen size */
	width: 300px;
/*	height: 00px;*/
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 15px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}


/*ПЕРЕКЛЮЧАТЕЛЬ ОДЛ*/
/* Переключатель - коробка вокруг ползунка */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Скрыть флажок HTML по умолчанию */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Ползунок */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #DFA94F;
}

input:focus + .slider {
  box-shadow: 0 0 1px #DFA94F;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Закругленные ползунки */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


