/*!
Theme Name: mrapps
Theme URI: https://www.mr-apps.com/
Author: Mr APPs s.r.l.
Author URI: https://www.mr-apps.com/
Description: Theme for Mr APPs site
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mrapps
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mrapps is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Global variables
--------------------------------------------------------------*/

/*==================== VARIABLES ====================*/

:root {
    /*========== Colors ==========*/
    --white-color: #fff;
    --black-color: #000;
    --grey-color: #f9f6f6;
    --red-color: #af1b0f;


    /*========== Margins ==========*/
    --margin-200: 200px;
    --margin-150: 150px;
    --margin-130: 130px;
    --margin-100: 100px;
    --margin-80: 80px;
    --margin-60: 60px;
    --margin-50: 50px;
    --margin-40: 40px;
    --margin-30: 30px;
    --margin-20: 20px;
	
	/*========== Elements ==========*/
    --header-xl: 121px;

    /*========== Borders ==========*/
    --border-radius: 80px;
}

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

html:not(.no-js) [data-aos="fade-up"] {
    -webkit-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0);
}

[data-aos][data-aos][data-aos-easing="ease-out-quart"], body[data-aos-easing="ease-out-quart"] [data-aos] {
    transition-timing-function: cubic-bezier(.25, .46, .45, .94);
}

[data-aos][data-aos][data-aos-easing="mrapps"], body[data-aos-easing="mrapps"] [data-aos] {
    transition-timing-function: cubic-bezier(0.6, 0.2, 0.1, 1), cubic-bezier(0.6, 0.2, 0.1, 1);
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
    padding-top: calc(var(--header-xl) + 40px);
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/**
 * Removed Bootstrap focus style
 */

.form-control:focus {
    color: unset;
    background-color: transparent;
    border-color: #dee2e6;
    outline: unset;
    box-shadow: unset;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: var(--black-color);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-weight: 600;
    margin-bottom: var(--margin-20);
    font-family: "DM Sans", sans-serif;
}

h1, h2 {
    font-size: 2.8rem;
}

h3, h4 {
    font-size: 1.8rem;
}

p {
    margin-bottom: var(--margin-30);
    line-height: 1.6;
    font-size: 1.2rem;
}

p:last-child,
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
    margin-bottom: 0;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
a {
    color: var(--red-color);
    font-size: 18px;
    font-weight: 600;
}

a:visited {
    color: var(--red-color);
}

a:hover,
a:focus,
a:active {
    color: var(--red-color);
}

a:focus {
    outline: none;
}

a:hover,
a:active {
    outline: 0;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1520px;
    }
}

@media (min-width: 1800px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1720px;
    }
}

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

header {
	position: fixed;
	z-index: 98;
	transition: all 0.3s ease;
	background-color: var(--white-color);
}

header.scrolled {
	background-color: var(--white-color) !important;
  	box-shadow: 0 0 40px rgba(0,0,0,0.1);
    z-index: 100;
}

#mrapps-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 0;
	transition: padding 0.3s ease;
}

header.scrolled #mrapps-header {
    padding: 20px 0;
}

.mrapps-logo a {
    display: block;
    width: 185px;
	transition: width 0.3s ease;
}

.mrapps-logo a img.normal-logo,
header.scrolled.white .mrapps-logo a img.normal-logo {
    display: block;
}

header.white .mrapps-logo a img.normal-logo,
header.scrolled.white .mrapps-logo a img.white-logo {
    display: none;
}

.mrapps-logo a img.white-logo {
    display: none;
}

header.white .mrapps-logo a img.white-logo {
    display: block;
}

header.scrolled .mrapps-logo a {
    width: 150px;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    transition: all 0.3s ease;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu {
    padding: 30px 0 0 0;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    font-weight: 600;
}

header.white:not(.scrolled) #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    color: var(--white-color);
}

header.white:not(.scrolled) #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
header.white:not(.scrolled) #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:hover {
    opacity: 0.5;
}

#primary-menu {
    float: right;
}

.sub-menu-element {
    display: flex;
    align-items: center;
    margin-bottom: 45px;
}

ul.mega-sub-menu .mega-menu-item {
    padding-left: 0 !important;
}

