/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

.app, .app-mob {
	padding: 0 ! important;
}

.app-container {
	position: relative;
	overflow: visible ! important;
}

.main-screen {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	overflow: hidden;
	width: 100%;
	height: 100%;
	background-color: white;
}

.app-wellcome {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 96px;
}

.main-img {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.main-loader {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.init-loader {
	width: 100px;
	height: 100px;
	background-image: url('../img/logo_loading.webp');
	background-size: 100px;
	background-repeat: no-repeat;
}

.main-img .img-content {
	width: 100%;
	height: 100%;
	padding: 50px;
	box-sizing: border-box;
}

.main-img > .img-content > div {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.main-screen .main-img img {
	max-width: 100%;
	object-fit: contain;
	position: absolute;
}

#intro-cofesa {
	top: 50%;
	transform: translateY(-100%);
	transition: top 1s ease-in-out, transform 1s ease-in-out;
}

#intro-textil {
	top: 50%;
	transition: transform 1s ease-in-out;
}

#intro-dots {
	top: 50%;
	transform: translate(0, 216%);
	transition: transform 1s ease-in-out;
}

#intro-cofesa.init {
	top: 100%; 
	transform: translateY(100%);
}

#intro-textil.init {
	left: -42px; 
	transform: translateX(-100%);
}

#intro-dots.init {
	transform: translate(100%, 216%);
}

.app-wellcome img {
	width: 40px;
	height: 40px;
	margin: 5px 0;
}

.main-bottom {
	display: flex;
	align-items: flex-end;
	flex: 0 0 56px;
}

.main-screen:not(.bging) #bg-init {
	display: none;
}

#bg-init:not(.show) {
	opacity: 0;
}

#bg-init.show {
	opacity: 1;
}

#bg-init {
	position: absolute;
	top: 0px;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: white;
	background-image: url('../img/portada2.webp'); /* linear-gradient(rgba(73, 111, 154, 0.5), rgba(73, 111, 154, 0.5)), url('../img/portada2.jpg');*/
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: opacity 2s;
}

#bg-init a {
	text-decoration: none;
}

.bg-top {
	padding: 20px;
	flex: 0 0 155px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bg-top img {
	width: calc(100% - 80px);
	top: 40px;
}

.bg-middle {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.bg-middle > div > a {
	display: inline-block;
	width: 136px;
	text-align: center;
	padding: 15px 20px;
	background-color: rgba(0, 0, 0, 0.3);
	color: white;
	/*box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);*/
	transition: background-color 0.5s, letter-spacing 0.5s;
}

.bg-middle > div > a:hover {
	letter-spacing: 0.8px;
	background-color: rgba(0, 0, 0, 0.5);
}

.bg-bottom {
	flex: 0 0 155px;
	display: flex;
	align-items: flex-end;
}

.login-register {
	margin-top: 10px;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
}

.login-register > div {
	/*padding: 10px;
	background-color: rgba(255, 255, 255, 0.5);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	border-radius: 10px;*/
	width: 140px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	
}

.login-register span {
	color: #333;
	display: inline-block;
	margin-bottom: 5px;
	font-size: 12pt;
}

.login-register a {
	color: #BABABA;
	display: inline-block;
	font-size: 12pt;
	transition: color 0.5s;
}

.login-register a:hover {
	color: white
}

.login-social {
	padding: 20px 20px 20px;
	width: 100%;
	box-sizing: border-box;
}

.login-social ul {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	list-style: none;
}

.login-social ul > li {
	flex: 0 0 calc(20% - 15px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-social ul > li > a {
	display: flex;
	width: 42px;
	height: 42px;
	padding: 10px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 50px;
	transition: background-color 0.6s;
}

.login-social ul > li > a:hover {
	background-color: rgba(0, 0, 0, 0.5);
}

.login-social ul > li span {
	display: block;
	width: 42px;
	height: 42px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 42px 42px;
	border: 1px solid transparent;
	transition: border-color 0.5s;
}

.social-web {
	background-image: url('../img/web.svg');
}

.social-whatsapp {
	background-image: url('../img/whatsapp_white.svg');
}

.social-facebook {
	background-image: url('../img/facebook.svg');
}

.social-instagram {
	background-image: url('../img/instagram.svg');
}

.social-tiktok {
	background-image: url('../img/tiktok_white.svg');
}


.login-social ul > li strong {
	font-size: 10pt;
	text-shadow: -1px 0px 0px black, 1px 0px 0px black, 0px -1px 0px black, 0px 1px 0px black; 
	color: white;
}

#wa-cta-button {
	display: none;
}

.modal-closer {
	top: 6px;
	right: 6px;
	background-image: url('../img/close-white.svg') ! important;
}
