/* ==========================================================================
	 Sticky footer mixin
 
	 Input:
	$height: {footer height};
	 HTML structure:
	<body>
		<div class="content-wrap">
			{Main content}
			<div class="footer-placeholder"></div>
		</div>
		<footer class="sticky-footer">
			{Footer content}
		</footer>
	</body>
	 ========================================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden] {
    display: none;
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}

a:focus {
    outline: thin dotted;
}

a:active,
a:hover {
    outline: 0;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

mark {
    background: #ff0;
    color: #000000;
}

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

pre {
    white-space: pre-wrap;
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

button,
input {
    line-height: normal;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================================================
	 Variables, mixins
	 ========================================================================== */
/* ==========================================================================
	 Layout
	 ========================================================================== */
html,
button,
input,
select,
textarea {
    color: #222222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: .2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

html {
    background: url(../images/page_bg.png);
}

body {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 16px;
    background: url(../images/page_bg.png);
}

a {
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
    color: #2C0A80;
}

a:hover {
    color: #2C0A80;
}

a:visited {
    color: #2C0A80;
}

/*.wrapper {
    width: 940px;
    margin: 0 auto;
} */

/*@media only screen and (max-width: 1000px) {
    .wrapper {
        width: auto;
    }
} */

/* ==========================================================================
	 Header
	 ========================================================================== */
.header-main {
    /*height: 120px;*/
    padding: 0 20px;
    left: 0;
}

.header-main .container{
    left: -200px;
}

.b-top-logo-main {
    float: left;
    position: relative;
    z-index: 10;
    left: -13%;
}

.b-top-logo__link-main {
    display: block;
    line-height: 0;
    width: 560px;
}

/*.header {
    height: 120px;
    padding: 0px 0 20px;
}*/

.b-top-logo {
    float: left;
    position: relative;
    z-index: 10;
    left: -3%;
    /*top: -20px;*/
}

.b-top-logo__link {
    display: block;
    line-height: 0;
    width: 150px;
}

.b-top-logo__img {
    width: 100%;
}

.b-reg {
    position: relative;
    float: right;
    padding-top: 30px;
    z-index: 10;
}

.b-reg__link {
    display: block;
    padding: 10px 0;
}

/* ==========================================================================
	 Footer
	 ========================================================================== */
html,
body
/*.content-wrap {
    height: 100%; */
    /*min-width: 1024px;
    min-height: 910px;*/
/*}

.content-wrap {
    height: auto;
    min-height: 100%;
} */

/*.footer-placeholder {
    height: 150px;
}*/

/*.sticky-footer {
    position: relative;
    height: 110px;
    /!*margin-top: -150px;*!/
    padding-top: 35px;
    clear: both;
    overflow: hidden;
}*/

@media only screen and (max-width: 1000px) {
    .sticky-footer {
        height: auto;
    }
}

.b-rights {
    float: right;
}

.b-money-link {
    display: block;
    position: relative;
    width: 80px;
}

.b-money-link__img {
    width: 100%;
    position: absolute;
    left: 100px;
    top: -40px;
}

.b-money-link__text {
    color: #2C0A80;
    position: absolute;
    /* top: 40px; */
    left: 10px;
    width: 80px;
    text-align: right;
}

.b-link-about {
    float: right;
    margin-right: 30px;
}

/* ==========================================================================
	 Main page
	 ========================================================================== */
.b-nav-triangles {
    position: relative;
    width: 94%;
    margin: -60px 3% 0;
    zoom: 1;
}

.b-nav-triangles:before,
.b-nav-triangles:after {
    content: " ";
    display: table;
}

.b-nav-triangles:after {
    clear: both;
}

.b-nav-triangles__text {
    position: absolute;
    left: 57%;
    top: 0;
    font-size: 2.5em;
    font-weight: bold;
    z-index: 900;
}

.b-nav-triangles__news {
    position: absolute;
    font-weight: bold;
    left: 0;
    top: 1%;
    z-index: 900;
}

.b-nav-triangles__info {
    position: absolute;
    left: 59%;
    top: 23%;
    font-weight: bold;
    z-index: 100;
}

.b-nav-triangles__text_left {
    position: absolute;
    left: -15%;
    top: 20%;
    font-size: 0.8em;
    font-weight: bold;
}

.b-nav-triangles__link {
    display: block;
    padding-bottom: 10px;
    line-height: 1;
    color: #2C0A80;
}

.b-nav-triangles__left_link {
    display: block;
    padding-bottom: 10px;
    line-height: 1;
    font-size: 0.9em;
}

.b-nav-triangles__link:hover {
    color: #2C0A80;
    text-decoration: none;
}

.b-nav-triangles__link:visited {
    color: #2C0A80;
}

.b-nav-triangles__link.m-0 {
    margin-left: 75px;
}

.b-nav-triangles__link.m-1 {
    margin-left: 35px;
}

.b-nav-triangles__link.m-3 {
    margin-left: 70px;
}

.b-nav-triangles__link.m-4 {
    margin-left: 110px;
    margin-top: 15px;
    padding-bottom: 10px;
}

.b-nav-triangles__link.m-5 {
    margin-left: 130px;
    padding-bottom: 15px;
}

.b-nav-triangles__link.m-6 {
    margin-left: 145px;
}

.b-nav-triangles__link.m-7 {
    margin-left: 165px;
    margin-top: 10px;
}

.b-nav-triangles__link.m-8 {
    margin-left: 230px;
    margin-top: 50px;
}

.b-nav-triangles__link.m-9 {
    margin-left: 265px;
    padding-right: 100px;
}

.b-nav-triangles__link.m-10 {
    margin-left: 310px;
}

.b-nav-triangles__left_link.l-1 {
    margin-left: -110px;
}

.b-nav-triangles__left_link.l-2 {
    margin-left: -110px;
}

.b-nav-triangles__left_link.l-3 {
    margin-left: -35px;
}

.b-nav-triangles__left_link.l-4 {
    margin-left: -110px;
}

.b-nav-triangle {
    position: relative;
    display: block;
    width: 48%;
    padding-bottom: 40%;
    background: center center no-repeat;
    -moz-background-size: 96% 96%;
    background-size: 96% 96%;
    color: #6B6B6B;
    font-size: 14px;
    /*behavior: url(../css/backgroundsize.min.htc);*/
}

.b-nav-triangle:visited {
    color: #6B6B6B;
}

.b-nav-triangle.m-normal {
    background-image: url('../images/menu_item.png');
}

.b-nav-triangle.m-normal-top {
    background-image: url('../images/menu_item-top.png');
}

.b-nav-triangle.m-invert {
    background-image: url('../images/menu_item_invert.png');
}

.b-nav-triangle.m-top {
    margin: 0 25% 1%;
}

.b-nav-triangle.m-left {
    margin-right: -23%;
    float: left;
    z-index: 100;
}

.b-nav-triangle.m-center {
    float: left;
    margin-right: -23%;
    margin-top: -2%;
}

.b-nav-triangle.m-right {
    float: left;
}

.b-nav-triangle__inner {
    text-align: center;
    width: 140px;
    height: 100px;
    position: absolute;
    top: 43%;
    left: 50%;
    margin-top: 0;
    margin-left: -70px;
    z-index: 900;
}

.b-nav-triangle__inner2 {
    text-align: center;
    width: 140px;
    height: 100px;
    position: absolute;
    top: 38%;
    left: 99%;
    margin-top: 0;
    margin-left: -60px;
    z-index: 110;
}

.b-nav-triangle__inner.m-invert {
    margin-top: -50px;
    display: none;
}

.b-nav-triangle__inner-img {
    margin-bottom: 5px;
}

.b-nav-triangle__inner-img.m-about {
    margin-top: 23px;
    margin-bottom: 2em;
}

.b-nav-triangle__inner-img.m-head {
    margin-top: -80px;
    margin-bottom: 1em;
}

.main-button {
    background: url(../images/qqq.svg) #9e86ba;

    color: white;
    margin: 5px;
    border-radius: 15px;
    padding: 4px 20px 4px 20px;

    cursor: pointer;

    font-style: normal;
    font-weight: normal;

    outline: none;
}

.main-button:hover {
    box-shadow: inset 0 0 10px 2px rgba(0,0,0,.35);
}

.main-button:active {
    box-shadow: inset 0 0 25px 6px rgba(0,0,0,.35);
}

.main-menu{
    text-align: left;
    display: block;
    padding-bottom: 8px;
    padding-left: 25px;
}

.main-button-no-active {
    background: url(../images/qqq.svg) #9e86ba;

    color: white;
    margin: 5px;
    border-radius: 15px;
    padding: 4px 20px 4px 20px;
    border: 2px solid white;
}

.main-button-disabled {
    color: grey;
    margin: 5px;
    border-radius: 15px;
    padding: 4px 20px 4px 25px;
    border: 2px solid white;
    cursor: pointer;
}

.main-button-grey {
    color: grey;
    margin: 5px;
    border-radius: 15px;
    padding: 4px 20px 4px 20px;
    border: 1px solid grey;
    cursor: default;
}

/* ==========================================================================
	 Inner page
	 ========================================================================== */
.b-content-holder {
    background: #fff;
    padding: 20px 40px;
    border-radius: 10px;
    margin-left: 130px;
    /*margin-top: -30px;*/
    margin-bottom: 50px;
    -webkit-box-shadow: 0 0 10px 0 #ffffff;
    -moz-box-shadow: 0 0 10px 0 #ffffff;
    box-shadow: 0 0 10px 0 #ffffff;
}

.b-content-holder h1,
.b-content-holder h2,
.b-content-holder h3,
.b-content-holder h4,
.b-content-holder h5,
.b-content-holder h6 {
    color: #7A6076;
}

.b-president-link {
    font-style: italic;
    color: #6B6B6B;
    font-size: .9em;
}

.b-gray-link {
    font-style: italic;
    color: #6B6B6B;
    font-size: .35em;
}

.b-president-link:visited {
    color: #6B6B6B;
}

.b-regbtn-bar {
    margin: 20px 0;
}

.b-regbtn-bar__btn {
    display: inline-block;
    vertical-align: top;
    padding: 5px 10px;
    color: #2C0A80;
    cursor: pointer;
}

.b-regbtn-bar__btn.m-active {
    text-decoration: underline;
}

.b-login-field {
    display: block;
    margin-bottom: .5em;
}

.b-login-field__label {
    width: 130px;
    display: inline-block;
    vertical-align: top;
    padding: 0 10px 0 0;
}

.b-login-field__text + .b-login-field__text {
    margin-left: 10px;
}

.b-login-field__text-input {
    width: 200px;
    padding: 2px;
}

.b-login-field__checked-input {
    margin-right: 5px;
}

.b-login-field__textarea-input {
    width: 200px;
    resize: vertical;
    padding: 2px;
}

.x-combo-list-itembold {
    font-weight: bold;
}

#defn_display * .x-window-tc {
    background-image: url("/images/tr.png");
}

