/*
Theme Name: AVANIM
Theme URI: https://mati.agency
Version: 1.0
Author: @matiagency
Author URI: https://mati.agency
*/

:root,
[data-bs-theme=light]{

	/* Defaults */
	--mati-header-mobile-min-height: 65px;
	--mati-header-desktop-min-height: 90px;

	/* Colors */
	--bs-heading-color: inherit; /* H1, H2 colors */

    --bs-body-color: #151515;
    --bs-body-bg: #fff;

    --bs-primary: #D71920;
    --bs-primary-rgb: 13,110,253;
    --bs-secondary: #f58426;
    --bs-secondary-rgb: 108,117,125;


    --bs-form-invalid-color: #000;

}

/* 3. Structure */

html{
	scroll-behavior: smooth;
}

body{
	font-size: 16px;
	font-weight: 400;
	font-family: "Gotham", "Poppins",  sans-serif;
	font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
}


a{
	color: inherit;
	text-decoration: none;
	transition: 0.3s all;
}

h1, h2, h3, h4, h5, h6{
	font-weight: 500;
}

h1 { font-size: 30px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

@media screen and (min-width: 992px) {
	h1 { font-size: 34px; }
	h2 { font-size: 30px; }
	h3 { font-size: 26px; }
	h4 { font-size: 22px; }
	h5 { font-size: 20px; }
	h6 { font-size: 18px; }
}

b, strong {
    font-weight: 700;
}


/* 4. Structure > Framework */

.main {
	width: 100%;
	min-height: 80vh;
	overflow: hidden;
}

.container,
.container-fluid{
	width: 100%;
	max-width: 100%;
}
.container{
	max-width: 1600px;
}
.container-fluid{
	max-width: 1920px;
}

/*
[class^="col-"]{
	padding-left: 15px;
	padding-right: 15px;
}*/

@media screen and (min-width: 992px){
	.col-lg-5-2{
		-ms-flex: 0 0 20%;
	    flex: 0 0 20%;
	    max-width: 20%;
	}
}

@media screen and (min-width: 1440px){
	.container,
	.container-fluid{
		padding: 0 70px;
	}
}

/* Keyframes */

@keyframes dropDown{
    0% {
        transform: scaleY(0);
    }
    80% {
        transform: scaleY(1.1);
    }
    100% {
        transform: scaleY(1);
    }
}

@keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

/* Structure > extras */

.wow{
	visibility: hidden;
}

.overh{
	overflow: hidden;
}

#pageloader{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bs-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2em;
	transition: opacity 0.5s ease-in-out;
	z-index: 1000;
	opacity: 0;
	pointer-events: none;
}
#pageloader.show{
	opacity: 1;
	pointer-events: all;
}

.grecaptcha-badge{
	opacity:0;
}


/* Components > buttons */

.btn{
	min-width: 150px;
	--bs-btn-padding-x: 30px;
	--bs-btn-padding-y: 10px;
	--bs-btn-font-weight: 500;
	border-radius: 0;
}
.btn i{
	vertical-align: -1px;
	font-size: 18px;
	margin-right: 6px;
}

.btn-block{
	width: 100%;
	display: block;
}

@media screen and (max-width: 576px){
	.btn-block-mobile{
		width: 100%;
	}
}

.btn-primary{
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-color: var(--bs-light);
    --bs-btn-border-color: var(--bs-primary);

    --bs-btn-hover-bg: var(--bs-light);
    --bs-btn-hover-color: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);

    --bs-btn-active-bg: var(--bs-light);
    --bs-btn-active-color: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
}

/* Btn Float */

.btn-float{
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 32px;
    text-align: center;
    z-index: 9999;
    border-radius: 50%;
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.1);
    transition: 0.3s all;
}

.btn-float-whatsapp{
    color: #fff;
    background: #25D366;
}
.btn-float-whatsapp:hover{
    background: #fff;
    color: #25D366;
}

@media screen and (min-width:768px){
	.btn-float{
	    width: 70px;
	    height: 70px;
	    font-size: 40px;
	}
}

.btn-loading:before{
	content: '';
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
    -webkit-animation: spinner-border .75s linear infinite;
}

