/**
 * @category theme
 * @package composite
 * @author Jury Tugarinov <bonez@amparo.lv>
 */

@font-face {
    font-family: 'MyriadPro';
    src: url('../bundles/compositesite/fonts/myriadpro-regular-webfont.eot');
    src: local('☺'),
         url('../bundles/compositesite/fonts/myriadpro-regular-webfont.woff') format('woff'),
         url('../bundles/compositesite/fonts/myriadpro-regular-webfont.ttf') format('truetype'),
         url('../bundles/compositesite/fonts/myriadpro-regular-webfont.svg#MyriadProCondensed') format('svg');
    font-weight: normal;
    font-style: normal;
}


/**
 * Browser reset.
 *
 * @category theme
 * @package Sputnik
 * @author Dmitri Lakachauskis <dmitri@amparo.lv>
 */
@media all
{
    /**
     * Global margin and padding reset.
     */
    * {
        margin: 0;
        padding: 0;
    }

    /**
     * Correction: margin/padding reset caused too small select boxes.
     */
    option {
        padding-left: 0.4em;
    }
    select {
        padding: 1px;
    }

    /**
     * Standard values for colors and text alignment.
     */
    body {
        background: #fff;
        color: #000;
        text-align: left;
    }

    /**
     * Avoid visible outlines on DIV containers in Webkit browsers.
     */
    div {
        outline: none;
    }

    /**
     * Remove annoying borders.
     */
    fieldset, img {
        border: none;
    }

    /**
     * Explicitly set interpolation, allowing dynamically resized images to not look horrible (in IE).
     */
    img {
        -ms-interpolation-mode: bicubic;
    }

    /**
     * Own focus styles should be defined separately.
     */
    :focus {
        outline: none;
    }

    /**
     * Remove possible quote marks from <q> and <blockquote>.
     */
    blockquote:before,
    blockquote:after,
    q:before,
    q:after {
        content: "";
    }
    blockquote, q {
        quotes: none;
    }

    /**
     * HTML5 support for old browsers.
     */
    header, footer, nav, section, aside, hgroup, article, address, figure {
        display: block;
    }
}

/**
 * General form styles.
 *
 * @category theme
 * @package Resetilovs
 * @author Jury Tugarinov <bonez@amparo.lv>
 */
@media all
{
    form {
        margin-bottom: 1em;
    }

    form label {
        display: block;
        font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
        font-size: 1em;
        color: #0aabff;
        padding: 3px 2px;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="search"],
    form input[type="password"],
    form textarea,
    form select {
        font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
        color: #c1c1c1;
        font-size: 1em;
        padding: 6px 5px;
        margin-bottom: 0.7em;

        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        border: 0;

        width: 98%;
        background: transparent url(../bundles/compositesite/images/bg-11.png) 0 0;
    }

    form textarea {
        resize: none;
        overflow: auto;
    }

    form .field {
        margin-bottom: 1em;
    }
}


/**
 * General typography styles.
 *
 * @category theme
 * @package Sputnik
 * @author Dmitri Lakachauskis <dmitri@amparo.lv>
 */
