@font-face {
	font-family: 'PTSansWebRegular';
	src: 
		url('pt-sans_regular.woff2') format('woff2'),
		url('pt-sans_regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Oswald';
	src: 
	    url('Oswald-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

html {
/*    background-color: #23236c;*/
    -webkit-text-size-adjust: 100%;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}


header {
    /*    background-color: #dfdffc;*/
    background-color: #dfedfc;
    border: 10px solid #23236c;
    border-width: 10px 0;
}

h1 {
    filter: url("#colorize");
    font-family: "Oswald";
    letter-spacing: -5.7px;
    font-weight: bold;
    font-style: normal;
    font-size: clamp(5.4rem,5.4vw,9.2rem);
    margin-top: 0.5em;
    /*margin-right: 0.4em;*/
    /*    color: white;*/
    word-wrap: anywhere;
    margin-bottom: 0.5em;
    /*margin-left: 0.4em;*/
    line-height: 1em;
/*    border: 6px solid rgb(28, 63, 73);*/
    padding: 0.5em 20px;
    max-width: 450px;
    margin: 0rem auto;
    color: #00000000;
    background-image: url(wordrainlogo.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.mainwrapper {
/*    max-width: 450px;*/
    margin: 0 calc(50vw - 245px);
    padding: 0 0 20px 0;
    box-sizing: border-box;
}

body {
    font-family: "PTSansWebRegular",sans-serif;
    font-weight: normal;
    color: black;
    min-height: 100vh;
    margin: 0;
    line-height: normal;
}

.ui-menu .ui-menu-item {
    font-size: 2rem;
    line-height: normal;    
}

.mainwrapper {
    min-height: calc(100vh - 25em);
}

main {
    padding-bottom: 1em;
    background-color: #ffffffff;
    border: solid #dfdffc 0;
/*    border-width: 0 0 1em 0;*/
    padding: 20px;
    font-size: 1.2rem;
}

footer {
/*    background-color: #dfdffc;*/
/*    background-color: #31316c;*/
/*    background-color: #5bb2e3;*/
    background-color: #2597d7;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 1000px) {
    footer {
        display: block;
    }
    footer ul.signoff {
	padding: 20px 0 !important;
	width: auto !important;
    }
}


footer ul {
    flex: 1 1 0;
}

footer .logowrapper {
    flex: 0 0 calc(50vw - 265px);
    background-color: #23236c;
}

footer .logo {
    padding: 40px;
}

footer ul.signoff {
/*    width: 450px;*/
/*    max-width: 450px;*/
    color: white;
    flex: 1000000 0 0;
    /*    padding: 20px;*/
    margin: 20px 40px;
    box-sizing: border-box;
/*    line-height: 1.6em;*/
/*    font-size: 1.2rem;*/
}

footer img {
    width: 150px;
}

footer ul {
    list-style-type: none;
    margin: 0;
    padding: 20px 0;
}

footer li {
    margin-bottom: 1rem;
}

footer a {
    color: white;
    word-wrap: anywhere;
}

form {
    font-size: 1.2rem;
    line-height: 1.6;
}

.fileupload {
    padding: 10px 15px;
    font-size: 16pt;
    display: block;
    text-align: center;
    color: white;
    cursor: pointer;
}

#fileinputlabel {
    border-radius: 10px;
    margin: 0 0 12pt 0;
    background-color: #0e0e49;
    display: inline-block;
    position: relative;

}

.uploadprompt .uploadicon {
    display: inline-block;
    border-radius: 4px;
    margin-right: 10px;
    color: #008f00;
    background-image: url(upload-white.png);
    width: 23px;
    height: 23px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: text-bottom;
}


input[type="file"].hidefilename {
    display: block;
    cursor: pointer;
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}



select {
    box-sizing: border-box;
    font-family: 'PTSansWebRegular',sans-serif;
    font-size: 1.2rem;
}

.disclose {
    display: grid;
    grid-template-rows: min-content 0fr;
    transition: grid-template-rows 500ms;
}

.disclose.disclosed .disclosebutton:before {
    transform: rotate(0deg);
}

.disclose.disclosed {
    grid-template-rows: min-content 1fr;
}

.disclosecontent {
    padding-left: 2em;
    padding-right: 1em;
    overflow-y: hidden;
    transition: all .6s ease;
    border: 2px solid transparent;
}

.disclose.disclosed .disclosecontent {
    border: 2px solid black;
}


.disclosebutton:before {
    content: "";
    position: absolute;
    top: 1em;
    left: 0;
    width: 1em;
    height: 1em;
    background: no-repeat;
    transform: rotate(-90deg);
    transform-origin: 10px 7px;
    transition: all .3s ease;
    background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2030.58%2019.64\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23000000\'%3E%3Cpath%20%20d%3D%22M30.22%203.49L27.07.36a1.19%201.19%200%200%200-1.71%200L15.29%2010.44%205.22.36a1.19%201.19%200%200%200-1.71%200L.36%203.49a1.21%201.21%200%200%200%200%201.73l14.08%2014.06a1.19%201.19%200%200%200%201.71%200L30.22%205.22a1.21%201.21%200%200%200%200-1.73z%22%2F%3E%3C%2Fsvg%3E');
}

.disclosebutton {
    position: relative;
    background-position: top 50% right 1.5em;
    background-repeat: no-repeat;
    background-size: 10px 10px;
    border: 0;
    box-sizing: border-box;
    cursor: pointer;
    font-family: 'PTSansWebRegular',sans-serif;
    font-size: 1.2rem;
    line-height: 1.45;
    padding: .63em 2.5em .63em 1.5em;
    transition: all .3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.inlinepdf {
    width: 100%;
    height: 200px;
}

.processing-progress progress {
    margin-left: 1em;
}

#nwordswrapper {
    display: block;
    margin: 1em 0;
}

#nwords {
    display: block;
}

.buttonwrapper button {
    font-family: "PTSansWebRegular",sans-serif;
    border-radius: 10px;
    margin: 0 0 12pt 0;
    background-color: #0e0e49;
    display: block;
    position: relative;
    color: white;
    border: none;
    font-size: 16pt;
    padding: 10px 15px;
    cursor: pointer;
}

.checkboxrow {
    display: table-row;
}

.checkboxrow input {
    display: table-cell;
    vertical-align: baseline;
}

.checkboxrow label {
    display: table-cell;
    padding-left: 0.5em;
    vertical-align: baseline;
    line-height: 1.3em;
}

.filewrapper, .checkboxrowwrapper {
    margin: 0.5em 0;
}

input[type=range] {
    display: table-cell;
    margin-left: 1em;
    vertical-align: middle;
}

.rangelabels {
    display: table;
}

.rangelabelrow {
    display: table-row;
}

.rangelabel {
    display: table-cell;
}

.rangedisplay {
    display: table-cell;
    padding-left: 0.5em;
}

.rangelimit {
    display: table-cell;
    vertical-align: top;
    font-size: 0.5em;
    display: none;
}

.disclose-after-upload {
    margin-bottom: 1em;
}

.renderexample {
    border: 1px solid black;
    display: none;
}

.logotext {
    font-family: "Trebuchet MS";
    color: white;

font-size: 0.9rem;
margin-left: 2px;
align-self: center;
font-weight: bold;
}
