.kt-header .kt-header__top .kt-container .kt-header__brand-logo-default {
    max-width: 270px;
}

.kt-header--fixed.kt-header--minimize .kt-header .kt-header__top .kt-header__brand-logo-sticky {
    max-width: 270px;
}

.kt-login.kt-login--v1 .kt-login__aside .kt-login__logo img{
    max-width: 70%;
}

.kt-header-mobile .kt-header-mobile__logo img{
    max-width: 270px;
    width: 70%;
}

.btn i.p-r-0 {
    padding-right: 0rem;
}

.kt-pagination .kt-pagination__links{
    margin: 15px auto 0;
}

.btn.l-h-1{
    line-height: 1;
}

.movementarrow{
    animation: arrowanim 2s infinite;
    display: block;
    cursor: pointer;
}

.movementarrow.back{
    animation: arrowanimback 2s infinite;
}

@keyframes arrowanim {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes arrowanimback {
    0% {
        transform: translateY(0px) rotate(180deg);
    }
    50% {
        transform: translateY(20px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(180deg);
    }
}

.greybg{
    background-color: #f9f9fc;
}

.kt-portlet__aside-title{
    margin: 0;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #48465b;
}

.stycky-bottom{
    box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.1);
    background: #fff;
    position: sticky;
    bottom: -1px;
    padding: 15px 25px;
}

.ak_switch .btn-switch {
    border: 3px solid #716aca;
    display: inline-block;
    padding: 7px 10px;
    position: relative;
    text-align: center;
    transition: background 600ms ease, color 600ms ease;
}
  
.ak_switch input[type="radio"].toggle {
    display: none;
}

.ak_switch  input[type="radio"].toggle + label {
    cursor: pointer;
    min-width: 95px;
}

.ak_switch label:nth-child(2) {
    border-radius: 4px 0 0 4px;
}
  
.ak_switch label:last-child {
    border-radius: 0 4px 4px 0;
}

.ak_switch input[type="radio"].toggle + label:hover {
    background: none;
    color: #716aca;
}

.ak_switch input[type="radio"].toggle + label:after {
    background: #716aca;
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    -webkit-transition: left 200ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: left 200ms cubic-bezier(0.77, 0, 0.175, 1);
    width: 100%;
    z-index: -1;
}
  
.ak_switch input[type="radio"].toggle.toggle-left + label {
    border-right: 0;
}
  
.ak_switch input[type="radio"].toggle.toggle-left + label:after {
    left: 100%;
}
  
.ak_switch input[type="radio"].toggle.toggle-right + label {
    margin-left: -5px;
}
  
.ak_switch input[type="radio"].toggle.toggle-right + label:after {
    left: -100%;
}
  
.ak_switch input[type="radio"].toggle:checked + label {
    cursor: default;
    color: #fff;
    -webkit-transition: color 200ms;
    transition: color 200ms;
}
  
.ak_switch input[type="radio"].toggle:checked + label:after {
    left: 0;
}

.ak_switch.ak_switch-sm input[type="radio"].toggle + label {
    min-width: 55px;
    padding: 3px;
    font-size: 0.8rem;
}

.ak_switch{
    min-width: 190px;
}

.ak_switch.ak_switch-sm{
    min-width: 110px;
}

.sticky-aside{
    position: sticky;
    top: 10px;
    height:calc(100vh - 100px);
}

@media (min-width: 1025px){
    .kt-header--fixed.kt-header--minimize .kt-header .kt-header__top {
        height: 40px;
    }
}

.kt-header--fixed.kt-header--minimize .kt-header .kt-header__top .kt-header__brand-logo-sticky {
    max-width: 270px;
    max-height: 30px;
}

.kt-pagination__links .disabled{
    opacity: 0.3;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #716aca;
    background-color: transparent;
    border: 1px solid rgba(88,103,221.0.6);
    border-radius: 3px;
}

.kt-pagination__links .disabled .page-link:hover{
    color: #716aca;
    background-color: transparent;
}

.page-link:hover {
    background-color: #5867dd;
    border-color: #5867dd;
}

select.form-control{
    padding: 0.65rem 0.5rem;
    min-width: 40px;
}

.btn.btn-default2 {
    background-color: #aaa;
    color: #fff;
}

.btn.btn-default2:hover{
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

.kt-spinner.kt-spinner--lg.loader:before{
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
}

.kt-spinner.kt-spinner--lg.loader{
    margin-bottom: 20px;
}

.template_thumb{
    text-align:center;
    width:100%;
    float:left;
    box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.3);
}

.template_thumb img{
    max-width: 100px;
}

.gridtemplates{
    display: grid;
    grid-template-columns: 140px;
    /*grid-template-columns: repeat(6, minmax(140px,140px));*/
    grid-template-columns: repeat(5, calc(20% - 5px));
    grid-column-gap: 10px;
    grid-row-gap: 15px;
}

#previewtemplate{
    position: absolute;
    top: 0px;
    left: -100000px;
    max-width: 650px;
}