#defn_display * .x-window-ml {
    background-image: url("/images/tr.png");
}

#defn_display * .x-window-mr {
    background-image: url("/images/tr.png");
}

#defn_display * .x-window-tl {
    background-image: url("/images/tr.png");
}

#defn_display .x-window-tl {
    background-image: url("/images/tr.png");
}

#defn_display * .x-window-bl {
    background-image: url("/images/tr.png");
}

#defn_display * .x-window-tr {
    background-image: url("/images/tr.png");
}

#defn_display * .x-window-br {
    background-image: url("/images/tr.png");
}

#defn_display * .x-window-bc {
    background-image: url("/images/tr.png");
}

#defn_display .x-tool {
    background-image: url("/images/tr.png");
}

#defn_display * .x-window-header-text {
    color: #515111;
}

.myCls {
    background-color: #fff;
}

#navbar ul {
    display: none;
    background-color: #9e86ba;
    position: absolute;
    top: 100%;
}

#navbar li:hover ul {
    /*display: block;*/
}

#navbar, #navbar ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#navbar {
    height: 30px;
    background: url(../images/qqq.svg) #714E9A;
    border-radius: 15px;
    padding-left: 15px;
    padding-right: 15px;
    min-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

#navbar li {
    float: left;
    position: relative;
    height: 100%;
    /*padding-left: 10px;*/
}

