@charset "utf-8";
/*!
 * custom.css
 * Webkokteyli - 2020
 */

body{
    font-family: 'Roboto', sans-serif;
    background-color: #eee;
    -webkit-font-smoothing: antialiased;
    /* overflow: hidden; */
    /* height: 100%; */
    /* width: 100%; */
    /* height: 100vh; */
    /* width: 100vw; */
    overflow: hidden;
}

/* button */
.btn-wk {
    color: #fff;
    background-color: #406ca9;
    border-color: #406ca9;
}
.btn-wk:hover,
.btn-wk:active,
.btn-wk:focus,
.btn-wk:hover {
    color: #fff;
    background-color: #35598c;
    border-color: #35598c;
}
.btn-positive {
    background-color: #9de097;
    border-color: #97da91;
}
.btn-negative {
    background-color: #fd9688;
    border-color: #fb9688;
}
.btn-positive,
.btn-negative{
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}
.btn-warning-2 {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}
.btn-warning-2:hover,
.btn-warning-2:active,
.btn-warning-2:focus,
.btn-warning-2:hover {
    color: #fff !important;
    background-color: #ec971f;
    border-color: #ec971f;
}

/* login page */
.pcn-form {
    margin-bottom: -10px;
}
.login-page {
    width: 100%;
    height: 100%;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    background-color: #fff;
    position: relative;
}
.login-page:before,
.login-page:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 350px;
    height: 350px;
    background-image: url(../images/login/bg-top-left.png);
    background-repeat: no-repeat;
    /* background-size: contain; */
    background-position: top left;
}
.login-page:after {
    top: auto;
    left: auto;
    right: 0;
    bottom: 0;
    background-image: url(../images/login/bg-bottom-right.png);
    background-position: bottom right;
}
.login-page .login-bg {
    width: 100%;
    height: 100%;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    position: absolute;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.4);
    /* background-color: rgba(255, 255, 255, 0.8); */
}
.login-page .login-wrapper {
    z-index: 2;
    position: relative;
    width: 100%;
    height: 100%;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    /* justify-content: flex-end; */
    align-items: center;
}
.login-page .login-card {
    /* margin-right: 10vw; */
    width: 90%;
    max-width: 360px;
}
.login-page .login-card .card {
    border-radius: 4px;
    border: 1px solid #e9e9e9;
    box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.1);
    transition: box-shadow .2s ease-in-out;
}
.login-page .login-card .card:hover {
    box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1);
}
.login-page .login-card .card-body {
    padding: 2rem;
}
.login-page .login-card-logo {
    text-align: center;
    margin-bottom: 2.5rem;
}
.login-page .login-card-logo img {
    max-width: 220px;
    max-height: 90px;
}
.form-group:last-child {
    margin-bottom: 0;
}
.login-page .login-card-form label {
    font-weight: 500;
    font-size: 0.9rem;
    /* display: none; */
    margin-left: 1px;
}
.login-page .login-card-form input {
    border-radius: 2px;
    border: 1px solid #e9e9e9;
    padding: 1rem;
    height: 48px;
}
.login-page .login-card-form button {
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: #406ca9;
    border-color: #406ca9;
}
.login-page .login-card-form button:hover {
    background-color: #35598c;
}

/* admin area */
.admin-panel-wrapper {
    display: flex;
}

