@font-face {
    font-family: 'GT-Eesti-Display-Bold';
	font-display: auto;
    src: url(fonts/GT-Eesti/GT-Eesti-Display-Bold.eot);
    src: url(fonts/GT-Eesti/GT-Eesti-Display-Bold.eot?#iefix) format('embedded-opentype'),
    url(fonts/GT-Eesti/GT-Eesti-Display-Bold.woff) format('woff'),
    url(fonts/GT-Eesti/GT-Eesti-Display-Bold.ttf) format('truetype');
}
@font-face {
    font-family: 'narkisblock';
	font-display: auto;
	font-style: normal;
	font-display: auto;
    font-weight: 400;
    src: url('fonts/NarkisBlock/narkisblock-regular_mfw.eot'); /* IE9 Compat Modes */
  	src: url('fonts/NarkisBlock/narkisblock-regular_mfw.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/NarkisBlock/NarkisBlock-Regular_MFW.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/NarkisBlock/narkisblock-regular_mfw.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/NarkisBlock/NarkisBlock-Regular_MFW.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/NarkisBlock/narkisblock-regular_mfw.svg#svgFontName') format('svg'); /* Legacy iOS */
}
@font-face {
    font-family: 'narkisblock';
	font-display: auto;
	font-style: medium;
    font-weight: 500;
    src: url('fonts/NarkisBlock/NarkisBlock-Medium_MFW.eot'); /* IE9 Compat Modes */
  	src: url('fonts/NarkisBlock/NarkisBlock-Medium_MFW.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/NarkisBlock/NarkisBlock-Medium_MFW.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/NarkisBlock/NarkisBlock-Medium_MFW.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/NarkisBlock/NarkisBlock-Medium_MFW.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/NarkisBlock/NarkisBlock-Medium_MFW.svg#svgFontName') format('svg'); /* Legacy iOS */
}
@font-face {
    font-family: 'narkisblock';
	font-display: auto;
	font-style: bold;
    font-weight: 700;
    src: url('fonts/NarkisBlock/narkisblock-bold_mfw.eot'); /* IE9 Compat Modes */
  	src: url('fonts/NarkisBlock/narkisblock-bold_mfw.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/NarkisBlock/narkisblock-bold_mfw.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/NarkisBlock/narkisblock-bold_mfw.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/NarkisBlock/narkisblock-bold_mfw.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/NarkisBlock/narkisblock-bold_mfw.svg#svgFontName') format('svg'); /* Legacy iOS */
}

html, body {

	padding:0;

	margin:0;

	max-width:100%;

	overflow-x:hidden;

	font-size:0;

	height:100%;

	text-align:right;

    direction: rtl;
    
}


:root {
    --red: #ec6c61;
}

:focus {
    outline: none;
}

body * {

	font-family: GT-Eesti-Display-Bold, narkisblock, serif;
        
	font-size: 14px;

}



body > * {

	text-align:right;

}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

img.download_table_icon {
    width: 22px;
	cursor:pointer;
}

.hiddenButton {
	display:none !important;
}

.red {
    color: #ec6c61 !important;
}

input {

	outline: none;
    

}



hr {

    border: none;

    border-top: 1px solid #ebedf8;

}



a {

    color: inherit;

    font-weight: 500;
    
    text-decoration: none;

}

div#footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: #44444f;
    font-size: 13px;
}


.ui-menu.ui-widget.ui-widget-content.ui-autocomplete {

    max-height: 250px;

    overflow-y: auto;

    overflow-x: hidden;

}

#supplier_order_search_product input#product_autocomplete.ui-autocomplete-loading {
    background-image: url(/images/indicator.gif);
    background-size: 20px;
}

.alignCenter {
    text-align: center;
}



[disabled], [readonly] {

	color: #C2C2C2 !important;
    background-color : #fafafb !important;

}

.ui-datepicker {
    width: auto;
}

span.color_box {
    color: transparent;
    display: inline-block;
    font-size: 0;
    width: 20px;
    height: 20px;
    vertical-align: inherit;
}

div#mainPage {

    vertical-align: top;

    min-height: 100vh;

    width: calc(100% - 308px);

	display:inline-block;

	background-color: #fff8f7;

	position:relative;

	padding: 20px 50px;
    
    margin-right:210px;
    
    /*box-sizing: border-box;*/
}

div#mainPage.has_leftbar {
    width: calc(100% - 503px);
}

div#leftBar {
    width: 210px;
    height: 100vh;
    overflow: hidden;
    background-color: #fff0eb;
    text-align: right;
    display: inline-block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 25px 0px 20px 0;
    box-sizing: border-box;
}

div#leftBarContainer {
    height: calc(100vh - 74px) !important;
    overflow: auto;
	text-align:center;
}

div#leftBarContainer.scroll-content.scroll-scrolly_visible {
    padding-left: 10px;
}

