/* 
	https://css-tricks.com/books/volume-i/scale-typography-screen-size/ 
	https://www.madebymike.com.au/writing/fluid-type-calc-examples/
*/
html {
	font-size: 1rem;
}

@media screen and (min-device-width: 1025px) and (max-device-width: 1280px) {
	html {
		font-size: calc(12px + (14 - 12) * ((100vw - 300px) / (1280 - 300)));
		line-height: calc(1.3em + (1.5 - 1.2) * ((100vw - 300px)/(1280 - 300)));
	}
}

body {
	/*background-color: #eee;*/
	font-weight: 400;
}

/*reset css*/
ol, ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

li {
	margin: 0;
	padding: 0;
}
/*end:reset css*/

/*
	http://www.colorcombos.com/color-schemes/138/ColorCombo138.html
	627894	A0AEC1	466289	DBE8F9	FA6121	FFB739
*/
/*nav bars*/
.app-popup .navbar.fixed-top {
	background-color: #14498A;
}

.classic-tabs ul.nav {
	background-color: #909EAC;
}

.classic-tabs .nav {
	border-radius: 0;
}

	.classic-tabs .nav li a {
		font-size: inherit;
		padding: .85rem 1rem;
	}

.tab-content {
	padding-top: 1rem;
}
/*end:navbars*/

.table .thead-dark th {
	background-color: #627894;
}

/*bootstrap multiple modals -- scroll issue when closing the top one*/
.modal {
	overflow: auto !important;
	padding: 10px !important;
}

/*end: bootstrap multiple modals -- scroll issue when closing the top one*/

/*jqgrid sales color-codding*/
.jqgrow.qsale {
	background-color: #FFFFD7 !important;
	background-image: none;
}

.jqgrow.quote {
	background-color: #FFDFE4 !important;
	background-image: none;
}

.jqgrow.canceled {
	background-color: #D7ECFF !important;
	background-image: none;
}
/*end: jqgrid sales color-codding*/

/*application footer*/
#slide-out li.footer-copyright {
	margin-top: 4rem;
	margin-bottom: 1rem;
}

	#slide-out li.footer-copyright a {
		line-height: 1rem;
	}

		#slide-out li.footer-copyright a span {
			display: block;
		}
/*end:application footer*/


table input[type="radio"]:not(:checked),
table input[type="radio"]:checked {
	position: relative;
	left: 0;
	visibility: inherit;
	cursor: pointer;
}

table.x-table-last-nowrap td:last-child {
	white-space: nowrap;
}

.error {
	color: red;
}

.happy-f {
	background: url(images/btns/smiley_green_24x23.gif) no-repeat right;
	padding-right: 23px;
}

.sad-f {
	background: url(images/btns/smiley_red_24x23.gif) no-repeat right;
	padding-right: 23px;
}

/*font awesome
	http://astronautweb.co/snippet/font-awesome/
*/
.navbar .nav-item .nav-link .fas,
.navbar .nav-item .nav-link .fab,
.navbar .nav-item .nav-link .far,
.navbar .nav-item .nav-link .fad {
	padding-right: 3px;
	padding-left: 3px;
}

.nav .nav-item .fas,
.nav .nav-item .fab,
.nav .nav-item .far {
	padding-right: 8px;
}

.dropdown-item .fas,
.dropdown-item .fab,
.dropdown-item .far {
	padding-right: 4px;
}

.fa.fa-window-close {
	cursor: pointer;
}

.happy:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f118";
	color: green;
}

.sad:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f119";
	color: #cc0000;
}

.edititem:before, .editable:before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: "\f044";
    padding-right: 4px;
}

.mapmarker:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f041";
}

.additem:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f055";
}

.deleteitem:before, .delete:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f1f8";
	padding-right: 4px;
}

table a.delete,
table a.deleteitem,
table a.edititem {
	margin-right: 0 !important;
}

.remove:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f00d";
}

.properties:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f35d";
}

.summary-r:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f200";
}

.analyze:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f002";
}

.history:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f1da";
}

