html, body{display: block; position: relative;margin: 0; padding: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 15px; overflow: hidden}
html{width: 100%;height: 100%; overflow: hidden;}
body{width: 100%;height: 100%; overflow: hidden;}

a{text-decoration: none; color: inherit;}
img{width: auto; height: auto; max-width: 100%; max-height: 100%; border: none}
input, button{border: none; padding: 0; margin: 0; appearance: normal; -webkit-user-select: text;}
button, input[type=submit]{padding: 6px 25px !important; border-radius: 2px !important;text-align: center; font-size: 15px; cursor: pointer; min-width: 200px;}
p{margin: 0; padding: 0; -webkit-margin-after: 0; -webkit-margin-before: 0;}


@font-face{
    font-family: "ArtBrushTilde";
    src: url("fonts/ArtBrushTilde.ttf") format('truetype');
}


/********* App body *********/
.welement{display:block; height: 100%; width: 100%;}
#wtop{top: 0; left: 0;}
#wbody{background-color: #F5F7FB; overflow: hidden; z-index: 0}  /** Pendiente de quitarlo **/


/***************************** Header *****************************/
/******************************************************************/
.headerBarMenuTopImage{display: block; width: 100%; height: 5px !important; background-image: url("./images/topbar.png");
						background-size: auto 5px; background-repeat: repeat-x; z-index: 1;}

/*****************/
/***** Loader ****/
#wtopLoaderContainer{display: block; position: relative; margin-top: 200px;}
#loadingWait{display: inline-block; position: relative; border: 8px solid #000; border-radius: 50%; border-top: 8px solid #efe31a;
	border-bottom: 8px solid #efe31a; width: 40px; height: 40px; -webkit-animation: spin 1000ms linear infinite;
	animation: spin 1000ms linear infinite;
}

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

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


/**************/
/**** Msg *****/
#wtop{display: none; position: absolute; z-index: 15;}
.wtop{display: none; position: absolute; z-index: 15;}
    #wtopOpacity{display: block; position: absolute; width: 100%; height: 100%; background-color: #eee; opacity: 0.7}
    .wtopOpacity{display: block; position: absolute; width: 100%; height: 100%; background-color: #eee; opacity: 0.7}
    #wtopContainer{display: block; position: relative; width: 100%; height: 100%; background-color: transparent; text-align: center;}
    .wtopContainer{display: block; position: relative; width: 100%; height: 100%; background-color: transparent; text-align: center;}
        .wtopMsgContainer{display: inline-block; position: relative; margin-top: 80px; min-width: 200px; max-width: 500px;
                         padding: 20px; background-color: #fff; overflow: auto;-webkit-box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.55);-moz-box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.55);
						box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.55);}
            .wtopMsgTextContainer{min-height: 50px;max-height: 200px; margin-bottom: 10px; text-align: left}
                #wtopMsgText{color: #111; font-size: 16px; line-height: 18px;}
                #wtopMsgText .wtopMsgTextImageContainer{width: 200px; height: auto; max-height: 150px; margin: 20px; text-align: center;}
                	#wtopMsgText img{max-height: 150px;}
                	#wtopMsgText a{color: #2a5a86 !important;}
            .wtopMessageButtonsContainer{display: block; position: relative;}
            	.wtopMessageButton{display: block; position: relative; padding: 5px 10px; margin: 5px auto 10px; min-width: 200px; font-size: 15px; background-color: #008F40; color: #fff;}
	            #wtopCloseButton{ background-color: #2a5a86; color: white}


#wrapper{display: block; position:relative; margin: 0}
    .wrapperElement{display: block; position: relative; width: 1900px;}
    .wrapperElement.unloggedWrapperElement{width: auto;}
    .wrapperElementSeparator{height: 10px; width: 100%; background-color: #1183B6;}
    #header{min-height: 50px; margin: 10px auto 5px; }
        .headerElement{display: inline-block;}
        #headerImageContainer{height: 100%;}
        #headerLogoContainer{display: inline-block; position: relative; height: 60px; margin: 0; padding: 0}
            .headerLogoImageContainer{display: inline-block; position: relative; height:100%; left: 0; margin-right: 0px;}
            #headerLogo_mecliq_high{height: 50px; width: auto;  margin-top: 10px; z-index: 0; }

        #headerMenuMovilContainer{display: none; float: right; width: auto; text-align: right; margin-top: 25px;}
        	#headerMenuMovilNameContainer{display: inline-block; margin-right: 10px; font-size: 18px; vertical-align: middle; color: #999;}
        	#headerMenuMovilIconContainer{display: inline-block; height: 30px; width: 30px; vertical-align: middle;}

        #headerMenuContainer{float: right; width: auto; text-align: right;}
            #headerMenu{display: block; position: relative; margin-top:6px;}
            	#closeHeaderMenuSelect{display: none;}
                .headerMenuLinkContainer{display: inline-block; margin-left: 15px; vertical-align: top; text-align: center;}
                    .headerMenuLink{display: inline-block; width: 100%; color: #babbbd; font-size: 12px;}
                    .headerMenuLinkSelected{color: #1183B6}
                        .headerMenuImageContainer{display: inline-block; height: 40px; width: 40px; margin: 0px auto 0px;}
                            .headerMenuImage{}
                        .headerMenuNameContainer{width: 100%;text-align: center; line-height: 1em; max-width: 55px;}
                            .headerMenuName{}

    #headerBarMenu{height:36px; font-size: 13px; margin: 0 auto;}
        #headerBarMenuSModeContainer{display: inline-block; padding: 6px 10px;}
            #userIndexNav{}
        #headerBarMenuIdentityContainer{}
            #userIdentityClose:hover{text-decoration: underline}

    #main{margin: 10px auto 40px;min-height: 400px;}

    #footer{display: none; position: relative; width: 900px; margin: auto; padding-bottom: 20px; font-size: 15px; color: #999;}



/** Login page **/
/*******************************************************************/

:root {
  --login-ink: #0F172A;
  --login-glass: rgba(255,255,255,.78);
  --login-shadow: 0 18px 50px rgba(15,23,42,.16);
  --login-shadowSoft: 0 10px 26px rgba(15,23,42,.10);
}

#wrapper.unloggedWrapper{height: 100%;}
main.unloggedWrapperElement{
  height: calc(100% - 33px);
  position: relative;
  overflow: hidden;
  background-color: #0a1628;
}

#loginBg{
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('https://storage.lewaterpolo.com/lewaterpolo_background.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

#mainContainer{
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

#unlogedFrame{
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

#loginFormContainer{
  width: min(420px, 92vw);
  padding: 22px 26px 18px;
  border-radius: 22px;
  background: var(--login-glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--login-shadow);
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px) scale(.985);
  transition: opacity .18s ease, transform .18s ease;
}

#loginFormContainer.loginReady{
  opacity: 1;
  transform: translateY(0) scale(1);
}

#unlogedCRMlogo{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 18px;
  height: auto;
  width: 100%;
}
#unlogedCRMlogo img{
  max-height: 64px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(15,23,42,.10));
}

