@import 'https://fonts.googleapis.com/css?family=Work+Sans';

/* =======================================================
* 	Global CSS Settings 
* ======================================================= */

body {
  font-family: "Work Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #828282;
  background: #fff;
}

#wrapper {
  position: relative;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

a {
  color: #2351A1;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

a:hover, a:active, a:focus {
  color: #2351A1;
  outline: none;
  text-decoration: none;
}

p {
  margin-bottom: 20px;
}

h1, h2, h3, h4, h5, h6, figure {
  /*color: #000;*/
  font-family: "Work Sans", Arial, sans-serif;
/*  font-weight: 400;
  margin: 0 0 15px 0;*/
}

::-webkit-selection {
  color: #fff;
  background: #2351A1;
}

::-moz-selection {
  color: #fff;
  background: #2351A1;
}

::selection {
  color: #fff;
  background: #2351A1;
}


.btn-popup:hover {
  -webkit-box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75) !important;
  -moz-box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75) !important;
  box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75) !important;
}


/* CARD CSS */
.card {
    overflow-y: auto;
    min-height: 600px;
   width: 50%;
}

.card-block .rotate {
    z-index: 8;
    float: right;
    height: 100%;
}

.card-block .rotate i {
    color: rgba(20, 20, 20, 0.15);
    position: absolute;
    left: 0;
    left: auto;
    right: -10px;
    bottom: 0;
    display: block;
    -webkit-transform: rotate(-44deg);
    -moz-transform: rotate(-44deg);
    -o-transform: rotate(-44deg);
    -ms-transform: rotate(-44deg);
    transform: rotate(-44deg);
}

.card-popup:hover {
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  -webkit-box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75) !important;
  -moz-box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75) !important;
  box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75) !important;
}


/* =======================================================
*    NAVBAR CSS
* ======================================================= */
@media screen and (min-width: 768px) {

  .megamenu ul {
      padding:15px;
  }
  
  .megamenu > .dropdown-menu {

    right:-150%;
    width:100%;
    min-width:1200px;
  } 
  
}

/*
.dropdown-md > .dropdown-menu {
    min-width:450px;
}

.dropdown-lg > .dropdown-menu {
    min-width:850px;
}*/


.uppercase {
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.gototop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.gototop.active {
  opacity: 1;
  visibility: visible;
}
.gototop a {
  width: 50px;
  height: 50px;
  display: table;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
}
.gototop a i {
  height: 50px;
  display: table-cell;
  vertical-align: middle;
}
.gototop a:hover, .gototop a:active, .gototop a:focus {
  text-decoration: none;
  outline: none;
}


/* =======================================================
*    PAGE AFFIX CSS
* ======================================================= */

/* PAGE HEADER */
.page-header,
.header-bg {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
}

.header-bg {
  background-size: cover;
  background-position: center center;
  position: relative;
  width: 100%;
  float: left;
  position: relative;
}

.page-header a {
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.page-header a:hover {
  color: white;
  border-bottom: 1px solid white;
}

.header-video {
  overflow: hidden;
}
@media screen and (max-width: 992px) {
  .header-video {
    height: 450px;
  }
}
.header-video a {
  z-index: 1001;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -45px;
  margin-left: -45px;
  width: 90px;
  height: 90px;
  display: table;
  text-align: center;
  background: #fff;
  -webkit-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
.header-video a i {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  font-size: 40px;
}
.header-video .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.header-video:hover .overlay {
  background: rgba(0, 0, 0, 0.7);
}
.header-video:hover a {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

.header-cover {
  height: 800px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
  float: left;
  width: 100%;
}
.header-cover .overlay {
  z-index: 0;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
}
.header-cover > .header-container {
  position: relative;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .header-cover {
    height: 600px;
  }
}
.header-cover .display-t,
.header-cover .display-tc {
  z-index: 9;
  height: 900px;
  display: table;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .header-cover .display-t,
  .header-cover .display-tc {
    height: 600px;
  }
}
.header-cover.header-cover-sm {
  height: 600px;
}
@media screen and (max-width: 768px) {
  .header-cover.header-cover-sm {
    height: 400px;
  }
}
.header-cover.header-cover-sm .display-t,
.header-cover.header-cover-sm .display-tc {
  height: 600px;
  display: table;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .header-cover.header-cover-sm .display-t,
  .header-cover.header-cover-sm .display-tc {
    height: 400px;
  }
}

.page-header .display-tc,
.header-cover .display-tc {
  display: table-cell !important;
  vertical-align: middle;
}

.page-header .display-tc h1, .page-header .display-tc h2,
.header-cover .display-tc h1,
.header-cover .display-tc h2 {
  margin: 0;
  padding: 0;
  color: white;
}
.page-header .display-tc h1,
.header-cover .display-tc h1 {
  margin-bottom: 0px;
  font-size: 60px;
  line-height: 1.5;
  text-transform: uppercase;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .page-header .display-tc h1,
  .header-cover .display-tc h1 {
    font-size: 40px;
  }
}
.page-header .display-tc h2,
.header-cover .display-tc h2 {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
}
.page-header .display-tc .btn,
.header-cover .display-tc .btn {
  padding: 15px 30px;
  background: #f35f55;
  color: #fff;
  border: none !important;
  font-size: 18px;
  text-transform: uppercase;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
}
.page-header .display-tc .btn:hover,
.header-cover .display-tc .btn:hover {
  background: #f14034 !important;
  -webkit-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75) !important;
  -moz-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75) !important;
  box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75) !important;
}

/* PAGE BANNER */
.page-banner {
  background: #2351A1;
}
.page-banner .section-heading h2 {
  color: #fff;
  margin-bottom: 20px !important;
}
.page-banner .section-heading p {
  color: rgba(255, 255, 255, 0.5);
}
.page-banner .form-control {
  background: rgba(255, 255, 255, 0.2);
  border: none !important;
  color: #fff;
  font-size: 16px !important;
  width: 100%;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.page-banner .form-control::-webkit-input-placeholder {
  color: #fff;
}
.page-banner .form-control:-moz-placeholder {
  /* Firefox 18- */
  color: #fff;
}
.page-banner .form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: #fff;
}
.page-banner .form-control:-ms-input-placeholder {
  color: #fff;
}
.page-banner .form-control:focus {
  background: rgba(255, 255, 255, 0.3);
}
.page-banner .btn {
  height: 54px;
  border: none !important;
  background: #f35f55;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  padding-left: 50px;
  padding-right: 50px;
}

.page-banner .btn:hover {
  background: #f14034 !important;
  -webkit-box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75) !important;
  -moz-box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75) !important;
  box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75) !important;
}