.mega-sub-menu .textwidget .menu-title, .mega-sub-menu .textwidget .menu-title a {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--black-color);
    padding: 0;
}

.mega-sub-menu .textwidget .menu-subtitle {
    font-weight: 500;
}

.mega-sub-menu .textwidget span.menu-icon {
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-left: 33px;
    margin-right: 22px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.textwidget.custom-html-widget a {
    width: 100%;
}

.textwidget.custom-html-widget a .menu-title {
    transition: color 0.2s ease;
}

.textwidget.custom-html-widget a:hover .menu-title {
    color: var(--red-color);
}

/* Menu images */

.mega-sub-menu .textwidget span.menu-icon.menu-app {
    background-image: url('assets/images/icons/ico_app.png');
}

.mega-sub-menu .textwidget span.menu-icon.menu-ecommerce {
    background-image: url('assets/images/icons/ico_ecommerce.png');
}

.mega-sub-menu .textwidget span.menu-icon.menu-aiconsulting {
    background-image: url('assets/images/icons/ico_ai.png');
}

.mega-sub-menu .textwidget span.menu-icon.menu-webs {
    background-image: url('assets/images/icons/ico_web.png');
}

.mega-sub-menu .textwidget span.menu-icon.menu-cloud {
    background-image: url('assets/images/icons/ico_cloud.png');
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

footer#mrapps-footer {
    background-color: var(--black-color);
    margin-top: var(--margin-150);
    padding: var(--margin-150) 0 var(--margin-130);
}

.mrapps-cta {
    color: var(--white-color);
    font-size: 40px;
}

.footer-t {
    color: white;
    margin-bottom: var(--margin-20);
    opacity: 0.5;
}

.footer-t, .footer_ul ul li {
    font-size: 18px;
}

ul.footer_ul {
    color: var(--white-color);
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.footer_ul li a, .mrapps-social, .mrapps-social a, .mrapps-company, .mrapps-company a {
    color: var(--white-color);
    font-size: 18px;
    font-weight: normal;
    text-decoration: unset;
}

.widget_custom_html, .mrapps-social, .mrapps-company-info {
    margin-bottom: var(--margin-50);
}

/*--------------------------------------------------------------
# Elements - Blocks
--------------------------------------------------------------*/

/* Global */

.block {
    margin-bottom: var(--margin-200);
}

/*
.block:before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    margin-top: -12px;
    background: linear-gradient(90deg, rgba(66, 71, 112, 0.1), rgba(66, 71, 112, 0.1) 50%, transparent 0, transparent);
    background-size: 10px 1px;
}
*/

.block.no-before:before {
    display: none;
}

.top-block {
    margin-bottom: var(--margin-30);
}

/*
.block:after {
	content: '';
	position: absolute;
	left: 0;
    width: 100%;
    height: 1px;
	margin-bottom: 0px;
	margin-top: 12px;
  	background: linear-gradient(90deg,rgba(66,71,112,0.1),rgba(66,71,112,0.1) 50%,transparent 0,transparent);
  	background-size: 10px 1px;
}
*/

.guides {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99;
}

.guides-container {
    display: grid;
    position: relative;
    height: 100%;
    margin: 0 auto;
}

.guides-guide {
    width: 1px;
    background: linear-gradient(180deg, rgba(66, 71, 112, 0.1), rgba(66, 71, 112, 0.1) 50%, transparent 0, transparent);
    background-size: 1px 10px;
}

.guides-guide:first-of-type, .guides-guide:last-of-type {
    background: rgba(66, 71, 112, 0.1);
}

.guides-guide:last-of-type {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}

@media only screen and (max-width: 575px) {
    .guides-container {
        grid: 1fr/repeat(2, 1fr);
    }

    .guides-guide:first-of-type {
        display: none;
    }

    .guides-guide:last-of-type {
        display: none;
    }

    #primary .block:not(.block-title), #primary .block:not(.block-carousel) {
        padding-right: 1.8rem;
        padding-left: 1.8rem;
    }

    .container-fluid:not(.block-carousel) .container {
        padding-right: 0;
        padding-left: 0;
    }

    /*
        #primary .container, #primary .container-fluid {
            padding-right: 0;
            padding-left: 0;
        }*/
}

@media only screen and (min-width: 576px) {
    .guides-container {
        grid: 1fr/repeat(3, 1fr);
    }

    .guides-container {
        max-width: 540px;
    }
}

@media only screen and (min-width: 768px) {
    .guides-container {
        grid: 1fr/repeat(3, 1fr);
    }

    .guides-container {
        max-width: 720px;
    }
}

@media only screen and (min-width: 992px) {
    .guides-container {
        grid: 1fr/repeat(6, 1fr);
    }

    .guides-container {
        max-width: 960px;
    }
}

@media only screen and (min-width: 1200px) {
    .guides-container {
        grid: 1fr/repeat(6, 1fr);
    }

    .guides-container {
        max-width: 1140px;
    }
}

@media only screen and (min-width: 1400px) {
    .guides-container {
        max-width: 1320px;
    }
}

@media only screen and (min-width: 1600px) {
    .guides-container {
        max-width: 1520px;
    }
}

@media only screen and (min-width: 1800px) {
    .guides-container {
        max-width: 1720px;
    }
}

.text-link {
    text-decoration: none;
    transition: all 0.3s ease;
    padding-right: 0;
    display: inline-flex;
    align-items: center;
    position: relative;
    font-family: "DM Sans", sans-serif;
}

.text-link i.arrow-link {
    position: absolute;
    border: solid var(--red-color);
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
    display: inline-block;
    padding: 3px;
    opacity: 0;
    transition: all 0.3s ease;
    right: 0;
    margin-top: 2px;
}

.text-link:hover {
    filter: brightness(125%);
}

.text-link:hover,
.content-container:hover .text-link {
    padding-right: 15px;
}

.text-link:hover i.arrow-link,
.content-container:hover i.arrow-link {
    opacity: 1;
}

/* Page Title */

.title-container {
    margin-bottom: var(--margin-200);
}

.block-title.with-bg {
    height: 80vh;
    display: flex;
    align-items: center;
    margin-top: calc(0px - var(--header-xl) - 40px);
    background-size: cover;
    background-position: center center;
	overflow: hidden;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.out-top {
    animation: rotate 50s linear infinite;
    transform-origin: 13px 35px;
}

.in-top {
    animation: rotate 40s linear infinite;
    transform-origin: 13px 25px;
}

.in-bottom {
    animation: rotate 30s linear infinite;
    transform-origin: 84px 93px;
}

.block-title svg {
    position: absolute;
    top: 0;
    left: 0;
    height: 80vh;
    z-index: 0;
    padding: 0 !important;
}

.block-title .row .col-12 {
    z-index: 1;
}

.block-title .image-container {
    display: flex;
    justify-content: center;
}

.block-title .title-image {
    max-height: 50vh;
}

.main-title-container {
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    align-content: center;
    justify-content: center;
    height: 100%;
}

.main-title, .page-title-words {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    font-family: "DM Sans", sans-serif;
}

.page-title-words {
    color: var(--red-color);
    margin-bottom: var(--margin-20);
}

.main-sub-title {
    font-size: 1.2rem;
    font-weight: normal;
    width: 80%;
}

.white .main-title-container h1,
.white .main-title-container .main-title,
.white .main-title-container .page-title-words,
.white .main-title-container .main-sub-title {
    color: var(--white-color);
}

.white .main-title-container .page-title-words {
    opacity: 0.5;
}

/* Block Text */


.block-text.bg-color .col-12 > div {
    padding: 120px 50px;
    border-bottom-left-radius: var(--border-radius);
    background: var(--grey-color);
}

.text-link-container .text-link {
    margin-top: 50px;
    margin-left: 0;
}

.text-link-container.d-flex .text-link {
    margin-left: auto;
}

.block-text:last-child {
    margin-bottom: 0;
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 70px;
}

.list-container:first-child {
    margin-top: 0;
}

.list-container + .text-link-container {
    margin-top: 10px;
}

.list-detail {
    display: flex;
    align-items: start;
}

.list-detail .list-element {
    width: 35px;
    text-align: center;
}

.list-detail .list-element span {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 600;
    color: var(--red-color);
    margin-top: 2px;
    display: block;
}

.list-detail .list-element img {
    margin-top: 2px;
}

.list-detail .list-content {
    margin-left: 30px;
    flex: 1;
}

.list-detail .list-content h4 {
    margin-bottom: 10px;
}

/* Centered Text */

.block-centered .first-col h1,
.block-centered .first-col h2,
.block-centered .first-col h3,
.block-centered .first-col h4,
.block-centered .first-col h5,
.block-centered .first-col h6 {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    font-weight: 500;
    max-width: 70%;
}

.block-centered p, .block-text-50 p {
    text-align: justify;
}


/* Text + Image */

.single_img_cont {
    width: 100%;
    height: 100%;
}

.single_text {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.with-img {
    justify-content: center;
    padding: 140px 50px;
}

/* Images */

.single-img {
    padding-top: 50%;
}

.multi-image {
    padding-top: 75%;
}

/* Project images */

.block-project-images {
    margin-bottom: calc(var(--margin-200) - 50px);
}

.project-col {
    margin-bottom: 50px;
    z-index: 99;
}

.project-col img {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.theme-one .project-col:nth-child(2) img,
.theme-one .project-col:nth-child(4) img {
    margin-top: 80px;
}

.theme-one .project-col:nth-child(2n + 5) img {
    margin-top: -80px;
}

/* Project palette */

.single-color {
    margin-bottom: 50px;
}

.color-box {
    height: 120px;
}

.single-color h5 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.single-color p {
    margin-bottom: 0;
}

/* Services */

.block-services {
    margin-bottom: calc(var(--margin-200) - 24px);
}

.block.block-services:after {
    margin-top: -28px;
}

.service-col {
    margin-bottom: 24px;
}

.single-service {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background-color: var(--grey-color);
    height: 100%;
}

.single-service h3 {
    margin-bottom: var(--margin-20);
}

.single-service .img-container {
    margin-bottom: var(--margin-60);
}

.single-service img {
    height: 50px;
}

.single-service .text-link-container {
    margin-top: auto;
}

.single-service .text-link-container .text-link {
    margin-top: 0;
}

.border-top-right {
    border-top-right-radius: var(--margin-80);
}

.border-top-left {
    border-top-left-radius: var(--margin-80);
}

.border-bottom-right {
    border-bottom-right-radius: var(--margin-80);
}

.border-bottom-left {
    border-bottom-left-radius: var(--margin-80);
}

.border-top-right-big {
    border-top-right-radius: var(--margin-130);
}

.border-top-left-big {
    border-top-left-radius: var(--margin-130);
}

.border-bottom-right-big {
    border-bottom-right-radius: var(--margin-130);
}

.border-bottom-left-big {
    border-bottom-left-radius: var(--margin-130);
}

/* Carousel */

.block-carousel {
    background-color: var(--black-color);
    padding-top: var(--margin-150);
    padding-bottom: var(--margin-150);
}

/*
.block.block-carousel:before, .block.block-carousel:after {
	content: '';
  	position: absolute;
  	background: rgba(0,0,0,0.7);
  	top: 0;
  	width: 150px;
  	margin-top: 0;
  	height: 100%;
  	z-index: 2;
}

.block.block-carousel:after {
  	right: 0;
}
*/

.block-carousel .col-12, .block-carousel .col-12 > .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

li.glide__slide {
    color: var(--white-color);
}

li.glide__slide .goal {
    height: 50px;
}

li.glide__slide span {
    display: block;
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 800;
}

li.glide__slide img {
    height: 42px;
    width: auto;
    margin-top: 5px;
}

li.glide__slide h5 {
    margin-top: var(--margin-40);
    margin-bottom: var(--margin-20);
}

li.glide__slide p {
    opacity: 0.5;
}

.slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 99;
    width: 50px;
    height: 50px;
    transform: translatey(-50%);
    border-radius: 50% !important;
    transition: all .2s ease-in-out;
    padding: 0 !important;
    color: var(--black-color);
    background: rgba(255, 255, 255, 0.7);
    border: 0;
    outline: 0;
    opacity: 0;
}

.slider__arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.slider__arrow span {
    margin-top: 3px;
}

.slider__arrow--prev span {
    margin-right: 2px;
}

.slider__arrow--next span {
    margin-left: 2px;
}

.slider__arrow--prev {
    left: -10px;
}

.slider__arrow--next {
    right: -10px;
}

.block-carousel:hover .slider__arrow--prev {
    opacity: 1;
    left: -25px;
}

.block-carousel:hover .slider__arrow--next {
    opacity: 1;
    right: -25px;
}

/* Post */

.block .col-12.content-container {
    margin-bottom: var(--margin-50);
}

/* Post */

.blog-post-title {
    margin-bottom: var(--margin-40);
}

.single-post-background {
    padding-top: 100%;
    margin-bottom: var(--margin-20);
}

.post-title h3 {
    margin-bottom: var(--margin-30);
}

.post-title h3 a {
    color: var(--black-color);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: var(--margin-30);
    text-decoration: unset;
}

/*--------------------------------------------------------------
# Contact form 7
--------------------------------------------------------------*/

.wpcf7-form label {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;

}

input.wpcf7-form-control {
    border-radius: 8px;
    height: 70px;
    margin-bottom: 30px;
}

.btn-send {
    background-color: var(--red-color);
    border-color: var(--red-color);
    border-radius: unset !important;
    color: var(--white-color);
    float: right;
    font-size: 18px;
    margin-top: 40px;
    padding: 20px 75px 20px;
    text-align: right;
}


/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/

@media only screen and (min-width: 992px) {
    .right {
        order: 2;
    }
}

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

    /* Globals */
    .block, .title-container {
        margin-bottom: var(--margin-100);
    }

    /* Footer */
    footer#mrapps-footer {
        margin-top: var(--margin-100);
        padding: var(--margin-100) 0 var(--margin-80);
    }
}

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

    /* Globals */
    .block, .title-container {
        margin-bottom: var(--margin-50);
    }

    /* Header */
    .main-title-container {
        padding-bottom: var(--margin-50);
    }

    /* Footer */
    footer#mrapps-footer {
        margin-top: var(--margin-50);
        padding: var(--margin-50) 0 var(--margin-30);
    }
}

