

	* {
		margin:0;
		padding:0;
		box-sizing: border-box;		
	}
	body {
		min-width: 1200px;
		font-size: 16px;
		line-height: 1.2;
		font-family: helvetica;
		display: flex;
	}

	#pagewrap {
		width: 100%;
		display: flex;
    }
    
	
	#tools {
		width: 350px;
		min-width: 350px;
		/* background: rgba(0,0,0,0.1); */
		/*padding: .75rem;*/
		overflow-y: scroll;
    }
    
    #tools #header {
        background-color: #000000;
        display: flex;
        position: relative;
        z-index: 3;
    }
    #tools #header .utilTop {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        padding: 10px;
    }


	#tools #data-matrix,
	#tools #project-search {
        padding: 1rem;
        position: relative;
        z-index: 2;
    }
    


    /* Project List Styles */
        #project-list {
            padding: 0rem 0rem 1rem;
        }

        #project-list ul {
            list-style: none;
        }
        
        #project-list ul.project > li {
            padding: 0.7rem 0 0;
            border-bottom: 1px solid rgba(0,0,0,0.2);
        }
        #project-list ul.project > li a.emailListItem {
            width: 100%;
            padding: 0rem 1rem 0.7rem;
            display: flex;
            align-items: center;
        }
        #project-list ul.project > li a .label {
            width: 100%;
        }
        #project-list ul > li .selectedEmail {
            display: none;
        }
        #project-list a {
            line-height: 1.1;
        }
        #project-list .projectEmails li {
            display: flex;
            justify-items: flex-start;

            padding: 0.7rem 1rem 0.7rem;
        }
        #project-list .projectEmails .selectedEmail {
            display: block;
            flex: 0 0 30px;
        }
        #project-list ul.projectEmails > li a {
            flex: 1 20%;
			background-color: rgba(0,0,0,0.2);
			padding: 0.4rem 0.3rem 0.3rem 0.3rem;
			color: white;
			line-height: 1;
			margin: 0 0.1rem;
		}
		#project-list ul.projectEmails > li a.selected {
			/* background-color: #00AEA9; */
			background-color: rgba(0,0,0,0.9);
			color: #FFFFFF;
			font-weight: bold;
		}


        #project-list .projectEmails a strong {
            display: block;
            font-size: 0.75rem;
            opacity: 0.5;
        }
        /* Icons */
            .icon .material-icons {
                font-size: 21px;
                color: rgba(0,0,0,0.3)
            }
            /* #project-list ul.projectEmails > li a .icon {
                display: none;
			} */
			
            [aria-expanded=true] .icon .material-icons.vert,
            [aria-expanded=false] .icon .material-icons.horiz {
                display: none;
            }

            [aria-expanded=false] .icon .material-icons.vert,
            [aria-expanded=true] .icon .material-icons.horiz {
                display: block;
            }

			
			
			.lvl1 .newWindow,
			.lvl2 .icon {
				display: none;
			}
			.lvl2 .newWindow {
				display: block;
				width: auto !important;
			}
			

        /* [aria-expanded=true] {
            background-color: red;
        } */
        /* .emailListItem.collapsed .material-icons.vert,
        .emailListItem.collapse .material-icons.horiz {
            display: none;
        } */



	#display {
		width: calc(100% - 350px);
		min-width: 790px;
        display: flex;
		justify-content: center;
		
		position: absolute;
		left: 350px;
		z-index: 0;

		/* overflow-y: scroll; */
		min-height: 100vh;
		border: none;
        background: rgba(0,0,0,0.6);
        background: #C9D2DC;
	}
    
	.emailDisplay_size {
        width: 100%;
		height: 100%;
        border: none;
	}
    
    
	#desktop_view {
        /* margin: 0 5px; */
		width: 740px;
		min-height: 100vh;
		/* border-right: 1px solid rgba(0,0,0,0.7); */
		/* border-left: 1px solid rgba(0,0,0,0.7); */
		text-align: center;
		/* transition: width 500ms; */
		background: rgba(255,255,255,0.4);
		box-shadow: 0px 0px 60px rgba(0,0,0,0.5);
        /* padding-right: 1px; */
	}
	#mobile_view {
        /* width: 400px; */
		width: 451px;
		min-width: 451px;
		height: 900px;
        margin: 0 15px;
        /* border-right: 1px solid rgba(0,0,0,0.7); */
		/* border-left: 1px solid rgba(0,0,0,0.7); */
        /* background: rgba(255,255,255,0.4); */
		/* padding-right: 1px; */
		background: url(/imgs/iPhoneMockup.png) no-repeat;
		background-size: 100%;
		
	}
	#mobile_view iframe {
		width: 390px;
		height: 800px;
		background-size: 100%;
		border-radius: 0 0 40px 40px;
	}

	#displayEmail_EN > div,
	#displayEmail_FR > div {
		padding: 15px 30px;
		font-size: 0.9rem;
		background-color: #FFFFFF;
		border-bottom: 1px solid rgba(0,0,0,0.3);
		text-align: left; 
	}
	






	section > div {
		padding-bottom: 0.75rem;
	}

	section > header {
		padding-bottom: 1rem;
	}
	hr {
		margin-bottom: 0.75rem;
	}

	#step-0-project-list,
	#step-1-add-project,
	#step-2-project-editor {
		padding-bottom: 1.5rem;
	}

	/*
		FORM STYLE
	*/
	
	label {
		border: 1px solid rgba(150,150,150,0.5);
		padding: 0.65rem 0.65rem 0.55rem 0.65rem;
		display: inline-block;
		width: 24%;
		font-size: 1rem;
		line-height: 1rem;
		margin-right: 0;
	}
	label {
		vertical-align: middle;
	}

	input, textarea, .editable {
		outline: none;
		border: 1px solid rgba(150,150,150,0.5);
		background-color: white;
		padding: 0.6rem;
		display: inline-block;
		width: 100%;

		font-size: 1rem;
		line-height: 1rem;

		margin-left: 0;
	}
	textarea, .editable {
		display: block;
		width: 100%;
	}
	button {
		outline: 0;
		padding: 0.4rem 0.4rem 0.35rem 0.4rem;
		border: 1px solid #4DADA9;
		border-radius: 0.3rem;
		font-size: 0.7rem;
		transition: backgound-color 300ms;
		background-color: transparent;
	}
	button:hover {
		background-color: rgba(80,80,80,0.4);
		cursor: pointer;
	}

	.utilTop .btn {
		padding: 0.075rem 0.45rem;
		font-size: 1.7rem;
		line-height: 1.3;
	}
	
	.btn-outline-primary {
		border-color: #4DADA9;
		color: #4DADA9;
	}
	.btn-primary,
	.btn-primary:hover,
	.btn-outline-primary:hover {
		background-color: #4DADA9;
		border-color: #4DADA9;
	}
	.btn-primary:hover {
		background-color: #4DADA9;
		border-color: #4DADA9;
		opacity: 0.9;
	}
	

	.selected {
		/* background-color: #00AEA9; */
		background-color: rgba(0,0,0,0.15);
		color: #000000;
		font-weight: bold;
	}
	
	.form-pair {
		line-height: 1rem;
		display: flex;
		padding-top: 0.25rem;
		padding-bottom: 0.5rem;
	}


	#tools {
		height: 100vh;
		overflow-y: scroll;
		position: fixed;
		z-index: 1;
		background-color: #ffffff;
	}

	#fromProjects li {
		border-radius: 11px;
	}

