/*Main styles*/
@import url('https://fonts.googleapis.com/css?family=Roboto:wght@400;900&display=swap');

* {
  margin: 0;
  padding: 0;
}

body {
  /* background-color: #AFCED0; */
  /*background: #ededed;*/
  font-family: Robot, Helvetica, arial, sans-serif;
  margin: 0 auto;
  font-weight: 400;
  font-size: 15px;
}

body > .container {
  padding: 0px;
}

.navbar-default {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #ccc;
  font-family: 'Noto Sans TC', 'Noto Sans SC', Helvetica, arial, sans-serif;
  margin: 0 auto;
}

.icon-size-20 {
  font-size: 20px;
}

.icon-size-16 {
  font-size: 16px;
}

.navbar {
  border-radius: 0;
  border-bottom: 1px solid yellow;
  background: #0586ff;
}

.navbar-default .navbar-nav > li > a {
  color: #fff;
  border-left: 1px solid #e2e6e9;
  font-weight: bolder;
  font-size: 10px;
}

.navbar-default .navbar-nav > li:first-child > a {
  border-left: 0px solid #e2e6e9;
}

.navbar-default .navbar-nav > li > a:hover {
  color: #fff;
  background-color: #e6b800;
}
/*
.navbar-default.navbar-nav > li > a.active {
  color: #fff;
  background-color: #e6b800;
}
*/
.navbar-default .navbar-nav > li > a.visited {
  color: #000;
  background-color: #fff;
}

.activelink {
  color: #fff;
  background-color: #e6b800;
  border: 1px solid #fff;
  border-bottom: none;
}

.carousel-caption {
  margin-left: -6vh;
  text-align: left;
  width: 60%;
  max-height: 50%;
  top: 20%;
}

.item-text-header {
  font-size: 40px;
  line-height: 3vh;
  margin-bottom: 10px;
  color: red;
}

.item-text-paragraph {
  font-size: 20px;
  line-height: 1hv;
  padding: 8px 10px 10px 10px;
  background: #e6b800;
  opacity: 0.9;
  border-radius: 5px;
}

.headwaymfb-serviceblock {
  background: #0586ff;
  color: #fff;
  border-top: 1px solid yellow;
  width: 100%;
}

