.widge {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 320px;
    position: fixed;
    min-height: 80px;
    font-size: 12px;
    z-index: 102;
    bottom: 20px;
    -webkit-box-shadow: 0px 10px 20px 0 rgba(0, 0, 0, 0.2);
    box-shadow:  0px 10px 20px 0 rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    cursor: pointer;
    right: 30px;
    transform: translateX(130%);
    transition: right 0.5s;

}

.widge a {
    text-decoration: none;
    color: inherit;
}

.widge-content_text{
    position: relative;
    bottom: 0;
    z-index: 2;
    line-height: 18px;
    letter-spacing: normal;
    font-weight: normal;
}

.widge-violet {
    bottom: 0;
    height: 0;
    width: 100%;
    -webkit-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
    position: absolute;
    overflow-y: hidden;
    background-color: #3E43C8;
}

.widge-violet_title {
    background-color: #252AA6;
    display: inline-block;
    height: 0;
    -webkit-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
    bottom: 0;
    position: absolute;
    z-index: 3;
    width: 90px;
}

.widge-title {
    background-color: #1FB38C;
    display: inline-block;
    top: 0;
    bottom: 0;
    position: absolute;
    width: 90px;
    min-height: 50px;
}
.widge-title__top{
    position: absolute;
    top:10px;
    left:10px;
    height: 18px;
    z-index: 4;
    color: #FFFFFF;
    max-width: 70px;
    text-transform: uppercase;
    font-size: 10px;
}

.widge-title__bot{
    position: absolute;
    bottom:10px;
    left:10px;
    z-index: 4;
    color: #FFFFFF;
    max-width: 67px;
    text-transform: uppercase;
    font-size: 15px;
}

.widge-content {
    max-width:230px;
    font-size: 12px;
    display: inline-block;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 26px 10px 10px 100px;
}

.widge-content_close {
    position: absolute;
    background-image:url('/images/elcrossgrey.svg');
    background-size: 8px;
    background-position:center;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    top: 5px;
    right: 5px;
}

.widge_opened {
    transform: translateX(0%);
    transition: transform 0s;
    transition-delay: 3.8s;
    -webkit-animation-name: bounce;
    animation-name: bounce;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-delay: 2.8s;
    -webkit-animation-delay: 2.8s;
}
.widge_closed {
    right: -500px;
    transform: translateX(0);
}

.widge:hover .widge-violet {
    height: 100%;
}

.widge:hover .widge-title__top{
    color: #D8D8D8;
}

.widge:hover .widge-title__bot{
    color: #D8D8D8;
}

.widge:hover .widge-violet_title {
    height: 100%;
}

.widge:hover .widge-content{
    color:#FFFFFF;
}

.widge:hover .widge-content_close{
    background-image:url('/images/elcross.svg');
}

@keyframes bounce {
    0% {transform: translateX(130%)}
    50% {transform: translateX(-10%)}
    100% {transform: translateX(0%);webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);}
}

@-webkit-keyframes bounce{
    0% {transform: translateX(130%)}
    50% {transform: translateX(-10%)}
    100% {transform: translateX(0%);webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);}
}
