@charset "utf-8";
@import url("fontawesome-free/css/fontawesome-all.min.css");
@import url("framework.css");

/* Header
-------------------------------------------------------------------------------------------------- */
#header #logo {
  margin: 22px 0 0 0;
}

/* Page Intro
-------------------------------------------------------------------------------------------------- */
#pageintro {
  padding: 200px 0 80px;
}

#pageintro article,
#pageintro article p {
  display: block;
  max-width: 75%;
  margin: 0 auto;
  text-align: center;
}

#pageintro article p {
  max-width: 65%;
  line-height: 2rem;
}

#pageintro .heading {
  margin-bottom: 20px;
  font-size: 4rem;
}

#pageintro footer {
  margin-top: 50px;
}
/* Content Area
-------------------------------------------------------------------------------------------------- */
.container {
  padding: 80px 0;
}

/* Section Title */
.sectiontitle {
  display: block;
  max-width: 55%;
  margin: 0 auto 80px;
  text-align: center;
}
.sectiontitle * {
  margin: 0;
}

/* Element Lists */
.elements-three li,
.elements-four li {
  margin-bottom: 50px;
}

/* Hapus margin bawah di baris terakhir item */
.elements-three li:nth-last-child(-n + 3),
.elements-four li:nth-last-child(-n + 4) {
  margin-bottom: 0;
}

/* Atur margin dan float otomatis tanpa class="first" */
.elements-three li:nth-child(3n + 1),
.elements-four li:nth-child(4n + 1) {
  margin-left: 0;
  clear: left;
}

/* Elemen Artikel */
.elements article {
  display: block;
  padding: 30px 15px;
  border-radius: 50px 0;
  text-align: center;
}
.elements article * {
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1;
}
.elements article i {
  width: 60px;
  height: 60px;
  line-height: 60px;
  margin-bottom: 30px;
  font-size: 1.6rem;
  text-align: center;
  border-radius: 50%;
}
.elements article .heading {
  font-size: 1.2rem;
  font-weight: 700;
}
.elements article p {
  margin: 0;
  line-height: normal;
}

/* Intro Blocks
-------------------------------------------------------------------------------------------------- */
#introblocks {
  display: block;
  position: relative;
  margin: -160px 0 130px 0;
  z-index: 1;
}

/* Shout Section
-------------------------------------------------------------------------------------------------- */
.shout figure {
  display: block;
  max-width: 546px;
}

.shout figure figcaption {
  display: block;
  position: relative;
}

.shout figure figcaption a {
  display: block;
  position: relative;
  padding: 15px;
  border: solid;
  border-width: 0 1px 1px 1px;
}

.shout figure figcaption a::after {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f105";
  text-align: center;
  border-radius: 50%;
}

/* Team Members
-------------------------------------------------------------------------------------------------- */
.team li:last-child {
  margin-bottom: 0;
}

.team figure {
  display: block;
  text-align: center;
}

.team figure * {
  margin: 0;
  padding: 0;
}

.team figure a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.team figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.team figure figcaption {
  padding: 20px 10px;
  line-height: 1;
  border: solid;
  border-width: 0 1px 1px 1px;
}

.team figure strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 400;
}

.team figure em {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
}

/* Easy Pie Charts
-------------------------------------------------------------------------------------------------- */

.pr-charts .pr-chart-ctrl {
  display: block;
  float: left;
  width: 25%;
  min-height: 200px;
}

.pr-charts .pr-chart-ctrl .pr-chart {
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
}

.pr-charts .pr-chart-ctrl .pr-chart canvas {
  display: block;
  margin: 0 auto;
  padding: 0;
}

.pr-charts .pr-chart-ctrl .pr-chart i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  line-height: 200px;
  font-size: 18px;
  font-style: normal;
}

.pr-charts .pr-chart-ctrl p {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

/* Testimonials
-------------------------------------------------------------------------------------------------- */

#testimonials article {
  text-align: center;
}

