/*
Theme Name: The Point
Description: Child theme for Hello Elementor
Author: thepoint-agency.ro
Author URI: https://thepoint-agency.ro/
Template: hello-elementor
Version: 1.0
Text Domain: thepoint-agency
*/

/* General */

body{
    overflow-x: hidden;
}

.social-media-list{
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.social-media-list a{
    color: #FFFFFF;
    display: inline-block;
    width: fit-content;
}

.social-media-list a:hover{
    color: #FFFFFF;
}

.blue-contact .social-media-list a{
    color: var( --e-global-color-primary );
}

.blue-contact .social-media-list a:hover{
    color: var( --e-global-color-primary );
}

@media screen and (max-width: 991px){
    .tablet-column-reverse{
        flex-direction: column-reverse !important;
    }

    .footer-policies-menu ul{
        flex-direction: column;
        width: 100%;
    }
}

@media screen and (min-width: 992px){
    .mw-200{
        max-width: 200px;
    }
}

@media screen and (min-width: 576px){
    .services-menu nav li.menu-item {
        position: relative;
    }

    .services-menu li::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: #ffffff;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 600ms ease;
    }

    .services-menu li:hover::before {
        transform: scaleX(1);
    }

    .services-menu a {
        position: relative;
        padding-right: 120px !important; /* "see service" */
        padding-bottom: 30px !important;
    }

    .services-menu a::after {
        content: 'See service';
        text-transform: uppercase;
        color: #ffffff;
        background: transparent !important;
        font-weight: 400;
        font-size: 12px;
        letter-spacing: 1px;
        position: absolute;
        right: 0;
        top: calc(50% - 15px);
        transform: translateY(-50%);
        transition: 600ms;
        white-space: nowrap;
    }

    .services-menu li:hover a::after {
        transform: translateY(-50%);
    }
}

/* Header */

.tp-menu ul{
    justify-content: space-between !important;
    width: 100%;
}

.elementor-nav-menu:after{
    display: none !important;
}


.tp-menu .sub-menu{
    display: block !important;
}

.tp-menu .sub-menu li > a{
    border: none !important;
}

.tp-mobile-trigger,
.tp-mobile-close{
    padding: 0 !important;
}

.tp-mobile-trigger{
    letter-spacing: 0.2px !important;
}

.tp-mobile-nav__list{
    margin-top: 40px !important;
}

/* Gravity Forms - Contact Form */

[id*="gform_wrapper"].gform_wrapper {
    background-color: #272727;
    padding: 10px;
    border-radius: 10px;
}

.blue-contact [id*="gform_wrapper"].gform_wrapper {
    background-color: var( --e-global-color-primary );
}

[id*="gform_wrapper"].gform_wrapper .gform_title,
[id*="gform_wrapper"].gform_wrapper .gfield_label {
    display: none;
}

[id*="gform_wrapper"].gform_wrapper .gform_body {
    margin-top: -15px;
}

[id*="gform_wrapper"].gform_wrapper .gform_fields {
    gap: 14px;
}

[id*="gform_wrapper"].gform_wrapper .ginput_container input,
[id*="gform_wrapper"].gform_wrapper .ginput_container textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ffffff50;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    outline: none;
    padding: 0 0 10px 0;
}

[id*="gform_wrapper"].gform_wrapper .ginput_container_textarea textarea {
    height: 90px;
    min-block-size: 0 !important;
    resize: none;
}

[id*="gform_wrapper"].gform_wrapper .ginput_container input::placeholder,
[id*="gform_wrapper"].gform_wrapper .ginput_container textarea::placeholder {
    color: #ffffff50;
}

[id*="gform_wrapper"].gform_wrapper .gform-footer{
    justify-content: flex-end;
}

[id*="gform_wrapper"].gform_wrapper .gform-body + .gform-footer input.gform_button[id*="gform_submit_button"][type="submit"]{
    border-radius: 50px;
    box-shadow: none;
    outline: none;
    background-color: #707070;
    border: none;
    text-transform: uppercase;
    padding: 12px 24px 8px;
    font-size: 12px;
    font-weight: 500;
}

.blue-contact [id*="gform_wrapper"].gform_wrapper .gform-body + .gform-footer input.gform_button[id*="gform_submit_button"][type="submit"]{
    background-color: #0075B2;
}

[id*="gform_wrapper"].gform_wrapper .validation_message{
    font-size: 12px;
    color: #FFFFFF;
}

[id*="gform_wrapper"].gform_wrapper .gform_validation_errors {
    margin-bottom: 30px;
    outline: none !important;
    filter: brightness(0) invert(1);
}

[id*="gform_confirmation"].gform_confirmation_message{
    color: #FFFFFF;
}

/* Home */

@media screen and (max-width: 575px){
    .what-we-do-cards .swiper-slide .tp-card{
        min-height: 320px !important;
    }
}

@media screen and (max-width: 375px){
    .what-we-do-cards .tp-card__title a{
        font-size: 14px;
        line-height: 20px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1120px){
    .what-we-do-cards .tp-card__title a{
        font-size: 14px;
        line-height: 24px;
    }
}

/* Service Template */

@media screen and (max-width: 330px){
    .elementor-widget-tp_acf_tags [id*="tp-tags"] .tp-tags-wrap{
        grid-template-columns: 100% !important;
    }

    .elementor-widget-tp_acf_tags [id*="tp-tags"] .tp-tags-wrap .tp-tag-cell{
        justify-content: flex-start !important;
    }
}

.tp-tabs-nav{
    flex-wrap: wrap !important;
}

/* Blog */

.post-views.entry-meta{
    display: none !important;
}

.filters .active a{
    font-weight: 600;
}

.blog-search-form{
    display: flex;
    gap: 8px;
}

.blog-search-form input[type="text"]{
    background-color: var( --e-global-color-c76b847);
    border: none;
    border-radius: 48px;
    outline: none;
    box-shadow: none;
    color: #FFFFFF;
    padding: 8px 16px;
}

.blog-search-form input[type="text"]::placeholder{
    color: #FFFFFF60;
}

@media screen and (max-width: 390px){
    .blog-search-form{
        flex-direction: column;
        width: 100%;
    }

    .blog-search-form input[type="text"]{
        width: 100%;
    }

    .blog-search-form button{
        width: fit-content;
    }
}

@media (min-width: 992px) {
    .blog-grid .elementor-loop-container > .e-loop-item {
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .blog-grid .elementor-loop-container > .e-loop-item {
        opacity: 1 !important;
        grid-column: auto !important;
        grid-row: auto !important;
        height: auto !important;
    }
    
    .blog-grid .elementor-loop-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
}

.elementor-editor-active .blog-grid .elementor-loop-container > .e-loop-item {
    opacity: 1 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    height: auto !important;
}

/* Article */

.read-more-articles .e-loop-item{
    min-height: 300px;
}

@media screen and (min-width: 992px){
    .read-more-articles .e-loop-item:nth-of-type(1){
        min-width: 430px;
    }
}

/* Anim */


#glass-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}