/*
 * Author URI: https://vincoit.com
 * License: GNU General Public License v3 (GPL-3)
 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
 *
 * File Description: Custom Styling for Popup.php
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans');

.vit-popup-area {
    display:block;
    position: fixed;
    font-family: "Open Sans", Helvetica, serif;
    text-align: center;
    z-index:999999999;
    max-width: 420px;
    margin: 0 auto;
    top:30vh;
    left: 0;
    right: 0;
}

.vit-popup-hide {
    display:none;
}

.vit-popup-alert {
    display: none;
    padding: 30px;
    width: 100%;
    height: inherit; 
    color: #ffffff;
    border-radius: 3px;
}

.vit-popup-alert span:last-of-type {
    font-size: 14px;
}

.vit-popup-alert-title {
    font-weight: bold;
    font-size: 23px;
    margin-bottom: 20px;
    display: block;
}

.vit-popup-alert-success {
    background-color: #0F9E5E;
}

.vit-popup-alert-error {
    background-color: #f32325;
}

.vit-wr-display-none {
    display: none !important;
}

 #vit-popup-front-end-feedback-container p:empty {
    display: none;
}

#vit-wr-slideout {
    z-index: 999999;
    position: fixed;
    top: 60px;
    left: 0;
    width: 35px;
    height: 90px;
    padding: 15px 0;
    text-align: center;
    background: transparent !important;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

#vit-wr-slideout_inner form {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#vit-wr-slideout_inner {
    font-family: "Open Sans", Helvetica, serif;
    position: fixed;
    top: 60px;
    left: -250px;
    background: #FFFFFF;
    width: 250px;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    text-align: left;
    border-right: 2px solid #18dcff;
    border-bottom: 2px solid #18dcff;
    border-top: 2px solid #18dcff;
}
#vit-wr-slideout_inner:hover{
    -webkit-box-shadow: 10px 10px 18px -6px rgba(0,0,0,0.31);
    -moz-box-shadow: 10px 10px 18px -6px rgba(0,0,0,0.31);
    box-shadow: 10px 10px 18px -6px rgba(0,0,0,0.31);
}

.vit-wr-slideout_inner-holder {
    position: relative;
    z-index: 999999;
}

#vit-wr-slideout_inner textarea {
    width: 100%;
    height: 80px !important;
    min-height: unset !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-size: 13px !important;
    font-weight: normal !important;
    color: black !important;
    font-family: "Open Sans", Helvetica, serif;
    border: none;
    box-sizing: border-box;
    transition: all 0.3 ease-in-out;
    padding: 10px 25px !important;
    background-color: #FFFFFF !important;
}
#vit-wr-slideout_inner > form p {
    margin: 0 !important;
}
#vit-wr-slideout_inner p {
    margin: 0 !important;
}
#vit-wr-slideout_inner br {
    display: none;
}
#vit-wr-slideout_inner textarea:hover{
    box-shadow: none !important;
}
#vit-wr-slideout_inner textarea:focus{
    transition: all 0.3 ease-in-out !important;
    background-color: rgba(248,248,248, 0.8) !important;
    box-shadow: none !important;
    outline: thin solid rgba(0, 115, 170, 0.15) !important;
    outline-offset: -4px !important;
}

#vit-wr-slideout_inner input[type="submit"]{
    font-family: "Open Sans", Helvetica, serif;
    text-transform: uppercase;
    font-size: 13px !important;
    width: 100%;
    color: black;
    height: unset !important;
    padding: 25px !important;
    font-weight: normal !important;
    border-top: solid 0.5px rgba(0, 0, 0, 0.5);
    margin-top: 25px !important;
    margin-bottom: 0 !important;
    text-align: left;
    transition:all 0.3s ease;
    background: linear-gradient(to right, #18dcff 50%, white 50%);
    background-size: 200% 100% !important;
    background-position: right bottom !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
#vit-wr-slideout_inner input[type="submit"]:hover{
    background-position: left bottom !important;
    border-top: solid 0.5px rgb(24,220,255);
    color: #FFFFFF !important;
    box-shadow: none !important;
}
#vit-wr-slideout:hover {
    left: 250px;
}
#vit-wr-slideout:hover > .vit-wr-label {
    margin: 0 0 0 -81px;
}
#vit-wr-slideout:hover #vit-wr-slideout_inner {
    left: 0;
}
.vit-wr-intro {
    margin-top: 0 !important;
    color: white;
    font-size: 15px;
    line-height: normal;
    margin-bottom: 0;
    padding: 25px;
    border-bottom: solid 0.5px #18dcff;
    background-color: #18dcff;
}

.vit-icon {
    position: absolute;
    right: -3px;
    top: -3px;
    max-width: 29px;
    max-height: 35px;
    background: white;
    padding: 4px 4px 0px 4px;
}

.vit-icon img {
    transform: translateY(-5px);
}

.vit-wr-label {
    transition: all 0.3s;
    font-family: "Open Sans", Helvetica, serif;
    transform: rotate(-90.0deg) translateX(-26px);
    width: 115px;
    margin: 0 0 0 -41px;
    text-align: center;
    padding: 7px;
    /* FF3.5+ */
    -moz-transform: rotate(-90.0deg) translateX(-26px);
    /* Opera 10.5 */
    -o-transform: rotate(-90.0deg) translateX(-26px);
    /* Saf3.1+, Chrome */
    -webkit-transform: rotate(-90.0deg) translateX(-26px);
    /* IE8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)";
    /* Standard */
    -webkit-box-shadow: 0px 0px 7px -1px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 7px -1px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 7px -1px rgba(0,0,0,0.25);
}
.vincoit-form-if-empty {
    padding-top: 10px;
}
.vit-wr-rate {
    float: left;
    height: 46px !important;
    padding: 0 25px 50px 25px !important;
    display: flex;
    flex-direction: row-reverse;
}
.vit-wr-rate:not(:checked) > input {
    position: absolute;
    top: -9999px;
}
.vit-wr-rate:not(:checked) > label {
    float: right;
    width: 1em;
    height: 40px;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 30px !important;
    color: #808e9b;
}
.vit-wr-rate:not(:checked) > label:before {
    content: '★ ';
}
.vit-wr-rate > input:checked ~ label {
    color: #ffd32a;
}
.vit-wr-rate:not(:checked) > label:hover,
.vit-wr-rate:not(:checked) > label:hover ~ label {
    color: #ffd32a;
}
.vit-wr-rate > input:checked + label:hover,
.vit-wr-rate > input:checked + label:hover ~ label,
.vit-wr-rate > input:checked ~ label:hover,
.vit-wr-rate > input:checked ~ label:hover ~ label,
.vit-wr-rate > label:hover ~ input:checked ~ label {
    color: #F5C518;
}
.vit-wr-char-count {
    font-size: 11px;
    padding-right: 25px;
    padding-left: 25px;
}

@media screen and (max-width: 1024px) {
    .vit-popup-area { 
        max-width: 360px;
    }
}

@media screen and (max-width: 420px) {
    .vit-popup-area { 
        max-width: 310px;
    }

    .vit-popup-alert-title { 
        font-size: 18px;
    }
}