.open-more-sidebar {
    right: -153px !important;
    -moz-transition-duration: 2s;
    -moz-transition-duration: 1s;
    -webkit-transition-duration: 1s;
}

.open-more-sidebar i {
    transform: rotate(0deg);
    background: #004993;
}

.open-more-sidebar i:hover {
    background: #84d9d4;
    color: #222;
}

.text-sidebar {
    padding: 5px !important;
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    padding: 0px;
    margin: 0px;
    color: #fff;
}

.text-sidebar:hover {
    /* background: #004993; */
    background: #84d9d4;
    color: #222;
}

.box-sidebar {

    position: fixed;
    z-index: 800;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 140px !important;
    background: rgba(0, 73, 147, 0.8);
    /* background: rgba(132, 217, 212, 0.7); */
    /* background: #da0812; */
    box-shadow: 0px 0px 4px 0px #004993;
    cursor: pointer;
}

.box-sidebar a {
    text-decoration: none;
    width: 100%;
    /* height: 100%; */
    display: inline-block;
}

.icon-sidebar {
    -moz-transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    position: absolute;
    top: 0;
    left: -38px;
    padding: 10px 12px;
    /* background-color: #84d9d4; */
    background-color: #004993;
    color: #fff;
    border-radius: 0px 15px 15px 0px;
}

.icon-sidebar:hover {
    background-color: #84d9d4;
    color: #222;
}

.button-sidebar {
    -moz-transform: rotate(-180deg);
    border-radius: 15px 0px 0px 15px;
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 10px;
    color: #2F506C;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 20px;
    transform: rotate(45deg);
    width: 75px;
    display: block;
    /* background: linear-gradient(#9BC90D 0%, #2F506C 100%); */
    background: linear-gradient(#9BC90D 0%, #2F506C 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 10px;
    right: -17px;
}

.ribbon span::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #79A70A;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.ribbon span::after {
    content: '';
    position: absolute;
    right: 0%;
    top: 100%;
    z-index: -1;
    border-right: 3px solid #79A70A;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.blue-sidebar span {
    background: linear-gradient(#2989d8 0%, #1e5799 100%);
}

.blue-sidebar span {
    background: linear-gradient(#fff 0%, #fff 100%);
}

.blue-sidebar span::before {
    border-left-color: #1e5799;
    border-top-color: #1e5799;
}

.blue-sidebar span::after {
    border-right-color: #1e5799;
    border-top-color: #1e5799;
}