#testimonials article * {
  margin: 0;
  padding: 0;
}

#testimonials article figure {
  display: inline-block;
  margin-bottom: 20px;
}

#testimonials article figure img {
  float: left;
  margin-right: 15px;
  border-radius: 50%;
}

#testimonials article figure figcaption {
  float: left;
  margin-top: 30px;
  font-size: 1.4rem;
  text-align: left;
}

#testimonials article figure figcaption .heading {
  font-size: 1.4rem;
}

#testimonials article figure figcaption em {
  display: block;
  margin-top: -5px;
  font-size: 0.8rem;
  font-style: normal;
}

#testimonials article blockquote {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 25px 0;
}

#testimonials article blockquote::before {
  top: 15px;
  left: 15px;
  font-size: 30px;
  line-height: 30px;
}

/* Latest */

#latest > li:last-child {
  margin-bottom: 0;
}

#latest article .meta {
  display: block;
  margin: 0 0 15px 0;
  padding: 5px 10px;
}
#latest article .meta li {
  display: block;
  float: left;
  width: 50%;
  font-size: 0.8rem;
}
#latest article .meta li:last-child {
  text-align: right;
}
#latest article .meta li i {
  margin-right: 5px;
}
#latest article .excerpt {
  display: block;
  max-width: 85%;
  margin: 0 auto;
  padding: 15px 0 15px 15px;
  border-left: 1px solid;
}
#latest article .excerpt time {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1;
}
#latest article .excerpt .heading {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}

/* Comments */
#comments ul {
  margin: 0 0 40px 0;
  padding: 0;
  list-style: none;
}
#comments li {
  margin: 0 0 10px 0;
  padding: 15px;
}
#comments .avatar {
  float: right;
  margin: 0 0 10px 10px;
  padding: 3px;
  border: 1px solid;
}
#comments address {
  font-weight: bold;
}
#comments time {
  font-size: smaller;
}
#comments .comcont {
  display: block;
  margin: 0;
  padding: 0;
}
#comments .comcont p {
  margin: 10px 5px 10px 0;
  padding: 0;
}

#comments form {
  display: block;
  width: 100%;
}
#comments input,
#comments textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid;
}
#comments textarea {
  overflow: auto;
}
#comments div {
  margin-bottom: 15px;
}
#comments input[type="submit"],
#comments input[type="reset"] {
  display: inline-block;
  width: auto;
  min-width: 150px;
  margin: 0;
  padding: 8px 5px;
  cursor: pointer;
}

/* Sidebar */

.sidebar .sdb_holder {
  margin-bottom: 50px;
}
.sidebar .sdb_holder:last-child {
  margin-bottom: 0;
}

/* Contact Details
--------------------------------------------------------------------------------------------------------------- */

#ctdetails figure > ul li {
  position: relative;
  margin: 0 0 35px 0;
  padding: 15px 15px 15px 80px;
  line-height: 1;
}
#ctdetails figure > ul li:last-child {
  margin: 0;
}
#ctdetails figure > ul li i {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  font-size: 16px;
  text-align: center;
  border-radius: 50%;
}
#ctdetails figure > ul li span {
  display: block;
  padding: 4px 0 0 0;
}
#ctdetails figure > ul li strong {
  display: block;
  margin: 0 0 8px 0;
  text-transform: capitalize;
}

#ctdetails article {
  margin-bottom: 0;
}
#ctdetails input,
#ctdetails button {
  border: 1px solid;
}
#ctdetails input {
  display: block;
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
}
#ctdetails button {
  padding: 8px 18px 10px;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
}

/* Footer
--------------------------------------------------------------------------------------------------------------- */
#footer {
  padding: 80px 0;
}

#footer .heading {
  margin-bottom: 50px;
  font-size: 1.2rem;
}
#footer .logoname {
  margin-bottom: 50px;
}
#footer p + .faico {
  margin-top: 30px;
}