.box {

	border-radius: 20px;

	background-color: #ffffff;

	border: none;

	padding: 22px;

	box-sizing:border-box;

	display:inline-block;

	vertical-align:top;

	margin-bottom:20px;
    
    max-width: 100%;

}

.box.no_side_padding {
    padding: 20px 0 !important;
}



.box.small {

	width:48%;

}

.box.smaller {

	width:32%;

}


.box.big {

	width:100%;

}

.box.big.worlds {
    width: 500px;
}



#sidebar {

	width:210px;

	height:100%;

	background-color:#fff0eb;

	text-align:right;

	display:inline-block;

	position:fixed;
    
    box-shadow: 4px 0 4px 0 rgba(43, 45, 55, 0.01);

	top:0;

	right:0;
    
	z-index:1;
    
    padding:20px 20px 20px 0;
    
    box-sizing:border-box;
}

img#toggleMenu {
    cursor: pointer;
    padding-bottom: 20px;
    transform: scaleX(-1);
}

div#sideUserCon {
    display: flex;
    align-items: center;
}

#sideUserImg {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    border:none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #ec6c61;
    margin-left: 19px;
}

#sideUserName {
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0.1px;
    text-align: right;
    color: #171725;
    font-family: GT-Eesti-Display-Bold, narkisblock;
}


.floatRight {

	float:right;

}



.floatLeft {

	float:left;

}



#content {
    display: flex;
    justify-content: flex-start;
}

.page_col {
    display: flex;
    flex-flow: column;
}

.page_col:not(:first-child) {
    margin-right: 14px;
}

h1 {
    font-size: 20px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: 0.19px;
    color: black;
    margin-bottom: 20px;
    margin-top: 0px;
}

.box h3 {
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.71;
    letter-spacing: 0.13px;
    text-align: right;
    color: #000000;
    width: 100%;
}

br + h1 {
    margin-top: 40px;
}


h2 {

	font-size: 14px;

	font-weight: bold;

	font-style: normal;

	font-stretch: normal;

	line-height: 1.14;

	letter-spacing: 0.18px;

	color: #ec6c61;


}

.redButton {
    background-color: #ec6c61 !important;
    color: white !important;
    border-radius: 36.8px;
    height: 31px;
    line-height: 31px;
    display: inline-block;
    padding: 0 15px;
    box-sizing: border-box;
    
    font-family: narkisblock, serif;
    
    cursor: pointer;
    
    white-space: nowrap;
    
}

.redButton:hover, .redButton:focus {
    
}

.blankButton {
    background-color: transparent !important;
    color: #ec6c61 !important;
    border-radius: 36.8px;
    border: 1px solid #ec6c61;
    height: 31px;
    line-height: 31px;
    display: inline-block;
    padding: 0 15px;
    font-family: narkisblock, serif;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.44px;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}

.page_col.small .blankButton,
.page_col.small .redButton{
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    
}

table tbody td .redButton {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

tr.extra_product {
	background-color: lavender;
}

p {
    margin:0 0 14px 0;
}

/* footer */


/* footer end */



/*header*/

#header {
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding-bottom: 20px;
}

#header img#logo {
    width: 127px;
}

#leftBar img#logo {
    width: 127px;
    margin: 0 auto 30px;
    display: block;
}

#header_content {
    display: flex;
    justify-content: space-between;
    align-content: center;
    width: 100%;
    margin-left: 25px;
}

#breadcrumbs {
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.71;
    letter-spacing: 0.13px;
    text-align: right;
    color: #000000;
}

.add_item {
    font-size: 13px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.95px;
    text-align: right;
    color: #44444f;
    padding-right: 31px;
    position: relative;
    line-height: 19px;
    text-decoration: none;
}

.add_item:before {
    height: 19px;
    display: inline-block;
    vertical-align: top;
    width: 19px;
    background-color: #ec6c61;
    border-radius: 4px;
    text-align: center;
    content: "";
    color: white;
    line-height: 19px;
    background-image: url(/images/icons/white-plus-icon.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 11px;
    margin-left: 10px;
}

.add_item:after {
    
}

/*header end*/



/*sidemenu*/



#sidemenu {
    margin-top: 20px;
}


#sidemenu ul {

    list-style: none;

	padding:0;

	text-align:right;

}



#sidemenu ul li {

    display:block;

	height:56px;
    
    position: relative;

	line-height:56px;

	transition: background-color .3s;

	color:#44444f;
    
    cursor: pointer;
    
    padding-right: 20px;
    margin-right: -20px;
}

#sidemenu ul li > svg {
    margin-left: 17px;
}

#sidemenu ul li:hover > svg path,
#sidemenu ul li.active > svg path,
#sidemenu ul li:hover > svg > g,
#sidemenu ul li.active > svg > g{
    fill: #ec6c61
}

#sidemenu ul.child {
    max-height: 0;
    overflow: hidden;
    transition: .5s;
    transition-delay: .5s;
    margin-right: -20px;
    padding-right: 20px;
}

