.header{
	background-color: white;
}

.top-logo {
    background: url('/gfx/nps-logo.png') no-repeat;
    background-size: 219px 78px;
    height: 6em;
    margin-top: -0.4em;
}

.top-bar-section ul li > a, .top-bar-section ul li > button {
	color:black;
}

/*
nps:
	red-top:#902126
	red-lower: #792629
	blue/grey:#3F555C
*/


.logo-sub {
	font-weight: 500;
    font-size: 28px;
    line-height: 1;
    color: #222;
    display: block;
    margin-left: 2.9em;
    position: absolute;
    width: 50px;
    top: 1.3em;
}

.logo-sub-2 {
    line-height: 1;
    font-size: 15px;
    color: #222;
    display: block;
    margin-left: 5.5em;
    position: absolute;
    width: 200px;
    top: 4.3em;
}

div.header > div > div.large-7.small-12.columns > nav > section > ul > ul > li.active > a {
	color: black;
}



div.header > div > div.large-7.small-12.columns > nav > section > ul > ul > li.active > a:hover {
	color: white;
}

li.name {
    list-style: none;
}

@media screen and (max-width: 1050px){
	.logo-sub,
	.logo-sub-2{
		display: none;
	}
}

/*@media screen and (max-width: 1050px) and (min-width: 640){
		div#carousel {
	   	 margin-top: -48px;
		}
}*/

@media only screen and (max-width: 1050px) and (min-width: 640px){
	.top-logo {
		background-size: 140px 50px;
	    position: absolute;
	    left: 2em;
	    top: 0.75em;
	    width: 80px;
	    height: 50px;
	    z-index: 1000;
	}
}

@media only screen and (min-width: 640px) and (max-width: 1050px){
	div.header > div > div.large-7.small-8.columns > nav > section > ul > ul > li:nth-child(1) > a{
		border-bottom: 2px solid #902126;
	}
	
}


@media only screen and (max-width: 1050px){
	.customer-area {
	    line-height: 1.2em;
	    padding: 0.6em;
	    margin-top: 0.05em;
	}


	div.header > div > div.large-2.small-2.columns > a.customer-area.admin {
    background: red url('../gfx/padlock.svg') center center no-repeat;
    color: rgba(144, 33, 38, 0);
    position: absolute;
    width: 65px;
    height: 55px;
	}
	
	div.header > div > div.large-2.small-2.columns > a:nth-child(1){
		background: #902126 url('../gfx/padlock.svg') center center no-repeat;
	    color: rgba(144, 33, 38, 0);
	    position: absolute;
	    width: 65px;
	    height: 55px;
	}

	.top-bar .toggle-topbar.menu-icon a span {
	   top: -7px;
	}

	div.header > div > div.large-7.small-8.columns > nav > section > ul > ul{
	text-align: center;
	width: 50%;
	margin-left: 25%;
}

div.header > div > div.large-7.small-8.columns > nav > section > ul > ul > li > a{
	background-color: white;
}

div.header > div > div.large-7.small-8.columns > nav > section > ul > ul > li:nth-child(1) > a{
	border-bottom: 2px solid #902126;
}

}

.top-bar .toggle-topbar.menu-icon a{
	color: black;
}


@media only screen and (max-width: 640px){
	
	.top-logo {
		background-size: 140px 50px;
    /*
	    background-size: 30px 30px;
    */
	}

	.top-bar{
		padding: 0.5em;
	}

	div.header > div > div.large-2.small-2.columns > a.customer-area.admin,
	div.header > div > div.large-2.small-2.columns > a:nth-child(1) {
    height: 38px;
	}
	

}
@media only screen and (max-width: 639px){
	.top-logo{
		margin-top: 0.7em;
	}

	div.header > div > div.large-2.small-2.columns > a.customer-area.admin,
	div.header > div > div.large-2.small-2.columns > a:nth-child(1) {
    margin-left: -0.85em;
	}
}

@media only screen and (max-width: 390px){
	div.header > div > div.large-2.small-2.columns > a.customer-area.admin,
	div.header > div > div.large-2.small-2.columns > a:nth-child(1) {
    margin-left: -2em;
	}
}

nav.top-bar {
	z-index: 2000;
}