#footer .linklist li {
  display: block;
  margin-bottom: 15px;
  padding: 0 0 15px 0;
  border-bottom: 1px solid;
}
#footer .linklist li:last-child {
  margin: 0;
  padding: 0;
  border: none;
}
#footer .linklist li::before,
#footer .linklist li::after {
  display: table;
  content: "";
}
#footer .linklist li,
#footer .linklist li::after {
  clear: both;
}

#footer .latestimg > li {
  display: inline-block;
  width: 30%;
  margin: 0 0 5% 5%;
}
#footer .latestimg > li:nth-last-child(-n + 3) {
  margin-bottom: 0;
}
#footer .latestimg > li:nth-child(3n + 1) {
  margin-left: 0;
  clear: left;
}
#footer .latestimg > li img {
  width: 100%;
}
#footer .latestimg > li a.imgover {
  display: block;
}

/* Copyright
--------------------------------------------------------------------------------------------------------------- */
#copyright {
  padding: 20px 0;
}
#copyright * {
  margin: 0;
  padding: 0;
}

*::before,
*::after {
  transition: all 0.3s ease-in-out;
}
#mainav form * {
  transition: none !important;
}

/* Navigation
--------------------------------------------------------------------------------------------------------------- */
nav ul,
nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

#mainav,
#breadcrumb,
.sidebar nav {
  line-height: normal;
}
#mainav .drop::after,
#mainav li li .drop::after,
#breadcrumb li a::after,
.sidebar nav a::after {
  position: absolute;
  font-family: "Font Awesome\ 5 Free";
  font-weight: 900;
  font-size: 10px;
  line-height: 10px;
}

/* Top Navigation */

#mainav ul {
  text-transform: uppercase;
}
#mainav ul ul {
  position: absolute;
  width: 180px;
  text-transform: none;
  z-index: 9999;
}
#mainav ul ul ul {
  left: 180px;
  top: 0;
}
#mainav li {
  display: inline-block;
  position: relative;
  margin: 0 15px 0 0;
  padding: 0;
}
#mainav li:last-child {
  margin-right: 0;
}
#mainav li li {
  width: 100%;
  margin: 0;
}
#mainav li a {
  display: block;
  padding: 30px 0;
}
#mainav li li a {
  border: solid;
  border-width: 0 0 1px 0;
}
#mainav .drop {
  padding-left: 15px;
}
#mainav li li a,
#mainav li li .drop {
  display: block;
  margin: 0;
  padding: 10px 15px;
}
#mainav .drop::after,
#mainav li li .drop::after {
  content: "\f0d7";
}
#mainav .drop::after {
  top: 35px;
  left: 5px;
}
#mainav li li .drop::after {
  top: 15px;
  left: 5px;
}
#mainav ul ul {
  visibility: hidden;
  opacity: 0;
}
#mainav ul li:hover > ul {
  visibility: visible;
  opacity: 1;
}

#mainav form {
  display: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
#mainav form select,
#mainav form select option {
  display: block;
  cursor: pointer;
  outline: none;
}
#mainav form select {
  width: 100%;
  padding: 5px;
  border: none;
}
#mainav form select option {
  margin: 5px;
  padding: 0;
  border: none;
}

/* Breadcrumb */
#breadcrumb {
  padding: 150px 0 30px;
}
#breadcrumb ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-transform: uppercase;
}
#breadcrumb li {
  display: inline-block;
  margin: 0 6px 0 0;
  padding: 0;
}
#breadcrumb li a {
  display: block;
  position: relative;
  margin: 0;
  padding: 0 12px 0 0;
  font-size: 12px;
}
#breadcrumb li a::after {
  top: 4px;
  right: 0;
  content: "\f0da";
}
#breadcrumb li:last-child a {
  margin: 0;
  padding: 0;
}
#breadcrumb li:last-child a::after {
  display: none;
}
#breadcrumb .heading {
  margin: 0;
  font-size: 2rem;
}

