﻿/*
	RETELIT css colors
	blue #043f75
	azure #0664bb
*/

body {
	font-family: 'Montserrat';
}

/* MAIN */

.sc_loader {
	display: inline-block;
	animation: fa-spin 1s linear infinite !important;
	will-change: transform;
}

@keyframes fa-spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* anche se il sistema chiede "riduci animazioni", tu la mantieni */
@media (prefers-reduced-motion: reduce) {
	.sc_loader {
		animation: fa-spin 1s linear infinite !important;
	}
}

main {
	position:relative;
	overflow: hidden;
	margin-top:200px;
	min-height:calc(100vh - 200px);
}

main #section-title {
	z-index: 200;
    position: fixed;
	top:100px;
    width: 100%;
	height:100px;
	color:#043f75;
	border-bottom: solid 1px #043f75;
	background-color:#fff;
}
main #section-title-main i {
	position: absolute;
	top: 31px;
    left: 36px;
    font-size: 26px;
	color:#043f75;
}
main #section-title-main h1 {
	padding-left:58px;
	margin:30px 0 10px;
	line-height:30px;
}
main #section-title-main h4 {
	padding-left:60px;
	margin-top:0;
}
main #section-title-side {
	position:relative;
	width:100%;
	height:100%;
	text-align:right;
}
main #section-title-side h2 {
	position:absolute;
	bottom:10px;
	right:0;
	margin:0;
	font-size:26px;
}

main #section-workarea{
	position:relative;
	z-index:50;
	margin:35px 0;
}

main #section-workarea .table{
	font-size:10px;
	font-weight:500;
}
main #section-workarea .table .table-order {
	cursor:pointer;
}
main #section-workarea .table .row_pdf{
	display:inline-block;
	cursor:pointer;
	color:#a94442;
}
main #section-workarea .table .row_message {
	display:inline-block;
	cursor:pointer;
	color:#043f75;
}
main #section-workarea .table .row_open {
	display:inline-block;
	cursor:pointer;
	color:#043f75;
}
main #section-workarea .table .row_details {
	display: inline-block;
	cursor: pointer;
	color: #043f75;
}
main #section-workarea .table .row_edit {
	display: inline-block;
	cursor: pointer;
	color: #043f75;
}
main #section-workarea .table .row_clone {
	display:inline-block;
	cursor:pointer;
	color:#043f75;
}
main #section-workarea .table .row_basket {
	display:inline-block;
	cursor:pointer;
	color:#043f75;
}
main #section-workarea .table .row_delete {
	display:inline-block;
	cursor:pointer;
	color:#043f75;
}

@media all and (max-width: 1024px) {
	main #section-title-main i {
		font-size: 26px;
	}
	main #section-title-main h1 {
		padding-left:58px;
		margin:35px 0 10px;
		line-height:24px;
		font-size:24px;
	}
	main #section-title-main h4 {
		font-size:11px;
	}
	main #section-title-side h2 {
		font-size:16px;
	}
}

@media all and (max-width: 992px) {
	main #section-title-side {
		height: 25px;
	}
}

@media all and (max-width: 768px) 
{
	main {
		margin-top:260px;
	}
	main #section-title {	
		top:160px;
	}
	main #section-title-main i {
		position: absolute;
		top: 18px;
		left: 40px;
		font-size: 20px;
		color:#043f75;
	}
	main #section-title-main h1 {
		padding-left:58px;
		margin:20px 0 10px;
		line-height:20px;
		font-size:20px;
	}
	main #section-title-main h4 {
		font-size:9px;
	}
	main #section-title-side h2 {
		font-size:16px;
	}
}

/* DOWNLOADS  */

.col-downloads ul li a {
	webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -ms-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 500ms linear;
	position:relative;
	display:inline-block;
	font-size:11px;
	padding-left:25px;
	padding-bottom:2px;
	margin-bottom:10px;
	color:#000;
	border-bottom:solid 1px transparent;
}
.col-downloads ul li a:hover {
	border-bottom-color:#000;
}
.col-downloads ul li a i {
	position:absolute;
	top:0;
	left:0;
}

/* HEADER */

header {
	z-index: 905;
	position: fixed;
	top:0;
	left:0;
	width:100%;	
}

header #main-menu {
	position: fixed;
	width:100%;
	height:100px;
    z-index: 905;
	color:#043f75;
    background-color: #ffffff;
    box-shadow: 0 6px 40px rgb(0 0 0 / 10%);
}

header #main-menu .logo {
	padding-top:15px;
	padding-bottom:25px;
}
header #main-menu .logo svg {
	width:60%;
	max-width:240px;
	height:auto;
}

header #main-menu .side {
	padding-top:10px;
	padding-bottom:5px;
	text-align:right;
}

header #main-menu .side #user {
	padding:10px 15px 10px;
	border-bottom:solid 1px #e8e8e8;
}

