:root {
    --fixed-white: #fff;
    --fixed-light: #f4f4f4;
    --fixed-light-gray: #ddd;
    --fixed-gray: #999;
    --fixed-dark: #373737;
    --fixed-darker: #252525;
    --fixed-black: #000;

    --white: #fff;
    --light: #f4f4f4;
    --light-gray: #ddd;
    --gray: #999;
    --dark-gray: #676767;
    --dark: #373737;
    --black: #000;
}

[data-theme="dark"] {
    --white: #000;
    --light: #373737;
    --light-gray: #676767;
    --gray: #999;
    --dark-gray: #ddd;
    --dark: #f4f4f4;
    --black: #fff;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-weight: 300;
    font-size: 16px;
    background: var(--white);
    font-family: "Raleway", sans-serif;
}

body,
blockquote {
    font-size: 16px;
}

#owl-main {
    height: 100%;
    overflow: hidden;
    margin: 0;
}

#owl-main .owl-stage-outer,
#owl-main .owl-stage,
#owl-main .owl-item,
#owl-main .item {
    height: 100%;
}

#owl-main .item {
    background-size: cover;
    background-position: center;
}

#owl-main .caption {
    position: absolute;
    left: 20%;
    right: 20%;

    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);

    z-index: 1;

    text-align: center;

    color: var(--fixed-white);
}

#owl-main .caption h1 {
    font-size: 60px;
    padding: 0;
    margin: 0;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25);
}

#owl-main .caption small {
    font-size: 30px;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25);
}

#owl-main .owl-controls {
    display: none;
}

.owl-carousel:not(.owl-alt) .overlay>span {
    font-size: 40px;
    margin-top: -20px;
}

.navbar {
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    margin-top: -73px;
    padding: 10px;
    z-index: 1000;
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    transform: translate(0);
    -webkit-transition: background ease-in-out 0.25s;
    -moz-transition: background ease-in-out 0.25s;
    transition: background ease-in-out 0.25s;
}

.navbar-fixed-top {
    margin: 0;
    border-bottom: 1px solid var(--light);
    background: var(--white);
}

.navbar .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

.navbar a {
    color: var(--fixed-light);
}

.navbar .active a,
.navbar .brand {
    color: var(--fixed-white);
}

.navbar-fixed-top a {
    color: var(--dark-gray);
}

.navbar-fixed-top .active a {
    color: var(--dark);
}

.navbar .brand {
    font-size: 30px;
    font-weight: 400;
    line-height: 30px;
    vertical-align: middle;
    display: inline-block;
    padding: 10px;
    margin-right: 50px;
}

.nav>li>a:focus,
.nav>li>a:hover,
.nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
    background: none;
    outline: none;
}

.navbar .nav a {
    padding: 6px 7px;
    margin: 9px 8px;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: none;
    -webkit-transition: all ease-in-out 0.25s;
    -moz-transition: all ease-in-out 0.25s;
    transition: all ease-in-out 0.25s;
}

.navbar .nav a:before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 50px;
    margin-left: -25px;
    border-bottom: 1px solid var(--light-gray);
    opacity: 0;
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-transition: all 0.25s ease-in-out 0s;
    -moz-transition: all 0.25s ease-in-out 0s;
    transition: all 0.25s ease-in-out 0s;
}

.navbar .nav .active a:before {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
}

.navbar-nav>li.divider {
    width: 1px;
    height: 30px;
    margin: 10px 0;
    background: var(--light-gray);
}

.navbar-toggle {
    padding: 11px 10px;
    font-size: 22px;
    line-height: 19px;
}

.menu-open .navbar {
    /* height: 100%; */
    background: rgba(255, 255, 255, 0.95);
}

.menu-open .navbar .nav {
    margin-top: 50px;
}

.navbar .collapse:before {
    content: "";
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    height: 500%;
    background: rgba(0, 0, 0, 0.25);
    z-index: -1;
    opacity: 0;
    -webkit-transition: opacity 1s ease-in-out 0.05s;
    -moz-transition: opacity 1s ease-in-out 0.05s;
    transition: opacity 1s ease-in-out 0.05s;
}

.navbar .collapse.in:before {
    display: block;
    opacity: 1;
}

.portfolio-sorting {
    margin-bottom: 20px;
}

.portfolio-sorting a {
    position: relative;
    color: var(--dark-gray);
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
}

.portfolio-sorting a:before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 50px;
    margin-left: -25px;
    border-bottom: 1px solid var(--light-gray);
    opacity: 0;
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-transition: all 0.25s ease-in-out 0s;
    -moz-transition: all 0.25s ease-in-out 0s;
    transition: all 0.25s ease-in-out 0s;
}

.portfolio-sorting a.active:before {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
}

.portfolio-items [class*="col-"] {
    padding: 1px;
}

.img-gallery {
    list-style: none;
}

.img-gallery img {
    width: 100%;
    -webkit-transition: all ease-in-out 0.25s;
    -moz-transition: all ease-in-out 0.25s;
    transition: all ease-in-out 0.25s;
}

