
html,
body.selfie-mask,
body.selfie-mask div.outerWrap {
	font-family: 'segoe ui', 'trebuchet ms', 'helvetica neue';
	font-size: 16px;
	line-height: 1.24;
	font-weight: 400;
	margin: 0 auto;
}

body.selfie-mask div.outerWrap * {
	font-family: 'segoe ui', 'trebuchet ms', 'helvetica neue';
}

html[data-browser=Explorer] 
	body.selfie-mask div.innerWrap div.container div.row div.col-4.ie90 {
	width: 90%;
}

html[data-browser*=bot] body.selfie-mask #fader {
	display: none;
}

body.selfie-mask {
	background-color: #f8f8f8;
	-webkit-text-size-adjust: none;
}

body.selfie-mask div.innerWrap a {
	text-decoration: none;
	color: #0000e6;
	font-weight: 500;
}

body.selfie-mask div.innerWrap a:hover {
	text-decoration: underline;
	color: #00c;
}

body.selfie-mask h1,
body.selfie-mask h2,
body.selfie-mask h3,
body.selfie-mask h4,
body.selfie-mask h5,
body.selfie-mask h6 {
	color: #2F5496;
	line-height: normal;
	margin: 0;
}

body.selfie-mask h4,
body.selfie-mask h5,
body.selfie-mask h6 {
	margin-top: .75rem;
	color: #333;
}

body.selfie-mask h6 {
	font-size: 1.05em;
}

body.selfie-mask h5 {
	font-size: 1.1em;
}

body.selfie-mask h4 {
	font-size: 1.15em;
}

body.selfie-mask h3 {
	font-size: 1.2em;
}

body.selfie-mask h2 {
	font-size: 1.3em;
}

body.selfie-mask h1 {
	font-size: 1.4em;
	color: #000;
}

body.selfie-mask div {
	font-size: 1em;
}

body.selfie-mask img {
	border-width: 0;
}

body.selfie-mask ol {
	font-size: .92em;
	margin-bottom: 0;
}

body.selfie-mask ol li {
	font-size: 1em;
	line-height: 1.2em;
	padding: 0;
}

body.selfie-mask .nowrap {
	white-space: nowrap;
	color: #666;
}

body.selfie-mask .noWhiteSpace {
	white-space: nowrap;
}

body.selfie-mask .noTopPadding {
	padding-top: 0;
	margin-top: 0;
}

body.selfie-mask .float-left {
	position: relative;
	display: inline-block;
	float: left;
}

body.selfie-mask .float-right {
	position: relative;
	display: inline-block;
	float: right;
}

body.selfie-mask div.outerWrap {
	font-size: 92%;
	background-color: #fefefe;
	max-width: 792px;
	border-width: 0;
	padding: 0 0 .75em;
}

body.selfie-mask div.outerWrap header {
	position: relative;
	display: block;
	height: 45px;
	border-bottom: solid 1px #ccc;
	box-sizing: border-box;
	overflow: hidden;
	background-color: rgb(20, 91, 143);
	background: linear-gradient(180deg, rgba(20, 91, 143, 1) 0%, rgba(166, 189, 207, 1) 64%, rgba(247, 248, 250, 1) 100%);
	padding: 12px 12px 0 14px;
}

body.selfie-mask div.outerWrap header a {
	display: inline-block;
	position: relative;
	float: right;
	font-size: .84em;
	font-weight: 700;
	margin-top: 1px;
	line-height: 33px;
	z-index: 1;
	text-decoration: none;
}

body.selfie-mask div.outerWrap header a img {
	height: 24px;
	width: 24px;
	vertical-align: top;
	border-color: transparent;
}

body.selfie-mask div.outerWrap header h1 {
	position: relative;
	display: inline-block;
	font-size: 1.3em;
	padding-top: 1px;
}

body.selfie-mask div.outerWrap div.innerWrap {
	margin-right: 0;
	padding: 0 .75em 0 12px;
}

body.selfie-mask div.innerWrap p {
	line-height: 1.24;
	font-size: .92em;
	font-weight: 400;
	position: relative;
	width: 100%;
	margin: 0;
	padding: .25em 0 .5em;
}

body.selfie-mask div.innerWrap .bold-600,
body.selfie-mask div.innerWrap p.bold-600 {
	font-weight: 600;
}

body.selfie-mask div.innerWrap .bold-700,
body.selfie-mask div.innerWrap p.bold-700 {
	font-weight: 700;
}

body.selfie-mask div.innerWrap .bold-800,
body.selfie-mask div.innerWrap p.bold-800 {
	font-weight: 800;
}

body.selfie-mask div.innerWrap a.top-link {
	position: absolute;
	display: block;
	font-size: 1.25em;
	height: 0;
	right: 0;
	font-weight: 500;
	padding: 5px 3px 0;
	text-decoration: none;
	z-index: 999;
}