/* Components > forms */

label{
	font-size: 14px;
	line-height: 1.2em;
	margin-bottom: 0;
}
.bg-primary label,
.bg-dark label{
	color: #fff;
}


.required{
	display: none;
	color: transparent;
}

.form-control:-webkit-autofill{
	background-color: transparent !important;
}

.form-select,
.form-control{
	font-size: 14px;
	display: inline-block;
	width: auto;
	line-height: 1.2em;
	border: none;
	border-bottom: solid 1px #fff;
	border-radius: 0;
	background-color: transparent;
	color: #EEB7B7;
	padding: 0;

}

.form-control::placeholder{
	color: #EEB7B7;
}

.form-select:focus,
.form-control:focus{
	background-color: transparent;
	color: #fff;
    box-shadow: none !important;
    border-color: var(--bs-dark);
    border-color: #fff;
    font-weight: 500;
}

.form-control option{
	background: var(--bs-primary);
	color: #fff;
}

@media screen and (min-width:992px){
	label,
	.form-select,
	.form-control{
		font-size: 18px;
	}
	
}

.form-control.is-invalid,.was-validated .form-control:invalid {
    border-color: #000;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23000'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23000' stroke='none'/%3e%3c/svg%3e");
	
}

input#contactName {
    width: 78%;
}
select#contactModel,
input#contactEmail {
	width: 100%;
}
input#contactPhone {
	width: 60%;
}
select#contactLocation {
    width: 150px;
}

@media screen and (min-width:992px){
	input#contactName {
    	width: 61%;
	}
	input#contactPhone {
		width: 60%;
	}
	select#contactLocation {
	    width: 150px;
	}

}

textarea.form-control{
	width: 100%;
	border: solid 1px #fff;
	padding: 5px
}

/* Form checkbox */

.form-check{
	display: inline-block;
}

.form-check-input:focus{
	box-shadow: none;
}
.form-check-input:checked{
	background-color: var(--bs-dark);
	border-color: var(--bs-dark);
}

input[type="checkbox"] ~ label,
input[type="radio"] ~ label{
	margin: 0;
	font-weight: 400;
}

/* Form files */

.input-file-group{
	position: relative;
	display: block;
	padding: 30px 15px;
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
	text-align: center;
	background-color: var(--bs-body-bg);
	border: var(--bs-border-width) dashed var(--bs-border-color);
	border-radius: 15px;
	cursor: pointer;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.input-file-group input{
	opacity: 0;
	width: 0;
}

.input-file-group .files{
	max-height: 100px;
	overflow: auto;
}
.input-file-group .files span{
	display: block;
	font-size: 12px;
	text-transform: uppercase;
}
.input-file-group:hover,
.input-file-group:focus{
	border-color: var(--bs-dark);
}

/* Forms > Show password */

.show_password{
	position: absolute;
	bottom: 0;
	right: 15px;
	padding: 15px;
}
.show_password.active,
.show_password:hover{
	color: #f58426;
}

/* Components > modals */

.modal{
	z-index: 99999;
}
.modal-backdrop{
	z-index: 9999;
}
.modal .modal-content{
	border: 0;
	border-radius: 0;
}

.modal .btn-close{
	position: absolute;
	top: -50px;
	right: 15px;
	width: 30px;
	height: 30px;
	padding: 0;
	background: url('assets/img/icons/icon-cross.svg') no-repeat center;
	background-size: contain;
	z-index: 10;
	opacity: 0.5;
}

@media screen and (min-width: 992px) {
	.modal .btn-close{
		top: 20px;
		right: -50px;
	}
}

#modalVideo .modal-content{
	background-color: #000;
}
#modalVideo .modal-body{
	padding: 0;
}
#modalVideo .btn-close{
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 30px;
	filter: brightness(0) invert(1);
}


/* Components > socialmedia */

.socialmedia h4{
	font-size: 18px;
	line-height: 24px;
}

ul.socialmedia{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	gap: 5px;
	list-style: none;
}
ul.socialmedia li{
	display: inline-block;
	vertical-align: middle;
}
ul.socialmedia li a{
	display: block;
	font-size: 26px;
	padding: 5px;
}
ul.socialmedia li a:hover{
	color: var(--bs-primary);
}

