﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('switcher-resources/themes.css');

html,
body {
    height: 100%;
}

app > main {
    min-height: 93%;
    height: auto;
}

#footer {
    height: 4em;
}

a, .btn-link {
    color: #0366d6;
}

.card.card-horizontal {
    flex-direction: row;
    min-height: 150px;
    max-height: 250px;
    align-items: center;
}

.card-horizontal.card img {
    max-width: 130px;
    max-height: 130px;
    padding-left: 10px;
    padding-right: 10px;
    border-top-right-radius: 0;
    border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-horizontal.card.clickable:hover {
    border: 1px solid gray;
}

.clickable:hover {
    cursor: pointer;
}

@media only screen and (max-width: 768px) {
    .card-horizontal.card-body {
        padding: 0.5em 1.2em;
    }

    .card-horizontal.card img {
        width: 50%;
    }
}

@media only screen and (max-width: 1200px) {
    .card-horizontal.card img {
        width: 40%;
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.modal .modal-dialog {
    max-width: 60%;
}

.login-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    align-content: center;
    margin: 5% auto 0;
}

    .login-container .mdc-card {
        padding: 40px 30px;
        width: 500px;
    }

.login-container, .loading-container, .mdc-card {
    border-radius: 0 !important;
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
    width: 500px;
}

.mdc-text-field__input,
.mdc-text-field__icon--trailing,
.mdc-floating-label {
    color: inherit !important;
}

.mat-card.mdc-card, .mat-accordion, .mat-expansion-panel {
    background-color: inherit !important;
}

.GoogleGLogo {
    width: 20px;
    height: 20px;
}

@media (max-width: 576px) {
    .pop-up-phone {
        min-width: auto;
        justify-self: center !important;
    }
}

.pop-up-phone {
    max-width: 90%;
    min-width: 70%;
}

.button-spacing {
    margin-left: 10px;
}
