/* Vote verification dialogs (reCAPTCHA, Math Captcha). */
#modal-widget .sw-vote-recaptcha { padding: 20px; }

#modal-widget #sw-vote-g-recaptcha { width: 305px; margin: auto; }

.sw-vote-math-captcha { padding: 10px 20px 20px; }

/* ===========================================
SOCIAL AUTHORIZATION
============================================== */
#modal-widget .sw-social-authorization { display: none; }

/* ===========================================
VOTE WITH FACEBOOK SHARE
============================================== */
#modal-widget .sw-fb-vote { display: none; width: 400px; }

#modal-widget .sw-fb-vote .sw-options li, #modal-widget .sw-fb-vote .wp-social-login-provider-list li { display: block !important; margin-left: auto !important; margin-right: auto !important; }

#modal-widget .sw-fb-vote .sw-facebook .sw-action { left: -22px; }


/* ===========================================
    Modal Rating
============================================== */
.sw-rating fieldset, .sw-rating label { margin: 0 auto; padding: 0; }

.sw-rating { padding: 25px 20px; }

.rating-counter { display: flex; justify-content: center; gap: .3em; margin: 10px 0 15px; text-align: center; font-size: 16px; }

/****** Style Star Rating Widget *****/
.fv-rating-set { border: none; text-align: center; padding: 0; margin: 0 auto; }

.fv-rating-set--5 { width: 191px; }

.fv-rating-set--6 { width: 229px; }

.fv-rating-set--7 { width: 267px; }

.fv-rating-set--8 { width: 305px; }

.fv-rating-set--9 { width: 343px; }

.fv-rating-set > input { display: none; }

.fv-rating-set > label:before { margin: 5px; font-size: 30px; font-family: "icomoon_fv"; font-weight: normal; display: inline-block; content: "\e904"; transition: all .25s; }

.fv-rating-set > .half:before { font-family: "icomoon_fv"; font-weight: normal; content: "\e903"; position: absolute; }

.fv-rating-set > label { float: right; transition: all .15s; display: inline-block; }

.fv-rating-set > label.full { width: 38px; }

/* 9 and 10 stars do not fit the 340px content width of the Classic popup in one row: smaller cells, one row. */
.fv-rating-set--9 { width: 324px; }

.fv-rating-set--10 { width: 330px; }

.fv-rating-set--9 > label.full, .fv-rating-set--10 > label.full { width: 33px; }

.fv-rating-set--9 > label:before, .fv-rating-set--10 > label:before { margin: 3px; font-size: 26px; }

.fv-rating-set > label { color: #ddd; }

/***** CSS Magic to Highlight Stars on Hover *****/
.fv-rating-set > input:checked ~ label, .fv-rating-set:not(:checked) > label:hover, .fv-rating-set:not(:checked) > label:hover ~ label { color: #FFD700; }

/* hover previous stars in list */
.fv-rating-set > input:checked + label:hover, .fv-rating-set > input:checked ~ label:hover, .fv-rating-set > label:hover ~ input:checked ~ label, .fv-rating-set > input:checked ~ label:hover ~ label { color: #FFED85; }

.fv-rating-set > input:checked + label.full, .fv-rating-set > input:checked ~ label.full { text-shadow: 0 0 10px rgba(149, 102, 67, 0.7); }


/**
   wp-social-login integration
   @https://ru.wordpress.org/plugins/wordpress-social-login/
*/
#modal-widget .wp-social-login-connect-with { display: none; }


#modal-widget .sw-subscribe { display: none; }

#modal-widget .sw-subscribe-form { padding: 4px 28px 28px; background-color: #fff; border-radius: 0 0 3px 3px; box-sizing: border-box; }

.oneall_social_login { text-align: center; }

.oneall_social_login_providers iframe { margin: 0; padding: 0; max-height: 80px; }

#modal-widget .fv_g_id_signin { width: 105%; display: block; }
#modal-widget .fv_g_id_signin div:empty { display: block; }
@media (max-width:480px) { #modal-widget ul.wp-social-login-provider-list { white-space: inherit; overflow: auto; height: auto; } #modal-widget .wp-social-login-provider-list li { margin: 10px 10px !important; } }

.sw-social-authorization .sw-share-button { width: 40px; height: 40px; }
.sw-social-authorization .sw-share-button:before { top: 7px; left: 6px; }
#modal-widget .wp-social-login-provider-list .sw-action { display:none; }
#modal-widget .wp-social-login-provider-list li:hover .sw-share-button { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); }
@media (min-width:768px) { #modal-widget .wp-social-login-provider-list li:hover .sw-action { display:block; } }
@media (max-width:480px) { #modal-widget .sw-subscribe-form { max-width:400px; } }

.fv-text-list .fv-chip-votes .fv-vote-svg.fvw-star { color: #f59e0b; }
