/*
Theme Name: Manor
Author: OCW
Author URI: https://ocw.co.il/
Description:
Version: 0.1
Text Domain: ocw
*/

.box-area--hovered:hover {
	border-color: #bfbebe !important;
	background-color: #333645 !important;
	color: #fff !important;
}

.processing {
	position: relative;
}

.processing::after {
	content: '';
	background: rgba(0, 0, 0, 0.1) url(/wp-includes/js/tinymce/skins/lightgray/img/loader.gif) no-repeat center center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
}

.hidden {
	display: none;
}

.file_field_progress {
	position: relative;
}

.form__field_auto .optWrapper {
	width: auto;
	min-width: 100%;
	left: auto;
	right: 0;
}

@media (min-width: 768px) {
	.box-area__contain {
		min-height: 288px;
	}
}


.sumo_users_in_charge .optWrapper,
#support_email_send .sumo_email .optWrapper {
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
}

.support_add_email,
.support_add_confirmed {
	display: flex;
}

.support_add_confirmed{
    justify-content: center;
}

#show_confirmed_supports:hover,
#show_confirmed_supports:active,
#show_confirmed_supports{
    color: #000000
}

.support_add_confirmed .support_add_email_button,
.support_add_email .support_add_email_button {
	color: #333645;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3em;
	background-color: #bfbebe;
	text-align: center;
	margin-top: 11px;
	cursor: pointer;
	padding: 2px 0;
	-webkit-transition: background-color 0.2s ease;
	-o-transition: background-color 0.2s ease;
	transition: background-color 0.2s ease;
	width: 50%;
}

.support_add_email .support_add_email_button.support_add_email_button-full {
	width: 100%;
}

.support_add_email .support_add_email_button span,
.support_add_email .support_add_email_button svg {
	vertical-align: middle;
}

.support_add_email .support_add_email_button:hover {
	background-color: #a3a1a1;
	/*background-color: #ddd;*/
}

.support_custom_email_field_container {
	display: none;
}

.support_custom_email_field_container .btn {
	margin-top: 5px;
}

.import_progress_container {
	text-align: center;
	display: none;
}

.import_progress_container progress {
	width: 90%;
}

.support_import_approved_info {
	min-height: 78px;
}

.label--search-reset {
	background-color: #bfbebe;
	color: #fff;
}

.label--search-reset:hover {
	background-color: #a3a1a1;
}

.info-panel__steps .steps__item:hover {
	cursor: pointer;
}

/*.file_field_progress::before{*/
/*content: attr(data-percent);*/
/*position: absolute;*/
/*top: 0;*/
/*left: 0;*/
/*right:0;*/
/*bottom: 0;*/
/*}*/
/*.file_field_progress::after{*/
/*content: '';*/
/*position: absolute;*/
/*top: 0;*/
/*left: 0;*/
/*right:0;*/
/*bottom: 0;*/
/*width: 55%;*/
/*background: red;*/
/*font-size: 21px;*/
/*padding-bottom: 2px;*/
/*padding-right: 11px;*/
/*padding-top: 1px;*/
/*border-radius: 10px;*/
/*}*/

/* -------------------------------- */

.custom_progress {
	display: block; /* default: inline-block */
	min-width: 200px;
	/*margin: 2em auto;*/
	margin: 0 auto;
	padding: 4px;
	border: 0 none;
	/*background: #444;*/
	background: #fff;
	/*border-radius: 14px;*/
	box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
}

.custom_progress::-moz-progress-bar {
	border-radius: 12px;
	background: #FFF;
	box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.4), 0 2px 5px 0px rgba(0, 0, 0, 0.3);
	
}

/* webkit */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
	.custom_progress {
		height: 30px;
	}
}

.custom_progress::-webkit-progress-bar {
	background: transparent;
}

.custom_progress::-webkit-progress-value {
	border-radius: 8px;
	background: #2fa6de;
	/*box-shadow: inset 0 -1px 2px rgba(0,0,0,0.4), 0 1px 4px 0px rgba(0,0,0,0.3);*/
}

.modal_has_error .error_container {
	text-align: center;
	color: #f3786a;
	font-size: 18px;
}

.modal_has_error input.error {
	border-color: #f3786a;
}

svg.add_mail_plus {
	height: 17px;
	width: 17px;
	margin-left: 8px;
}