#loginForm{
  display: grid;
  gap: 12px;
}

.loginFormField{
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--login-shadowSoft);
  margin: 0 !important;
}

.loginFormField .accessImage{
  width: 18px;
  height: 18px;
  opacity: .75;
  display: block;
  margin: 0 !important;
}

.loginFromInput{
  width: 100% !important;
  height: 36px;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: var(--login-ink);
  font-size: 14px;
  font-weight: 700;
  padding: 0 !important;
  margin: 0 !important;
}

.loginFromInput:-webkit-autofill{
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #081d3b !important;
}

.loginFromInput::placeholder{
  color: rgba(100,116,139,.85);
  font-weight: 700;
}

.loginFormField:focus-within{
  border-color: rgba(47,127,234,.35);
  box-shadow: 0 0 0 4px rgba(47,127,234,.14), var(--login-shadowSoft);
}

#buttonFormField{
  margin-top: 8px !important;
}

#loginFormAccessButton.submitButton{
  width: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  font-weight: 950 !important;
  font-size: 14px !important;
  cursor: pointer;
  color: #fff !important;
  background: linear-gradient(135deg, #081d3b, #143a78);
  box-shadow: 0 14px 34px rgba(8,29,59,.25);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

#loginFormAccessButton.submitButton:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(8,29,59,.32);
  filter: brightness(1.02);
}

#loginFormAccessButton.submitButton:active{
  transform: translateY(0px);
  box-shadow: 0 12px 28px rgba(8,29,59,.24);
}

@media screen and (min-width: 1025px){
  #unlogedFrame{ justify-content: flex-start; }
  #loginFormContainer{ margin-left: 80px; }
}

@media screen and (max-width: 768px){
  #loginFormContainer{ margin-top: 10px; border: none; box-shadow: none; width: auto !important; }
  #unlogedCRMlogo{ float: none; height: 60px; }
  #loginFormContainer form{ margin: 40px auto; }
}

