/* =======================================================
*
*  Global
*
* ======================================================= */
body {
  --main-color: #4a4846;
  --link-color: #4eb8f3;
  --link-color-rgb: 89, 183, 243;
  --footer-color: #262626;
  --menu-color: #31353a;
  --menu-height: 62px;
  --menu-top: 8px;

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

#page {
  margin-top: var(--menu-height);
  overflow-y: visible;
  overflow-x: hidden;
}

.js .animate-box {
  opacity: 0;
}

a,
a:hover {
  transition: 0.3s;
  outline: none;
  text-decoration: none;
  color: var(--link-color);
}

a:focus {
  transition: 0.3s;
  text-decoration: none;
  color: var(--link-color);
}

span .smaller {
  font-size: 80%;
}

/* =======================================================
*
*  .colorlib
*
* ======================================================= */
.colorlib-main {
  background: var(--main-color);
  color: #fff;
}

.colorlib-main .dark {
  color: #dddddd;
}

.colorlib-white {
  background: #f2f4f3;
  color: #303133;
}

.colorlib-white .dark {
  color: #7b7d80;
}

.colorlib-gray {
  background: #f0ece8;
  color: #414347;
  border-top: 1px solid #e7e0e0;
  border-bottom: 1px solid #e7e0e0;
}

.colorlib-black {
  background: #303133;
  color: #e1e1e1;
}

.colorlib-black .dark {
  color: #cccccc;
}

.background-area {
  position: relative;
}

.background {
  position: absolute;
  opacity: 30%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

/* =======================================================
*
*  .layout-hero
*
* ======================================================= */
.layout-hero {
  padding-top: 100px;
  padding-bottom: 40px;
}

.layout-hero h1 {
  font-size: 48px;
}

.layout-hero a {
  margin-top: 35px;
  margin-left: 20px;
  margin-right: 20px;
}

/* =======================================================
*
*  .layout-about
*
* ======================================================= */
.layout-about {
  padding-top: 40px;
  padding-bottom: 40px;
}

.layout-about h1 {
  font-size: 48px;
}

.layout-about .about-content > * {
  margin: 20px 0;
}

/* =======================================================
*
*  .layout-featured
*
* ======================================================= */
.layout-featured {
  padding-bottom: 15px;
}

.layout-featured .featured-entry img {
  /* box-shadow: 0px 3px 19px -9px rgba(0, 0, 0, 0.75); */
  margin-bottom: 10px;
}

.layout-featured .owl-theme .owl-dots .owl-dot span {
  background: #e6e6e6;
}

.layout-featured .owl-theme .owl-dots .owl-dot.active span {
  background: #4aca85;
}

/* =======================================================
*
*  .layout-work-featured 
*
* ======================================================= */
.layout-work-featured .features-wrap {
  padding-top: 50px;
  padding-bottom: 50px;
}

.layout-work-featured .features-wrap .features-img {
  background-position: top;
  width: 100%;
  box-shadow: 0px 3px 38px -13px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.layout-work-featured .features-wrap .features-desc {
  padding-left: 25px;
}

.layout-work-featured .features-wrap .features-desc li{
  font-size: 18px;
  color: #595959;
  padding-top: 25px;
}

/* =======================================================
*
*  .layout-footer
*
* ======================================================= */
#layout-footer {
  overflow: hidden;
}

#layout-footer li a:first-child {
  position: absolute;
  left: 200px;
}

#layout-footer .copy {
  background: var(--footer-color);
  margin-top: 15px;
  padding: 13px 0;
}

#layout-footer .copy p {
  font-size: 13px;
  margin-bottom: 0px;
}















/* =======================================================
*
*  #layout-nav
*
* ======================================================= */
#layout-nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
}

#layout-nav .enable-pointer-event {
  pointer-events: auto;
}

#layout-nav .enable-pointer-event > * {
  position: absolute;
}

#layout-nav .top-menu {
  background: var(--menu-color);
  width: 100%;
  height: var(--menu-height);
}

#layout-nav .offcanvas-menu {
  width: 100%;
}

#layout-nav .logo {
  float: left;
  margin-top: var(--menu-top);
}

#layout-nav .logo a  {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

#layout-nav .logo a img {
  margin-right: 10px;
}