#sidemenu a.parent:hover + ul.child,
#sidemenu ul.child:hover,
#sidemenu ul.child:hover *,
#sidemenu ul.child.active {
    max-height: 300px;
}

#sidemenu ul.child li {
    padding-right: 75px;
    height: 35px;
    line-height: 35px;
}

#sidemenu ul a {

    color: inherit;

    text-decoration: none;
    
}

li.parent:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #44444f;
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
}

li.parent:hover:after,
li.parent.active:after {
    border-top: 4px solid #ec6c61;
}


#sidemenu ul li:hover, #sidemenu ul li.active {
    
    background-color: #ffdcd5;
    
    border-radius: 12px 0 0 12px;
    
    color: #ec6c61;
    
	cursor:pointer;

}



#sidemenu ul li svg {

	margin-right:8px;

	height: 18px;

    width: 20px;

	vertical-align:text-top;

}



#sidemenu ul li svg .hovergreen {

	transition: .3s;

}



#sidemenu ul li:hover svg .hovergreen,

#sidemenu ul li.active svg .hovergreen {



	fill: #00E39F;

}

#sidemenu .menu_counter {
    display: none;
    margin-right: 8px;
    vertical-align: middle;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #ec6c61;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

#sidemenu .menu_counter.show {
    display: inline-block;
}

#sidemenu ul li:hover .menu_counter,
#sidemenu ul li.active .menu_counter {
    background-color: #fff;
    color: #ec6c61;
}

body.collapse div#sidebar {
    width: 60px;
    padding: 20px 0;
    text-align: center;
}

body.collapse #sideUserName {
    display: none;
}

body.collapse #sideUserCon {
    display: block;
    text-align: center;
}

body.collapse #sideUserImg {
    margin: 0 auto 20px;
}

body.collapse #sidemenu li {
    text-align: center;
    margin: 0 auto;
    padding: 0;
    font-size: 0;
}

body.collapse #sidemenu ul li svg {
    margin: -8px auto 0;
}

body.collapse #sidemenu ul li:after {
    display: none;
}

body.collapse #sidemenu ul.child {
    display: none;
}

body.collapse #sidemenu .menu_counter {
    position: absolute;
    left: 2px;
    top: 6px;
    margin: 0;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    padding: 0 4px;
    font-size: 10px;
}

body.collapse div#mainPage {
    width: calc(100% - 150px);
    margin-right: 50px;
}

body.collapse div#mainPage.has_leftbar {
    width: calc(100% - 343px);
    margin-right: 50px;
}

body.collapse img#toggleMenu {
    transform: scaleX(1);
}

/*sidemenu end*/



/* tables */

.printer_icon {
    width: 18px;
    float: left;
    cursor: pointer;
}

span#filter_client {
    cursor: pointer;
    border: solid 1px #e2e2ea;
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 10px;
    border-radius: 9px;
    color: #44444f;
}

span#filter_client:before {
	content: "הזמנות לקוח: ";
	display:inline-block;
	margin-left: 5px;
}

/*span#filter_client:after {
	display:inline-block;
	content: "x";
	margin-right: 20px;
}*/

span.clear_select {
    float: right;
    text-decoration: underline;
    height: 0;
}

.fixed_placeholder {
    position: relative;
}

.fixed_placeholder input[type=text] {
    line-height: 1 !important;
    padding-top: 12px !important;
    font-family: narkisblock;
    font-size: 14px !IMPORTANT;
    width: 100%;
    height: 40px !important;
}

.fixed_placeholder:before {
    content: attr(placeholder);
    font-size: 12px;
    position: absolute;
    top: 3px;
    right: 10px;
    color: grey;
}

.status_box {
    text-align: center;
    height: 24px;
    line-height: 24px;
    border-radius: 5px;
    white-space: nowrap;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

table.dataTable tbody td[class*="date"] {
    white-space: nowrap;
}

td.order_date {
    white-space: pre;
}

table.dataTable tbody td {
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.95px;
    text-align: right;
    color: #44444f;
    text-decoration: none;
    font-family: narkisblock, serif;
}

table.dataTable tbody td a {
    font-family: narkisblock, serif;
    color: #ec6c61;
}

table.dataTable thead th {
    border: none;
    background-color: #F6F6F6;
}

table.dataTable thead th:first-child {
    border-radius: 0 10px 10px 0;
}

table.dataTable thead th:last-child {
    border-radius: 10px 0 0 10px;
}

table.dataTable tbody tr:nth-child(even) td {
    background-color: #fafafb;
}

table.dataTable tbody tr:first-child td {
    padding-top: 16px;
}

.table_filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.table_filters > * {
    flex:1 1 auto;
    margin:0 5px;
}

.table_filters > *:first-child {
    margin-right:0;
}

.table_filters > *:last-child {
    margin-left:0;
}

.table_filters input[type=text] {
    height: 38px;
    border-radius: 10px;
    border: solid 1px #e2e2ea;
    line-height: 38px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1px;
    color: #44444f;
    padding:0 10px;
    box-sizing: border-box;
}

.table_filters input[type=text][name=freetext] {
    background-image:url('/images/icons/magnifier-icon.svg');
    background-position: left 10px center;
    background-repeat: no-repeat;
    background-size: 24px;
}


.table_filters .select2-container .select2-selection--single {
    height: 38px;
    border-radius: 10px;
    border: solid 1px #e2e2ea;
    line-height: 38px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1px;
    color: #44444f;
    
}

.table_filters .select2-container .select2-selection--multiple{
    //height: 38px;
    border-radius: 10px;
    border: solid 1px #e2e2ea;
    line-height: 38px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1px;
    color: #44444f;
    
}

.table_filters .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0 5px;
}

