/* Bootstrap overrides */
body .btn,
body .btn-group .btn:first-child,
body .btn-group .btn:last-child {
    background-image: none;
    border-radius: 0;
    font-family: Roboto, sans-serif;
    border: none;
}

body .dropdown-menu {
    border-radius: 0;
    padding: 5px;
}

body .dropdown-menu .btn-group .btn:nth-child(2) {
    display: none;
}

body .btn:active {
    box-shadow: none;
}

body .btn-info,
body .btn-success,
body .btn-danger,
body .btn-inverse {
    background-image: none;
}

body .btn-info,
body .btn-inverse,
body .btn-success {
    background-color: #000b8c;
}
body .btn-info:hover,
body .btn-inverse:hover,
body .btn-success:hover {
    background-color: #3366CC;
}
body .btn-danger {
    background-color: #FFA400;
}
body .btn-danger:hover {
    background-color: #FFBF4D;
}
.container {
    max-width: 100%;
}
/* End Bootstrap overrides */

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: "Roboto", sans-serif;
    margin: 0;
}
.noscroll {
    overflow: hidden;
}

/* Prevent page flashing on pages without uirouter */
.page-hidden {
    display: none;
}
.page-visible {
    display: block;
}
.page-loading-mask,
.sub-page-loading-mask {
    display: block;
    visibility: visible;
    position: fixed;
    top: -30px;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
    line-height: 100vh;
    text-align: center;
    transition: all 0.25s ease;
    opacity: 1;
    background-image: url('/static/img/site-loading-white.gif');
    background-position: center;
    background-color: white;
    background-size: 200px;
    background-repeat: no-repeat;
}
.loading-page-hidden {
    opacity: 0;
    visibility: hidden;
}

@font-face {
    font-family: OpenSans;
    font-style: normal;
    font-weight: 300;
    src: url(/static/font/opensanslight.woff);
}
@font-face {
    font-family: OpenSans;
    font-style: normal;
    font-weight: 400;
    src: url(/static/font/opensansregular.woff);
}
@font-face {
    font-family: OpenSans;
    font-style: normal;
    font-weight: 600;
    src: url(/static/font/opensanssemibold.woff2);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    font-weight: 300;
}

a {
    color: #49629A;
}

a:hover {
    color: #415CE4;
}

a:focus {
    outline: none;
}

hr {
  margin: 20px 0;
  border: 0;
  border-bottom: 1px solid #ddd;
}

.orange-hr {
    margin: 0.5em 0;
    border-bottom: 1px solid #FFA400;
    border-top: none;
}

.exclamation {
    display: inline-block;
    width: 20px;
    background: white;
    margin-right: 10px;
    color: #414042;
    text-align: center;
}

.browser-upgrade {
    background: #DCDDDE;
    width: 100%;
    padding: 10px 10px 13px;
    color: #414042;
    text-align: center;
}

.page-header {
    border-bottom: 1px solid #ddd;
}

.success-text {
    color: #00A000;
}

.failure-text {
    color: #A00000;
}

.noselect,
.ng-table th,
.ng-table-pagination {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
div.masquerade-container {
    position: fixed;
    bottom: 0;
    min-height: 30px;
    display: block;
    width: auto;
    z-index: 1000;
}
div.masquerade {
    position: relative;
    background-color: #CC0000;
    color: #eee;
    padding: 4px 6px;
    width: auto;
    top: 0;
    transition: top 0.25s ease;
    white-space: nowrap;
}
div.masquerade-container:hover div.masquerade {
    top: 30px;
}

.sm-grey-bg {
    background-color: #F3F5F9;
}

.terms-of-use-div {
    margin-bottom: 30px;
    background-color: #FFFFFF;
    padding-top: 30px;
}

.terms-of-use-container {
    overflow-y: scroll;
    height: 620px;
    background-color: white;
    padding: 0px 10px;
    border: 1px solid #B0BEC5;
    margin-bottom: 10px;
}

.navbar {
    margin: 0;
    padding: 10px 0;
    background-color: #FFFFFF;
    font-size: 15px;
    position: relative;
    z-index: 100;

}

.navbar .container {
    max-width: 100%;
    padding: 0 15px;
}

.navbar .brand {
    padding: 0px;
    margin-left: 45px;
    width: 250px;
}

.navbar .brand img {
    height: 40px; /* some versions of IE set the width really high */
    width: 250px;
}

.navbar .nav > li > a {
    padding: 10px 15px 10px;
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #777777;
    text-shadow: none;
}

.navbar .nav > li > a:hover {
    color: #555555;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.25);
}

.navbar .nav li.dropdown.open>.dropdown-toggle {
    background-color: #FFFFFF;
    color: #0081c2;
}

ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
    padding: 7px 0;
    margin-top: 0;
    border: none;
    border-radius: 0 0 4px 4px;
    float: right;
    background: white;
    box-shadow: 0 5px 5px rgba(0,0,0,.05);
}

