.js-contractor-phone i {
	margin-right: 5px;
	cursor: pointer;
}

#JS-Telephony-FormComment {
	width: 100%;
	max-width: 500px;
}

.JS-Telephony-Call {
	position: relative;
	display: flex;
}

.JS-Telephony-Call .div.wrapper {
	position: relative;
	overflow: hidden;
}

.JS-Telephony-Call a.telephony-header-button {
	padding: 10px 10px;
}

.JS-Telephony-Call.active .JS-Telephony-Untreated-buttom {
	background-color: transparent !important;
}

.JS-Telephony-Call.active .JS-Telephony-Untreated-buttom:hover {
	background-color: transparent !important;
}

.JS-Telephony-Call .telephony-header-button .icon-phone {
	padding-right: 7px;
}

.JS-Telephony-Call.active .JS-Telephony-In-button.in-call {
	color: red;
	background-color: transparent;
}

.JS-Telephony-Call.active .JS-Telephony-In-button.in-call:hover {
	color: #fff;
	background-color: transparent;
}

.JS-Telephony-Call .JS-Telephony-In-button.in-call .icon-phone:before {
	display: inline;
}

.JS-Telephony-Call .JS-Telephony-In-button.in-call .icon-phone:after {
	content: '\f063';
	font-family: 'FontAwesome';
	font-style: normal;
	display: inline;
	font-size: 10pt;
	padding-left: 3px;
}

.JS-Telephony-Call.active .JS-Telephony-Out-button.current.active {
	color: green;
	background-color: transparent;
}

.JS-Telephony-Call.active .JS-Telephony-Out-button.current.active:hover {
	color: #fff;
	background-color: transparent;
}

.JS-Telephony-Call .JS-Telephony-Out-button.current.active .icon-phone:before {
	display: inline;
}

.JS-Telephony-Call .JS-Telephony-Out-button.current.active .icon-phone:after {
	content: '\f062';
	font-family: 'FontAwesome';
	font-style: normal;
	display: inline;
	font-size: 10pt;
	padding-left: 3px;
}

.JS-Telephony-Call .wrapper-info {
	overflow: hidden;
	position: relative;
	display: none;
}

.JS-Telephony-Call .wrapper-info span {
	display: block;
	font-size: 10pt;
}

.JS-Telephony-Call .wrapper-info .start {
	font-style: italic;
}

#popupNotifyNewCall .btn {
	color: #fff;
	margin-right: 5px;
}

#popupNotifyNewCall .btn-orange {
    background: orange;
}

#popupNotifyNewCall .btn .icon {
	margin-right: 5px;
}

#popupNotifyNewCall .telephony-update-contractor {
	float: left;
	margin-right: 5px;
    display: inline-block;
}

#popupNotifyNewCall .telephony-block-name {
    float: left;
    display: inline-block;
}

#popupNotifyNewCall .telephony-block-avatar {
    width: 70px;
    height: 70px;
    float: left;
    margin-right: 5px;
}

#popupNotifyNewCall .telephony-contractor-update {
	display: none;
	float: right;
}

#popupNotifyNewCall .telephony-update-contractor a {
	text-decoration: none;
}

#popupNotifyNewCall .telephony-block-update {
	float: left;
}

#popupNotifyNewCall .telephony-contractor-update .input.text {
	float: left;
	margin-top: 0;
}

#popupNotifyNewCall .telephony-contractor-update .btn {
	float: left;
}

#view-call-block {
	width: 25%;
	background: white;
	padding: 10px;
	position: fixed;
	right: 5px;
    bottom: 1rem;
	border: 1px solid #e4e4e4;
    z-index: 20;
}
#view-call-block .popup-description-of-call {
    display: flex;
    justify-content: space-between;
}



.popup-phone-call-dialog-wrapper {
	position: relative;
	overflow: hidden;
	margin: 7px 0;
    width: 100%;
    display: block;
}

.popup-phone-call-dialog-wrapper .popup-phone-call-dialog {
	display: inline-block;
}

.popup-phone-call-dialog-wrapper .link-contractor {
    display: block;
    width: 100%;
}

.popup-phone-call-dialog-wrapper .contractor-top-block {
    display: block;
    width: 100%;
}

.popup-phone-call-dialog-wrapper .popup-phone-call-dialog-copy {
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #000;
    cursor: pointer;
    font-size: 10px;
    font-style: italic;
    margin: 0 10px;
    padding: 0 5px;
    margin-top: 5px;
}

.popup-phone-call-dialog-wrapper .contractor-block-comment {
    overflow: hidden;
    word-break: break-all;
    font-size: 11px;
    margin-bottom: 10px;
}

.popup-phone-call-dialog-wrapper .popup-phone-call-dialog-copy.a {
	background: #b8ff00;
}

.telephony-call-comment-wrapper {
	margin-right: 5px;
}

.telephony-call-comment-wrapper > .telephony-call-comment {
	margin: 0 5px 0 0;
	width: 60%;
}

#popupNotifyNewCall .telephony-call-comment-save .icon {
	margin-right: 0;
}

.telephony-notification-wrapper .popup-remove-call {
	z-index: 1000;
	display: inline-block;
	float: right;
	margin-top: 5px;
}

.telephony-notification-wrapper .popup-telephony-btn .btn {
	margin-bottom: 5px;
}

#view-call-block .popup-group-btn .popup-expand-call {
    display: none;
}

@media (max-width: 620px) {
	.telephony-notification-wrapper {
		width: 100%;
	}
}

@media (max-width: 1140px) {
	#view-call-block {
		width: 40%;
	}
}

@media (max-width: 740px) {
	#view-call-block {
		width: 50%;
	}
	.telephony-notification-wrapper .popup-remove-call {
		font-size: 24px;
	}
}

@media (max-width: 600px) {
	#view-call-block {
		width: 60%;
	}
}

@media (max-width: 480px) {
	#view-call-block {
		width: 90%;
		bottom: 45px;
        height: fit-content;
        z-index: 10;
	}
    #view-call-block.minimized .popup-telephony-bids,
    #view-call-block.minimized .popup-telephony-btn,
    #view-call-block.minimized .popup-description-of-call,
    #view-call-block.minimized .telephony-call-comment-wrapper {
        display: none !important;
    }
    .popup-group-btn {
        display: flex;
        gap: 20px;
        flex-direction: row;
        align-items: center;
        justify-content: end;
    }
    #view-call-block .popup-group-btn .popup-expand-call {
        display: block;
        font-size: 24px;
    }
}