.table_filters .select2-container--default .select2-selection--multiple .select2-selection__rendered li.select2-selection__choice {
    line-height: 16px;
}


.table_filters .select2-container--default .select2-selection--multiple li.select2-search.select2-search--inline {
    height: 28px;
}

.table_filters span.select2-dropdown.select2-dropdown--below {
    box-shadow: 0 12px 20px 0 rgba(0, 0, 0, 0.05);
    border-left: 1px solid #e2e2ea;
    border-bottom: 1px solid #e2e2ea;
    border-right: 1px solid #e2e2ea;
    border-top: none;
    border-radius: 10px;
}

.table_filters select,
.table_filters span.select2.select2-container.select2-container--default{
    width: 170px !important;
    max-width: 100% !important;
}

.table_filters .filter_table {
    border: none;
    height: 38px;
    font-size: 16px;
    
}

table.dataTable.no-footer {
    border: none;
    padding-bottom: 20px;
}

div.dataTables_info {
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 0.93;
    letter-spacing: 0.1px;
    text-align: center;
    color: #44444f;
}

a#usersTable_previous{
    background-image: url(/images/icons/p-right.svg);
    color: transparent !important;
    background-position: center;
    background-size: 6px;
    background-repeat: no-repeat;
}

a#usersTable_next{
    background-image: url(/images/icons/p-left.svg);
    color: transparent !important;
    background-position: center;
    background-size: 6px;
    background-repeat: no-repeat;
}

.dataTables_wrapper .dataTables_paginate .paginate_button, .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 0.93;
    letter-spacing: 0.1px;
    text-align: center;
    color: #44444f !important;
    background-image: none;
    background: none;
    padding: 7px 6px;
    font-family: narkisblock, serif;
    border: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    border: none;
    color: white !important;
    background: none;
    background-color: #ec6c61;
    border-radius: 4px;
}

table.dataTable tbody td.delete,
table.dataTable thear th.delete{
    width: 20px;
    text-align: left;
}

table.dataTable tbody td.name,
table.dataTable thear th.name{
    
}

table.dataTable tbody td.id,
table.dataTable thear th.id{
    width: 50px;
}

table.dataTable tbody td.action {
    text-align: left;
}

.remove_row {
    cursor: pointer;
    margin-left:10px;
}

.restore_row {
    cursor: pointer;
    width: 20px;
}

.duplicate_row {
    height: 13px;
    margin-left: 10px;
    cursor: pointer;
}

.table_row_image {
    width: 34px;
    height: 34px;
    background-color: #F6F6F6;
    display: inline-block;
    vertical-align: inherit;
    margin-left: 17px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    mix-blend-mode: multiply;
}

td.remove {
    white-space: nowrap;
}

span.table_data_mark {
    background-color: transparent;
    border-radius: 5px;
    padding: 8px 8px;
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.69;
    letter-spacing: 0.08px;
    text-align: right;
    color: #000000;
    font-family: narkisblock;
}

span.table_data_mark.active {
    background-color: #FFDCD5;
}

.wc-sync-icon {
    display: inline-block;
    font-size: 14px;
    cursor: default;
    vertical-align: middle;
    margin-right: 4px;
}

.wc-sync-icon.synced {
    opacity: 1;
}

.wc-sync-icon.not-synced {
    opacity: 0.25;
    filter: grayscale(1);
}

table#supplier_orders_products {
    width: 640px;
}

input.table_row_number_input {
    border: none;
    outline: none !important;
    width: 70px;
    font-size: 13px;
    font-family: narkisblock;
}

td.next_shipment_date {
	white-space: nowrap;
}

tr.must_go_today {
    background-color: #FFF0EB !important;
}

tr.must_go_today > td {
    font-weight: 700 !important;
}

/* BUYME tags under the client name - multi-address bulk order / client's own greeting */
span.order_tag {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #ec6c61;
    margin-top: 3px;
}

/* BUYME OZ-606 - shown instead of the greeting print button/icon */
.client_greeting_notice {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #ec6c61;
    border: 1px solid #ec6c61;
    border-radius: 3px;
    padding: 4px 8px;
    margin: 5px 0;
    white-space: nowrap;
}

tr.must_go_today td.last_status:after {
    content: "משלוח מהיום להיום";
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 10px;
}

