body {
	height: 100%;
	overflow: visible;
    background: #2E71F2;
}
/* Start page */
.start-page {
	display: flex;
}
.start {
	position: relative;
	margin: auto;
	padding: 5em 5em 8em 5em;
	width: 700px;
	max-width: 90%;
	overflow: hidden;
}
.start h1 {
	padding-top: 7px;
}
.c-form__field-wrap {
	position: relative;
}
.start .rocket {
	position: absolute;
	z-index: 1;
	width: 320px;
	right: -30px;
	bottom: -115px;
}
.start .c-form {
	position: relative;
	z-index: 2;
}

/* Upload page*/
.header {
	background-color: #EBF0FC;
	padding: 1em 0;
}
.header h1 {
	padding-bottom: 6px;
}
.footer {
    display: none;
	position: fixed;
	z-index: 9999;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 10px 0;
}
.footer__details {
    text-align: right;
}
.container {
	position: relative;
	padding: 2em 0 6em 0;
	min-height: calc(100vh - 120px);
}
.container:after {
	content: '';
	position: absolute;
	width: 50%;
	height: 100%;
	background: #fff;
	right: 0;
	top: 0;
}
.container .inner {
	position: relative;
	z-index: 1;
}

/* Thumbnails */
.thumbnails a {
	color: #454560;
	text-decoration: none;
	transition: all 0.3s;
}
.thumbnails a:hover {
	color: #2E71F0;
}
.thumbnail-wrap {
	margin: 5px 0 0 0;
}
.thumbnail {
    position: relative;
    overflow: hidden;
	display: inline-block;
    margin-right: 10px;
	margin-bottom: 5px;
	margin-top: 5px;
	width: 100px;
	height: 100px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 3px;
	border: 1px solid #cdd2dc;
}
.thumbnail video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
    max-width: none;
    transform: translate(-50%, -50%);
}

/*Form styles*/
.field-group {
	margin: 1.5rem 0; 
}
label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 400;
}
label i {
	color: #2E71F0;
    margin-right: 0.4rem;
}
input[type="text"], input[type="password"], input[type="email"], input[type="search"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], 
input[type="file"], select, textarea {
	width: 100%;
	background:none;
	padding:0.5em 1em;
	font-family: soleil,sans-serif;
    font-weight: 300;
	border: 1px solid #ebebeb;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
    -moz-appearance: none;
	-webkit-border-radius: 0;
	transition: all 0.3s;
}
textarea {
	min-height: 100px;
}
.required {
	color: orangered;
}
.error {
	border-color: orangered !important;
}
.success-msg {
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 2rem;
	background: #fff;
	text-align: center;
	
	opacity: 0;
	visibility: hidden;
	transform: translateY(30px);
	transition: all 0.3s;
}
.success-msg.shown {
	z-index: 9999;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Uploads */
.template {
	display: none;
}
.photo-wrap {
	position: relative;
	overflow: hidden;
}
.photo {
	position: relative;
	z-index: 2;
	height: 320px;
	border: 2px dashed #ebebeb;
	cursor: pointer;
	transition: all 0.3s;
}
.photo.submitted {
	pointer-events: none; 
}
.upload-text {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); 
	text-align: center;
}
.upload-text i {
	display: block;
	margin: 0 auto;
    font-size: 70px;
    color: #2E71F0;
}
.upload-text span {
	color: #ACADC1;
    font-size: 13px;
}
.dz-preview {
	display: inline-block;
	position: absolute;
	z-index:3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
	width: 150px;
	font-family: soleil,sans-serif;
	font-size: 13px;
	text-align: center;
	color: #ACADC1;
	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
} 
.dz-details {
	position: relative;
}
.dz-details .thumbnail {
	width: 150px;
	height: auto;
	border: 1px solid #ebebeb;
	border-radius: 5px;
	opacity: 0.5;
	transition: all 0.3s;
}
.dz-progress {
	position: absolute;
	top: 5.5em;
	left: 5px;
	width: 140px;
	height: 10px;
	border-radius: 5px;
	overflow: hidden;
	background: rgba(0,0,0,0.3);
}
.dz-upload {
	background: #32324a url(https://www.innovationpriorities.com/health-user-diary/images/loading.gif) no-repeat center center;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 0;
	-webkit-transition: width 300ms ease-in-out;
	-moz-transition: width 300ms ease-in-out;
	-ms-transition: width 300ms ease-in-out;
	-o-transition: width 300ms ease-in-out;
	transition: width 300ms ease-in-out; 
}
.dz-complete .dz-progress {
	display: none;
}
.dz-complete .dz-details .thumbnail {
	opacity: 1;
}
.dz-error-mark, .dz-success-mark {
	opacity: 0;
	transform: translateY(20px);
	position: absolute;
	top: -10px;
	right: -5px;
	transition: all 0.3s;
}
.dz-error-mark img, .dz-success-mark img {
	width: 27px;
	height: auto;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #fff;
}
.dz-error .dz-error-mark, .dz-success .dz-success-mark {
	opacity: 1;
	transform: translateY(0);
}

/*Output*/
.wrapper {
	padding-top: 100px;
}
.generate {
	position: fixed;
    z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	padding: 15px 0;
	text-align: center;
}