/* 
	#project-list,
	#template-list {
		padding-bottom: 1rem;
	}

	#project-list li,
	#template-list li {
		list-style: none;
		border: 1px solid rgba(150,150,150,0.6);
		padding: 0.6rem;
		margin-bottom: 0.6rem;
		display: flex;
		flex-wrap: wrap;
	}
	#project-list li .project-name,
	#template-list li .template-name {
		font-size: 85%;
		padding: 0 0.6rem 0.6rem 0.6rem;
		width: 50%;
		flex-grow: 2;
	}
	#project-list li .project-name {
		cursor: pointer;
	}
	#project-list li.projectselected {
		background-color: rgba(0,0,0,0.2);
	}
	#project-list li.projectselected .project-name {
		font-weight: bold;
	} */

	#data-matrix .dropzone,
	#project-list li .jsonUpload {
		width: 100%;
		display: flex;
	}
	#data-matrix .dropzone,
	#project-list li .jsonUpload .dropzone {
		width: 50%;
		background-color: #FFFFFF;
		border-radius: 5px;
		min-height: 30px;
		margin: 5px 5px 0 5px;
		padding: 10px;
		font-size: 10px;
	}
	#project-list li .jsonUpload .dropzone:first-child {
		margin-left: 0;
	}
	#project-list li .jsonUpload .dropzone:last-child {
		margin-right: 0;
	}



	#data-matrix {
		padding-bottom: 0px;
		/*margin-bottom: 15px;*/
	}
	#data-matrix .dropzone {
		width: 100%;
		margin:0;
		margin-bottom: 5px;
		padding: 10px 5px;
		text-align: center;
		font-size: 0.8rem;
	}
	#data-matrix select.custom-select {
		width: 100%;
		/* height: 22px; */
	}


