
body{
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #1F1F1F!important;
    font-size: 14px;
}
.wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;

}

#nav {
    height: 128px;
    width: 100%;
    box-sizing: border-box;
    padding-top: 32px;
    padding-bottom: 32px;
    overflow: hidden;
}

#top_image {
    padding-left: 16px;
    padding-right: 16px;
    height: 100%;
    background-color: #e0e0e0;
    width: 100%;
    background-image: url('https://s3-eu-west-1.amazonaws.com/youngcrm/images/frontend_top.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-size: 72px;
    position: relative;
}

#top_image h1{
    font-size: 72px!important;
    color: white!important;
    font-weight: 300;
    line-height: 1.1;
}

.scroll_down
{
    position: absolute;
    bottom: 48px;
    left: 50%;
    margin:0 auto;
    margin-left: -21.5px;
    width: 43px;
    height: 31px;
    background-image: url('https://s3-eu-west-1.amazonaws.com/youngcrm/images/scroll.png');


    -webkit-animation-name: up_down; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease;
    animation-name: up_down;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
    -webkit-animation-play-state: running;
    animation-play-state: running;
}



/* Chrome, Safari, Opera */
@-webkit-keyframes up_down {
    0% {
      bottom: 10px;
    }
    50% {
        bottom: 48px;
    }
    100%
    {
        bottom: 10px;
    }
}

/* Standard syntax */
@keyframes up_down {
    0% {
        bottom: 10px;
    }
    50% {
        bottom: 48px;
    }
    100%
    {
        bottom: 10px;
    }
}




@media (max-width: 1000px) {

    #top_image h1 {
        font-size: 50px!important;;
    }
}

@media (max-width: 700px) {

    #top_image h1 {
        font-size: 30px!important;;
    }
}


#top_image strong {
    vertical-align: baseline;
}

#logo {
    background-image: url('https://s3-eu-west-1.amazonaws.com/youngcrm/images/logo.png');
    height: 64px;
    width: 64px;
    display: inline-block;
    -webkit-animation-name: rotate; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 1s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: 2;
    -webkit-animation-timing-function: linear;
    animation-name: rotate;
    animation-duration: 1s;
    animation-iteration-count: 2;
    animation-timing-function: linear;
}

body.loaded #logo{
    -webkit-animation-name: rotate; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 1s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-name: rotate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

.mobile
{
    display: none;
}

.non_mobile
{
    display: block;
}


#youngcrm
{
    background-image: url('https://s3-eu-west-1.amazonaws.com/youngcrm/images/youngcrm.png');
    width: 208px;
    height: 64px;
    display: inline-block;
}


#logo:hover
{
    -webkit-animation-play-state: running!important; /* Chrome, Safari, Opera */
    animation-play-state: running!important;
}

#menu
{
    margin-top: 20px;
}

#menu .inline
{
    display: inline!important;
}

@media (max-width: 875px) {


    #nav {
        height: auto;
        overflow: visible;
    }
    .mobile{
        display: block;
    }

    .non_mobile{
        display: none!important;
    }

    #menu .inline.non_mobile{
        display: none!important;

    }
}


@media (max-width: 450px) {

    #nav .float_left {
        width: 100%;
        text-align: center;
    }
    #nav .float_right {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
}

/* Chrome, Safari, Opera */
@-webkit-keyframes rotate {
    0% {
        -ms-transform: rotate(0deg); /* IE 9 */
        -webkit-transform: rotate(0deg); /* Safari */
        transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(360deg); /* IE 9 */
        -webkit-transform: rotate(360deg); /* Safari */
        transform: rotate(360deg);
    }
}

/* Standard syntax */
@keyframes rotate {
    0% {
        -ms-transform: rotate(0deg); /* IE 9 */
        -webkit-transform: rotate(0deg); /* Safari */
        transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(360deg); /* IE 9 */
        -webkit-transform: rotate(360deg); /* Safari */
        transform: rotate(360deg);
    }
}

#menu .border_right{
    position: relative;
    overflow: visible;
}

#menu .border_right::after
{
    content: '';
    position: absolute;
    right: -1px;
    top:9px;
    overflow: visible;
    width: 1px;
    background-color: #e0e0e0;
    height: 46px;
}

#menu .frontend_button
{
    margin-left: 24px;
}

.frontend_button
{
    padding: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
    background-color: white;
    border: 1px solid #e0e0e0;
    color: #707070;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
}

.frontend_button:hover
{
    background-color: #389edd;
    color: white;
    border: 1px solid #389edd;
}

.color_24
{
    color: #242424;
}

#info
{
    color:#707070;
}

#info p{
    font-size: 18px;
}

#info h2
{
    font-size: 36px;
    margin-bottom: 32px;
}

h2
{
    color:#707070;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 300!important;
    margin-bottom: 28px!important;
}

.frontend_pad_top_bottom
{
    padding-top: 120px;
    padding-bottom:120px;
}

