﻿/* our new twyz-styles */
:root {
    --twyz-blue: #1D71B8;
    --twyz-white: #FFFFFF;
    --twyz-lightgrey: #DCDCDC;
    --twyz-darkgrey: #858585;
    --twyz-grey-border-form-elements: #AEAEAE;
    --twyz-lightgrey-border: var(--twyz-lightgrey);

    --icon-to-text-gap-buttons: 8px;
    --default-button-padding-horizontal: 16px;
    --form-element-height-default: 30px;
    --default-button-height: var(--form-element-height-default);
    --twyz-font-size-default: 12px;
    --form-element-border-radius: 4px;
    --twyz-font-family: "Roboto", sans-serif;

    --button-blue-background-color: var(--twyz-blue);
    --button-blue-border-color: var(--twyz-blue);
    --button-blue-font-color: var(--twyz-white);
}


body {
    font-family: var(--twyz-font-family, "Roboto", sans-serif);
}

* {
    font-family: var(--twyz-font-family, "Roboto", sans-serif);
}
   

.twyz-btn,
.RadButton.twyz-btn,
.rbButton.twyz-btn {
    background-color: unset;
    display: flex;
    align-content: center; 
    align-items: center; 
    gap: var(--icon-to-text-gap-buttons);
    cursor: pointer;
    padding: 0 var(--default-button-padding-horizontal);
    height: var(--default-button-height);
    border: 0;
    font-weight: 500;
    font-size: var(--twyz-font-size-default);
    text-align: center;
    text-decoration: none;
    border-radius: var(--form-element-border-radius);
    transition: none;
    text-transform: none;
    box-shadow: none;
    white-space: nowrap;
    border: 1px solid transparent;
    line-height: normal !important;
    font-family: var(--twyz-font-family) !important;
    width: fit-content;
}

twyz-btn:hover,
.twyz-btn.rbButton.RadButton_Bootstrap:hover {
    box-shadow: none;
    transition: none;
    color: inherit !important;
}

.twyz-btn.twyz-btn-blue,
.twyz-btn.twyz-btn-blue:hover {
    background-color: var(--button-blue-background-color) !important;
    color: var(--button-blue-font-color) !important;
    border: 1px solid var(--button-blue-border-color) !important;
}

.twyz-btn.disabled,
.twyz-btn:disabled,
.twyz-btn[disabled] {
    opacity: .6 !important;
    cursor: default !important;
}

.twyz-hide-empty-content:empty,
.twyz-hide-empty-content:empty *,
.twyz-hide-empty-content:-moz-only-whitespace,
.twyz-hide-empty-content:-moz-only-whitespace * {
  display: none;
}

/* custom new styles */
.twyz-form-outline-control.form-control {
    padding-bottom: 0;
    padding-top: 8px;
    border-bottom: 1px solid var(--twyz-grey-border-form-elements, #AEAEAE) !important;
}

.form-outline .form-control:focus ~ .form-notch .form-notch-trailing,
.form-outline .form-control:focus ~ .form-notch .form-notch-middle,
.form-outline .form-control:focus ~ .form-notch .form-notch-leading {
    box-shadow: none;
}


.form-control:focus {
    border: none;
}

.form-notch-leading {
	border: none !important;
}

.form-notch-middle,
.form-notch-trailing {
	border-top: none !important;
	border-color: var(--twyz-grey-border-form-elements, #AEAEAE) !important;
	border-width: 1px !important;
}

.form-notch-trailing {
	border-right: none !important;
	border-radius: 0 !important;
}

.form-control{
    border-bottom: 1px solid var(--twyz-grey-border-form-elements, #AEAEAE) !important;
    border-radius: 0;
    padding-left: 0 !important;
}

.form-outline .form-control ~ .form-label{
    left: 0;
	color: var(--twyz-darkgrey, #858585) !important;
}

.form-outline *{
	font-size: 14px !important;
}

form {
	margin:0;
}

.twyz-login-page {
	height:100vh;
	font-size: var(--twyz-font-size-default, 12px);
	display: flex;
	flex-direction: column;
}

.twyz-login-header,
.twyz-login-footer {
	display:flex;
	height: 60px;
}

.twyz-login-header-logo {
	max-width: 150px;
	height: 100%;
}

.twyz-login-content {
	display: flex;
	margin-top: auto;
	margin-bottom: auto;
}

.twyz-login-content > div {
	background-color: rgba(255,255,255,0.7);
}

.twyz-vertical-line {
	width: 0;
	padding: 0;
	margin: 0;
	margin-left: -1px;
	border-left: 1px solid var(--twyz-grey-border-form-elements, #AEAEAE);
}
.twyz-horizontal-line:after {
	content: "";
	margin-bottom: -1px;
	border-top: 1px solid var(--twyz-grey-border-form-elements, #AEAEAE);
	display: flex;
}

.twyz-btn {
	text-transform: uppercase;
	line-height: 2.4 !important;
}

h1 {
    font-size: 18px;
}

@media (min-width: 768px) {
  .container, .container-md, .container-sm {
    max-width: 720px;
  }
}