/* bulk order shipment - single row for the whole bulk */
tr.bulk_shipment {
    background-color: #FFF0EB !important;
}

tr.bulk_shipment > td {
    font-weight: 700 !important;
}

/* end tables */


/* forms */

form {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
}

form br {
    display: block;
    content: "";
    width: 100%;
}

form hr {
    border-top: 2px solid #fff8f7;
    display: block;
    width:  100%;
    content: "";
    margin: 20px 0;
}

.field_con {
    margin-bottom: 10px;
}

.field_con.half {
    width: calc(50% - 7px);
}

.field_con.third {
    width: calc(33% - 7px);
}

.field_con.quarter {
    width: calc(25% - 7px);
}

.field_con.full {
    width: 100%;
}

.field_con input[type=text],
.field_con input[type=password],
.field_con input[type=email],
.field_con input[type=number],
.field_con select
{
    width: 100%;
    border-radius: 6px;
    border: solid 2px #ffc1bb;
    height: 40px;
    line-height: 40px;
    padding: 0px 10px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.07px;
    text-align: right;
    color: #3c3c3c;
    box-sizing: border-box;
}

.field_con textarea
{
    width: 100%;
    border-radius: 6px;
    border: solid 2px #ffc1bb;
    height: 80px;
    line-height: 1.3;
    padding: 10px 10px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.07px;
    text-align: right;
    color: #3c3c3c;
    box-sizing: border-box;
    resize: none;
}

.short input[type=text],
.short input[type=password],
.short input[type=email],
.short input[type=number],
.short select
{
    height: 30px !important;
    line-height: 30px !important;
}

.short textarea {
    height: 60px !important;
    line-height: 30px !important;
    padding: 0 10px;
}

.field_con label {
    font-size: 13px;
    font-weight: 500;
    font-stretch: normal;
    display: block;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.95px;
    text-align: right;
    color: #44444f;
    margin-bottom: 5px;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
    margin-left:10px;
}

.select2-container.select2-container--open .select2-selection--single {
    border-bottom: none;
}

.select2-container .select2-selection {
    min-height: 40px;
    border: solid 2px #ffc1bb;
}

.select2-selection--single .select2-selection__rendered,
.select2-selection--single .select2-selection__rendered:focus{
    min-height: 40px !important;
    line-height: 40px !important;
    padding-right: 10px;
    padding-left: 20px;
    outline: none !important;
}

.short .select2-container .select2-selection,
.short .select2-selection--single .select2-selection__rendered,
.short .select2-selection--single .select2-selection__rendered:focus {
    min-height: 30px !important;
    line-height: 30px !important;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 10px;
    right: auto;
    top: 7px;
}

.select2-container--default .select2-results__option {
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.95px;
    text-align: right;
    color: #000000;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding-top: 5px;
    padding-bottom: 5px;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    color: #ffc1bb;
    background:white;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: white;
    background :#ffc1bb;
}

span.select2-dropdown.select2-dropdown--below {
    box-shadow: 0 12px 20px 0 rgba(0, 0, 0, 0.05);
    border-left: 2px solid #ffc1bb;
    border-bottom: 2px solid #ffc1bb;
    border-right: 2px solid #ffc1bb;
    border-top: none;
}

span.select2.select2-container.select2-container--default {
    max-width: 100%;
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border-color: #EC6C61;
    background-color: #FFF0EB;
}

.supplier_invoice_comment textarea {
    height: 87px !important;
}

input[type=submit]{
    border: navajowhite;
    margin-top: 20px;
    width: 80%;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.09;
    letter-spacing: 0.44px;
    text-align: center;
    color: #ffffff;
}

label.error {
    margin-top: 5px;
    color: #ec6c61;
}

.userform {
    width: 711px;
    box-sizing: border-box;
    max-width: 100%;
}

.box h1 {
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.71;
    letter-spacing: 0.13px;
    text-align: right;
    color: #000000;
    width: 100%;
} 

.info_row {
    display: flex;
    flex-flow: wrap;
}

.info_row.full {
    width: 100%;
}

.info_row.half {
    width: calc(50% - 7px);
	display:inline-flex;
}

.info_row.third {
    width: calc(33% - 7px);
	display:inline-flex;
}

.info_row * {
    box-sizing: border-box;
}

.info_row > div {
    padding-left: 5px;
    font-family: narkisblock;
    padding-bottom: 10px;
    box-sizing: border-box;
    width: 50%;
}