#navbar li a {
    display: block;
    padding: 6px 6px 6px 10px;
    /*width: 100px;*/
    color: #fff;
    text-decoration: none;
    /*text-align: center;*/
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: normal;
}

#navbar li span {
    display: block;
    padding: 6px 6px 6px 10px;
    color: lightgrey;
    text-decoration: none;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 13px;
}

#navbar ul li {
    float: none;
}

#navbar li:hover {
    background-color: #9e86ba;
}

#navbar ul li:hover {
    background: url(../images/qqq.svg) #714E9A;
}

.tar{
    text-align: right;
}

.tac{
    text-align: center;
}

#close_btn {
	width: 21px;
	height: 21px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	display: block;
}

#defn_display p {
    margin-top: 5px;
}

#to-top {
    position: fixed;
    bottom: 10%;
}
#to-top a {
    display: inline-block;
    text-align: right;
    text-decoration: none;
    /* transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#to-top span {
    width: 40px;
    height: 40px;
    display: inline-block;
    background: url("../images/icon_top.png") no-repeat center center;
    opacity: 0.3;
    /* transition */
    -webkit-transition: 0.75s;
    -moz-transition: 0.75s;
    transition: 0.75s;
}
#to-top a:hover span {
    opacity: 0.6;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.popup-lnk {
    text-decoration: underline;
    font-weight: bold;
    font-style: italic;
    color: #2C0A80;
    cursor: pointer;
}

.popup-btn {
    display: inline-block;
}

.popup-btn:hover {
    box-shadow: inset 0 0 10px 2px rgba(0,0,0,.35);
}

.play_ico_pos {
    padding-left: 5px;
}

.clickable {
    cursor: pointer;
}

@media (min-width: 768px) {
    .play_ico_pos {
        padding-left: 45px;
    }
/*  #to-top {          */
/*      right: 10px;   */
/*  }                  */
/*  #to-top span {     */
/*      width: 25px;   */
/*      height: 25px;  */
/*      opacity: 0.15; */
/*  }                  */
}

@media (orientation: landscape) and (max-width: 768px) {
    .video-container {
        padding-bottom: 46.25%;
    }
}