body {
    font-size: 16px;
    font-family: 'Poppins';
}

p {
    margin-bottom: 2rem;
}

.site-wrapper {
    position: relative;
    -webkit-overflow: hidden;
    overflow: hidden;
}

.site-content {
    position: relative;
    background-color: #fff;
    z-index: 26;
}

.box-shadow {
    box-shadow: rgba(100, 100, 100, 0.50) 0px 7px 29px 0px;
}

/* form controls */
.form-control {
    border-radius: 0;
    padding: 10px 15px;
    font-size: inherit;
}
.form-control:focus {
    box-shadow: none;
    outline: none;
}

/* bs4 buttons */
.btn {
    font-size: inherit;
    padding: 10px 35px;
    border-radius: 25px;
    transition: all 0.35s;
}
.btn:active:focus,
.btn:focus,
.btn:active {
    box-shadow: none;
    outline: none;
}

/* navbar icons */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

/* containers */
.container-xxl {
    max-width: 1700px;
}
.container {
    max-width: 1170px;
}

/* header */
header#masterhead {
    position: relative;
    background-color: #fafafa;
    z-index: 9999;
}
header#masterhead .primary-navbar {
    position: relative;
    padding: 25px;
}
header#masterhead .site-img-logo img {
    max-height: 100px;
}
header#masterhead .navbar-nav {
    -ms-align-items: center;
    align-items: center;
}
header#masterhead .navbar-nav .nav-link {
    padding: 7px 15px;
    text-align: center;
}
header#masterhead .navbar-nav .nav-link.btn {
    padding: 10px 35px;
    margin: 5px 15px;
}
header#masterhead .navbar-nav .nav-item {
    position: relative;
}
header#masterhead .navbar-nav .nav-item.has-child > a.nav-link:after {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    content: '\f107';
    margin-left: 5px;
}
header#masterhead .navbar-nav .nav-item.has-child > .sub-menu {
    position: absolute;
    visibility: hidden;
    background-color: #000;
    color: #fff;
    opacity: 0;
    width: 300px;
    transform: translateY(20px);
    z-index: 1;
    transition: all 0.35s;
}
header#masterhead .navbar-nav .nav-item.has-child:hover > .sub-menu,
header#masterhead .navbar-nav .nav-item.has-child.open > .sub-menu {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
header#masterhead .navbar-nav .nav-item.has-child > .sub-menu > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
header#masterhead .navbar-nav .nav-item.has-child > .sub-menu > ul > li > a {
    display: block;
    padding: 10px 20px;
    text-align: left;
    transition: all 0.35s;
}
header#masterhead .navbar-nav .nav-item.has-child > .sub-menu > ul > li:nth-child(even) {
    border-top: 1px solid rgba(255,255,255,0.15);
}
header#masterhead .navbar-extra {
    display: -ms-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    margin-left: 25px;
}
header#masterhead .navbar-extra > .item {    
    padding: 7px 15px;
}
header#masterhead .navbar-extra ul {
    margin-bottom: 0;
    padding: 0;
}
header#masterhead.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
}
header#masterhead.sticky .site-img-logo img {
    max-height: 50px;
}

/* mobile burger toggler */
.mobile-toggler-burger {
    position: relative;
    display: none;
    padding-top: 5px;
    width: 40px;
    height: 40px;
    z-index: 15;
}
.mobile-toggler-burger > span {
    position: relative;
    display: block;
    width: 30px;
    height: 4px;
    margin: 5px auto;
    border-radius: 3px;
    background-color: #fff;
    transition: all 0.35s;
}
.mobile-toggler-burger.close > span.top-bun {
  transform: rotate(-45deg);
  margin-top: 12px;
}
.mobile-toggler-burger.close > span.bottom-bun {
  opacity: 0;
  transform: rotate(45deg);
}
.mobile-toggler-burger.close > span.meat {
  transform: rotate(45deg);
  margin-top: -9px;
}

/* mobile nav */
#mobile-nav {
    position: fixed;
    display: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10009;
}
#mobile-nav:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 15;
}
#mobile-nav > .inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 40px 25px 25px;
    width: 320px;
    height: 100%;
    color: #fff;
    background-color: #000;
    transform: translateX(320px);
    transition: all 0.35s;
    overflow: auto;
    z-index: 22;
}
#mobile-nav > .inner a {
    color: inherit;
}
#mobile-nav > .inner img {
    max-width: 100%;
}
#mobile-nav > .inner > .navi {
    position: relative;
    display: block;
    margin-top: 25px;
}
#mobile-nav > .inner > .navi > ul.nav,
#mobile-nav > .inner > .navi > ul.nav ul {
    list-style: none;
}
#mobile-nav > .inner > .navi > ul.nav li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}
#mobile-nav > .inner > .navi > ul.nav ul {
    margin-bottom: 25px;
}
#mobile-nav > .inner > .navi > ul.nav li:last-child {
    border-bottom: 0;
}
#mobile-nav > .inner > .navi > ul.nav li a {
    display: block;
    transition: all 0.35s;
}
#mobile-nav > .inner > .navi > ul.nav li a:hover {
    background-color: rgba(255,255,255,0.16);
}
#mobile-nav .close {
    position: absolute;
    top: 5px;
    left: 5px;
}

