/* ----- general layout ------*/
@font-face {
  font-family: "Roboto";
  src: url("/static/roboto.woff");
}
@font-face {
  font-family: "Lato Regular";
  src: url("/static/lato_regular.woff2");
}
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 400;
  src: local("Source Sans Pro"), local("SourceSansPro-Regular"), url("/static/source_sans_pro.woff2") format("woff2");
}

body {
    font-family: "Lato Regular", Roboto, Arial, sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    background: #fff;
}

#background {
    /*background: url("http://scimax.biz/sites/all/themes/sci2/images/bg6.png") repeat;*/
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -100;
}
.main {
    clear: both;
    overflow: hidden;
    margin: 0;
}
.s12, .m12, .m13, .m23, .m14, .l12, .l16, .l13, .l23, .l15, .l25, .l35, .l45, .l14, .l34 {
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.wrap {
    margin: 0 auto;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#mainheader, #maincontent {
    background: #fff;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* ------ text styles ------ */

h1 {
    font-size: 2em;
    color: #aa1424;
    font-weight: bold;
    margin: 0 0 0.5em;
}
h2 {
    font-size: 1.5em;
    color: #aa1424;
    font-weight: bold;
    margin: 0 0 0.5em;
}
h3 {
    font-size: 1.25em;
    margin: 0 0 0.5em;
}
h4 {
    font-size: 1.125em;
    margin: 0;
}
h5 {
    font-size: 1em;
    color: #999;
    margin: 0 0 0.5em;
}
h6 {
    font-size: 0.875em;
    color: #999;
}
p {
  margin: 0 0 1em;
  font-size: 1em;
  font-weight: normal;
}
.blog .news, .blog .post {
    font-family: "Source Sans Pro", "Lato Regular", Arial;
    line-height: 1.5;
    font-size: 20px;
}
#content > .post {
    padding: 1em;
}
.news p, .post p {
    margin: 0 0 1.5em;
}

.blog .news h1, .blog .post h1 {
    font-size: 2.5em;
    line-height: 1.2;
    font-weight: 400;
}
.blog #top-aside {
    padding: 1em;
    background: #ccc;
    font-family: "Source Sans Pro", "Lato Regular", Arial;
    line-height: 25px;
    color: #555;
    font-size: 18px;
}
#top-aside input:not([type=submit]) {
    padding: 5px;
    width: 100%;
    margin-bottom: 5px;
    border: 1px #bbb solid;
    background-color: #fff;
    box-sizing: border-box;
    font-size: 16px;
}
#top-aside input[type=submit] {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
    font-size: 16px;
}

.blog .latest {
    border-top: 1px #eee solid;
    padding-top: 1em;
    margin-top: 1em;
}

a, a:link, a:visited {
    color: #901;
    text-decoration: none;
    outline: 0;
}
a:hover, a:active, a:focus {
    color: #c10;
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
}
.gray div {
    font-size: 13px;
    color: #ddd;
}
.gray a, .gray a:link, .gray a:visited {
    color: #ffe;
    font-size: 13px;
}
.gray a:hover, .gray a:active {
    color: #fff;
}
.brown {
    color: #c59a6f;
}
.grey-h {
    color: #999;
}
small {
    color: #999;
}
#content small a {
    font-weight: bold;
    color: #777;
    font-size: 11px;
}
.odd, .info tr:nth-child(1), .info tr:nth-child(3), .info tr:nth-child(5), .info tr:nth-child(7) {
    background: #f0f0f0;
}
.even, .info tr:nth-child(2), .info tr:nth-child(4), .info tr:nth-child(6) {
    background: #f9f9f9;
}
table {
    border-collapse: collapse;
    max-width: 100%;
}

th {
    border-right: 1px #fff solid;
    text-align: left;
}
th, td {
    padding: 5px 10px;
}
ul, ol {
    padding-left: 1.5em;
    margin: 0.5em 0;
}
li {
    margin-bottom: 0.5em;
}
.clear-list {
    list-style: none;
    padding: 0;
    overflow: hidden;
}
.inline li {
    display: inline-block;
    padding-right: 1em;
}

/* ====== EDIT-ADD-REGISTER FORMS ===== */

#content form {
    background: #e9eAeA;
    padding: 1.5em 0;
}

#content .clear-form {
    padding: 1em;
}

input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 4px -1px #333;
}

