:root {
    --primary: 78, 78, 78;
    --secondary: 33, 51, 62;
    --text: 91, 98, 120;
}

html {
    position: relative;
    min-height: 100%;
}

html,
body {
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
}

#page {
    position: relative;
    z-index: 1;
}

.w-min-content {
    width: min-content !important;
}

.w-max-content {
    width: max-content !important;
}

/* Button hamburger mobile
------------------------------------------------------------------------------*/
button.button-hamburger-menu {
    padding: 0;
    border: 0;
    display: inline-block;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    background-color: transparent;
    cursor: pointer;
}

button.button-hamburger-menu .hamburger-menu,
button.button-hamburger-menu .hamburger-menu:after,
button.button-hamburger-menu .hamburger-menu:before {
    width: 30px;
    height: 3px;
}

button.button-hamburger-menu .hamburger-menu {
    position: relative;
    background-color: rgba(var(--primary));
    transition: all 0ms 300ms;
    margin-right: auto;
    margin-left: auto;
}

button.button-hamburger-menu .hamburger-menu.animate {
    background-color: rgba(255, 255, 255, 0);
}

button.button-hamburger-menu .hamburger-menu:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    background-color: rgba(var(--primary));
    transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

button.button-hamburger-menu .hamburger-menu:after {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    background-color: rgba(var(--primary));
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

button.button-hamburger-menu .hamburger-menu.animate:after {
    top: 0;
    transform: rotate(45deg);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

button.button-hamburger-menu .hamburger-menu.animate:before {
    bottom: 0;
    transform: rotate(-45deg);
    transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Header
------------------------------------------------------------------------------*/
header.main-header {
    position: relative;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 999;
    background-color: transparent;
    transition: background-color 200ms linear;
}

.main-header-floating header.main-header {
    position: absolute;
}

header.main-header .topbar-main {
    border-top: 10px solid rgba(var(--primary), 1);
    padding: 10px 0;
}

header.main-header .topbar-main>.container {
    display: -webkit-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.main-header .topbar-main>.container .logotype {
    width: 150px;
    margin: 0;
}

header.main-header .topbar-main>.container .logotype>img:first-child {
    display: block;
}

header.main-header .topbar-main>.container .logotype>img:last-child {
    display: none;
}

.main-header-floating header.main-header .topbar-main>.container .logotype>img:first-child {
    display: none;
}

.main-header-floating header.main-header .topbar-main>.container .logotype>img:last-child {
    display: block;
}

header.main-header .topbar-main>.container nav {
    display: -webkit-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header.main-header .topbar-main>.container nav a.btn.btn-link {
    padding: 0.5rem 0.8rem;
    font-weight: 500;
    text-decoration: none;
    color: rgba(var(--secondary), 1);
}

.main-header-floating header.main-header .topbar-main>.container nav .btn.btn-link {
    color: #FFF;
}

header.main-header .topbar-main>.container nav a.btn.btn-link:hover {
    color: rgba(var(--primary), 1);
}

/* header tools */
header.main-header .topbar-tools {
    background-color: #fff;
}

/* Hero */
header.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

header.hero::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.5);
}

header.hero>.background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

header.hero>.mouse-scroll {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    width: fit-content;
    height: fit-content;
    margin: auto;
    color: #FFF;
    font-size: 3.5rem;
    line-height: 0;
}

/* Mobile Menu
------------------------------------------------------------------------------*/
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding-top: 150px;
    background-color: rgb(0, 0, 0, 0.90);
    z-index: 998;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s 0s cubic-bezier(1, -0.39, 0, 1.3);
}

body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-open .mobile-menu {
    display: block;
    transform: translateY(0%);
    opacity: 1;
    visibility: visible;
}

.mobile-menu>.container {
    height: 100%;
    display: -webkit-box;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.mobile-menu nav.main-menu .btn.btn-link {
    color: #FFF;
}

/* Footers
------------------------------------------------------------------------------*/
footer.main-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}

footer.main-footer section.copyright {
    padding: 20px 0;
    text-align: center;
    background-color: #f9f9f9;
    font-size: 14px;
}

/* Form access (Login - Register)
------------------------------------------------------------------------------*/
.form-access {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 3px;
    box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.05);
    background-color: #FFF;
}

.form-access header {
    text-align: center;
    padding: 20px 30px;
}

.form-access header .icon-user {
    width: 100px;
    height: 100px;
    display: -webkit-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    font-size: 3em;
    background-color: rgba(var(--primary));
    color: #FFF;
}

.form-access header .title-page {
    margin: 0;
    color: rgba(var(--dark));
}

.form-access main {
    padding: 0 30px;
}

.form-access footer {
    padding: 20px 30px;
}

.form-access footer a.btn.btn-link {
    font-size: 12px;
    color: rgba(var(--muted));
}

/* Gradients
------------------------------------------------------------------------------*/
.gradient-primary-gray {
    background: #FFF;
    background: -moz-linear-gradient(top, #FFF 0%, #FFF 45%, rgba(var(--primary)) 45%, rgba(var(--primary)) 100%);
    background: -webkit-linear-gradient(top, #FFF 0%, #FFF 45%, rgba(var(--primary)) 45%, rgba(var(--primary)) 100%);
    background: linear-gradient(to top, #FFF 0%, #FFF 45%, rgba(var(--primary)) 45%, rgba(var(--primary)) 100%);
}

/* Forms
------------------------------------------------------------------------------*/
form div.label label .form-name {
    margin: 0;
    padding: 0 25px;
    height: 60px;
    line-height: 60px;
    background-color: rgba(var(--light));
    color: rgba(var(--secondary));
    border-radius: 3px 0px 0px 3px;
    width: min-content;
}

form div.label label input {
    border-radius: 0px 3px 3px 0px;
    height: 60px;
}

form div.label label .form-name+select {
    border-radius: 0px;
    width: min-content;
    max-width: 180px;
    height: 60px;
}

form div.label label textarea {
    padding: 20px;
}

form div.label label input:focus,
form div.label label select:focus,
form div.label label textarea:focus {
    border: none;
}

div.label label.error input,
div.label label.error select,
div.label label.error textarea {
    border-color: rgba(var(--light), 1) !important;
}

form div.label label.error>div {
    border: 1px solid rgba(var(--danger), 1);
}

/* Contact
------------------------------------------------------------------------------*/
ul.contact-info span.text {
    display: inline-block;
    width: calc(100% - 75px);
    vertical-align: middle;
}

ul.contact-info .icon {
    width: 60px;
    height: 60px;
    display: inline-block;
    background-color: rgba(var(--primary), 1);
    border-radius: 50%;
    position: relative;
    vertical-align: middle;
    margin-right: 10px;
}

ul.contact-info .icon>* {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    color: #FFF;
    width: fit-content;
    height: fit-content;
    font-size: 1.8rem;
}

/* Switch label
------------------------------------------------------------------------------*/
div.label label .switch {
    position: relative;
    display: block;
    width: 60px;
    height: 34px;
}

div.label label .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

div.label label .switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--primary), 1);
    -webkit-transition: .4s;
    transition: .4s;
}

div.label label .switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

div.label label .switch input:checked+.slider {
    background-color: rgba(var(--secondary), 1);
}

div.label label .switch input:focus+.slider {
    box-shadow: 0 0 1px rgba(var(--secondary), 1);
}

div.label label .switch input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

div.label label .switch .slider.round {
    border-radius: 34px;
}

div.label label .switch .slider.round:before {
    border-radius: 50%;
}

/* Headings
------------------------------------------------------------------------------*/
.text__h {
    font-size: 3.667rem;
    font-weight: 700;
    line-height: 4rem;
    color: rgba(var(--secondary));
}

.text__t {
    font-weight: 400;
    font-size: 1.133rem;
    line-height: 1.6rem;
    color: rgba(var(--text));
}

.text__t.text__intro {
    font-size: 1.367rem;
    line-height: 2.133rem;
}

.text__h.text-light,
.text__t.text-light {
    color: rgba(var(--light));
}

/* Boxes
------------------------------------------------------------------------------*/
.box-shadow {
    padding: 50px;
    border-radius: 5px;
    background-color: #FFF;
    height: 100%;
    transition: transform .2s ease;
}

.box-shadow:hover {
    transform: translateY(-5px);
}

.box-shadow .icon {
    color: rgba(var(--primary));
    font-size: 2rem;
    padding: 10px;
    background-color: rgba(var(--primary), 0.1);
    text-align: center;
    position: relative;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.box-shadow .icon>i {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    margin: auto;
    width: fit-content;
    height: fit-content;
}

.bg-primary-cake {
    background-color: rgba(var(--primary), 0.08);
}

.bg-gray {
    background-color: rgba(var(--gray), 0.08);
}

.bg-ebook {
    background: rgb(255, 255, 255);
}

@media (min-width: 992px) {
    .bg-ebook {
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+20,ededed+20,ededed+20,ededed+85,ffffff+85,ffffff+85,ffffff+100 */
        background: rgb(255, 255, 255);
        /* Old browsers */
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(237, 237, 237, 1) 20%, rgba(237, 237, 237, 1) 20%, rgba(237, 237, 237, 1) 85%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(237, 237, 237, 1) 20%, rgba(237, 237, 237, 1) 20%, rgba(237, 237, 237, 1) 85%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(237, 237, 237, 1) 20%, rgba(237, 237, 237, 1) 20%, rgba(237, 237, 237, 1) 85%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0);
        /* IE6-9 */
    }
}

/* Double section
------------------------------------------------------------------------------*/
ul.list-number {
    position: relative;
    display: block;
    list-style-type: decimal-leading-zero;
    padding: 20px 0px 0px 30px;
}

/* Double section
------------------------------------------------------------------------------*/
.double-section {
    position: relative;
    z-index: 0;
}

.double-section::before {
    content: "";
    background-image: var(--url-background);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: calc(50% + 40px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(1);
    transition: filter 100ms 100ms cubic-bezier(0.23, 1, 0.32, 1);
}

.double-section:hover::before {
    filter: grayscale(0);
}

.bk-p-t.double-section::before {
    background-position: center top;
}

.bk-p-b.double-section::before {
    background-position: center bottom;
}

.double-section.right::before {
    left: inherit;
    right: 0;
}

.double-section .content {
    padding: 150px 0px 150px 80px;
}

.double-section.right .content {
    padding: 150px 80px 150px 0px;
}

@media (max-width: 767px) {
    .double-section {
        margin-bottom: 50px;
        font-size: 13px;
    }

    .double-section.m-b-0 {
        margin-bottom: 0px;
    }

    .double-section::before {
        position: relative;
        width: 100%;
        height: 300px;
        display: block;
    }

    .double-section .content {
        padding: 20px 0 !important;
    }
}

/* Pricing Tables
------------------------------------------------------------------------------*/
article.pricing-table {
    position: relative;
    padding: 50px;
    background-color: #FFF;
    border-radius: 10px;
    transition: transform .2s ease;
}

article.pricing-table:hover {
    transform: translateY(-5px);
}

article.pricing-table.table-popular {
    padding-top: 65px;
    padding-bottom: 65px;
    background-color: rgba(var(--secondary), 1);
}

article.pricing-table>header {
    text-align: center;
    padding-bottom: 30px;
}

article.pricing-table>header i.icon {
    display: block;
    font-size: 4rem;
    color: rgba(var(--primary));
    margin-bottom: 5px;
    line-height: 4rem;
}

article.pricing-table>header .text__h {
    font-size: 1.6rem;
    line-height: 2rem;
    margin-bottom: 30px;
}

article.pricing-table.table-popular>header .text__h {
    color: #FFF;
}

article.pricing-table>header .price {
    font-size: 3rem;
    font-weight: 700;
    line-height: 2.5rem;
    margin: 0;
    color: rgba(var(--primary), 1);
}

article.pricing-table>header .price small {
    font-size: 1.3rem;
    font-weight: 400;
}

article.pricing-table>main .text__t {
    margin-right: 5px;
}

article.pricing-table.table-popular>main .text__t {
    color: rgb(255 255 255 / 0.8) !important;
}

article.pricing-table>main .icon-min {
    color: rgba(var(--primary), 1);
}

article.pricing-table>footer {
    padding-top: 40px;
}

[price-tables-target] {
    height: auto;
    opacity: 1;
    visibility: visible;
    transition: opacity 500ms ease;
}

[price-tables-target].table-d-none {
    height: 0;
    opacity: 0.6;
    visibility: hidden;
}

/* Blog
------------------------------------------------------------------------------*/
article.blog {
    position: relative;
}

article.blog header,
article.blog main {
    margin-bottom: 30px;
}

article.blog header figure {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 5px;
}

article.blog header figure img {
    transition: transform .2s ease;
}

article.blog:hover header figure img {
    transform: scale(1.1);
}

article.blog header .text__h {
    font-size: 2rem;
    line-height: 2.2rem;
    margin-bottom: 0px;
}

article.blog header .list-inline-item {
    color: rgba(var(--gray), 1);
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

article.blog main>* {
    color: rgba(var(--text), 1);
    font-size: 1.1rem;
}

article.blog footer a.social-icon {
    color: rgba(var(--dark), 0.6);
    font-size: 2rem;
    height: max-content;
}

article.blog footer li.list-inline-item {
    vertical-align: middle;
}

article.blog footer span.space-links::after {
    content: "- - - - - - - - - - - - - - - -";
    margin-left: 10px;
    color: rgba(var(--dark), 0.5);
}

/* Timeline
------------------------------------------------------------------------------*/
ul.timeline {
    position: relative;
    list-style: none;
}

ul.timeline>li {
    position: relative;
}

ul.timeline>li::before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(var(--primary), 1);
    display: block;
    position: absolute;
    top: 1px;
    left: -30px;
}

ul.timeline>li::after {
    content: "";
    width: 1px;
    height: calc(100% + 10px);
    display: block;
    background-color: rgba(var(--gray), 0.5);
    position: absolute;
    top: 21px;
    left: -20px;
    bottom: 0px;
}

ul.timeline>li:last-child:after {
    display: none;
}

ul.timeline>li>span {
    font-size: 1.5rem;
    line-height: 0.9;
    display: block;
    font-weight: 300;
}

ul.timeline>li figure.logotype {
    width: 200px;
}

/* Breadcrumbs
------------------------------------------------------------------------------*/
.page-breadcrumbs {
    background-color: rgba(var(--primary), 1);
}

.page-breadcrumbs .text__h {
    color: #FFF;
    letter-spacing: 2px;
}

.page-breadcrumbs .text__t {
    color: #FFF;
}

/*
------------------------------------------------------------------------------*/
.thumb-portfolio {
    height: 50px;
    width: 120px;
}