﻿
.section6{
    background-color:#8953e2;
    padding:160px 30px 130px 30px;
    color:#fff;
    text-align:center;
    position:relative;
}

.section6 .h-container{
    max-width:820px;
    width:100%;
    margin:0 auto;
}
.section6 h2{
    padding-bottom:36px;
}
.section6 .demo-txt p{
    max-width:470px;
    width:100%;
    margin:0 auto;
    padding-bottom:44px;
}

.r-demo-btn{
    border-radius:29px;
    box-shadow: 0 9px 22px 7px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  padding:18px 35px;
  font-size:14px;
  letter-spacing:2px;
  line-height:18px;
  color:#8953e2;
      display: inline-block;
      font-family: 'Averta-ExtraBold',"Open Sans", Helvetica, Arial, Verdana, sans-serif;
}

.r-demo-btn:hover,.r-demo-btn:focus{
    /*color:#7245bc;*/
    background-color:#7245bc;
    color:#fff;
}
.r-demo-btn.send-demo{
    color:#02faa7;
    border:2px solid #02faa7;
    /*border-radius:26px;
    padding:10px 24px;*/
    background-color:transparent;
}

.r-demo-btn.send-demo:hover,.r-demo-btn.send-demo:focus{
    background-color:#02faa7;
    border-bottom:2px solid #02faa7;
    color:#25292d;
}
.demo-form{
    overflow:hidden;
    max-width:686px;
    width:100%;
    margin:0 auto;

    overflow:hidden;
    padding-bottom:30px;

    /*visibility: hidden !important;*/
    display:none;
    /*-webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.4s ease-in-out, visibility 0s 0.4s;
    -moz-transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
    -o-transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
    transition: transform 0.4s ease-in-out, visibility 0s 0.4s;*/
}

.demo-form.open {
        display:block !important;
        /*-webkit-transform: translateY(0%);
        -moz-transform: translateY(0%);
        -ms-transform: translateY(0%);
        -o-transform: translateY(0%);
        transform: translateY(0%);
        -webkit-transition: -webkit-transform 0.4s ease-in-out;
        -moz-transition: transform 0.4s ease-in-out;
        -o-transition: transform 0.4s ease-in-out;
        transition: transform 0.4s ease-in-out;*/
    }

.demo-form .r-demo-btn{
    margin-top:15px;
}
.section6 .popup.open{
    position:absolute;
    height:100%;
    padding-top:150px;
    padding-bottom:150px;
}
    .section6 .popup.open .button-container {
        display:none;
    }

@media screen and (max-width:1470px){
    .thanks-container .video-content iframe {
        height: 750px;
    }
}

@media screen and (max-width:1426px){
    .thanks-container .video-content iframe {
        height: 700px;
    }
}
@media screen and (max-width:1360px){
    .thanks-container .video-content iframe {
        height: 660px;
    }
}

@media screen and (max-width:1300px){
    .thanks-container .video-content iframe {
        height: 640px;
    }
}

@media screen and (max-width:1255px){
    .thanks-container .video-content iframe {
        height: 600px;
    }
}

@media screen and (max-width:1180px){
    .thanks-container .video-content iframe {
        height: 580px;
    }
}

@media screen and (max-width:1130px){
    .thanks-container .video-content iframe {
        height: 540px;
    }
}

@media screen and (max-width:1060px){
    .thanks-container .video-content iframe {
        height: 500px;
    }
}