/* topbar */
.topbar{
    background-color: #fff;
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem 0 1rem;
    user-select: none;
}
.topbar .topbar-menu-collapse button {
    background: transparent;
    border: 0;
    color: #2c343b52;
    outline: transparent;
}
.topbar .topbar-tools {
    font-size: 0.9rem;
    color: rgba(102, 102, 102, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.topbar .topbar-tools img {
    height: 22px;
    width: 22px;
    object-fit: cover;
    object-position: 50%;
    border-radius: 50%;
    background-color: #fff;
    filter: brightness(0.95);
    margin-right: 0.6rem;
}
/* .topbar .topbar-menu-collapse {
    
} */
.topbar .topbar-tools > div:not(:first-child) {
    margin-left: 1.5rem;
    /* border-left: 1px solid #ddd; */
    padding-left: 1.5rem;
    position: relative;
}
.topbar .topbar-tools .external i {
    font-size: 0.6rem;
    display: inline-block;
    margin-left: 0.3rem;
}
.topbar .topbar-tools .user span {
    display: inline-block;
    height: 22px;
    display: flex;
    align-items: center;
}
.topbar .topbar-tools > div:not(:first-child):before {
    content: "";
    display: block;
    height: 14px;
    border-right: 1px solid #e6e6e6;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -7px;
}

/* menu area */
.menu-area {
    /* width: 100%; */
    height: 100%;
    /* width: 100vw; */
    height: 100vh;
    width: 230px;
    /* min-width: 230px; */
    background-color: #2c343b;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    z-index: 11;
    left: 0;
    transition: left .2s cubic-bezier(0.2, 1, 0.8, 1);
    overflow-y: auto;
}
.menu-area::-webkit-scrollbar {
    width: 5px;  /* for vertical scrollbars */
    height: 5px; /* for horizontal scrollbars */
}
.menu-area::-webkit-scrollbar-track {
    background: rgb(0 0 0 / 0%);
}
.menu-area::-webkit-scrollbar-thumb {
    background: rgb(0 0 0 / 10%);
}
.menu-area a {
    color: rgba(224, 224, 224, 0.95);
}
.menu-area .logo-area {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    height: 60px;
    background-color: #414754;
    /* border-bottom: 2px solid #2d353c; */
    padding-left: 1.3rem;
    /* margin-bottom: 0.5rem; */
}
.menu-area .logo-area img {
    max-width: 120px;
    max-height: 40px;
    margin-right: 0.7rem;
}
.menu-area .admin-menu ul {
    margin: 0;
    list-style: none;
    padding: 0;
}
.menu-area .admin-menu ul li {
    padding: 0 0 0 1rem;
}
.menu-area .admin-menu ul li li li {
    padding: 0 0 0 1.6rem;
}
.menu-area .admin-menu>ul>li {
    border-left: 3px solid transparent;
    padding: 0 0 0 1.2rem;
    /* border-bottom: 1px solid #2c343b; */
}
.menu-area .admin-menu>ul>li>ul {
    padding-bottom: 0.6rem;
    display: none;
}
.menu-area .admin-menu>ul>li.uncollapsed,
.menu-area .admin-menu>ul>li:hover{
    border-left: 3px solid #3274b0;
    background-color: #262c31;
    /* opacity: 1; */
}
.menu-area .admin-menu ul li a {
    height: 32px;
    display: flex;
    align-items: center;
    /* padding: 1rem 0; */
    font-size: 0.82rem;
    border: 0;
    position: relative;
    opacity: 0.86;
}
.menu-area .admin-menu>ul>li>a {
    /* text-transform: uppercase; */
    height: 52px;
    /* display: flex; */
    /* align-items: center; */
    /* padding: 1rem 0; */
    font-size: 0.94rem;
    /* border: 0; */
    /* border-left: 3px solid transparent; */
    /* position: relative; */
    opacity: 0.9;
}
.menu-area .admin-menu>ul>li a:hover {
    opacity: 1;
}
.menu-area .admin-menu>ul>li>a.parent:after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    transform: rotate(135deg);
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -3px;
    opacity: 0.4;
}
.menu-area .admin-menu>ul>li.uncollapsed>a:after{
    transform: rotate(45deg);
    opacity: 0.8;
}
.menu-area .admin-menu ul>li>a i {
    margin-right: 0.2rem;
    min-width: 22px;
    opacity: 0.9;
}
.menu-area .admin-menu>ul>li>a i {
    font-size: 1rem;
    margin-right: 0.5rem;
}
/* tree */
.menu-area .admin-menu ul li ul li ul li a:before {
    content: "";
    position: absolute;
    height: 100%;
    border-left: 2px solid rgb(255 255 255 / 10%);
    left: -19px;
}
.menu-area .admin-menu ul li ul li ul li a:after {
    content: "";
    display: block;
    position: absolute;
    width: 8px;
    border-bottom: 2px solid rgb(255 255 255 / 10%);
    left: -17px;
}
.menu-area .admin-menu ul li ul li ul li:last-child a:before {
    height: 52%;
    top: 0px;
}
.menu-area .logo-area > a {
    display: inline-flex;
}
.menu-area .logo-area > a p span {
    display: block;
}
.menu-area .logo-area > a p {
    margin: 0;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.2px;
    line-height: 1.4;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1px;
}
.menu-area .logo-area > a p span:last-child {
    font-size: 0.7rem;
    opacity: 0.6;
}
.menu-tools .logout button {
    height: auto;
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
    width: 100%;
    background-color: transparent;
    border-color: #4a4f54;
}
/* .menu-tools .logout {
} */
.menu-tools .form-group {
    margin: 0 0 10px;
}
.menu-tools {
    padding: 1rem;
}
.menu-tools .logout button:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.collapsed .menu-area {
    left: -230px;
}

/* menu collapse - uncollapse */
.menu-area .admin-menu>ul>li.uncollapsed>ul {
    display: block;
}
.menu-area .admin-menu>ul>li.active.collapsed>ul {
    display: none;
}

/* content */
.content-area {
    width: 100%;
    max-width: 100%;
    width: 100vw;
    max-width: 100vw;
    padding-left: 230px;
    height: 100vh;
    transition: padding-left .2s cubic-bezier(0.2, 1, 0.8, 1);
}
.content-area .scrollable-area {
    height: 100vh;
    max-height: 100vh;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}
.collapsed .content-area {
    padding-left: 0;
}

/* separator */
.separator {
    background-color: #406ca9;
    background-image: url(../images/separator/light-overlay.png);
    background-size: 55%;
    height: 170px;
    display: flex;
    align-items: center;
    user-select: none;
}
.separator > h1 {
    margin-left: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 21px;
    font-size: 1.32rem;
    font-weight: 400;
    margin-bottom: 50px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.separator > h1 > i {
    font-size: 16px;
    margin-right: 0.6rem;
    /* opacity: 0.8; */
    margin-bottom: 1px;
}


/* table custom */
.tables-area {
    padding: 0 1.5rem;
    padding-bottom: 1.5rem;
}


/*
 *  XCRUD
 *  
 *  Xcrud için özel tanımlamalar.
 */
 /* wrapper */
.xcrud-wrapper {
    position: relative;
    margin-top: -56px;
}

/* buttons */
.xcrud-wrapper .btn, .xcrud-wrapper .btn-group>button, .xcrud-wrapper .btn-group>a{
	border-radius: 2px;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	max-height: 39px;
	overflow: hidden;
}
.xcrud-wrapper .btn:active,
.xcrud-wrapper .btn:focus,
.xcrud-wrapper .btn.active{
	box-shadow:none;
    background-color: #eee;
    border-color: #eee;
}
.xcrud-wrapper .tools .btn:not(:last-child) {
    margin-right: 0.3rem;
}
.xcrud-wrapper .btn i {
    margin-right: 0.4rem;
}

/* inputs */
.xcrud-wrapper input,
.xcrud-wrapper select,
.xcrud-wrapper textarea {
    height: 39px;
    border-radius: 2px;
    border: 1px solid #eee;
    padding: 0 1rem;
    font-size: 0.9rem;
}
.xcrud-wrapper textarea {
    height: auto;
    padding: 0.7rem 1rem;
}
.xcrud-wrapper input[readonly],
.xcrud-wrapper select[readonly],
.xcrud-wrapper textarea[readonly],
.xcrud-wrapper input[disabled],
.xcrud-wrapper select[disabled],
.xcrud-wrapper textarea[disabled] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* ajax */
.xcrud-ajax {
    font-size: 0.86rem;
    color: rgba(33, 37, 41, 0.8);
}

/* list container */
.xcrud-list-container, .xcrud-view {
    background-color: #fff;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.06);
}

/* top area */
.xcrud-top-actions {
    position: absolute;
    width: 100%;
    top: -73px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.xcrud-top-actions input,
.xcrud-top-actions select,
.xcrud-top-actions textarea {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.07);
}
.xcrud-top-actions .search-bar {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}
.xcrud-top-actions .search-bar .xcrud-search-toggle {
    display: none;
}
.xcrud-top-actions .search-bar .xcrud-search {
    display: block !important;
}
.xcrud-top-actions .search-bar .xcrud-search > * {
    margin-left: 0.2rem;
    float: left;
}
.xcrud-top-actions > .clearfix {
    position: absolute;
}
.xcrud-top-actions .tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* position: absolute; */
    /* right: 0; */
    z-index: 1;
}
/* bottom */
.xcrud-bottom-actions {
    padding: 1rem 0;
    justify-content: flex-end;
    display: flex;
}
.xcrud-bottom-actions a{
    margin-bottom: 0.4rem;
}

/* renkli */
.xcrud-top-actions .btn,
.xcrud-top-actions .btn:active,
.xcrud-top-actions .btn:focus {
    background-color: #4670a9;
    color: #fff;
    border-color: #7a97bd;
}
.xcrud-top-actions .btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: #6b6b6b;
    border-color: rgba(255, 255, 255, 0.95);
}
.xcrud-top-actions .search-bar .btn {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}
.xcrud-top-actions .search-bar .btn:hover {
    background-color: rgba(255, 255, 255, 0.86);
    color: #212529;
}
/* .xcrud-top-actions .btn:hover i{
    transition: color .15s ease-in-out,
    background-color .15s ease-in-out,
    border-color .15s ease-in-out,
    box-shadow .15s ease-in-out;
} */
/* .xcrud-top-actions .btn[data-task=create]:hover i{
    color: #507dbb;
    background-color: #507dbb;
    border-color: #507dbb;
}
.xcrud-top-actions .btn[data-task=print]:hover i{
    color: #83919e;
    background-color: #83919e;
    border-color: #83919e;
}
.xcrud-top-actions .btn[data-task=csv]:hover i{
    color: #4e982e;
    background-color: #4e982e;
    border-color: #4e982e;
} */

