html, body {
  margin: 0;
  padding: 0;
  border: 0;
  height: 100%;
  font-family: monospace;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
@media (min-width: 750px) {
  .row {
    display: flex;
  }
  .row > div {
    flex: 1 1 1px;
  }
  .row > .col_2 { flex: 0 0 50%; }
  .row > .col_3 { flex: 0 0 33%; }
  .row > .col_4 { flex: 0 0 25%; }
  .row > .col_6 { flex: 0 0 16%; }
}

a {
  color: #00f;
}

.hidden {
  display: none !important;
}
.time {
  color: gray;
  font-size: 12px;
}

.txt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.txt .left {
}
.txt .center {
  text-align: center;
}
.txt .right {
  text-align: right;
}

.main_container {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.main_block {
  padding-top: 10px;
}
.footer {
}
.img_back {
  z-index: -1;
  height: 100%;
  width: 100%;
  position: fixed;
}
.img_back img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.top-menu {
}
.top-menu ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  /*justify-content: space-between;*/
}
.top-menu ul li {
  flex: 1 1 1px;
  cursor: pointer;
  text-align: center;
  padding: 0 10px;
}
.top-menu ul li.active a {
  font-weight: bold;
  text-decoration: none;
  color: black;
}

.win {
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 10px;
  border: 1px rgba(0,0,255,0.5) solid;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
.win.win_err {
  border: 1px rgba(255,0,0,0.5) solid;
}
.win.win_msgs {
  border: 1px rgba(0,128,0,0.5) solid;
}
.win_head {
  background-color: rgba(0,0,255,0.5);
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 5px 15px;
  border-top-left-radius: 15px;
}
.win_err .win_head {
  background-color: rgba(255,0,0,0.8);
}
.win_msgs .win_head {
  background-color: rgba(0,128,0,0.8);
}
.win_body {
  padding: 5px 15px;
}
.win_err ul, .win_msgs ul {
  margin: 0;
}

.toleft {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}
.toright {
  float: right;
  margin-left: 10px;
  margin-bottom: 10px;
}
.clr {
  clear: both;
}


@media (min-width: 750px) {
  .form_row {
    display: flex;
  }
  .form_var {
    flex: 1 1 33%;
    text-align: right;
  }
  .form__anketa .form_var {
    flex: 1 1 50%;
  }
}
.form_var {
  padding: 5px;
}
.form__anketa .form_var {
  font-weight: bold;
}
.form_value {
  flex: 1 1 67%;
  padding: 5px;
}
.form__anketa .form_value {
  font-style: italic;
  flex: 1 1 50%;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px rgba(0,0,255,0.5) solid;
  padding: 5px;
  color: blue;
  font-style: italic;
  outline: none;
}
.form textarea {
  height: 150px;
}
.form button {
  padding: 3px 20px;
  border: 1px rgba(0,0,255,0.5) solid;
  background-color: rgba(0,0,255,0.2);
  cursor: pointer;
}
.form button:active {
  box-shadow: 0 0 20px rgba(0,0,255,0.5) inset;
}

.tab {
  margin-bottom: 10px;
}
.tab_head {
  display: flex;
  flex-wrap: wrap;
}
.tab_head > div {
  cursor: pointer;
  margin-right: 5px;
  padding: 5px;
  border-top: 1px rgba(0,0,255,0.5) solid;
  border-left: 1px rgba(0,0,255,0.5) solid;
  border-right: 1px rgba(0,0,255,0.5) solid;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
.tab_head > div.tab_active {
  /*font-weight: bold;*/
}
.tab_head > div:not(.tab_active) {
  color: blue;
  text-decoration: underline;
  box-shadow: 0 -5px 5px -5px rgba(0,0,255,0.5) inset;
}
.tab_body > div {
  border: 1px rgba(0,0,255,0.5) solid;
  padding: 5px 5px;
}
.tab_body > div:not(.tab_active) {
  display: none;
}


.portfolio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.portfolio_card {
  flex: 0 0 300px;
  margin-bottom: 30px;
}
.portfolio_title {
  height: 50px;
  border-bottom: 2px blue dotted;
  text-align: center;
  font-weight: bold;
}
.portfolio_link {
  margin-top: 10px;
}
.portfolio_cms {
  margin-top: 10px;
  font-style: italic;
}
.portfolio_img {
  margin-top: 10px;
}
.portfolio_img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.portfolio_text {
  margin-top: 10px;
}