@media only screen and (max-width: 445px){
	div.header > div > div.large-7.small-8.columns > nav > section > ul > ul {
	    width: 100%;
	    margin-left: 0;
	}
}

.white{
	color: white !important;
}

.footer-font{
	font-size: 15px;
}

ul.footer-list {
    text-align: left;
    list-style: none;
    line-height: 1.5;
}

ul.footer-list li>a{
	color: white;
	font-size: 15px;
}

div.columns.text-center > p{
	text-align: left;
	margin-left: 1.1rem;
	font-size:15px;
	margin-bottom: 0;
	color: white;

}

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

.quotations{
	background-color: white;
}

.page.dark.services{
	background-color: #792629;
}

@media only screen and (max-width: 1050px){
	ul > li > a.main-menu{
		display: none;
	}	
}

.page.dark.footer {
	    background: #2f2f2f;
}

.login-wrapper{
	margin-top: 20px;
	margin-bottom: 20px;
}


/*mm-overide*/
html.mm-blocking body {
    overflow: visible;
}

@media screen only and (max-width: 1045px){
	.list-hide{
		display: none;
	}
}

.top-intro {
	font-size: 32px;
}

.intro{
	padding-top: 1.5em;
}

.customer-section h3,
.customer-section a,
#content > p{
    /*
	color: white;
    */

}

.services-content > p 
{
	color: black;

}

div.large-10.columns.footer-logos{
	margin-top: 20px;
	margin-bottom: 30px;
}
div.large-10.columns.footer-logos > img{
	/*width: 170px;*/
	height: 75px;

}
div.large-10.columns.footer-logos > img + img {
		margin-left: 30px;
	}

#menuitems > a > span{
	color: #972328;
}

#menuitems > a > span:hover{
	color: #222;
}

#menuitems{
	background-color: white;
	padding: 10px;
}
/*
.rep_monthly_spend p,
.account-info p{
	color: white;
}
*/

#menuitems h3{
	color: #972328;
}

div#page {
    background: white;
}

input[type="radio"]{
	display: inline-block;
}

input[type="radio"]+label:before{
	display: none;
} 

tr.si_listmode {
    background-color: #DDD;
}

a.noul:hover{
	color: #008cba;
}

div.columns > p{
	font-size: 16px;
}


@media only screen{

	div[class*="column"] + [class*="column"]:last-child {
	    float: left;
	}
}

.mm-menu .mm-navbar > a,
.mm-menu .mm-counter {
   color: white;
   font-weight: bold;
}

.mm-listview li a {
	color: white;
   font-weight: bold;

}

.mm-listview li a:hover{
	background-color: white;
	color: #792629;
}


.mm-panels{
	background-color: #792629;
}

.mm-listview > li:not(.mm-divider):after {
    content: '';
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #f2f2f2;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.page{
	min-height: initial;
}


@media screen and (max-width: 640px){

	.footer-logos img{
		width:auto;
		height:auto;
		display:block;
		margin:0 auto;
		margin-bottom:2rem
	}
	div.large-10.columns.footer-logos > img + img{
	    margin:0 auto;
	    margin-bottom:2rem;
	}

	.large-4.medium-4.small-6.columns{
		margin-top: 10px;
	}

}

.dark .site-link-close{
	color: white;
}

.dark .site-link-close:hover{
	color: rgb(220, 70, 76);
}

.services p a {
	color: white;
}
.services p a:hover {
	color: black;
}

a[href^="mailto"]{
	word-break:break-all;
}

a.customer-area {
	z-index:1000;
}

#page > div.row.customer-section > div > p,
#page > div.row.customer-section > div > p > a,
#content > p,
#content > p > a
{
	color: #972328;
}

#content > p{
	font-size: 100%;
}

.inset {
    min-width: 640px;
    max-width: 1352px;
    width: calc(100% - 2em);
    text-align: left;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}


div.page.green.quotations > div > div > a > span{
	color: #902126;
}

#menuitems > h3{

}

#page > div.page.dark.services > div:nth-child(3) > div > h3.blue {
    color: white;
}

.top-bar-section li a:not(.button) {
    padding: 0 10px;
   }
#content > p,
#page > div.row.customer-section > div > p{
	color: black;
}

#page > div.row.customer-section > div > form > table h3{
	color: #4d4d4d;
}

img[src*="/egc/gfx/"]{
	max-width: none;
}