table input, table textarea {
    padding: 3px;
    margin-bottom: 5px;
    border: 1px #bbb solid;
    background-color: #fff;
}
table select {
    float: left;
    font-size: 14px;
    padding: 3px 1em 3px 3px;
    margin-bottom: 5px;
    border: 1px #bbb solid;
    -moz-appearance: none;
    -webkit-appearence: none;
    background: #f9f9f9 url("/static/img/select-arrow.png") no-repeat right center;
}
th label {
    font-size: 14px;
}
.registration table th {
    vertical-align: top;
}
th .required:before {
    content: " * ";
    color: #c10;
}
.registration .step {
    padding-top: 1.5em;
}
.registration .step h3 {
    padding: 0.5em;
    color: #000;
}
.registration .collapsed h3 {
    background: #f0f0f0;
    color: #666;
}

.registration table {
    padding-top: 1em;
}
.registration .body > p {
    padding: 0.5em;
}
.registration .readmore {
    margin-left: 11.5em;
}
.registration table th {
    width: 10em;
}
.registration .passed h3 {
    color: #160;
}
.registration .passed h3:after {
    content: " \2714";
    color: #6b0;
}
.error > h3 {
    color: #901;
}
.error > h3:after {
    content: " \2716";
    color: #901;
}
.error textarea, .error input {
    border: 1px #c10 solid;
    background: rgba(204,17,0, 0.1);
    border-radius: 3px;
}
.errorlist {
    font-size: 11px;
    color: #999;
}

input[type=checkbox], input[type=submit], input[type=number], input[type=file] {
    width: auto;
}
input[type=submit] {
    font-weight: bold;
    background: #901;
    color: #fff;
    padding: 3px 1em;
    cursor: pointer;
    margin-top: 1em;
    border: none;
}
input[type=submit]:disabled {
    background: #999;
    cursor: default;
}
input#id_captcha_1 {
    width: 10em;
}
img.captcha {
    vertival-align: middle;
}

form table th {
    max-width: 12em;
    border: none;
}
form table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
form table ul li {
    display: inline-block;
    margin-right: 1em;
}
form table #id_industry {
    max-height: 6em;
    overflow-y: scroll;
    border: 1px #999 solid;
    padding: 0.5em 0;
    background: #f0f0f0;
}
form table .helptext {
    font-size: 12px;
}
form .taken {
    color: #901;
    padding-left: 5px;
}
.free:before {
    content: "\2714";
    color: #6b0;
}
form .free {
    color: #6b0;
    padding-left: 5px;
}
.taken:before {
    content: "\2716  ";
    color: #c10;
}

    /*     Industry or fields styling     */

form li.parent, form li.child {
    display: block;
    font-family: Arial;
    color: #7ab;
    font-size: 14px;
}
.parent input[type=checkbox] {
    vertical-align: middle;
}
.parent > input:checked + .children {
    display: block;
}
ul li.parent .children {
    display: none;
    margin-left: 1em;
}
li.child {
    margin: 0;
}

.invisible {
    display: none;
}

/* ====== END FORMS ===== */



    /* styling of list for some regions */
#topmenu ul, #mainheader ul, #mainfooter ul {
    list-style:none;
    padding-left: 0;
    margin: 0;
}



/* ------ header ------ */


#mainheader {
    margin-top: 1.3em;
    overflow: visible;
}

    /*   upper header   */


#topmenu, #topheader .left {
    float: left;
    position: relative;
    cursor: default;
    margin-right: 1em
}
#topmenu li {
    display: inline-block;
    margin: 0;
}

#topheader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    background: #eee;
    width: 100%;
}

#topheader .right {
    float: right;
    margin-left: 1em;
    position: relative;
}
#topheader .right a.menu-icon, #topheader .left a {
    color: #000;
}
#topheader a {
    display: inline-block;
    margin: 8px 1em 8px 0;
}


#login-form {
    position: absolute;
    top: 100%;
    right: 0;
    background: #e0e0e0;
    padding: 10px 10px 0;
    display: none;
    text-align: right;
    font-size: 14px;
}
#login-form input {
    width: 15em;
    background: #fff;
    border: 1px #eee solid;
    padding: 3px;
    margin-bottom: 3px;
}
#login-form input[type=submit] {
    background: #901;
    margin: 0 0 0 1em;
    width: 8em;
}
.login-link {
    cursor: pointer;
}
#topheader .action {
    padding: 8px 35px;
    color: #901;
    border: 1px #901 solid;
    margin: 0 auto;
    background-color: #fff;
    line-height: 1;
    border-radius: 3px;
    font-weight: bold;
}
#topheader .action:hover {
    text-decoration: none;
    color: #c34;
    border-color: #c34;
}


    /* logo */

#logo {
    padding: 1.714em 1em 0.5em 0;
}

    /* search block and slogan */

#intro {
    padding: 10px 0 3px;
}