header #main-menu .side #languages {
	list-style:none;
	margin:0;
	padding:0;
}
header #main-menu .side #languages li {
	display:inline-block;
}
header #main-menu .side #languages li a {
	webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -ms-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 500ms linear;
	position:relative;
	display:block;
	padding:10px 10px 2px;
	font-size: 14px;
	color:#808080;
}
header #main-menu .side #languages li a.active,
header #main-menu .side #languages li a:hover {
	color:#043f75;
}
header #main-menu .side #languages li a:after {
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: 0px;
    border-bottom: 1px solid #043f75;
    bottom: 0;
    left: 0;
    margin-left: 10px;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: -webkit-transform 0.2s ease-in;
    transition: transform 0.2s ease-in;
    box-sizing: border-box;
}
header #main-menu .side #languages li a.active:after,
header #main-menu .side #languages li a:hover:after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

header #main-menu #side-menu-button {
	-webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
	z-index: 900;
	position:absolute;
	bottom:-30px;
	left:0px;
	width:30px;
	height:30px;
	border-right:solid 1px #e8e8e8;
	border-bottom:solid 1px #e8e8e8;
	background-color:#fff;	
	cursor:pointer;
}
header #main-menu #side-menu-button::before {
    font-family: "Font Awesome 5 Free"; 
	font-weight: 900; 
	content: "\f0c9";
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
 }
header #main-menu #side-menu-button:hover,
header #main-menu #side-menu-button.active {
	color:#fff;
	background-color:#043f75;
}
header #main-menu #side-menu-button.active {	
	left:330px;
}
header #main-menu #side-menu-button.active::before {
	content: "\f053";
 }

header #main-menu #side-menu {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    z-index: 900;
    position: fixed;
    top:100px;
	left: -330px;
    width: 330px;
    height: 100%;
    border-right: solid 1px #e3e3e3;
    background-color: #043f75;
	color:#fff;
}
header #main-menu #side-menu.active {
    left: 0px;
}
header #main-menu #side-menu #side-menu-content {
    padding:30px 10px;
}

header #main-menu #side-menu #side-menu-content h5 {
	text-transform:uppercase;
	font-weight:400;
	font-size:22px;
}

header #main-menu #side-menu #side-menu-content #side-menu-items {
	margin:0;
	padding:0;
	list-style:none;
}
header #main-menu #side-menu #side-menu-content #side-menu-items li {
	display:block;
	position:relative;
}
header #main-menu #side-menu #side-menu-content #side-menu-items li a {
	webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -ms-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 500ms linear;
	position:relative;
	display:inline-block;
	padding:10px 0px 2px 25px;
	font-size: 14px;
	color:#fff;
}
header #main-menu #side-menu #side-menu-content #side-menu-items li a i {
	position:absolute;
	top:12px;
	left:2px;
 }
header #main-menu #side-menu #side-menu-content #side-menu-items li a:after {
    content: '';
    position: absolute;
    width: calc(100% - 25px);
    height: 0px;
    border-bottom: 1px solid #fff;
    bottom: 0;
    left: 0;
    margin-left: 25px;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: -webkit-transform 0.2s ease-in;
    transition: transform 0.2s ease-in;
    box-sizing: border-box;
}
header #main-menu #side-menu #side-menu-content #side-menu-items li a.active:after,
header #main-menu #side-menu #side-menu-content #side-menu-items li a:hover:after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

header #main-menu #side-menu #side-menu-content #side-menu-items li #customers-alias-list-container {
	margin-top:20px;
	padding-top:20px;
	border-top:solid 1px #0664bb;
}
header #main-menu #side-menu #side-menu-content #side-menu-items li #customers-alias-list-container label {
	font-weight:400;
}
header #main-menu #side-menu #side-menu-content #side-menu-items li #customers-alias-list-container input {
	background-color:transparent;
	color:#fff;
}

header #main-menu #side-menu #side-menu-content #side-menu-footer {
	margin:20px 0;
	padding:10px 0;
	border-top:solid 1px #0664bb;
}
header #main-menu #side-menu #side-menu-content #side-menu-footer svg {
	width:50%;
	height:auto;
}
header #main-menu #side-menu #side-menu-content #side-menu-footer svg path,
header #main-menu #side-menu #side-menu-content #side-menu-footer svg polygon {
	fill:#fff;
}
header #main-menu #side-menu #side-menu-content #side-menu-footer p {
	padding-left:40px;
	font-size:10px;
}
header #main-menu #side-menu #side-menu-content #side-menu-footer a {
	-webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
	display:inline-block;
	color:#fff;
	padding:5px 0 2px;
	border-bottom:solid 1px transparent;
}
header #main-menu #side-menu #side-menu-content #side-menu-footer a:hover {
	border-bottom-color:#fff;
}

@media all and (max-width: 1024px) {

	header #main-menu .side #user {
		font-size: 12px;
	}

	header #main-menu .side #languages li a {
		font-size: 12px;
	}
}

@media all and (max-width: 768px) 
{
	header #main-menu {
		height: 160px;
	}
	header #main-menu .logo {
		text-align:center;
		padding-bottom:5px;
	}
	header #main-menu .side {
		text-align:center;
		padding-top:0;
	}
	header #main-menu #side-menu {
		top:160px;
	}
}

