/* font face */

@font-face {
  font-family: "Merriweather";
  src: url("../fonts/Merriweather/Merriweather-Regular.ttf") format('truetype');
}
@font-face {
  font-family: "Merriweather";
  src: url("../fonts/Merriweather/Merriweather-Black.ttf") format('truetype');
  font-weight: 900;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto/Roboto-Regular.ttf") format('truetype');
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto/Roboto-Medium.ttf") format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto/Roboto-Bold.ttf") format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto/Roboto-Italic.ttf") format('truetype');
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto/Roboto-BoldItalic.ttf") format('truetype');
  font-weight: bold;
  font-style: italic;
}


/* variable - font & color */

:root {
	--font-main: 'Roboto', sans-serif;
	--font-title: 'Merriweather', serif;

	--color-cjdarkblue: #062d4c; /* rgb(6,45,76) */
  --color-cjblue: #305581; /* rgb(48,85,129) */
  --color-cjlightblue: #c9e2ff; /* rgb(201,226,255) */
  --color-cjcyan: #65c1cc; /* rgb(101,193,204) */
  --color-cjgray: #d7d7d7; /* rgb(215,215,215) */
}


/* common */

* {
  box-sizing: border-box;
}

body {
  height: 100%;
  margin: 0;
  font-size: 100%;
  font-family: 'Roboto', sans-serif;
  color: #000;
  background-color: #fff;
}

a {
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

ol, ul {
  list-style: none;
}

h1 {
  text-indent: 10px;
  font-size: 21px;
  font-weight: bold;
  font-family: 'Merriweather', serif;
}

.container {
  max-width: 1200px;
  min-width: 360px;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}

.clearfix {
  zoom: 1;
}

.clearfix:after {
  display: block;
  clear: both;
  content: '';
}

.flex-parent {
  display: flex;
  align-items: center;
}

.flex-child {
  flex: 1 1 auto;
}


/* header */

.top-line {
  background-color: var(--color-cjdarkblue);
  color: var(--color-cjcyan);
  text-align: right;
  padding-right: 20px;
}
.top-line i {
  font-size: 16px;
  margin: 8px 12px;
}
.top-line span {
  font-size: 14px;
}

.navbar {
  height: 70px;
  position: relative;
}
.navbar-brand {
  float: left;
  padding: 0;
  margin: 0;
}
.navbar-brand img {  
  height: 50px;
}
.navbar-brand #cj-logo-l {
  display: block;
}
.navbar-brand #cj-logo-s {
  display: none;
}

#navbarSupportedContent {
  padding-top: 20px;
  z-index: 1;
  background: white;
}
.navbar-nav {
  align-items: flex-end;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--color-cjblue);
  font-size: 18px;
}
.navbar-light .navbar-nav .active>.nav-link {
  color: var(--color-cjdarkblue);
  font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--color-cjdarkblue);
}

.dropdown-toggle::after {
  padding: 0;
  border: 0;
  margin: 0;
}

.navbar-light .navbar-toggler {
    color: var(--color-cjdarkblue);
    border: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    position: relative;
}

.navbar-toggler span {
    position: absolute;
    background: var(--color-cjdarkblue);
    width: 36px;
    height: 3px;
    border-radius: 1.5px;
    right: 2px;
    top: 6px;
}
.navbar-toggler span:nth-of-type(2) {
    top: 18px;
}
.navbar-toggler span:nth-of-type(3) {
    top: 30px;
}

.top-fix-bar {
  position: fixed;
  background: rgba(255,255,255,.9);
  top: 100px;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 30px;
  display: none;
  height: 60px;
  box-shadow: 0 2px 4px var(--color-cjblue);
}
.topbar-menu {
  height: 60px;
  padding: 10px;
  text-align: center;
}
.topbar-menu img {
  height: 40px;
}

