body, html {
	background: [CONTRAST-COLOR];
	font-size: 14px;
    font-family: [DEFAULT-FONT], sans-serif;
	overflow: auto;
}

header{
	position: fixed;
	width: 100%;
	z-index: 1;
	margin-top: [LARGE-UNIT];
	padding: [SMALL-UNIT] 0;
	background: [CONTRAST-COLOR]f7;
}

header > *:first-child{
	margin-left: [LARGE-UNIT];
}

header > *:last-child{
	margin-right: [LARGE-UNIT];
}

footer{
	background-color: #111111;
	color: #666;
	margin-top: calc([LARGE-UNIT]*2);
}

footer > * {
	max-width: 1080px;
	margin: auto;
}

#sp-main-content{
	margin-top: calc([LARGE-UNIT]*3.7);
}

.sp-menu-item-label{
	font-weight: bold;
	margin-left: [DEFAULT-UNIT];
}

.sp-sitebar{
	position: fixed;
	width: 100%;
	z-index: 10;
	height: calc([LARGE-UNIT]*1);
	background-image: linear-gradient( to right, [PRIMARY-COLOR] 0%, [PRIMARY-COLOR]cc 80%, [PRIMARY-COLOR]cc 90%, [SECONDARY-COLOR] 100% );
}

.sp-sitebar a{
	color: [CONTRAST-COLOR];
}

.sp-sitebar > *{
	height: 100%;
}

.sp-sitebar > * >*{
	padding: 0 [LARGE-UNIT];
}

.sp-main-content h1{
	text-align: center;
	font-weight: 600;
	text-transform: uppercase;
	font-size: [LARGE-UNIT];
	padding: calc([LARGE-UNIT]*2) 0 0;
	color: [DEFAULT-COLOR];
}

.sp-main-content h1:after{
	content: "";
	border-bottom-color: #0b4585;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	width: [LARGE-UNIT];
	display: block;
	margin: [DEFAULT-UNIT] auto 0;
}

.sp-main-content-content{
	text-align: center;
	margin: auto;
	font-weight: 300;
	font-size: 25px;
	line-height: 1.8rem;
	color: [MUTED-COLOR];
	max-width: 1080px;
}
.sp-main-content-content p{
	margin: auto;
}

.site-content{
	text-align: left;
	font-weight: normal;
	font-size: 1.2rem;
	color: [DEFAULT-COLOR];
	margin-top: [LARGE-UNIT];
}

.sphere-dialog .sp-main-content-content{
	font-weight: normal;
	font-size: 1rem;
	line-height: 1.1rem;
	text-align: left;
	padding: [DEFAULT-UNIT];
}

.sphere-dialog .sp-main-content-content li{
	margin-bottom: [SMALL-UNIT];
	line-height: 1.1rem;
}
.sphere-dialog .sp-main-content-content li:last-child{
	margin-bottom: 0;
}

.sphere-dialog .sp-main-content-content ul{
	margin: [SMALL-UNIT] 0;
}

.home-counters{
	justify-content: space-between;
}

.sp-main-content-content p{
	max-width: 800px;
	
}

.sp-main-content-content.sp-login{
	padding: calc([LARGE-UNIT]*3) calc([LARGE-UNIT]*10);
}

.sp-content-image-top{
	position: relative;
}

.sp-content-image-top img{
	opacity: 0.8;
	max-width: 100%;
}

.sp-content-image-top .sp-content-text-top{
	text-transform: uppercase;
	white-space: nowrap;
	font-size: 70px;
	line-height: 70px;
	font-weight: 600;
	color: [SECONDARY-COLOR];
	position: absolute;
	top: 25%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-shadow: 0 0 4px rgba(255,255,255,0.8);
}

