body {
    margin: 0;
    padding: 0;
}

.success {
    font-weight: bold;
    font-size: 30px;
    color: #fbba00;
}
.success2 {
    color: #18e815;
}

.error {
    color: red;
}
.error2 {
    color: red;
}

.standartButton {
    height: 25px;
    width: 120px;
}

.standartInput {
    height: 30px;
    width: 300px;
}

.standartSelect {
    height: 30px;
    width: 300px;
}

.standartTextArea {
    height: 100px;
    width: 300px;
}

.longButton {
    height: 25px;
}

hr {
    margin-left: -5px;
}

#wrongAuth {
    color: #8f1f1d;
    font-weight: bold;
    margin: 15px 10px 5px 10px;
    text-align: center;
}

.max_width {
	max-width: 500px;
}

.max_width2 {
    max-width: 50%;
    width: 100%;
}

.max_width_name {
	max-width: 10px;
}

.select_height {
	height: 28px;
}

.menu_font li a {
	font-size: 16px;
}

.table_head {
	background: black !important;
	color: white;
}

.table_head th {
	font-size: 16px;
}

#margin_top {
	margin-top: 15px;
}

/* раскрашивание строк таблицы */

.rowGreen {
    background: rgb(133, 248, 133)!important;
}

.rowRed {
    background: rgb(255, 129, 129)!important;
}

.rowYellow {
    background: rgb(255, 255, 125)!important;
}

.main-head {
    height: 150px;
    background: #FFF;
}




.login-main-text {
    text-align: center;
    margin-top: 20%;
    padding: 60px;
    color: #fff;
    /* background: #fff; */
}

.login-main-text h2 {
    font-weight: 300;
}

@media screen and (max-height: 450px) {
}

@media screen and (max-width: 450px) {
    .login-form {
        margin-top: 10%;
    }
    .register-form {
        margin-top: 10%;
    }
}

@media (max-width: 576px) {
    .login-main-text {
        padding: 20px;
        margin-top: 0;
    }
}

@media screen and (min-width: 768px) {
    .register-form {
        margin-top: 20%;
    }
}

.btn-black {
    background-color: #fbba00 !important;
    color: #fff;
    min-width: 150px;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

.btn-black:hover {
    opacity: 0.8;
    color: #fff !important;
}

table.interactiveTable th,
td {
    font-size: 0.9rem!important;
    color: #000;
}

table.interactiveTable tr:hover {
    /*background:#d0eeec !important;*/
    cursor: pointer;
}

table.interactiveTable tr.active {
    background: #5cc4ef!important;
}

table.interactiveTable input[type="radio"] {
    display: none;
}

label.required:after {
    content: "*";
    color: red;
}

div.tableWrapper {
    overflow-y: auto;
}


/*	11.03.2019	*/

.emptyRow {
    background: white;
    border: none;
}

.next-call {
    text-decoration: underline;
    color: #007bff;
    width: 90%;
}

.next-call:hover {
    text-decoration: underline;
    color: #007bffca;
    cursor: pointer;
}

#content-wrapper {
    min-height: 100vh;
}

.topbarmenu {
    overflow-x: scroll;
    overflow-y: hidden;
    height: 2.375rem;
    font-size: 0.9rem;
}

.topbarmenu::-webkit-scrollbar {
    display: none;
}

.topbarmenu a {
    font-size: 0.9rem;
}

.markedItem {
    background: #c9d2ff !important;
}

.red-phone-state {
    color: red !important;
    font-weight: bold;
}

.green-phone-state {
    color: green !important;
    font-weight: bold;
}
.modal-full {
  min-width: 90%;
  margin: 0;
}

.modal-full .modal-content {
  min-height: 100vh;
}
.modal.left .modal-dialog,
.modal.right .modal-dialog {
  position: fixed;
  margin: auto;
  width: 320px;
  height: 100%;
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
  height: 100%;
  overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
  padding: 15px 15px 80px;
}

.modal.left .modal-dialog,
.modal.right .modal-dialog {
  position: fixed;
  margin: auto;
  width: 320px;
  height: 100%;
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
  height: 100%;
  overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
  padding: 15px 15px 80px;
}

/*Right*/
.modal.right.fade .modal-dialog {
  right: -320px;
  -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
  -o-transition: opacity 0.3s linear, right 0.3s ease-out;
  transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
  right: 0;
}

/* ----- MODAL STYLE ----- */
.modal-content {
  border-radius: 0;
  border: none;
}

.modal-header {
  border-bottom-color: #EEEEEE;
  background-color: #FAFAFA;
}