.to-top {
  display: none;
  position: fixed;
  height: 35px;
  width: 35px;
  background-color: var(--color-cjblue);
  color: var(--color-cjlightblue);
  border: solid 1px white;
  border-radius: 5px 0 0 5px;
  right: -1px;
  bottom: 35px;
  cursor: pointer;
  z-index: 3;
}
.to-top:hover {
  color: white;
}
.to-top i {
  font-size: 21px;
  margin-top: 5px;
  margin-left: 7px;
}


@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 5px 0 0 20px;
  }
}

@media (max-width: 991.98px) {
  #navbarSupportedContent {
    position: absolute;
    top: 70px;
    left: 0;
    padding-top: 0;
    width: 100%;
  }
  .navbar-toggler[aria-expanded="true"] .top {
      -webkit-transform: translateY(12px) translateX(0) rotate(45deg);
      transform: translateY(12px) translateX(0) rotate(45deg);
      transition: 0.4s;
  }
  .navbar-toggler[aria-expanded="true"] .middle {
      opacity: 0;
  }
  .navbar-toggler[aria-expanded="true"] .bottom {
      -webkit-transform: translateY(-12px) translateX(0) rotate(-45deg);
      transform: translateY(-12px) translateX(0) rotate(-45deg);
      transition: 0.4s;
  }
  .navbar-nav {
    align-items: flex-start;
  }
  .navbar-nav .nav-item {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .top-line {
    text-align: center;
    padding-right: 0;
  }
  .navbar-brand #cj-logo-l {
    display: none;
  }
  .navbar-brand #cj-logo-s {
    display: block;
  }
}


/* footer */

footer {
  background: var(--color-cjdarkblue);
}

.footer-sec {
  padding: 20px;
  text-align: center;
}
.footer-sec .footer-logo {
  max-width: 400px;
  width: 80%;
  padding: 20px;
}
.footer-sec .footer-info {
  color: var(--color-cjcyan);
}

.footer-sec .footer-links .footer-link-group {
  display: inline;
}
.footer-sec .footer-links .footer-link {
  font-size: 18px;
  color: var(--color-cjlightblue);
  margin: 10px;
}
.footer-sec .footer-links .footer-link:hover {
  color: white;
}

.footer-sec .footer-sms {
  padding: 10px;
}
.footer-sec .footer-sm-link {
  width: 30px;
  margin: 10px;
  display: inline-block;
} 
.footer-sec .footer-sm-link .sm-icon {
  width: 100%;
}
.footer-sec hr {
  border-color: var(--color-cjblue);
}
.footer-sec .footer-copyright {
  color: var(--color-cjblue);
}
.footer-sec .footer-copyright h5 {
  font-size: 18px;
}

@media (max-width: 600px) {
  .footer-sec .footer-links .footer-link-group {
    display: block;
  }
}

@media (max-width: 480px) {
  .footer-sec {
    padding: 10px 0;
  }
  .footer-sec .footer-info {
    font-size: 14px;
  }
  .footer-sec .footer-copyright h5 {
    font-size: 14px;
  }
}


/* jumbotron */

