.userBox {
    margin-bottom: 60px;
}

.userBox h1 {
    margin-bottom: 20px;
    text-align: right;
}

.userBox h3 {
    text-align: right;
    margin-top: 36px;
    font-size: 26px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.userPage {
    display: flex;
    align-items: flex-start;
}

.userMenu {
    flex: 2;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    margin-right: 20px;
    border-radius: 10px;
    border: 1px solid rgb(236, 236, 236);
    box-shadow: 0 4px 8px -2px #00000026;
    overflow: hidden;
}

.userMenu a {
    padding: 10px 15px;
    position: relative;
    display: flex;
    line-height: 1;
    text-decoration: none;
    color: #004576;
    transition: 0.2s;
    font-size: 16px;
}

.userMenu a:not(:last-child) {
    border-bottom: 1px solid rgb(243, 243, 243);
}

.userMenu a::before {
    content: "";
    background: linear-gradient(45deg, #004576, #00bfa9);
    opacity: 0;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    position: absolute;
    transition: 0.2s;
}

.userMenu a span {
    position: relative;
    display: flex;
}

.userMenu a.active {
    color: white;
}

.userMenu a.active::before {
    opacity: 1;
}

.userMenu a:hover {
    text-decoration: none;
    color: white;
}

.userMenu a:hover::before {
    opacity: 1;
}

.userContent {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.userContent textarea {
    width: 100%;
    font-size: 16px;
    font-weight: 100;
    padding: 5px 10px;
    resize: none;
    min-height: 216px;
    margin-top: 10px;
    border: 1px solid lightgray;
    border-radius: 5px;
    transition: 0.2s;
}

.userContent textarea:focus {
    outline: none;
    border: 1px solid black;
}

.userContent .line {
    display: flex;
    flex-direction: row;
    margin-left: -5px;
    margin-right: -5px;
    flex-wrap: wrap;
}

.moduleBox.flexedModule {
    flex-grow: 2;
}

.moduleBox.moduleWithIcon {
    justify-content: space-between;
}

.moduleBox {
    padding: 20px 30px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    border-radius: 10px;
    border: 1px solid rgb(236, 236, 236);
    box-shadow: 0 4px 8px -2px #00000026;
    margin: 5px;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    background: white;
}

.moduleBox.loading {
    pointer-events: none;
}

.moduleBox.loading .boxIcon img {
    opacity: 0;
}

.moduleBox .boxIcon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #004576, #004576 30%, #00bfa9 70%, #00bfa9);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    transform: scale(0.5);
    box-shadow: 0 0 0px 0px #00bba733;
    opacity: 0;
    transition: opacity .2s;
}

.moduleBox.loading .boxIcon::before {
    animation: loadingPulse 2s .2s infinite;
    opacity: 1;
}

@keyframes loadingPulse {
    0% {
        transform: scale(0.5);
        box-shadow: 0 0 0px 0px #00bba8c9;
    }
    50% {
        transform: scale(1.5);
        box-shadow: 0 0 0px 10px #00bba875;
    }
    100% {
        transform: scale(0.5);
        box-shadow: 0 0 0px 30px #00bba800;
    }
}

.moduleBox:not(.notificationModule)::before {
    content: "";
    position: absolute;
    left: -100%;
    right: -100%;
    top: -500px;
    bottom: -500px;
    background: linear-gradient(45deg, #004576, #004576 30%, #00bfa9 70%, #00bfa9);
    opacity: 0;
    transition: opacity 0.2s ease-in-out, transform 20s linear, border 0.2s;
}

.moduleBox:not(.notificationModule):hover {
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.moduleBox:not(.notificationModule):hover::before {
    transform: rotate(360deg);
    opacity: 1;
}

.moduleBox .boxInner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    line-height: 1;
    justify-content: space-between;
}

.moduleBox .boxIcon {
    margin-right: 25px;
    position: relative;
}

.moduleBox .boxIcon img {
    transition: .2s;
}

.moduleBox .boxTitle {
    text-align: right;
    font-size: 24px;
    font-weight: 900;
    color: #003f74;
    transition: 0.2s;
    text-decoration: none;
    position: relative;
    margin-bottom: 10px;
    line-height: 1;
    white-space: nowrap;
}

.moduleBox:not(.notificationModule):hover .boxTitle {
    color: white;
}

.moduleBox .boxContent {
    position: relative;
    transition: 0.2s;
    color: gray;
}

.moduleBox:not(.notificationModule):hover .boxContent {
    color: white;
}

.moduleBox .boxLine {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notificationModule {
    background-color: #aa000029;
}

.boxLineDate {
    font-size: 12px;
    color: lightgray;
}

.moduleBox .boxLineTitle {
    margin-right: 5px;
}

.moduleBox .boxLineContent {}

.userContent .contentEditor {
    margin: 20px 0;
}

.userContent .contentLine {
    margin: 5px 0;
    padding: 5px;
}

.userContent .contentLine:not(:last-child) {
    border-bottom: 1px solid lightgray;
}

.userContent .contentLineBoxes {
    display: flex;
    margin-left: -5px;
    margin-right: -5px;
}

.userContent .contentLineBox {
    flex: 1;
    margin: 5px;
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.userContent .contentLineTitle {
    text-align: right;
    color: gray;
}

.userContent .contentLineBody {
    text-align: right;
    font-size: 27px;
    font-weight: bold;
}

.contentLineBody select {
    font-size: 16px;
    min-width: 192px;
    border: none;
    border-bottom: 1px solid #a5a5a5;
    padding: 5px;
    padding: 5px 10px 5px 7px;
    min-width: 260px;
}

.contentLineBody input {
    font-size: 16px;
    border: none;
    border-bottom: 1px solid rgb(165, 165, 165);
    text-align: left;
    padding: 5px 10px;
    transition: 0.2s;
    min-width: 260px;
}

.contentLineBody input:focus {
    outline: none;
    border-bottom: 1px solid rgb(0, 0, 0);
}

.rbutton {
    background: rgb(223, 223, 223);
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    transition: 0.2s;
    color: black;
    text-decoration: none;
}

.rbutton:hover {
    opacity: 0.8;
    color: black;
    text-decoration: none;
}

.rbutton:focus {
    outline: none;
    text-decoration: none;
}

.rbutton-primary {
    background: linear-gradient(45deg, #004576, #00bfa9);
    color: white;
}

.rbutton-primary:hover {
    color: white;
}

.goodSaved {
    box-shadow: 0 0 20px -6px #00aa80;
}

.subTitle {
    color: gray;
    margin-bottom: 10px;
    text-align: right;
}

.resetOuter {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2000;
    background: #000000b5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resetInner {
    background: white;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 10px 20px -12px black;
}

.clientNewPassReset {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.clientNewPassReset.notConfirmed::after {
    content: 'Пароли не совпадают';
    font-size: 12px;
    color: red;
    margin-top: 15px;
}

.clientNewPassReset.confirmed::after {
    content: 'Успешно';
    font-size: 12px;
    color: #00b2a3;
    margin-top: 15px;
}

.resetInner .contentLineTitle {
    margin: 0 20px;
}

.resetInner .contentLineBody {
    margin: 10px 0;
}

.carSwitch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.carSwitch input {
    display: none;
}

.carNew {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.carNew:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.carNew {
    background-color: #0e8e38;
}

input:focus+.carNew {
    box-shadow: 0 0 1px #0e8e38;
}

input:checked+.carNew:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.carNew.round {
    border-radius: 34px;
}

.carNew.round:before {
    border-radius: 50%;
}

.message {
    color: red;
    font-size: 13px;
    padding: 10px 0;
    display: none;
}

.message.active {
    display: block;
}