/*******************WIDGET*************************/
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before,
blockquote:after, 
q:before, 
q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
button.widget_s_btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #2f9505;
    color: #fafafa;
    position: relative;
    cursor: pointer;
    border: none;
    transition: .3s;
}
button.widget_s_btn:hover {
    background: #2a700a;
}
button.widget_s_btn:before, 
button.widget_s_btn:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #2f9505;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
}
button.widget_s_btn:before, 
button.widget_s_btn:after {
    animation: animate 1.5s linear infinite;
}
button.widget_s_btn:hover:before,
button.widget_s_btn:hover:after, 
button.widget_s_btn.active:before, 
button.widget_s_btn.active:after {
    display: none;
}
@keyframes animate {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}
section#widget_s {
    position: fixed;
    left: 3%;
    bottom: 3%;
    width: auto;
    z-index: 99;
    overflow: unset!important;
    padding: 5px;
}
button.widget_s_btn i {
    font-size: 35px;
    position: absolute;
    top: 18px;
    right: 18px;
    transition: .3s;
    transform: scale(1);
}
button.widget_s_btn img {
    position: absolute;
    top: 0px;
    width: 80px;
    z-index: 999;
    right: 0px;
    transition: .3s;
    transform: scale(1);
}
button.widget_s_btn:hover i, 
button.widget_s_btn:hover img {
    transform: scale(1.1);
}
button.widget_s_btn img:nth-of-type(1), 
button.widget_s_btn.active i:nth-of-type(2) {
    visibility: visible;
    opacity: 1;
    transition: .3s;
}
button.widget_s_btn.active img:nth-of-type(1), 
button.widget_s_btn i:nth-of-type(2) {
    visibility: hidden;
    opacity: 0;
    transition: .3s;
}

ul.widget_s_box {
    height: auto;
    display: none;
    padding: 0;
}
ul.widget_s_box li {
    width: 50px;
    height: 50px;
    margin: 10px 0 0 0;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    border: 1px solid #000;
    padding: 7px;
    transition: .3s;
}
ul.widget_s_box li:hover i {
    color: #d8d8d8;
    transition: .3s;
}
ul.widget_s_box li:nth-of-type(1) {
    background: #114ab5;
    margin: 0;
}
ul.widget_s_box li:hover:nth-of-type(1) {
    background: #046ea1;
}
ul.widget_s_box li:nth-of-type(2) {
    background: linear-gradient(45deg, rgba(65, 133, 246, 1) 0%, rgba(73, 48, 224, 1) 45%, rgba(150, 75, 218, 1) 100%);
}
ul.widget_s_box li:nth-of-type(2) a svg {
      width: 35px;
      height: 35px;
}
ul.widget_s_box li:hover:nth-of-type(2) {
    background: #132040;
}
ul.widget_s_box li:nth-of-type(3) {
    background: #0d540c;
}
ul.widget_s_box li:hover:nth-of-type(3) {
    background: #0da000;
}
ul.widget_s_box li:nth-of-type(4) {
    background: #de1818;
}
ul.widget_s_box li:hover:nth-of-type(4) {
    background: #900000;
}
ul.widget_s_box li a {
    padding: 0px 0;
    display: block;
    margin: 5px;
    text-decoration: none;
    position: relative;
}
ul.widget_s_box li:nth-of-type(1) a {
    margin: 4px 6px;
}
ul.widget_s_box li:nth-of-type(2) a{
    margin: 0;
}
ul.widget_s_box li:nth-of-type(3) a {
    margin: 3px 5px;
}
ul.widget_s_box li:nth-of-type(4) a {
    margin: 2px 2px;
}
ul.widget_s_box li a > i {
    font-size: 30px;
    color: #fff;
}
ul.widget_s_box li a > p {
    font-size: 14px;
    position: absolute;
    background: #fff;
    border-radius: 10px;
    min-width: 212px;
    padding: 5px 10px;
    text-align: center;
    color: #000;
    left: 50px;
    display: none;
}
ul.widget_s_box li a img.max {
    width: 35px;
    border-radius: 50%;
    margin-left: -5px;
    margin-top: -4px;
}
.widget_s_overlay {
    position: fixed;
    top: 0;
    z-index: 9;
    left: 0;
    width: 100%;
    background: rgb(0 0 0 / 80%);
    height: 100%;
}
ul.widget_s_box, .widget_s_overlay {
    /* visibility: hidden; */
    /* opacity: 0; */
    /* transition: .3s; */
    /* display: none; */
}
ul.widget_s_box.active, 
.widget_s_overlay.active {
    visibility: visible;
    opacity: 1; 
    transition: .3s; 
	display: block;
}
ul.widget_s_box.active li {
    transition: .3s;
    transform: scale(1);
}
ul.widget_s_box li:nth-of-type(4) .map_box {
    width: 500px;
    height: 500px;
    background: #fff;
    position: absolute;
    bottom: 0;
    border-radius: 10px;
    left: 80px;
    box-shadow: -4px 5px 5px #000;
    transform: scale(0);
    transition: .3s;
    visibility: hidden;
    opacity: 0;
    padding: 3px;
}
ul.widget_s_box li:nth-of-type(4) .map_box b {
    background: #fff;
    position: absolute;
    padding: 10px 15px;
    color: #000;
    bottom: -75px;
    border-radius: 10px;
    left: 15px;
    transform: scale(0);
    transition: .3s;
    visibility: hidden;
    opacity: 0;
}
ul.widget_s_box li:nth-of-type(4) .map_box iframe {
    width: 500px;
    height: 495px;
    border-radius: 15px;
    padding: 10px 20px 10px 10px;
}
ul.widget_s_box li:nth-of-type(4) .map_box.active {
    transform: scale(1);
    transition: .3s;
    visibility: visible;
    opacity: 1;
}
ul.widget_s_box li:nth-of-type(4) .map_box.active b {
    transform: scale(1);
    transition: .3s;
    visibility: visible;
    opacity: 1;
    transition-delay: 1s;
}
ul.widget_s_box li:nth-of-type(4) .map_box.active b:after {
    content: '';
    width: 10px;
    height: 11px;
    position: absolute;
    bottom: 15px;
    left: -5px;
    background: #fff;
    z-index: -1;
    transform: rotate(45deg);
}
ul.widget_s_box li:nth-of-type(4) .map_box:after {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    bottom: 20px;
    left: -7px;
    background: #fff;
    z-index: -1;
    transform: rotate(45deg);  
}
@media(max-width: 767px) {
ul.widget_s_box{
    display: block;
    background: #fff;
    padding: 5px;
    border-radius: 43px;
}
}
@media(max-width: 575px) {
section#widget_s{
    bottom: 5%;
}
button.widget_s_btn img {
    width: 60px;
}
button.widget_s_btn {
    width: 60px;
    height: 60px;
}
button.widget_s_btn i {
    top: 12px;
    right: 13px;
}
ul.widget_s_box {
    margin: 0px;
}
ul.widget_s_box li:nth-of-type(4) .map_box:after {  
        bottom: 23px!important;
        right: 25px!important;
    }
ul.widget_s_box li:nth-of-type(4) .map_box b {
        bottom: -70px!important;
        right: 80px!important;
        padding: 10px;
        width: calc(100% - 10%);
        max-width: 100%;
        text-align: center;
    }
ul.widget_s_box li:nth-of-type(4) .map_box, 
ul.widget_s_box li:nth-of-type(4) .map_box iframe {
        width: 230px!important;
        height: 380px!important;
        bottom: 0px;
        right: 0px;
    }
}
/************************************************/