h2
{
    font-size: 30px;
    line-height: 1.1;
}

p{
    padding-bottom: 8px;
    font-size: 14px;
    font-weight: 300;
}


@media (max-width: 875px) {
    .frontend_pad_top_bottom
    {
        padding-top: 12%;
        padding-bottom:  12%;
    }


    h2
    {
        font-size: 30px;
        line-height: 1.1;
    }

    p{
        font-size: 18px;
    }
}

.step
{
    width: 25%;
    min-width: 140px;
    height: 200px;
    position: relative;
    display: inline-block;
    float: left;
    margin-bottom: 36px;
    opacity: 0;
    transition: opacity 300ms ease;
    font-size: 18px;
    color: #707070
}

.step img
{
    margin-bottom: 24px;
}

.step.show
{
    transition: opacity 300ms ease;
    opacity: 1;
}


.step::after
{
    position: absolute;
    right : -7.5px;
    content: '';
    background-image: url('https://s3-eu-west-1.amazonaws.com/youngcrm/images/step_arrow.jpg');
    width: 13px;
    height: 26px;
    top: 70px;
}

.step:nth-child(5)::after
{
    display: none;
}

#steps h2
{
    margin-bottom:75px!important
}

@media (max-width: 875px) {

    #steps h2
    {
        margin-bottom: 32px;
    }

    .step {
        width: 50%;
    }

    .step::after
    {
        display: none;
    }
}

@media (max-width: 640px) {
    .step {
        width: 100%;
        margin-bottom: 50px;
    }

}


#demonstration
{
    background-image: url('https://s3-eu-west-1.amazonaws.com/youngcrm/images/mac_demo.png');
    background-position: left center;
    min-height: 466px;
    background-repeat: no-repeat;
    background-size: 71%;
}

#demonstration .text
{
    float: right;
    width: 475px;
    margin-right: 80px;
}

@media (max-width: 1000px) {
    #demonstration{
        padding-top: 55%;
        background-position:center 60px;
        background-size: 80%;
        min-height: inherit;
    }

    #demonstration .text{
        text-align: center;
        width: 100%;
        float: none;
        margin:0;
        margin-top: 60px;
    }

}


#counters .count
{
    text-align: center;
    width: 33.3%;
    display: inline-block;
    float: left;
    font-weight: 300;
    font-size: 18px;
}

#counters .number {
    font-size: 72px;
    font-weight: 800;
    min-height: 108px;
    color: #37373c;
}

@media (max-width: 875px) {

    #counters .count
    {
        width: 100%;
        margin-bottom: 36px;
    }
}

#exhibition
{
   background-image: url('https://s3-eu-west-1.amazonaws.com/youngcrm/images/exhibition.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

#form .text{

    max-width: 863px;
    padding: 120px;
    padding-right: 27%;
    box-sizing: border-box;
    background-color: white;
}

.text h2
{
    margin-bottom: 12px;
}

#form
{
    position: relative;
}

#form .iphone
{
    background-image: url('https://s3-eu-west-1.amazonaws.com/youngcrm/images/iphone_example.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    padding-bottom: 207%;
}

.iphone_wrapper
{
    width: 38%;
    position: absolute;
    right: 0;
    top: 50px;
    opacity: 0;
    bottom:0;
    transition: all 500ms;
}

.iphone_wrapper.show
{
    top: -31px;
    opacity: 1;
    transition: all 500ms;

}



@media (max-width: 1060px) {

    .iphone_wrapper.show, .iphone_wrapper
    {
        margin: 0 auto;
        position: absolute;
        width: 80%;
        max-width: 400px;
        right: auto;
        top: inherit;
        bottom: 100%;
        margin-left:  -200px;
        left: 50%;
    }


    #form .iphone_wrapper .iphone
    {
        margin-bottom: -210%;
        transition: all 500ms;
    }

    #form .iphone_wrapper.show .iphone{
        margin-bottom: -90%;
        transition: all 500ms;
            }

    #exhibition
    {
        margin-top: 525px;
    }

    #exhibition .text{
        padding: 60px!important;
        text-align: center;
        width: 100%;
    }
}


@media (max-width: 500px) {
    .iphone_wrapper{
        left: 0;
        width: 80%;
    }
    .iphone_wrapper.show
    {
        margin-left: auto;
        left: 0;
        right: 0;
    }

    #exhibition {
        margin-top: 100%;
    }
}

#mce-EMAIL
{
    height: 44px;
    padding: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
    background-color: white;
    border: 1px solid #e0e0e0;
    color: #707070;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    max-width: 430px;
    margin: 0;
}

#mc-embedded-subscribe{
    padding-top:0;
    padding-bottom: 0;
    line-height: 44px;
    height: 44px;
    box-sizing: border-box;
    margin: 0;
}

h2
{
    margin-bottom: 40px;
}
