.right-form-panel {
    width: 325px;
    position: fixed;
    z-index: 10;
    height: 100%;
    top: 0;
    right: 270px;
    background-color: #000;
    overflow-x: hidden;
    transition: 0.5s;
}

.right-form-panel.pjax-loading{}
.right-form-panel.pjax-loading::before{
    content: '';
    width: 100%;
    height: 100%;
    background: url(/images/preloaderw.gif) rgba(0,0,0,.7);
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    z-index: 12;

}
.pad-top-38{
    padding-top: 38px;}
.right-form-menu {
    padding: 51px 0 0 0;
    position: static;
}

.right-form-header p {
    padding: 0 0 0 30px;
}

.right-form-header {
    font-size: 18px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.5;
    border-bottom: 1px solid #afafaf;
}

.right-form-header span {
    padding: 0 8px 0 0;
}

.create-key {
    font-size: 12px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgba(255, 255, 255, 0.702);
    line-height: 1.2;
}

.wrap-create-key {
    border-bottom: 1px solid rgba(255, 255, 255, 0.666);
    display: inline-flex;
    margin: 28px 0 14px 56px;
}

.create-key:hover {
    color: rgba(255, 255, 255, 0.702);
    text-decoration: none;
}


.create-group {
    font-size: 12px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgba(255, 255, 255, 0.702);
    line-height: 1.2;
}

.wrap-create-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.666);
    display: inline-flex;
    margin: 0px 0 14px 56px;
}

.create-group:hover {
    color: rgba(255, 255, 255, 0.702);
    text-decoration: none;
}


.wrap-inp input[type="checkbox"]:checked + label {
    font-size: 24px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 1;
}

.wrap-inp {
    display: flex;
    align-items: center;
    margin: 0 0 8px 0;
    position: relative;
}

.wrap-inp label {
    padding: 0 0 0 6px;
    font-size: 24px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgba(255, 255, 255, 0.666);
    font-weight: bold;
    line-height: 1;
    margin: 0;
    cursor: pointer;
}

.wrap-inp input {
    border: 1px solid rgba(255, 255, 255, 0.666);
    border-radius: 3px;
    width: 15px;
    height: 15px;
    opacity: 0.5;
}

.wrap-key-input {
    overflow-y: scroll;
    height: 100%;
    padding: 14px 0 0 30px;
    background: #1a1a1a;
    max-height: 152px;
}

.wrap-inp .removeKey, .wrap-radio .removeGroup
{
    background: url("/images/icon__delete.png") no-repeat center center / contain;
    width: 12px;
    height: 16px;
    position: absolute;
    right: 10px;
    opacity: 0.4;
    transition: all 100ms ease-in-out 0ms;
    cursor: pointer;
}
.wrap-inp .removeKey:hover  .wrap-inp .removeGroup:hover
{
    opacity: 1;
}

.wrap-group-input {
    overflow-y: scroll;
    height: 100%;
    padding: 14px 0 0 30px;
    background: #1a1a1a;
    max-height: 152px;
    margin-bottom: 28px;
}

.wrap-group-input .wrap-radio input[type="radio"]:checked + label {
    font-size: 24px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 1;
}

.wrap-group-input .wrap-radio {
    display: flex;
    align-items: center;
    margin: 0 0 8px 0;
    position: relative;
    padding-left: 4px !important;
}

.wrap-group-input .wrap-radio label {
    padding: 0 0 0 6px;
    font-size: 24px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgba(255, 255, 255, 0.666);
    font-weight: bold;
    line-height: 1;
    margin: 0;
    cursor: pointer;
}

.wrap-group-input .wrap-radio input {
    border: 1px solid rgba(255, 255, 255, 0.666);
    border-radius: 3px;
    width: 15px;
    height: 15px;
    opacity: 0.5;
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-button {
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background-color: #999;
}

::-webkit-scrollbar-track-piece {
    background-color: #ffffff;
}

::-webkit-scrollbar-thumb {
    height: 50px;
    background-color: #666;
    border-radius: 3px;
}

::-webkit-scrollbar-corner {
    background-color: #999;
}

::-webkit-resizer {
    background-color: #666;
}

.wrap-number-in-key {
    display: flex;
    align-items: center;
    padding: 20px 0 28px 30px;
}

.label-number-ind-key {
    font-size: 14px;
    font-family: "AvenirNextCyrL", sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.5;
}

#door-ind_keys,
#number-for-in-key {
    font-size: 30px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgba(255, 255, 255, 0.666);
    line-height: 1.5;
    max-width: 142px;
    margin-right: 7px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .302);
}

.wrap-name-for-in-key {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 0 8px 0;
}

.label-name-for-in-key {
    align-self: flex-start;
    padding: 0 0 0 32px;
    color: #999999;
}

#door-name,
#name-for-in-key {
    font-size: 16px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgba(255, 255, 255, 0.666);
    line-height: 1.5;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .302);
    min-width: 260px;
}

.wrap-desc-textarea {
    padding: 0 0 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrap-desc-textarea textarea {
    background: #000;
    min-width: 260px;
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.302);
    border-radius: 3px;
    font-size: 14px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgba(255, 255, 255, 0.666);
    line-height: 1.5;
}