/* tables */
.xcrud-ajax .xcrud-list-container table{
	margin:0;
	background-color: #fff;
	color: rgba(0, 0, 0, 0.87);
	font-size: 13px;
}
.xcrud-ajax .xcrud-list-container table tr {
    border-bottom: 1px solid #e0e0e0;
    border-bottom: 1px solid #e9e9e9;
}
.xcrud-ajax .xcrud-list-container table tbody tr:hover {
    background-color: #eee;
}
.xcrud-ajax .xcrud-list-container table tr th {
    border: none;
    height: 56px;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.62);
    text-align: left;
    padding: 0 24px;
}
.xcrud-ajax .xcrud-list-container table tr th.xcrud-actions {
    /* width: auto; */
    width: 1px;
}
.xcrud-ajax .xcrud-list-container table tr td {
    height: 54px;
    vertical-align: middle;
    padding: 0 24px;
    text-align: left;
    border: none;
}
.xcrud-ajax .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: transparent;
}
.xcrud-ajax .xcrud-list-container table tbody tr td img {
    margin: 5px 0;
    max-height: 50px !important;
    max-width: 100px;
}
/* .xcrud-ajax .xcrud-list-container table tr:hover .btn-default {
    border: 1px solid #ccc;
} */

/* row */
.xcrud-row .btn-group > a {
    width: 34px;
    height: 31px;
    padding: 0;
    font-size: 11px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: .04s;
    border-radius: 4px;
}
.xcrud-row .btn-group > a > i {
    margin: 0;
}
.xcrud-row:not(:hover) .btn-group > a {
    background-color: #fff;
    border-color: #fff;
    color: rgba(144, 144, 144, 0.9);
}
/* extra butonlar */
.xcrud-row .btn-group > a.btn.btn-default {
    margin-right: 0.2rem;
    border-radius: 4px !important;
}
.xcrud-row .btn-group > a.btn.btn-default + a.btn:not(.btn-default) {
    margin-left: 1rem;
}
.xcrud-row .btn-group > a.btn.btn-default + a.btn {
    border-radius: 4px 0 0 4px;
}