.uppersel{
    position: absolute;
    top: -140px;
    left: 0px;
    width: 100%;
    height: calc(50% + 140px);
    z-index: 10;
    /*background-color: rgba(200, 100, 100, 0.541);*/
}

.downsel{
    position: absolute;
    bottom: -140px;
    left: 0px;
    width: 100%;
    height: calc(50% + 140px);
    z-index: 10;
    /*background-color: rgba(38, 15, 48, 0.534);*/
}

#preview_div #maintable{
    width: 160px;
}

#preview_div #maintable img{
    width: 100%;
}

#preview_div .candrop {
    box-shadow: 0 0 1px 1px black;
    position: relative;
}

#preview_div #previewdiv{
    background-color: tomato;
}

#preview_div #previewdiv img{
    opacity: 0.4;
}

#initialelement h4{
    display: block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    text-align: center;
}

#initialelement.hide{
    display: none;
}

#preview_div{
    height: calc(100vh - 250px);
    overflow: auto;
    padding: 10px 0;
    box-sizing: border-box;
}

#preview_div td[data-droppable="1"]{
    position: relative;
}

#initialelement td[data-droppable="1"]:before{
    display: none;
}

#preview_div td[data-droppable="1"]:before{
    border-top: 1px dashed #000;
    position: absolute;
    content: '';
    bottom: 0px;
    left: -10px;
    width: calc(100% + 20px);
}

#preview_div .removeblock{
    width: 24px;
    height: 24px;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 50%;
    text-align: center;
}

#preview_div .removeblock span{
    color: #000;
    padding-top: 3px;
    display: block;
}

.noUi-target.noUi-horizontal {
    height: 7px;
}

.noUi-target.noUi-horizontal .noUi-handle {
    width: 20px;
    height: 20px;
    top: -8px;
}

html:not([dir="rtl"]) .noUi-horizontal .noUi-handle {
    right: -10px;
}

.noUi-value {
    display: none;
}

.noUi-marker-horizontal.noUi-marker-large {
    height: 10px;
}

.kt-checkbox.kt-checkbox--success.kt-checkbox--tick > span {
    border: 1px solid #afaeae !important;
}

.btn-group > .btn{
    border: 1px solid #e2e5ec;
    border-radius: 4px;
    background-color: #fff;
}

.btn-group > .btn.btn-success{
    color: #312f2f;
    background-color: #1dc9b7;
    border-color: #fff;
}

.btn-group > .btn.btn-primary{
    color: #fff;
    background-color: #5867dd;
    border-color: #fff;
}

.btn-group > .btn.btn-danger{
    color: #000;
    background-color: #fd397a;
    border-color: #fff;
}

.btn.dropdown-toggle.no-margin:after{
    margin-left: 0;
}

.modal-xl {
    width: 960px;
}

.modal-footer .row {
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
    box-shadow: 0 0 12px 4px rgba(0,0,0,0.3);
}

.btn-sm{
    border: 0;
}