.info_row > div.full_width {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.info_row > input[type=text] {
    font-family: narkisblock;
}

.info_row > div.full_width:first-child {
    margin-bottom: 0px;
    padding-bottom: 5px;
}

.info_row > div:first-child {
    font-weight: bold;
}

.info_row > div:last-child {
    padding-right: 5px;
    padding-left:0;
}

.info_row input.datepicker {
    height: 23px;
    border-radius: 3px;
    background-color: #fff8f7;
    border: none;
    font-family: narkisblock;
    max-width: 100%;
    margin-right: -5px;
    padding-right: 5px;
    color: black !important;
}

.info_row input.datepicker,
.info_row input[type=number],
.info_row input[type=text]{
    height: 23px;
    border-radius: 3px;
    background-color: #fff8f7;
    border: none;
    font-family: narkisblock;
    max-width: 100%;
    margin-right: -5px;
    padding-right: 10px;
    color: black !important;
}

.info_row textarea {
    height: 84px;
    border-radius: 3px !important;
    background-color: #fff8f7 !important;
    border: none;
    font-family: narkisblock;
    max-width: 100%;
    margin-right: -5px;
    padding: 7px;
    color: black !important;
    width: 100%;
    resize: none;
    box-sizing: border-box;
}

.info_row .select2-selection__clear {
    display: none !important;
}

.info_row .select2-container .select2-selection {
    background-color: #fff8f7;
    border: none;
    min-height: 20px;
    line-height: 20px !important;
    margin-right: -5px;
    padding-right: 5px;
}

#suspected_header {
    padding-right: 25px !important;
    background-image: url(/images/icons/warning-icon.svg);
    background-size: 19px;
    background-repeat: no-repeat;
    background-position: right top;
}

input#search_order {
    border-radius: 5px;
    border: solid 1px #e2e2ea;
    width: 100%;
    background-color: transparent;
    height: 30px;
    margin: 10px 0;
    background-image: url(/images/icons/magnifier-icon.svg);
    background-position: left 10px center;
    background-repeat: no-repeat;
    background-size: 20px;
}


.checkbox_con input[type=checkbox] {
    display: none;
}

.checkbox_con input[type=checkbox] + label {
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0.08px;
    text-align: right;
    color: #ec6c61;
    font-family: narkisblock;
    display: flex;
    margin-bottom: 10px;
}

.checkbox_con input[type=checkbox] + label:before {
    content: "";
    height: 15px;
    width: 15px;
    box-sizing: border-box;
    border: 1px solid #e2e2ea;
    border-radius: 3px;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    vertical-align: sub;
    margin-left: 5px;
}

.checkbox_con input[type=checkbox]:checked + label:before {
    background-image: url(/images/icons/red-v-icon.svg);
    border-color: #ec6c61;
}

.info_row .select2-selection--single .select2-selection__rendered, .info_row .select2-selection--single .select2-selection__rendered:focus {
    line-height: 25px !important;
    height: 25px !important;
    min-height: 25px !important;
}

.info_row .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 5px;
    right: auto;
    top: 0px;
}

.page_col.small hr {
    border-top: 2px solid #fff8f7;
    display: block;
    width:  100%;
    content: "";
    margin: 0 0 10px 0;
}

.ui-menu .ui-menu-item-wrapper {
    width: 100%;
    display: flex;
    box-sizing: border-box;
    align-items: center;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #fff8f7;
    background: #fff8f7;
    color: black;
    font-weight: bold;
}

.box_row {
    display: block;
    border-bottom: solid 2px #fff8f7;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.95px;
    text-align: right;
    color: #44444f;
}

.box_row:last-child {
    border-bottom: none;
}

.box .collapsable {
    margin-bottom: 10px;
    width: 100%;
}

.box .collapsable_header,
.box .collapsable_body {
    padding:0;
}

.collapsable_body > .info_row {
    padding:10px 0 0 0;
}

.collapsable_body > .info_row > div {
    padding-bottom:0;
}

.box .collapsable_header:after {
    left:0;
}

.page_col.small .redButton,
.page_col.small .blankButton {
    margin: 5px 0 10px;
    height: 30px;
}

input#set_connected_orders {
    width: 100%;
}

.ui-menu .filtered.ui-menu-item-wrapper {
    opacity: 0.6;
    text-decoration: line-through;
}

.red_alert_bg {
    background-color: #FFDCD5 !important;
}

/* end forms */

/* upload image */

.image_field {
    border-radius: 6px;
    border: solid 2px #ec6c61;
    background-color: #ffffff;
    text-align: center;
    padding: 46px 0;
    cursor: pointer;
    min-height: 320px;
    box-sizing: border-box;
    position: relative;
}