/* bottom nav */
.xcrud-nav {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}
.btn-group.xcrud-limit-buttons .btn {
    border: 1px solid #e9e9e9;
    height: 34px;
    line-height: 1;
    font-size: 0.84rem;
    background-color: #fff;
}
/* pagination */
.xcrud-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 1.2rem;
}
.xcrud-nav ul li {
    display: inline-block;
}
.xcrud-nav ul li a,
.xcrud-nav ul li span {
    border: 1px solid #e9e9e9;
    height: 33px;
    line-height: 1;
    font-size: 0.84rem;
    background-color: #fff;
    border-radius: 0;
    padding: 0.54rem 1rem;
    font-size: 0.9rem;
    /* max-height: 33px; */
    overflow: hidden;
    border-right: 0;
    display: inline-block;
    margin-top: 4px;
    font-size: 0.84rem;
}
.xcrud-nav ul li:last-child a,
.xcrud-nav ul li:last-child span {
    border-right: 1px solid #e9e9e9;
}
.xcrud-nav ul li span {
    color: #212529;
    background-color: #dae0e5;
    border-color: #d3d9df;
    cursor: pointer;
}

/* view */
.xcrud-view {
    padding: 2rem 2rem 0.5rem;
}
.xcrud-view .table tr:first-child td,
.xcrud-view .table tr:first-child th {
    border-top: 0;
}
.xcrud-view .form-material .form-group {
    display: flex;
    /* align-items: center; */
    margin-bottom: 2rem;
}
.xcrud-view .form-material .form-group > label {
    width: 210px;
    width: 12.6vw;
    font-weight: 600;
    padding-top: 0.63rem;
}
.xcrud-view .form-material .form-group > div {
    width: 100%;
}
.xcrud-view .form-material .form-group > div > * {
    width: 100%;
    max-width: 100%;
}
.xcrud-view .form-material .form-group > div > input,
.xcrud-view .form-material .form-group > div > textarea,
.xcrud-view .form-material .form-group > div > select {
    height: 42px;
    border: 0;
    border-radius: 0;
    outline: transparent;
    background-color: #fbfbfb;
    border-bottom: 1px solid #ececec;
    transition: border-bottom .15s ease-in-out;
}
.xcrud-view .form-material .form-group > div > input.validation-error,
.xcrud-view .form-material .form-group > div > textarea.validation-error,
.xcrud-view .form-material .form-group > div > select.validation-error{
    background-color: #fbe6e6;
    border-bottom: 1px solid #d89292;
}
.xcrud-view .form-material .form-group > div > input:focus,
.xcrud-view .form-material .form-group > div > textarea:focus,
.xcrud-view .form-material .form-group > div > select:focus {
    border-bottom: 1px solid rgb(153, 169, 191);
}
.xcrud-view .form-material .form-group > div > select{
    width: auto;
    min-width: 260px;
}
.xcrud-view .form-material .form-group > div > select[multiple],
.xcrud-view .form-material .form-group > div > textarea{
    height: auto;
    min-height: 120px;
    min-height: 7.5rem;
    padding: 0.8rem 1rem;
}
/* sadece hızlı görüntüleme */
.xcrud-view .view-mode.form-material .form-group{
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9e9e9;
}
.xcrud-view .view-mode.form-material .form-group:first-child {
    border-top: 0;
    padding-top: 0;
}
.xcrud-view .view-mode.form-material .form-group > div{
    padding-top: 0.63rem;
}

