/*** General CSS ***/
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/css/montserrat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

body{
    font-family: 'Montserrat', sans-serif;
}


/** Header **/

.navbar-fixed-top {
  background-color: white;
  border-color: #D8D8D8;
}

.logo-header {
    height: 85%;
    margin-right: 5px;
}

.navbar-inverse {
    background-color: white;
    border-color: #D8D8D8;
}

.navbar-brand {
  float: left;
  height: 50px;
  padding: 15px 15px;
  font-size: 18px;
  line-height: 20px;
}

.navbar-inverse .navbar-nav > li > a {
    color: #2c4254;
}

/*homeView.html*/
.btn-home{
	width: 300px;
	height: 300px;
	font-size: 40px;
	font-family: Tahoma;
	margin: 0 7% 0 7%;
}

.btn-home-box{
	text-align: center;
	margin-top: 10%;
}

.btn-home-opposite{
	color: #337ab7 !important;
}

.btn-home-opposite:hover{
	color: #286090 !important;
}
/*index.html*/
body {
	background-color: #eee;
}
/*loginView.html*/
.screen-30 {
	width : 30%;
	margin: 250px auto 0px auto;
}
/*loginView.html and (Deposit)search.html and (Mortgage)search.html*/
.form-group .help-block {
  display: none;
}

.form-group.has-error .help-block {
  display: block;
}

.form-group label {
	display: block;
}
/*depositComparisonController.js and mortgageComparisonController.js*/
.comparison-visibility{
	display : none;
}
/*depositComparisonView.html and mortgageComparisonView.html*/
.panel-check{
  margin-top:60px;
}

.label-check-comparison{
	line-height : 50px;
	margin-left : 5%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
/*no-result.html*/
.no-result{
	text-align:center;
}

.no-result i{
	color : #2979ff;
}
/*(Deposit)details.html and (Mortgage)details.html*/
.bolder{
	font-weight : 700;
}
/*** Start Mortgage ***/
/*** Mortgage.Search ***/
/*search.html*/
.btn-search{
	text-align: right;
	padding: 0px;
}
/*** Mortgage.Result ***/
/*** Mortgage.Comparison ***/
/*** End Mortgage ***/
/*** Start Deposit ***/
/*** Deposit.Search ***/
/*** Deposit.Result ***/
/*** Deposit.Comparison ***/
/*** End Deposit ***/


/** Footer **/
.site-footer {
    text-align: center;
    background: #2C4254;
    color: #999;
    padding: 50px 0 0;
}

.site-footer .widget:first-child .widget-title {
    border-top: 0!important;
    padding-top: 0!important;
}

.site-footer .widget-title {
    color: #eee;
    margin: 0 0 15px;
}

.site-footer .copyright {
    border-top: 5px solid rgba(255,255,255,.1);
    font-size: 12px;
    padding: 20px 0 10px;
}

.site-footer a {
    color: #fff;
}

.site-footer .social-links {
    margin: 15px 0 0;
    padding-bottom: 10px;
}

.site-footer ul {
    list-style-type: none;
    padding: 0;
}

.site-footer .social-links a {
    border: 2px solid #eee;
    border-radius: 40px;
    display: block;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 30px;
}

.site-footer{
    margin-top: 0 !important;
}

.site-footer a {
    color: #fff;
}

.site-footer .social-links li {
    display: inline-block;
    margin: 0 5px 0 0;
}

#legal{
    margin-bottom: 34px
}

#clients .section-title span {
    background: #eee;
    padding: 0 10px;
    z-index: 1;
    position: relative;
}

#contact .section-title span {
    background: #fff;
    padding: 0 10px;
    z-index: 1;
    position: relative;
}

#contact p {
    text-align: center;
}

.modal-dialog{
    width: 800px;
}
/** Footer **/

.search-panel{
	margin-top:60px;
}

.page-header {
    margin-left: 2.5%;
}

.table-container{
	padding: 0px;
}

.table{
  font-size: 14px;
}

.form-group.has-error {
    margin-bottom: 0px;
}

.first-row{
  min-height: 95px;
}

#myTable button {
    width: 50%;
    padding: 5px 10px 5px 7px;
    min-width: 30px;
}

#myTable td:nth-child(2) {
    max-width: 300px;
}

#myTable .option-buttons{
    min-width: 60px;
}

.datatable th{
  background-color: #51445F !important;
  border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: white !important;
}

.details-container table{
  margin-bottom: 30px;
}

.details-container .col-md-6{
  margin-top: 20px;
}

.datatable tr:hover{
  background-color: rgba(0, 52, 101, 0.2) !important;

}

h1, h2, h3, h4{
  color: #003465;
}

a {
    color: #003465;
}

.nav>li>a:focus, .nav>li>a:hover {
    background-color: white;
    color: #FC6E51 !important;
    border: none;
}

.btn-primary, .btn-primary:active, .btn-primary:focus {
    background-color: #16A085;
    border-color: #16A085;
}

.btn-primary:focus, .btn-primary:active{
    outline-color: rgba(22, 160, 133, 0.69);
}

.btn-primary[disabled], .btn-primary[disabled]:hover {
    background-color: rgba(22, 160, 133, 0.69);
    border-color: rgba(22, 160, 133, 0);
}

.btn-primary:hover {
  background-color: rgba(22, 160, 133, 0.75);
  border-color: rgba(22, 160, 133, 0.75);
}

.table-responsive-vertical{
  overflow-x: auto;
  overflow-y: hidden;
  background-color: white;
}

/** Alerts **/
#alert-top-deposit {
  margin-top: 16px;
  margin-bottom: -10px;
}

#alert-top-mortgage {
  margin-top: 16px;
  margin-bottom: -14px;
}

.search-panel .form-group{
    min-height: 79px;
}   

.green{
    color: green;
}

.red{
    color: red;
}

.inline{
    display: inline;
}

#btn-see-all-mortgage{
    margin-right: 10px;
}

.nya-bs-select{
    width: 100% !important;
}

.tab-content{
    padding-top: 15px;
}

.mt-5 {
    margin-top:5px !important;
}



tbody {
    display: block;
    overflow: auto;
    max-height: 600px;
    width: 100%;
  }
  
  thead tr {
    display: table;
    width: 100%;
    overflow: auto;
    table-layout: fixed;
  }
  
  thead, tbody tr {
    display: table;
    width: 100%;
    overflow: auto;
    table-layout: fixed;
  }
 tbody td{
      width: 120px;
  }
  thead {
    width: calc( 100% - 1em )/* scrollbar is average 1em/16px width, remove it from thead width */
}