svg.add_mail_pencil {
	height: 14px;
	width: 14px;
	margin-left: 8px;
}

.popup--add-contact {
	max-width: 505px;
}

.popup--add-contact label {
	margin-top: 10px;
	display: inline-block;
	font-weight: 600;
}


.steps.steps--completed [class*="steps__item--"]::before,
.steps.steps--completed [class*="steps__item--"]::after,
.steps.steps--completed [class*="steps__item--"] {
	background-color: #4fc14d;
	color: #fff;
}

.steps.steps--overdue [class*="steps__item--"]::before,
.steps.steps--overdue [class*="steps__item--"]::after,
.steps.steps--overdue [class*="steps__item--"] {
	background-color: #f3786a;
	color: #fff;
}

.support_list_item td:nth-child(7) {
	width: 4%;
}

.support_list_item td:nth-child(6) {
	width: 10%;
}

.support_list_item td:nth-child(5) {
	width: 12%;
	text-align: center;
}

.support_list_item td:nth-child(4) {
	width: 26%;
}

.support_list_item td:nth-child(3) {
	width: 26%;
}

.support_list_item td:nth-child(2) {
	width: 13%;
}

.table__td-inner {
	/*height: 79px;*/
}

@media screen and (max-width: 600px) {
	html #wpadminbar {
		top: -46px;
	}
	
	.alert__meta {
		
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		align-content: space-between;
	}
	
	.alert__meta .alert__meta-item:nth-child(2) {
		order: 3;
	}
}

.info-panel__item--finances {
	max-width: 400px;
}

.flex-wrap {
	flex-wrap: wrap;
}

.max100 {
	max-width: 100%;
}


/* START IE scrollbars fix */
.block-results__main,
.css-scroll-vertical,
.SumoSelect > .optWrapper ul {
	-ms-overflow-style: none;
	overflow: visible;
}

.scrollbar-inner[style*="margin-bottom: -17px"] {
	margin-left: 0 !important;
	margin-bottom: 0 !important;
	max-height: 100% !important;
}

.css-scroll-vertical .scrollbar-inner[style*="margin-bottom: -17px"] {
	margin-bottom: 0 !important;
	max-height: 440px !important;
}

ul.scrollbar-inner[style*="margin-bottom: -17px"] {
	max-height: 250px !important;
}

.scrollbar-inner[style*="margin-bottom: -17px"] ~ .scroll-element.scroll-y .scroll-element_track {
	top: 0 !important;
}

.scrollbar-inner[style*="margin-bottom: -17px"] ~ .scroll-element.scroll-y .scroll-bar {
	width: calc(100% - 1px) !important;
}

/* END IE scrollbars fix */

.js-datepicker-form {
	padding-right: 9px;
}

body.ie .table__td,
body.ie .table__td-inner,
body.ie .table__nav-btns-contain,
body.ie .table__td-inner--hover-hide,
body.ie .table__td-inner--hover-show {
	transition: none !important;
}

body.ie .table__td-inner:not(.table__td-inner--last) {
	display: table-cell;
	vertical-align: middle;
}

body.ie .support_list_item td:nth-child(7) {
	width: auto;
}

.files-list__cell--in-order .files-list__icon-container:after,
.files-list__cell--pending .files-list__icon-container:after,
.files-list__cell--completed .files-list__icon-container:after{
	content: '';
	display: block;
	width: 16px;
	height: 16px;
}
.files-list__cell--in-order .files-list__icon-container:after{
	background: url("assets/img/icon-file-item.svg") no-repeat center;
	background-size: contain;
}
.files-list__cell--pending .files-list__icon-container:after{
	background: url("assets/img/icon-file-item-pending.svg") no-repeat center;
	background-size: contain;
}
.files-list__cell--completed .files-list__icon-container:after{
	background: url("assets/img/icon-file-item-check.svg") no-repeat center;
	background-size: contain;
}
.files-list__cell .mail-file__link_download{
	color: #4fc14d;
}
.mail-file__steps li{
	cursor: pointer;
}
.repeater__item--delete{
	align-items: center;
	/*background-color: transparent;
	color: #333645;*/
	background-color: #333645;
	color: #ffffff;
	border: 1px solid #333645;
	border-radius: 19px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-shrink: 0;
	font-size: 10px;
	font-weight: 400;
	height: 19px;
	justify-content: center;
	line-height: 1.2em;
	margin-right: 6px;
	min-width: 19px;
	text-align: center;
	cursor: pointer;
}

