@font-face {
    font-family: 'Proba Pro';
    src: url('../fonts/proba_pro_thin.eot');
    src: url('../fonts/proba_pro_thin.eot?#iefix') format('embedded-opentype'),
    url('../fonts/proba_pro_thin.woff2') format('woff2'),
    url('../fonts/proba_pro_thin.woff') format('woff'),
    url('../fonts/proba_pro_thin.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;

}

@font-face {
    font-family: 'Proba Pro';
    src: url('../fonts/proba_pro_light.eot');
    src: url('../fonts/proba_pro_light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/proba_pro_light.woff2') format('woff2'),
    url('../fonts/proba_pro_light.woff') format('woff'),
    url('../fonts/proba_pro_light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Proba Pro';
    src: url('../fonts/proba_pro_regular.eot');
    src: url('../fonts/proba_pro_regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/proba_pro_regular.woff2') format('woff2'),
    url('../fonts/proba_pro_regular.woff') format('woff'),
    url('../fonts/proba_pro_regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;

}

@font-face {
    font-family: 'Proba Pro';
    src: url('../fonts/proba_pro_semibold.eot');
    src: url('../fonts/proba_pro_semibold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/proba_pro_semibold.woff2') format('woff2'),
    url('../fonts/proba_pro_semibold.woff') format('woff'),
    url('../fonts/proba_pro_semibold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;

}

@font-face {
    font-family: 'Proba Pro';
    src: url('../fonts/proba_pro_bold.eot');
    src: url('../fonts/proba_pro_bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/proba_pro_bold.woff2') format('woff2'),
    url('../fonts/proba_pro_bold.woff') format('woff'),
    url('../fonts/proba_pro_bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;

}

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html,
   button,
   input,
   select,
   textarea {
    color: #222;
}

html {
    height: 100%;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Proba Pro', Helvetica, sans-serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

 ::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

 audio,
 canvas,
 img,
 video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

 fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

 textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

   .browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    position: relative;
    height: 100%;
}

.wrapper {
    width: 970px;
    margin: 0 auto;
}

section {
    padding: 75px 0;
}

section.white {
    background-color: #fff;
}

section.gold {
    background-color: #fbf9f5;
}

section.gold2 h2, section.gold2 p  {
    color:white;
}

section.gold2 {
    background-color: #ddd2b7;
}

section.blue {
    background-color: #0ba1d5;
}

header {
    height: 100%;
    background: url('../img/bg-header.jpg') center center;
    background-size: cover;
    position: relative;
    width: 100%;
}

header img {
    display: block;
    padding-top: 75px;
    margin: 0 auto;
}

header h1 {
    display: block;
    font-family: 'Proba Pro', Helvetica, sans-serif;
    padding-top: 10px;
    margin: 0 auto;
    font-weight: 400;
    color: #fff;
    font-size: 26px;
    text-align: center;
}
header h2 {
    display: block;
    font-family: 'Proba Pro', Helvetica, sans-serif;
    padding-top: 80px;
    margin: 0 auto;
    font-weight: 600;
    color: #fff;
    font-size: 32px;
    text-align: center;
    letter-spacing: 1.1pt;
}

strong {
    font-weight: 700;
}

p {
 color: #989898;
 font-size: 17px;
}

.button-holder-case {
    margin: 0 auto;
    padding-top: 50px;
    text-align: center;
}
.button-holder {
    margin: 0 auto;
    padding-top: 200px;
    text-align: center;
}

.btn {
    width: 220px;
    height: 54px;
    -moz-border-radius: 4px / 4px 4px 4px 4px;
    -webkit-border-radius: 4px / 4px 4px 4px 4px;
    border-radius: 4px / 4px 4px 4px 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    display: inline-block;
    line-height: 58px;
    text-align: center;
    color: #fff;
    font-family: "Proba Pro";
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    border: none;
    padding: 0;
    outline: none;
}

.btn-blue {
    background-color: #0ba1d5;
}

.btn-blue:hover {
    background-color: #0a88b4;
}

.btn-green {
    background-color: #a1cf2f;
    margin: 20px auto;
    display: block;
}

.btn-green:hover {
    background-color: #92b736;
}

.btn-trans {
    background: transparent;
    color: #ddd1b7;
    position: relative;
    overflow: hidden;
}

.btn-trans:hover {
    color: #fff;
}

.btn-cases {
    border: 2px solid #ddd2b7;
    color: #ddd2b7;
    cursor: pointer;
}

.btn-cases2 {
    border: 2px solid white;
    color: white;
    cursor: pointer;
}

.btn-cases:hover {
    color: #ffffff;
    background-color: #ddd2b7;
}


.btn-outline {
    border: 2px solid;
}

.btn-outline:hover {
    color: #0ba1d5;
    background-color: #fff;
    border: 2px solid;
}
.btn-center {
    margin: 0 auto;
    display: block;
}

.btn-right {
    margin-top: 70px;
    float: right;
}
.btn-white {
    border: 2px solid white;
    color: white;
    width: 184px;
    height: 50px;
    line-height: 53px;
    margin: 0 auto;
}



.advantage {
    width: 33.3333333%;
    float: left;
    text-align: center;
    padding: 1em 0 2em;
    margin-top: -20px;
    -webkit-transition: all 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition:         all 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.advantage.show {
    margin-top: 0;
    opacity: 1;
}

.advantage .icon {
    display: block;
    width: 100px;
    height: 75px;
    background:url('../img/sprite-icons.png') 0 0 no-repeat;
    margin: 0 auto;
    padding: 0;
}

h3 {
    color: #323232;
    font-family: "Proba Pro";
    font-size: 24px;
    font-weight: normal;
    margin-top: 18px;;
}

.advantage p {
    font-family: "Proba Pro";
    height: 3em;
    padding: 0 1em;
}

.easy .icon {
    background-position: 10px 20px;
}

.quick .icon {
    background-position: -119px 16px;
}

.trends .icon {
    background-position: -239px 17px;
}

.individual .icon {
    background-position: 15px -105px;
}

.mobile .icon {
    background-position: -118px -105px;
}

.support .icon {
    background-position: -239px -105px;
}

h2 {
    text-align: center;
    color: #323232;
    font-family: "Proba Pro";
    font-size: 26px;
    font-weight: bold;
}

p.subheading {
    width: 55%;
    text-align: center;
    display: block;
    margin: 0 auto;
}


.cases-cover {
    width: 100%;
    margin-top: 40px;
}
.case-cover {
    display: none;
    width: 50%;
    float: left;
    height: 320px;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}
.case-cover-inner{
    height: 320px;
    width: 98%;
    position: absolute;
}
.case-cover:nth-child(even) .case-cover-inner{
    right: 0px;
}
.case-cover:nth-child(odd) .case-cover-inner{
    left: 0px;
}
.case-cover:nth-child(1), .case-cover:nth-child(2) {
    display: block;
}
.case-description {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    visibility: hidden;
    text-align: center;
    opacity: 0;
    transition: visibility 0s .2s, opacity .2s linear;
}
.case-cover-inner:hover > .case-description{
    visibility: visible;
    opacity: 1;
    transition: opacity .2s linear;
}
.case-description-inner {
    margin: 0 auto;
    width: 90%;
}
.case-description-inner-middle-div {
    margin: 0 auto;
    width: 290px;
}
.case-description-inner-middle {
    height: 320px;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

.case-description p {
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    padding-bottom: 40px;
}

.case-description a {
    padding: 2px;
}
.case-description .site-link {
    font-size: 16px;
    color: white;
    margin: 15px;
    display: block;
}
.case-description {
    background: rgba(0,0,0,.7);
}

.jcarousel-wrapper {
    width: 700px;
    margin: 50px auto 0;
    position: relative;
}

.jcarousel {
    position: relative;
    overflow: hidden;
}

.jcarousel ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jcarousel li {
    float: left;
}

.jcarousel-control-prev,
.jcarousel-control-next {
    font-size: 0px;
    display: block;
    position: absolute;
    top: 225px;
    width: 25px;
    height: 42px;
    background: url('../img/sprite.png') 0 0 no-repeat;
}

.jcarousel-control-prev{
    left: -50px;
    background-position: 0 -192px;

}

.jcarousel-control-prev:hover{
    background-position: 0 -136px;
}

.jcarousel-control-next {
    right: -50px;
    background-position: -41px -192px;
}

.jcarousel-control-next:hover {
    background-position: -41px -136px;
}

.half {
    width: 50%;
    float: left;
    position: relative;
}

.half p {
    width: 90%;
    padding-bottom: 1em;

}
.half h3 {
    margin-bottom: .5em;
    margin-top: .5em;
}
.half .phone {
    position: absolute;
    top: 0;
    transition: all 0.7s ease-in-out;
}
.phone.one {
    left: 0;
    z-index: 300;
}

.phone.two {
    left: 0;
    z-index: 200;
}

.phone.three {
    left: 0;
    z-index: 100;
}

.phone.one.show {
    left: 0;
    z-index: 300;
}

.phone.two.show {
    left: 125px;
    z-index: 200;
}

.phone.three.show {
    left: 250px;
    z-index: 100;
}

.priceholder {
    width: 940px;
    vertical-align: middle;
    margin: 50px auto;
}

.priceholder > div {
    display: table-cell;
    vertical-align: middle;
}

.priceholder > div.green > div {
    margin: 0 20px;
}

.priceholder > div.green div.price {
    background-color: #a1cf2f;
}

.priceholder > div > div {
    background-color: #fff;
    width: 300px;  
}

.price {
    height: 75px;
    background-color: #ddd1b7;
    text-align: center;
    font-family: 'Proba Pro';
    font-weight: 800;
    line-height: 80px;
    font-size: 32px;
    color: #fff;
    width: 300px;
}

span.rub {
    display: inline-block;
    width: 19px;
    height: 24px;
    background: url('../img/rub.png') 0 0 no-repeat;
    font-size: 0;
    line-height: 46px;
}

.priceholder ul {
    list-style: none;
    padding: 30px 15px 15px 30px;
}

.priceholder ul li {
    color: #4c4c4c;
    font-size: 17px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 40px;
}

.priceholder ul li:before {
    display: inline-block;
    width: 20px;
    height: 15px;
    content: '';
    background: url('../img/sprite.png') 0px -58px no-repeat;
    margin-right: 20px;
    position: absolute;
    left: 0px;
    top: 5px;
}

.priceholder ul li[data-tooltip] i {
    display: inline-block;
    width: 20px;
    height: 20px;
    content: '';
    background: url('../img/sprite.png') 0 -27px no-repeat;
    margin-left: 10px;
    position: absolute;
    cursor: pointer;
}

.priceholder ul li[data-tooltip] i:hover {
    background-position: -22px -27px;
}

.likes {
    text-align: center;
    margin: 0 auto;
    width: 420px;
    margin-top:30px;
}

.half.white h2,
.half.white p,
.half.white a {
    text-align: left;
    color: #fff;

}

footer {
    padding: 50px 0;
}

.half.right {
    text-align: right;
}

footer .half.right a {
    margin-right: 20px;
    color: #0ca1d5;
}

.small-header {
    position: fixed;
    top: -70px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    padding: 20px 0;
    -webkit-box-shadow: 0px 0px 14px 0px rgba(50, 50, 50, 0.25);
    -moz-box-shadow: 0px 0px 14px 0px rgba(50, 50, 50, 0.25);
    box-shadow: 0px 0px 14px 0px rgba(50, 50, 50, 0.525);;
    transition: all 0.2s ease-in-out;
}

div.smallogo {
    font-weight: 800;
    font-size: 1.2em;
}

.small-header.show {
    top: 0px;
}

.small-header a {
    text-decoration: none;
    margin-left: 30px;
    color: #ddd1b7;

}


div.tooltip {
    width: 155px;
    height: 60px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: #e3bd5b;
    padding: 15px;
    position: absolute;
    font-weight: lighter;
    color: #fff;
    display: none;
    z-index: 10;
}

div.tooltip:before {
    content: '';
    display: block;
    height: 15px;
    width: 15px;
    top: 35px;
    left: -6px;
    position: absolute;
    background-color: #e3bd5b;
    transform: rotate(45deg);
    z-index: 9;

}

.popup {
    width: 100%;
    background: transparent;
    position: relative;
}

.popup .heading {
    color: #323232;
    font-family: "Proba Pro";
    font-size: 26px;
    font-weight: bold;

}

.popup .heading.center {
    text-align: center;

}

.popup i.close {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    background: url('../img/sprite.png') 0 -94px no-repeat;;

}

.popup form input[type="text"],
.popup form textarea { height: 54px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: #fff;
    border: 2px solid #ddd;
    color: #adadad;
    font-family: "Proba Pro";
    font-size: 18px;
    display: block;
    width: 280px;
    margin: 10px auto;
    padding: 0 20px;
    outline: none;

}

.popup form textarea {
    height: 108px;
    padding: 20px;

}

#okPopup p, #fPopup p {
    color: #000;
    font-family: "Proba Pro";
    font-size: 18px;
    text-align: center;

}

i.ok {
    display: block;
    width: 150px;
    height: 60px;
    background: url('../img/sprite.png') 58px -245px no-repeat;
    text-align: center;
    margin: 20px auto;
}

.bad {
    border-color: red!important;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

 .ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

 .hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

 .visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

 .visuallyhidden.focusable:active,
 .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

 .invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

 .clearfix:before,
 .clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

 .clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (max-width: 970px) {
   .wrapper {
    width: 100%
   }
   .small-header {
    display: none;
   }
   .button-holder {
    margin-top: 0;
    padding-top: 50px;;
   }
   header {
    min-height: 100%;
    height: 100%;
   }
   .advantage {
    float:none;
    width: 100%;
   }
   .half {
    float: none;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
   }
   .half.phones {
    display: none;
   }
   .priceholder {
    width: 100%;
   }
   .priceholder > div {
    display: block;
    margin: 0;
    vertical-align: initial;
    width: 100%;
   }
   .priceholder > div >  div, .price {
    display: block;
    margin: 0 auto;
   }
   .priceholder > div.green > div {
    margin: 0 auto;
   }
   .btn-right {
    float: none;
    margin: 0 auto;
    display: block;
   }
   footer .half {
    text-align: center;
   }
   .jcarousel-wrapper {
    width: 100%;
   }
   .jcarousel-wrapper img {
    width: 100%;
   }
   .jcarousel-control-next{
    top: 0;
    right: 0;
}
   .jcarousel-control-prev{
    top: 0;
    left: 0;
}
    .popup form input[type="text"],
    .popup form textarea {
        width: 100%;
        box-sizing: border-box;
    }

   .case-cover-inner{
       height: 320px;
       width: 92%;
       position: absolute;
   }
   .case-cover:nth-child(even) .case-cover-inner{
       right: 20px;
   }
   .case-cover:nth-child(odd) .case-cover-inner{
       left: 20px;
   }

}


@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

   @media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

     .ir a:after,
     a[href^="javascript:"]:after,
     a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


@media only screen and (max-width: 700px) {
    .case-cover {
        width: 100%;
    }
    .case-cover-inner{
        height: 320px;
        width: 92%;
        position: static;
        margin: 0 auto;
    }
    .case-cover:nth-child .case-cover-inner{
        right: 0px;
        left: 0px;
    }
    .case-description p {
        font-weight: normal;
    }
    p {
        font-weight: normal;
    }
}