/* Sidebar Navigation */
.sidebar nav {
  display: block;
  width: 100%;
}
.sidebar nav li {
  margin: 0 0 3px 0;
  padding: 0;
}
.sidebar nav a {
  display: block;
  position: relative;
  margin: 0;
  padding: 5px 10px 5px 15px;
  text-decoration: none;
  border: solid;
  border-width: 0 0 1px 0;
}
.sidebar nav a::after {
  top: 10px;
  left: 5px;
  content: "\f0da";
}
.sidebar nav ul ul a {
  padding-left: 35px;
}
.sidebar nav ul ul a::after {
  left: 25px;
}
.sidebar nav ul ul ul a {
  padding-left: 55px;
}
.sidebar nav ul ul ul a::after {
  left: 45px;
}

/* Pagination */
.pagination {
  display: block;
  width: 100%;
  text-align: center;
  clear: both;
}
.pagination li {
  display: inline-block;
  margin: 0 2px 0 0;
}
.pagination li:last-child {
  margin-right: 0;
}
.pagination a,
.pagination strong {
  display: block;
  padding: 8px 11px;
  border: 1px solid;
  background-clip: padding-box;
  font-weight: normal;
}

/* Back to Top */
#backtotop {
  z-index: 999;
  display: inline-block;
  position: fixed;
  visibility: hidden;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 16px;
  text-align: center;
  opacity: 0.2;
}
#backtotop i {
  display: block;
  width: 100%;
  height: 100%;
  line-height: inherit;
}
#backtotop.visible {
  visibility: visible;
  opacity: 0.5;
}
#backtotop:hover {
  opacity: 1;
}

/* Tables
--------------------------------------------------------------------------------------------------------------- */
table,
th,
td {
  border: 1px solid;
  border-collapse: collapse;
  vertical-align: top;
}
table,
th {
  table-layout: auto;
}
table {
  width: 100%;
  margin-bottom: 15px;
}
th,
td {
  padding: 5px 8px;
}
td {
  border-width: 0 1px;
}

/* Gallery
--------------------------------------------------------------------------------------------------------------- */
#gallery {
  display: block;
  width: 100%;
  margin-bottom: 50px;
}
#gallery figure figcaption {
  display: block;
  width: 100%;
  clear: both;
}
#gallery li {
  margin-bottom: 30px;
}

/* Font Awesome Social Icons
--------------------------------------------------------------------------------------------------------------- */
.faico {
  margin: 0;
  padding: 0;
  list-style: none;
}
.faico li {
  display: inline-block;
  margin: 8px 5px 0 0;
  padding: 0;
  line-height: normal;
}
.faico li:last-child {
  margin-right: 0;
}
.faico a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 18px;
  text-align: center;
}

.faico a {
  color: inherit;
  background-color: #282e39;
}
.faico a:hover {
  color: #ffffff;
}

.faicon-dribble:hover {
  background-color: #ea4c89;
}
.faicon-facebook:hover {
  background-color: #3b5998;
}
.faicon-google-plus:hover {
  background-color: #db4a39;
}
.faicon-linkedin:hover {
  background-color: #0e76a8;
}
.faicon-twitter:hover {
  background-color: #00acee;
}
.faicon-vk:hover {
  background-color: #4e658e;
}

/* Colours
--------------------------------------------------------------------------------------------------------------- */
body {
  color: #a5a6aa;
  background-color: #282e39;
}
a {
  color: #97a9bd;
}
a:active,
a:focus {
  background: transparent !important;
} /* IE10 + 11 Bugfix - prevents grey background */
hr,
.borderedbox {
  border-color: #d7d7d7;
}
label span {
  color: #ff0000;
  background-color: inherit;
}
input:focus,
textarea:focus,
*:required:focus {
  border-color: #97a9bd !important;
}

.overlay {
  color: #ffffff;
  background-color: inherit;
}
.overlay::after {
  color: inherit;
  background-color: rgba(40, 46, 57, 0.7); /* #282E39 */
}
.overlay.light::after {
  background-color: rgba(151, 169, 189, 0.7); /* #97A9BD */
}