.dropdown-header {
    padding: 0 15px;
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    margin-top: 10px;
}
.account-role {
    color: #9E9E9E;
}
.disabled {
    color: #CFCFCF;
}

.nav-divider hr {
    border-color: #ccc;
    margin: 10px auto;
}

.dropdown-toggle:focus {
    outline: none;
}

.navbar .pull-right>li>.dropdown-menu:before {
    display: none;
}

.navbar .pull-right>li>.dropdown-menu:after {
    display: none;
}

.navbar .nav > li > ul > li > a {
    padding: 5px 15px;
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 2px 0 0;
}

.navbar .nav > li > ul > li > a:hover {
    background: #E5ECF9;
    color: #555555;
}

.navbar .nav > li > ul > hr {
    width: 90%;
    margin: 5px auto;
    border-color: #ADBBDA;
}

.navbar-print {
    margin-top: 50px;
    display: none;
}

.nav a {
    outline: none;
}

#wrap {
    background-color: #DDD;
    height: auto !important;
    margin-bottom: -30px;
    min-height: 100%;
}

#push,
.footer {
    height: 30px;
}

.footer {
    background-color: #414042;
    text-align: center;
    position: relative;
    -webkit-transform: translateZ(0);
}
.footer span {
    font-size: .9em;
    top: 5px;
    color: #DDD;
}
.footer .footer-links-right {
    position: absolute;
    right: 5px;
    cursor: pointer;
    z-index: 1;
}
.footer a {
    color: #DDD;
    text-decoration: none;
}
.footer-links-left span,
.footer-links-right span {
    padding: 5px;
}
.hide-decoration:hover {
    text-decoration: none;
}
.feedback-button {
    left: 0;
    position: absolute;
    padding: 0 10px;
    cursor: pointer;
    z-index: 1;
}
.copyright-text {
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    z-index: 0;
}

.pointer {
    cursor: pointer;
}

.smbtn {
    height: 40px;
    position: relative;
    padding: 0 30px;
    background-color: #2196F3;
    border-radius: 4px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 14px;
    text-shadow: none;
    border: none;
    outline: none;
    transition: background-color .25s;
    -o-transition: background-color .25s;
    -moz-transition: background-color .25s;
    -webkit-transition: background-color .25s;
}

.smbtn:hover {
    background-color: #42A5F5;
}

.smbtn.disabled.saved {
    background-color: #66AA66;
}

.smbtn.disabled.error {
    background-color: #BB606B;
}

.smbtn.disabled,
.smbtn.disabled:hover {
    background-color: #888888;
    cursor: default;
}

.sm-glyphicon {
    height: 40px;
    box-shadow: none;
    background: #FFFFFF;
    padding: .8em 14px;
    border-radius: 0;
    margin-bottom: 10px;
    border: 1px solid #EEEEEE;
    position: relative;
    left: -5px;
    outline: none;
}

.sm-glyphicon:focus {
    background-color: #E4E8F2;
    border: 1px solid #DDDDDD;
}

h2.error {
  color: red;
}

input:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus {
    box-shadow: none;
    outline: 0;
    border-radius: 0;
    border: 1px solid #4DB6AC;
    background: #E0F2F1;
}

input,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
    height: 40px;
    box-shadow: none;
    background: #FFFFFF;
    padding: .8em 14px;
    border-radius: 0;
    margin-bottom: 10px;
    border: 1px solid #B0BEC5;
}

select {
    height: 40px;
}

input[type="button"]:focus,
input[type="submit"]:focus {
    border: none;
}

.narrow-select {
    width: 60px !important;
}

.dynamic-width {
    width: auto !important;
}

