﻿html {
    font-family: 'Work Sans', sans-serif;
}

/* Prevent materialize from reducing font size on smaller screens */
@media only screen and (min-width: 0) {
html {
    font-size: 15px; } }
@media only screen and (min-width: 992px) {
html {
    font-size: 15px; } }
@media only screen and (min-width: 1200px) {
html {
    font-size: 15px; } }

/* input field styling */

/* form-alt */ 

fieldset.form-alt input[type=text]:focus, fieldset.form-alt input[type=password]:focus {
    border-bottom: none;
    box-shadow: none;
    background-color: #e1d9ef;
}

/* end of form-alt*/

/* on-blue */

/* label focus color */
.on-blue.input-field input[type=text]:focus + label, .on-blue.input-field input[type=password]:focus + label {
    color: #ffffff;
}

/* label underline focus color */
.on-blue.input-field input[type=text]:focus, .on-blue.input-field input[type=password]:focus {
    border-bottom: 1px solid #ffffff;
    box-shadow: 0 1px 0 0 #ffffff;
}

/* valid color */
.on-blue.input-field input[type=text].valid, .on-blue.input-field input[type=password].valid {
    border-bottom: 1px solid #ffffff;
    box-shadow: 0 1px 0 0 #ffffff;
}
/* invalid color */
.on-blue.input-field input[type=text].invalid, .on-blue.input-field input[type=password].invalid {
    border-bottom: 1px solid #ffffff;
    box-shadow: 0 1px 0 0 #ffffff;
}

/* input text color */
.on-blue.input-field {
    color: #b4b0d1;
}
/* icon color */
.on-blue.input-field i {
    color: #ffffff;
}
/* label color */
.on-blue.input-field label {
    color: #b4b0d1;
}
/* input underline */
.on-blue.input-field input[type=text] {
    border-bottom: 1px solid #b4b0d1;
}

/* icon prefix focus color */
.on-blue.input-field .prefix.active {
    color: #ffffff;
}

/* end of on-blue */

/* end of input field styling */

/* Materialize native valign does not work - use this instead, but only works in certain situations */
.my-valign-wrapper {
    display: table;
    height: 84px;
    overflow: hidden;
    width: 100%;
}

.my-valign-wrapper .my-valign {
    display: table-cell;
    vertical-align: middle;
}

.my-valign-wrapper .my-valign.center-align {
    text-align: center;
}

/* Materialize native valign does not work */

.container {
  max-width: 1728px;
}

fieldset {
    padding: 0px;
    border: none;
}

.modal {
    background-color: #ede7f6;
}

.modal .modal-content {
    background-color: #673ab7;
    color: #ffffff;
}

.modal .modal-content a {
    color: #ff6d00;
}

.modal .modal-content a:hover {
    border-bottom: 1px solid #ff6d00;
}

.modal .modal-content h4 {
    font-size: 2rem;
    font-weight: bold;
}

.modal .modal-footer {
    background-color: #ede7f6;
}

@media only screen and (min-width : 601px) {
  .container {
    width: 90%; } }

@media only screen and (min-width : 993px) {
  .container {
    width: 90%; } }

.navbar-fixed.upper {
    height: 38px;
}

nav.upper-nav {
    height: 38px;
    line-height: 38px;
    background-color: #311b92;
    padding-right: 32px;
}

nav.upper-nav ul a {
    font-size: 0.75rem;
    background-image: url('/lib/img/small-bullet.png');
    background-repeat: no-repeat;
    background-position: left center;
}

nav.upper-nav ul li.social a {
    background-image: none;
    padding: 6px 3px 0px 3px;
    position: relative;
    left: -3px;
}

nav.upper-nav ul a.first {
    background-image: none;
}

.navbar-fixed.main {
    height: 56px;
}

nav.main-nav {
    height: 91px;
    line-height: 1rem;
    background-color: #ffffff;
    padding-left: 40px;
    padding-right: 40px;
    color: #484848;
}

nav.main-nav .logo-wrap {
    margin-top: 15px;
}

nav.main-nav a.logo-wrap img {
    max-height: 60px;
    max-width: 174px;
}

nav.main-nav .tagline {
    float: left;
    width: 270px;
    font-size: 0.8125rem;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 29px;
    color: #000000;
}

nav.main-nav ul li {
    line-height: 91px;
    color: #484848;
}

nav.main-nav ul li a {
    color: #0f0f0f;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 1.125rem;
    font-weight: 600;
    border-right: 1px solid #ededed;
    background-color: #ffffff;
}

nav.main-nav ul li a:hover{
    background-color: #fafafa; 
}

nav.main-nav ul li a.first {
    border-left: 1px solid #ededed;
}

nav.main-nav .btn {
    padding-left: 28px;
    padding-right: 28px;
    font-size: 11.25px !important; /* Prevent Materialise's automatic scaling down of all html font-size for smaller screen sizes */
}

nav.main-nav .btn i.right {
    height: auto;
    line-height: inherit;
    margin-left: 8px;
}

nav.main-nav div.actions-wrap {
    margin-top: 27px;
    float: right;
}

/* Copy button-collapse styles for button-mobile-close */

@media only screen and (min-width : 993px) {
    nav a.button-mobile-close{
      display: none; } 
}

nav .button-mobile-close {
    float: left;
    position: relative;
    z-index: 1;
    height: 56px;
}

nav .button-mobile-close i {
    font-size: 2.7rem;
    height: 56px;
    line-height: 56px;
}

@media only screen and (min-width : 600px) {
    /* hide-on-med-and-up is not quite getting it right for this item */
    nav a.button-collapse {
        display: none;
    }
}

@media only screen and (min-width : 601px) {
    nav a.button-collapse, nav a.button-collapse i {
        height: 64px;
        line-height: 64px;
    }
}

/* End of copy button-collapse styles for button-mobile-close */

nav.main-nav a.button-collapse, nav.main-nav a.button-mobile-close {
    color: #484848;
    float: right;
    margin-top: 18px;
    outline: 0;
}

a.button-mobile-close {
    width: 38px;
}

div.footer-nav {
    background-color: #ffffff;
    text-align: center;
    padding-top: 24px;
    padding-bottom: 24px;
}

div.footer-nav ul {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

div.footer-nav ul li {
    display: inline-block;
    font-size: 0.75rem;
    background-image: url('/lib/img/small-bullet-on-white.png');
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 12px;
    padding-right: 4px;
}

div.footer-nav ul li a {
    color: #1f1e20;
}

div.footer-nav ul li a:hover {
    border-bottom: 1px solid #1f1e20;
}

div.footer-nav ul li.first {
    background-image: none;
}