.wrap-ffactor-select,
.wrap-dimensions-select,
.wrap-color-select {
    padding: 0 0 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.wrap-ffactor-select label,
.wrap-dimensions-select label,
.wrap-color-select label{
    color: #fff;
}

.wrap-ffactor-select select,
.wrap-dimensions-select select,
.wrap-color-select select {
    background: #000;
    min-width: 260px;
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.302);
    border-radius: 3px;
    font-size: 14px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgba(255, 255, 255, 0.666);
    line-height: 1.5;
}

.right-form-content .form-control:disabled,
.right-form-content .form-control[readonly] {
    background-color: #000;
    opacity: 1;
}

.save {
    font-size: 14px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 1.5;
    background-color: rgba(255, 255, 255, 0.302);
    opacity: 0.666;
    padding: 8px 92px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.666);
}
.save:hover{
    opacity: 1;
}

.wrap-button-save {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 10px 0;
}

.wrap-delete-key {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 20px;
}

.wrap-delete-key p {
    font-size: 12px;
    font-family: "AvenirNextCyrR", sans-serif;
    color: rgba(255, 255, 255, 0.666);
    line-height: 1.5;
}

.wrap-delete-key span {
    color: rgba(255, 137, 137, 0.702);
    border-bottom: 1px solid rgba(255, 137, 137, 0.702);
}

.wrap-delete-key img {
    padding: 0 10px 0 0;
    position: relative;
    top: -8px;
}

/*slide*/
.my-slides-rf {
    justify-content: center;
}

.my-slides-rf img {
    max-width: 100%;
    vertical-align: middle;
}

/* Slideshow container */
.slide-show-container {
    display: flex;
    height: 215px;
    position: relative;
    margin: 8px 0px 38px ;
}

.slick-prev, .slick-next{
    z-index: 5;
}
.slick-prev{
    left: 0px;
}
.slick-next{
    right: 0px;
}
/* Next & previous buttons */
.prev-RF,
.next-RF {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -40px;
    color: rgba(255, 255, 255, 0.666);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next-RF {
    right: 15px;
    border-radius: 3px 0 0 3px;
}
.prev-RF {
    left: 15px;
}

/* On hover, add a black background color with a little bit see-through */
.prev-RF:hover, .next-RF:hover {
    background-color: rgba(54, 48, 48, 0.8);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.666);
}

/* Caption text */
.text-sl {
    color: #f2f2f2;
    font-size: 15px;
    padding: 2px 12px;
    position: relative;
    bottom: 34px;
    width: 308px;
    text-align: center;
}

/* Number text (1/3 etc) */
.number-text {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    /*left: 0;*/
    background: linear-gradient(135deg, rgba(0,0,0,.8), rgba(0,0,0,0.1));
}

/* Fading animation */
.fade-s {
    -webkit-animation-name: fade-s;
    -webkit-animation-duration: 1.5s;
    animation-name: fade-s;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade-s {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade-s {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}
/*.c-door{border-radius: 16px;}*/
.wrap-img-sl {
    width: 100%;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
}

.head-door{
    padding: 0;
    height: 245px;
    /*border-radius: 16px 16px 0 0;*/
}
.head-door .wrap-image-door{
    overflow: visible;
    height: 245px;
    width: 100%;
    position: relative;
    /*border-radius: 16px 16px 0 0;*/
}

.head-door .wrap-image-door > img{
    width: 100%;
    height: 245px;
    object-fit: cover;
    object-position: center;
    /*border-radius: 16px 16px 0 0;*/
}
.head-door .wrap-name-door{
    position: absolute;
    top: 25px;
    color: #ffffff !important;
    font-weight: bold;
}

.head-door .wrap-image-door:before{
    content: '';
    background: rgba(0,0,0,.3);
    width: 100%;
    height: 245px;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
    /*border-radius: 16px 16px 0 0;*/
}
.add-key-img{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.c-door .content-door{
    -webkit-border-radius: 0 0 16px 16px;
    -moz-border-radius: 0 0 16px 16px;
    border-radius: 0 0 16px 16px;
}
.wrap-name-door .name-door{
    font-size: 20px;
}
.wrap-name-door .name-door.open-right-form:hover{
    text-decoration: underline;
}

.wrap-name-door .desc-door, .wrap-name-door .prop-door, .wrap-name-door .in-key-hd{
    font-size: 13px;
}
.wrap-name-door .prop-door{}
.wrap-name-door .prop-door > span{
    display: inline-block;
    padding: 4px 24px 4px 0;}
.wrap-name-door .in-key-hd{
    display: inline-block;
    padding-top: 6px;}
.tutorial-header{
    margin-bottom: 0;
}
.wrap-tutorial-content{
    padding: 15px;
    background: #f0f0f0;
    max-width: calc(100% - 595px);
}
.has-error{
    border: 2px solid #c00;
}
.wrap-desc-textarea textarea{
    padding: 7px;}
.wrap-ffactor-select select, .wrap-dimensions-select select, .wrap-color-select select{
    min-height: 0;
    padding: 7px;
    height: 38px;
}