textarea {
    box-shadow: none;
    border: 0;
    background: #FFFFFF;
    padding: 10px 10px;
    border-radius: 0;
    border: 1px solid #B0BEC5;
}

textarea:focus {
    box-shadow: none;
    border-radius: 0;
    border: 1px solid #4DB6AC;
    background-color: #E0F2F1;
}

.table th,
.table td {
    border-top-color: #EEEEEE;
}

/* Bank Picker Styles */
.bank-picker-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    font-family: "Roboto";
}
.bank-picker-title {
    text-align: center;
    font-family: "Roboto";
}
.bank-select {
    display: block;
    margin: 0 auto;
    width: 100%;
}
.bank-picker-container .smbtn {
    margin: 0 auto;
    margin-top: 15px;
    display: block;
    width: 100%;
}
@media (max-width: 979px) {
    .navbar .container {
        margin: auto;
    }
    .navbar {
        padding-bottom: 10px;
    }
    ul.nav li.dropdown > ul.dropdown-menu {
        display: block;
    }
    .dropdown-toggle {
        color: #0081C2 !important;
        pointer-events: none;
        cursor: default;
    }
    .navbar .nav > li > a:hover {
        background: #E5ECF9;
    }
    ul.nav li.dropdown:hover > ul.dropdown-menu {
        float: none;
        padding: 0;
    }
}

@media (max-width:767px) {
    #wrap {
        margin-bottom: 0;
    }

    #push,
    .footer {
        height: auto;
    }
    .footer {
        display: none;
    }

    body {
        padding: 0;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar .container {
        margin-left: 10px;
    }
}

@media (max-width: 600px) {
    .footer .footer-links-left,
    .footer .footer-links-right {
        display: none;
    }
}

/* Overwrite some table-bordered defaults to not have rounded corners */
.table-striped thead th:nth-child(2) {
    min-width: 80px;
}

.table-striped tbody > tr:nth-child(2n+1) > td,
.table-striped tbody > tr:nth-child(2n+1) > th {
    background-color: white;
}

.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
    background-color: #E4E8F2;
    border-top: 1px solid #E0E0E0;
}

.table-hover tbody tr:hover + tr > td,
.table-hover tbody tr:hover + tr > th {
    border-top: 1px solid #E0E0E0;
}

.table-bordered {
    border-radius: 0;
}

.table-bordered thead:first-child tr:first-child > th:first-child,
.table-bordered tbody:first-child tr:first-child > td:first-child,
.table-bordered tbody:first-child tr:first-child > th:first-child {
    border-top-left-radius: 0;
}

.table-bordered thead:first-child tr:first-child > th:last-child,
.table-bordered tbody:first-child tr:first-child > td:last-child,
.table-bordered tbody:first-child tr:first-child > th:last-child {
    border-top-right-radius: 0;
}

.table-bordered thead:last-child tr:last-child > th:first-child,
.table-bordered tbody:last-child tr:last-child > td:first-child,
.table-bordered tbody:last-child tr:last-child > th:first-child,
.table-bordered tfoot:last-child tr:last-child > td:first-child,
.table-bordered tfoot:last-child tr:last-child > th:first-child {
    border-bottom-left-radius: 0;
}

.table-bordered thead:last-child tr:last-child > th:last-child,
.table-bordered tbody:last-child tr:last-child > td:last-child,
.table-bordered tbody:last-child tr:last-child > th:last-child,
.table-bordered tfoot:last-child tr:last-child > td:last-child,
.table-bordered tfoot:last-child tr:last-child > th:last-child {
  border-bottom-right-radius: 0;
}

.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
    border-bottom-left-radius: 0;
}

.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
    border-bottom-right-radius: 0;
}

.table-bordered caption + thead tr:first-child th:first-child,
.table-bordered caption + tbody tr:first-child td:first-child,
.table-bordered colgroup + thead tr:first-child th:first-child,
.table-bordered colgroup + tbody tr:first-child td:first-child {
    border-top-left-radius: 0;
}

.table-bordered caption + thead tr:first-child th:last-child,
.table-bordered caption + tbody tr:first-child td:last-child,
.table-bordered colgroup + thead tr:first-child th:last-child,
.table-bordered colgroup + tbody tr:first-child td:last-child {
    border-top-right-radius: 0;
}