.image_field_con.loaded .image_field {
    background-color: transparent;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

img.remove_image {
    position: absolute;
    top: 13px;
    left: 13px;
    cursor: pointer;
    display: none;
}

.image_field_con.loaded img.remove_image {
    display: inherit !important;
}

.image_field_con.loaded > .image_field > * {
    display: none !important;
}

.image_field > * {
    max-width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
}

.upload_image_title {
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.35px;
    text-align: center;
    color: #3c3c3c;
    margin-top: 35px;
}

.upload_image_subtitle {
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.35px;
    text-align: center;
    color: #ec6c61;
}

.image_field_con input[type=file] {
    display: none;
}

.upload_image_subtitle span {
    display: inline-block;
    direction: ltr;
    margin-right: 5px;
}

.select_image {
    font-size: 12px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.3px;
    text-align: center;
    color: #969696;
    border-radius: 7px;
    border: dashed 1.5px #ffc1bb;
    width: 182px;
    height: 54px;
    line-height: 54px;
    margin-top: 24px;
    transition: .3s;
}

.image_field:hover .select_image{
    background-color:#ffc1bb;
    color: white;
}

/* end upload image */

/* POPUP */

div.popup {
    position: fixed;
    z-index: 999;
    background-color: white;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    max-height: 95%;
    max-width: 95%;
    width: 700px; /*initial can be overidden*/
    height: 800px; /*initial can be overidden*/
    border-radius: 20px;
    border: 5px solid #ec6c61;
    box-sizing: border-box;
    padding: 20px;
    box-shadow: 0px 0px 30px rgba(0,0,0,.15);
    display:none;
}

.popup > *:not(h1):not(h2) {
    height: calc(100% - 100px);
    overflow-y: auto;
}

#new_delivery_popup.popup > div {
	max-height: 100%;
}

.popup .close {
    float: left;
    cursor: pointer;
	position:absolute;
	left:20px;
	height:20px;
}

.form_extra_fields_trigger {
    display: block;
    width: 100%;
    font-weight:bold;
    cursor: pointer;
}

.form_extra_fields {
    display: flex;
    width: 100%;
    max-height: 0px;
    transition: .5s;
    overflow:hidden;
    justify-content: space-between;
    flex-flow: wrap;
    padding-top: 15px;
}

.form_extra_fields.active {
    max-height: 2000px;
}

div.popup#connect_orders_popup {
    height: 500px;
    width: 300px;
}

div.popup#invoice_popup {
    width: 1100px;
}

.popup#invoice_popup > *:not(h1):not(h2) {
    max-height: calc(100% - 50px);
}


/* end POPUP */

/* start LeftBar */

.collapsable_header {
    display: block;
    font-size: 15px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.09px;
    text-align: right;
    color: #000000;
    padding: 10px 18px;
    position: relative;
    cursor: pointer;
    border-bottom: solid 1px #fcded4;
}

.collapsable_header:after {
    content: "";
    background-image: url('/images/icons/gray-arrow-icon.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    height: 16px;
    width: 16px;
    left: 18px;
    top: 0;
    bottom: 0;
    margin: auto;
    transition:.5s;
}

.collapsable_header.close:after {
    transform: rotate(180deg);
}

.collapsable_body {
    transition: all .5s;
    max-height: 1000px;
    overflow: hidden;
}

.collapsable_body > * {
    padding: 10px 18px;
}

.collapsable_body.close {
    max-height: 0;
}

.bubbles_list {
    padding: 10px 0px;
    border-bottom: solid 1px #fcded4;
    max-height: 300px;
    overflow: auto;
}

.bubbles_list:blank {
   display: none;
}

.collapsable_body label {
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.95px;
    text-align: right;
    color: #000000;
    margin-bottom: 5px;
}

.collapsable_body textarea {
    border-radius: 10px;
    background-color: #fff8f7;
    resize: none;
    border: none;
    height: 84px;
    padding: 5px 10px;
}

#leftBar input[type=submit].blankButton,
#leftBar input[type=button].blankButton {
    background-color: transparent !important;
    color: #ec6c61 !important;
    border-radius: 36.8px;
    border: 1px solid #ec6c61;
    height: 31px;
    line-height: 31px;
    display: inline-block;
    padding: 0 15px;
    font-family: narkisblock, serif;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.44px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    cursor: pointer;
}

#leftBar .bubble_con {
    margin: 10px 18px 0;
    position:relative;
}

#leftBar .bubble_con:last-child {
    margin-bottom: 10px;
}

.bubble {
    position: relative;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: 0.95px;
    text-align: right;
    padding: 9px;
}

.bubble.red {
    background-color: #ec6c61;
    color: white !important;
}

.bubble.white {
    background-color:white;
}

.bubble.user_comment {
    background-color: #ffdcd5 !important;
}

.bubble.user_comment b u {
	color: #ec6c61;
}

.bubble:after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 19px;
	width: 0;
	height: 0;
	border: 11px solid transparent;
	border-bottom: 0;
	border-right: 0;
	margin-left: -5.5px;
	margin-bottom: -11px;
}

.bubble.white:after {
    border-top-color: #FFF;
}

.bubble.red:after {
    border-top-color: #ec6c61;
}

.bubble.user_comment:after {
    border-top-color: #ffdcd5 !important;
}

.bubble_info {
    font-family: narkisblock, GT-Eesti-Display-Bold, serif;
    font-size: 11px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0.19px;
    text-align: right;
    color: #44444f;
}

