/* General */
@font-face {
    font-family: 'Vinci Sans Regular';
    src: url('fonts/vincisans/Vinci Sans Regular.otf') format('otf');
    font-weight: normal;
    font-style: normal;
  }

html, body {
    height: 100%;
    min-height: 100vh;
    font-size: 14px;
    overflow: hidden;
    color: #002549;
    font-family: 'Vinci Sans Regular', sans-serif;
    font-variant-ligatures: none;
}

a {
    color: #002549;
    text-decoration: underline;
}

input {
    width: 100%;
    height: 40px;
    padding-left:1rem;
    margin-bottom: 0.25rem;
    box-sizing: border-box;
}

input:hover {
    cursor: pointer;
}

/* Layout */
.center-segment {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.ui.divider {
    margin: 1rem;
}

.segment-form {
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.login-portal.layout main.center-segment {
    margin: 0;
    height: 100%;
}

.login-portal.layout main.center-segment > .ui.container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.login-portal.layout main.center-segment > .ui.container.medium {
    max-width: 100%;
}

.product-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 1rem 10em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.product-logo {
    height: 50px;
}

/* Main Section */
.login-container {
    display: grid;
    place-items: center;
    flex: 1;
}

.login-card {
    display: flex;
    min-width: 80vw;
    min-height: 40vh;
    margin-top: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: 10px 10px 59px rgba(0, 0, 0, 0.1);
}

.login-image {
    flex: 2;
    flex-shrink: 1;
    order: 2;
    position: relative;
}

.login-image img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.login-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 2.5rem;
    gap: 1rem;
}

.login-content h2 {
    font-size: 2rem;
    font-weight: 500;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    margin: 0 0 1rem 0;
}

/* Form */
.ui.form .field,
.ui.form .fields .ui.form {
    flex: 1;
    width: 100%;
    height: 100%;
    margin-bottom: 0.5em;
    box-sizing: border-box;
}

.ui.form {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* Checkbox Focus */
.checkbox input:focus {
    display: flex;
    border-color: #0066c9;
}

.checkbox{
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.checkbox input {
    margin-bottom: 0 !important;
    height: 20px !important;
}

.checkbox-container {
    display: flex;
    align-items: center;
    padding:0;
    margin: 0;
    gap: 0.5rem;
}

/* Row */
.row {
    display: flex;
    align-items: start;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
}


.button{
    border-radius: 2px;
}

/* Buttons */
.ui.primary.button{
    background-color: #002549;
    color: white;
    padding: 0.78571429em 1.5em;
    font-size: 14px;
    margin-bottom: 0.5em;
}

.ui.primary.button:hover{
    cursor: pointer;
    background-color: #012e5c;
}


.ui.secondary.button {
    background-color: #616161;
    color: white;
    padding: 0.78571429em 1.5em;
}

.ui.secondary.button:hover{
    cursor: pointer;
    background-color: #868686;
}

.ui.fluid.button,
.ui.fluid.buttons {
    width: 100%;
}

.button-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: end;
    gap: 0.2rem;
}

/* Responsive */
@media (min-width: 1200px) {
    .ui.container {
        width: 1127px;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .product-title {
        padding: 1rem 5vw;
    }
    .login-card {
        width: 90vw;
    }

    .ui.divider{
        margin: 0.15rem;
    }
}

@media (max-width: 992px) {
    .login-image {
        display: none;
    }

    .product-logo {
        height: 40px !important;
    }

    .product-title {
        padding: 0.5rem 2.5vw;
    }
    .login-card {
        width: 80vw;
    }

    .field,
    .input,
    input {
        width: 100% !important;
        height: 30px !important;
    }

    .ui.divider{
        margin: 0.15rem;
    }

    h2{
        padding: 0;
        margin: 0;
    }

    html{
        font-size: 10px !important;
    }
}