@media all
{
    /**
     * Fix for rounding errors when scaling font sizes in older versions of Opera browser.
     */
    html {
        font-size: 100.01%;
    }

    /**
     * The font-size percentage is of 16px. (0.75 * 16px = 12px).
     */
    body {
        font-size: 75%;
        line-height: 1.3; /* Line-height should be unitless! */

        /**
         * Grotesque sans serif typefaces: Helvetica, Arial, "Nimbus Sans L", sans-serif;
         * Humanist sans serif typefaces: Verdana, Geneva, "DejaVu Sans", sans-serif;
         * Humanist sans serif typefaces: "Lucida Grande", "Lucida Sans Unicode", "Bitstream Vera Sans", sans-serif;
         * Old-style serif typefaces: Georgia, "URW Bookman L", serif;
         * Monospace typefaces: "Courier New", Courier, "Nimbus Sans L", monospace;
         */
        font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
    }

    /**
     * Reset monospaced elements.
     */
    textarea, pre, code, kbd, samp, var, tt {
        font-family: "Courier New", Courier, "Nimbus Sans L", monospace;
    }

    /*------------------------------------------------------------------------------------------------------*/

    /**
     * Headings.
     */
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 0.75em;
        font-family: Georgia, "URW Bookman L", serif;
        font-weight: normal;
        line-height: 1;
    }

    /**
     * Sizes:
     *   + 250%    - 30px
     *   + 200%    - 24px
     *   + 150%    - 18px
     *   + 133.33% - 16px
     *   + 116.67% - 14px
     *   + 100%    - 12px
     */
    h1 {
        margin-bottom: 0.5em;
        font-size: 250%;
    }
    h2 {
        margin-bottom: 0.5em;
        font-size: 200%;
    }
    h3 {
        font-size: 150%;
    }
    h4 {
        font-size: 133.33%;
    }
    h5 {
        font-size: 116.67%;
    }
    h6 {
        font-size: 100%;
    }
    h5, h6 {
        font-weight: bold;
        line-height: 1.25;
    }

    /*------------------------------------------------------------------------------------------------------*/

    /**
     * Lists.
     */
    ul, ol, dl {
        margin-bottom: 1em;
    }
    ul, ol, dd {
        padding-left: 1.5em;
    }
    li, dd {
        margin-bottom: 0.5em;
    }
    li {
        margin-left: 1.5em;
    }

    /* Unordered */
    ul {
        list-style-type: disc;
    }
    ul ul {
        margin-bottom: 0;
        list-style-type: circle;
    }

    /* Ordered */
    ol {
        list-style-type: decimal;
    }
    ol ol {
        margin-bottom: 0;
        list-style-type: lower-latin;
    }

    /* Definition */
    dt {
        font-weight: bold;
    }

    /*------------------------------------------------------------------------------------------------------*/

    /**
     * Minimal text formatting.
     */
    p {
        margin-bottom: 1em;
    }
    blockquote {
        margin-bottom: 1em;
        padding-left: 1.5em;
    }
    blockquote, cite, q {
        font-family: Georgia, "URW Bookman L", serif;
        font-style: italic;
    }
    strong, b {
        font-weight: bold;
    }
    em, i {
        font-style: italic;
    }

    /*------------------------------------------------------------------------------------------------------*/

    /**
     * Links - Blueprint CSS defaults.
     */
    a {
        color: #06c;
        text-decoration: underline;
    }
    a:focus,
    a:hover {
        color: #09f;
    }
}

/**
 * Screen typography.
 *
 * @category theme
 * @package Composite
 * @author Yury Tugarinov <bonez@amparo.lv>
 */
@media screen, projection
{
    a {
        color: #0aabff;
    }

    h1, h2, h3, h4, h5, h6, h7 {
        color: #0aabff;
        font-family: MyriadPro, Helvetica, Arial, "Nimbus Sans L", sans-serif;
    }

    h1 {
        background: url(../bundles/compositesite/images/sprite.png) no-repeat -525px 100%;
        font-size: 1.8em;
        text-transform: uppercase;
        padding-bottom: 0.6em;
        margin-bottom: 1em;
    }
    h2 {
        font-size: 1.2em;
        text-transform: uppercase;
        padding: 0 3px;
        margin-bottom: 1em;
        line-height: 1.2em;
    }
    h3 {
        font-size: 1.2em;
        text-transform: uppercase;
        margin-bottom: 1.2em;
    }

    p {
        color: #c1c1c1;
    }

    ul,
    ul li {
        list-style: none;
        margin: 0;
    }
    ol {
        margin: 0;
        padding: 5px 0 20px 10px;
    }
    ul {
        margin: 5px 0 20px 10px;
        padding: 0;
    }
    li {
        color: #c1c1c1;
        padding: 5px 2px;
    }
    ul.alt,
    ul.alt li {
        list-style: none;
    }
    ul li {
        background: url(../bundles/compositesite/images/li_blue_bullet.png) no-repeat 0 7px;
        padding-left: 20px;
    }
}

/**
 * Layout.
 *
 * @package Composite
 * @author Jury Tugarinov <bonez@amparo.lv>
 */
