/* Global styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #3e3e3e;
  /* Margin bottom by footer height */
  margin-bottom: 280px;
}

/* Nav styles
-------------------------------------------------- */
.top-policy {
  height: 24px;
  width: 100%;
  background-color: #125386;
}
.top-policy a {
  color: #fff;
  float: right;
  text-transform: uppercase;
  padding-top: 5px;
  font-size: 12px;
}
.navbar {
  margin-bottom: 0;
}
.nav > li > a {
  padding: 10px 25px;
}
.nav > li:last-child > a {
  padding-right: 15px;
}
.navbar-nav > li > a {
  color: #133d8c;
  font-size: 18px;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.active > a,
.navbar-nav > li.active > a:hover,
.navbar-nav > li.active > a:focus
{
  color: #b4b4b4;
  text-decoration: none;
  background-color: transparent;
}
.navbar-brand {
  display: inline-table;
}
.navbar-brand > img {
  width: 85px;
  height: auto;
}


.navbar-toggle {
    margin-top: 25px;
}
.navbar-toggle .icon-bar {
    background-color: #125386;
}
.navmenu-default, .navbar-default .navbar-offcanvas {
    background-color: #224668 !important;
}

.navmenu-default, .navbar-default .navbar-offcanvas {
    border-color: transparent;
}

.offcanvas.in {
    padding: 15px;
}

    .offcanvas.in li {
        margin-bottom: 25px;
    }

.off-navbar-brand > img {
    margin-bottom: 20px;
    width: 85px;
}

/* Content styles
-------------------------------------------------- */
.page-bottom {
  margin-bottom: 30px;
}
.page-bottom > div {
  padding-top: 30px;
}
.page-bottom-title a {
  color: #143e8d;
  font-size: 21px;
}
.page-bottom-title a:hover,
.page-bottom-title a:focus {
  text-decoration: none;
}
.page-bottom-content {
  margin: 15px 0 0 0;
}
.page-bottom-content p {
  margin-bottom: 0;
}
.page-bottom-more a {
  color: #143e8d;
  text-transform: uppercase;
}
.page-top-title p {
  color: #143e8d;
  font-size: 24px;
  font-weight: bold;
}

/* Home page styles
-------------------------------------------------- */
.home-img {
  font-family: 'Open Sans';
  width: 100%;
  background-image: url(../images/home.jpg);
  background-repeat: no-repeat;
  height: auto;
  border-top: #d6d4d9 solid 5px;
  border-bottom: #d6d4d9 solid 5px;
}
.home-img-title {
  color: #a0cbed;
  font-size: 30px;
  font-size: 4vw;
  padding: 15px;
  padding-top: 10px;
}
.home-img-content {
  font-size: 20px;
  font-size: 3vw;
  line-height: 1.5;
  color: #fff;
  text-shadow: 1px 1px 12px #333;
  padding: 0 15px;
}
.home-img-content strong,
.home-img-content b {
  color: #a0cbed;
  font-weight: normal;
}
.home-img-btn {
  padding: 4px 15px;
  margin-top: 25px;
}
.home-img-btn a {
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  background-image: url(../images/home_button.png);
  padding: 5px 10px;
}
.home-img-btn a {
  text-decoration: none;
}

/* Secondary page styles
-------------------------------------------------- */
.secondary-img {
  width: 100%;
  background-image: url(../images/secondary_header.jpg);
  background-repeat: no-repeat;
  height: 75px;
  border-top: #d6d4d9 solid 5px;
  border-bottom: #659ecb solid 5px;
}
.secondary-img-title {
  color: #a0cbed;
  font-size: 30px;
  padding: 15px 35px;
}
.secondary-sub-nav {
    /* height: 76px; */
    overflow: hidden;
}
.secondary-left .secondary-sub-nav {
  border-bottom: #125386 solid 5px;
}
.secondary-right .secondary-sub-nav {
  border-bottom: #d5d5d5 solid 5px;  
}
.secondary-left-content {
  padding: 30px 35px 0 35px;
}
.secondary-list {
  padding: 30px 0 0 0;
}
.secondary-right-content {
  padding-left: 20px;
  padding-right: 15px;
  padding-top: 30px;
}
.secondary-right-content > span {
  font-size: 16px;
  color: #125386;
}
.secondary-right-content > p {
  color: #579ed7;
}

/* About Us page styles
-------------------------------------------------- */
.about-heading {
  color: #579ed7;
  margin-bottom: 15px;
}
.about-content {
  border-top: 1px solid #d6d4d9;
  padding-top: 15px;
  padding-bottom: 5px;
}
.about-content:last-child {
  border-bottom: 1px solid #d6d4d9;
}
.about-content-title {
  font-weight: 700;
}

/* Portfolio page styles
-------------------------------------------------- */
.port-page img {
    width: 100%;
    max-width: 210px;
    height: 116px;
}
.port-goback {    
  font-size: 14px;
  color: #133d8c;
  float: right;
  margin-top: 20px;
  margin-right: 30px;
}
.port-goback:hover,
.port-goback:focus {    
  text-decoration: none;
}
.port-heading {
    font-size: 15px;
    color: #125386;
}
.port-location {
    font-size: 12px;
    color: #579ed7;
    text-transform: uppercase;
}
.port-content {
    margin: 20px 0;
}
.port-link {    
    font-size: 12px;
    color: #579ed7;
}
.port-block {
  margin-bottom: 30px;
}

/* Team page styles
-------------------------------------------------- */
.team-tabs {
    margin-bottom: 0;
    list-style: none;
    float: right;
    margin-right: 15px;
    margin-top: 10px;
    font-weight: 700;
    font-size: 15px;
}
.team-tabs > li {
    float: left;
    padding: 5px 15px;
}
.team-tabs > li:hover,
.team-tabs > li:focus,
.team-tabs > li.active,
.team-tabs > li.active:hover,
.team-tabs > li.active:focus
{
    background-color: #125386;
}
.team-tabs > li:hover > a,
.team-tabs > li:focus > a,
.team-tabs > li.active > a,
.team-tabs > li.active:hover > a,
.team-tabs > li.active:focus > a
{
    color: #fff;
    text-decoration: none;
}
.team-list {
    margin-right: 15px;
    padding-left: 35px;
    padding-top: 15px;
    padding-bottom: 15px;
    cursor: pointer;
  border-top: 1px solid #d6d4d9;
}
.team-list:last-child {    
  border-bottom: 1px solid #d6d4d9;
}
.team-toggle-btn {
    position: absolute;
    right: 15px;
    margin-top: -15px;
}
.member-name {
    font-size: 15px;
    color: #125386;
}
.member-title {
    font-size: 12px;
    color: #579ed7;
    text-transform: uppercase;
}
.member-bio {
    margin-top: 15px;
    display: none;
    text-align: justify;
}
.member-bio > p:last-child {
    margin-bottom: 0;
}

/* Contact page styles
-------------------------------------------------- */
iframe {
    width: 100%;
}
.contact-address {
    margin-top: 15px;
}
.addr-title {
    font-weight: 700;
}
.contact-phone {
    margin-top: 30px;
}

/* Policy page styles
-------------------------------------------------- */
.policy-title {
    font-size: 16px;
    color: #125386;
  border-bottom: 1px solid #d6d4d9;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

/* Footer styles
-------------------------------------------------- */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  background-color: #f8f8f8;
}
.home-footer {  
  height: 40px;
}
.footer-content {
  border-top: #d6d4d9 double 3px;
  padding-top: 10px;
  font-size: 12px;
  color: #797979;
}
.siteby {
  font-size: 10px;
}
.siteby a {
  color: #797979;
}

/* Media queries
-------------------------------------------------- */
@media (min-width: 650px) { 
  .siteby {
    float: left;
  }
}
@media (min-width: 768px) {    
.home-body {
  margin-bottom: 60px;
}
  .navbar-nav {
    margin-top: 95px;
  }
    .off-navbar-brand,
    .off-contact {
        display: none;
    }

  .page-bottom {
    display: flex;
  }
  
  .page-bottom-middle,
  .page-bottom-right {
    background-size: 100% 100%;
    padding-left: 30px;
  }  
  .home-bottom .page-bottom-middle,
  .home-bottom .page-bottom-right {
    background-image: url(../images/home_bottom.jpg);
  } 
  .secondary-bottom .page-bottom-left {
    background-image: url(../images/left_bottom.jpg);
    background-repeat: no-repeat;
    background-position-x: 100%;
  } 
  .secondary-bottom .page-bottom-middle {
    background-image: url(../images/middle_bottom.jpg);
  }
  .secondary-bottom .page-bottom-right {
    background-image: url(../images/right_bottom.jpg);
  }  
  .page-bottom-more {
    position: absolute;
    bottom: 0;
    left: 15px;
  }
  .page-bottom-right .page-bottom-more {
    left: 30px !important;
  }

  .secondary-left {
    padding-right: 0;
  }
  .secondary-right {
    background-image: url(../images/secondary_right.jpg);
    background-repeat: no-repeat;
    padding-left: 0;
  }

  
.home-img-title {
  font-size: 32px;
  padding-top: 10px;
}
.home-img-content {
  font-size: 21px;
  padding: 0 105px;
}
.home-img-btn {
  padding: 4px 105px;
  margin-top: 25px;
}
.home-img-btn a {
  padding: 5px 10px;
}

  .form-title,
  #form-main {      
	padding:0px 30px 0 30px;
  }
.g-recaptcha {
    transform: scale(0.58);
transform-origin: left top;
}
.buttons {
    margin-top: -20px;
}
}