.headwaymfb-flex-group {
  display: flex;
  margin: 10px 0px 10px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.headwaymfb-flex-item {
  text-align: left;
  padding: 10px 5px;
}

.headwaymfb-flex-item-list {
  font-weight: bold;
  margin-bottom: 7px;
  font-size: 13px;
}

.headwaymfb-flex-item-image {
  position: absolute;
  float: left;
  width: 30%;
}

.headwaymfb-flex-item-text {
  position: relative;
  float: left;
  width: 80%;
  font-size: 11px;
}

.products-group-header {
  background: #0586ff;
  color: #fff;
  font-size: 16px;
  padding: 10px 0;
  margin: 20px 10px 10px 10px;
  text-align: center;
  border-radius: 7px 7px 0 0;
}

.investments-group-header {
  background: rgb(5, 132, 255);
  color: #fff;
  font-size: 16px;
  padding: 10px 0;
  margin: 20px 10px 10px 10px;
  text-align: center;
  border-radius: 7px 7px 0 0;
}

.products-group-text {
  text-align: justify;
  font-size: 14px;
  padding: 10px 20px;
  max-height: 300px;
}

.btn-success {
  background: #e6b800;
  color: #fff;
}

.btn-primary {
  background: #0584ff;
  color: #fff;
}

.headwaymfb-parallax {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  width: 100%;
  height: 35vh;
}

div.headwaymfb-parallax {
  background-image: url(../images/headwaymfb-array-of-services.png);
  background-size: cover;
  /*background-attachment: fixed;*/
}

.footer {
  background: #e6b800;
  color: #fff;
  margin-top: 20px;
}

.headwaymfb-parallax-text {
  font-size: 30px;
  background: #e6b800;
  color: #fff;
  padding: 8px 24px;
  border-radius: 18px;
  border: 1px solid #fff;
}

.headwaymfb-parallax-text-2 {
  font-size: 30px;
  background: #0584ff;
  color: #fff;
  padding: 8px 24px;
  border-radius: 18px;
  border: 1px solid #fff;
}

.headwaymfb-investment-title-header {
  background: transparent;
  color: #b38f00;
  font-size: 22px;
  font-family: 'Roboto';
  margin-top: 20px;
  padding: 10px 20px;
}

.pages-header-image-title {
  background: #030303;
  opacity: 0.9;
  padding: 10px;
  color: #e6b800;
  font-size: 28px;
  border-radius: 8px;
}

.pages-header-image-text {
  font-size: 18px;
  background: #8c8cd9;
  padding: 5px;
}

.wrapper {
  width: 100%;
  margin: 18px auto 0;
}

.wrapper .accordion_wrap .accordion_header {
  width: 100%;
  height: 50px;
  background: #0584ff;
  padding: 15px;
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid #fff;
  position: relative;
  cursor: pointer;
}

.wrapper .accordion_wrap:first-child .accordion_header {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.wrapper .accordion_wrap:last-child .accordion_header {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom: 2px solid transparent;
}

.wrapper .accordion_wrap .accordion_header:hover {
  color: #e6b800;
  border-color: #e6b800;
}

.wrapper .accordion_wrap .accordion_header:hover:before,
.wrapper .accordion_wrap .accordion_header:hover:after {
  background: #e6b800;
}

.wrapper .accordion_wrap:last-child .accordion_header:hover {
  border-bottom: 2px solid transparent;
}

.wrapper .accordion_wrap .accordion_header:before,
.wrapper .accordion_wrap .accordion_header:after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  width: 20px;
  height: 2px;
  background: #fff;
}

.wrapper .accordion_wrap .accordion_header:after {
  transform: rotate(-90deg);
  transition: all 0.5s ease;
}

.wrapper .accordion_wrap .accordion_body {
  height: 100%;
  height: 0px;
  transition: all 0.5s ease;
  background: rgb(5, 132, 255);
  overflow: hidden;
}

.wrapper .accordion_wrap .accordion_body p {
  padding: 15px;
  font-size: 16px;
  line-height: 22px;
  color: #fff;
}

.wrapper .accordion_wrap .accordion_header.active {
  color: #e6b800;
  border-color: #e6b800;
}

.wrapper .accordion_wrap:last-child .accordion_header.active {
  border-bottom: 2px solid #e6b800;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.wrapper .accordion_wrap .accordion_header.active:before,
.wrapper .accordion_wrap .accordion_header.active:after {
  background: rgb(5, 132, 255);
}

.wrapper .accordion_wrap .accordion_header.active:after {
  transform: rotate(0);
}

.wrapper .accordion_wrap .accordion_header.active + .accordion_body {
  height: 360px;
}

.headwaymfb-board-title {
  font-size: 24px;
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: bolder;
  background: #0586ff;
  color: #fff;
  padding: 10px 5px;
  text-align: center;
  border-radius: 7px 7px 0 0;
}

.headwaymfb-board-text {
  font-size: 16px;
  text-align: justify;
  padding: 20px 15px 10px 15px;
  line-height: 25px;
}

.panel-group-text {
  font-size: 18px;
}

a.panel-group-header {
  text-decoration: none;
}

.savings-text {
  text-align: justify;
  padding: 10px;
}

.sticky-right-menu {
  position: absolute;
  top: 100px;
  right: 0px;
  width: 170px;
  font-size: 11px;
}

.sticky-right-list {
  border: 1px solid #fff;
  padding: 8px 0px;
}

.sticky-right-anchor {
  text-decoration: none;
  margin-left: 10px;
  color: #fff;
}

.sticky-right-anchor:hover {
  text-decoration: none;
  margin-left: 10px;
  color: #e2e2e2;
}

/**************************************/

.dropdown-menu > li > a {
  display: block;
  padding: 10px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #fff;
  background-color: #0586ff;
  border-bottom: 1px solid #708090;
  white-space: nowrap;
}

.dropdown-menu > li > a:hover {
  display: block;
  padding: 10px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #e6b800;
  background-color: #fff;
  border-bottom: 1px solid #708090;
  white-space: nowrap;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: #fff;
  font-size: 12px;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
  color: #fff;
  background-color: #e6b800;
  font-size: 12px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 0px 0;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
}

/*
form-control {
    display: block;
    width: 100%;
    height: 28px;
    font-size: 12px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
*/

input[type='file'] {
  padding: 5px;
  background: #ffffff;
}

/**
Added CSS codes
**/

.rightcontent {
  margin: 5px 10px;
  background-color: #ffffff;
  border-radius: 10px;
}

td.labelgrid {
  background: #e2e2e2;
  width: 20%;
}

.table > thead > tr > th {
  background: #02739b;
  color: #ffffff;
  padding: 5px 7px;
  font-size: 20px;
  font-weight: bold;
}

label {
  color: #033359;
  font-size: 16px;
  /*font-family: "sans comic";*/
}

.icon-size {
  font-size: 25px;
  margin-top: -10px;
}

td {
  padding: 7px 5px 5px;
  color: #003399;
}
