/*
    style is a necessarily subjective thing
    =======================================

    the following sort of complies with current company
    guidelines for how things should look.

*/

@font-face {
    font-family: Rubik-normal;
    src: url("fonts/Rubik-Regular.ttf");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: Rubik-Medium;
    src: url("fonts/Rubik-Medium.ttf")
}

@font-face {
    font-family: Rubik-Bold;
    src: url("fonts/Rubik-Bold.ttf")
}

@font-face {
    font-family: Rubik-italic;
    src: url("fonts/Rubik-Italic.ttf");
    font-weight: 400;
    font-style: italic
}

@font-face {
    font-family: Rubik-black;
    src: url("fonts/Rubik-Black.ttf");
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: Rubik-black-italic;
    src: url("fonts/Rubik-BlackItalic.ttf");
    font-weight: 700;
    font-style: italic
}

@font-face {
    font-family: Rubik-Light;
    src: url("fonts/Rubik-Light.ttf")
}
*
{
    padding: 0px;
    margin: 0px;
    font-family: Rubik-normal, "Calibri", "Helvetica Neue", helvetica, sans-serif;
    font-size: 18pt;
}

html, body
{
    background-color: #ffffff;
    color: #000000;
    height: 100%;
}

/*  restore paragraph spacing */
p + *, * + p
{
    margin-top: 0.5em;
}

h2, h3, h4
{
    font-family: Rubik-heavy, "Calibri", "Helvetica Neue", helvetica, sans-serif;
}

ul
{
    display: block;
    list-style-type: disc;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    padding-left: 40px;
}

li
{
    display: list-item;
}

/*html, body, table, tbody
{
    font-family: Rubik, "Calibri", "Helvetica Neue", helvetica, sans-serif;
    font-size: 18pt;
    text-shadow: 2px 2px 2px #000000;
    background-color: #000000;
    color: #ffffff;
    height: 100%;
    min-height: 400px;
}*/

body
{
    background-image: url("images/polygon-darker-bg.png");
    background-size: cover;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 0px;
    margin: 0px;
}

#poweredbydatamine
{
    max-width: 450px;
    width: 72%;
    min-height: 480px;
    /* max-width: 40em; */
    /* background-image: url("images/datamine.logo.black-200x62.png");
    background-position: bottom right;
    background-repeat: no-repeat;
    background-color: transparent; */
    padding: 2em;
    margin: 40px auto auto auto;
    position: absolute;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%,-40%);
    transform: translate(-50%,-40%);
    text-align: left;
    /* background: rgba(249, 249, 249, 0.2);
    background: #411e5a; */
    background: rgba(18, 15, 15, 0.47);
    border-radius: 5px;
    box-shadow: 0px 3px 13px 8px rgb(0, 0, 0, 0.3);
}

.content
{
    color: white;
    opacity: 1.00;
    background-color: transparent;
}

p.title {
    font-family: Rubik-Bold;
    font-weight: bold;
    font-size: 35px;
    color: white;    
    /* padding-bottom: 0.5rem; */
    text-align: center;
}

p.subtitle {
 font-family: Rubik-Light;
 font-size: 16px;
 font-weight: 300;
 color: white;
 text-align: center;
 margin-top: 0.3em;
}



p.input-label {
    margin-top: 1.5em;
    font-family: Rubik-Medium;
    font-size: 12px;
    font-weight: 500;
    color: #6e8894;
    padding-bottom: 0.2rem;
}

em, i
{
    font-family: Rubik-italic;
}

a
{
    font-family: Rubik-normal, "Calibri", "Helvetica Neue", sans-serif;
}

a:link {
    color: #6e8894;
    text-decoration: none !important;
}

a:hover,
a:active
{
    color: #663f96;
}

a:visited {
    color: #a066a8;
}



.link{
    font-family: Rubik-normal;
    font-size: 14px;
    color: #6e8894;
}

.center {
    text-align: center;
}

.messages
{
    /* font-size: 10pt; */
    color: #ffffff;
    /* background-color: #ffffff; */
    /* border: 1px solid #000000; */
    /* border-radius: 5px; */
    padding: 0;
}

.messages li
{
    list-style-type: none;
    display: block;
    padding: 2px 10px;
}

.messages li.error
{
    background-color: #ea4d5a;
    color: #ffffff;
    font-size: 0.7em;
    padding: 10px;
    border-radius: 6px;
}

.messages li.sucess
{
    background-color: #663f96;
    color: #ffffff;
    font-size: 0.7em;
    padding: 10px;
    border-radius: 6px;
}

.wrap
{
    word-wrap: break-word;
}

.not_so_close
{
    margin-top: 2em !important;
}

p.bottom_of_page
{
    border-top: 1px solid #ebebeb;
    font-size: 14pt;
    font-family: Rubik-normal-italic;
    font-style: italic;
}

p.bottom_of_page a
{
    font-size: 14pt;
    font-family: Rubik-normal-italic;
    font-style: italic; 
}

.left_aligned
{
    width: 40em;
    text-align: left;
    padding: 2em;
    margin: auto;
    font-size: 81%;
}

#login-button
{
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    text-decoration: none;
    padding: 4px 20px;
    color: initial;
}

.spinner {
    animation: rotate 2s linear infinite;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
  }

  .spinner .path {
    stroke: rgb(109, 61, 168);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
  }

  @keyframes rotate {
    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes dash {
    0% {
      stroke-dasharray: 1, 150;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -35;
    }
    100% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -124;
    }
  }

@media only screen and (max-width: 480px) {
    #poweredbydatamine
    {
        max-width: 450px;
        width: 100%;
        height: inherit;
        min-height: 480px;
        padding: 0;
        margin: 0;
        position: relative;
        top: 0;
        left: 0;
        -webkit-transform: translate(-50%,-40%);
        transform: none;
        text-align: left;
        /* background: rgba(249, 249, 249, 0.2);
        background: #411e5a; */
        background: rgba(18, 15, 15, 0.47);
        border-radius: 0;
        box-shadow: 0px 3px 13px 8px rgb(0, 0, 0, 0.3);
    }
}