.sp-content-image-top .sp-content-text-top-sub{
	text-transform: uppercase;
	white-space: nowrap;
	font-size: 150px;
	line-height: 150px;
	font-weight: 700;
	letter-spacing: 0px;
	color: [CONTRAST-COLOR];
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	transition:  all 0.8s ease;
	text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

.home-counters{
	color: [DEFAULT-COLOR];
	font-size: 1.3rem;
	font-weight: bold;
}

.home-counters [data-counter]{
	color: [PRIMARY-COLOR];
	font-size: 3rem;
}

.scrollspy{
	opacity: 0;
}

.sp-login{
	max-width: 100%;
}

.sp-login-title {
    font-weight: bold;
    color: [PRIMARY-COLOR];
}

.sp-login-description{
	font-size: 1.3rem;
}

.des{
	text-align: left;
	line-height: 1.8rem;
}

.sp-res-menu-container .sp-res-menu-title h1{
	text-align: left;
	padding: 0;
}

.sp-res-menu-container .sp-res-menu-title h1:after{
	margin: 0;
}

.sp-res-menu-title {
	margin-left: [DEFAULT-UNIT];
    flex-grow: 1;
    flex-basis: 0;
}

.sp-res-menu-items {
	margin-right: [DEFAULT-UNIT];
    flex-grow: 3;
    flex-basis: 0;
}


.sp-home-grid > *{
	padding: 0 [DEFAULT-UNIT];
}

.sp-home-grid > * > *:not(.sp-products) {
	background: #ffffff;
	font-size: 1rem;
	cursor: default;
	box-shadow: 0 2px 8px [DEFAULT-COLOR]40;
	padding: [DEFAULT-UNIT];
	border-radius: calc([SMALL-UNIT]/2);
	position: relative;
	margin: 0 0 calc(5px*5);
}


.sp-home-grid > .sphere-app > *{
	box-shadow: none;
	margin: 0;
	padding: 0;
}

.sp-home-grid > .sphere-app{
	box-shadow: 0 2px 8px [DEFAULT-COLOR]40;
	padding: [DEFAULT-UNIT];
	border-radius: calc([SMALL-UNIT]/2);
	margin: 0 [DEFAULT-UNIT];
}

.sp-home-grid-title{
	color: [PRIMARY-COLOR];
	margin-bottom: [SMALL-UNIT];
	text-transform: uppercase;
	font-size: 1.2rem;
	font-weight: bold;
}

.sp-home-grid > *:nth-child(1){
	flex-grow: 2;
	flex-basis: 0;
}

.sp-home-grid > *:nth-child(2){
	flex-grow: 1;
	flex-basis: 0;
}

.sp-home-grid .sp-main-content-content{
	max-width: 100%;
	text-align: left;
}

.sp-home-grid .sp-main-content-content p{
	margin: 0;
	
}

.sp-home-grid .sp-main-content-box-icon{
	left: 0;
	right: 0;
	margin: 0 auto;
}

.sp-home-grid-side > *{
	margin: [LARGE-UNIT] 0;
}
.sp-home-grid-side > *:nth-child(1){
	margin: 0 0 calc(5px*5);
}

.sp-home-grid-side .sp-home-grid-title{
}

.sp-home-grid-side .des{
	/*
	margin-top: [DEFAULT-UNIT];
	*/
}

.sp-home-grid-side .fen, .sp-home-grid .fen{
	font-size: 1rem;
	margin: 0 0 [DEFAULT-UNIT];
	padding: 0;
}

.sp-home-grid .fen{
	font-size: 1.2rem;
}

.sp-home-grid-content .sp-button, .sp-home-grid-content .sp-buttons-list li{
	font-size: 1rem;
	padding: [SMALL-UNIT] calc([SMALL-UNIT]*2);
}

.sp-home-grid-side .sp-button, .sp-home-grid-side .sp-buttons-list li{
	font-size: 1rem;
	padding: calc([SMALL-UNIT]*2);
}

.sphere-dialog .sp-button, .sphere-dialog .sp-buttons-list li{
	padding: calc([SMALL-UNIT]*2);
	font-size: 1rem;
}

.sp-buttons-list li{
	border-radius: calc(5px/2);
}
.sphere-dialog-content{
	font-size: 1.1rem;
}

.sphere-dialog-content .sphere-app{
	padding: [SMALL-UNIT] [DEFAULT-UNIT];
}

.sphere-dialog-content .sp-home-grid-title{
	margin: 0;
}

.sp-logo{
	height: 72px;
}
.sp-contacts {
    margin: 30px calc(30px*4);
}

.sp-contact-box{
	box-sizing: border-box;
	background: #ffffff;
	font-size: 1rem;
	cursor: default;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	padding: 30px;
	border-radius: calc(5px/2);
	position: relative;
}

.sp-main-content-box-icon {
	font-size: 2rem;
	padding: [DEFAULT-UNIT];
	color: [CONTRAST-COLOR];
	background-color: [PRIMARY-COLOR];
	position: absolute;
	top: -[LARGE-UNIT];
	border-radius: 100%;
	width: [LARGE-UNIT];
	height: [LARGE-UNIT];
}

.sp-main-content-box-title{
	color: #25347e;
	padding: 5px 0;
	text-transform: uppercase;
	font-size: 1.2rem;
	margin-top: calc(5px*2);
	font-weight: bold;
}