/* Slide up banner */
.jb-slideup-promotion {
    position: fixed;
    z-index: 9999;
    width: 0;
    height: 0;
    left: 50%;
    bottom: 10px;
    transition: all 0.5s;
    margin-left: -1px;
}

.jb-slideup-promotion.is_hidden {
    bottom: -200px;
}

.jb-slideup-promotion__body {
    position: absolute;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    bottom: 0;
    background-repeat: no-repeat;
}

.jb-slideup-promotion__close-button {
    position: absolute;
    z-index: 2;
    cursor: pointer;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
}

.jb-slideup-promotion__link {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


/* In place banner */
.country-offer-placeholder-download-page .jb-inplace-promotion {
  margin-top: 30px;
  margin-bottom: -50px;
}

.country-offer-placeholder-store-page .jb-inplace-promotion {
  margin-top: -10px;
  margin-bottom: 40px;
}

.jb-inplace-promotion {
  display: block;
  width: 800px;
  margin: 0 auto;
}

.jb-inplace-promotion.is_hidden {
    display: none;
}

.jb-inplace-promotion__body {
    margin-bottom: 30px;
    padding: 12px 20px 6px 0;
    position: relative;
    font-size: 12px;
    color: #474747;
    clear: both;
}

.jb-inplace-promotion__close-button {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 0;
    width: 11px;
    height: 11px;
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218.414%22%20height%3D%2218.415%22%20viewBox%3D%220%200%2018.414%2018.415%22%3E%3Cpath%20d%3D%22M1.414%2018.415L0%2017%2017%200l1.414%201.415-17%2017z%22%2F%3E%3Cpath%20d%3D%22M17%2018.415L18.414%2017l-17-17L0%201.415l17%2017z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    opacity: 0.5;
  }

.jb-inplace-promotion__close-button:hover {
  opacity: 0.8;
}

.country-visitors {
    position: relative;
    font-size: 12px;
    color: #474747;
    clear: both;
}
.country-visitors h6 {
    padding: 12px 10px 0 85px;
    min-height: 70px;
    font-size: 14px;
    line-height: 1.3;
    position: relative;
}
.country-visitors h6:before {
    margin-left: -85px;
    content: "";
    position: absolute;
    top: 4px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: transparent;
}
.country-visitors._germany h6 {
  float: left;
}
.country-visitors._germany h6:before {
    background: linear-gradient(to bottom,  #000000 0%,#000000 33.3%,#dd0000 33.3%,#dd0000 66.6%,#ffce00 66.6%,#ffce00 100%); /* W3C */
}
.country-visitors._germany .content {
  overflow: hidden;

}
.country-visitors._germany .title {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 24px;
}
.country-visitors._china h6 {
    padding-top: 0;
    padding-left: 146px;
    font-size: 24px;
    float: left;
}

.country-visitors._china h6:before {
    margin-left: -146px;
    width: 120px;
    border-radius: 0;
    background-color: #de2910;
    content: '';
}

.country-visitors._china h6:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 43px;
    height: 35px;
    background: url("/National_Library/20160521004321oe_/http://www.jetbrains.com/img/logos/partners-china-banner.svg") no-repeat 0 0;
}

._china .paypal {
  margin-top: 5px;
  display: block;
  width: 100px;
  height: 50px;
  background: url("/National_Library/20160521004321oe_/http://www.jetbrains.com/img/logos/partners-china-banner.svg") no-repeat -65px 0;
}

.country-visitors p {
    margin-bottom: 5px;
}


/* + cookies-notify */
.jb-slideup-promotion.id_cookies {
    position: fixed;
    left: auto;
    right: 0;
    bottom: 0;
    z-index: 1001;
    width: auto;
    height: auto;
    opacity: 1;
    }
.jb-slideup-promotion.id_cookies.is_hidden {
    bottom: -450px;
    opacity: 0;
    }
    .id_cookies .jb-slideup-promotion__body {
        position: static;
        -webkit-transform: none;
                transform: none;
        }
    .id_cookies .jb-promotion__close-button {
        z-index: 5;
        background-color: #000;
        }
        .id_cookies .jb-promotion__close-button:before {
            display: inline-block;
            width: 1.4em;
            height: 1.4em;
            background: transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-388.5%20313.5%2014%2014%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M-388.5%20327.281v-1.181l5.709-5.709-5.709-5.709v-1.182h1.181l5.709%205.709%205.708-5.709h1.182v1.182l-5.708%205.709%205.708%205.709v1.182h-1.182l-5.708-5.709-5.709%205.709h-1.181z%22%2F%3E%3C%2Fsvg%3E") no-repeat 50%/.6em;
            content: '';
            color: #fff;
            font-size: 14px;
            line-height: 1.2;
            text-align: center;
            -webkit-transition: background-color .4s;
                    transition: background-color .4s;
            }
        .id_cookies .jb-promotion__close-button:hover:before {
            background-color: red;
            }

      /* move close button to the left for iDevices */
      .id_cookies .jb-promotion__body._apple .jb-promotion__close-button {
          right: auto;
          left: 0;
          }

.cookies-notify {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 23px 23px 0;
    width: 380px;
    height: 110px;
    background: #000;
    color: #ccc;
    font: 12px/1.2 Menlo, Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
    -webkit-transition: height .4s;
            transition: height .4s;
    }
    .cookies-notify:before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 15px;
        box-shadow: inset #000 0 5px 10px;
        content: '';
        }
    .cookies-notify__paragraph {
        margin: 0 0 1em;
        }
    .cookies-notify__link {
        color: inherit;
        text-decoration: underline;
        }

.jquery-console-focus span.jquery-console-cursor {
    background: #eee;
    color: #eee;
    font-weight: bold;
    }
    .win .jquery-console-focus span.jquery-console-cursor {
        background: transparent;
        border-bottom: 2px solid;
        -webkit-animation: blink 1s steps(2, start) infinite;
                animation: blink 1s steps(2, start) infinite;
        }
    @keyframes blink {
        to      { visibility: hidden }
    }
    @-webkit-keyframes blink {
        to      { visibility: hidden }
    }
.jquery-console-inner { padding-bottom: 1em }
.jquery-console-message { margin-bottom: 1em; }
.jquery-console-message-error {}
.jquery-console-message-success {}
/* - cookies-notify */

/*Special*/

.jb-promotion.id_toolbox-popup {
    width: 100%;
    height: 70px;
    margin-bottom: -10px;

    left: auto;

    background: rgba(230, 109, 29, .9);
}

.id_toolbox-popup .jb-slideup-promotion__body{
    position: relative;
    left: auto;

    margin: auto;
    -webkit-transform: translate(0, 0);
    -moz-transform:    translate(0, 0);
    -ms-transform:     translate(0, 0);
    -o-transform:      translate(0, 0);
    transform:         translate(0, 0);
}

.jb-toolbox-popup {
    font-size: 18px;

    padding-top: 10px;

    line-height: 26px;
    color: #fff;
}

.id_toolbox-popup .jb-promotion__close-button {
    background-image: url('/National_Library/20160521004321oe_/http://www.jetbrains.com/inc/banners/toolbox-popup/close.svg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}