/*
 * This file is part of  the extension: Ebla Theme
 * Copyright (c) Eblasoft Bilisim Ltd.
 *
 * This Software is the property of Eblasoft Bilisim Ltd. and is protected
 * by copyright law - it is NOT Freeware and can be used only in one project
 * under a proprietary license, which is delivered along with this program.
 * If not, see <http://eblasoft.com.tr/eula>.
 *
 * This Software is distributed as is, with LIMITED WARRANTY AND LIABILITY.
 * Any unauthorised use of this Software without a valid license is
 * a violation of the License Agreement.
 *
 * According to the terms of the license you shall not resell, sublicense,
 * rent, lease, distribute or otherwise transfer rights or usage of this
 * Software or its derivatives. You may modify the code of this Software
 * for your own needs, if source code is provided.
 */

@media screen and (min-width: 768px) {
    body[data-navbar=side].minimized.side-menu-opened #navbar>.navbar {
        box-shadow: unset;
        z-index: 2150 !important;
    }
}

@media screen and (max-width: 767px) {
    #navbar .navbar .navbar-nav>li>a {
      line-height: 30px;
    }
}


.nav navbar-nav tabs{

width: 100%;

}

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: rgba(255, 255, 255, .15) !important;
    border-color: var(--link-color);
}

@media screen and (min-width: 768px) {
    body[data-navbar=side].minimized>.side-menu-backdrop {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 2140;
        height: 100%;
        margin-left: 0px;
    }
}

@media screen and (min-width: 768px) {
    body[data-navbar=side] #navbar .navbar-right, body[data-navbar=side].minimized.side-menu-opened #navbar .navbar-right {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-end;
        position: fixed;
        bottom: var(--20px);
        top: 0;
        left: 0;
        height: var(--top-bar-height);
        width: calc(100vw - var(--18px));
        background-color: var(--navbar-bg);
        margin-left: 214px;
        padding-right: var(--navbar-width);
    }
}

.record .record-grid{
  max-width: 100% !important;
}

@media screen and (min-width: 768px) {
    body[data-navbar=side].has-navbar>.content {
        padding-left: 229px;
        max-width: 1714px;
    }
}

body .panel-default>.panel-heading {
    color: black;
    background-color: var(--panel-default-bg);
    border-color: transparent;
}

img.avatar {
    border-radius: 50%;
    user-select: none;
    width: 20px !important;
}

img.avatar.avatar-link {
    margin-top: 0;
    top: var(--1px)
}


.pagination {
  float: right;
  display: block;
  margin: 0;
}

.btn-group, .btn-group-vertical {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}



.navbar-logo-container {
    padding: 0 4px;
}

span.top-nav-welcome-msg {
    color: #fff;
    margin-top: 5px;
}

.panel-heading {
    border-bottom-width: 0;
}

.panel-title {
    font-size: 15px;
    line-height: 17px;
}

.panel-heading > .btn-group {
    top: -5px;
    right: -10px;
}

.panel-heading > .btn-group > .btn {
    padding-top: 4px;
    padding-bottom: 4px;
}

.note-editor > .panel-heading > .btn-group > .btn {
    padding-top: 5px;
    padding-bottom: 5px;
}

.panel.sticked > .panel-heading .btn-group {
    top: -4px;
}

table td.cell-nowrap,
table th.cell-nowrap {
    white-space: nowrap;
}

body > .login-wrapper > #login.panel > .panel-heading {
    margin: 0 !important;
}

/* login */
.login-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center;
    background-size: cover;

    height: 100%;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper:before {
    background: var(--brand-primary);
    opacity: 0.3;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: " ";
}

body > .login-wrapper > #login {
    position: relative;
    max-width: 60%;
    width: auto;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 30px 50px 30px;
    border-radius: 10px;
}

body > .login-wrapper > #login .logo-container {
    width: 100% !important;
    height: auto !important;
    text-align: center;
}

body > .login-wrapper > #login .form-control {
    font-size: 16px;
    padding: 0px;
    padding-left: 15px;
}

#btn-login {
    height: 36px;
    margin-top: 30px;
}

body > .login-wrapper > #login a.btn.btn-link.btn-block {
    color: #fff;
    padding: 11px;
}

@media (max-width: 767px) {
    body > .login-wrapper > #login {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
    }
}

body > .login-wrapper > #login > .login-inner {
    width: 430px;
    max-width: 100%;
    margin: auto;
}

body > .login-wrapper > #login .logo-container img.logo {
    max-width: 70%;
    margin-bottom: 18px;
}

body > .login-wrapper > #login label {
    font-weight: normal;
}

.reset-password-link {
    display: block;
    text-align: center;
    padding-top: 12px;
}

.reset-password-link:hover {
    color: white;
}

li.not-in-more.tab.tab-group.dropdown.open ul.dropdown-menu, li.dropdown.more.open ul.dropdown-menu.more-dropdown-menu {
    background-color: var(--navbar-inverse-bg) !important;
}