/*
.support_list_item td:nth-child(1) {width: 6%;}
.support_list_item td:nth-child(2) {width: 13%;}
.support_list_item td:nth-child(3) {width: 26%;}

.support_list_item td:nth-child(4).table__td--hover-hide-display {width: 29%}
.support_list_item td:nth-child(5).table__td--hover-hide-display {width: 12%}
.support_list_item td:nth-child(6).table__td--hover-hide-display {width: 10%}
.support_list_item td:nth-child(7).table__td--hover-hide-display {width: 3%!important;}

.support_list_item td:nth-child(8).table__td--hover-show-display {width: 29%}
.support_list_item td:nth-child(9).table__td--hover-show-display {width: 12%}
.support_list_item td:nth-child(10).table__td--hover-show-display {width: 10%}
.support_list_item td:nth-child(11).table__td--hover-show-display {width: 3%!important;}

.table__tr--search-results:hover .table__td--hover-hide-display{display: none;}
.table__tr--search-results .table__td--hover-show-display{display: none;}
.table__tr--search-results:hover .table__td--hover-show-display {display: table-cell;}
.table__tr--search-results td{
	transition: none;
}
.table__tr--search-results td *{
	transition: none;
}
*/
.support_list_item .table__td-inner.has-comment {height: 135px;padding: 10px 0;}
.support_list_item .table__td-inner--comment{
	font-size: 15px; height: 115px; overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 0 5px;
	justify-content: center;
}
@media all and (max-width: 1400px){
	.support_list_item .table__td-inner--comment{
		display: none;
	}
}
.support_list_item .table__td-inner--buttons ul{flex-wrap: nowrap !important;}
.support_list_item .inline-list {margin-bottom: 0; margin-left: 29px;}

.single-mail_template .select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: #bfbfbf;
	color: black;
}

.term_add_new{
	background-color: #2fa6de;
	white-space: nowrap;
	display: inline-block;
	color: #fff;
	margin-right: 5px;
	padding: 1px 6px;
	align-self: center;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	box-sizing: border-box;
	list-style: none;
	margin: 0;
	padding: 0 5px;
	width: 100%;
	max-width: 250px;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
	margin-left: 2px;
	margin-right: auto;
	float: right;
}

.select2-container--default .select2-selection--multiple {
	border: none;
	background-color: #ffffff;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: #e4e4e4;
	border: 1px solid #aaa;
	border-radius: 9px;
	cursor: pointer;
	font-size: 14px;
	float: left;
	margin-right: 5px;
	padding: 1px 10px;
	margin-top: 0;
	margin-bottom: 5px;
	max-width: 98%;
	word-break: break-word;
	white-space: normal;
}
.select2-container--custom-selection{
	cursor: pointer;
}
.note__meta .select2-container--default .selection{
	/*display: none;*/
}

.single-mail_template span.select2.select2-container.select2-container--default{
	display: none;
}

.select2-container--default:not(.select2-container--custom-selection) .select2-selection--multiple--custom {
	border: solid black 1px;
	outline: 0;
}

.select2-search__field {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 5px;
	right: 5px;
	margin: 0 !important;
	width: 100% !important;
}

.attachment-tag-select{
	border-radius: 22px;
	padding: 3px 12px;
	cursor: pointer;
	display: inline-block;
	margin-bottom: 5px;
	font-size: 18px;
	border: 1px solid #aaa;
	box-sizing: border-box;
}

.attachment-tag-select-single-active{
	border: 1px solid #111;
}
.attachment-tag-option-container{
	width: 100%; display: inline-flex; text-align: left;
}
.attachment-tag-option-container .delete-attachment-tag{
	flex-grow: 2;
	flex-shrink: 0;
	flex-basis: 15px;
	font-size: 32px;
	text-align: right;
}
.attachment-tag-option-container .delete-attachment-tag:hover{
	color: red;
}

.mail-file__remove_container{
	flex: 0 0 15px;
	text-align: left;
}

.mail-file__remove_container .mail-file__remove{
	margin: 0;
	line-height: normal;
}
.mail-file__date.note__date{
	padding-top: 1px;
}