body.selfie-mask div.innerWrap a.top-link:hover {
	color: #000;
	text-decoration: none;
}

body.selfie-mask div.innerWrap div.container,
body.selfie-mask div.innerWrap div.container div.row {
	width: 100%;
	margin: 0;
	padding: 0;
}

body.selfie-mask div.innerWrap div.container {
	max-width: 100%;
	padding-bottom: .5rem;
}

body.selfie-mask div.innerWrap div.border-top {
	border: solid 0 #ddd;
	border-width: 1px 0 0;
	margin: 0;
	padding: .25em 0 .5em;
}

body.selfie-mask div.innerWrap div.container div.row .padTop-8,
body.selfie-mask div.innerWrap div.container div.row p.padTop-8 {
	padding-top: 8px;
}

body.selfie-mask div.innerWrap div.container div.row .padTop-16,
body.selfie-mask div.innerWrap div.container div.row p.padTop-16 {
	padding-top: 16px;
}

body.selfie-mask div.innerWrap div.container.padTop-0,
body.selfie-mask div.innerWrap div.container div.row .padTop-0,
body.selfie-mask div.innerWrap div.container div.row p.padTop-0 {
	padding-top: 0;
}

body.selfie-mask div.innerWrap div.container div.row div[class^=col] {
	min-height: 1px;
	margin: 0;
	padding: 0;
}

body.selfie-mask div.innerWrap div.container div.row div[class^=col] span.caption {
	display: block;
	text-align: center;
	font-size: .8em;
	line-height: 1em;
	width: 100%;
	margin: 1px 0 0;
	padding: 3px 0 1.25em;
}

body.selfie-mask div.innerWrap div.container div.row div.col-4 p img {
	display: block;
	height: auto;
	width: 100%;
	max-width: 240px;
}

body.selfie-mask div.innerWrap div.container div.row div.col-4 p span.centerAlignImage {
	display: block;
	max-width: 330px;
}

/* drop-menu system */

body.selfie-mask div.outerWrap div.innerWrap {
    min-height: 400px;
}
body.selfie-mask div.outerWrap header a {
    display: block!important;
}
body.selfie-mask div.outerWrap #drop-menu {
    position: relative;
    font-size: .9em;
    font-weight: 600;
    height: 0;
    overflow: hidden;
    opacity: 0;
    z-index: 99998;
}
body.selfie-mask div.outerWrap #drop-menu.menu-visible {
    height: auto;
    overflow: visible;
    opacity: 1;
}
body.selfie-mask div.outerWrap #drop-menu div.menu-wrapper {
    position: absolute;
    background-color: #fff;
    width: 100%;
    z-index: 99999;
    border: solid 0 transparent;
    border-bottom-color: #ccc;
    border-bottom-width: 1px;
	padding: 8px 0 1.1em;
}
body.selfie-mask div.outerWrap #drop-menu div.menu-wrapper ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
}
body.selfie-mask div.outerWrap #drop-menu div.menu-wrapper ul ul {
    margin: 0;
    background-color: #fff;
}
body.selfie-mask div.outerWrap #drop-menu div.menu-wrapper ul li {
    display: block;
    padding: 0;
}
body.selfie-mask div.outerWrap #drop-menu div.menu-wrapper ul li a {
    color: #444;
    display: block;
    text-decoration: none;
    padding: 3px 0 3px 1.5em;
    border: solid 1px transparent;
}
body.selfie-mask div.outerWrap #drop-menu div.menu-wrapper ul li a:hover {
    color: #000;
    background-color: #f3f3f3;
    border-bottom-color: #e0e0e0;
}
body.selfie-mask div.outerWrap #drop-menu div.menu-wrapper ul li li a {
    padding-left: 3em;
}

    body.selfie-mask div.outerWrap header #logo {
        position: absolute; 
        width: 32px; 
        top: 7px; 
        margin-left: -9px;
    }

	body.selfie-mask div.outerWrap header #menu-button {
		top: 6px;
        position: relative;
        display: block;
        float: right;
		opacity: .6;
        height: 11px;
        width: 25px;
        color: transparent;
        border: solid 0 #000;
        border-radius: 3px;
        border-top-width: 3px;
        border-bottom-width: 3px;
		box-sizing: content-box;
    }

	body.selfie-mask div.outerWrap header #menu-button span {
        position: absolute;
        display: block;
        height: 4px;
        width: 25px;
        border: solid 0 #000;
        border-bottom-width: 3px;
        overflow: hidden;
		box-sizing: content-box;
    }

    body.selfie-mask div.outerWrap header h1 {
        padding-left: 24px;
		position: absolute;
        padding-top: 2px;
    }

/* fade-out overlay panel */

#fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
    background-color: #f0f0f0;
    animation-duration: 1200ms;
    animation-timing-function: ease-out;
}

@keyframes fade-out {
    from { opacity: 1 }
    to { opacity: 0 }
}