/* WORKAREA */
#section-workarea {
	margin-left:15px;
	margin-right:15px;
}

@media all and (max-width: 768px) 
{
	#section-workarea {
		margin-left:-15px;
		margin-right:-15px;
	}
}
/* COMMONS */

a, a.active, a:active, a:hover, a:focus{
	text-decoration:none !important;
}

#page-overlay {
    z-index: 895;
    position: fixed;
	top:0;
    width: 0;
    height: 0;
    background-color: rgba(255,255,255,0.4);
}
#page-overlay.active {
    width: 100%;
    height: 100%;
}

#page-loader{
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 999;
	background-color:#fff;
}
#page-loader i{
	position: absolute;
	left: 50%;
	top: 50%;
	transform:translate(-50%, -50%);
	color:#043f75;
}

.btn.active.focus, 
.btn.active:focus, 
.btn.focus, 
.btn:active.focus, 
.btn:active:focus, 
.btn:focus {
    outline: none;
    outline-offset: 0;
}

.easy-autocomplete-container ul {
	list-style:none;
	margin:0;
	padding: 4px 12px;
	font-size:10px;
	letter-spacing:1px;
}
.easy-autocomplete-container ul li {
	position:relative;
	display:block;
	clear:both;
	cursor:pointer;
	padding-top:2px;
	margin:4px 0;
	border-top:solid 1px #014e96;
}
.easy-autocomplete-container ul li span {
	display:block;
	float:left;
	padding:2px 0 2px 5px;
}
.easy-autocomplete-container ul li span.IDcustomer {
	width:60px;
	border-right:solid 1px #fff;
}
.easy-autocomplete-container ul li span.customer {
	width:calc(100% - 60px);
	text-transform:lowercase;
}

ul {
	list-style:none;
	margin:0;
	padding:0;
}

.btn-primary {
    color: #fff;
    background-color:#043f75;
}

.equal, .row.equal {
    display: flex;
	flex-wrap: wrap;
}

.datepicker table tr td.active.active, 
.datepicker table tr td.active.disabled.active, 
.datepicker table tr td.active.disabled:active, 
.datepicker table tr td.active.disabled:hover.active, 
.datepicker table tr td.active.disabled:hover:active, 
.datepicker table tr td.active:active, 
.datepicker table tr td.active:hover.active, 
.datepicker table tr td.active:hover:active {
    background-color: #043f75 !important;
}

.tooltip-inner {
	font-size: 12px;
	background-color:#043f75;
	border: 1px solid #043f75;
}
.tooltip.top .tooltip-arrow {
	border-top-color: #043f75;
}
.tooltip.bottom .tooltip-arrow {
	border-bottom-color: #043f75;
}
.tooltip.left .tooltip-arrow {
	border-left-color: #043f75;
}
.tooltip.right .tooltip-arrow {
	border-right-color: #043f75;
}

/**/


/* CHECKBOX AND RADIO */
.checkbox-custom {
	display: block;
	position: relative;
	font-size:14px;	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.checkbox-custom label{
	display: inline-block;
	position: relative;	
	margin-right: 10px;
}
.checkbox-custom label small {
	display: inline-block;
	padding: 7px 0px 0px 30px;
	text-transform: none;
	font-size:100%;
	font-weight:normal;
	line-height: 1.6;
}
.checkbox-custom label.extra small {
	padding: 7px 0px 0px 0px;
}
.checkbox-custom input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.checkmark {
	position: absolute;
	top: 4px;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #e8e8e8;
	-webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -ms-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 500ms linear;
}
.checkbox-custom:hover input ~ .checkmark {
	background-color: #ccc;
}
.checkbox-custom input:checked ~ .checkmark {
	background-color: #204d74;
}
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
.checkbox-custom input:checked ~ .checkmark:after {
	display: block;
}
.checkbox-custom .checkmark:after {
	left: 9px;
	top: 5px;
	width: 7px;
	height: 12px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.has-error .checkbox-custom .checkmark {
	border-bottom: solid 1px #a94442;
}

.radio-custom {
	display: block;
	position: relative;
	font-size:14px;	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.radio-custom label{
	display: inline-block;
	position: relative;
	margin-right: 10px;
}
.radio-custom label small {
	display: inline-block;
	padding: 7px 0px 0px 30px;
	text-transform: none;
	font-size:100%;
	font-weight:normal;
	line-height: 1.6;
}
.radio-custom label.extra small {
	padding: 7px 0px 0px 0px;
}
.radio-custom input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.radio-custom .checkmark {
	position: absolute;
	top: 4px;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #e8e8e8;
	border-radius: 50%;
	-webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -ms-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 500ms linear;
}
.radio-custom:hover input ~ .checkmark {
	background-color: #ccc;
}
.radio-custom input:checked ~ .checkmark {
	background-color: #204d74;
}
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
.radio-custom input:checked ~ .checkmark:after {
	display: block;
}
.radio-custom .checkmark:after {
	top: 8px;
	left: 8px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: white;
}

.has-error .radio-custom .checkmark  {
	border-bottom: solid 1px #a94442;
}