@media screen and (min-width: 992px){	
	ul.socialmedia{
		justify-content: flex-start;
	}
	ul.socialmedia li a{
		font-size: 30px;
	}
}

/* Components > Video Player */

.video-player{
	position: relative;
	width: 100%;
	padding: 25% 0;
	background: #000 no-repeat center;
	background-size: cover;
}
.video-player .play{
	display: none;
	position: absolute;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	width: 60px;
	height: 60px;
	font-size: 24px;
	line-height: 60px;
	text-align: center;
	background: var(--bs-primary);
	color: #fff;
	border-radius: 50%;
	transition: 0.3s all;
	cursor: pointer;
}
.video-player.active .play,
.video-player:hover .play{
	background: var(--bs-primary);
	color: #fff;
}
.video-player .play:hover{
	transform: scale(1.1);
}
.video-player .play i{
	margin-left: 4px;
}

.video-player.allowed{
	cursor: pointer;
}
.video-player.allowed .play{
	display: block;
}


/* Components > Errors */

.errors {
	text-align: center;
	padding: 30px 0;
}
.errors.error-nologued {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60dvh;
}

.errors .smile {
	margin: 0;
	font-size: 50px;
	transform: rotate(90deg);
	color: var(--bs-primary);
}
@media screen and (min-width: 992px){
	.errors .smile {
		font-size: 80px;
	}
}


/* Structure */

.section{
	position: relative;
	padding: 50px 0;
}

@media screen and (min-width: 992px){
	.section{
		padding: 100px 0;
	}
}

/* Structure > Header */

.header{
	display: none;
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	min-height: var(--mati-header-mobile-min-height);
	background: #fff;
	transition: 0.3s all;
	z-index: 999;
}
.header .container{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.header .logo{
	display: inline-block;
	max-width: 150px;
	margin: 10px 0;
}

.header-fixed .header{
	position: fixed;
	background: var(--bs-white);
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.1);
	z-index: 999;
    -webkit-animation: slideInDown 0.3s ease-out;
    -moz-animation: slideInDown 0.3s ease-out;
}

/* Header > Navigation */

.header .nav-menu {
	position: relative;
	float: right;
	width: 35px;
	padding: 15px 0;
	cursor: pointer;
	z-index: 21;
	overflow: hidden;
}
.header .nav-menu .menu-line {
	float: right;
	display: block;
	width: 100%;
	height: 2px;
	margin: 4px 0;
	background: var(--bs-dark);
	transition: 0.3s;
	border-radius: 6px;
}
.header .nav-menu.active .menu-line:nth-child(1) { transform: rotate(45deg); width: 40px; margin-top: 14px; }
.header .nav-menu.active .menu-line:nth-child(3) { transform: rotate(-45deg); width: 40px; margin-top: -16px; }
.header .nav-menu.active .menu-line:nth-child(2) { opacity: 0; }

.header .navigation {
	display: none;
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
	margin: 0;
	text-align: center;
	background: var(--bs-white);
}
.header .navigation.active {
	display: block;
}
.header .navigation .menu {
	position: relative;
}
.header .navigation .menu li a {
	display: block;
	position: relative;
	padding: 10px 12px;
	font-size: 18px;
	font-weight: 500;
}
.header .navigation .menu li.current-menu-item a,
.header .navigation .menu li a:hover{
	color: var(--bs-primary);
}

@media screen and (min-width: 1200px) {

	.header {
		min-height: var(--mati-header-desktop-min-height);
	}
	.header .logo {
		max-width: 164px;
		margin: 26px 0;
	}

	.header .nav-menu {
		display: none;
	}

	.header .navigation{
		display: flex;
		align-items: center;
		position: relative;
		top: auto;
		left: auto;
		width: auto;
		background: transparent;
	}
	.header .navigation ul,
	.header .navigation ul li {
		position: relative;
		display: inline-block;
		vertical-align: middle;
	}
	.header .navigation ul{
		margin: 0;
	}

	.header .navigation .menu {
		
	}

	

	.header .navigation .menu li a {
		font-size: 15px;
	}

	.header .navigation .menu li a {
		text-align: left;
	}
	
	/* Fixed */
	.header-fixed .header{
		min-height: var(--mati-header-mobile-min-height);
	}
	.header-fixed .header .logo{
		margin: 14px 0;
	}
	.header-fixed .header .navigation .menu li .sub-menu{
		top: var(--mati-header-mobile-min-height);
	}

}