.bubble_con:hover .bubble_check_con {
    position: absolute;
    height: 15px;
    width: 15px;
    z-index: 9;
    left: 10px;
    top: 9px;
    background-image: url(/images/icons/v-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 9px;
    cursor: pointer;
    background-color: rgba(255,255,255,0.7);
    border-radius:100%
}

.checked.bubble_con:hover .bubble_check_con {
    background-image: url(/images/icons/red-x-icon.svg);
}

.checked.bubble_con .bubble {
    text-decoration: line-through;
    color: rgba(0,0,0,.4);
}

.checked.bubble_con .bubble.red {
    color: rgba(255,255,255,.6) !important;
}

/* end LeftBar */


/* reports */ 

.dataTables_filter input[type="search"] {
    height: 30px;
    border-radius: 10px;
    border: solid 1px #e2e2ea;
    line-height: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1px;
    color: #44444f;
    padding-right: 10px;
    margin-right: 5px;
    margin-bottom: 10px;
}

/* endreports */


/* client companies edit */

div#company_details_con {
    width: 100%;
    justify-content: space-between;
    flex-flow: wrap;
    display: none;
}



table tbody td.name a span {
	color: black;
}

div#invoices_table_con {
    border-top: 1px solid #ffdcd5;
    padding-top: 20px;
    margin-top: 20px;
}

.field_con_border {
    border: 2px solid #EC6C61;
    border-radius: 10px;
    padding: 5px 15px;
    box-sizing: border-box;
}

table#invoice_payments_table {
  counter-reset: row-num;
}
table#invoice_payments_table tbody tr {
  counter-increment: row-num;
}
table#invoice_payments_table tbody tr td:first-child::before {
    content: counter(row-num) ". ";
}

#invoice_payments_table th.total {
    width: 120px;
}

#invoice_payments_table th.date,
#invoice_payments_table th.paid_date {
    width: 110px;
}

#invoice_payments_table th.payment_type,
#invoice_payments_table th.status {
    width: 140px;
}

#invoice_payments_table .removeRow {
    cursor: pointer;
}

input#addPaymentRow {
    margin: 10px 0;
}

.field_con.third {
    width: calc(33% - 7px);
    display: inline-block;
    vertical-align: top;
}

.flex {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

.flex h2 {
    width: 100%;
}

#invoices_list {
    text-align: right;
}

#invoices_list td {
    padding: 10px 18px;
    white-space: pre;
}

div#invoices_table_con {
    width: 700px;
    margin: 0 auto;
    max-width: calc(100% - 20px);
}

table.dataTable tfoot th {
    font-size: 13px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.95px;
    text-align: right;
    color: #44444f;
    text-decoration: none;
    font-family: narkisblock, serif;
    padding: 8px 10px;
}

div#active_orders {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 20px;
    background-color: #ffdcd5;
    margin-bottom: 10px;
}

div#active_orders a {
	font-size: 15px;
	font-weight:bold;
	color: #ec6c61;
	text-decoration:underline;
}

tr.invoice_payment_row td {
	position:relative;
}

img.calc_vat {
    width: 19px;
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
	display:none;
	cursor:pointer;
}

.total_cell:hover img.calc_vat {
	display:block;
}

#side_company_logo {
	max-width: calc(100% - 10px);
	max-height:50px;
	margin:0 auto;
}


#refund_delivery_con {
	display: flex;
	justify-content: space-between;
	flex-flow: wrap;
}
}


/* ---------------------------------------------------------------------------
   DataTables 1.13 header fixes (upgraded from 1.10.19).

   Two regressions came from the version jump, both fixed here:

   1. Sort arrows. 1.10 drew them as background images (sort_both.png), which
      cost no layout space. 1.13 renders them as :before/:after text arrows and
      reserves padding-right:26px on every sortable header. That reserved space
      was wrapping header labels onto a second line.

   2. Header alignment. 1.10 only set text-align on opt-in .dt-head-* classes.
      1.13 added a blanket `table.dataTable thead th { text-align: left }`,
      which left-aligns headers on this RTL site.

   Sorting still works — headers remain clickable, only the indicator is gone.

   Deliberately NOT keyed on the .sorting_* classes: DataTables applies those at
   runtime and varies them by state, so matching thead cells directly is what
   makes this reliable. tbody keeps its sorting_1/2/3 ordered-column highlight,
   which is why every selector below is scoped to thead/tfoot.
   --------------------------------------------------------------------------- */

/* NOTE: the sort arrows themselves are NOT disabled here. Overrides from this
   file did not win the cascade against the DataTables rules in practice, so the
   arrow declarations were removed at source in
   libraries/DataTables/jquery.dataTables.css — see the LOCAL MODIFICATIONS
   block in that file. Re-apply it after any DataTables upgrade. */

/* Single-line header titles. nowrap is what guarantees no second line,
   independent of how narrow the column gets. */
table.dataTable thead th,
table.dataTable thead td,
.dataTables_wrapper thead th,
.dataTables_wrapper thead td {
	padding-right: 10px !important;
	white-space: nowrap !important;
}

/* `inherit` rather than a hard `right` so this follows the surrounding
   direction — the RTL body gives right, and the one LTR region on the site
   still gets left. */
table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
	text-align: inherit !important;
}