/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, 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;
}

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

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

body{
    font-family: Calibri;
}
header{
    max-width: 1240px;
    height: 50px;
    margin: 0 auto;
    position: relative;
}
.container-header{
    position: fixed;
    width: 100%;
    background-color: #fff;
    height: 50px;
    z-index: 105;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.09);
    -ms-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.09);
    -moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.09);
    -o-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.09);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.09);
}
a.logo-webmoney {
    width: 140px;
    margin-left: 0;
    display: block;
    z-index: 1;
    position: relative;
    height: 50px;
    background: url(../img/logo-wm-sat-small.png) 0 center no-repeat;
}

a.logo-webmoney object {
    width: 139px;
    height: 34px;
    display: block;
    margin-top: 7px;
    pointer-events: none;
    cursor: pointer;
    position: relative;
    z-index: -1;
}

a.logo-webmoney img {
    display: block;
    margin-top: 7px;
    max-width: 100%;
    height: auto;
}

div.header-functions, table.header-user {
    width: auto;
}

td.header-user-search {
    width: 207px;
}

div.search-block {
    width: 195px;
}

div.search-block > input[type="text"] {
  width: 139px;
}
nav ul li{
    list-style: none;
    display: inline-block;
}
nav ul{
    margin: 17px 0;
    padding-left: 40px;
}
nav ul li a{
    color: #353535;
    text-decoration: none;
    font-size: 17px;

    border-bottom: 1px dashed #353535;
    margin-right: 0.3rem;
    margin-left: 0.1rem;
}
nav ul li a:hover{
    border: 0;
}
header nav{
    margin-top: -5px;
}
.parallax{
    text-align: center;
    background: #08171a url(../img/bg1.jpg) no-repeat center -325px;
    padding-top: 60px;
    border-bottom: 2px solid #ffcf05;
    padding-bottom: 43px;
    background-size: auto !important;
}
@media screen and (min-width: 60em){
    .parallax {
        background-attachment: fixed;
    }
}