@media screen, projection
{
    body, html {
        height: 100%;
    }
    html {

    }
    body {
        margin: 0;
        padding: 0;
        background: #000;
        overflow-y: scroll;
    }

    #page {
        min-height: 100%;
        margin-bottom: -70px;
        position: relative;
        z-index: 2;
        background: url(../bundles/compositesite/images/bg-5.png) 0 0;
    }
    .inner {
        width: 800px;
        margin: 0 auto;
        overflow: hidden;
    }

    #content {
        padding-top: 30px;
        padding-bottom: 100px;
    }

    #content aside {
        float: left;
        width: 270px;
        overflow: hidden;
    }
    #content .content {
        margin-left: 315px;
        min-height: 400px;
    }

    /*------------------------------------------------------------------------*/

    #header {
        height: 175px;
        position: relative;
        background: #000;
        overflow: hidden;
    }
    #header .inner {
        z-index: 3;
        position: relative;
    }

    #header > div.image-decorator {
        position: absolute;
        left: 50%;
        top: 0;
        height: 155px;
        text-align: center;
        overflow: hidden;
    }
    #header > div.image-decorator div {
        position: absolute;
        top: 0;
        height: 155px;
        width: 232px;
        background: url(../bundles/compositesite/images/bg-12.png) repeat-y;
    }
    #header > div.image-decorator .left {
        left: 0;
        background-position: 0 0;
    }
    #header > div.image-decorator .right {
        right: 0;
        background-position: 100% 0;
    }
    #header h1 {
        text-align: center;
        margin-top: 50px;
        background: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #header h1 a {
        display: block;
    }
    #header .helper {
        height: 155px;
        width: 315px;
        background: url(../bundles/compositesite/images/bg-7.png) repeat-x 0 0;
        overflow: hidden;
    }
    #header .decorator {
        width: 100%;
        height: 19px;
        background: url(../bundles/compositesite/images/bg-6.png) 0 0;
        border-top: 1px solid #000;
    }

    /*------------------------------------------------------------------------*/

    #footer {
        height: 70px;
        position: relative;
        z-index: 2;
        background: url(../bundles/compositesite/images/bg-10.png) 0 0;
    }
    #footer .decorator {
        height: 0;
        border-width: 1px 0;
        border-style: solid;
        border-top-color: #000;
        border-bottom-color: #242424;
    }

    #footer .inner {
        overflow: hidden;
        padding-top: 5px;
    }
    #footer .copyrights {
        color: #999;
        margin-top: 23px;
        float: left;
    }
    #footer .developer {
        float: right;
        color: #999;
        font-style: normal;
        font-size: 0.9em;
        margin-top: 25px;
        width: 170px;
        text-align: right;
    }
    #footer .developer a {
        color: #d6d6d6;
        text-decoration: none;
        margin-right: 5px;
    }

    #footer .inner > .logo {
        width: 124px;
        height: 52px;
        background: url(../bundles/compositesite/images/sprite.png) no-repeat 0 0;
        float: left;
        margin: 3px 0 0 50px;
        text-indent: -9999px;
    }
    #footer .alt {
        background: #363636;
        color: #fff;
        padding: 7px 15px 5px 10px;
        margin: 17px 0 0 50px;
        display: block;
        float: left;
        font-family: MyriadPro, Helvetica, Arial, "Nimbus Sans L", sans-serif;
        font-size: 0.9em;
        text-decoration: none;
        text-transform: uppercase;
    }
    #footer .alt span {
        width: 16px;
        height: 12px;
        float: left;
        background: url(../bundles/compositesite/images/sprite.png) no-repeat -145px -2px;
        display: block;
        margin-right: 5px;
    }
}

/**
 * Common block elements.
 *
 * @package composite
 * @author Jury Tugarinov <bonez@amparo.lv>
 */
