html, body {margin: 0; padding: 0; font-family: 'Open Sans', sans-serif; font-size: .9em; height: 100%;}

body {background: #fff;}

h1, h2 {font-size: 2em; font-weight: normal;}
h2 {font-size: 18px; margin: 0 0 16px;}
a:link, a:visited {color: #1f79f3;}
a:hover {text-decoration: none;}

.body {max-width: 1400px; width: 100%; margin: 0 auto;}

.logo {padding:15px 15px 0;overflow:hidden;box-sizing:border-box;}
.logo > a {}
.logo > a img {width:115px;}
.logo > span {font-size:14px;display:inline-block;margin:11px 0 0 7px;color:#9e00be;}
@media all and (max-width: 600px) {
    .logo {padding-bottom: 4px;}
    .logo > span {display: none;}
}
.langs {display:inline-block;float:right;margin:8px 7px 0 0;}
.langs a:link, .langs a:visited {display: inline-block; padding: 5px 12px;}

.menu {margin: 15px 0 8px; background-color: #cc005b;}
.menu a {display: inline-block; padding: 10px; color: #fff; text-decoration: none}
.menu a span {text-decoration: none;}
.menu a:hover {background: #fff; color: #cc005b;}
.menu a:hover span {text-decoration: none;}

.menu .menu-item {display: inline-block; position: relative;}
.menu .menu-item a {transition: all 0.1s ease; text-decoration: none; text-transform: uppercase; font-weight: bold; font-size: 1.1em; padding: 10px 9px;}
.menu .menu-item a .arrow {
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	display: inline-block; width: 10px; text-align: center;}
.menu .menu-item .sub {position: absolute; z-index: 100; background: #fff; display: none; box-shadow: 0 2px 5px rgba(0,0,0,.3);}
.menu .menu-item .sub a {display: block; padding: 10px 15px; font-size: .9em; white-space: nowrap; color: #cc005b}

.menu .menu-item:hover {background: #fff; color: #cc005b;}
.menu .menu-item:hover .sub {display: block!important;}
.menu .menu-item:hover .sub a {
    color: #000;
    opacity: .6;
}
.menu .menu-item:hover .sub a:hover {
    opacity: 1;
}
.menu .menu-item:hover a {
    background: #fff; color: #cc005b;
}
.menu .menu-item:hover a .arrow {
	transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
}
.menu .menu-item a.selected {background: #fff; color: #cc005b;}

.content {margin: 0;}
.content img {}

.button1 {display: inline-block; padding: 10px 20px; background: #1f79f3; color: #fff!important; border-radius: 2px; text-decoration: none;}
.button1:hover {background: #eee; color: #1f79f3!important;}
.info {display: inline-block; padding: 10px 20px; background: #eee; color: #000;}
.gray {color: gray;}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

.path {display:inline-block;padding:10px 15px;border-radius:2px;border:1px solid #ccc;margin:15px 15px 0;}
	.path a:link, .path a:visited {margin: 0 2px;}
	.path span {display: inline-block; margin-left: 2px;}
@media all and (max-width: 600px) {
    .path {
        margin: 0;
        display: block;
        border: 0;
        background: #ddd;
    }
}

.-js-track-content .feed-item.selected img {box-shadow: 0 3px 15px rgba(0,0,0,.7), inset 0 0 1px rgba(255,255,255,1);}

.body-container {}
.body-container .right-side {float: right; width: 240px;}
.body-container .left-side {margin-right: 240px;}

@media all and (max-width: 800px) {
    .body-container .right-side {display: none;}
}

/* ERRORS */
.status {border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.4);position:absolute;top:0;padding:10px;color:#fff;}
.status.OK {background:green;}
.status.ERROR {background:red;}

/* FORMS */
input, select, textarea {padding: 10px; font-size: 1.1em;}
input[type=submit], .button {background: #1f79f3; border: 1px solid #1f79f3; font-size: .9em; border-radius: 2px; color: #fff!important; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.5), inset 0 -1px 0 rgba(0,0,0,.3); padding: 10px 20px;}
input[type=submit]:active, .button:active {box-shadow: inset 0 -1px 0 rgba(0,0,0,.3);}

/* NEWS */
table.news-list {border-spacing: 0;}
table.news-list tr td {padding:5px 5px; width: 33%;}
table.news-list tr:not(:first-child) td {border-top:1px solid #ccc;}
.news-id {transition: opacity 0.1s ease; position: relative; display: block; cursor: pointer; color: #1f79f3; text-decoration: none; display:block;padding:10px;}
.news-id:hover {opacity: .5;}
.news-id .anons {position: absolute; left: 0px; top: 0px; width: 16px; height: 16px; border-radius: 50%; background: #9e00be; box-shadow: 0 2px 3px rgba(0,0,0,.3);}
.news-id .anons img {margin: -1px -1px 0 0; }

.video {text-align: center; padding: 48px; margin-top: 15px;}
.video iframe {width: 854px; height: 480px;}

.news-item {
    width: 25%;
    box-sizing: border-box;
    padding: 10px;
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.news-item > a {
    display: block;
    text-decoration: none;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
    margin-top: -1px;
    transition: border .4s;
}
.news-item > a:hover {
    border-color: #888;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}
.news-item.daily > a {
    border: 1px solid #cc005b;
}
.news-item > a h2 {
    margin-top: 0;
}
.news-item .description {
    color: #000;
    line-height: 18px;
    opacity: .6;
    font-size: 14px;
}
.news-item .section {
    color: #fff;
    padding: 3px 6px;
    //border: 1px solid #cc005b;
    background-color: #cc005b;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 10px;
}
.news-item .image {
    position: relative;
    //width: 100%;
    min-height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    margin: -20px -20px 0 -20px;
    z-index: -1;
    transition: margin .4s;
}
.news-item .no-image {
    width: 100%;
    height: 60px;
}
.news-item .image:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100px;
    bottom: 0;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.99) 99%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.99) 99%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.99) 99%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}
.news-item > a:hover .image {
    margin: -40px -40px 20px -40px!important;
}
.news-item .wrapper {
    margin-top: -60px;
}
@media all and (max-width: 1290px) {
    .news-item {
        width: 33%;
    }
}
@media all and (max-width: 1100px) {
    .news-item {
        width: 50%;
    }
}
@media all and (max-width: 600px) {
    .news-item {
        width: 100%;
        padding: 0;

    }
    .news-item a {
        margin-bottom: 20px;
        border: 0;
        border-radius: 0;
    }
    .news-item a:hover {
        box-shadow: none;
    }
    .news-item.daily > a {
        border: 0;
        border-top: 1px solid #cc005b;
    }
}
/* MAIN PAGE ANONSES */
.news-anonses, .news-gallery {
    display: inline-block;
    width: 50%;
    position: relative;
    height: 300px;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 0;
}
@media all and (max-width: 1024px) {
    .news-anonses, .news-gallery {
        display: block;
        width: 100%;
    }
}
.news-anonses .news-item {
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: auto;
    overflow: hidden;
    opacity: 0;
    display: none;
    z-index: 1;
    font-size: 13px;
}
.news-anonses .news-item.active {
    opacity: 1;
    display: block;
}
.news-anonses .news-item .image:before {
    top: 40px;
}
.news-anonses .news-item .wrapper, .news-gallery .news-item .wrapper {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
}
.news-anonses .news-item .wrapper .description {
    height: 74px;
    overflow: hidden;
    position: relative;
}
.news-anonses .news-item .wrapper .fade {
    position: absolute;
    z-index: 1;
    height: 40px;
    bottom: 0;
    left:0;
    right: 0;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.99) 99%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.99) 99%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.99) 99%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}
.news-anonses .news-item a, .news-gallery .news-item a {
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
    height: 282px;
    box-sizing: border-box;
}
.changer .buttons {z-index: 3; position: absolute; top: 27px; right: 27px; overflow: hidden; border-radius: 2px;}
.changer .buttons > a {font-size:15px;transition: background 0.3s ease, color 0.3s ease; text-decoration: none; display: inline-block; padding: 5px 8px; background: #1f79f3; color: #fff;}
.changer .buttons > a:hover {background: #fff; color: #1f79f3;}
/* NEWS GALLERY ON MAIN */
.news-gallery .news-item {
    width: 50%;
    font-size: 13px;
}
@media all and (max-width: 600px) {
    .news-gallery {
        height: auto;
    }
    .news-gallery .news-item {
        display: block;
        width: 100%;
        border-bottom: 1px solid #ccc;
    }
    .news-gallery .news-item a {
        box-shadow: none;
    }
}

.pagination {
    text-align: center;
    margin: 20px 0;
}
.pagination .wrapper {
    font-size: 0;
    display: inline-block;
}
.pagination .wrapper a {
    display: inline-block;
    font-size: 16px;
    padding: 4px 10px;
    text-decoration: none;
}
.pagination .wrapper a.selected {
    background: #1f79f3;
    color: #fff;
}
@media all and (max-width: 600px) {
    .pagination .wrapper a.first, .pagination .wrapper a.last {
        display: block;
        margin: 10px 0;
    }
}

.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0.5em
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}

.resp-sharing-button__icon svg {
  width: 20px;
  height: 20px;
  margin-right: 0.4em;
  vertical-align: top
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none
}

.resp-sharing-button--twitter {
  background-color: #55acee
}

.resp-sharing-button--twitter:hover {
  background-color: #2795e9
}

.resp-sharing-button--pinterest {
  background-color: #bd081c
}

.resp-sharing-button--pinterest:hover {
  background-color: #8c0615
}

.resp-sharing-button--facebook {
  background-color: #3b5998
}

.resp-sharing-button--facebook:hover {
  background-color: #2d4373
}

.resp-sharing-button--tumblr {
  background-color: #35465C
}

.resp-sharing-button--tumblr:hover {
  background-color: #222d3c
}

.resp-sharing-button--reddit {
  background-color: #5f99cf
}

.resp-sharing-button--reddit:hover {
  background-color: #3a80c1
}

.resp-sharing-button--google {
  background-color: #dd4b39
}

.resp-sharing-button--google:hover {
  background-color: #c23321
}

.resp-sharing-button--linkedin {
  background-color: #0077b5
}

.resp-sharing-button--linkedin:hover {
  background-color: #046293
}

.resp-sharing-button--email {
  background-color: #777
}

.resp-sharing-button--email:hover {
  background-color: #5e5e5e
}

.resp-sharing-button--xing {
  background-color: #1a7576
}

.resp-sharing-button--xing:hover {
  background-color: #114c4c
}

.resp-sharing-button--whatsapp {
  background-color: #25D366
}

.resp-sharing-button--whatsapp:hover {
  background-color: #1da851
}

.resp-sharing-button--hackernews {
background-color: #FF6600
}
.resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus {   background-color: #FB6200 }

.resp-sharing-button--vk {
  background-color: #507299
}

.resp-sharing-button--vk:hover {
  background-color: #43648c
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

.resp-sharing-button--google {
  background-color: #dd4b39;
  border-color: #dd4b39;
}

.resp-sharing-button--google:hover,
.resp-sharing-button--google:active {
  background-color: #c23321;
  border-color: #c23321;
}

.resp-sharing-button--tumblr {
  background-color: #35465C;
  border-color: #35465C;
}

.resp-sharing-button--tumblr:hover,
.resp-sharing-button--tumblr:active {
  background-color: #222d3c;
  border-color: #222d3c;
}

.resp-sharing-button--email {
  background-color: #777777;
  border-color: #777777;
}

.resp-sharing-button--email:hover,
.resp-sharing-button--email:active {
  background-color: #5e5e5e;
  border-color: #5e5e5e;
}

.resp-sharing-button--pinterest {
  background-color: #bd081c;
  border-color: #bd081c;
}

.resp-sharing-button--pinterest:hover,
.resp-sharing-button--pinterest:active {
  background-color: #8c0615;
  border-color: #8c0615;
}
