/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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, center,
dl, dt, dd, ol, ul, 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-text-size-adjust: none;

}

*{
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}


body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

html{
    overflow: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

body {
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    margin: 0;
    height: 100%;
}


@font-face {font-family: 'SweaterSchoolSb-Regular';src: url('nav/font/webfonts/2D6157_0_0.eot');src: url('nav/font/webfonts/2D6157_0_0.eot?#iefix') format('embedded-opentype'),url('nav/font/webfonts/2D6157_0_0.woff2') format('woff2'),url('nav/font/webfonts/2D6157_0_0.woff') format('woff'),url('nav/font/webfonts/2D6157_0_0.ttf') format('truetype');}


#navigation {
    height: 40px;
    width: 100%;
    background:#000000;
    position: absolute;
    clear: both;
}
#navigation .right_button {
    margin-top: 6px;
    margin-right: 4px;
    float: right;
    width: 30px;
    height: 30px;
    display: block;
}
#title_container {
    width: calc(100% - 200px);
    float: left;
    margin-left: 50px;
    text-align: center;
}
#navigation .left_button {
    margin-top: 6px;
    margin-left: 8px;
    margin-right: 8px;
    float: left;
    width: 30px;
    height: 30px;
    display: block;
}
#navigation h1 {
    color: #FFFFFF;
    font-family: "SweaterSchoolRg-Regular", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
}

#dialog_screen {
    position: absolute;
    background: rgba(0,0,0,.68);
    width: 100%;
    height: 100%;
    display: none;
    font-size: 15px;
    font-size: 2.2vm;
    font-size: 2.2vmin;
}


#dialog_screen #certificate_surround {
position: relative;
top: 20%;
height: 60%;
width: 90%;
margin: auto;
background-color: #FFD27C;
border-radius: 20px;
-webkit-box-shadow: 6px 6px 0 3px #A87E41;
box-shadow: 6px 6px 0 3px #A87E41;
}

#dialog_screen #certificate_surround #certificate {
position: relative;
height: 88%;
width: 90%;
top: 5%;
margin: auto;
background: rgba(253, 253, 253, 1);
text-align: center;
}

#dialog_screen #certificate_surround #certificate h1 {
width: 100%;
display: block;
text-align: center;
font-size: 160%;
padding-top: 3%;
padding-bottom: 2%;
font-family: "SweaterSchoolRg-Regular","Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
color: #873A23;
}
#dialog_screen #certificate_surround #certificate img {
height: 70%;
border-radius: 15px;
box-sizing: content-box;
width: auto;
margin: auto;
}

#dialog_screen #certificate_surround #certificate .green_button {
width: 15%;
text-align: center;
display: block;
border-radius: 10px;
color: rgba(255,255,255,1);
text-decoration: none;
font-size: 150%;
padding: 10px;
padding-right: 20px;
right: 2%;
bottom: 5%;
position: absolute;
background: linear-gradient(to bottom,#51c37a 0,#51c37a 48%,#46b579 49%,#51c179 100%);
font-family: "SweaterSchoolRg-Regular","Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}

#dialog_screen #certificate_surround #certificate .cancel {
left: 2%;
right: auto;
}