.red {
    background: #fff;
    background-image: url("/static/img/header_background.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#intro h1, #intro p, #intro h3 {
    color: #000;
}
#intro img.right {
    float: right;
    margin: -4em -1.5em 0 0;
}
#intro h3 {
    font-weight: unset;
}
#intro p a:hover, #intro p a {
    color: #666;
}

#regions {
    float: right;
    position: relative;
    margin: 0.5em 0 0;
    background: #fff;
}
#regions b {
    display: block;
    padding: 9px 21px 9px 7px;
    font-size: 14px;
    z-index: 20;
    border: 1px #999 solid;
    background: #fff url("/static/img/select-arrow.png") no-repeat right center;
}
#regions ul {
    position: absolute;
    background: #fff;
    border: 1px #999 solid;
    border-top: none;
    width: auto;
    padding: 0.5em;
    top: 2.2em;
    right: 0px;
    z-index: 9;
    display: none;
    box-sizing: border-box;
}
#regions:hover ul {
    display: block;
}
#regions ul li {
    font-size: 14px;
    width: 80px;
    float: left;
    text-align: center;
    margin-top: 10px;
}
#regions ul li .flag {
    margin: 2px auto;
}
#regions li a {
    outline: none;
}
#search {
    overflow: hidden;
    padding: 0.5em 2px;
}
#search input, #search select {
    float: left;
    font-size: 14px;
    padding: 0 4px;
    margin: 0;
    border: 2px #901 solid;
    height: 36px;
}
#search input:active, #search select:focus {
    box-shadow: 0 0 3px #901;
}
#search select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    padding-right: 1em;
    background: #fff url("/static/img/select-arrow.png") no-repeat right center;
    max-width: 12em;
}
#search #id_q {
    background: #fff;
    padding: 0 7px;
    min-width: 200px;
    width: 40%;
    max-width: 410px;
    height: 36px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
#search .submit {
    padding: 0 4px 0 36px;
    cursor: pointer;
    background-image: url("/static/img/search32.png");
    background-repeat: no-repeat;
}

/* -------country icon-------*/


.flag-more {
    width: 63px;
    height: 32px;
    background: #fff;
    display: block;
    border: 1px #eee solid;
    margin: 2px auto;
}
.flag {
    width: 63px;
    height: 32px;
    background: #eee url("/static/img/flags1.jpg") no-repeat;
    display: block;
    background-position: bottom right;
    border: 1px #eee solid;
}

.ukr {background-position: -128px -384px;}
.geo {background-position: -256px -128px;}
.idn {background-position: -192px -160px;}
.blr {background-position: 0px -32px;}
.pol {background-position: -256px -288px;}
.lva {background-position: -384px -192px;}
.cze {background-position: -64px -96px;}
.svk {background-position: -448px -320px;}

.inline {
    display: inline-block;
}

/* ------ content ------ */

#maincontent {
    padding: 10px;
}
#content > article {
    background-color: #f6f6f6;
    padding: 10px;
    margin-bottom: 10px;
}
#content {
    overflow: visible;
    margin: 10px 0;
}

.front #content {
    width: 100%;
}
img.left {
    float: left;
    margin: 0 10px 10px 0;
}
img.right {
    float: right;
    margin: 0 0 10px 10px;
}
.readmore {
    border: 1px #901 dotted;
    padding: 3px 0.5em;
}
.readmore:hover {
    background: #fff;
    box-shadow: 0 0 3px #901;
    border: 1px #901 solid;
    text-decoration: none;
}

#maincontent .add_company {
    background: #901;
    color: #fff;
    font-weight: bold;
    line-height: 1;
}
#maincontent .log_in {
    background: #eee;
    color: #000;
}
#maincontent .add_company, #maincontent .log_in {
    display: block;
    font-size: 1.2em;
    line-height: 1;
    padding: 10px;
    text-align: center;
}

.front .action {
    margin: 0 1em 1em 0;
}
#mainsidebar .action {
    margin: 10px 0;
}
#maincontent .add_company:hover {
    background: #c34;
    color: #fff;
    text-decoration: none;
}
#maincontent .log_in:hover {
    background: #f6f6f6;
    color: #000;
    text-decoration: none;
}
.categories-list, .industries-list ul {
    list-style: none;
    padding-left: 1.5em;
}
.industries-list ul li {
    padding-right: 1em;
}
.industries-list {
    padding: 0 0 1em;
}


    /*   country page   */

.country {
    overflow: hidden;
}
.country-facts tr th {
    background: #eee;
    vertical-align: top;
    text-align: left;
    padding: 0.5em;
    border-right: 1px #fff solid;
    font-size: 14px;
}
.country-facts tr td {
    background: #f9f9f9;
    vertical-align: top;
    text-align: left;
    padding: 0.5em;
    font-size: 14px;
}
.country-facts tr {
    border: 1px #fff solid;
}

