body {
    background: -webkit-radial-gradient(80% 10%, circle, rgb(239, 50, 44), transparent),  
    -webkit-radial-gradient(80% 50%, circle, rgb(133, 23, 27), transparent),  
    -webkit-radial-gradient(20% 80%, 40em 40em, rgb(253, 189, 66), transparent),  
    -webkit-radial-gradient(10% 10%, circle, rgb(226, 107, 38), transparent);
}

button:focus {
    outline: none;
}

form .help-block {
    display: none;
 }

.container-color {
    background-image: linear-gradient(45deg, #ef322c, #85171b, #fdbd42, #e26b26, #4c9c41, #146e2e, #6fa3db, #29369d, #ef322c, #85171b);
     width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    overflow-y: auto;
    background-size: 1700% 100%;
    background-position: 0;
    animation: gradientBG 90s ease infinite;
    max-height: 100%;
    transition: top .3s;
}

.container-color h1.page-title {
    color: #fff;
    position: relative;
}

.container-color .page-info {
    color: #fff;
    margin-top: 2.5%;
    margin-bottom: 2%;
    position: relative;
}

.container-color .page-info a.page-link {
    color: #fff;
    box-shadow: 0px 1px 0px 0px rgba(255,255,255,0.5);       
    transition: all 0.3s;
}

.container-color .page-info a:hover {
    box-shadow: 0px 1px 0px 0px rgba(255,255,255,0.2);
}

 @keyframes gradientBG {
    0% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 25% 0%;    
    }
    50% {
        background-position: 50% 0%;
    }
    75% {
        background-position: 75% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.contact-button {
	position: relative;
    font-family: 'Montserrat-Regular', sans-serif;
    letter-spacing: 2px;
    font-size: 17px;
    box-shadow: 0px 0px 0px 1px rgba(255,255,255,0.5);
    border: none;
    border-radius: 500px;
    background-color: transparent;
    padding: 19px 12px 17px;
    width: 290px !important;
    margin-top: 4.8% !important;
    box-shadow: 0px 0px 0px 1px rgba(255,255,255,0.95);
    transition: all 0.3s;
}

.contact-button:focus {
	outline: none;
}

.contact-button > span {
	display: inline-block;
    margin-right: -7px;
}

.contact-button:hover {
    box-shadow: 0px 0px 0px 1px rgba(255,255,255,1);
    animation: rotate 0.7s ease-in-out both;
}

.contact-button:hover > span {
    animation: storm 0.7s ease-in-out both;
    animation-delay: 0.06s;
}

.contact .deco-wave-container {
    margin-top: 2.8%;
}

.contact .contact-descr-text {
    font-family: 'Montserrat-ExtraLight', sans-serif;
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 0.05em;
    padding-left: 25px;
    padding-right: 25px;
    width: 44%;
    margin-left: auto;
    margin-right: auto;
    line-height: 2em;
}

.container-form {
	width: 100%;
	height: 50%;
    min-height: 460px;
	position: fixed;
    bottom: -800px;
    background-color: #333;
    overflow: hidden;
    transition: bottom .3s;
}

.container-color .page-title {
    transition: margin-top .3s ease-in 0s, padding-bottom .3s ease-in 0s;
}

.wrap.form-open > .container-color .page-title {
    margin-top: 2%;
    padding-bottom: 0;
}

.wrap.form-open > .container-form {
	bottom: 0 !important;
}

.wrap.form-open .container-color .contact-button {
	display: none;
}

.container-color-text {
	position: absolute;
    width: 100%;
    top: calc(50% - 250px);
}

.form-text {
	color: #999;
	max-width: 500px;
	margin: 50px auto 0;
	font-family: 'Montserrat-Thin', sans-serif;
	font-size: 15px;
	line-height: 25px;
}

.container-form .contact-button > span {
	color: #999;
}

.container-form .form-row {
	display: inline-block;
	vertical-align: top;
    position: relative;
    height: 80px;
}

.container-form .form-row .input-hint {
    color: #fff;
    position: absolute;
    top: 52px;
    right: 24px;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    text-transform: lowercase;
}

.container-form .input-label {
	display: inline-block;
    padding-right: 5px;
    font-family: 'Montserrat-Light', sans-serif;
    font-size: 32px;
    letter-spacing: 1px;
    color: #fff;
}

.container-form input, .container-form textarea {
	background-color: transparent;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    margin-right: 5px;
    transition: all 0.3s;
    text-transform: lowercase;
    color: #fff;
}

.container-form textarea {
    resize: none;
}

.container-form input:focus, .container-form textarea:focus {
    outline: none;
}

.container-form .form-close {
    display: inline-block;
    opacity: .5;
    transition: .2s;
    cursor: pointer;
}

.container-form .form-close:after {
    content: "";
    background-image: url(/statics/web/other/icon_close.svg);
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: 15px 15px;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #fff;
    border-radius: 50%;
}

.container-form > .form-close:hover {
    color: #fff;
    text-decoration: none;
    opacity: 1;
}

.form-slider {
    position: relative;
    max-width: 78%;
    margin: 100px auto 0;
}

.form-slider > .inner {
    width: 100%;
    overflow: hidden;
    padding-top: 5px;
}

.form-slider > .inner:after {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    content: "";
    background: linear-gradient(to right, rgba(51,51,51, 0.6), rgba(51,51,51, 0) 20%, rgba(51,51,51, 0) 60%, rgba(51,51,51, 0.8) );
    pointer-events: none;
}

.form-slider > .inner > .slide-container {
     width: 2600px;    
}

.form-slider > .controls {
    position: absolute;
    top: -4px;
    width: 100%;
    cursor: pointer;
}

.form-slider > .controls > .arrow {
    position: absolute;
    text-align: center;   
    width: 67px;
    height: 67px;
    top: 3px;
    border-radius: 50%;
    background-color: transparent;
    transition: 0.3s ease;
}

.form-slider > .controls > .arrow.inactive {
    cursor: default;   
}

.form-slider > .controls > .arrow.inactive:hover {
    background-color: transparent;  
}

.form-slider > .controls > .arrow svg {
    transition: 0.3s ease;
}

.form-slider > .controls > .arrow.inactive:hover svg {
    fill: #727272;
}

.form-slider > .controls > .arrow-previous {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    left: -90px;
}

.form-slider > .controls > .arrow-next {
    right: -80px;
}

.form-slider > .controls > .arrow-next:hover {
    background-color: #414141;
}

.form-slider > .controls > .arrow-next svg {
    fill: #727272;
    vertical-align: -33px;
}

.form-slider > .controls > .arrow-next:hover svg {
    fill: #fff;   
}

.form-slider > .controls > .arrow-previous:hover {
    background-color: #414141;
}

.form-slider > .controls > .arrow-previous:hover svg {
    fill: #fff;   
}

.form-slider > .controls > .arrow-previous svg {
    fill: #727272;
    vertical-align: -33px;
}

.form-slider > .controls > .arrow.inactive {
    opacity: .3;
}

.form-rows {
    position: relative;    
    white-space: nowrap;
    margin-left: 150px;
}

@keyframes rotate {
    0%
        {transform: rotate(0deg) translate3d(0, 0, 0);}
    25%
        {transform: rotate(3deg) translate3d(0, 0, 0);}
    50%
        {transform: rotate(-3deg) translate3d(0, 0, 0);}
    75%
        {transform: rotate(1deg) translate3d(0, 0, 0);}
    100%
        {transform: rotate(0deg) translate3d(0, 0, 0);}
}

@keyframes storm {
    0%
        {transform: translate3d( 0, 0, 0) translateZ(0);}
    25%
        {transform: translate3d( 4px, 0, 0) translateZ(0);}
    50%
        {transform: translate3d( -3px, 0, 0) translateZ(0);}
    75%
        {transform: translate3d( 2px, 0, 0) translateZ(0);}
    100%
        {transform: translate3d( 0, 0, 0) translateZ(0);}
}

.preview-button {
    background: none;
    border: none;
    font-family: 'Montserrat-Regular', sans-serif;
    letter-spacing: 7px;
    font-size: 17px;
    color: #999;
    position: relative;
}

.preview-button .list-inline {
    margin-bottom: 0;
}

.preview-button .arrow-left {
    width: 12px;
    transform: rotate(-180deg);
    position: absolute;
    left: -30px;
    top: 5px;
    opacity: 0.2;
}

#contact-form .text-input {
    text-transform: none;
    width: 500px;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 32px;
    letter-spacing: 1px;
    padding-left: 10px;
    padding-right: 10px;
}

#contact-form .has-error > .text-input {
    border-bottom-color: #f00;
}