/* .img-gallery a, */
.img-gallery .img_info {
    position: relative;
    display: block;
    overflow: hidden;
}

/* .img-gallery a:hover>.overlay, */
.img-gallery .img_info:hover>.overlay {
    opacity: 0.75;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
}

/* .img-gallery a:hover img, */
.img-gallery .img_info:hover img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2);
    filter: blur(10px);
}

.img-gallery .overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    -webkit-transform: scale(2) rotate(45deg);
    -moz-transform: scale(2) rotate(45deg);
    transform: scale(1.5) rotate(5deg);
    -webkit-transition: all ease-in-out 0.25s;
    -moz-transition: all ease-in-out 0.25s;
    transition: all ease-in-out 0.25s;
}

.img-gallery .overlay:before {
    content: "";
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.25);
}

.img-gallery .overlay>span {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -12px;
    color: var(--white);
    text-align: center;
    font-size: 24px;
}

.img-gallery .overlay-alt {
    color: var(--white);
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 3rem;
}

.lg-outer .lg-thumb-item {
    border-radius: 0;
    border-width: 3px;
    border-color: var(--light-gray);
}

.service {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 75px;
}

.service .fa,
.service .glyphicon {
    display: inline-block;
    width: 70px;
    line-height: 50px;
    margin: 10px auto;
    position: relative;
}

.service:hover .fa:after,
.service:hover .glyphicon:after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.service-alt {
    overflow: hidden;
    border-radius: 2px;
    -webkit-transition: all ease-in-out 0.15s;
    -moz-transition: all ease-in-out 0.15s;
    transition: all ease-in-out 0.15s;
}

.service-alt:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-alt:hover .fa:after {
    -webkit-transform: scale(10);
    -moz-transform: scale(10);
    transform: scale(10);
}

.service .fa:before {
    position: relative;
    z-index: 1;
}

.service .fa:after {
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    left: 50%;
    width: 70px;
    height: 70px;
    margin-left: -35px;
    background: var(--white);
    border-radius: 100%;
    -webkit-transition: all ease-in-out 0.15s;
    -moz-transition: all ease-in-out 0.15s;
    transition: all ease-in-out 0.15s;
}

.service .text-heading,
.service p {
    z-index: 2;
    position: relative;
}

.service p {
    padding: 10px;
}

/* Featured */
.featured-container {
    display: flex;
    background: url(../img/featured/featured.webp);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.featured {
    margin: 0;
    padding: 0;
    padding: 65px 50px;
    min-height: 50vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.btn {
    border-radius: 0;
    border-width: 1px;
    border-style: solid;
    position: relative;
    -webkit-transition: all ease-in-out 0.25s;
    -moz-transition: all ease-in-out 0.25s;
    transition: all ease-in-out 0.25s;
}

#contact .service {
    margin-bottom: 90px;
}

section {
    padding-top: 73px;
}

section#about {
    padding-bottom: 85px;
}

section#portfolio {
    padding-bottom: 115px;
}

section#services {
    padding-bottom: 50px;
}

section#page {
    padding: 130px 0 100px
}

section.last {
    min-height: 0;
}

a {
    position: relative;
}

.row,
.heading {
    padding: 0 15px;
}

footer {
    background: var(--light);
    padding: 30px;
    text-align: center;
    color: var(--gray);
}

footer .brand {
    font-size: 30px;
    font-weight: 400;
    line-height: 30px;
    margin: 0;
    margin-bottom: 30px;
}

.text-heading {
    font-weight: 300;
    margin: 10px 0;
    padding: 10px 0;
    text-align: center;
}

.heading {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 25px;
    font-weight: 100;
    font-size: 34px;
    text-transform: uppercase;
    position: relative;
}

.heading:before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: -25px;
    width: 100px;
    margin-left: -50px;
    border-bottom: 1px solid var(--light-gray);
}

.nopadding {
    padding: 0 !important;
}

.nomargin {
    margin: 0 !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-light {
    color: var(--light) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.text-fixed-light {
    color: var(--fixed-light) !important;
}

.text-fixed-dark {
    color: var(--fixed-dark) !important;
}

@media (max-width: 991px) {
    .featured-container {
        display: block;
    }
}

@media (max-width: 767px) {
    #owl-main .caption h1 {
        font-size: 40px;
    }

    #owl-main .caption small {
        font-size: 20px;
    }

    .navbar .brand {
        padding: 15px;
    }

    .grid-sizer,
    .grid-item {
        width: 50%;
    }
}

.user-info {
    margin: 20px 0 10px;
}

.user-info a {
    padding: 8px;
}

.intro_page .navbar a {
    color: var(--dark-gray) !important;
}

.intro_page .navbar {
    margin: 0;
    border-bottom: 1px solid var(--light) !important;
    background: var(--white);
    box-shadow: 0px 2px 5px -3px rgba(0, 0, 0, .1);
}

.intro_page .navbar .active a {
    color: var(--dark) !important;
}

@media (min-width: 992px) {
    #contact .row {
        display: flex;
    }
}