.gradient {
  color: #474747;
  background: linear-gradient(
    to bottom,
    #f4f4f4 55%,
    #ffffff 50%,
    #ffffff 100%
  );
} /* Overlap dark to make a hard transition */
@media screen and (max-width: 750px) {
  /* Only the colours height has been changed */
  .gradient {
    background: linear-gradient(
      to bottom,
      #f4f4f4 24%,
      #ffffff 19%,
      #ffffff 100%
    );
  }
}

.btn,
.btn.inverse:hover {
  color: #ffffff;
  background-color: #97a9bd;
  border-color: #97a9bd;
}
.btn:hover,
.btn.inverse {
  color: inherit;
  background-color: transparent;
  border-color: inherit;
}

.imgover:hover::before {
  background-color: rgba(151, 169, 189, 0.5); /* #97A9BD */
}
.imgover,
.imgover:hover::after {
  color: #ffffff;
}

.logoname a {
  color: #ffffff;
}
.logoname::first-letter,
.logoname span {
  color: #97bdab;
}

/* Rows */

.row1 {
  color: #ffffff;
  background-color: #000000;
}
.row2 {
  color: #474747;
  background-color: #f4f4f4;
}
.row3 {
  color: #474747;
  background-color: #ffffff;
}
.row4 {
  color: #a5a6aa;
  background-color: #000000;
}
.row5,
.row5 a {
  color: #a5a6aa;
  background-color: #282e39;
}
.coloured {
  color: #ffffff;
  background-color: #97a9bd;
}

/* Header */
#header #logo a {
  color: inherit;
}

/* Page Intro */
#pageintro {
  color: #ffffff;
}

/* Content Area */
.elements article {
  color: #474747;
  background-color: #ffffff;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}
.elements article:hover {
  color: #ffffff;
  background-color: #97a9bd;
} /* Default */
.elements article a i {
  color: #ffffff;
  background-color: #97a9bd;
} /* Default */
.elements article:hover a i {
  color: #97a9bd;
  background-color: #ffffff;
} /* Default */

/* Kontainer utama ul */
#introblocks .elements {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
  margin: 0 auto;
}

/* Setiap kotak */
#introblocks .elements li {
  list-style: none;
  flex: 0 0 250px;
}

/* Isi kotak */
#introblocks .elements li article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
  border-radius: 30px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

/* Khusus kotak Instagram: <a> penuh */
#introblocks .elements li:nth-child(1) article a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  height: 100%;
  color: inherit;
}

/* Ikon di tengah */
#introblocks .elements li article i {
  font-size: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

/* Hover efek umum */
#introblocks .elements li article:hover {
  background-color: #ffffff !important;
  color: #333333;
}

#introblocks .elements li article:hover i {
  background-color: #333333;
  color: #ffffff;
}

/* Warna dasar per kotak */
#introblocks .elements li:nth-child(1) article {
  background-color: #97a9bd;
}
#introblocks .elements li:nth-child(2) article {
  background-color: #a197bd;
}
#introblocks .elements li:nth-child(3) article {
  background-color: #bda697;
}

/* Warna ikon awal per kotak */
#introblocks .elements li:nth-child(1) article i {
  color: #97a9bd;
}
#introblocks .elements li:nth-child(2) article i {
  color: #a197bd;
}
#introblocks .elements li:nth-child(3) article i {
  color: #bda697;
}

/* ###### END DELETE ###### */

.shout figure figcaption a {
  color: inherit;
  background-color: inherit;
  border-color: #d7d7d7;
}
.shout figure:hover figcaption a,
.shout figure figcaption a::after {
  color: #ffffff;
  background-color: #97a9bd;
  border-color: #97a9bd;
}
.shout figure:hover figcaption a::after {
  color: #97a9bd;
  background-color: #ffffff;
}

.team figure figcaption {
  color: #474747;
  background-color: #ffffff;
  border-color: #d7d7d7;
}

