@import './vars';

body {
    font-family: $font-family;
}

// color classes

pre code {
    direction: ltr;
    font-size: 15px !important;
}

.img-responsive {
    margin: auto;
}

.flex {
    display: flex;
}

a:hover,
a:focus {
    text-decoration: none;
}

.inline-block {
    >* {
        display: inline-block;
        vertical-align: middle;

        @media (max-width: 768px) {
            display: block;
        }
    }
}

[class^="l-"] {
    height: 100%;
    min-height: 80vh;
}

.bg-secondary {
    background-color: $th-secondary;
}

.bg-primary-disabled {
    background-color: #F6F9F8;
}

.text-secondary {
    color: $th-secondary;
}

.text-disabled {
    opacity: 0.65;
}

.btn-outline {
    background-color: transparent;
    color: inherit;
    transition: all .5s;
    border: 1px solid;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

.breadcrumb {
    padding: 0;
    margin: 0;
    background: 0;
    border-radius: 0;
}

.table {
    margin-bottom: 24px;
}

.pagination {
    margin: 0;
}

.btn {

    i,
    .fa {
        font-size: 59%;
        margin: 0 3px;
    }
}

.panel {
    border: 0;
    box-shadow: none !important;
}

.label {
    border-radius: 1em;
}

.btn {
    line-height: 1.5;
    font-size: 16px;
}

.btn-lg,
.btn-group-lg>.btn {
    padding: 7px 31px;
}

.form-control {
    box-shadow: initial;
}

.modal-header {
    border-bottom: 0;
    font-weight: bold;

    .modal-title {
        font-weight: bold;
    }

    .close {
        color: $th-primary;
        background-color: #d5e0df;
        border-radius: 50%;
        opacity: 1;
        text-shadow: none;
        height: 32px;
        width: 32px;
        font-size: 22px;
        font-weight: normal;
        padding-top: 0;
        font-family: tahoma
    }
}

.bg-white {
    background-color: #fff;
}

.bg-primary-disabled {
    background-color: $th-primary-disabled;
}

table {
    tr {
        &.primary {
            >td {

                background-color: #EBF3F1;
            }
        }
    }
}

.code-container {
    direction: ltr;

    code {
        display: none;
    }

    h6 {
        &:hover {
            cursor: pointer;
        }
    }
}

.pos-absolute {
    position: absolute;
}

.pos-relative {
    position: relative;
}

.text-normal {
    font-weight: normal;
}

.rtl {
    direction: rtl;

    [class^='col-'],
    [class*='col-'] {
        float: #{$right};
    }

    .pull-left {
        float: #{$right} !important;
    }

    .pull-right {
        float: #{$left} !important;
    }
}

[class^='pos-'],
[class*='pos-'] {
    &.right {
        #{$right}: 0;
    }

    &.left {
        #{$left}: 0;
    }

    &.top {
        top: 0
    }

    &.bottom {
        bottom: 0;
    }
}

.no-margin {
    margin: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.dis-block {
    display: block;
}

.dis-inline-block {
    display: inline-block;
}

.dis-inline {
    display: inline;
}

.dis-flex {
    display: flex;
}

.hr__primary_disabled--dashed {
    margin: 10px 0;

    border-top: 2px dashed $th-primary-disabled;
}

.circle {
    border-radius: 50%;
}

.fa {
    font-family: FontAwesome !important;
}