/* SM Banner Style */
.sm-banner {
    text-align: center;
    display: block;
    width: 100%;
    margin-bottom: 40px;
}

.sm-banner-row {
    display: block;
}

.sm-banner-row:first-child {
    box-shadow: 0 3px 3px rgba(0,0,0,0.1);
    z-index: 100;
}

.sm-banner .title,
.sm-banner .text {
    width: 100%;
    color: #FFFFFF;
    display: block;
    vertical-align: middle;
}

.sm-banner .title {
    background-color: #0D47A1;
    font: 300 30px 'Roboto', sans-serif;
}

.sm-banner .title {
    height: 80px;
    line-height: 80px;
}

.sm-banner .text {
    background-color: #4DB6AC;
    font: 400 14px 'Roboto', sans-serif;
}

.nav-menu {
    background: #DCDDDE;
    width: 100%;
    min-height: 0;
    text-align: center;
}

.product-navigation {
    padding: 0 50px;
    position: relative;
}

.product-navigation h4 {
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
    padding: 10px;
    transition: all .25s;
}

.product-navigation .dropdown-arrow {
    height: 20px;
    width: 20px;
    border-radius: 20px;
    background: white;
    position: absolute;
    right: 10px;
    top: 10px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    transition: all .25s;
}

.product-navigation .dropdown-arrow:before {
    content: '';
    display: block;
    height: 2px;
    width: 8px;
    background: #DCDDDE;
    position: absolute;
    top: 11px;
    left: 5px;
}
.product-navigation .dropdown-arrow:after {
    content: '';
    display: block;
    height: 8px;
    width: 2px;
    background: #DCDDDE;
    position: absolute;
    top: 5px;
    left: 11px;
}

.product-navigation .product-link {
    width: 20%;
    display: none;
    opacity: 0;
    text-align: center;
    margin: 10px auto;
    cursor: pointer;
}

.product-navigation .product-icon {
    height: 35px;
    width: 35px;
    display: block;
    opacity: 1;
    transition: all .25s;
    margin: 0 auto 10px;
}

.product-icon img {
    height: 90%;
    position: relative;
    top: 6px;
    -webkit-filter: invert(1);
    opacity: .6;
}

.product-navigation .product-label {
    margin: 10px;
    font-size: 12px;
    color: #414042;
}

/* SM Banner blue bar only */

.title-bar {
    background: #000B8C;
    font-size: 30px;
    color: white;
    padding: 30px;
    text-align: center;
}

.title-bar h1 {
    color: white;
}

.title-bar-small {
    padding: 10px;
}

/* Grey navigation bar */

.grey-nav {
    min-height: 50px;
    background: #CDCDCD;
    cursor: pointer;
}

.grey-nav-mobile-toggle {
    display: none;
    line-height: 50px;
    text-align: center;
    background: #DCDDDE;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.grey-nav-mobile {
    display: none;
    background: #DCDDDE;
    overflow: hidden;
    max-height: 0;
    transition: all .25s;
}

.grey-nav-open {
    max-height: 250px;
}

.grey-nav-link {
    float: left;
    text-align: center;
    line-height: 50px;
    height: 50px;
    cursor: pointer;
    padding: 0 10px;
    color: black;
}

.grey-nav-link:hover {
    background: #E0E0E0;
    transition: background .25s;
}

.grey-nav-link span {
    display: inline-block;
    line-height: 1.4em;
    vertical-align: middle;
    margin-top: -3px;
}

.grey-nav-link-mobile {
    display: block;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    width: 100%;
}

.grey-nav-link-mobile:hover {
    background: #CBCCCD;
    transition: background .25s;
}

.grey-nav-active-tab {
    animation: fade-in .25s;
    animation-fill-mode: forwards;
    -webkit-animation: fade-in .25s;
    -webkit-animation-fill-mode: forwards;
}

.grey-nav-disabled-tab {
    color: #AAA;
    cursor: default;
}

