@import 'normalize.css';
@font-face {
  font-family: Roboto;
  src: url("./fonts/Light/Roboto-Light.woff2") format("woff2"), url("./fonts/Light/Roboto-Light.woff") format("woff"), url("./fonts/Light/Roboto-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: Roboto;
  src: url("./fonts/Regular/Roboto-Regular.woff2") format("woff2"), url("./fonts/Regular/Roboto-Regular.woff") format("woff"), url("./fonts/Regular/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Roboto;
  src: url("./fonts/Italic/Roboto-Italic.woff2") format("woff2"), url("./fonts/Italic/Roboto-Italic.woff") format("woff"), url("./fonts/Italic/Roboto-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: Roboto;
  src: url("./fonts/Medium/Roboto-Medium.woff2") format("woff2"), url("./fonts/Medium/Roboto-Medium.woff") format("woff"), url("./fonts/Medium/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: Roboto;
  src: url("./fonts/Bold/Roboto-Bold.woff2") format("woff2"), url("./fonts/Bold/Roboto-Bold.woff") format("woff"), url("./fonts/Bold/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: Roboto;
  src: url("./fonts/BoldItalic/Roboto-BoldItalic.woff2") format("woff2"), url("./fonts/BoldItalic/Roboto-BoldItalic.woff") format("woff"), url("./fonts/BoldItalic/Roboto-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}
.b-body {
  font-family: Roboto;
  font-weight: normal;
  background-color: #fafafa;
}
.b-header {
  zoom: 1;
  padding: 9px 20px 9px 0;
  height: 70px;
}
.b-header:before,
.b-header:after {
  content: "";
  display: table;
}
.b-header:after {
  clear: both;
}
.b-header__background_parallax {
  background-image: url("img/headerBackground.jpg");
  height: 88px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.master.main .b-header__background_parallax {
  height: 640px;
}

.b-header {
  display: flex;
  align-items: center;
}

.b-header__logo {
  width: 180px;
  height: 52px;
  margin-left: 40px;
  background: url("img/LogoMegaplanDev.svg") no-repeat center;
}
.b-top-nav {
  overflow: hidden;
}
.b-top-nav__item {
  color: #bababa;
  display: block;
  margin-right: 40px;

  text-align: left;
  font-family: Roboto;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;

  padding-bottom: 6px;
  border-bottom: 4px solid transparent;
  font-size: 14px;
  text-decoration: none;
  text-decoration: -moz-none;
  margin-left: 40px;
}

.b-top-nav__item:last-child {
  margin-right: 0;
}

.b-top-nav__item.active{
  border-bottom-color: #21935A;
}
.b-top-nav__item:hover {
  /*border-bottom-color: #2cc17a;*/
  color: #ffffff;
}
.l-container {
  zoom: 1;
}
.l-container:before,
.l-container:after {
  content: "";
  display: table;
}
.l-container:after {
  clear: both;
}
.b-aside {
  float: left;
  background-color: #fafafa;
  width: 315px;
}
.l-content {
  overflow: hidden;
}
.top-button {
  font-weight: 500;
  color: #fff;
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-color: #08bf32;
  text-transform: uppercase;
  padding: 0 20px;
  line-height: 38px;
  height: 38px;
  font-size: 12px;
  text-decoration: none;
  float: right;
  margin: 9px 0 0 20px;
}
.b-search {
  position: relative;
  width: 300px;
  flex-grow: 10;
}
.b-search__input {
  border: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 5px 0 5px 50px;
  background-color: rgba(214,224,233,0.2);
  line-height: 38px;
  height: 38px;
  -webkit-border-radius: 100px;
  border-radius: 100px;
  color: #fff;
  -webkit-transition: width 0.4s ease-in-out;
  transition: width 0.4s ease-in-out;
}
.b-search__input:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.b-search__button {
  position: absolute;
  display: block;
  background: transparent;
  height: 38px;
  width: 50px;
  background: url("img/icon_find.svg") no-repeat center;
  top: 0;
  border: 0;
  text-indent: -999px;
  overflow: hidden;
}
.b-search__button:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
/*****nav*******/
.b-nav {
  margin-top: 15px;
}
.b-nav h4 {
  padding: 10px 20px;
}
.b-nav ul {
  margin: 0;
  padding: 0;
}
.b-nav li {
  list-style: none;
}
.b-nav a {
  display: block;
}
.b-nav a:hover {
  background-color: rgba(0,0,0,0.05);
}
.b-nav a.current {
  background-color: rgba(0,0,0,0.1);
}
.b-nav ul.current {
  margin-bottom: 20px
}
.b-nav .toctree-l3.current,
.b-nav .toctree-l2.current,
.b-nav .toctree-l1.current {
  margin-bottom: 10px;
}
.b-nav .toctree-l2,
.b-nav .toctree-l3 {
  margin-left: 15px;
}
.b-nav > ul > li > a {
  font-size: 24px;
  line-height: 0.83;
  color: #788d98;
  text-decoration: none;
  padding: 10px 20px;
}
.b-nav > ul > li > ul > li > a {
  text-decoration: none;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.25;
  color: rgba(0,0,0,0.9);
}
.b-nav > ul > li > ul > li > ul > li > a,
.b-nav > ul > li > ul > li > ul > li > ul > li > a {
  text-decoration: none;
  text-decoration: -moz-none;
  padding: 10px 20px 10px 20px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.43;
  color: rgba(0,0,0,0.9);
}
.b-nav > ul > li > ul > li > ul > li > ul > li > a {
  padding-left: 48px;
}
.b-links > a {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}
.versions {
  padding-top: 30px;
}
.versions h2 {
  font-size: 16px;
  font-weight: normal;
  line-height: 0.83;
  text-decoration: none;
  text-decoration: -moz-none;
  color: rgba(0,0,0,0.9);
  padding: 10px 0 0 20px;
  text-transform: uppercase;
}
.versions ul {
  margin: 0;
  padding: 0;
}
.versions ul li > a {
  text-decoration: none;
  text-decoration: -moz-none;
  padding: 5px 40px;
  font-size: 14px;
  line-height: 1.25;
  color: rgba(0,0,0,0.9);
  display: block;
}
.versions ul li > a:hover {
  background-color: rgba(0,0,0,0.05);
}
.versions ul li > a.current {
  background-color: rgba(0,0,0,0.1);
}
.b-version {
  font-size: 14px;
  line-height: 1.43;
  color: #262626;
  margin-bottom: 24px;
}
.b-article {
  padding: 32px 100px 32px 24px;
  font-size: 14px;
  line-height: 1.4em;
}
.b-article h1 {
  font-size: 32px;
  font-weight: 300;
  margin: 60px 0 18px 0;
}
.b-article h1:first-child {
  margin-top: 0;
}
.b-article .toctree-l1 {
  margin: 12px 0 0 0;
}
.b-article .toctree-l1 > a {
  font-size: 18px;
  font-weight: 300;
}
.b-article h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 60px 0 18px 0;
}
.b-article .toctree-l2 {
  margin: 0 0 0 0;
}
.b-article .toctree-l2 > a {
  font-size: 14px;
  font-weight: 300;
}
.b-article h3 {
  font-size: 18px;
  font-weight: 300;
  margin: 30px 0 12px 0;
}
.b-article .toctree-l3 {
  margin: 0 0 0 0;
}
.b-article .toctree-l3 > a {
  font-size: 14px;
  font-weight: bold;
}
.b-article h4 {
  font-size: 14px;
  line-height: 1.4em;
  font-weight: bold;
}
.b-article h5 {
  font-size: 14px;
  line-height: 1.4em;
  font-weight: normal;
}
.b-article a {
  color: #2d81f7;
}
.b-article a.headerlink {
  color: #eee;
  margin-left: 5px;
}
.b-article a.headerlink:hover {
  color: #2d81f7;
}
.b-article table {
  border-spacing: 0;
  border: 0;
  border-collapse: collapse;
}
.b-article table td,
.b-article table th {
  padding: 0.5em;
}
.b-article table th {
  text-align: left;
  border: 0;
  border-bottom: 2px solid #ddd;
}
.b-article table td {
  border: 0;
  border-top: 1px solid #ddd;
}
code,
kbd,
pre,
samp {
  font-family: "Lucida Console", Monaco, monospace;
}
code.literal,
kbd.literal,
pre.literal,
samp.literal {
  background-color: #d6edff;
}
.highlight pre {
  margin: 0;
  padding: 1em;
}
/**совпадения в поиске**/
p.highlight-link {
  display: none;
}
span.highlighted {
  background-color: #f5fbc9;
}
/**совпадения в поиске**/
/** примечение **/
.note {
  background-color: #e47370;
  color: #fff;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #e47370;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.note .first {
  display: none;
}
/** примечение **/
.toctree-wrapper ul,
#contents ul {
  padding: 0;
}
.toctree-wrapper ul > li,
#contents ul > li {
  list-style: none;
  line-height: 1.7em;
}
.toctree-wrapper ul > li > a,
#contents ul > li > a {
  text-decoration: none;
  text-decoration: -moz-none;
}
.toctree-wrapper ul > li > a:hover,
#contents ul > li > a:hover {
  text-decoration: underline;
}
.toctree-wrapper .toctree-l1,
.toctree-wrapper .toctree-l2,
.toctree-wrapper .toctree-l3 {
  margin-left: 10px;
}
#contents > ul > li {
  margin: 12px 0 0 0;
}
#contents > ul > li > a {
  font-size: 18px;
  font-weight: 300;
}
#contents > ul > li > ul > li {
  margin: 0 0 0 0;
}
#contents > ul > li > ul > li > a {
  font-size: 14px;
  font-weight: 300;
}
.b-header-title {
  text-align: left;
  font-family: Roboto;
  font-size: 48px;
  color: #ffffff;
}