@media screen, projection
{
    #langs,
    #langs li {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    #langs {
        float: right;
        background: url(../bundles/compositesite/images/bg-8.png) 0 0;
        padding: 0 17px;
    }
    #langs li {
        float: left;
        padding: 10px 0;
        background: none;
    }
    #langs a {
        font-family: MyriadPro, Helvetica, Arial, "Nimbus Sans L", sans-serif;
        color: #fff;
        text-decoration: none;
        font-size: 0.85em;
        padding: 8px 0;
        text-transform: uppercase;
    }
    #langs li + li a {
        padding-left: 17px;
    }
    #langs a:hover {
        color: #c4c4c4;
    }
    #langs li.active a {
        color: #0aabff;
        font-weight: bold;
    }

    /*------------------------------------------------------------------------*/

    .file-preview .icon {
        background: none !important;
        width: auto !important;
        height: auto !important;
        text-indent: 0 !important;
    }

    /*------------------------------------------------------------------------*/

    #admin {
        float: right;
        padding: 10px;
        background: url(../bundles/compositesite/images/bg-8.png) 0 0;
        margin-right: 10px;
        color: #0aabff;
    }

    /*------------------------------------------------------------------------*/

    nav[role="navigation"] ul,
    nav[role="navigation"] li {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    nav[role="navigation"] ul {
        background: url(../bundles/compositesite/images/sprite.png) no-repeat -525px -699px;
    }
    nav[role="navigation"] li {
        background: url(../bundles/compositesite/images/sprite.png) no-repeat -525px 100%;
    }
    nav[role="navigation"] a {
        text-transform: uppercase;
        text-decoration: none;
        color: #fff;
        font-family: MyriadPro, Helvetica, Arial, "Nimbus Sans L", sans-serif;
        display: block;
    }
    nav[role="navigation"] > ul > li > a span {
        display: block;
        padding: 12px 10px 9px 27px;
        background: url(../bundles/compositesite/images/arrows/right_blue_large.png) no-repeat 10px center;
        font-size: 1.1em;
        line-height: 1.1em;
    }
    nav[role="navigation"] > ul > li > ul {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    nav[role="navigation"] > ul > li.parent.active > a span {
        background: url(../bundles/compositesite/images/arrows/down_blue_large.png) no-repeat 10px center;
    }
    nav[role="navigation"] > ul > li.last {
        background-position: -10000px -10000px;
    }
    nav[role="navigation"] > ul > li.active > a {
        background: url(../bundles/compositesite/images/bg-9.png) repeat-y left top;
        color: #0aabff;
    }
    nav[role="navigation"] > ul > li > a:hover {
        background: url(../bundles/compositesite/images/bg-9.png) repeat-y left top;
    }
    nav[role="navigation"] .parent > ul {
        display: none;
    }
    nav[role="navigation"] .parent.active > ul {
        display: block;
    }




    nav[role="navigation"] ul ul {
        background: none;
        margin: 0 0 0 20px;
    }
    nav[role="navigation"] ul ul li {
        background: none;
        list-style-image: none;
    }
    nav[role="navigation"] ul ul a {
        background: url(../bundles/compositesite/images/arrows/right_blue_small.png) no-repeat 10px 10px;
        text-transform: none;
        padding: 5px 5px 5px 25px;
        font-weight: normal;
        position: relative;
    }
    nav[role="navigation"] ul ul a:hover {
        text-decoration: underline;
    }
    nav[role="navigation"] ul ul li.active > a {
        color: #0aabff;
    }
    nav[role="navigation"] ul ul li.parent.active > a {
        background: url(../bundles/compositesite/images/arrows/down_blue_small.png) no-repeat 10px 10px;

    }
    nav[role="navigation"] ul ul a.active span {
        background-position: -402px 0;
    }

    /*------------------------------------------------------------------------*/

    .pager {
        oveflow: hidden;
        padding: 20px 0;
    }
    .pager nav {
        float: right;
        overflow: hidden;
    }
    .pager a,
    .pager span {
        float: left;
        margin-left: 10px;
        padding: 6px 7px 4px 7px;
        background: url(../bundles/compositesite/images/bg-10.png) 0 0;
        text-decoration: none;
        color: #fff;
    }
    .pager a:hover,
    .pager span.current {
        color: #0aabff;
    }
    .pager span.disabled {
        background: #252525;
        color: #3a3a3a;
    }

    .pager .first span,
    .pager .last span {
        padding: 0;
        margin: 0;
        background: url(../bundles/compositesite/images/sprite.png) no-repeat;
        width: 16px;
        height: 16px;
    }
    .pager .first span {
        float: left;
        background-position: -229px -1px;
        margin-right: 3px;
    }
    .pager .first.disabled span {
        background-position: -250px -1px;
    }
    .pager .last span {
        float: right;
        margin-left: 3px;
        background-position: -166px -1px;
    }
    .pager .last.disabled span {
        background-position: -271px -1px;
    }

    /*------------------------------------------------------------------------*/

    #content .decorator {
        background: url(../bundles/compositesite/images/bg-10.png) 0 0;
        padding: 25px;
    }
    #content article.decorator h1 {
        font-size: 1.1em;
        background: none;
    }
    #content article.decorator {
        margin-bottom: 0.5em;
        overflow: hidden;
    }
    #content .decorator img.main {
        float: right;
        margin-left: 20px;
    }
    #content .decorator a.alt {
        color: #fff;
        display: block;
        font-style: italic;
        margin-bottom: 1em;
    }
    #content .decorator small {
        color: #b8b8b8;
        font-style: italic;
    }

    #content .partner {
        float: left;
        overflow: hidden;
        width: 220px;
        min-height: 150px;
    }
    #content .partner.odd {
        margin-right: 30px;
    }
    #content .partner a {
        display: block;
        text-decoration: none;
    }
    #content .partner a > div {
        text-align: center;
        background: #fff;
        width: 210px;
        height: 90px;
        padding: 5px;
        vertical-align: middle;
        display: table-cell;
        font-size: 0;
    }
    #content .partner h2 {
        height: 33px;
        line-height: 33px;
        white-space: nowrap;
    }

    /* ---------------------------------------------------------------------- */

    #breadcrumbs {
        color: #b0b0b0;
        margin-bottom: 2em;
        font-size: 0.8em;
    }
    #breadcrumbs a {
        font-size: 1em;
        color: #b0b0b0;
        text-decoration: none;
        margin: 0 5px;
    }
    #breadcrumbs a:first-child {
        margin-left: 0;
    }
    #breadcrumbs a.active {
        color: #17afff;
    }

    /* ---------------------------------------------------------------------- */

    #message {
        position: absolute;
        top: -15px;
        background: #196e0e;
        color: #fff;
        width: 370px;
        padding: 30px 15px 15px 15px;
        z-index: 999;
        left: 50%;

        -webkit-border-bottom-right-radius: 5px;
        -webkit-border-bottom-left-radius: 5px;
        -moz-border-radius-bottomright: 5px;
        -moz-border-radius-bottomleft: 5px;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;

        -moz-box-shadow: 0 0 10px #000;
        -webkit-box-shadow: 0 0 10px #000;
        box-shadow: 0 0 10px #000;
    }
    #message.error {
        background: #9a0000;
    }
    #message strong {
        color: #fff;
        font-weight: bold;
        margin: 0;
    }
    #message .icon {
        position: absolute;
        right: 10px;
        top: 20px;
        text-indent: -9999px;
    }
}