@keyframes fade-in {
    from {background: #CBCCCD;}
    to   {background: #B1B3B6;}
}

@-webkit-keyframes fade-in {
    from {background: #CBCCCD;}
    to   {background: #B1B3B6;}
}

@media (max-width:767px) {
    .grey-nav {
        display: none;
    }

    .grey-nav-mobile,
    .grey-nav-mobile-toggle {
        display: block;
    }

    /* Feedback Modal Styles */
    .feedback-selection-container {
        padding: 5px;
    }
    .feedback-selection-cell {
        width: 100%;
        padding: 0;
    }
    .feedback-type-icon-container {
        margin: 15px auto;
        width: 80px;
        height: 80px;
    }
    .feedback-email-link {
        padding: 0 15px;
    }
    .feedback-field-half-width {
        width: 100%;
    }
}

/* Style for Angular ngTable pagination */
.ng-table-pager {
    position: relative;
    margin-bottom: 60px;
    top: -40px;
}

.ng-table-pagination {
    list-style: none;
}

.ng-table-pagination li {
    float: left;
    text-align: center;
}

.ng-table-pagination li:first-child {
    border-left: 1px solid #DDDDDD;
}

.ng-table-pagination a {
    line-height: 40px;
    text-decoration: none;
    display: block;
    width: 40px;
    height: 40px;
}

.ng-table-pagination .disabled a {
    color: #FFFFFF;
    cursor: default;
}

.ng-table-counts .btn,
.ng-table-pagination li {
    color: #49629A;
    background-color: #FFFFFF;
    background-position: 0;
    background-image: none;
    border-top: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    min-height: 40px;
    font-size: 14px;
    outline: none;
    box-shadow: none;
    text-shadow: none;
}

.ng-table-counts .btn:hover,
.ng-table-pagination li:hover {
    background-color: #E4E8F2;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}

.ng-table-counts button.active:hover,
.ng-table-pagination .disabled:hover  {
    background-color: #888888;
    border-top: 1px solid #777777;
    border-right: 1px solid #777777;
    border-bottom: 1px solid #777777;
}

.ng-table-counts button.active,
.ng-table-pagination .disabled {
    color: #FFFFFF;
    cursor: default;
    background-color: #888888;
    border-top: 1px solid #777777;
    border-right: 1px solid #777777;
    border-bottom: 1px solid #777777;
}

.ng-table-counts>.btn:first-child {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.ng-table-counts>.btn:last-child {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.sortable {
    background-image: url('/static/img/portal/sortable.png');
    background-repeat: no-repeat;
    background-position: right center;
}

.sortable.sort-asc {
    background-image: url('/static/img/portal/sort-asc.png');
}

.sortable.sort-desc {
    background-image: url('/static/img/portal/sort-desc.png');
}

.timepicker input {
    width: 50px;
    margin-bottom: 0;
}

/* untranslatable label styling */

.no-trans {
    text-align: center;
    background-color: #FFCC66;
    margin: 20px auto;
    height: 40px;
    line-height: 40px;
    color: #995C00;
    width: 400px;
}

.results-compliance {
    margin-bottom: 20px;
}

.new-customer{
text-align: center;
margin-top: 200px;
margin-bottom: 200px;
}

/* Custom syntax hilighting within pre tags */
pre {
    color: #414042;
    background-color: #FFFFFF;
    border-radius: 0;
    border: 1px solid #dcddde;
}

@media print {
    a[href]:after {
        content: "";
    }
    abbr[title]:after {
        content: "";
    }
    .navbar {
        display: none !important;
    }
    .smbtn {
        background-color: #D1D8E6 !important;
    }
    .smbtn.disabled {
        background-color: #E3E5E9 !important;
    }
    .smbtn.disabled.saved {
        background-color: #C2DAC2 !important;
    }
    div.masquerade {
        display: none !important;
    }
    .navbar-print {
        display: block !important;
        margin-bottom: 15px;
    }
    .navbar-print span {
        float: right;
    }
    .sm-banner .title {
        border-top: 1px solid #CCCCCC;
        border-bottom: 1px solid #CCCCCC;
    }
    .sm-banner .text {
        border-bottom: 1px solid #CCCCCC;
    }
    .ng-table-pagination .disabled,
    .ng-table-counts button.active {
        background-color: #EEEEEE !important;
        border-right: 1px solid #DDDDDD;
        border-top: 1px solid #DDDDDD;
        border-bottom: 1px solid #DDDDDD;
    }
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    color: transparent;
    background: url('/static/img/portal/calendar-icon.png') no-repeat;
    background-size: 100%;
    background-position: center;
    height: 1em;
    width: 1em;
    opacity: .3;
}

input::-webkit-inner-spin-button {
    display: none;
}
