    /*    front page    */

.categories {
    margin-bottom: 1.5em;
}
.categories h3 {
    padding-bottom: 7px;
}
.categories ul {
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 5px 0;
}
.categories li {
    padding-right: 1em;
    margin: 0 1em 1em 0;
    background: url("/static/img/sector_bullet1.png") no-repeat right center;
}
.categories li a {
    color: #999;
}
#alert {
    padding: 0.5em;
    margin: 0 0.5em 0 -0.5em;
}
#alert img {
    width: 30%;
    height: auto;
}

#slider-bar {
    width: 100%;
    display: flex;
    display: -webkit-flex; /* Safari */
    display: -ms-flex;
    display: -moz-flex;
    margin-bottom: 1em;
}

#slider-bar .slider, #slider-bar .client-block {
    padding: 0;
}
#slider-bar .slider {
    flex: 2;
    -webkit-flex: 2;
    -ms-flex: 2;
    -moz-flex: 2;
    position: relative;
    overflow: auto;
    margin-right: 10px;
}
#slider-bar .client-block {
    flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    display: flex;
    display: -webkit-flex; /* Safari */
    display: -ms-flex;
    display: -moz-flex;
    flex-direction: column;
    -webkit-flex-direction: column; /* Safari 6.1+ */
    -ms-flex-direction: column;
    -moz-flex-direction: column;
    font-size: 14px;
}

    /*     slider     */

#slider-bar .slide {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-size: cover;
    box-sizing: border-box;
}
.slide img {
    position: relative;
}

#slider-bar .slider .caption-top {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 0.25em 10px;
    box-sizing: border-box;
    z-index: 100;
}

#slider-bar .slider .caption-bottom {
    bottom: 0;
    left: 0px;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 10px;
    color: #fff;
    box-sizing: border-box;
    z-index: 100;
}
#slider-bar .slider img {
    width: 100%;
    height: auto;
}
.caption-bottom a, .cation-bottom a:hover {
    color: #fff;
}

    /*     for clients block     */
#slider-bar .client-block .inner-tab {
    z-index: 2;
}
#slider-bar .client-block .inner-tab a {
    display: inline-block;
    box-sizing: border-box;
    padding: 0.5em 1em;
    color: #777;
    margin-right: 3px;
    border-radius: 2px 2px 0 0;
    border: 1px #aaa solid;
    cursor: pointer;
    background: #f6f6f6;
    font-size: 1.25em;
}
#slider-bar .inner-tab a.active {
    background: #fff;
    color: #901;
    font-weight: bold;
    border-bottom: 1px #fff solid;
}
#slider-bar .client-block .inner-tab a:hover {
    text-decoration: none;
}
#slider-bar .client-block .inner-block {
    flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    -moz-flex: 1;
    position: relative;
}
#slider-bar .inner-block .inner-content {
    box-shadow: 0 0 0 1px #aaa inset;
    border-radius: 0 2px 2px 2px;
    height: 100%;
    width: 100%;
    margin-top: -1px;
    background: #fff;
    position: absolute;
}
#slider-bar .inner-content table {
    height: 100%;
    vertical-align: middle;
    float: left;
    width: 75%;
}
#slider-bar .inner-content table.left {
    width: 25%;
}
#slider-bar .inner-content .left td {
    padding: 5px 0;
}
#slider-bar .inner-content img {
    width: 100%;
    height: auto;
    max-width: 100px;
    max-height: 100px;
}
#slider-bar .inner-content div {
    margin: 0 1em;
    padding: 1em 0;
    height: calc(50% - 2em - 1px);
    overflow: hidden;
}
#slider-bar .inner-content div:nth-of-type(1) {
    border-bottom: 1px #aaa dashed;
}
#slider-bar a.green {
    color: #6b0;
}


    /*     top companies block     */

.top-company .company-logo {
    text-align: center;
    background-color: #fff;
    margin: 5px;
    border: 1px #eee solid;
    padding: 5px;
    border-radius: 2px;
}
.top-company .company-logo img {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}
.top-company .company-logo:hover {
    border-color: #bbb;
    opacity: 0.7;
}
.top-company .title {
    font-size: 14px;
    height: 35px;
    overflow: hidden;
    margin: 4px 7px;
}
section img {
    max-width: 100%;
    height: auto;
}

    /*   front bottom block   */
#front-bottom {
    background: #eee;
    padding: 1em;
}
#latest ul, .latest ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.latest ul {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: -moz-flex;
    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
}
#latest .tab {
    background: rgba(255, 187, 0, 0.4);
    display: inline-block;
    padding: 0.5em 1em;
    border-radius: 3px 3px 0 0;
    margin-bottom: 0;
}
#latest b {
    font-weight: normal;
    color: #666;
}
#latest .tab:hover {
    background: #f70;
    cursor: default;
}
#latest .active {
    background: #f70;
}
#latest .active b {
    color: #fff;
}
.latest {
    background: #f9f9f9;
    border-top: 1px #fb0 solid;
    padding: 10px;
    overflow: hidden;
    width: calc(100% - 20px);
    display: none;
}
#latest div.visible {
    display: block;
}

.latest li {
    width: 50%;
    padding: 7px 0;
    border-top: 1px #d9d9d9 dashed;
}
#latest .latest img {
    width: 25%;
    height: auto;
}
#latest .latest div.left {
    width: 4em;
    height: 4em;
    background: #fff center / contain no-repeat;
    float: left;
    margin: 0 0.5em 0.5em 0;
}
#latest .company-logo {
    text-align: center;
    background-color: #fff;
}
#latest .company-logo {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#why-join {
    padding: 2.2em 0 0 10px;
}
#why-join h3, #why-join ol {
    background: #fff;
    margin: 0px;
    padding: 10px;
}
#why-join ol {
    padding-left: 2em;
    font-size: 14px;
}