/* disabled */
.xcrud-ajax .xcrud-list-container table tbody tr td.row-disabled {
    background-color: #ffdfdf;
    border-top: 1px solid #ecc9c9;
    color: #b36161;
    font-style: italic;
}
.xcrud-ajax .xcrud-list-container table tbody tr:last-child td.row-disabled {
    border-bottom: 1px solid #ecc9c9;
}
.xcrud-row:not(:hover) td.row-disabled .btn-group > a {
    background-color: transparent;
    border-color: transparent;
    color: #d09999;
}

/* warning */
.xcrud-ajax .xcrud-list-container table tbody tr td.row-warning {
    background-color: #fff9df;
    border-top: 1px solid #f7eab3;
    color: #a27a50;
    font-style: italic;
}
.xcrud-ajax .xcrud-list-container table tbody tr:last-child td.row-warning {
    border-bottom: 1px solid #f7eab3;
}
.xcrud-row:not(:hover) td.row-warning .btn-group > a {
    background-color: transparent;
    border-color: transparent;
    color: #b9965b;
}

/* success */
.xcrud-ajax .xcrud-list-container table tbody tr td.row-success {
    background-color: #ebf9d8;
    border-top: 1px solid #d8e8c1;
    color: #5a5a5a;
    font-weight: 500;
}
.xcrud-ajax .xcrud-list-container table tbody tr:last-child td.row-success {
    border-bottom: 1px solid #d7ecb7;
}
.xcrud-row:not(:hover) td.row-success .btn-group > a {
    background-color: transparent;
    border-color: transparent;
    color: #607d36;
}

