@font-face{
    font-family: 'PTSans-Regular';
    src: url('../../fnt/PTSans-Regular.eot');
    src: local('☺'),
    url('../../fnt/PTSans-Regular.woff') format('woff'),
    url('../../fnt/PTSans-Regular.ttf') format('truetype'),
    url('../../fnt/PTSans-Regular.svg') format('svg');
}/*PTSans-Regular*/
@font-face{
    font-family: 'PTSerif-Regular';
    src: url('../../fnt/PTSerif-Regular.eot');
    src: local('☺'),
    url('../../fnt/PTSerif-Regular.woff') format('woff'),
    url('../../fnt/PTSerif-Regular.ttf') format('truetype'),
    url('../../fnt/PTSerif-Regular.svg') format('svg');
}/*PTSerif-Regular*/
@font-face{
    font-family: 'PTSans-Bold';
    src: url('../../fnt/PTSans-Bold.eot');
    src: local('☺'),
    url('../../fnt/PTSans-Bold.woff') format('woff'),
    url('../../fnt/PTSans-Bold.ttf') format('truetype'),
    url('../../fnt/PTSans-Bold.svg') format('svg');
}/*PTSans-Bold*/

body{
    margin: 0;
    padding: 0;
    background: #959595;
}
#container{
    position: relative;
    margin: auto;
    width: 998px;
    height: 700px;
    background: #ffffff;
    overflow: hidden;
    user-select: none;
}

#container:not(.ru) .title{
    padding: 0 0 0 20px;
}

#title{
    width: 100%;
    height: 100px;
    padding: 5px 0 0 10px;
    border-bottom: 2px solid #000000;
}
#title .title{
    font-family: PTSerif-Regular, sans-serif;
    font-size: 40px;
}
#title .subtitle{
    padding: 0 0 0 20px;
    font-family: PTSans-Regular, sans-serif;
    font-size: 20px;
}

#fn{
    margin:  435px 0 0 28px;
    font-family: PTSans-Regular, sans-serif;
    font-size: 10px;
    line-height: 20px;
}
#fn .sub{
    margin-left: 6px;
}

#chart{
    float: left;
    margin: 20px 0 0 28px;
    overflow: hidden;
}
#chart_title{
    font-family: PTSans-Bold, sans-serif;
    font-size: 18px;
    margin: 0 0 10px 28px;
}
#chart_title span{
    font-family: PTSans-Regular, sans-serif;
}
.vn #chart_title,
.vn #chart_title span{
    font-family:  Arial;
}


#tables_menu{
    padding: 20px 0 20px 28px;
    text-align: center;
    overflow: hidden;
}
#tables_menu .button{
    cursor: pointer;
    width: 120px;
    height: 30px;
    text-align: center;
    border: 1px solid #D9D9D9;
    border-radius: 3px;
    background: #F2F2F2;
    font-family:  PTSans-Regular, sans-serif;
    font-size: 13px;
    line-height: 30px;
    float: left;
    margin: 0 15px 0 0;
    color: #4D4D4D;
}
#container.gr #tables_menu .button{
    font-size: 11px;
}
.jp #tables_menu .button,
.chn #tables_menu .button,
.cn #tables_menu .button{
    font-size:  10px;
}

#tables_menu .button:hover{
    background: #E6E6E6;
    border-color: #CCCCCC;
}
#tables_menu .button.active{
    background: #D9D9D9;
    border-color: #BFBFBF;
}
#tables_menu .hint{
    position: absolute;
    width: auto;
    height: auto;
    z-index: 1;
}
#tables_menu .hint .corner{
    height: 13px;
    background-image: url(../../img/hint_corner.png);
    background-size: 6px 21px;
    background-repeat: no-repeat;
}
#tables_menu .hint .content{
    background: #000000;
    color: #ffffff;
    padding: 4px;
    line-height: 12px;
    font-family: PTSans-Regular, sans-serif;
    font-size: 12px;
}

#country_menu{
    width: 145px;
    height: 435px;
    padding: 10px 0 10px 10px;
    margin: -40px 24px 0 0;
    border: 1px solid #D9D9D9;
    border-radius: 3px;
    background: #F2F2F2;
    float: right;
    overflow: hidden;
}
#country_menu .title{
    font-family: PTSans-Bold, sans-serif;
    font-size: 17px;
}
#country_menu .title.sub{
    font-size: 13px;
    margin: 0 0 20px 0;
}
#country_menu .button{
    font-family: PTSans-Regular, sans-serif;
    cursor: pointer;
    width: 100%;
    height: 18px;
    text-align: left;
    font-size: 12px;
    color: #999999;
}
#country_menu .button.active{
    font-family: PTSans-Bold, sans-serif;
}
#country_menu .button:hover{
    color: #000000!important;
}
#country_menu .button .num{
    width: 12px;
    font-family: PTSans-Bold, sans-serif;
    font-size: 10px;
    margin: 2px 0 0 0;
    text-align: right;
}
#country_menu .button .check{
    margin: 1px 4px;
    cursor: pointer;
}
#country_menu .button .element{
    float: left;
}

#switcher{
    /*margin: 20px 0 0 0;*/
    cursor: pointer;
}
#switcher .switcher{
    margin: 0 0 20px 0;
}
#container.sp #switcher .text{
    margin: -20px 0 0 17px;
}
#container.sp #switcher .text.active{
    margin: -20px 0 0 7px;
}
#container.sp #switcher .name{
    margin: -25px 0 0 75px;
}
#container.sp #switcher .elemen{
    width: 65px;
    height: 25px;
    background-size: 65px 25px;
}
#container.gr #switcher .element{
    width: 73px;
    height: 29px;
    background-size: 73px 29px;
}
#container.gr #switcher .text{
    margin: -24px 0 0 22px;
}
#container.gr #switcher .text.active{
    margin: -24px 0 0 0px;
}
#container.gr #switcher .name{
    margin: -15px 0 0 79px;
}


#switcher .element{
    width: 54px;
    height: 19px;
    position: relative;
    background-position: 0 0;
    background-size: 54px 19px;
    background-image: url(../../img/red_switcher.png);
}
#switcher .element.active{
    background-image: url(../../img/green_switcher.png);
}
#switcher .element.passive{
    background-image: url(../../img/gray_switcher.png);
}
#switcher .text{
    color: #ffffff;
    font-family: PTSans-Regular, sans-serif;
    font-size: 13px;
    margin: -19px 0 0 20px;
    position: relative;
}
#switcher .text.active{
    margin-left: 10px;
}
#switcher .name{
    font-family: PTSans-Regular, sans-serif;
    font-size: 12px;
    margin: -15px 0 0 65px;
}




#legend{
    position: absolute;
    left: 611px;
    top: 189px;
    width: 190px;
    height: 40px;
}
#legend svg {
    width: 100%;
}
#container.per #legend{
    left: 530px;
    width: 280px;

}

#container.per #chart_title span,
#container.ar #chart_title  span{
    float: left;
}




