.country header img {
    width: 100%;
    height: auto;
    box-shadow: 0 0 3px #c59a6f inset;
    border: 1px #c59a6f solid;
    margin-bottom: 0.5em;
}

.country .flag.inline {
    margin-bottom: -7px;
}
.country img.flag {
    height: 32px;
    width: auto;
    margin: 0 0 -7px;
}
.country-sidebar {
    margin-bottom: 1.5em;
}

.country-sidebar h4 {
    margin: -5px -10px 10px;
    padding: 2px 10px;
    background: none repeat scroll 0% 0% #C59A6F;
    color: #FFF;
}
.country-sidebar b {
    color: #07b;
}
.country-innovations article img {
    width: 100px;
    max-width: 25%;
    float: left;
}
.country-innovations article {
    padding: 0.25em 0;
    border-bottom: 1px #fff solid;
}

    /*  news  */

.news {
    overflow: hidden;
    border-bottom: 1px #999 dashed;
    padding-bottom: 0.5em;
}
.article {
    overflow: hidden;
}
.news .news_img {
    float: left;
}
.article .article_img img {
    width: 40%;
    height: auto;
    margin: 0 1em 1em 0;
    float: left;
}

.news .news_img img {
    width: 200px;
    margin-right: 1em;
    border: 1px #eee solid;
}

#content > h1 {
    background: #f6f6f6;
    margin-bottom: 10px;
    padding: 20px 10px;
}
#content > p:first-of-type, #content > div.description {
    margin-bottom: 10px;
    border-bottom: 2px #ccc solid;
}
#content > p, #content > ul, #content > div.description {
    background: #f6f6f6;
    margin: 0;
    padding: 10px;
    overflow: hidden;
}
#content > section {
    background: #f6f6f6;
    margin: 0 0 10px;
    padding: 10px;
    overflow: hidden;
}

/* ----- comments ------ */
.post footer {
    margin-bottom: 1em;
}
.post content img {
    max-width: 90%;
    height: auto;
}
.replies {
    padding-left: 1.25em;
    margin: 0.5em 0;
    border-left: 2px #901 solid;
}
.replies article {
    margin-bottom: 0.5em;
}
.comments footer {
    overflow: hidden;
}
#content .comments form.comment-form {
    padding: 10px;
}
.comments .comment-form div:last-child {
    text-align: right;
}

.comments article {
    padding: 0.5em 0;
}
.comment-form textarea {
    width: 100%;
    border: none;
    background: #fff;
}
.new {
    background: #fff0f0;
}


    /* blog comments */

#post-comments .level-1 {
    list-style: none;
    padding: 0;
}
.level-1 ul {
    list-style: none;
    border-left: 1px #999 dashed;
    clear: both;
}
#post-comments li {
    overflow: hidden;
    margin-bottom: 1em;
}

#post-comments .comment-image {
    float: left;
    padding: 0.5em 0.5em 0;
    width: 4em;
}
.comment-image img {
    width: 4em;
    height: auto;
    margin-bottom: 1em;
}
#post-comments .comment-description {
    overflow: hidden;
    padding: 0.5em;
}
.unapproved > .comment-description {
    background: #fed;
}
#post-comments .comment-description > strong:first-child {
    display: block;
    margin-bottom: 1.5em;
}
#post-comments .comment-description > p {
    margin-bottom: 1em;
}

#post-comments .hidden, #post-comments .unapproved .reply {
    display: none;
}
#post-comments .response {
    overflow: hidden;
}
.response .reply {
    float: right;
    padding: 0 1em;
    color: #901;
    cursor: pointer;
}
.response a {
    display: block;
    float: right;
    padding: 0.25em;
    margin-left: 1em;
    cursor: pointer;
}
#post-comments .reply:hover {
    text-decoration: underline;
    color: #c10;
}

#response {
    clear: both;
}
#cancel-reply {
    display: none;
}
li #cancel-reply {
    display: inline;
}
li #cancel-reply:hover {
    text-decoration: underline;
    cursor: pointer;
}

/*----- MEMBER -------*/

.member {
    width: 100%;
}
.member img {
    max-width: 100%;
    width: 12em;
    height: auto;
}
 .member-image {
    max-width: 50%;
    width: 12em;
}
 .member-icon {
    width: 2em;
    height: auto;
    float: left;
}
.member-medium {
    float: left;
    height: 4em;
    width: auto;
    margin-right: 1em;
}
.member-name {
    display: inline-block;
    padding: 0.5em 1em;
    font-weight: bold;
}