.main_foto {
	background: url(../images/main_foto.jpg);
	background-repeat: no-repeat;
	background-size: cover;
}
.main_foto img {
	text-align: center;
}

.three_column {
	margin-top: 15px;
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
	padding: 5px;
}
.three_column div {
	border: 2px solid red;
	border-radius: 10px;
	color: black;
	font-weight: bold;
	/* margin: 10px; */
	padding: 5px;
}
.three_column span {
	background: red;
	border-radius: 10px;
	color: white;
	display: inline-block;
	height: 20px;
	margin-left: 20px;
	text-align: center;
	/* position: relative; */
	/* right: 15px; */
	width: 70px;
}

.center {
	text-align: center;
}
.distance {
	display: inline-block;
	width: 300px;
}

.header_centre,
.header_right {
	display: inline-block;
}
.header_elements {
	width: 100%;
}

.item {
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #7C90B7;
    border-radius: 40px;
    max-width: 350px;
    height: 250px;
    width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.item h2 {
    margin-bottom: 20px;
}

.item a {
    margin-bottom: 10px;
}

.footer {
    margin-left: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.footer a {
    margin-right: 40px;
}

.employees div {
	/* border: 1px solid red; */
	display: inline-block;
	/* float: left; */
}

.employees_right_div {
	margin-left: 50px;
}

.employees {
	/* border: 1px solid green; */
	display: block;
	width: 100%;
}

.employees_photo {
	position: relative; top: -110px;
	/* margin-top: -100px; */
}

.delete_employee a {
	color: red;
	font-weight: bold;
}

/* .distance { */
	/* display: inline-block; */
	/* width: 75px; */
/* } */

/*.fix_width {*/
/*	width: 150px;*/
/*}*/

.fix_width-radio {
    width: 10px;
}


@media screen and (max-width: 450px) {
    .item a {
        margin-bottom: 5px;
    }

    .item h2 {
        margin-bottom: 5px;
    }
}



.correspondence {
	background: #ffffff;
	border: 1px solid rgba(54, 64, 74, 0.05);
	padding: 18px 18px 10px 18px;
	box-sizing: border-box;
	border-radius: 5px;
	margin-top: 20px;
	margin-bottom: 20px;
  max-width: 1100px;

}

.correspondence-message {
	background: #f4f8fb;
	border-radius: 3px;
	padding: 12px;
	font-size: 13px;
	position: relative;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	margin-bottom: 24px;
  padding-right: 10px;
}

.correspondence-message-ava {
	float: left;
	margin-right: 8px;
	border-radius: 50%;
	overflow: hidden;
}
.standartButton {
    background-color: #5d9cec;
    border: 1px solid #5d9cec;
    color: #fff;
    border-radius: 3px;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
label.uploadbutton .input {
    width: 300px;
    display: inline-block;
    background-color: #FFFFFF;
    border: 1px solid #E3E3E3;
    max-width: 100%;
    box-sizing: border-box;
}
label.uploadbutton .button {
    width: 100px;
    text-align: center;
    background: #5d9cec;
    transition: background 0.2s;
    border: 1px solid rgba(0,0,0,0.1);
    color: #fff;
    display: inline-block;
}
#chatdiv{
  max-height: 460px;
}
.add-message {
	/* float: right; */
	width: 48%;
	margin-bottom: 0;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	height: 36px;
	/* margin-top: 30px; */
}

.archive form {
	margin-bottom: 0;
}
.full {
	width: 100% !important;
}

.correspondence-message-ava {
    float: left;
    margin-right: 8px;
    border-radius: 50%;
    overflow: hidden;
}
.leftSide {
    float: left;
    clear: both;
      display: block;
      text-align: left;
      margin-left: 0px !important;
margin-right: 0px !important;
}
.rightSide {
    float: right;
    clear: both;
    text-align: left;
    display: block;
    margin-left: 0px !important;
margin-right: 0px !important;
}

.standartTextArea {
	float: left;
	width: 76%;
	padding: 10px;
}

@media (max-width: 767px) {
	.employees .employees_photo {
		display: block;
		top: unset;
		text-align: center;
	}
	.employees .employees_right_div {
		margin-left: 0;
		width: 100%;
	}
}

@media (max-width: 767px) and (min-width: 577px) { 
	.login-main-text {
		padding-left: 10px;
	}

	.login-main-text img {
		max-width: 95px;
	}
}

@media (max-width: 576px) {
	.footer a:last-child {
		display: block;
		margin-right: 0;
		margin-left: 102px;
	}
}

@media (max-width: 400px) {
	.footer {
		margin-left: 0;
	}
}
