/*---RESET---*/
	html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,
	pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,
	small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,
	form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,
	details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,
	summary,time,mark,audio,video{margin:0;padding:0;border:0;font-family:"Arial";vertical-align:baseline;}
	article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
	ol,ul{margin:0px;padding:0px;}
	blockquote,q{quotes:none;}
	blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
	table{border-collapse:collapse;border-spacing:0;}

	html{
		height: 100%;
		width: 100%;
		padding: 0;
		margin:0;
	}

	@font-face {
	    font-family: 'Arial';
	    src: url('http://lorde.cabitech.co.za/assets/fonts/Arial.ttf') format('truetype');
	    font-weight: normal;
	    font-style: normal;

	}

	body{
		height: 100%;
		width: 100%;
		padding: 0;
		-webkit-touch-callout: none; 
		    -webkit-user-select: none; 
		     -khtml-user-select: none; 
		       -moz-user-select: none; 
		        -ms-user-select: none; 
	}

	input {
	    outline: none;
	}

	button{
		outline: none;
	}

	#mainBackground{
		height: 100%;
		width: 100%;
		padding: 0;
		background-color: gainsboro;
	}

/*---Loading---*/
	#loading {
	    width: 100%;
	    height: 100%;
	    top: 0px;
	    left: 0px;
	    position: fixed;
	    display: block;
	    z-index: 9999;
	    background-color: gainsboro;
	}

	#loading-image {
	    position: absolute;
	    top: 50%;
	    left: 50%;
	    z-index: 100;
	    margin-left: -16px;
    	margin-top: -16px;
	}
	
/*---Main---*/



	#mainContainerFade{
	    width: 100%;
	    height: 100%;
	    top: 0px;
	    left: 0px;
	    position: fixed;
	    display: block;
	    z-index: 9999;
	    background-color: white;
    }

    #mainContainerWelcome{
    	display: none;
		text-align: center;
		top: calc(50% - 30px);
		position: absolute;
		left: calc(50% - 300px);
		font-size: 3em;
		width: 600px;
		height: 60px;
    }

	#mainContainerSpacer{
		height: 50px
	}

	#mainContainer{
		width: calc(100% - 50px);
		height: calc(100% - 60px);
		margin-left: 50px;
	}

	#mainContainerframe{
		width: 100%;
		height: 100%;
	}
/*---Nav---*/

	#navBar{
		width: 100%;
		height: 50px;
		background-color: #cdc7af;
		box-shadow: 0px 0px 2px 1px black;	
		z-index: 1;
		position: fixed;
	}

	#navImg{
		height: 50px;
		margin-left: 7px;
	}

/*---Drop Menu---*/

    .drop_menu{
        width: 135px;
        background-color: #ffffff;
        box-shadow: 0px 20px 30px #888888;
        overflow: hidden;
        margin-top: 50px;
    }

    .droplinks{
        float: left;
        height: 25px;
        border: 1px solid lightgrey;
        width: 125px;
        text-decoration: none;
        color: black;
        padding-top: 10px;
        padding-left: 10px;
        cursor: pointer;
    }

    .droplinkstext{
        float:left;
        margin-left: 10px;
    }

    .droplinksimg{
        float:left;
        margin-top: -3px;
    }

    #navside{
        float: right;
        position: absolute;
        right: 10px;
        margin-top: -40px;
        cursor: pointer;
    }

    #navside a img{
        float: right;
        display: inline-block;
        padding: 0px 5px 0px 5px;
        height: 24px;
        width:24px;
    }

    #navsalesbuttons{
        cursor: pointer;
    }

    #selectedCompany{
    	float: left;
    	margin-right: 15px;
    }

    #menu{float: right;
    }
    