#fader.fade-out {
    opacity: 0;
    animation-name: fade-out;
}

/* override styles for bootstrap modal */

body.selfie-mask #modal div.modal-dialog {
	position: relative;
	width: auto;
	max-width: 438px;
	margin: 10px auto;
}

body.selfie-mask #modal div.modal-dialog #modalHeader,
body.selfie-mask #modal div.modal-dialog div.modal-header {
	padding: 5px 10px;
	line-height: 1.1;
}

body.selfie-mask #modal div.modal-dialog div.modal-header h5,
body.selfie-mask #modal div.modal-dialog #modalLabel {
    display: inline-block;
}

body.selfie-mask #modal div.modal-dialog #modalButtonClose {
    margin-top: 8px;
}

body.selfie-mask #modal div.modal-dialog #modalContent {
    font-size: .92em;
}

/* media queries */

@media (min-width: 600px) {
	html[data-browser=Explorer] 
		body.selfie-mask div.innerWrap div.container div.row div.col-4.ie90 {
		width: 90%;
	}

	body.selfie-mask.application #modal div.modal-dialog {
		width: auto;
		max-width: 438px;
		margin: 12px auto;
	}

	body.selfie-mask div.outerWrap {
		overflow: hidden;
		font-size: 100%;
	}

	body.selfie-mask div.outerWrap header {
		padding-top: 9px;
		padding-left: 22px;
	}

	body.selfie-mask div.outerWrap header #menu-button {
		top: 3px;
	}

	body.selfie-mask div.outerWrap div.innerWrap {
		padding: 0 1em 0 18px;
	}

	body.selfie-mask div.innerWrap div.container div.row .padTop-8,
	body.selfie-mask div.innerWrap div.container div.row p.padTop-8 {
		padding-top: 8px;
	}

	body.selfie-mask div.innerWrap div.container div.row div.col-8 {
		margin-right: .5em;
		width: 65%;
	}

	body.selfie-mask div.innerWrap div.container div.row div.col-12 {
		width: 97.5%;
	}

	body.selfie-mask div.innerWrap div.container div.row div.col-4 {
		width: 33.33%;
	}

	body.selfie-mask.instructions div.innerWrap div.container div.row div.col-4 p {
		width: 98%;
	}

	body.selfie-mask div.innerWrap div.container div.row div.col-4 p {
		position: relative;
		width: 100%;
		max-width: 240px;
		margin: 0 auto;
	}

	body.selfie-mask div.innerWrap div.container div.row div.col-4 p img {
		position: relative;
		margin: 0 auto;
		display: block;
		height: auto;
		width: 99%;
		max-width: none;
	}

	body.selfie-mask div.innerWrap div.container div.row div.col-4 p span.centerAlignImage {
		width: 72%;
		margin: 0 auto;
	}

    body.selfie-mask div.outerWrap header #menu-button {
        margin-top: 7px;
    }

    body.selfie-mask div.outerWrap header h1 {
		position: relative;
        padding-top: 4px;
        padding-left: 33px;
    }
}

@media (min-width: 792px) {
	body.selfie-mask div.outerWrap #drop-menu div.menu-wrapper {
		width: 22em;
		right: 0;
		border-left: solid 1px #ccc;
		border-radius: 0 0 20px 20px;
	}

	body.selfie-mask div.outerWrap {
		border-left: solid 1px #ddd;
		border-right: solid 1px #ddd;
		min-height: 400px;
	}
	body.selfie-mask div.innerWrap {
		min-height: 300px;
	}
}

@media (min-width: 840px) {	body.selfie-mask div.outerWrap {
		overflow: hidden;
		margin-top: .6em;
		margin-bottom: 2em;
		border: solid 1px #ccc;
		border-top-width: 0;
		border-radius: 12px;
	}
}

@media (max-width: 599px) {
	body.selfie-mask div.outerWrap h1 {
		font-size: 1.25em;
	}
}

@media print {
	body.selfie-mask #fader,
	body.selfie-mask div.innerWrap div.container div.row a.top-link,
    body.selfie-mask div.outerWrap header img,
    body.selfie-mask div.outerWrap header a img { 
        display: none !important; 
    }
	body.selfie-mask div.outerWrap {
		overflow: inherit !important;
		font-size: 92% !important;
	}
    body.selfie-mask div.outerWrap header h1 { 
        margin: 0 !important;
        padding: 0 !important;
    }
	body.selfie-mask.script-help div.innerWrap div.container .instructions img,
    body.selfie-mask div.innerWrap div.container div.row div.col-4 p img {
        display: inline-block !important;
        opacity: 1 !important;
        page-break-inside: avoid;
    }
	body.selfie-mask div.outerWrap,
	body.selfie-mask div.outerWrap header {
		border-width: 0px !important;
	}
}

@media print and (max-width: 7.5in) {
	body.selfie-mask div.outerWrap {
		max-width: 100% !important;
	}
}