@media screen and (max-width: 992px) {
  #layout-nav .menu-list {
    display: none;
  }
}

#layout-nav .menu-list {
  float:right;
  margin-top: calc(var(--menu-top) + 3px);
}

#layout-nav ul li {
  display: inline;
  margin-top: 10px;
  margin-left: 25px;
}

#layout-nav ul li a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
}

#layout-nav ul li a:hover {
  color: rgba(255, 255, 255, 0.5);
}

#layout-nav ul li a.btn {
  padding: 8px 15px;
  border: 1px solid #fff;
  border-radius: 4px;
}

#layout-nav ul li a.btn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: var(--link-color) none repeat scroll 0 0;
  border-color: var(--link-color);
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.offcanvas #nav-mask {
  transition: 0.5s;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

#nav-offcanvas {
  position: absolute;
  width: 270px;
  right: 0;
  height: 100%;
  background: #1a1a1a;
  padding: 75px 40px 40px 40px;
  overflow-y: auto;
  transform: translateX(270px);
  transition: 0.5s;
}

.offcanvas #nav-offcanvas {
  transform: translateX(0px);
}

#nav-offcanvas ul li {
  display: block;
}

#nav-offcanvas-toggle {
  margin-top: calc(var(--menu-top) + 10px);
  display: none;
  float: right;
  height: 25px;
  width: 25px;
  cursor: pointer;
}

@media screen and (max-width: 992px) {
  #nav-offcanvas-toggle {
    display: block;
  }
}

#nav-offcanvas-toggle i {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 2px;
  background: #fff;
  font: bold 14px/.4 Helvetica;
  text-transform: uppercase;
  text-indent: -55px;
  transition: all .2s ease-out;
}

#nav-offcanvas-toggle i::before,
#nav-offcanvas-toggle i::after {
  content: '';
  width: 25px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: all .2s ease-out;
}

#nav-offcanvas-toggle i::before {
  top: -7px;
}

#nav-offcanvas-toggle i::after {
  bottom: -7px;
}

#nav-offcanvas-toggle:hover i::before {
  top: -10px;
}

#nav-offcanvas-toggle:hover i::after {
  bottom: -10px;
}

#nav-offcanvas-toggle.active i {
  background: transparent;
}

#nav-offcanvas-toggle.active i::before {
  top: 0;
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

#nav-offcanvas-toggle.active i::after {
  bottom: 0;
  -webkit-transform: rotateZ(-45deg);
  -moz-transform: rotateZ(-45deg);
  -ms-transform: rotateZ(-45deg);
  -o-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
}

/* =======================================================
*
*  .gototop 
*
* ======================================================= */
.gototop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.gototop.active {
  opacity: 1;
  visibility: visible;
}

.gototop a {
  width: 50px;
  height: 50px;
  display: table;
  background: black;
  text-align: center;
  border-radius: 50%;
}

.gototop a:hover {
  background: var(--link-color);
}

.gototop a img {
  height: 20px;
  display: table-cell;
  margin: 15px;
  filter: invert(1);
}

/* =======================================================
*
*  .btn 
*
* ======================================================= */
.btn {
  --padding-left: 20px;
  margin-right: 4px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 15px;
  transition: 0.3s;
  padding: 8px 20px;
}

.btn:hover{
  background: var(--link-color) !important;
  border-color: var(--link-color) !important;
  color: #fff !important;
}

.btn.btn-fill {
  background: rgba(var(--link-color-rgb), 0.8);
  color: #fff;
}

.btn.btn-outline {
  background: rgba(var(--link-color-rgb), 0.1);
  color: var(--link-color);
  border: 1px solid var(--link-color);
}

.btn.btn-outline-weak {
  background: rgba(var(--link-color-rgb), 0.05);
  color: rgba(var(--link-color-rgb), 0.8);
  border: 1px solid rgba(var(--link-color-rgb), 0.3);
}

.btn.with-arrow {
  position: relative;
}

.btn.with-arrow:hover {
  padding-right: 50px;
}

.btn.with-arrow img {
  filter: invert(1);
  height: 18px;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -9px;
  transition: 0.2s;
}

.btn.with-arrow:hover img {
  visibility: visible;
  opacity: 1;
}