.page-banner .form-inline .form-group {
  width: 100% !important;
  margin-bottom: 10px;
}
.page-banner .form-inline .form-group .form-control {
  width: 100%;
}


/* PAGE FOOTER */
.page-footer {
  background: #efefef;
}
.page-footer .footer-links {
  padding: 0;
  margin: 0;
}
.page-footer .footer-links li {
  padding: 0;
  margin: 0;
  list-style: none;
}
.page-footer .footer-links li a {
  color: #000;
  text-decoration: none;
}
.page-footer .footer-links li a:hover {
  text-decoration: underline;
}
.page-footer .widget {
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .page-footer .widget {
    text-align: left;
  }
}
.page-footer .footer-brand h3 {
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
}
.page-footer .copyright .block {
  display: block;
}


/* PAGE LOADER */
.page-loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url(../img/loader.gif) center no-repeat #fff;
}

.page-header-sm {
  text-align: center;
  color: white;
  padding-top:175px;
  padding-bottom:125px;
  clear: both;
  
  background: url('../img/bg/hillsideDivider.jpg') center center no-repeat;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


.page-header-lg {
  color: white;
  padding-top: 350px;
  padding-bottom: 300px;

  background-image: url('../img/bg/pingchauDivider.jpg');
  clear: both;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  background-attachment: relative;
}

.page-header-sm h1,
.page-header-lg h1 {
  font-weight: 500;
  text-shadow: 1px 1px 1px #000;
}

.page-header-lg .btn-outline-secondary {
  border-color: white;
  border-radius: 0;
  color:white;
}

.page-header-lg .btn-outline-secondary:hover {
  background-color: white;
  border-color: white;
  color:#606060;
}

/* =======================================================
*    SECTION AFFIX CSS
* ======================================================= */
.section-padding-lg {
  padding-top: 10em;
  clear: both;
}

.section-padding-sm {
  padding: 7em 0;
  clear: both;

  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  background-attachment: relative;
}

.section-heading {
  margin-bottom: 2em;
}
.section-heading.section-heading-sm {
  margin-bottom: 2em;
}
.section-heading h2 {
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.5;
  font-weight: bold;
  color: #000;
}
.section-heading p {
  font-size: 18px;
  line-height: 1.5;
  color: #828282;
}
.section-heading span {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

@media screen and (max-width: 768px) {
  .section-padding-lg {
    padding-top: 3em;
    padding-bottom: 0em;
  }

  .section-padding-sm {
    padding: 3em 0;
  }
}

.section-greywrap {
  background: rgba(0, 0, 0, 0.05);
}

/* HIGHLIGHTED AREA CSS */
.highlight-full {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  width: 100%;
  height: auto;
  position: relative;
}
.highlight-full .col-half,
.highlight-full .col-half-imgholder {
  width: 50%;
  float: left;
}
/*@media screen and (max-width: 768px) {
  .highlight-full .col-half-imgholder {
    display: block;
    position: absolute;
    bottom: 0;
    padding-bottom: 16em;
    width: 100%;
  }
}
@media screen and (max-width: 768px) and (max-width: 480px) {
  .highlight-full .col-half-imgholder {
    padding-bottom: 29em;
  }
}
@media screen and (max-width: 768px) {
  .highlight-full .col-half-imgholder img {
    right: 0;
    max-width: 100%;
  }
}
@media screen and (max-width: 768px) and (max-width: 480px) {
  .highlight-full .col-half-imgholder img {
    margin-right: -4em;
    max-width: 100%;
  }
}*/

.highlight-full .col-half {
  display: table;
}
.highlight-full .col-half .table-c {
  display: table-cell;
  vertical-align: middle;
  height: 554px;
}
.highlight-full .col-half .table-c .desc {
  width: 85%;
}
.highlight-full .col-half .table-c .desc > span {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}
.highlight-full .col-half .table-c .desc h3 {
  font-size: 46px;
  line-height: 55px;
  font-weight: 300;
}
.highlight-full .col-half .table-c .desc .btn {
  background: #f35f55;
  border: 2px solid #f35f55;
}
.highlight-full .col-half .table-c .desc .btn:hover, .highlight-full .col-half .table-c .desc .btn:active, .highlight-full .col-half .table-c .desc .btn:focus {
  border: 2px solid #f35f55 !important;
  background: #f14034 !important;
}
@media screen and (max-width: 768px) {
  .highlight-full .col-half {
    width: 100%;
    text-align: center;
  }
  .highlight-full .col-half .desc {
    width: 100% !important;
    padding: 0 30px;
  }
}
.highlight-full .col-half-imgholder {
  position: relative;
}
.highlight-full .col-half-imgholder img {
  position: absolute;
  height: 100%;
  bottom: 0;
  right: 0;
}

.highlight-items {
  padding-left: 20px;
  padding-right: 20px;
  float: left;
  width: 100%;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  .highlight-items {
    margin-bottom: 50px;
  }
}
.highlight-items .desc {
  padding-left: 180px;
}
.highlight-items .icon {
  margin-bottom: 20px;
  display: block;
}
.highlight-items .icon i {
  font-size: 60px;
  color: #2351A1;
}
.highlight-items .icon2 {
  float: left;
}
.highlight-items .icon2 i {
  font-size: 100px;
}
.highlight-items p, .highlight-items h3 {
  margin-bottom: 30px;
}
.highlight-items h3 {
  font-size: 22px;
  color: #5d5d5d;
}



/* IMAGE GRID CSS */
.project-grid {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  height: 350px;
  margin-bottom: 40px;
}
.project-grid:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  -webkit-transition: 0.1s;
  -o-transition: 0.1s;
  transition: 0.1s;
}
.project-grid .desc {
  background: rgba(12, 156, 238, 0.9);
  padding: 10px 20px;
  position: absolute;
  bottom: -93px;
  left: 0;
  right: 0;
  -webkit-transition: 0.1s;
  -o-transition: 0.1s;
  transition: 0.1s;
}
.project-grid .desc h3 a {
  color: white;
}
.project-grid .desc span {
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}
@media screen and (max-width: 768px) {
  .project-grid .desc {
    bottom: 0;
  }
}
.project-grid:hover:before, .project-grid:focus:before {
  opacity: 1;
}
.project-grid:hover .desc, .project-grid:focus .desc {
  bottom: 0;
}

.project-content {
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  float: left;
  padding-bottom: 20px;
}
.project-content .col-half {
  width: 50%;
  float: left;
  padding-left: 10px;
  padding-right: 10px;
}
@media screen and (max-width: 480px) {
  .project-content .col-half {
    width: 100%;
  }
}
.project-content .col-half .project, .project-content .col-half .project-grid {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.project-content .col-half .project:before, .project-content .col-half .project-grid:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  -webkit-transition: 0.1s;
  -o-transition: 0.1s;
  transition: 0.1s;
}
.project-content .col-half .project:hover:before, .project-content .col-half .project:focus:before, .project-content .col-half .project-grid:hover:before, .project-content .col-half .project-grid:focus:before {
  opacity: 1;
}
.project-content .col-half .project:hover .desc, .project-content .col-half .project:focus .desc, .project-content .col-half .project-grid:hover .desc, .project-content .col-half .project-grid:focus .desc {
  bottom: 0;
}
@media screen and (max-width: 480px) {
  .project-content .col-half .project, .project-content .col-half .project-grid {
    height: 340px !important;
    margin-bottom: 20px;
  }
}
.project-content .col-half .project {
  height: 800px;
}
.project-content .col-half .project-grid {
  height: 390px;
  margin-bottom: 20px;
}
.project-content .col-half .project-grid:last-child {
  margin-bottom: 0;
}
.project-content .desc {
  background: rgba(12, 156, 238, 0.9);
  padding: 10px 20px;
  position: absolute;
  bottom: -93px;
  left: 0;
  right: 0;
  -webkit-transition: 0.1s;
  -o-transition: 0.1s;
  transition: 0.1s;
}
.project-content .desc h3 {
  color: white;
}
.project-content .desc span {
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}
@media screen and (max-width: 768px) {
  .project-content .desc {
    bottom: 0;
  }
}


.row-pb-md {
  padding-bottom: 4em !important;
}

.row-pb-sm {
  padding-bottom: 2em !important;
}




#videobcg {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    height:auto;
    width:auto;
    z-index: -100;
}