/*----- SAVED SEARCH (BASKET) -------*/

.basket-add {
    cursor: pointer;
    color: #f70;
}
.basket-add:before {
    content: "\271A  ";
}
.basket-in {
    cursor: default;
    color: #999;
}
.basket-in:after {
    content: " \2714";
    color: #6b0;
}
.basket-in + a {
    color: #999;
}
.basket-rm {
    cursor: no-drop;
    color: #999;
}
.basket-rm:before {
    content: "\2716  "
}


/* ======= Innovation ======= */

#content article.innovation-page {
    padding: 0;
    background: transparent;
}
#content .innovation-page > * {
    background: #f6f6f6;
    padding: 10px;
    margin-bottom: 10px;
}

.innovation-img-icon {
    float: left;
}
.innovation-img-icon img {
    max-height: 8em;
    max-width: 100%;
    width: auto;
    margin: 0.5em 0.5em 0.5em 0;
    border-radius: 2px;
    cursor: pointer;
}
.innovation-img:hover {
    opacity: 0.7;
}

.innovation-img-full {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 1000;
}
.innovation-img-full img {
    max-height: 90%;
    max-width: 90%;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
}
.innovation-video {
    max-width: 640px;
    max-height: 360px;
    width: 100%;
}

#upload-process, #id_images {
    display: none;
}

#uploaded-img img {
    max-height: 8em;
    max-width: 100%;
    width: auto;
    margin: 0.5em 0.5em 0.5em 0;
    border-radius: 2px;
    cursor: pointer;
}

.keywords {
    margin: 0 0 1em;
}
.keywords ul {
    list-style: none;
    padding: 0;
}
.keywords ul li {
    display: inline-block;
    padding: 0.25em 0.5em;
    background: #fff;
    margin-right: 0.25em;
}
.keywords li a {
    color: #7ab;
}
.keywords li a:hover, .keywords li a:active {
    color: #333;
    text-decoration: none;
}

/* ==== END INNOVATION ===== */

    /*  company list  */

.company, .lead {
    overflow: hidden;
    box-shadow: 0 0 50px #f0f0f0 inset;
    padding: 10px;
    margin-bottom: 1em;
}
.lead {
    background: #f9f9f9;
}
.lead h5 {
    color: #000;
}

/* ------- REGISTRATION --------*/

#content .blank {
    background: transparent;
}
#content table thead th {
    background: #901;
    color: #fff;
    border-color: #fff;
    padding-top: 1em;
    text-align: center;
}
.center {
    text-align: center;
}
#content header .caption {
    font-size: 1.125em;
    padding-bottom: 1em;
    text-align: center;
}
.plans {
    width: 100%;
}
.plans td {
    text-align: center;
    padding: 5px auto;
    border-right: 1px #fff solid;
}
.plans .taken, .plans .free {
    font-size: 1.25em;
}
#content table.plans {
    background: transparent;
}
.unavailable {
    color: #bbb;
    text-decoration: line-through;
}
#content .plan-button {
    display: inline-block;
    padding: 0.5em 1em;
    margin-top: 1em;
    border-radius: 3px;
    background: #f70;
    color: #fff;
    font-weight: bold;
}
#content .plan-button:hover, #content .plan-button:active {
    text-decoration: none;
    background: #fa0;
}



/* ========= ACCOUNT ========== */

.account .info section {
    padding: 10px;
}
.action-button {
    display: inline-block;
    padding: 3px 1em;
    margin-right: 1em;
    border: 1px #901 solid;
    border-radius: 3px;
    background: #fff;
}
.action-button:hover, .action-button:active {
    text-decoration: none;
}
#content a.edit {
    background: #0af;
    color: #FFF;
    border-color: #07b;
}
#content .edit:hover, #content .edit:active {
    background: #1cf;
}
#content a.delete {
    background: #901;
    color: #fff;
}
#content .delete:hover, #content .delete:active {
    background: #c10;
}

.logo-action {
    position: relative;
}
.upload-logo {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.5);
    border: 2px #c10 solid;
    border-radius: 4px;
    color: #c10;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1em;
    font-weight: bold;
    padding: 1em 0;
    z-index: 1;

}
.logo-action:hover .upload-logo, .logo-action:hover .delete-logo {
    visibility: visible;
}
input.upload-logo {
    height: 3.2em;
    width: 100%;
    padding: 0;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}
.delete-logo {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    visibility: hidden;
    width: 100%;
    background: #901;
    color: #fff;
    padding: 2px 0;
    position: absolute;
    top: 0;
    left: 0;
}
.logo-action:hover .delete-logo:hover {
    background: #c10;
    cursor: no-drop;
}