@media screen and (max-width: 1199px){
	.header .navigation{
		box-shadow: 0 2px 5px 0 rgba(0,0,0,0.1);
	}
	.header .navigation .menu li.active a,
	.header .navigation .menu li a:hover{
		background: var(--bs-primary);
		color: var(--bs-white);
	}

	.header .navigation ul li.open-submenu > ul{
		background: rgba(0,0,0,0.05);
	}
	.header .navigation ul li ul li a{
		padding-top: 6px;
		padding-bottom: 6px;
		font-size: 16px;
	}
}




/*
	Modules
*/

/* Module > Presentation */

.presentation{
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100dvh;
	padding: 50px 0;
	background: var(--bs-dark) no-repeat top;
	background-size: contain;
	padding-top: 220px;
}

.presentation .image img{
	position: absolute;
	width: 100%;
    height: 280px;
    top: 0;
    left: 0;
    object-fit: cover;
}

.presentation .wrap{
	position: relative;
	background: var(--bs-primary);
	color: #fff;
	padding: 25px 20px;
	max-width: 560px;
	margin: 0 auto;
	font-size: 14px;
}

.presentation .title {
	margin-bottom: 25px;
}
.presentation .title p{
	margin: 0;
}

.presentation .data {
	max-width: 340px;
	margin: 0 auto;
}
.presentation .items {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 50px;
	border-top: solid 1px #fff;
	padding-top: 20px;
}

.presentation .form p.intro{
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0;
}


.presentation .animated-title {
  	display: inline-block;
  	position: relative;
  	font-size: 13px;
	text-transform: uppercase;
	font-weight: 400;   
}

.presentation .words-wrapper {
  display: inline-block;
  position: relative;
}

.presentation .words-wrapper strong {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  left: 0;
  top: 0;
}

.presentation .words-wrapper strong.active {
  display: inline;
  opacity: 1;
  position: relative;
}


@media screen and (min-width: 768px) {

	.presentation{
		background: var(--bs-dark) no-repeat bottom;
		background-size: cover;
		padding: 50px 0;
	}

	.presentation .image img{
	    height: 100%;
	}
	.presentation .wrap{
		padding: 40px 70px;
		font-size: 18px;
	}

	.presentation .title {
		margin-bottom: 35px;
	}

	.presentation .title .animated-title {
		font-size: 16px;
		 margin-right: 10px;
	}
}



/* Pages > Thanks */

.page.page-thanks .content{
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 80vh;
}

/* Pages > Internal */

.page.internal .content .title{
	text-align: center;
}
.page.internal .content article {
	max-width: 850px;
	margin-left: auto;
	margin-right: auto;
}

/* Pages > Page 404 */

.page.page-404 .content,
.page.page-maintenance .content{
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 80vh;
}

.page.page-maintenance .content{
	min-height: 100vh;
}

/* Structure > Footer */

.footer {
	background: #000;
	color: #fff;
}
.footer a:hover{
	text-decoration: underline;
}

.footer .widgets{
	padding: 50px 0;
	text-align: center;
}

.footer .widgets .logo{
	display: block;
	width: 284px;
	margin: 0 auto 30px;
}


.footer .copyright {
	border-top: solid 1px #fff;
	padding-top: 32px;
	margin-top: 32px;
}
.footer .copyright p{
	margin: 0;
	font-size: 14px;
}

.footer .locations article h4,
.footer .locations article p,
.footer .locations article a {
	font-size: 12px;
	margin-bottom: 0;
}
.footer .locations .whatsapp{
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media screen and (min-width: 992px){
	.footer .widgets{
		padding: 80px 0;
		text-align: left;
	}
	.footer .widgets .logo{
		margin: 0;
	}

	.footer .vias ul{
		display: flex;
		width: 100%;
		justify-content: space-around;
	}
	
}