/* footer */
footer#masterfoot {
    position: relative;
    background-color: #fafafa;
    padding: 75px 0;
}
footer#masterfoot .sg_newsletter-block {
    margin-top: -210px;
    margin-bottom: 100px;
}
footer#masterfoot .footer-widget {
    position: relative;
}
footer#masterfoot .footer-widget h4 {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 25px;
}
footer#masterfoot .footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
footer#masterfoot .footer-widget ul > li {
    margin-bottom: 10px;
}
footer#masterfoot .footer-widget ul > li a {
    text-decoration: none;
}

/* sections */
.section {
    position: relative;
    padding: 75px 0;
    background-size: cover;
    background-repeat: no-repeat;
}
.section .section-title {
    font-weight: bold;
    font-size: 60px;
    line-height: 1em;
    margin-bottom: 25px;
}
.section h4.section-title {
    font-size: 40px;
    line-height: 1em;
}

/* section 404 */
.section.section-404 {
    background-color: #000;
    color: #fff;
    padding: 300px 0;
    margin-bottom: -150px;
}

/* carousel */
.owl-theme.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: -ms-flex;
    display: flex;
    -ms-justify-content: space-between;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
    margin: 0;
}
.owl-theme.owl-carousel .owl-nav.disabled {
    display: none;
}
.owl-theme.owl-carousel .owl-nav > button[class^="owl-"] {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    background-color: #fff;
    color: #000;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.owl-theme.owl-carousel .owl-nav > button[class^="owl-"]:focus {
    background-color: #222;
    color: #fff;
}
.owl-theme.owl-carousel .owl-nav > button[class^="owl-"] > span {
    position: absolute;
    font-family: 'Arial';
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translateY(-50%);
}
.owl-theme.owl-carousel .owl-nav > button.owl-next {
    right: 0;
}

/* socials */
ul.socials {
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
}
ul.socials > li {
    display: inline-block;
}
ul.socials > li > a {
    display: block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 2em;
}

/* authentication */
.card.card-auth {
    max-width: 500px;
    margin: 0 auto;
}
.card.card-auth .form-group {
    margin-bottom: 15px;
}
.card.card-auth .float-right {
    float: right;
}

.copyright {
    position: relative;
    padding: 25px 0;
    text-align: center;
    background-color: #e3e3e3;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.copyright ul {
    padding: 0;
    margin: 0 0 15px;
}
.copyright ul > li {
    display: inline-block;
    padding: 0 15px;
    border-right: 1px solid;
}
.copyright ul > li:last-child {
    border: 0;
}
.copyright ul > li a {
    color: #333;
    text-decoration: none;
}


@media only screen and (max-width: 991px) {

    .section {
        padding: 50px 0;
    }
    .section .section-title {
        font-size: 42px;
    }
    .section h4.section-title {
        font-size: 28px;
    }

}


@media only screen and (max-width: 767px) {

    #mobile-nav.open,
    .mobile-toggler-burger {
        display: block;
    }
    #mobile-nav.open > .inner {
        transform: translateX(0);
    }
    
    header#masterhead .primary-navbar .inner-nav {
        display: none !important;
    }
    
    header#masterhead .primary-navbar .navbar {
        padding: 0;
    }
    header#masterhead .primary-navbar .navbar .navbar-brand {
        margin: 0;
        padding: 15px;
        max-width: 250px;
    }
    header#masterhead .primary-navbar .navbar .navbar-toggler {
        margin-right: 15px;
    }
    header#masterhead .navbar-nav .nav-item.has-child > .sub-menu {
        position: relative;
        display: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto 15px;
    }
    header#masterhead .navbar-nav .nav-item.has-child > .sub-menu > ul > li > a {
        text-align: center;
    }
    header#masterhead .navbar-nav .nav-item.has-child.open > .sub-menu {
        display: block;
    }
    header#masterhead .navbar-extra {
        -ms-flex-direction: column;
        flex-direction: column;
        flex-basis: 100%;
        flex-grow: 1;
        margin: 15px 0 0;
    }

    .section .section-title {
        font-size: 36px;
    }
    .section h4.section-title {
        font-size: 20px;
    }

}


@media only screen and (max-width: 575px) {
    
    .fancybox-content {
        padding: 15px;
    }

    .section h4.section-title {
        font-size: 24px;
    }
    
    footer#masterfoot {
        padding: 25px 0;
        margin: 0;
    }


}