/********************************************************************************************/
/*////////////////////////////////////////////////////////////////////////////////////////////
/* HTML 5 (waiting for the real deal)
/////////////////////////////////////////////////////////////////////////////////////////////
/********************************************************************************************/
header, section, footer, aside, nav, article, figure
{
  display: block;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video
{
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font:inherit;
  vertical-align: baseline;
}

ul, ol
{
	list-style-type:none;
}

fieldset
{
	margin:0;
	padding:0;
	border:0;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section
{
  display: block;
}

table
{ border-collapse: collapse; border-spacing: 0; }
pre, code, kbd, samp
{ font-family: 'monaco', monospace, sans-serif; }

button
{  width: auto; overflow: visible; }
.ie7 img
{ -ms-interpolation-mode: bicubic; }

/* Clearing float use : <div class="clear"><!-- Clearing floats --></div> */
.clear
{
	clear:both;
	float:none !important;
	height:0;
	line-height:0;
}

/********************************************************************************************/
/* Fonts
/********************************************************************************************/
/*REGULAR*/
@font-face {
    font-family: 'interstate';
    src: url('../font/Interstate/InterstateLight.woff') format('woff'),
         url('../font/Interstate/InterstateLight.woff2') format('woff2'),
         url('../font/Interstate/InterstateLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'interstateCond';
    src: url('../font/Interstate/InterstateRegularCond.woff') format('woff'),
         url('../font/Interstate/InterstateRegularCond.woff2') format('woff2'),
         url('../font/Interstate/InterstateRegularCond.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'interstateCond';
    src: url('../font/Interstate/InterstateLightCond.woff') format('woff'),
         url('../font/Interstate/InterstateLightCond.woff2') format('woff2'),
         url('../font/Interstate/InterstateLightCond.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background-color: #484848;
    overflow: hidden;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
@media screen and (max-width: 768px) {
  body {
    overflow-y: auto;
  }
}

section.fl-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 625px;
    background-color: #fff;
    transform: translateX(-50%) translateY(-50%);
}

section.fl-panel .header {
    height: 100px;
    width: 100%;
    background-color: #f5f5f5;
    text-align: center;
}

section.fl-panel .header svg {
    height: 85px;
    margin-top: 5px;
}

section.fl-panel .header svg .name {
    transform: translateY(10px);
}

section.fl-panel .header .black {
    fill: #484848;
}
section.fl-panel .header .red {
    fill: #df5952;
}
section.fl-panel .header .gray {
    fill: #7c7c7c;
}

#msg {
  width: 360px;
  margin: 0 auto;
  padding-top: 30px;
}
#msg.errors {
  color: #df5952;
}

section.fl-panel ul.legend {
    /* width: 100%; */
    padding-bottom: 20px;
    font-size: 12px;
}
section.fl-panel ul.legend li {
    list-style-type: disc;
}
section.fl-panel form {
    width: 360px;
    margin: 0 auto;
    padding: 30px 0;
}
section.fl-panel .btn-row {
  text-align: right;
}

section.fl-panel form label {
    display: block;
    margin: 0;
    margin-bottom: 15px;
    font-family: 'interstateCond';
    font-weight: 400;
    font-size: 22px;
    color: #484848;
    text-transform: uppercase;
}

section.fl-panel form input:not([type='submit']) {
    display: block;
    height: 50px;
    line-height: 50px;
    width: 100%;
    margin: 0;
    margin-bottom: 20px;
    padding: 0 15px;
    font-family: 'interstate';
    font-weight: 300;
    font-size: 20px;
    color: #484848;
    background-color: #fff;
    border: 1px solid #a8a8a8;
    border-radius: 0;
    transition: all 0.25s ease-in-out;
}
section.fl-panel form input:not([type='submit']):focus {
    outline: none;
    border: 1px solid #333;
}

section.fl-panel form input[type='submit'] {
    height: 50px;
    line-height: 50px;
    margin: 0;
    padding: 0 20px;
    font-family: 'interstate';
    font-weight: 300;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    background-color: #df5952;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}
section.fl-panel form input[type='submit']:focus {
    outline: none;
}
section.fl-panel form input[type='submit']:hover {
    background-color: #bc4c47;
}

section.fl-panel .clear {
    content: '';
    clear: both;
}

section.fl-panel .footer {
    display: block;
    width: 425px;
    margin: 0 auto;
    padding: 25px 0;
    text-align: center;
    border-top: 4px solid #f5f5f5;
}

section.fl-panel .footer p {
    margin: 0;
}

section.fl-panel .footer .forgot {
    margin-bottom: 10px;
}

section.fl-panel .footer .forgot a {
    line-height: 24px;
    font-family: 'interstateCond';
    font-weight: 300;
    font-size: 16px;
    color: #484848;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}
section.fl-panel .footer .forgot a:hover {
    text-decoration: underline;
}

section.fl-panel .footer .signup {
    line-height: 28px;
    font-family: 'interstateCond';
    font-weight: 400;
    font-size: 18px;
    color: #484848;
    text-transform: uppercase;
}

section.fl-panel .footer .signup a {
    color: #df5952;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}
section.fl-panel .footer .signup a:hover {
    text-decoration: underline;
}

section.fl-panel #message {
  display: none;
  font-family: 'interstate';
  padding: 50px 20px;
  font-size: 16px;
  text-align: center;
}

section.fl-panel input.error {
  border-color: #FF0000 !important;
}
section.fl-panel #error {
  display: none;
  padding-bottom: 20px;
  color: #FF0000;
}
section.fl-panel form.error input[type="submit"] {
  background-color: #CECECE;
  pointer-events: none;
}


@media screen and (max-width: 768px) {
    body {
        height: auto;
    }

    section.fl-panel {
        position: inherit;
        height: auto;
        width: 100%;
        transform: translateX(0) translateY(0);
    }

    section.fl-panel .header {
        height: 60px;
        line-height: 60px;
    }

    section.fl-panel .header svg {
        height: 40px;
        margin: 10px 0;
    }

    section.fl-panel form, section.fl-panel .footer {
        width: 90%;
    }

    section.fl-panel form input {
        -webkit-appearance: none;
    }

    section.fl-panel form input[type='submit'] {
        float: none;
        width: 100%;
    }
}

h1.error404 {
  text-align: center;
  font-size: 80px;
  margin: 40px;
}