#testimonials article blockquote {
  color: #474747;
  background-color: #ffffff;
}
#testimonials article blockquote::before {
  color: rgba(0, 0, 0, 0.05);
}
#testimonials article blockquote::after {
  border-top-color: #ffffff;
}

#latest article .meta,
#latest article .meta * {
  color: #ffffff;
  background-color: #282e39;
}
#latest article .excerpt {
  border-color: #d7d7d7;
}

/* Contact Details */
#ctdetails figure > ul li {
  color: inherit;
  background-color: #ffffff;
}
#ctdetails figure > ul li:hover a {
  color: #ffffff;
}
#ctdetails figure > ul li:hover,
#ctdetails figure > ul li a i {
  color: #ffffff;
  background-color: #97a9bd;
} /* Default */
#ctdetails figure > ul li:hover a i {
  color: #97a9bd;
  background-color: #ffffff;
} /* Default */

/* ###### DELETE THE FOLLOWING IF ONLY THE DEFAULT COLOUR IS REQUIRED ###### */
#ctdetails figure > ul li:hover,
#ctdetails figure > ul li a i {
  color: #ffffff;
  background-color: #a197bd;
}
#ctdetails figure > ul li:hover a i {
  color: #a197bd;
  background-color: #ffffff !important;
}
#ctdetails figure > ul li:nth-child(2):hover,
#ctdetails figure > ul li:nth-child(2) a i {
  background-color: #bda697;
}
#ctdetails figure > ul li:nth-child(2):hover a i {
  color: #bda697;
}
#ctdetails figure > ul li:nth-child(3):hover,
#ctdetails figure > ul li:nth-child(3) a i {
  background-color: #97bdab;
}
#ctdetails figure > ul li:nth-child(3):hover a i {
  color: #97bdab;
}
/* ###### END DELETE ###### */

#ctdetails input,
#ctdetails button {
  border-color: transparent;
}
#ctdetails input {
  color: #474747;
  background-color: #ffffff;
}
#ctdetails button {
  color: #ffffff;
  background-color: #97a9bd;
}
#ctdetails button:hover {
  color: inherit;
  background-color: transparent;
  border-color: inherit;
}

/* Footer */
#footer .heading {
  color: #ffffff;
}
#footer hr,
#footer .borderedbox,
#footer .linklist li {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Navigation */
#mainav li a {
  color: inherit;
}
#mainav .active a,
#mainav a:hover,
#mainav li:hover > a {
  color: #97a9bd;
  background-color: inherit;
}
#mainav li li a,
#mainav .active li a {
  color: #ffffff;
  background-color: rgba(151, 169, 189, 0.5);
  border-color: rgba(151, 169, 189, 0.5); /* #97A9BD */
}
#mainav li li:hover > a,
#mainav .active .active > a {
  color: #ffffff;
  background-color: #97a9bd;
}
#mainav form select {
  color: #474747;
  background-color: #ffffff;
}

#breadcrumb a {
  color: inherit;
  background-color: inherit;
}
#breadcrumb li:last-child a {
  color: #97a9bd;
}

.container .sidebar nav a {
  color: inherit;
  border-color: #d7d7d7;
}
.container .sidebar nav a:hover {
  color: #97a9bd;
}

.pagination a,
.pagination strong {
  border-color: #d7d7d7;
}
.pagination .current * {
  color: #ffffff;
  background-color: #97a9bd;
}

#backtotop {
  color: #ffffff;
  background-color: #97a9bd;
}

/* Tables + Comments */
table,
th,
td,
#comments .avatar,
#comments input,
#comments textarea {
  border-color: #d7d7d7;
}
th {
  color: #ffffff;
  background-color: #373737;
}
tr,
#comments li,
#comments input[type="submit"],
#comments input[type="reset"] {
  color: inherit;
  background-color: #fbfbfb;
}
tr:nth-child(even),
#comments li:nth-child(even) {
  color: inherit;
  background-color: #f7f7f7;
}
table a,
#comments a {
  background-color: inherit;
}

