/*
Theme Name: Tema AGN
Theme URL:
Description: Diseño AGN
Author: GaoFreelance
Author
Template: twentyseventeen
Version: 1.0.0
Text Diseño AGN para Wordpress
*/

:root {
    --color-primary:#0063AF;
    --color-primary-light: #007dcd;
    --color-primary-red: #E8262C;
    --color-primary-grey: #E0E0E0;
    --color-light-grey: #A8A8A8;
}

input {
    user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
}

input, input:before, input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
    -webkit-appearance: none;
}

html {
    scroll-behavior: smooth;
}

*  {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Fira Sans" !important;
}

.elementor-widget-text-editor {
    font-family: "Fira Sans" !important;
}

h1,h2,h3,h4,h5 {
    margin: 0;
    font-weight: normal;
}

p {
    margin: 0;
}


.elementor-image-box img {
    box-shadow: 0px 24px 48px rgba(98, 106, 212, 0.32) !important;
    border-radius: 4px !important;
}

.elementor-widget:not(:last-child) {
    margin: 0 !important;
}

.margin-right-auto > div {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.text-intro-form .elementor-widget-container p {
    color: #fff;
    font-size: 24px;
}

.text-intro-form .elementor-widget-container p:first-child {
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;

}

.min-height-agn {
    height: 100%;
    min-height: calc(100vh - 70px - 40px);
    margin-top: 70px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 769px){
    .min-height-agn {
        display: block;
    }
}

.container-agn-small {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-agn {
    width: 100%;
    max-width: 1515px;
    margin: 0 auto;
    padding: 0 15px;
}

.button-agn {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    border-radius: 2px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.button-agn:hover {
    cursor: pointer;
}

.button-agn.button-agn-primary {
    color: #fff;
    border: 2px solid var(--color-primary);
    background-color: var(--color-primary);
}

.button-agn.button-agn-primary:hover {
    background-color: #fff;
    color: var(--color-primary);
}

.button-agn.button-agn-secondary {
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    background-color: #fff;
}

.button-agn.button-agn-secondary:hover {
    background-color: var(--color-primary-light);
    color: #fff;
}

.button-agn.button-agn-red {
    color: #fff;
    border: 2px solid var(--color-primary-red);
    background-color: var(--color-primary-red);
}

.button-agn.button-agn-red:hover {
    background-color: #fff;
    color: var(--color-primary-red);
}

.button-agn.button-agn-secondary-line {
    color: #fff;
    border: 2px solid #fff;
    background-color: transparent;
}

.button-agn.button-agn-secondary-line:hover {
    background-color: #fff;
    color: var(--color-primary-red);
}

/* Titles */

.title-red-tag {
    position: relative;
    padding-left: 25px;
}

.title-red-tag:before {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -3px;
    left: 0;
    width: 15px;
    height: 5px;
    background-color: var(--color-primary-red);
}

/* Input Range */

input[type='range'] {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    max-height: 8px;
    border-radius: 10px;
    background: var(--color-primary-grey);
    padding: 0;
    transition: background 450ms ease-in;
    -webkit-appearance: none;
}

input[type='range']::-webkit-slider-thumb {
    cursor: ew-resize;
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: url('/wp-content/themes/agn/assets/input-range.png') no-repeat center center;
    background-size: cover;
    box-shadow: none;
}

input[type=range]::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border: 0;
    background: url('/wp-content/themes/agn/assets/input-range.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    box-shadow: none;
}

.input-agn {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #A8A8A8;
    border-radius: 4px;
    outline: none;
    background: #fff;
    font-size: 14px;
    line-height: 26px;
    color: #222229;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-group-check-special {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.form-group-check-special label {
    font-size: 12px;
    line-height: 14px;
    color: #ACB2AA;
    margin-bottom: 0;
}
.form-group-check-special label a {
    color: var(--color-primary);
}

.form-group-check-special input {
    width: 24px;
    min-width: 24px;
    height: 24px;
    border: 3px solid var(--color-primary);
    border-radius: 6px;
}

.form-group-check-special input:checked {
     border: none;
     background: url('/wp-content/themes/agn/assets/check.png');
     background-size: contain;
}



/* Check in circle */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    border-radius: 34px;
    margin: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    border-radius: 8px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--color-primary);
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "NO";
    height: 26px;
    width: 26px;
    left: 2px;
    border-radius: 4px;
    bottom: 2px;
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    line-height: 12px;
    align-items: center;
    background-color: var(--color-primary);
    -webkit-transition: .4s;
    transition: .4s;
}

.switch input:checked + .slider {
    background-color: var(--color-primary);
}

.switch input:focus + .slider {
    box-shadow: 0 0 1px var(--color-primary);
}

.switch input:checked + .slider:before {
    content: "SI";
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background-color: #fff;
    color: var(--color-primary);
}

/* 404 Page */

.not-found-page {
    width: 100%;
    height: calc(100vh - 70px);
    background: url('/wp-content/uploads/2023/02/background-index.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.not-found-page .container-agn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.not-found-page .container-agn .center-box {
    margin-top: 50px;
    width: 400px;
    background-color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.not-found-page .container-agn .center-box img {
    margin-bottom: 30px;
}

.not-found-page .container-agn .center-box * {
    text-align: center;
}

.not-found-page .container-agn .center-box .title-center-box {
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.not-found-page .container-agn .center-box .button-agn {
    margin-top: 20px;
}

/* Footer */

footer.footer-fixed {
    z-index: 999;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0063AF;
}

footer.footer-fixed * {
    color: #fff !important;
}

@media screen  and (max-width: 764px){
    footer.footer-fixed {
        z-index: 2;
        position: relative;
        bottom: none;
        left: none;
    }
}

footer {
    min-height: 40px;
    display: flex;
    align-items: center;
}

footer.footer-blue {
    background-color: #0063AF;
    min-height: 72px;
}

footer.footer-blue * {
    color: #fff !important;
}

footer.footer-blue .text-left {
    display: flex;
    align-items: center;
}

footer.footer-blue .text-left a,
footer.footer-blue .text-left a span,
footer.footer-blue .text-left p {
    font-size: 12px;
}

footer.footer-blue .text-left a {
    display: inline-block;
}

footer.footer-blue .text-left a span {
    display: block;
    color: #95C11F !important;
}

footer.footer-blue .text-left a img {
    float: left;
}

footer.footer-blue .text-left p {
    margin: 0 15px;
}


footer .container-agn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .container-agn * {
    color: var(--color-primary);
}

footer .container-agn .text-left span {
    font-weight: bold;
}


footer .text-right img {
    margin: 0 3px;
}

footer .text-right a {
    font-weight: bold;
}

footer .text-right a:hover {
   text-decoration: underline;
}
@media screen and (max-width: 1310px) {
    footer {
        padding: 15px 0;
    }
    footer .container-agn {
        flex-wrap: wrap;
    }

    footer .text-right,
    footer .text-left {
        width: 100%;
        flex-basis: 100%;
        text-align: center;

    }

    footer .text-left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
    }

    footer .text-left p,
    footer .text-left a {
        margin:  0 0 15px 0 !important;
    }
}