/* files and images */
.xcrud-view .form-material .form-group > div > img,
.xcrud-upload-container img.img-thumb {
	max-height: 40vh;
	max-width: 40vw;
	width: auto;
	/* width: 100%; */
	/* height: 100%; */
	background-color: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 2px;
	padding: 0.5rem;
	margin-right: 1rem;
}
/* .xcrud-upload-container .btn-group {
    border-radius: 2px;
    overflow: hidden;
} */
.xcrud-upload-container .btn-group a {
    margin: 0;
    background-color: #ff6e6e;
    color: #fff;
}
.xcrud-upload-container span.xcrud-add-file.btn {
    margin: 0;
    border: 1px solid #ddd;
    overflow: hidden;
}
.xcrud-upload-container .xcrud-add-file input {
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0;
    width: 200%;
    height: 100%;
    opacity: 0;
    background-color: #ddd;
}
.xcrud-upload-container .btn-group span.xcrud-noimage,
.xcrud-upload-container .btn-group span.xcrud-nofile {
    border-radius: 2px 0 0 2px;
    padding: 7px 1rem;
    float: right;
    color: #999;
    /* font-style: italic; */
    margin: 0;
    background-color: #ff6e6e;
    color: #fff;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* navbar */
.xcrud-tabs {
    margin-top: -2rem;
}
.xcrud-tabs .nav-tabs {
    margin-left: -2rem;
    margin-right: -2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f5f5f5;
    border-bottom: 0;
}
.xcrud-tabs .nav-tabs a {
    padding: 0 2rem;
    margin: 0 1rem;
    display: inline-flex;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid transparent;
    padding-top: 6px;
    font-weight: 500;
    /* letter-spacing: 0.3px; */
    text-transform: uppercase;
    color: rgba(113, 113, 113, 0.62);
}
.xcrud-tabs .nav-tabs a.active {
    border-bottom: 3px solid #5c86bf;
    /* border-bottom: 3px solid #666; */
    font-weight: 500;
    color: #4770a9;
    /* color: inherit; */
}

/* xcrud nested iç içe tablolar */
.xcrud-ajax .xcrud-ajax {
    position: relative;
}
.xcrud-ajax .xcrud-ajax .xcrud-top-actions {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin-bottom: 2rem;
}
.xcrud-ajax .xcrud-ajax .xcrud-top-actions .btn {
    border-color: #4670a9;
}
.xcrud-ajax .xcrud-ajax .xcrud-top-actions input,
.xcrud-ajax .xcrud-ajax .xcrud-top-actions select,
.xcrud-ajax .xcrud-ajax .xcrud-top-actions textarea {
    border-color: #ddd;
}
.xcrud-ajax .xcrud-ajax .xcrud-top-actions .search-bar .btn {
    background-color: #4670a9;
}
.xcrud-ajax .xcrud-ajax .xcrud-top-actions .search-bar .btn:hover {
    background-color: transparent;
}
.xcrud-ajax .xcrud-ajax .xcrud-top-actions .btn:hover {
    color: #4670a9;
}
.xcrud-ajax .xcrud-ajax .xcrud-list-container, .xcrud-ajax .xcrud-ajax .xcrud-view {
    box-shadow: none;
    border: 1px solid #ebebeb;
    margin-bottom: 2rem;
}
/* xcrud google maps location point */
input.xcrud-input[data-type="point"] {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 100px;
    left: 0;
}
input.xcrud-map-search {
    margin-bottom: 1rem;
}
ul.xcrud-map-dropdown {
    display: block;
    width: 99.5%;
    list-style: none !important;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-top: 0;
    border-radius: 2px;
    top: 0 !important;
    left: 0 !important;
    min-width: auto !important;
    z-index: 11;
    margin: -1rem 0 1rem !important;
}
ul.xcrud-map-dropdown li {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}
ul.xcrud-map-dropdown li:last-child {
    border-bottom: 0;
}
ul.xcrud-map-dropdown li:nth-child(odd) {
    background-color: #f9f9f9;
}
ul.xcrud-map-dropdown li:hover {
    background-color: #eee;
}

/* messages */
.xcrud-message,
.xcrud-error {
    position: fixed;
    bottom: 2rem;
    right: 3rem;
    width: auto;
    z-index: 11;
    color: #fff;
    padding: 0.8rem 3rem;
    border-radius: 3px;
    /* left: auto; */
    /* right: auto; */
    /* margin-left: auto; */
    /* margin-right: auto; */
    /* display: flex; */
    height: 50px;
    padding-left: 90px;
    padding-left: calc(50px + 2.4rem);
    user-select: none;
    overflow: hidden;
}
.xcrud-message:before,
.xcrud-error:before {
    font-family: "Font Awesome 5 Free";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-weight: 900;
    margin-right: 10px;
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.xcrud-message.error,
.xcrud-error{
    background-color: #d66;
    box-shadow: inset 0 0 1px 0px #c22;
}
.xcrud-message.error:before,
.xcrud-error:before {
    content: "\f00d";
    color: #8c2424;
    background-color: #c75555;
}
.xcrud-message.success{
    background-color: #80AC53;
    box-shadow: inset 0 0 1px 0px #6D9246;
}
.xcrud-message.success:before {
    content: "\f00c";
    color: #4B7022;
    background-color: #709a45;
}
.xcrud-error {
    /* overflow: visible; */
    height: auto;
    position: fixed !important;
    width: 50%;
    width: 50vw;
    max-width: 90%;
    max-width: 90vw;
    padding: 1.4rem 3rem !important;
    padding-left: 90px !important;
    padding-left: calc(50px + 2.4rem) !important;
    border: 0 !important;
}
.xcrud-error:before {
    height: 100%;
}

/* xcrud tooltip */
.xcrud-tooltip > i {
    font-size: 0.9rem;
    color: #0075ff;
    margin-left: 0.5rem;
}
.tooltip[role="tooltip"] > .tooltip-inner,
.ui-tooltip.ui-widget.ui-widget-content {
    box-shadow: 0 0 14px #c5c5c5;
    padding: 0.9rem;
    background-color: #fdfdfd;
    border-radius: 0;
    border-color: #ddd;
    border-top: 4px solid #0075ff;
    color: inherit;
    text-align: left;
}
.tooltip[role="tooltip"]{
    opacity: 1;
    font-size: 0.84rem;
    font-family: inherit;
    font-weight: 400;
    text-align: left;
}
.tooltip[role="tooltip"] > .tooltip-inner,
.ui-tooltip > .ui-tooltip-content {
    font-size: 0.84rem;
}
.tooltip[role="tooltip"] > .tooltip-inner{
    box-shadow: 0 0 14px #5a5a5a4a;
    text-align: left;
}
.tooltip[role="tooltip"].bs-tooltip-top .arrow::before{
    border-top-color: #fff;
}
.tooltip[role="tooltip"].bs-tooltip-bottom .arrow::before{
    border-bottom-color: #0075ff;
}
.tooltip[role="tooltip"].bs-tooltip-left .arrow::before{
    border-left-color: #fff;
}
.tooltip[role="tooltip"].bs-tooltip-right .arrow::before{
    border-right-color: #fff;
}

/* custom page */
label{
    font-size: 0.92rem;
}
.section:not(:first-of-type) {
    margin-top: 4rem;
}
.custom-page {
    background-color: #fff;
    padding: 2.5rem;
    max-width: 100%;
}
.custom-page .table-results {
    border: 1px solid #e9e9e9;
    font-size: 13px;
}
.custom-page .table-results tr {
    border-bottom: 1px solid #e9e9e9;
}
.custom-page .table-results-striped tbody tr:nth-child(odd) {
    background-color: #fafafa;
}
.custom-page .table-results th,
.custom-page .table-results td {
    height: 54px;
    vertical-align: middle;
    padding: 16px 24px;
    text-align: left;
    border: none;
}
.custom-page .table-results.table-bordered th,
.custom-page .table-results.table-bordered td {
    border: 1px solid #dee2e6;
}
.custom-page .table-results th{
    border: none;
    height: 56px;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.62);
    text-align: left;
    padding: 0 24px;
}
.custom-page .table-results tbody tr.disabled {
    background-color: #ffdfdf;
    border-top: 1px solid #ecc9c9;
    color: #b36161;
    font-style: italic;
    border-bottom: 1px solid #ecc9c9;
}
.custom-page .table-results tbody tr.warning {
    background-color: #fff9df;
    border-top: 1px solid #f7eab3;
    color: #a27a50;
    font-style: italic;
    border-bottom: 1px solid #f7eab3;
}
.custom-page .table-results tbody tr.success {
    background-color: #ebf9d8;
    border-top: 1px solid #d8e8c1;
    color: #5a5a5a;
    font-weight: 500;
    border-bottom: 1px solid #d7ecb7;
}

/* mobile */
@media (max-width: 1366px){
    .xcrud-datepicker-from.xcrud-search-active,
    .xcrud-datepicker-to.xcrud-search-active {
        max-width: 100px;
    }
    .xcrud-top-actions input,
    .xcrud-top-actions select,
    .xcrud-top-actions textarea {
        max-width: 120px;
        padding: 0 0.3rem;
    }
    .xcrud-wrapper .tools .btn {
        padding: 0.5rem;
    }
    .xcrud-ajax .xcrud-list-container table tr th,
    .xcrud-ajax .xcrud-list-container table tr td {
        padding: 0 0.8rem;
    }
    
    /* xcrud fixed buttons actions */
    .xcrud-ajax .xcrud-list-container table tbody tr td.xcrud-actions-fixed {
        position: fixed;
        position: absolute;
        right: 0;
        margin: 12px 24px;
        transition: margin-right .15s ease-in-out;
    }
    .xcrud-row:not(:hover) .xcrud-actions-fixed .btn-group > a {
        border-color: #eee;
    }
    .xcrud-ajax .xcrud-ajax .xcrud-list-container table tbody tr td.xcrud-actions-fixed {
        right: 1.7rem;
    }
    .xcrud-ajax .xcrud-list-container table tbody tr td.xcrud-actions-fixed {
        padding: 0;
        padding-right: 20px;
        margin-right: 20px;
        margin: -1px 24px 0 0;
        height: auto;
        padding: 22px 12px 23px 0;
        padding: 12px 12px 0;
    }
    .xcrud-ajax .xcrud-list-container table tbody tr td.row-disabled.xcrud-actions-fixed{
        /*background-color: #transparent;*/
        border-bottom: 0;
    }
    .admin-panel-wrapper:not(.collapsed) .xcrud-ajax .xcrud-list-container table tbody tr td.xcrud-actions-fixed {
        margin-right: 0;
    }
}


@media (max-width: 1200px){
    .xcrud-datepicker-from.xcrud-search-active,
    .xcrud-datepicker-to.xcrud-search-active {
        max-width: 90px;
    }
    .xcrud-top-actions input,
    .xcrud-top-actions select,
    .xcrud-top-actions textarea {
        max-width: 90px;
        padding: 0 0.3rem;
    }
}


@media (max-width: 767px){
    .menu-area {
        overflow-y: auto;
    }
    .tables-area {
        min-width: 100vw;
    }
    .topbar {
        padding: 0 1rem;
    }
    .topbar .topbar-tools {
        font-size: 0.84rem;
    }
    .topbar .topbar-tools .user span {
        font-size: 0;
    }
    .topbar .topbar-tools .user span img {
        margin-right: 0;
    }
    .topbar .topbar-tools > div:not(:first-child) {
        margin-left: 0.7rem;
        padding-left: 0.7rem;
    }
    .separator {
        height: 250px;
        align-items: flex-start;
    }
    .separator > h1 {
        margin-top: 33px;
        margin-bottom: 0;
    }
    .xcrud-top-actions {
        flex-direction: column;
        top: -110px;
    }
    .xcrud-top-actions .search-bar {
        position: relative;
        margin-bottom: 1rem;
        margin-right: 0;
        margin-left: 0;
        left: auto;
        right: auto;
        width: 100%;
    }
    .xcrud-top-actions .search-bar .xcrud-search {
        width: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
    .xcrud-top-actions .search-bar .xcrud-search > * {
        width: inherit;
        max-width: initial;
        margin-left: 0;
    }
    .xcrud-wrapper .tools .btn {
        padding: 0.5rem 0.3rem;
        width: 100%;
        max-height: initial;
        align-items: center;
        display: inline-flex;
        justify-content: center;
        line-height: 1;
        min-height: 39px;
    }
    .xcrud-top-actions .tools {
        justify-content: space-between;
        align-items: normal;
        width: 100%;
    }
    .xcrud-top-actions .search-bar .xcrud-search > *:not(:last-child) {
        margin-right: 0.3rem;
    }
    select.xcrud-data.xcrud-columns-select {
        display: none;
    }
    input.xcrud-searchdata.xcrud-search-active {
        flex: 2;
    }
    .xcrud-top-actions .search-bar .xcrud-search span.btn-group {
        flex: 1;
    }
    .xcrud-top-actions .tools > a:nth-child(4) {
        position: absolute;
        bottom: -44px;
    }
    .xcrud-top-actions .tools > a:nth-child(3) {
        margin-right: 0 !important;
    }
    .xcrud-view .form-material .form-group {
        flex-direction: column;
    }
    .xcrud-view .form-material .form-group > label {
        width: 100%;
    }
    .xcrud-view .form-material .form-group > div > img,
    .xcrud-upload-container img.img-thumb {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    .xcrud-upload-container .btn-group {
        width: 100%;
    }
}