﻿* {
    font-size: 14px;
}

body {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #65686c;
    background-color: #f7f7f7;
    overflow-x: hidden;
    overflow-y: scroll;
}

main {
    margin-top: 20px;
    margin-bottom: 75px;
	padding-bottom: 80px;
}

.popover {
    font-family: Arial, Helvetica, sans-serif;
    min-width: 250px;
}

.error {
    color: #721c24;
}

/* header */
header {
    width: 100%;
}

.portal-nonauth-header{
    margin-bottom:80px;
}

.portal-branding-header {
    min-height: 83px;
    background-image: url(../images/header_bg.png);
    background-repeat: repeat-x;
    color: #eeeeee;
    background-color: #002b49;
}

.portal-branding-header a {
    color: #eeeeee;
}

.portal-content-header {
    min-height: 70px;
    vertical-align: central;
    color: #eeeeee;
    background-color: #004f85;
}

.portal-content-header h4 {
    font-size: 28px;
}

.header-link,
.header-link * {
    display: inline;
    vertical-align: bottom;
}

.divider {
padding: 9px 7px 0 7px;
line-height: 2rem;
}

/* menu */
.menu,
.navbar {
    background-color: #002b49;
    border-radius: 0px;
    border: none;
    min-height: 0;
    margin-bottom: 0 !important;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
}

.navbar span > a,
.navbar-nav > li > a {
    color: #eeeeee;
}

.nav-link {
    padding: .4rem 1rem;
}

.dropdown-menu {
    margin: 0px;
    border-radius: 0 0 0 0;
}

.dropdown-item {
    padding: .25rem 1rem;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        color: #eeeeee;
        background-color: #004f85;
    }

.dropdown:hover > .dropdown-menu {
    display: block;
}


/*utils*/


.text-nowrap {
    white-space: nowrap;
}


/* containers */
/*
.container {
    padding: 5px;
}*/

.container {
    max-width: 1280px;
}

.portal-container {
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
}

.centered-container {
    position: relative;
    text-align: center;
    padding-top: 3%;
}

.centered-container img {
    vertical-align: middle;
}

.card{
    margin-bottom: 20px;
}

.card-header {
    background-color: #337ab7;
    color: white;
    max-height: 35px;
    padding: 9px 15px;
}

.card-email {
    margin-bottom: 8px;
}

.card-accent {
    border-color: #337ab7;
}

.card-header-email {
    cursor: pointer;
    padding-top: 10px;
}

.card-header-email.disabled {
    color: #666666;
    background-color: #eeeeee;
}

.card-header-left {
    display: inline-flex;
    float: left;
}

.card-header-right {
    display: inline-flex;
    float: right;
}

    .card-header-left label,
    .card-header-right label {
        display: contents;
        font-weight: bold;
    }

.table-caption {
    caption-side: top !important;
    font-weight: bold;
    font-size: 1rem;
}

.table > thead > tr > th:first-child, .table > tbody > tr > td:first-child {
    padding-left: 15px;
}

.table > thead > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 7px;
    line-height: 1.42857;
    vertical-align: bottom;
    border: 0px;
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: #f8f9fa;
}

.table-striped > tbody > tr:nth-child(odd),
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #f2f2f2;
}

table.table-striped,
table.scroll-fixed-header {
    max-height: 510px;
    width: 100% !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

table.table-striped th,
table.scroll-fixed-header th {
    font-weight: bold;
    background-color: #337ab7;
    color: white;
}

table.table-striped th > a,
table.table-striped th > a:hover,
table.scroll-fixed-header th > a,
table.scroll-fixed-header th > a:hover {
    font-weight: bold;
    color: white;
    display: block;
    text-decoration: none !important;
}

td {
    font-weight: normal;
}

th.col-icon,
td.col-icon {
    width: 0.5em;
    text-overflow: initial !important;
}

th.col-xxxs,
td.col-xxxs {
    width: 3%
}

th.col-xxs,
td.col-xxs {
    width: 5%
}

th.col-xs,
td.col-xs {
    width: 8.333333%
}

th.col-s,
td.col-s {
    width: 16.666667%
}

th.col-m,
td.col-m {
    width: 25%;
}

th.col-l,
td.col-l {
    width: 33.333333%;
}

.table-col-wrapper td,
.table-col-wrapper a,
.col-wrapper {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-hidden {
    display: none;
}

th.col-icon,
td.col-icon {
    width: 0.5em;
}

th.col-xxxs,
td.col-xxxs {
    width: 3%
}

th.col-xxs,
td.col-xxs {
    width: 5%
}

th.col-xs,
td.col-xs {
    width: 8.333333%
}

th.col-s,
td.col-s {
    width: 16.666667%
}

th.col-m,
td.col-m {
    width: 25%;
}

th.col-l,
td.col-l {
    width: 33.333333%;
}

.table-col-wrapper td,
.table-col-wrapper a,
.col-wrapper {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media(max-width:544px){
    th.col-xs-hidden,
    td.col-xs-hidden {
        display: none;
    }
}


/* buttons */
.button-area {
    padding-top: 5px;
    padding-bottom: 10px;
    text-align: right;
}

.button-area .btn {
    margin: 10px 3px 0 3px;
}

@media(max-width:625px), (max-height:500px) {
    .button-area .btn {
        margin: 10px 0 0 0;
    }
}

.button-right {
    padding-right: 0px;
    padding-left: 5px;
}    

a.btn {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-image: none;
    font-size: 14px;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.42857143;
    text-align: center;
    text-transform: capitalize;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a:not([href]):not([tabindex]).btn-primary {
    color: #fff;
}

a.btn-primary
{    
    background-color: #337ab7;
    border-color: #2e6da4;
}

a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active {
    background-color: #286090!important;
    border-color: #204d74!important;
}

a:not([href]):not([tabindex]).btn-default {
    color: #333;    
}

a.authlink.btn-default {
    color: #333;
}

a.btn-default {
    background-color: #fff;
    border-color: #ccc;
}

a.btn-default:hover,
a.btn-default:focus {
    background-color: #e6e6e6;
    border-color: #adadad;
}

/* remove right-borders for file input buttons */
#btBrowse.btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;    
}

/* footer */
.portal-footer {
    background-color: #002b49;
    color: white;
    width: 100%;
    padding-top: 0.7rem ;
}

.field-data:hover {
    text-overflow: clip;
    white-space: normal;
    word-break: break-all;
    cursor: pointer;
}

.table {
    table-layout: fixed;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0;
}

.input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

input {
    filter: none;
}

.icon-sm {
    font-size: 16px;
}

.icon-md {
    font-size: 18px;
}

.icon-disabled {
    color: #ccc;
}

.accordion-toggle .glyphicon-plus,
.accordion-toggle.collapsed .glyphicon-minus {
    display: none;
}

.accordion-toggle.collapsed .glyphicon-plus,
.accordion-toggle .glyphicon-minus {
    display: inline-block;
}

.odd:not(:hover) {
    background-color: inherit !important;
}

.form-check-input[type='checkbox'] {
    width: 12px;
    height: 12px;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder , .select2-search__field::placeholder {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    color: #c6c6c6;
}
.select2-search__field::placeholder {
    padding-left: 5px;
}

/* add a bg color to opened table div */
td div.collapse.show {
    background: #e9e9e9;
}