/**
 * Common inline elements.
 *
 * @category theme
 * @package composite
 * @author Jury Tugarinov <bonez@amparo.lv>
 */
@media screen, projection
{
    .icon {
        background: url(../bundles/compositesite/images/sprite.png) no-repeat;
        width: 16px;
        height: 16px;
    }
    .icon.logo {
        display: block;
        float: right;
        background-position: -124px 0;
    }
    .icon.more {
        height: 9px;
        background-position: -187px -3px;
        display: inline-block;
    }
    .icon.arrow_left {
        background-position: -229px -1px;
        float: left;
        margin-right: 5px;
        height: 12px;
        font-size: 1em;
    }

    .icon.bullet-1,
    .icon.bullet-2 {
        background-position: -166px 0;
        width: 16px;
        height: 14px;
        display: block;
        float: left;
        margin-right: 5px;
    }
    .icon.bullet-2 {
        background-position: -208px -2px;
    }
    .icon.pdf {
        background-position: -292px -2px;
        width: 25px;
        display: inline-block;
        height: 11px;
        margin-left: 5px;
    }
    .icon.close {
        width: 17px;
        height: 17px;
        background-position: -421px 0;
        cursor: pointer;
    }


    /*------------------------------------------------------------------------*/

    a.goback {
        color: #fff;
        text-transform: uppercase;
        text-decoration: none;
        font-family: MyriadPro, Helvetica, Arial, "Nimbus Sans L", sans-serif;
        margin-bottom: 1em;
        display: block;
    }

    /*------------------------------------------------------------------------*/

    .button {
        max-width: 500px;
        padding-left: 6px;
        display: inline-block;
    }
    .button,
    .button > span {
        background: url(../bundles/compositesite/images/sprite.png) no-repeat left top;
    }
    .button > span {
        display: block;
        padding-right: 6px;
        background-position: right top;
        text-align: center;
        white-space: nowrap;
    }

    /* Button as link */
    a.button {
        text-decoration: none;
    }

    /* Button as button */
    button.button {
        border: 0;
        display: inline;
    }
    button.button,
    button.button > span {
        cursor: pointer;
    }
    button.button::-moz-focus-inner { /* Firefox fix */
        border: 0;
        padding: 0;
    }

    /* variant 1 */
    .button.variant-1,
    .button.variant-1 > span {
        height: 30px;
        line-height: 30px;
    }
    .button.variant-1 {
        background-position: left -55px;
    }
    .button.variant-1 > span {
        background-position: right -55px;
        color: #87a1af;
        font-size: 1em;
        text-shadow: 0 1px -1px #000;
        padding-right: 16px;
        padding-left: 10px;
    }
    button.button.variant-1 > span {
        font-size: 1.1em;
    }
}

/*#langs li:nth-last-child(-n+2) {*/
#langs li {
    display: none !important;
}