#contact-form .text-input.input-3 {
    width: 950px;
}

#contact-form .text-input.input-4 {
    width: 600px;
}

.contact-form-control {
    width: 100%;
    text-align: right;
    padding-right: 150px;
    padding-left: 150px;
    position: absolute;
    bottom: 70px;
}

.contact-form-control .clear-all-container {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.contact-form-control .btn-preview, .contact-form-control .btn-back-to-form {
    display: inline-block;
    font-family: 'Montserrat-Medium', sans-serif;
    font-size: 25px;
    margin-right: 40px;
    line-height: 35px;
    color: #fff;
    letter-spacing: 0;
    transition: all 0.3s;
    cursor: pointer;
}

.contact-form-control .btn-preview, .contact-form-control .btn-back-to-form svg {
    fill: #fff;
    vertical-align: -9px;
    transition: all 0.3s;
}

#preview-text {
    text-align: left;
    font-family: 'Montserrat-Light', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
}

#preview-text > li {
    line-height: 32px;
    letter-spacing: 0.8px;
}

#preview-text .user-text {
    font-family: 'Montserrat-Regular', sans-serif;
    color: #ddd;
}

.clear-text {
    position: absolute;
    right: 15px;
    top: -5px;
    background-color: #525252;
    width: 18px;
    height: 18px;
    border-radius: 23px;
    color: #333;
    text-align: center;
    display: inline-block;
    font-size: 12px;
    line-height: 18px;
    cursor: pointer;
}

