﻿.rpwwt-widget ul {
    list-style: outside none none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.rpwwt-widget ul li {
    overflow: hidden;
    margin: 0 0 1.5em;
}

.rpwwt-widget ul li:last-child {
    margin: 0;
}

.rpwwt-widget .screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    word-break: normal;
}

.rpwwt-widget .screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    right: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.rpwwt-widget ul li img {
    display: inline;
    float: left;
    margin: .3em .75em .75em 0;
    object-fit: cover;
}

#rpwwt-recent-posts-widget-with-thumbnails-2 img {
    width: 100px;
    height: 75px;
}





.gtranslate_box {
    position: relative;
}

.base_down {
    height: 30px;
    padding: 0 14px;
    text-align: center;
    line-height: 30px;
    border: 1px solid #fff;
    font-size: 12px;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    position: absolute;
    right: 150px;
    top: -14px;
}

.down_popup_modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
    z-index: 9999;

    .modal_box {
        position: relative;
        width: 70%;
        padding: 70px 0;
        background: #F5F5F7;
        border-radius: 2px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);

        .modal_close {
            width: 32px;
            height: 32px;
            position: absolute;
            right: 20px;
            top: 20px;
            cursor: pointer;
        }

        .down_title {
            font-size: 40px;
            line-height: 58px;
            color: #202022;
            text-align: center;
            font-family: D-DIN-PRO, D-DIN-PRO;
        }

        .down_box {
            height: 165px;
            margin-top: 44px;
            display: flex;
            align-items: center;
            justify-content: center;

            .down_item {
                position: relative;
                cursor: pointer;
                width: 180px;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;

                &:first-child {
                    margin-right: 110px;
                }

                &:hover {

                    .item_img,
                    .item_icon {
                        opacity: 0;
                    }

                    .item_icon {
                        right: -41px;
                        top: -41px;
                    }

                    .item_text {
                        opacity: 0;
                    }

                    .item_text_ewm {
                        opacity: 1;
                        bottom: 0;
                    }

                    .item_img_ewm {
                        opacity: 1;
                        transform: scale(1);
                    }
                }

                .item_top_box {
                    position: relative;
                    width: 132px;
                    height: 132px;
                    margin-bottom: 12px;
                    overflow: hidden;
                    background: #fff;
                }

                .item_img {
                    width: 100%;
                    height: 100%;
                    transition: all .2s ease;
                    opacity: 1;
                }

                .item_icon {
                    width: 41px;
                    height: 41px;
                    position: absolute;
                    right: 0;
                    top: 0;
                    transition: all .2s ease;
                    opacity: 1;
                }

                .item_img_ewm {
                    width: 82px;
                    height: 82px;
                    opacity: 0;
                    transition: all .2s ease;
                    transform: scale(0);
                    position: absolute;
                    left: 25px;
                    top: 25px;
                }

                .item_text {
                    font-size: 12px;
                    line-height: 21px;
                    text-align: center;
                    position: absolute;
                    opacity: 1;
                    bottom: 0;
                    transition: all .2s ease;
                }

                .item_text_ewm {
                    font-size: 12px;
                    line-height: 21px;
                    text-align: center;
                    position: absolute;
                    opacity: 0;
                    bottom: -21px;
                    transition: all .2s ease;
                }
            }
        }
    }
}

.gtranslate_wrapper {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9999;
}

#gt_float_wrapper {
    position: relative !important;
}

#gt_float_wrapper .gt_float_switcher {
    box-shadow: none !important;
    background: none;
}


.gt_float_switcher .gt-selected {
    background: none !important;
}

.gt_float_switcher .gt_options {
    background: #fff;
    text-align: left;
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    color: #fff;
}