@charset "utf-8";

@font-face {
    font-family: 'helveticaregular';
    src: url('../font/04/helvetica.eot');
    src: url('../font/04/helvetica.svg#helveticaregular') format('svg'),
    url('../font/04/helvetica.eot?#iefix') format('embedded-opentype'),
    url('../font/04/helvetica.woff') format('woff'),
    url('../font/04/helvetica.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'helveticaneuecyrbold';
    src: url('../font/04/helveticaneuecyr-bold.eot');
    src: url('../font/04/helveticaneuecyr-bold.svg#helveticaneuecyrbold') format('svg'),
    url('../font/04/helveticaneuecyr-bold.eot?#iefix') format('embedded-opentype'),
    url('../font/04/helveticaneuecyr-bold.woff') format('woff'),
    url('../font/04/helveticaneuecyr-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'helveticaneuecyritalic';
    src: url('../font/04/helveticaneuecyr-italic.eot');
    src: url('../font/04/helveticaneuecyr-italic.svg#helveticaneuecyritalic') format('svg'),
    url('../font/04/helveticaneuecyr-italic.eot?#iefix') format('embedded-opentype'),
    url('../font/04/helveticaneuecyr-italic.woff') format('woff'),
    url('../font/04/helveticaneuecyr-italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none; 
}

body {
	min-width: unset !important;
}

a, button {
    text-decoration: none;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.5, 0, 0, 1);
}

::-webkit-input-placeholder { color: #C2C2C2; }
:-ms-input-placeholder { color: #C2C2C2; }
::-ms-input-placeholder { color: #C2C2C2; }
::placeholder { color: #C2C2C2; } 

body {
    background: #F7F7F7;
}

.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: #F7F7F7;
    font-family: Helvetica, Arial, 'helveticaregular';
}

.rating-inner {
    max-width: 484px;
    width: 100%;
    padding: 40px 0;
}

.rating-heading {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: #626262;  
    margin-bottom: 47px;
}

.rating-heading strong {
    display: block;
    margin: 0 auto;
}

.rating-block {
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    padding: 36px;
}

.rating-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating-btn {
    display: block;
    cursor: pointer;
    margin-right: 25px;
}

.rating-btn:last-child {
    margin-right: 0;
}

.rating-btn-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 120px;
    height: 100px;
    background: #FBFBFB;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    color: #D7D7D7;
    text-align: center;
    font-size: 17px;
    line-height: 20px;
    transition: 0.5s ease-out;
}

.rating-btn input[type="radio"] {
    display: none;
}

.rating-btn:hover .rating-btn-body {
    background: #fff;
}

/* smile */
.btn-smile .rating-btn-body, 
.btn-smile:hover .rating-btn-body,
.btn-smile.disabled:hover .rating-btn-body  
{
    color: #99C06E;
}

.btn-smile:hover .rating-btn-body {
    border: 1px solid #A7CC7E;
}

.btn-smile input:checked ~ .rating-btn-body {
    background: #F5FFEB;
    border: 1px solid #A7CC7E;
    color: #99C06E;
}

/* meh */
.btn-meh .rating-btn-body, 
.btn-meh:hover .rating-btn-body,
.btn-meh.disabled:hover .rating-btn-body  
{
    color: #E9AC42;
}

.btn-meh:hover .rating-btn-body {
    border: 1px solid #FAC15F;
}

.btn-meh input:checked ~ .rating-btn-body {
    background: #FFF7EA;
    border: 1px solid #FAC15F;
    color: #E9AC42;
}

/* frown */
.btn-frown .rating-btn-body,
.btn-frown:hover .rating-btn-body,
.btn-frown.disabled:hover .rating-btn-body 
{
    color: #F58585;
}

.btn-frown:hover .rating-btn-body {
    border: 1px solid #FFA4A4;
}

.btn-frown input:checked ~ .rating-btn-body {
    background: #FFF5F5;
    border: 1px solid #FFA4A4;
    color: #F58585;
}

.rating-btn.disabled .rating-btn-body {
    color: #D7D7D7;
}

.rating-btn-body i {
    font-size: 40px;
    line-height: 50px;
}

.rating-btn-body span {
    display: block;
    margin: 0 auto;
    text-transform: uppercase;
}

.rating-body {
    margin-top: 25px;
    display: none;
}

.rating-body.visible {
    display: block;
    animation: fadeIn 0.5s cubic-bezier(0.5, 0, 0, 1);
}

textarea {
    width: 100%;
    height: 158px;
    display: block;
    padding: 12px 17px;
    resize: none;
    font-family: Helvetica, Arial, 'helveticaregular';
    font-size: 16px;
    line-height: 21px;
    color: #000000;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    margin-bottom: 25px;
    transition: 0.5s ease-out;
}

textarea.with-text {
    border: 1px solid #ACD6E7;
}

.send-btn {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0 7px;
    background: #74BA6C;
    border-radius: 3px;
    text-align: center;
    color: #FFFFFF;
    border: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

.send-btn.disable {
    pointer-events: none;
    background: #D7D7D7;
}

.send-btn i,
.send-btn.loading span,
.send-btn .success
{
    display: none;
}

.send-btn.loading i {
    font-size: 24px;
}

.send-btn.loading i {
    display: block;
    margin: 0 auto;
    animation: fa-spin 1s infinite steps(8), 
               fadeIn 0.5s cubic-bezier(0.5, 0, 0, 1);
}

/* second page */

#thanks i {
	font-size: 122px;
	color: #99c06e;
	text-align: center;
	line-height: 82px;
}

#thanks p {
	font-family: Helvetica, Arial, 'helveticaregular';
	font-size: 18px;
	color: #626262;
	line-height: 28px;
	text-align: center;
	margin: 36px auto 0;
}

@keyframes fadeIn {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@media all and (max-width: 768px) {
    .rating {
        font-family: HelveticaMedium, Arial, sans-serif;
    }
    .rating-inner {
        max-width: 280px;
    }
    .rating-heading {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 26px;
    }
    .rating-block {
        padding: 13px;
    }
    .rating-btn-body {
        width: 78px;
        height: 78px;
        font-size: 12px;
        line-height: 17px;
    }
    .rating-btn-body i {
        font-size: 36px;
        line-height: 41px;
    }
    .rating-btn {
        margin-right: unset;
    }
    .rating-body {
        margin-top: 12px;
    }
    textarea {
        font-size: 14px;
        line-height: 17px;
        padding: 8px 10px;
        margin-bottom: 12px;
    }
    .send-btn {
        height: 32px;
        line-height: 32px;
        padding: 0 4px;
        font-size: 11px;
    }
    .send-btn.loading i {
        font-size: 16px;
	}
	#thanks i {
		font-size: 100px;
		line-height: 60px;
	}
	#thanks p {
		font-size: 16px;
		line-height: 24px;
		max-width: 80%;
		margin-top: 24px;
	}
}

.rating .rating-inner > i {
display:table;
margin:0px auto;
}