/* Generic Rules */

.align-right {
    text-align: right;
}

span.highlight {
    background-color: #333;
    color: #fff;
    display: inline-block;
    padding: 3px 5px 2px 5px;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    font-size: 12px;
    border-radius: 2px;
}

p.meta {
    font-style: italic;
}


/* Site structure*/

.container {
    width: 900px;
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
}

header {
    border-bottom: 1px solid #ececec;
    padding: 20px 0;
    display: table;
    width: 100%;
}

footer {
    border-top: 1px solid #ececec;
    padding: 20px 0;
    margin-top: 60px;
}


/* Header */

.logo {
    padding-right: 20px;
    display: table-cell;
    height: auto;
    vertical-align: middle;
}

.welcome {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    line-height: 1.5;
}

nav {
    clear: both;
    border-bottom: 1px solid #ececec;
    margin-bottom: 60px;
}

nav a {
    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
    padding: 15px 20px;
    display: inline-block;
    text-transform: uppercase;
    font-family: Arial, serif;
    color: #333;
}

@media only screen and (max-width: 350px) {
    nav a {
        padding: 15px 10px;
    }
}


/* Content */

.book {
    border-left: 2px dashed #ececec;
    padding-left: 20px;
    margin: 40px 0;
}


/* Typography */

body {
    font-family: 'Merriweather', serif;
    color: #333;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
}

a {
    color: #44B78B;
    text-decoration: none;
}


/* Tables */

/*table {*/
/*    width: 100%;*/
/*    margin-bottom: 60px;*/
/*}*/

table {
    width: 100%;
    margin-bottom: 60px;
}

table td, th {
    padding: 10px;
    text-align: left;
}

/*table a {*/
/*    background-color: #44B78B;*/
/*    color: #fff;*/
/*}*/

th {
    background-color: #44B78B;
    color: #fff;
}

table tr:nth-child(odd){
    background-color: #ececec;
}

@media only screen and (max-width: 500px) {
    thead {
        display: none;
    }

    table tr {
        display: block;
        padding: 8px 10px;
    }

    table td {
        display: block;
        padding: 3px 0;
    }

    td.title {
        font-weight: bold;
    }

    td.align-right {
        text-align: left;
    }
}


/* Forms */

label {
    display: block;
    font-weight: bold;
    margin: 15px 0 10px 0;
}

input[type="submit"], div > button, .btn-link {
    margin-top: 20px;
    border: 0;
    background-color: #44B78B;
    color: #fff;
    padding: 10px 15px;
    border-radius: 3px;
    text-transform: uppercase;
    font-family: arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
}

td > button {
    border: 0;
    background-color: #44B78B;
    color: #fff;
    padding: 5px 15px;
    border-radius: 3px;
    text-transform: uppercase;
    font-family: arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
}

#queryBtn {
    margin-top: 0;
    vertical-align: top;
}

input[type="text"],
input[type="password"],
select,
textarea {
    border: 1px solid #ccc;
    padding: 5px;
    display: block;
    width: 300px;
    box-sizing: border-box;
    margin-bottom: 10px;
    max-width: 100%;
}

#queryText {
    margin-bottom: 0;
}

textarea {
    width: 100%;
    box-sizing: border-box;
}

.form-error {
    margin-top: 20px;
}

.form-error span,
.non-field-errors span {
    background-color: #d70000;
    color: #fff;
    padding: 5px;
    border-radius: 2px;
    font-family: arial, sans-serif;
}

.datePickerStyle a {
    background: #eeeeee;
    color: #999999;
}


.remove-form-row {
    display: none;
}


table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-visible {
    display: inline-block;
}

.nav-invisible {
    display: none;
}

.btn-link-disabled {
    /*!*margin-top: 8px;*!*/
    border: 0;
    background-color: gray;
    color: #fff;
    padding: 8px 15px;
    border-radius: 3px;
    text-transform: uppercase;
    font-family: arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    cursor: default;

}

.link-disabled {
    margin-top: 20px;
    border: 0;
    background-color: gray;
    color: #fff;
    padding: 10px 15px;
    border-radius: 3px;
    text-transform: uppercase;
    font-family: arial, sans-serif;
    font-size: 12px;
    font-weight: bold;

}
.link-disabled:hover {
    color: white;
    text-decoration:none;
}

.fix-first-column th:first-child, .fix-first-column  td:first-child
{
  position:sticky;
  left:0px;
    /*background-color: red;*/
    z-index: 1;
}
tr:nth-child(odd) > td{
    background-color: #ededed;
}
tr:nth-child(even) > td{
    background-color: white;
}
/*tr:nth-child(odd) > th{*/
/*    background-color: #d7d7d7;*/
/*}*/
.popup {
  width: 50%;
  padding: 15px;
  left: 0;
  margin-left: 5%;
  border: 1px solid rgb(1,82,73);
  border-radius: 10px;
  color: rgb(1,82,73);
  background: white;
  position: absolute;
  top: 15%;
  box-shadow: 5px 5px 5px #000;
  z-index: 10001;
  font-weight: 700;
  text-align: center;
}

.overlay {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.85);
  z-index: 10000;
  display :none;
  /*display :block;*/
}

@media (min-width: 768px) {
  .popup {
    width: 66.66666666%;
    margin-left: 16.666666%;
  }
}
@media (min-width: 992px) {
  .popup {
    width: 80%;
    margin-left: 25%;
  }
}
@media (min-width: 1200px) {
  .popup {
    width: 33.33333%;
    margin-left: 33.33333%;
  }
}

.dialog-btn {
  background-color:#44B78B;
  color: white;
  font-weight: 700;
  border: 1px solid #44B78B;
  border-radius: 10px;
  height: 30px;
  width: 30%;
}
.dialog-btn:hover {
  background-color:#015249;
  cursor: pointer;
}
.portfolio-filter {
    padding-top: 50px;
}

.portfolio-filter-field {
    padding-top: 50px;
}

.without-bottom{
    border-bottom: 0 !important;
}

.plaid_img {
    width: 63px;
    height: 20px;
    object-fit: contain;
}

.plaid_font {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0 10px 0;
}

.plaid_input {
    border:2px solid #44B78B !important;
}


.form-label {
    display: inline;!important;
    font-weight: bold;
    margin: 15px 0 10px 0;
}

.plaid_inline {
    display: inline;!important;
}