/* ========= END ACCOUNT ========== */


    /*   company profile   */

#top-aside .send-message {
    display: block;
    width: 100%;
    background: #C59A6F;
    font-weight: bold;
    text-align: center;
    padding: 10px 0px;
    margin: 16px 0px;
    box-shadow: 0 0 0 1px #888;
    border-radius: 3px;
    color: #fff;
    text-shadow: 0 0px 3px #777;
    font-size: 16px;
}
#top-aside .send-message:hover {
    text-decoration: none;
    background: #f70;
}
#content .profile {
    padding: 0;
}
.profile header {
    overflow: hidden;
    padding: 10px 10px 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.5);
}
.profile footer {
    overflow: hidden;
    padding: 5em 10px 1em;
    text-shadow: 1px 0px 1px #000;
    color: #fff;
    position: relative;
    background-color: #f9f9f9;
    background-image: url("/static/img/front_block.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.profile footer .left {
    position: absolute;
    bottom: 1em;
    left: 10em;
    padding: 0.5em 0.5em 0;
    background: rgba(0,0,0,0.4);
}
.profile footer p {
    font-weight: bold;
}
.profile footer a {
    color: #feb;
}
.space {
    clear: both;
    background: #fff;
    padding: 5px 0;
    margin: 0.5em -10px;
}
.company header, .company footer {
    overflow: hidden;
    margin-bottom: 1em;
}

.company .company-logo, .profile .company-logo {
    float: left;
    margin-right: 1em;
    border: 2px solid #C59A6F;
    height: 8em;
    width: 8em;
    text-align: center;
    background-color: #fff;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.profile section {
    overflow: hidden;
    margin: 0;
    padding: 10px;
    background: #f6f6f6;
}
.info .percent5 p, .info .percent5 h2, .info .percent5 h3, .info .percent5 table {
    padding-left: 10px;
}
.info .left {
    padding: 10px;
}
.info .rigth {
    float: right;
    padding: 10px 1em;
}
.company .company-logo img, .profile .company-logo img {
    visibility: hidden;
    max-height: 100%;
    max-width: 100%;
}

.products-line {
    clear: both;
    overflow: hidden;
    padding: 10px;
    margin: 0;
    background: #f9f9f9;
}
.product-item {
    padding: 0.5em;
    float: left;
    width: calc(10em + 2px);
    font-size: 14px;
    height: 12.5em;
    overflow-y: hidden;
}
.product-item img {
    width: 10em;
    height: 10em;
    border: 1px #f0f0f0 solid;
    border-radius: 2px;
}
.product-item a {
    color: #999;
    font-weight: bold;
}

    /*   products list   */
.product {
    float: left;
    width: 195px;
    margin: 0 7px 7px 0;
    overflow: hidden;
    padding: 5px;
    position: relative;
    box-shadow: 0 0 4px #c59a6f inset;
}
.product:hover {
    box-shadow: 0 0 4px #c10 inset;
}
.product a:hover {
    text-decoration: none;
}
.product h4 {
    font-size: 14px;
    padding-bottom: 3px;
    position: absolute;
    background: none repeat scroll 0% 0% rgba(255, 255, 255, 0.8);
    width: 195px;
    box-shadow: 0px 3px 3px -1px rgba(255,255,255,0.8);
}
.product .product-image {
    width: 195px;
    height: 195px;
    overflow: hidden;
    margin-top: 18px;
    display: -webkit-flex; /* Safari */
    -webkit-align-items: center; /* Safari 7.0+ */
    -ms-align-items: center;
    display: flex;
    display: -ms-flex;
    align-items: center;
}
.product-image img {
    width: 100%;
    height: auto;
}
.product-image-full {
    max-width: 100%;
    height: auto;
}

.hide {
    max-height: 30em;
    position: relative;
    padding-bottom: 2em;
}
.expand {
    padding: 0.5em 0;
    text-align: center;
}
.expand:hover {
    cursor: pointer;
    text-shadow: 0 0 1px #999;
}
.hide .expand {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
}
.expand:after {
    content: " less";
}
.hide .expand:after {
    content: " more";
}


#content table.register {
    width: 100%;
    /*border-collapse: separate;
    border-spacing: 10px 0px;
    padding: 10px 0px;*/
}

table.register td {
    width: 50%;
    padding: 10px;
    vertical-align: top;
}
table.register th {
    padding: 10px;
}
table.register tr td:first-child {
    box-shadow: -3px -1px 0 -1px #fff inset;
}

