body.login{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    /* background-color: #f5f5f5; */

    .logo{
        width: 306px;
    }

    form{
        width: 100%;
        max-width: 330px;
        padding: 15px;
        margin: 0 auto;

        .form-control {
            position: relative;
            box-sizing: border-box;
            height: auto;
            padding: 10px;
            font-size: 16px;
        }
    
        .form-control:focus {
            z-index: 2;
        }
    
        input[type="text    "] {
            margin-bottom: -1px;
            border-bottom-right-radius: 0;
            border-bottom-left-radius: 0;
        }
    
        input[type="password"] {
            margin-top: -1px;
            margin-bottom: 10px;
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }

        button{
            width: 100%;
        }

    }

}

html,
body {
    height: 100vh;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

input,
.btn,
.input-group-text{
    border-radius: 0 !important;
}

.hidden{
    display:none !important;
}

.tab-pane{
    padding-top: 10px;
}

.table {

    margin-bottom: 0;
    
    tr {
        td:last-child{
            width: 162px;
        }
    }

    tr.editable{
        cursor: pointer;        
        &.active,
        &:hover{
            td{
                background: #0d6efd3b;
            }
        }

        &.nohover {
            cursor: default;
            &:hover {
                td {
                    background: inherit;
                }   
            }
        }
    }

    tr.addInputRow{
        td {
            padding:0;
            input[type="text"]{
                border: none;
            }
        }
    }

    &.domains{
        a{
            text-decoration: none;
            color: inherit;
            span{
                display:none;
            }

            &:hover{
                span{
                    display:inherit;
                }
            }
        }
    }
}

.card {
    border-radius: 0;
    &.small{
        .card-header{
            padding: 2px 6px;
        }
        .card-body{
            padding: 4px 6px;
        }
    }
    &.boldBorder{
        border-width: 2px;
    }
}

.select2{
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    .select2-selection{
        border-radius:0;
        border-color: #dee2e6;
        textarea{
            font-family: inherit !important;
            color: var(--bs-body-color);
            margin-left: 8px !important;
            height: 20px !important;
        }
    }
}

.checkboxRow{

    display: flex;
    align-items: center;
    column-gap: 8px;

    .form-label{
        margin: 0;
        width: 100%;
    }
}

.tox-tinymce{
    border-radius: 0 !important;
    .tox-statusbar__branding{
        display: none;
    }
}

.fullWidth{
    width: 100%;
}

.btn-with-preloader{
    display: flex;
    align-items: center;
    justify-content: center;

    &:disabled{
        .lds-dual-ring{
            display: inline-block;
        }
    }
}

.noPostsAvailableMessage{
    font-weight: bold;
    text-align: center;
    display: block;
}

.hover{
    cursor: pointer;
}

/* #region preloader */

.lds-dual-ring,
.lds-dual-ring:after {
    box-sizing: border-box;
}

.lds-dual-ring {
    display: none;
    color: #1c4c5b;
    width: 20px;
    height: 20px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 14px;
    height: 14px;
    margin: 4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-color: currentColor transparent currentColor transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* #endregion */

/* #region modal */
.modal.fade .modal-dialog {
    transition: transform 0.15s ease-out;    
}
.modal-custom-size {
    width: 80vw;
    max-width: 80vw;
    height: 90vh;
    max-height: 90vh;

    .modal-content {
        height: 100%;
        .modal-body{
            overflow-y:auto
        }
    }
}
/* #endregion */