#loading {
	background-color: rgba(0,0,0,0.6); 
	position: fixed; 
	top:0; 
	left: 0; 
	right:0; 
	width:100vw; 
	height:100vh;
	z-index: 3000;
	transition: opacity 600ms;
	opacity: 0;
	transform: translate(-100vw,-100vh);

	color: #ffffff;
}

#loading h1 {
	text-align: center;
	position: absolute;
	top: 25%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 3rem;
}
#loading img {
	width: 150px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: pulse 1s infinite;
}

@keyframes pulse {
	0% { width: 150px; }
	50% { width: 200px; }
	100% { width: 150px; }
}

#dlHTML.show,
#loading.show {
	transform: translate(0,0);
	opacity:1;
}




#dlHTML {
	background-color: rgba(0,0,0,0.6); 
	position: fixed; 
	top:0; 
	left: 0; 
	right:0; 
	width:100vw; 
	height:100vh;
	z-index: 3000;
	transition: opacity 600ms;
	opacity: 0;
	transform: translate(-100vw,-100vh);
	color: #ffffff;

}
#dlHTML .dlform {
	width: 500px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);

	padding: 2rem;
	background: #FFFFFF;
	color: #000000;
	z-index: 2;
}
#dlHTML .dlform h1 {
	padding-bottom: 20px;
}
#dlHTML .dlform label {
	width: 100%;
	border: none;
	padding-left: 0; 
}

#dlHTML .field {
	padding-left: 0.25rem;
}
#dlHTML .field:hover {
	background-color: rgba(0,0,0,0.07);
}
.error {
	border-color: red;
}
.llgroup {
	padding-bottom:2rem;
}
.imgpathGroup {
	padding-bottom: 1rem;
	height: 40px;
}
input[type=radio] {
	display: inline;
	width: 20px;
}
.radioLabel {
	width: 200px;
	display: inline;
}
#cutomImgPath {
	padding: 0.3rem; 
}
.submit {
	padding-top: 1rem;
	text-align: right;
}
/* button#download {
	font-size: 1rem;
	border-radius: 3px;
	width: auto;
	height: 40px;
	background-color: #00afaa;
	padding: 10px 30px;
}
button#download:hover {
	background: rgba(0,0,0,0.2);
}
button#cancel {
	font-size: 1rem;
	border-radius: 3px;
	width: auto;
	height: 40px;
	background-color: transparent;
	border: 1px solid #00afaa;
	padding: 10px 30px;
	margin-right: 20px;
}
button#cancel:hover {
	background: rgba(0,0,0,0.2);
} */
.closeit {
	position: fixed;
	z-index: 1;
	width: 100vw;
	height: 100vh;
}



/* switch CSS - https://codepen.io/hmufti/pen/gmRXMe/ */

.switchContainer {
  position: relative;
  top: 0; right: 0; bottom: 0; left: 0;
  margin: auto;
  text-align: center;
  width: 40px;

}

/** Switch
 -------------------------------------*/

.switch input {
  position: absolute;
  opacity: 0;
}

/**
 * 1. Adjust this to size
 */

.switch {
  display: inline-block;
  font-size: 20px; /* 1 */
  height: 38px;
  width: 40px;
  background: rgba(0,0,0,0.4);
  /*background: #BDB9A6;*/
  border-radius: 9px;
  margin-bottom: 0;
  border: 2px solid #FFFFFF
}

.switch div {
	position: absolute;
	top: 3px;
    left: 3px;
    height: 32px;
    width: 18px;
  border-radius: 6px;
  background: #FFF;
  box-shadow: 0 0.05em 0.15em rgba(0,0,0,0.2);
  -webkit-transition: all 300ms;
     -moz-transition: all 300ms;
          transition: all 300ms;
}

.switch.selected {
	background-color: #00afaa;
}
.switch input:checked + div {
  -webkit-transform: translate3d(87%, 0, 0);
     -moz-transform: translate3d(87%, 0, 0);
          transform: translate3d(87%, 0, 0);
}





header {
	display: flex;
}
header > h1 {
	flex-grow: 2;
}