/* Media Queries
--------------------------------------------------------------------------------------------------------------- */
@-ms-viewport {
  width: device-width;
}

/* Max Wrapper Width - Laptop, Desktop etc.
--------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width: 1140px) {
  .hoc {
    max-width: 1140px;
  }
}

@media screen and (min-width: 978px) and (max-width: 1140px) {
  .hoc {
    max-width: 95%;
  }
}

/* Mobile Devices
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 978px) {
  .hoc {
    max-width: 90%;
  }

  #header {
    padding: 30px 0;
  }
  #header #logo {
    margin-top: 0;
  }

  #mainav ul {
    display: none;
  }
  #mainav form {
    display: block;
    margin-top: 2px;
  }

  #comments input[type="reset"] {
    margin-top: 10px;
  }
  .pagination li {
    display: inline-block;
    margin: 0 5px 5px 0;
  }

  #copyright p:first-of-type {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 750px) {
  .imgl,
  .imgr {
    display: inline-block;
    float: none;
    margin: 0 0 10px 0;
  }
  .fl_left,
  .fl_right {
    display: block;
    float: none;
  }
  .group .group > *:last-child,
  .clear .clear > *:last-child,
  .clear .group > *:last-child,
  .group .clear > *:last-child {
    margin-bottom: 0;
  } /* Experimental - Needs more testing in different situations, stops double margin when stacking */
  .one_half,
  .one_third,
  .two_third,
  .one_quarter,
  .two_quarter,
  .three_quarter {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 30px 0;
  }

  #header {
    text-align: center;
  }
  #header #logo {
    margin: 0 0 15px 0;
  }

  #pageintro article,
  #pageintro article p {
    max-width: none;
  }
  #pageintro .heading {
    font-size: 2rem;
  }

  .sectiontitle {
    max-width: none;
  }
  .shout figure,
  .team li,
  #latest > li {
    margin: 0 auto 50px;
  }
  .team li,
  #latest li {
    max-width: 348px;
  } /* Restrict the width to the one_third grid element */
  .elements-three li:nth-last-child(-n + 3),
  .elements-four li:nth-last-child(-n + 4) {
    margin-bottom: 50px;
  }
  .elements-three li:last-child,
  .elements-four li:last-child,
  .shout figure:last-child {
    margin-bottom: 0;
  }

  #ctdetails figure {
    margin-bottom: 80px;
  } /* Gives good separation between the two elements */

  #footer {
    padding-bottom: 50px;
  } /* Not needed - just looks better */
  #footer .latestimg > li,
  #footer .latestimg > li:nth-last-child(-n + 3) {
    display: inline-block;
    float: none;
    width: auto;
    margin: 0 5% 5% 0;
  }
  #footer .latestimg > li:last-child {
    margin-bottom: 0;
  }
  #footer .latestimg > li img {
    width: auto;
  }
}

@media screen and (min-width: 451px) and (max-width: 900px) {
  .pr-charts .pr-chart-ctrl {
    width: 50%;
    margin-bottom: 50px;
  }
  .pr-charts .pr-chart-ctrl:nth-child(n + 3) {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 450px) {
  .pr-charts .pr-chart-ctrl {
    width: 100%;
    margin-bottom: 50px;
  }
  .pr-charts .pr-chart-ctrl:last-child {
    margin-bottom: 0;
  }

  #testimonials article figure img {
    float: none;
    margin: 0 0 20px 0;
  }
  #testimonials article figure figcaption {
    float: none;
    margin: 0;
    text-align: center;
  }
}

/* Other
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 650px) {
  .scrollable {
    display: block;
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0 0 15px 0;
    overflow: auto;
    overflow-x: scroll;
  }
  .scrollable table {
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }

  .inline li {
    display: block;
    margin-bottom: 10px;
  }
  .pushright li {
    margin-right: 0;
  }

  .font-x2 {
    font-size: 1.6rem;
  }
  .font-x3 {
    font-size: 1.8rem;
  }
}