/* Admin */
.admin-table {
    overflow: auto;
}
.admin-user-content {
	position: relative;
	padding-top: 2.5em;
	margin-top: 2.5em;
	border-top: 1px solid #ebebeb;
    padding-left: 1.5em;
}
.admin-user-content.ui-sortable-helper {
    border: none;
}
.admin-user-content:first-child {
	border-top: none;
	margin-top: 0;
    padding-top: 0;
}
.admin-thumbnail {
    position: relative;
	display: block;
	float: left;
	margin: 0 4% 0 0;
	width: 20%;
	padding-bottom: 20%;
}
.admin-thumbnail:before {
    content: '';
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
}
.admin-thumbnail:after {
    content: '\f00e';
    font-family: Font Awesome\ 5 Free;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 900;
    font-size: 24px;
}
.admin-thumbnail--video:after {
    content: '\f04b';
}
.admin-thumbnail.expanded {
    background: #000;
}
.admin-thumbnail.expanded video {
    display: none;
}
.adm-th-video {
    display: none;
}
.adm-th-video.shown {
    display: block;
    position: fixed;
    z-index: 999999999;
    top: 50%;
    left: 50%;
    width: 680px;
    max-width: 80vw;
    max-height: 80vh;
    height: auto;
    transform: translate(-50%, -50%);
}

.admin-user-content__date {
    position: absolute;
    top: 101%;
    left: 0;
    line-height: 1.2;
}
.the-handle {
    position: absolute;
    top: 0;
    left: -1.4em;
}
.admin-content {
	position: relative;
	width: 76%;
	float: left;
}
.admin-comment {
    border: 2px dashed #ebebeb;
	padding: 10px;
	margin-bottom: 1.5em;
	min-height: 0;
    transition: all 0.3s;
}
.admin-comment:focus {
    border: 2px dashed #293446;
}
.admin-edit-icon {
    opacity: 0;
    position: absolute;
    top: 55px;
    right: 10px;
    color: #dde2ed;
    transition: opacity 0.3s;
}
.admin-user-content:first-child .admin-edit-icon {
    top: 10px;
}
.admin-user-content:hover .admin-edit-icon, .admin-user-content:focus-within .admin-edit-icon {
    opacity: 1;
}

.admin-tools-link {
    font-size: 13px;
    background: #fff;
    border: 1px solid #ebebeb;
    padding: 7px 15px;
    border-radius: 20px;
    margin-right: 10px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s;
    color: #293446;
    -webkit-appearance: none;
}
.admin-tools-link:hover {
    color: #2E71F0;
}
.admin-success-msg {
	display: none;
	margin-top: 10px;
    font-size: 14px;
    color: #2E71F0;
} 
.admin-success-msg.shown {
	display: block;
}
.admin-back-link {
	color: #454560;
	font-weight: 700;
	transition: all 0.3s;
}
.admin-generate-pdf {
    text-align: right;
}
.admin-save-order {
    text-align: center;
}


/* Popup */
.popup {
    display: flex;
    position: fixed;
    z-index: -1;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.7);
    
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: all 0.5s;
}
.popup.shown {
    z-index: 99999;
    opacity:1;
    visibility: visible;
    transform: scale(1);
}
.popup__inner {
    padding: 2em;
    margin: auto;
    background: #fff;
    box-shadow: 0 0 30px 0 #42464d;
    border-radius: 3px;
}

/**
 * Author: Tim Vervoort - contact@timvervoort.com
 * Licence: Free for commercial use
 * Last update: 27th April 2018 - v1.4
 */
 
.fs-gal-view {
  display: none;
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  position: fixed;
  left: 0;
  top: 0;
  text-align: center;
  background-size: contain;
  background-position: center center;
  background-color: rgba(20, 20, 20, 0.7);
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 999999;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
}
.fs-gal-view h1 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  height: 50px;
  line-height: 50px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-weight: 300;
  font-size: 26px;
}
.fs-gal-prev, .fs-gal-next, .fs-gal-close {
  position: absolute;
  top: calc(50vh - 20px);
  height: 40px;
  width: 40px;
  z-index: 999999;
  transition: all 0.3s;
}
.fs-gal-prev:hover, .fs-gal-next:hover, .fs-gal-close:hover {
  cursor: pointer;
}
.fs-gal-prev {
  left: 14px;
}
.fs-gal-next {
  right: 14px;
}
.fs-gal-close {
  top: 24px;
  right: 44px;
  height: 20px;
  width: 20px;
}
.fs-gal-main {
    width: auto;
    height: auto;
	max-width: 90%;
	max-height: 90%; 
}
.fs-gal:hover, .fs-gal-nav:hover, .fs-gal-close:hover {
  cursor: pointer;
}

@media (max-width: 980px) {
    .footer {
        position: relative;
    }
    .container:after {
        content: none;
        display: none;
    }
    .form.upload-form {
        background: #fff;
        padding: 1px 1.5em 1.5em 1.5em;
        margin-top: 2em;
    }
    .admin-content .admin-tools-link {
        display: block;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}
@media (max-width: 980px) {
    
}
@media (max-width: 880px) {
    .admin-thumbnail {
        height: 70px;
    }
    .admin-back, .admin-save-order, .admin-generate-pdf {
        text-align: center;
        margin: 5px 0;
    }
    .admin-back .admin-tools-link, .admin-save-order .admin-tools-link, .admin-generate-pdf .admin-tools-link {
        display: block;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .header .u-wrapper.u-text-center {
        text-align: left;
    }
    .footer__details {
        text-align: left;
    }
}
@media (max-width: 680px) {
    .start {
        padding: 3em 2em 8em 2em;
    }
    .thumbnail-wrap .thumbnail {
        width: 30%;
        margin: 1%;
        height: 80px;
    }
}