.parallax h1{
    text-align: center;
    font-size: 42px;
    font-weight: normal;
    color: rgb(255, 163, 56);
    background: transparent url(../img/btc_icon.png) no-repeat top center;
    padding-top: 300px;
}
.parallax a{
    color: #000;
    text-align: center;
    font-size: 21px;
}
.btns-group{
    text-align: center;
}
.btns-group a{
    display: inline-block;
    padding: 15px 11px;
    text-align: center;
    position: relative;
    border-radius: 5px;
    background-color: #ffa339;
    text-decoration: none;
    margin-left: 0;
    font-size: 21px;    
    padding: 11px 18px;
}
.btns-group a.detscop{
    display: inline-block;
    padding: 15px 11px;
    text-align: center;
    position: relative;
    border-radius: 5px;
    background-color: #ffa339;
    text-decoration: none;
    margin-left: 30px;
}
/* .btns-group a:hover{
    background-color: #dedede;
    -webkit-transition:all .25s ease-in-out;
    transition:all .25s ease-in-out; 
} */
.apps .row div.col-md-6{
    padding: 0;
}
.apps .row div.col-md-6:last-child{
    padding-left: 35px;
}
.btns-group a:first-child{
    padding: 11px 11px;
}
.btns-group a::before{
    content: '';
    display: inline-block;
    width: 28px;
    height: 49px;
    background: transparent url(../img/app.png) no-repeat center center;
    vertical-align: middle;
}
.btns-group a.detscop::before{
    content: '';
    display: inline-block;
    width: 41px;
    height: 41px;
    background: transparent url(../img/detscop.png) no-repeat center center;
}
.langs{
    position: absolute;
    right: 15px;
    top: 7px;
}
.langs .eng, .langs .rus{
    display: inline-block;
    width: 43px;
    height: 30px;
    background: transparent url(../img/eng.png) no-repeat center center;
    vertical-align: middle;
    border: 1px dashed transparent;
    margin-top: 4px;
}
.langs .eng.active, .langs .rus.active{
    border-color: #006dbb;
}
.langs .eng{
    margin-right: 4px;
}
.langs .rus{
    background-image: url(../img/rus.png);
}
.btns-group a span{
    color: #000;
    font-size: 21px;
    vertical-align: middle;
    padding-left: 12px;
}
.valign{
    padding-top: 67px;
}
.video div.col-md-6, .graphic div.col-md-6{
    padding: 0;
    position: relative;
}
.graphic .row div.col-md-6:first-child{
    padding-left: 35px;
    padding-right: 35px;
}
.video div p{
    font-size: 30px;
    color: #fff;
    position: absolute;
    width: auto;
    text-align: left;
    left: 35px;
    top: 35px;
    margin: 0;
}
.video img, .graphic img, .apps img{
    width: 100%;
}
.graphic h3, .apps h3 {
    font-size: 28px;
    color: #006dbb;
    font-weight: normal;
    margin: 30px 0;
}
.graphic p, .apps p{
    font-size: 18px;
    color: #000;
    margin: 18px 0;
}
.graphic p a, .apps p a{
    text-decoration: underline;
    color: #1779c0;
}
.windows, .chrome, .google_play, .app_store{
    display: inline-block;
    width: 73px;
    height: 74px;
    background: transparent url(../img/windows.png) no-repeat center center;
    vertical-align: middle;
}
.google_play{
    width: 172px;
    height: 50px;
    background: transparent url(../img/googleplay.png) no-repeat center center;
}
.chrome{
    width: 73px;
    height: 73px;
    background: transparent url(../img/chrome.png) no-repeat center center;
}
.app_store{
    width: 144px;
    height: 50px;
    background: transparent url(../img/app_store.png) no-repeat center center;   
}
.qr, .socials{
    text-align: center;
    width: 100%;
}
.qr{
    margin-bottom: 15px;
}
.socials{
    margin-top: 34px;
    margin-bottom: 30px;
}
.socials a{
    margin: 0 1.5rem;
}
.qr img{
    width: auto;
}
footer{
    text-align: left;
    background: #f3f3f3;
    padding-top: 43px;
    padding-bottom: 41px;
}
footer .footer-content-coprights{
    width: 45%;
    line-height: 120%;
}
footer .footer-content-coprights p {
    margin-top: 5px;
    font-size: 15px;
}
footer .footer-content-coprights p.footer_text{
    font-size: 18px;
    color: #4c4c4c;
    margin-bottom: 20px;
}
.footer_text a{
     color: #4c4c4c;
    text-decoration: underline;
}
.footer_text a:hover{
    text-decoration: none;
}
div.lang-selector {
    margin-top: 10px;
}
div.lang-selector>div {
    position: relative;
    float: left;
    padding: 0 31px 0 0;
    background: #fff url(../img/icon-lang-selector-up.png) right 50% no-repeat;
    border: 1px solid #036cb5;
    font-size: 110%;
    cursor: pointer;
}
div.lang-selector-more {
    display: none;
    position: absolute;
    left: 0;
    bottom: 24px;
    z-index: 10;
}
.actions-opened div.lang-selector-more {
    display: block;
}
div.lang-selector-more ul {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 5px;
    border: 1px solid #999;
    background-color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.5);
    box-shadow: 0 0 5px 0 rgba(0,0,0,.5);
}
div.lang-selector-more ul:after, div.lang-selector-more ul:before {
    top: 100%;
    left: 12px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
div.lang-selector-more ul:before {
    border-color: rgba(153,153,153,0);
    border-top-color: #999;
    border-width: 6px;
    margin-left: -6px;
}
div.lang-selector-more ul:after {
    border-color: rgba(255,255,255,0);
    border-top-color: #fff;
    border-width: 5px;
    margin-left: -5px;
}
ul.footer-content a {
    color: #036cb5;
    text-decoration: none;
    border-bottom: 1px dotted #036cb5;
}
div.lang-selector-more ul a, div.lang-selector>div>span {
    line-height: 20px;
    background-position: 5px 50%;
    background-repeat: no-repeat;
}
div.lang-selector-more ul a {
    display: block;
    margin: 0;
    padding: 0 5px 0 26px;
    height: 20px;
    text-decoration: none;
    border: none;
}
.lang-UK {
    background-image: url(../img/UK.png);
}
.lang-ES {
    background-image: url(../img/ES.png);
}
.lang-PT {
    background-image: url(../img/PT.png);
}
.lang-TR {
    background-image: url(../img//TR.png);
}
.lang-RU {
    background-image: url(../img/RU.png);
}
div.lang-selector-more ul a, div.lang-selector>div>span {
    line-height: 20px;
    background-position: 5px 50%;
    background-repeat: no-repeat;
}
div.lang-selector>div>span {
    display: block;
    height: 20px;
    padding: 0 0 0 26px;
    color: rgb(138, 138, 138);
    font-size: 12px;
    font-family: Verdana;
}
div.lang-selector-more ul a{
    font-size: 12px;
    font-family: Verdana;
    color: #036cb5;    
}
div.lang-selector-more ul a:hover {
    background-color: #f3f3f3;
}
span.img{
    display: block;
    width: 100%;
    height: 100%;
    background: transparent url(../img/img3.jpg) no-repeat center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-size: cover;
}
span.img4{
    background: transparent url(../img/img4.png) no-repeat center;
}
.graphic .container-fluid, .apps .container-fluid{
    display: table;
    padding: 0;
}
.graphic .container-fluid .row,
.apps .container-fluid .row {
    display: table-row;
    margin: 0;
}
.graphic .container-fluid .row .col-md-6,
.apps .container-fluid .row .col-md-6{
    display: table-cell;
    float: none;
    position: relative;
}
.graphic .container-fluid .row .col-md-6 .valign,
.apps .container-fluid .row .col-md-6 .valign{
    padding: 10px 0 22px;
}
.ssm-toggle-nav{
    display: none;
}

@media only screen and (max-width: 1421px){
    .socials {
        white-space: nowrap;
    }
    .socials a {
        margin: 2px;
    }
}
@media only screen and (max-width: 1344px){
    .video div p {
        font-size: 22px;     
        left: 20px;
        top: 20px;
    }   
    .graphic h3, .apps h3 {
        font-size: 24px;
        margin: 15px 0;
    } 
    .graphic p, .apps p {
        font-size: 16px;
        margin: 13px 0;
    }
}
@media only screen and (max-width: 1244px){
    nav ul li a{
        font-size: 15px;
    }
    nav ul {
        margin: 17px 0;
        padding-left: 0;
    }
}
@media only screen and (max-width: 1100px){
    main header nav.col-md-10 {
        height: 100%;
        width: 280px;
        background: #f3f3f3;
        left: 0;
        top: 0;
        z-index: 2;
        position: fixed;
        overflow-y: auto;
        overflow-x: visible;
        transform: translate(-280px,0);
        margin: 0;
        padding-top: 34px;
    }
    nav ul li {
        display: block;
        width: 100%;
        text-align: left;
        padding: 10px;
    }
    a.logo-webmoney {
        margin-left: 30px;
    }
    .ssm-toggle-nav {
        display: block;
        position: absolute;
        width: 20px;
        overflow: hidden;
        top: 0;
        z-index: 1000;
        height: 50px;
        background: url(../img/menu_btn.png) center center no-repeat transparent;
        background-size: 19px 20px;
        border: none;
    }
}
@media only screen and (max-width: 990px){
    .video div p {
        font-size: 28px;     
        left: 35px;
        top: 35px;
    }    
    span.img{
        display: none;
    }
    .graphic .container-fluid .row .col-md-6, .apps .container-fluid .row .col-md-6 {
        float: left;
    }
    .apps{
        margin-bottom: 25px;
    }
    .apps .row div.col-md-6:last-child {
        padding-left: 35px;
        padding-right: 35px;
    }
    header {
        max-width: 1240px;
        height: auto;
        margin: 0 auto;
        position: relative;
        padding-bottom: 14px;
    }
    a.logo-webmoney {
        padding-bottom: 16px;
    }
    header nav.col-md-10 {
        padding: 0;
        border-top: 1px solid #efefef;
        margin-top: 4px;
    }
    nav ul {
        margin: 8px 0 2px;
        padding: 0;
    }
}
@media only screen and (max-width: 700px){
    .video div p {
        font-size: 22px;     
        left: 20px;
        top: 20px;
    }   
    .parallax .btns-group a {
        display: inline-block;
        padding: 15px 11px;
        text-align: center;
        position: relative;
        border-radius: 5px;
        background-color: #ffa339;
        text-decoration: none;
        margin-left: 30px;
        display: block;
        width: 93%;
        margin: 13px auto;
    } 
    .socials a {
        margin: 0 3px;
        background-size: contain;
        vertical-align: middle;
    }  
    .windows, .chrome, .google_play, .app_store {
        width: 37px;
        height: 37px;
    }
    .chrome {
        width: 36.5px;
        height: 36.5px;
    }
    .google_play {
        width: 86px;
        height: 25px;
    }
    .app_store {
        width: 72px;
        height: 25px;
    }
    footer .footer-content-coprights {
        width: 100%;
    }
}
@media only screen and (max-width: 448px){
    .video img {
        filter: brightness(50%);
       -webkit-filter: brightness(50%);
    }
    .parallax h1 {
        padding-top: 255px;
        background-size: contain;
        font-size: 30px;
    }
    .btns-group a{
        padding: 9px 10px;
    }
    .btns-group a span {
        font-size: 16px;
    }
}
@media only screen and (max-width: 380px){
    .apps .row div.col-md-6:last-child, .graphic .row div.col-md-6:first-child {
        padding-left: 15px;
        padding-right: 15px;
    }
}