/* UPDATES */

/* BLOG */

h1.page-title {
    margin-bottom: var(--margin-100);
}

.main-post {
    margin-bottom: var(--margin-150);
    position: relative;
}

.main-post-image {
    background-size: cover;
    background-position: center;
    padding-top: 45%;
    position: relative;
}

.main-post-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 2px;
}

.main-post-content {
    position: absolute;
    left: calc(50% + 100px);
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    z-index: 1;
}

.main-post-content-wrapper {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
}

.main-post-content-wrapper h3 {
    margin-bottom: 15px;
}

.main-post-excerpt, .main-post-categories {
    margin-bottom: 15px;
}

.main-post-readmore {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
}

/* Blog categories */

.blog-categories {
    margin-bottom: var(--margin-50);
}

.mrapps-categories ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.mrapps-categories li {
    margin: 0 20px 0 0;
}

.mrapps-categories li:last-child {
    margin-right: 0;
}

.cat_list_item {
    text-decoration: none;
    padding: 5px 15px;
    border-radius: var(--border-radius);
    transition: 0.3s ease all;
}

.cat_list_item.active {
    background-color: var(--red-color);
    color: var(--white-color);
}

.cat_list_item:hover {
    background-color: var(--red-color);
    color: var(--white-color);
}

/* Articles */

.article-blog {
    margin-bottom: 30px;
    padding: 0 15px;
}

.single_post_img_grid {
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}

.post-date-container {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 2px;
}

.post-date {
    color: var(--white-color);
    font-size: 14px;
}

.blog-header {
    margin-top: 15px;
}

.blog-title a {
    text-decoration: none;
    margin-bottom: 10px;
}

.category_link {
    display: inline-block;
    text-decoration: none;
}

/* Single article */

.single_post_img {
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-top: 56.25%; /* Scale 16:9 */
    margin-bottom: 20px;
}

.single-entry-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.single-entry-title a {
    text-decoration: none;
}


/* Menu test */