#content .tabs {
    background: #fff;
    border-bottom: 1px #aaa solid;
    margin-bottom: 1em;
}
#content .tabs a {
    display: inline-block;
    box-sizing: border-box;
    padding: 0.5em 1em;
    color: #777;
    margin: 0 3px -1px 0;
    border-radius: 2px 2px 0 0;
    border: 1px #aaa solid;
    cursor: pointer;
    background: #f6f6f6;
    font-size: 1.25em;
}
#content .tabs a.active {
    background: #fff;
    color: #901;
    font-weight: bold;
    border-bottom: 1px #fff solid;
}
#content .tabs a:hover {
    text-decoration: none;
}

/* =========================== */
/* ========= SIDEBAR ========= */


#mainsidebar {
    float: right;
    padding: 0 0 20px;
    background: transparent;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.block .active, .block .active:hover {
    font-weight: bold;
    color: #000;
    text-decoration: none;
}
.block .cats {
    list-style: none;
    padding: 0;
}
#top-aside .cats li {
    margin-left: 0.5em;
    font-family: Arial;
    font-size: 14px;
}

.block .subcat {
    padding-left: 10px;
}

.block {
    margin-top: 10px;
    padding: 6px 10px;
    background: #f9f9f9;
}
.block h2 {
    color: #C59A6F;
}
#user-block ul {
    list-style: none;
    padding-left: 5px;
}
.block .basket {
    margin: 1em 0 0;
    padding: 0.5em 0;
    border-top: 1px #999 solid;
}
.block img {
    width: 100%;
    height: auto;
}
.block article {
    border-top: 1px #aaa dashed;
    padding: 0.5em 0;
}
.block article img.left {
    width: 25%;
    height: auto;
}
.block a[href=""] {
    color: #000;
    font-weight: bold;
}
.links {
    margin-bottom: 5px;
    overflow: hidden;
    clear: both;
}
.links span, .links a {
    float: left;
}
.links a {
    padding: 5px 0 0 5px;
}

    /*   breadcrumb   */

.breadcrumb {
    font-size: 11px;
}
#content .breadcrumb {
    margin-top: 2em;
}
.breadcrumb a {
    color: #666;
}

/* ------ footer ------ */


#mainfooter {
    background: #727579;
    color: #fff;
}
#mainfooter p {
    padding: 0;
}
#mainfooter .left {
    float: left;
    margin-right: 1em;
}
.footer-block {
    overflow: hidden;
    padding: 1em 0 0;
}
.right .footer-block {
    display: inline-block;
    margin-right: 2em;
}
#mainfooter h4 {
    margin-bottom: 0.5em;
}

.footer-block ul li {
    padding: 0px;
    margin: 0 0 0.2em;
}


    /*    social buttons    */

.footer-buttons {
    padding: 1em 1em 0 2em;
}
.footer-buttons a, .links span {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 5px;
    background-image: url("/static/img/follow_buttons32.png");
    outline: none;
}
.footer-buttons a:hover, .footer-buttons a:focus {
    text-decoration: none;
    box-shadow: 0 0 3px #fff inset;
}

.tw-button { background-position: -161px 0;}
.mail-button { background-position: -193px 0;}
.g-button { background-position: -97px 0;}
.fb-button { background-position: -65px 0;}
.in-button { background-position: -129px 0;}
.tmbr-button { background-position: -225px 0;}
.en-button { background-position: -33px 0;}

#under-footer {
    clear: both;
    border-top: 1px #eee solid;
    padding: 1em 0;
    overflow: hidden;
}
#mainfooter .address {
    line-height: 1.5;
    font-size: 11px;
    color: #eee;
}


.menu-1 {background-position: 0px 0px;}
.contact-1 {background-position: -32px 0;}
.login-1 {background-position: -64px 0px;}
.account-1 {background-position: -96px 0px;}
.logout-1 {background-position: -128px 0px;}
.lead-1 {background-position: -160px 0px;}
.register-1 {background-position: -208px 0px;}
.register-2 {background-position: -256px 0px;}




/* --- Screen size depended styles --- */

@media only screen and (min-width: 220px) and (max-width: 400px)
{
    body {
        font-size: 14px;
    }
    .wrap {
        width: 100%;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        padding: 0 5px;
    }
    #logo, #intro img.right, #content #slider-bar {
        display: none;
    }
    #intro #search {
        clear: both;
    }
    #intro #regions ul {
        width: 240px;
    }
    .country section img {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
    table input, table textarea, table select{
        max-width: 230px;
        width: 100%;
    }
    form table tr td {
        min-width: 70%;
    }
    form table tr th {
        padding-right: 0;
    }
    .profile .info .rigth {
        display: none;
    }
    #mainheader {
        padding-top: 50px;
    }
    .categories ul li, #mainsidebar {
        width: 100%;
    }
    .s1 {
        width: 100%;
    }
    .s12 {
        width: 50%;
    }
    #topheader a.action {
        padding: 0;
        margin: 4px 0.5em;
    }
    #mainheader #topheader a {
        background-color: transparent;
    }
    .menu-icon {
        width: 32px;
    }
    .menu-icon1 {
        width: 48px;
    }
    .menu-icon, .menu-icon1 {
        float: left;
        height: 32px;
        margin: 3px;
        box-shadow: 0 0 3px #666;
        background-image: url("/static/img/menu-icons.png");
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }
    #topmenu ul {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        background: #eee;
        padding: 10px;
        z-index: 10;
    }
    #topmenu ul.visible {
        display: block;
    }
    #mainfooter .right {
        clear: both;
    }
}