.clear-text:hover, .clear-text:focus {
    color: #333;
    text-decoration: none;
}

.clear-all-link {
    cursor: pointer;
    font-family: 'Montserrat-Medium', sans-serif;
    font-size: 25px;
    color: #727272;
}

.clear-all-link.disabled, .btn-preview.disabled {
    opacity: 0.5;
    cursor: default;
}

.clear-all-link:hover, .clear-all-link:focus {
    text-decoration: none;
    color: #777;
}

.form-close-preview {
    font-family: 'Montserrat-Regular', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    color: #777;
    font-size: 17px;
}

.form-close-preview:hover, .form-close-preview:focus {
    color: #777;
    text-decoration: none;
}

.tab-content > .tab-pane {
    min-height: 273px;
}

.send-button-container {
    display: inline-block;
    vertical-align: bottom;
    width: 250px;   
}

#tab-preview > .form-text {
    max-width: 85%;
    padding-right: 50px;
    height: 270px;
    overflow: auto;
}

@media(max-width: 1024px) and (min-width: 768px) {
    .container-form { 
        min-height: 410px;
    }
    
    .tab-content > .tab-pane {
        min-height: 222px;
    }
}

@media(max-height: 800px){
    .wrap.form-open .deco-wave-container {
        display: none;
    }
}

@media(max-width: 768px) {
   .container-form { 
       padding: 0 15px;
       height: 100%;
       min-height: initial;
       overflow: auto;
       z-index: 200;
    } 
    
    .container-form .form-row { 
        text-align: center;
    }
    
    .container-form-content {
        padding-top: 40px;   
    }
    
     .container-color .page-info {
        margin-bottom: 10.5%;
    }
    
    .form-slider > .inner {
        width: calc(100% - 50px);
        position: relative;
        left: 30px;
    }
    
    .form-slider > .controls > .arrow-previous {
        top: 15px;
        left: 0;
    }
    
    .form-slider > .controls > .arrow-next {
        top: 15px;
        right: 0;
    }
    
    .contact .contact-descr-text {
        width: initial;
    }
    
    .send-button-container {
        width: initial;
    }
 
    .input-label-end {
        display: none !important;    
    }
    
    .clear-all-container {
        margin-top: 10px;
    }
    
    .tab-content > .tab-pane {
        min-height: initial;
        margin-bottom: 10px;
    }
    
    .clear-text {
        display: none;   
    }
    
    .contact-button {
        margin-top: 5px !important;
    }
    
    .container-form .form-close {
        position: absolute;
        top: 25px;
        right: 27px;
    }
}

@media(max-width: 510px) {
    .container-form .form-row .input-label {
        display: block;
    }
}