.center-block {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.b-header-info-block {
  margin: 53px;
  max-width: 760px;
}
.b-header-content {
  font-family: Roboto;
  font-size: 18px;
  line-height: 1.33;
  color: #bbbbbb;
}
.big-green-button {
  background: #2cc17a;
  border: none;
  border-radius: 2px;
  width: 285px;
  height: 56px;
}
.big-green-button.button-to-account-form {
  height: unset;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
}
.big-green-button:hover {
  background-color: #35A76E;
  cursor: pointer;
}
.big-green-button:active {
  background-color: #21935A;
}
.big-green-button__text{
  width: 166px;
  height: 22px;
  font-family: Roboto, serif;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.38;
  letter-spacing: normal;
  vertical-align: middle;
  color: #ffffff;
}
.b-header-bottom-set {
  display: table;
  margin-top: 44px;
}
.bgg__icon {
  content: url("img/ic_Button.svg");
  vertical-align: middle;
  fill: #ffffff;
  margin-right: 11px;
}
.mega-dev-telegram {
  margin-left: 46px;
  height: 48px;
  text-decoration: none;
  text-decoration: -moz-none;
}
.mega-dev-telegram__icon {
  content: url("img/t_logo.png");
  width: 48px;
  height: 48px;
  vertical-align: middle;
  margin-left: 26px;
}
.mega-dev-telegram__text {
  margin-left: 10px;
  width: 233px;
  height: 28px;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.75;
  letter-spacing: normal;
  color: #ffffff;
  text-decoration: none;
  text-decoration: -moz-none;
}
.mega-dev-telegram__text:hover,
.mega-dev-telegram__icon:hover {
  color: #bababa;
}
.b-footer {
  min-height: 850px;
  width: auto;
  background: #FFFFFF;
  padding-top: 60px;
}
.default-footer {
  width: 100%;
  height: 50px;
  display: flex;
  background: url(img/headerBackground.jpg);
  background-size: cover;
  align-items: center;
  vertical-align: middle;
  text-align: center;
}
.footer-title {
  height: 60px;
  font-family: Roboto;
  font-size: 44px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.36;
  letter-spacing: normal;
  color: #191919;
}
.footer-text {
  height: 28px;
  font-family: Roboto;
  font-size: 18px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.56;
  letter-spacing: normal;
  color: #191919;
  padding-top: 28px;
}

.input-new-account::-webkit-input-placeholder,
.input-new-account::-moz-placeholder{
  width: 88px;
  height: 20px;
  font-family: Roboto;
  font-size: 20px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.11;
  letter-spacing: normal;
  color: rgba(0, 0, 0, 0.3);
}
.input-new-account:focus {
  outline: none;
}
.new-account-form{
  margin: 40px 100px 50px 0;
  float: left;
}
.new-account-form input {
  background-color: #fafafa;
  width: 440px;
  height: 40px;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.new-account-form input.form-phone {
  width: 170px;
}
.new-account-form input.form-code {
  width: 90px;
  margin-left: 25px;
}
.new-account-form li {
  margin-bottom: 23px;
}
.new-account-form ul {
  list-style: none outside;
  padding-left: 0;
}
.new-account-form li.mp-adress {
  margin-bottom: 43px;
}
.new-account-form li.phone-and-code {
  margin-bottom: 40px;
}

.mp-copyright-block span {
  color: #393b40;
}
.copyrigt-text {
  font-family: Roboto;
  font-size: 16px;
  line-height: 1.4;
  width: 100%;
  text-align: center;
  position: absolute;
}
.partner-block {
  margin-top: 40px;
}

.partner-block td {
  width: 160px;
  height: 80px;
  background-color: #fafafa;
  vertical-align: middle;
}
.partners-img {
  padding: 7px 14px 7px 14px;
}

.landing-content-img-block {
  background: url("img/dev-megaplan-controller.png") top right no-repeat;
}

.l-content_main {
  padding-top: 80px;
}

.landing-content-title {
  font-family: Roboto;
  font-size: 48px;
  font-weight: 300;
  color: #191919;
  display: block;
  margin-bottom: 50px;

}

.content-sub-title {
  height: 32px;
  font-size: 24px;
  font-weight: 500;
}
.content-plain-text {
  height: 56px;
  font-family: Roboto;
  font-size: 18px;
  line-height: 1.4em;
  color: #191919;
}
.landing-content-idea {
  float: left;
  margin: 0 0 80px 0;
}
.partners-bung {
  width: 160px;
  height: 80px;
}
.landing-content-link {
  text-decoration: none;
  color: #2d81f7;
}
footer .landing-content-link {
  text-decoration: none;
  color: #2d81f7;
}
.landing-content-link:hover {
  color: #214db6;
}
.landing-content-block {
  margin-bottom: 80px;
}
.resend-sms-code-text {
  width: 163px;
  height: 16px;
  font-family: Roboto;
}
.code-field {
  margin-bottom: 10px;
}
.landing-table-ideas {
  border-spacing: 12px;
  margin: 20px 0 16px -12px;
}
.landing-table-ideas .idea-item {
  width: 265px;
  height: 148px;
  border-radius: 2px;
  background-color: #ffffff;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.18);
  -webkit-transition: all 400ms ease;;
  -moz-transition: all 400ms ease;;
  -o-transition: all 400ms ease;;
  transition: all 400ms ease;
  padding-bottom: 15px;
}
.landing-table-ideas .idea-header {
  display: flex;
  vertical-align: middle;
  width: 100%;
}
.landing-table-ideas span.idea-name {
  font-family: Roboto;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.9);
  clear: both;
  margin: 10px 0 0 16px;
  vertical-align: middle;
  width: 229px;
}
.show-more-ideas {
  width: 137px;
  height: 14px;
  font-family: Roboto;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 0.6px;
  color: #3e425e;
  text-decoration: none;
  text-decoration: -moz-none;
}
.show-more-ideas:hover {
  color: #6e85a3;
}
div.b-header-info-block.master {
  display: block;
}
.default-footer-button {
  display: flex;
  margin-left: 10px;
  vertical-align: middle;
  margin-right: 20px;
  z-index: 10;
}
body.main.master .default-footer-button {
  display: none;
}
.default-footer-button a {
  float: right;
  margin-left: 10px;
}
.default-footer-cr,
.default-footer-cr a {
  clear: both;
  color: #FFFFFF;
  width: 100%;
  vertical-align: middle;
  text-align: center;
}
.default-footer-button .big-green-button {
  width: 245px;
}

.b-footer-center {
  overflow: hidden;
}
.hidden {
  display: none;
}
.js-error-block {
  position: absolute;
  color: #ff0000;
  font-size: 12px;
}
.loader_img {
  content: url("img/ajax-loader.gif");
  width: 30px;
  height: 30px;
  vertical-align: middle;
}
#form-mega-error {
  width: 440px;
  text-align: center;
  border-radius: 7px;
  font-size: 20px;
}
#form-mega-error.error {
  color:  #ff0000;
  border: 1px solid #ff0000;
  background: rgba(154, 39, 39, 0.10);
}
#form-mega-error.success {
  color: #2cc17a;
  border: 1px solid #2cc17a;
  background: rgba(44, 193, 122, 0.10);
}
#form-mega-error.process {
  color: #36b2c1;
  border: 1px solid #36B2C1;
  background: rgba(54, 178, 193, 0.10);
}
.active-idea.clone {
  position: absolute;
  z-index: 100;
}
.idea-description {
  margin: 45px 10px 0px 16px;
}

.idea-item {
  cursor: pointer;
  padding: 0.5em;
  position: relative;
}
.idea-item .active-idea {
  width: 545px;
}

.idea-button {
  position: absolute;
  width: 200px;
  margin-top: 15px;
  right: 15px;
  padding:10px;
}

.idea-item .idea-footer-text {
  height: 16px;
  font-family: Roboto;
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.33;
  letter-spacing: normal;
  color: #788d98;
  margin-left:15px;
  margin-top: 15px;
  display: inline-block;
  width: 100%;
  vertical-align: middle;
  position: absolute;
  bottom: 15px;
}
.idea-item.active-idea .idea-footer-text {
  margin-bottom: 0;
  position: relative;
  bottom: 0;
}

.idea-item .idea-footer-text:before {
  content: " ";
  background-image: url("img/ideas/ic_like.svg");
  width: 18px;
  height: 18px;
  display:inline-block;
  vertical-align: middle;
  margin-right:4px

}

.idea-footer-text.idea-type {
  display: none;
}