/*---Side---*/
	#sideContainer{
		width: 200px;
		height: calc(100% - 50px);
		background-color: #ffffff;
		position: absolute;
		box-shadow: 0px 0px 2px 1px lightgrey;
		z-index: 0;
		overflow: hidden;
		margin-top: 50px;
	}

	.sideTitle{
		padding: 5px;
		color: #111517;
	}

	.sideButtons{
		width: 200px;
		height: 30px;
		padding: 5px 0px;
	}

	.sideButtons:hover{
		width: 200px;
		height: 30px;
		padding: 5px 0px;
		background-color: #cdc7af;
		color: #2e9bd3;
		cursor: pointer;
	}

	.sideIcons{
		height: 30px;
	    margin-left: 10px;
	    float: left;
	}

	.sideButtonsTitle{
		float:left;
		padding: 5px;
		margin-left: 5px;
		color: #111517;
	}

/*---Overlays---*/
	/*---Settings---*/
		.settingsOverlay{
			width: 922px;
			height: 553px;
			background-color: white;
			box-shadow: 0px 5px 20px #888888;
			overflow: hidden;
			margin-top: 20px;
		}

		#settingsTitle{
			padding: 10px;
			font-size: 1.4em;
			font-weight: bold;
		}

		#settingscontainerlist{
			width: 200px;
			height: 500px;
			margin-left: 10px;
			float: left;
			border-top:1px solid lightgrey ;
		}

		.settingsListButtons{
			width: 200px;
			height: 30px;
			border-bottom: 1px solid lightgrey;
			text-align: center;
			cursor: pointer;
		}

		.settingsListButtonsTitle{
			padding: 5px;
		}

		#settingscontainermain {
		    margin-left: 20px;
		    overflow: hidden;
		    float: left;
		    height: 444px;
		    width: 680px;
		    bottom: 0;
		    left: auto;
		    right: auto;
		    border: 1px solid lightgrey;
		    background-color: gainsboro;
		}

		#settingscontainermainframe {
		    width: 697px;
		    height: calc(100% + 17px);
		}

		.settingsButtons{
			width: 150px;
			background-color: #cdc7af;
			height: 40px;
			border: none;
			border-radius: 10px;
			float: right;
			margin-right: 10px;
			margin-top: 10px;
			box-shadow: 0px 0px 2px 1px lightgray;
			color: black;
			font-size: 14px;
		}
	/*---Companies---*/
		.companyOverlay{
			width: 922px;
			height: 553px;
			background-color: white;
			box-shadow: 0px 5px 20px #888888;
			overflow: hidden;
			margin-top: 20px;
		}

		#companyTitle{
			padding: 10px;
			font-size: 1.4em;
			font-weight: bold;
			float: left;
		}

		#companyBox{
			height: 65px;
		}

		#companySearchBox{
			width: 350px;
			height: 30px;
			border: 1px solid lightgrey;
			border-radius: 10px;
			margin: 0px 0px 20px 10px;
			float: left;
		}

		#companySearchInput{
			width:314px;
			border: none;
			height: 28px;
			margin-left: 10px;
		}

		#companySearchInputImg{
			float: right;
			margin: 7px 7px 0px 0px;
			width: 15px;
			height: 15px;
		}

		#companyDropdown{
			font-size: 10px;
			position: relative;
			display: inline-block;
			float: right;
			margin-right: 10px;

		}

		#companyDropdown select {
			outline: none;
			-webkit-appearance: none;
			-moz-appearance:none;
			display: block;
			margin: 0;
			width: 120px;
			height: 30px;
			transition: border-color 0.2s;
			border: none;
			border-radius: 5px;

			background: #fff;
			color: black;
			line-height: normal;
			font-family: inherit;
			font-size: 12px;
			line-height: inherit;
			cursor: pointer;
		}

		#companyDropdown .arr {
			background: #fff;
			position: absolute;
			right: 5px;
			width: 50px;
			pointer-events: none;
		}

		#companyDropdown .arr:before {
			content: '';
			position: absolute;
			top: 50%;
			right: 0px;
			margin-top: 12px;
			pointer-events: none;
			border-top: 5px solid black;
			border-left: 5px solid transparent;
			border-right: 5px solid transparent;
		}

		#companyDropdown .arr:after {
			content: '';
			position: absolute;
			top: 50%;
			right: 28px;
			margin-top: -5px;
			pointer-events: none;
			border-left: 6px solid transparent;
			border-right: 6px solid transparent;
		}

		.companyTableHeadings{
			table-layout: fixed;
			cursor: pointer;
			vertical-align: middle;
		}

		.companySort{
			height: 5px;
		    border-left: 5px solid transparent;
		    border-right: 5px solid transparent;
		    float: right;
		    margin-right: 5px;
		}

		#companyTable{
			width: calc(100% - 20px);
			height: 40px;
			background-color: whitesmoke;
			border-bottom: 1px solid lightgrey;
			table-layout: fixed;
			margin-left:10px;
			margin-top:20px;
		}

			
		#companyname{
			width: 80%;
			text-align: center;
		}

		#companystatus{
			width: 20%;
			text-align: center;
		}

		.companyTable{
			height: 40px;
			border-bottom: 1px solid lightgrey;

		}

		.companyName{
			width: 80%;
			text-align: center;
			vertical-align: middle;

		}
			
		.companyStatus{
			width: 20%;
			text-align: center;
			vertical-align: middle;
		}

		#companyContainer{
			width: calc(100% - 20px);
			margin-left: 10px;
			height: 335px;
			overflow: hidden;
		}

		#companyContainerInner{
			width: calc(100% + 20px);
			height: 100%;
			overflow-y: scroll;
		}

		#companyList{
			table-layout: fixed;
			width: 100%;
			background-color: white;
			cursor: pointer;
			text-align: center;
		}

		.companySpace{
			width: 20px;
			float: right;
			height: 20px;
		}

		.companyButtons{
			width: 150px;
			background-color: #cdc7af;
			height: 40px;
			border: none;
			border-radius: 10px;
			float: right;
			margin-right: 10px;
			margin-top: 10px;
			box-shadow: 0px 0px 2px 1px lightgray;
			color: black;
			font-size: 14px;
		}

		/*---View Companies---*/
		.viewCompanyOverlay{
			width: 922px;
			height: 553px;
			background-color: white;
			box-shadow: 0px 5px 20px #888888;
			overflow: hidden;
			margin-top: 20px;
		}

		.viewCompanyOverlay{
			width: 922px;
			height: 553px;
			background-color: white;
			box-shadow: 0px 5px 20px #888888;
			overflow: hidden;
			margin-top: 20px;
		}

		#viewCompanyTitle{
			padding: 10px;
			font-size: 1.4em;
			font-weight: bold;
		}

		#viewCompanycontainerlist{
			width: 200px;
			height: 500px;
			margin-left: 10px;
			float: left;
			border-top:1px solid lightgrey ;
		}

		.viewCompanyListButtons{
			width: 200px;
			height: 30px;
			border-bottom: 1px solid lightgrey;
			text-align: center;
			cursor: pointer;
		}

		.viewCompanyListButtonsTitle{
			padding: 5px;
		}

		#viewCompanycontainermain {
		    margin-left: 20px;
		    overflow: hidden;
		    float: left;
		    height: 444px;
		    width: 680px;
		    bottom: 0;
		    left: auto;
		    right: auto;
		    border: 1px solid lightgrey;
		    background-color: gainsboro;
		}

		#viewCompanycontainermainframe {
		    width: 697px;
		    height: calc(100% + 17px);
		}

		.viewCompanyButtons{
			width: 150px;
			background-color: #cdc7af;
			height: 40px;
			border: none;
			border-radius: 10px;
			float: right;
			margin-right: 10px;
			margin-top: 10px;
			box-shadow: 0px 0px 2px 1px lightgray;
			color: black;
			font-size: 14px;
		}