.newaccnt:before, .yes-chk:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f00c";
	color: green;
}

.no-chk:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f05e";
	color: orange;
}


.ban:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f05e";
}

.reveal:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f05a";
	color: orangered;
}

.lock:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f023";
}

.xls:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f1c3";
}

.pdf:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f1c1";
}

.repgroup:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f1ad";
}

.v-scard:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f11e";
}

.download:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	content: "\f019";
}

.arrow-down:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f063";
}

.arrow-up:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f062";
}


/*no fa icons should be defined after this point */
.fa-0:before {
	padding-right: 0;
}

/*font awesome: end*/

button {
	cursor: pointer;
}

	button.emphasize:focus {
		font-size: 120% !important;
	}

.currency {
	color: #0033CC;
}

	.currency[data-val^="-"] {
		color: #DD0000;
	}

/*commissions splits*/
table.splits input[type="text"] {
	width: 80px;
	text-align: right;
	padding-right: 8px;
}

table.splits tr.template td {
	padding-top: 2rem;
}

table.splits tbody tr:last-child {
	display: none;
}

table.splits tfoot {
	text-align: right;
}

	table.splits tfoot tr:nth-child(2) {
		display: none;
	}

		table.splits tfoot tr:nth-child(2) td:nth-child(2) {
			color: red;
		}
/*commissions splits:end*/

/*label print*/
.item_label_print_dialog [data-rel="group"] ul li:first-child a {
	display: none;
}
/*end:label print*/

@media (max-width: 768px) {
	.gridsearch .form-inline input[type="text"] {
		width: 8rem;
	}
}

/* Start: New icons */
@font-face {
    font-family: 'icomoon';
    src: url('font/icons/icomoon.eot?7k1605');
    src: url('font/icons/icomoon.eot?7k1605#iefix') format('embedded-opentype'), url('font/icons/icomoon.ttf?7k1605') format('truetype'), url('font/icons/icomoon.woff?7k1605') format('woff'), url('font/icons/icomoon.svg?7k1605#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.side-nav .collapsible [class^="icon-"], .side-nav .collapsible [class*=" icon-"] {
    font-size: 1.1rem;
    margin-right: 13px;
    display: inline-block;
}

.navbar .nav-item .nav-link [class^="icon-"], .navbar .nav-item .nav-link [class*=" icon-"] {
    padding-right: 3px;
    padding-left: 3px;
    font-size: 1.1rem;
}

.icon-commissions:before {
    content: "\e900";
}

.icon-communication:before {
    content: "\e901";
}

.icon-customer:before {
    content: "\e902";
}

.icon-dashboard:before {
    content: "\e904";
}

.icon-exportlist:before {
    content: "\e905";
}

.icon-file:before {
    content: "\e906";
}

.icon-home:before {
    content: "\e907";
}

.icon-list:before {
    content: "\e908";
}

.icon-myorganization:before {
    content: "\e909";
}

.icon-open-sales:before {
    content: "\e90a";
}

.icon-products:before {
    content: "\e90b";
}

.icon-report:before {
    content: "\e90c";
}

.icon-run-report:before {
    content: "\e90d";
}

.icon-sale:before {
    content: "\e90e";
}

.icon-summaries:before {
    content: "\e910";
}

.icon-training:before {
    content: "\e911";
}

.icon-users:before {
    content: "\e912";
}

.icon-vendors:before {
    content: "\e913";
}

/* End: New icons */


.news-messenger {
    height: 60px !important;
    visibility: hidden;
}

.news-messenger-container {
    z-index: 1042;
    background: white;
    border-radius: 50%;
    bottom: 20px;
    left: 165px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transform-origin: center center;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    position: fixed;
}

.news-messanger-icon {
    position: absolute;
    fill: #224562;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    top: 0px;
    bottom: 0px;
    width: 100%;
    transition: transform 0.16s linear 0s, opacity 0.08s linear 0s;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.news-messenger-dialog {
    left: 10px;
    bottom: 60px;
    position: fixed;
}
