﻿
@media only screen and (max-width: 1100px)
{
	.wrapper {padding-right:0!important;}
	#sidebar {margin-right: -16rem;}
	.panes{margin-top: -1px;}
	.tabs {flex-wrap: nowrap;overflow: auto hidden;}
	.container-fluid {display: block;}
	.header-nav .nav-link {text-align: center;}
	.notification {right: -15px;}
	.header-nav .nav-link .nav-icon {width: 26px;}
	.header-nav:not(.header-left) li {margin-right: 2rem;}
	.header-nav {margin-top: .5rem;}
	.header {min-height: 3.5rem;height: 3.5rem;}
	.container-fluid {display: block;position: relative;}

	.nav-menu{margin-right: .75rem !important;display: block;margin-left: .2rem;}
	.mob-menu #sidebar {margin-right: 0;}
	.mob-menu .back-blur, .side-x{display:block}

	/* The header's left links - the site, help, the account - are a bar fixed at the foot of the screen, as in /a/. They were
	   a second header row behind a chevron nobody understood (owner, 2026-10-30). Their menus open upward from it. */
	.wrapper{padding-bottom:62px}
	.header-nav.header-left{position:fixed;inset-inline:0;bottom:0;z-index:1031;display:flex;margin:0!important;height:58px;
		padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #ebedef;box-shadow:0 -2px 6px rgba(0,0,0,.04)}
	.header-nav.header-left>li{flex:1;display:flex;justify-content:center;align-items:stretch;margin:0;position:relative}
	.header-nav.header-left .nav-sep{display:none !important}
	.header-nav.header-left .nav-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;
		height:auto!important;margin:0!important;top:0!important;padding:0;font-size:.78rem;line-height:1.2;white-space:nowrap;vertical-align:initial!important}
	.header-nav.header-left .nav-link .nav-icon{width:22px;height:22px!important;margin:0!important;vertical-align:middle!important}
	.header-nav.header-left .nav-user{width:auto;background:none;border-radius:0;color:rgba(44,56,74,0.53)!important}
	.header-nav.header-left .nav-user svg,.header-nav.header-left .nav-user img{width:24px!important;height:24px!important;border-radius:50%;
		background:rgba(44,56,74,0.25);color:#fff;padding:3px}
	.header-nav.header-left .nav-user img{padding:0}
	.header-nav.header-left .nav-user::after{content:"החשבון שלי"}
	.header-nav.header-left .dropdown-menu{top:auto;bottom:calc(100% + 8px);left:8px;transform:translateY(15px)}
	.header-nav.header-left .rel .dropdown-menu{left:50%;transform:translate(-50%,15px)}
	.header-nav.header-left .dropdown-menu.show{transform:translateY(0)}
	.header-nav.header-left .rel .dropdown-menu.show{transform:translate(-50%,0)}
	.header-nav.header-left .dropdown-menu-arrow::before{display:none}
	/* the bell: the fourth item, its panel the width of the screen above the bar */
	.header-nav.header-left .li-bell{position:static}
	.header-nav.header-left .nav-bell::after{content:"הודעות"}
	.header-nav.header-left .notification.ntc{left:calc(50% + 2px);right:auto;top:5px;height:17px;min-width:17px;padding:0 4px;font-size:.62rem;line-height:1.3}
	.header-nav.header-left #divAlerts{left:8px;right:8px;width:auto;max-width:none;transform:translateY(15px)}
	.header-nav.header-left #divAlerts.show{transform:translateY(0)}
	.ntc-list{max-height:55vh}

	.scrollContent {overflow: auto !important;}
	.data .pagination table{float:right;}
	.side-arr,.apexcharts-toolbar,.fakeScrollBar,.header-nav .nav-sep{display:none !important;}
	.header-nav:not(.header-left) li:nth-child(2) {margin-right: 2.5rem;}
	.mobNoWrap{white-space:nowrap}
}

@media only screen and (max-width: 767px)  
{
	.fval{color: var(--danger);margin: 2px 2px 0 0;font-size: .82rem;}
	.mob-100{width: 100%;flex: 0 0 100%;max-width: none;}
	.mob-mb{margin-bottom:1rem}
	.mob-mt{margin-top:1rem}
	.mob-mt0{margin-top:0}
	.mob-mti{margin-top:1rem !important}
	.mob-kids-100 > * {width: 100% !important;}
	.mob-pad-kids0 > *{padding-right:0 !important;padding-left:0 !important;}
	.mob-pad-kids0 > * label.lblForm{right: 7px;}
	.mob-top-m1:not(:first-child) {margin-top: calc(var(--cui-gutter-y) * 1.1);}
	.mob-top-m2{margin-top: calc(var(--cui-gutter-y) * 1.5);}
	.split-form > :nth-child(2n+1) .form-addon {left: 0;}

	.mob-flex1{flex: 1 0 auto;}
	.mob-flex-wrap{flex-wrap:wrap}
}

@media only screen and (max-width: 690px)  
{
	.pop-mob-mt{margin-top:1rem}

	.mob-search{flex-direction: column-reverse;}
	.mob-txt{flex: 0 0 38%;}
	/*.mob-search select{flex: 0 0 30%;}*/
	.mob-txt input, .mob-search select{width:100% !important;}
	.pop-mob-flex1{flex: 1 0 auto;}
	
}

@media (max-width: 599px){
	.mob-hide{display:none !important;}
	.mob-only{display:initial}
	.cp-color-picker{transform: translate(-15px,-15px);}
}

/* a narrow phone (375px): the menu button and the three counters on one line - smaller words, icons and badges, closer */
@media only screen and (max-width: 420px)
{
	.header-nav:not(.header-left) li {margin-right: 2rem;}
	.header-nav:not(.header-left) li:nth-child(2) {margin-right: 2.2rem;}
	.header-nav:not(.header-left) .nav-link {font-size: .95rem;white-space: nowrap;}
	.header-nav:not(.header-left) .nav-link .nav-icon {width: 24px;height: 1.35rem !important;}
	.header-nav:not(.header-left) .notification {height: 18px;min-width: 18px;padding: 0 4px;font-size: .65rem;line-height: 1.35;top: -8px;left: calc(100% - 11px);}
	.nav-menu {margin-right: .35rem !important;}
}

@media only screen and (max-width: 479px)
{
	.modal-title span{display:block;margin:0;}
	.rad label {margin-left: 2rem;}
	.mob-no-abs{position:static}
	.toggle ~ .fa-help {left: 65px;}
	.grow{flex: 1 0 auto;max-width: none;}
	.mob-mr-auto{margin-right:auto}

	.mob-hide-icon .btn .icon{display:none;}

	.m-order1{order:1}
	.m-order2{order:2}
	.m-order3{order:3}
	.m-order4{order:4}
	.m-order5{order:5}
	.m-order6{order:6}
}


/* Min */
@media (min-width: 576px){
	.modal {--modal-margin: 1.75rem;}
	.col-sm-6 {flex: 0 0 auto;width: 50%;}
	.col-sm-3 {flex: 0 0 auto;width: 25%;}
	.col-sm-2 {flex: 0 0 auto;width: 22.2222%;}
}

@media (min-width: 600px){
	.col-md-6 {flex: 0 0 auto;width: 50%;}
	.col-md-33 {flex: 0 0 auto;width: 33.33%;}
	.col-lg-4 {flex: 0 0 auto;width: 50%;}
	.col-lg-100{flex: 0 0 auto;width: 100%;}
	.form-fieldset{padding:1rem;/*margin-bottom:1rem;*/background:var(--mainul);border:1px solid var(--mainul-border);border-radius:6px}
	.form-fieldset.clean{padding:0 1rem;margin:0;}
	.high-y{--cui-gutter-y: 2.1rem;}
	.modal-full{--modal-width: 90vw;--modal-margin:1rem;}
	.modal-max{--modal-width: 98vw;--modal-margin:1rem;}
	.col-r-space{margin-right: auto;width: 40%;}
}

@media (min-width: 800px){

	/*.modal-lg, .modal-xl {--modal-width: 720px;}*/
	.card-md > .card-body {padding: 2.5rem 2.5rem 2.3rem;}
	.col-lg-3 {flex: 0 0 auto;width: 33.33%;}
	.col-lg-9 {flex: 0 0 auto;width: 66.66%;}

	.col-lg-14 {flex: 0 0 auto;width: 40%;}
	.col-lg-16 {flex: 0 0 auto;width: 60%;}
}
@media only screen and (min-width: 1100px)
{
	/*.fval{display:none !important;}*/

	.sidebar-closed .sidebar{width:5rem;overflow:hidden}
	.sidebar-closed .sidebar:hover{width:16rem;box-shadow:-1px 0 10px 0 rgba(0,0,0,0.28)}
	.sidebar-closed .sidebar .nav-group-items .nav-link{padding-right:1.5rem}
	.sidebar-closed .sidebar:hover .nav-group-items .nav-link{padding-right:2.2rem}
	.sidebar-closed .comp-name,.sidebar-closed .nav-link-text{opacity:0}
	.sidebar-closed .sidebar:hover .comp-name{opacity:.9}
	.sidebar-closed .sidebar:hover .nav-link-text{opacity:1}
	.sidebar-closed .side-arr{transform:scaleX(1)}
	.sidebar-closed .wrapper{padding-right:5rem}
	
	.col-md-60 {flex: 0 0 auto;width: 60%;}
}

@media only screen and (min-width: 990px)
{
	
}

@media (min-width: 1400px)
{
	.page-title {font-size: 2rem !important;}
	.main {max-width: var(--max-with);}
}


@media only screen and (max-width: 1380px)  
{
	.data-space{display:none;}
	.modal-full{--modal-width: 95vw;--modal-margin:.75rem;}
}

@media only screen and (min-width: 1270px)  
{
	.col-lg-3 {flex: 0 0 auto;width: 25% !important;}
	.col-lg-4 {flex: 0 0 auto;width: 33.33333333%;}
	.col-lg-9 {flex: 0 0 auto;width: 75%;}
	.col-lg-6 {flex: 0 0 auto;width: 66.6666%;}
	.col-md-2 {flex: 0 0 auto;width: 16.66666667%;}
}

@media only screen and (max-width: 950px) 
{
	.tab-100{width: 100%;}
	.tab-50{width: 50%;}
}