@media (min-width: 991px) {    
.home-img-title {
  padding: 40px;
  font-size: 34px;
}
.home-img-content {
  font-size: 23px;
  padding: 0 109px;
}
.home-img-btn {
  padding: 4px 109px;
}

  .siteby {
    float: right;
  }
.g-recaptcha {
    transform: scale(0.83);
transform-origin: left top;
}
.buttons {
    margin-top: 0;
}
}

@media (min-width: 1200px) {
.g-recaptcha {
    transform: scale(1.05);
transform-origin: left top;
}
.buttons {
    margin-top: 15px;
}
}

@media (max-width: 768px) {
    body {
        margin-bottom: 0;
    }

    
.navmenu, .navbar-offcanvas {
    width: 200px !important;
}

    .page-bottom > div {
  border-bottom: 1px solid #d6d4d9;
  padding-bottom: 35px;
    }
    .page-bottom > div:last-child {
        border-bottom: none;
  padding-bottom: 0;
    }

    .secondary-left-content {
      padding: 30px 0 0 0;
    }
    
    .secondary-right-content {
      padding-left: 0;
      padding-right: 0;
      padding-top: 30px;
    }

    .port-page > div {
        text-align: center !important;
    }
    .port-details > div {
        text-align: left !important;
    }
    .port-goback {
        float: left;
    }

    .team-tabs {
        float: left;
        padding-left: 0;
        font-size: 13px;
    }
    .team-list {
        margin-right: 0;
        padding-left: 0;
    }

    footer {
        position: relative !important;
        margin-top: 20px;
    }
.g-recaptcha {
    transform: scale(0.84);
transform-origin: left top;
}
}

/* Carousel styles
-------------------------------------------------- */
.carousel .item {
    width: 100%; height: 100%;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -ms-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;    
}
.carousel img {
  margin: 0 auto;
}
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

/* Form styles
-------------------------------------------------- */
.form-title {
    font-size: 16px;
    color: #125386;
  margin-bottom: 15px;
}
.form-title > div {
  border-bottom: 1px solid #d6d4d9;
  padding-bottom: 10px;
}
#form-main input,
#form-main textarea {
    width: 100%;
    padding: 5px;
}
#form-main textarea {
    min-height: 100px;
    resize: vertical;
}