.jumbotron {
  height: 400px;
  position: relative;
  padding: 10% 0;
  margin: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.bg-caption {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.bg-caption h3 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px #000;
  padding: 10px 0;
}
.bg-caption.bg-caption-big h3 {
  font-size: 60px;
}


/* main-info */

.main-info .container {
  padding: 16px;
}

.main-info h2 {
  font-size: 28px;
  font-family: 'Merriweather', serif;
  font-weight: bold;
  color: var(--color-cjdarkblue);
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 16px;
}
.main-info p {
  margin-bottom: 5px;
}
.main-info.sior-info p {
  margin-bottom: 10px;
}
.main-info p.comment {
  margin: 20px;
  font-style: italic;
  color: var(--color-cjblue);
}
.main-info p.sub-tit {
  font-size: 18px;
}

.main-info h3 {
  font-size: 21px;
  color: var(--color-cjdarkblue);
  font-weight: bold;
}
.main-info ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.main-info.sior-info ul {
  list-style-type: square;
}

.main-info .cj-logo,
.main-info .sior-logo {
  margin-top: auto;
  margin-bottom: 10px;
  text-align: right;
}
.main-info .cj-logo img {
  width: 100%;
  max-width: 400px;
}
.main-info .sior-logo img {
  width: 100%;
  max-width: 200px;
}

.property-tit .container {
  padding-top: 20px;
  padding-bottom: 0;
}

.contact-info-div h3 {
  color: var(--color-cjcyan);
  font-size: 24px;
  margin-bottom: 16px;
}
.contact-info p {
  display: table-cell;
  font-size: 21px;
  margin-bottom: 10px;
}
.contact-info p.info-label {
  font-weight: bold;
  color: var(--color-cjblue);
}
.contact-info .email-link {
  color: black;
}
.contact-info .email-link:hover {
  color: var(--color-cjdarkblue);
}

@media (max-width: 767.98px) {
  .main-info .cj-logo,
  .main-info .sior-logo {
    padding-top: 20px;
    text-align: center;
  }
}


.comment-sec {
  background: var(--color-cjblue);
}
.comment-sec .container {
  padding: 40px;
  text-align: center;
}
.comment-sec h4 {
  margin: 0;
  color: var(--color-cjgray);
  font-family: 'Merriweather', serif;
  font-size: 18px;
  font-style: italic;
  letter-spacing: 2px;
}


.bio-kent {
  background: var(--color-cjlightblue);
}
.bio-kent .container {
  padding: 16px;
}
.bio-kent img {
  width: 100%;
  padding: 50px 15px 0 15px;
}
.bio-kent h2 {
  font-size: 28px;
  color: var(--color-cjdarkblue);
  margin: 16px 0;
  font-weight: bold;
}
.bio-kent p {
  margin-bottom: 5px;
}
.bio-kent h3 {
  font-size: 21px;
  color: var(--color-cjdarkblue);
  font-weight: bold;
  margin-top: 30px;
}
.bio-kent ul {
  padding-left: 20px;
}

@media (max-width: 767.98px) {
  .bio-kent .bio-img {
    text-align: center;
  }
  .bio-kent img {
    max-width: 250px;
    padding: 20px 0;
  }
}


.service-detail .container {
  padding: 10px 16px;
}
.service-detail .container .row {
  padding: 10px 0;
}

.service-detail img {
  width: 100%;
}

.service-detail h3 {
  font-size: 24px;
  color: var(--color-cjdarkblue);
  margin: 16px 0;
  font-weight: bold;
  margin-top: 0;
}
.service-detail h4 {
  font-size: 18px;
  color: var(--color-cjdarkblue);
  font-weight: bold;
  margin-top: 30px;
}
.service-detail p {
  font-size: 18px;
  margin-bottom: 5px;
}
.service-detail ul {
  padding-left: 20px;
  list-style-type: square;
}

@media (max-width: 767.98px) {
  .service-detail img {
    max-width: 300px;
    padding: 20px 0;
  }
}


.property-list .container .row {
  margin: 0;
  padding: 0 6px 10px 6px;
}
.property-list .item-detail {
  padding: 0;
}
.item-detail .item-info {
  height: 95%;
  background: var(--color-cjlightblue);
  margin: 10px;
  padding-bottom: 10px;
}
.item-detail .item-info img {
  width: 100%;
}
.item-detail .item-info h5 {
  text-transform: uppercase;
  color: var(--color-cjdarkblue);
  margin: 20px;
}
.item-detail .item-info p {
  margin: 20px;
}


.get-survey {
  background: var(--color-cjlightblue);
}
.get-survey .container {
  max-width: 600px;
  padding: 40px;
}
.get-survey h4 {
  text-align: center;
  font-size: 21px;
  color: var(--color-cjdarkblue);
}
.get-survey hr {
  border-color: var(--color-cjcyan);
}
.get-survey .form-control {
  border-radius: 0;
  border-color: var(--color-cjblue);
}
.get-survey textarea {
  width: 100%;
}
.get-survey button {
  background: var(--color-cjdarkblue);
  color: var(--color-cjcyan);
  text-transform: uppercase;
  border-radius: 0;
  max-width: 300px;
  margin: auto;
}