@media only screen and (min-width: 401px) and (max-width: 490px)
{
    body {
        font-size: 14px;
    }
    .wrap {
        width: 100%;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        padding: 0 5px;
    }
    #logo, #intro img.right, #content #slider-bar {
        display: none;
    }
    #intro #search {
        clear: both;
    }
    table input, table textarea, table select{
        max-width: 290px;
        width: 100%;
    }
    form table tr td {
        min-width: 70%;
    }
    .profile .info .rigth {
        float: none;
    }
    .country section img {
        max-width: 50%;
    }
    #mainheader {
        padding-top: 50px;
    }
    .categories ul li {
        width: 48%;
        float: left;
        margin: 0 2% 10px 0;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
    }
    #topheader a.action {
        padding: 0;
        margin: 4px 0.5em;
    }
    #mainheader #topheader a {
        background-color: transparent;
    }
    .menu-icon {
        width: 32px;
    }
    .menu-icon1 {
        width: 48px;
    }
    .menu-icon, .menu-icon1 {
        float: left;
        height: 32px;
        margin: 3px;
        box-shadow: 0 0 3px #666;
        background-image: url("/static/img/menu-icons.png");
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }
    #topmenu ul {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        background: #eee;
        padding: 10px;
    }
    #topmenu ul.visible {
        display: block;
    }
    #mainsidebar {
        width: 100%;
    }
    .top-company {
        width: 25%;
    }
    #mainfooter .right {
        clear: both;
    }
    .s1 {
        width: 100%;
    }
    .s12 {
        width: 50%;
    }
    .s13 {
        width: 33%;
    }
    .s23 {
        width: 67%;
    }
}

@media only screen and (min-width: 491px) and (max-width: 1000px)
{
    .wrap {
        width: 100%;
        max-width: 900px;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        padding: 0 10px;
    }
    #intro img.right, #content #slider-bar {
        display: none;
    }
    table input, table textarea, table select {
        max-width: 400px;
        width: 100%;
    }
    form table {
        width: 100%;
    }
    form table tr td {
        padding-left: 0;
    }
    form table th {
        width: auto;
    }
    #mainheader {
        margin-top: 2em;
    }
    .profile .info .rigth {
        max-width: 50%;
    }
    .country .facts {
        width: 40%;
        min-width: 230px;
        float: right;
        margin: 0 0 1em 1em;
    }
    .country section img {
        max-width: 50%;
    }
    #mainfooter .right {
        clear: both;
    }
    .block {
        float: left;
        width: 48%;
        margin: 10px 1%;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
    }
    .m1 {
        width: 100%;
    }
    .m14 {
        width: 25%;
    }
    .categories ul li, #mainsidebar {
        width: 100%;
    }
    .m12 {
        width: 50%;
    }
    .m13 {
        width: 33%;
    }
    .m23 {
        width: 67%;
    }
}
@media only screen and (min-width: 1001px)
{
    .wrap {
        min-width: 990px;
        width: 86%;
        max-width: 1243px;
        padding: 0 10px;
    }
    #mainsidebar {
        width: 24%;
        margin-left: 1%;
    }
    .country .facts {
        width: 35%;
        min-width: 230px;
        float: right;
        margin: 0 0 1em 1em;
    }
    #mainfooter .right {
        float: right;
    }
    table input, table textarea {
        width: 400px;
    }
    table select {
        max-width: 400px;
    }
    .l1 {
        width: 100%;
    }
    .l12 {
        width: 50%;
    }
    .l16 {
        width: 16.6%;
    }
    .l13 {
        width: 33%;
    }
    .l23 {
        width: 67%;
    }
    .l14 {
        width: 25%;
    }
    .l34 {
        width: 75%;
    }
    .l15 {
        width: 20%;
    }
    .l25 {
        width: 40%;
    }
    .l35 {
        width: 60%;
    }
    .l45 {
        width: 80%;
    }
}
