/*
Theme Name: Lk
Author: Alexander Ilin
Version: 1.0
License: GNU General Public License v2 or later
*/
* {
  box-sizing: border-box;
}
html,
body {
  background-image: url('img/erw-bg-figure.svg'), url('img/erw-bg.svg');
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, cover;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  margin: 0px;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}
a {
  text-decoration: none;
}
.d-show {
  display: block;
}
.d-hide {
  display: none;
}

.container {
  max-width: 1140px;
  margin: 0px auto;
}

main {
  margin: 0px auto;
  width: 970px;
  min-height: 800px;
  display: flex;
}
main #side {
  width: 270px;
  padding-top: 85px;
  text-align: center;
  color: #fff;
  background: #3D4FF0;
  position: relative;
}
main #side .logo a {
	text-decoration: none; color: #fff;
}
main #side #burger, main #side #close, main #side #mob-login { 
	display: none; 
}
main #side .menu {
	margin-top: 110px;
}
main #side .button {
	margin: 0px auto 15px auto;
	font-size: 10px;
	padding: 6px 10px;
	width: 185px;
}
main #side .button:hover, main #side .button.active {
	background-color: #fff;
	color: #1526CE;
}
main #side .button.login {
    margin-top: 60px;
    font-size: 14px;
	background-color: #04AF22;
}
main #side .bottom {
	position: absolute;
	bottom: 70px;
	left: 0px;
	right: 0px;
}
main #side .button.mobile {
  display: none;
}
main #content {
  background: #fff;
  width: 700px;
  max-width: 100%;
  padding: 60px;
  border-radius: 0px 50px 50px 0px;
  color: #1526CE;
  position: relative;
}
main #content.no-logged {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#content .title {

}
#content .title h1 {
  font-weight: bold;
  font-size: 32px;
  text-transform: uppercase;
  margin: 0px;
  padding-bottom: 30px;
}
#content .title .btn {
  margin: 0px;
} 

#loginform {
  width: 370px;
}
#loginform label {
  margin-bottom: 5px;
  display: block;
}
#loginform label,
#loginform a {
  color: #002b69;
}
#loginform .login-remember {
  display: none;
}

.reg-form,
#reg-resp {
  margin: 0px auto;
  max-width: 600px !important;
}
.reg-form input[type="checkbox"] {
  width: 30px;
  height: 30px;
  border: 1px solid #d2d2d2;
  background: #fff;
  outline: none;
  display: inline-block;
  margin: 0px 15px 0px 0px;
}
.reg-form input[type="checkbox"] + p {
  display: inline-block;
  width: calc(100% - 50px);
  vertical-align: top;
}
.reg-form .inp.error {
  border-color: red;
}
#reg-resp p {
  text-align: left;
  font-size: 14px;
}
form.cform .frow.req > label.noreq:after {
  display: none;
}
#regform,
#regform #ebox {
  margin-top: -30px;
}
#regform.response .reg-intro {
  display: none;
}

.cabinet {
  display: flex;
}
.cabinet .info {
  min-width: calc(100% - 250px);
}
.cabinet .badge + .info {
	padding-left: 25px;
}
.badge {
  width: 232px;
  background: #d9d9d9;
  padding: 17px 6px 6px 6px;
  position: relative;
}
.badge.badge-company {
	background: #1526CE;
	padding-top: 6px;
}
.bagde-lenta {
  display: block;
  top: -63px;
  position: absolute;
  left: 0px;
}
.badge-top {
  display: flex; 
  justify-content: space-between;
  background: url('img/erw-plashka.jpg') center no-repeat; 
  background-size: cover;
  justify-content: space-between; 
  align-items: center;
  color: #fff;
  padding: 10px 5px;
  position: relative;
  z-index: 10;
}
.badge-top img {
	width: 88px;
}
.badge-top .location img {
	width: 60px;
}
.badge-top .r {
  text-align: right;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;	
}
.badge-top .r .date {
	margin-bottom: 5px; font-size: 11px; font-weight: 800; text-shadow: 0px 3px 5px #00000066; 
}
.badge-content {
  padding: 30px 20px 20px 20px;
  color: #1526CE;
  background: #fff;
  text-align: center;
  margin-top: -10px;
  border-radius: 0px 0px 10px 10px;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 5;
  text-transform: uppercase;
}
.cond {
  font-family: "Roboto Condensed", sans-serif;
}
.badge-role {
  font-size: 20px;
  margin-top: 20px;
}

input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
  width: 100%;
  border: 1px solid #002b69;
  border-radius: 70px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
}
input[type="submit"],
.button {
  width: 100%;
  background-color: #1526CE;
  border-radius: 70px;
  padding: 0.8rem 1rem;
  display: block;
  font-size: 1em;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  border: none;
  font-weight: bold;
  cursor: pointer;
}
input[type="submit"] {
	background-color: #04AF22;
}
input.error, select.error { 
  border-color: #e02020 !important; 
}
select, form select.control {
 -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: url('img/icon-arr-down.svg') 98% no-repeat;
  background-size: 16px;
}

.frow {
  margin-top: 15px;
}
.btn {
  background: #002b69;
  color: #fff;
  padding: 12px 24px;
  border: 1px solid #002b69;
  border-radius: 30px;
  display: inline-block;
  margin: 15px;
  font-weight: normal;
  text-decoration: none;
}
.btn:hover {
  color: #002b69;
  background: #fff;
}

.wp-block-columns {
  display: flex;
  justify-content: space-between;
}

.event-forum { margin-top: 35px; padding: 15px 20px; background: url('img/erw-plashka.jpg') center no-repeat; background-size: cover; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.event-forum .l img { width: 150px; }
.event-forum .r { text-align: right; font-size: 13px; text-transform: uppercase; font-weight: bold; }
.event-forum .date { font-size: 30px; font-weight: 800; text-shadow: 0px 3px 5px #00000066; margin-top: 10px; margin-bottom: 5px; }

.profile { width: 270px; font-size: 11px; }
.profile.top { margin-top: 35px; }
.profile .info { margin-bottom: 25px; }
.profile .info .label { padding-left: 10px; padding-bottom: 10px; }
.profile .info .value { padding: 6px 10px; background: #f5f5f5; min-height: 26px; border-radius: 20px; }
.profile .info input { border-color: #e5e5e5; background-color: #fafafa; padding: 6px 10px; font-size: 12px; outline: none; }
.profile .info input:focus { border-color: #ccc; }
#profile_edit { position: absolute; right: 30px; margin-top: -50px; font-size: 11px; color: #a7a7a7; display: inline-block; }
#profile_edit img { width: 24px; vertical-align: middle; }
.profile_edit { font-size: 11px; color: #a7a7a7; display: block; text-align: center; margin-top: 3px; }
.profile_edit img { width: 18px; vertical-align: middle; }

.button.inv, .button.mini { margin: 10px auto; font-size: 10px; padding: 6px 10px; width: 185px; }

.intro { font-size: 18px; font-weight: 700; margin-top: 100px; }
.intro a { color: inherit; }

@media (max-width: 970px) {
  body {
	  display: block;
	  padding-top: 50px;
	  background: #fff;
  }
  main {
    display: block;
    max-width: 600px;
    height: auto;
  }
  main #side {
    width: 100%;
	height: 50px;
	padding: 10px 15px;
	text-align: left;
	overflow: hidden;
	background: #1526CE;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000;
  }
  main #side .logo {
	 display: none;
	 width: 220px;
	 margin: 100px auto 75px auto;
  }
  main #side #burger, main #side #close, main #side #mob-login {
	display: inline-block;
    position: absolute;
    top: 10px;
    z-index: 100;
    left: 10px;
  }
  main #side #close {
	  left: auto;
	  right: 10px;
	  display: none;
  }
  main #side #mob-login {
	  left: auto;
	  right: 10px;
  }
  main #side .menu {
	margin-top: 15px;
	display: none;
  }
  main #side.open-menu {
	  height: 100%;
  }
  main #side.open-menu .logo, main #side.open-menu .menu {
	  display: block;
  }
  main #side.open-menu #close {
	  display: inline-block;
  }
  main #side .menu .button.mobile {
	  display: block;
	  margin-top: 50px;
  }
  main #side .button {
	  width: 235px;
	  background: #fff;
	  color: #1526CE;
	  font-size: 14px;
  }
  main #side .bottom {
	  display: none;
  }
  main #content {
    border-radius: 0px;
  }
  #regform {
    margin-top: 0px;
  }
}
@media (max-width: 768px) {
  main {
	  padding: 0px;
  }
  main, main #side, main #content {
	  width: 100%;
  }
  main #content {
    padding: 10px 15px;
  }
  #content .title h1 {
	  font-size: 26px;
	  margin-top: 30px;
	  margin-bottom: 20px;
	  padding-bottom: 0px;
	  text-align: center;
  }
  #loginform {
    width: 100%;
  }
  #regform .title {
	  margin-bottom: 5px;
  }
  #regform .frow {
	  margin-top: 4px;
  }
  #regform p {
	  margin: 5px 0px;
  }
  #profile_edit {
    position: static;
    text-align: center;
    display: block;
	margin-top: -20px;
  }
  .profile {
	  margin-left: auto;
	  margin-right: auto;
  }
  .event-forum { 
	margin-left: -15px; 
	margin-right: -15px;
	margin-top: 0px;
  }

}
@media (max-width: 430px) {
	.event-forum { padding: 14px; }
	.event-forum .l img, .event-forum .date img { width: 105px; }
	.event-forum .location img { width: 70px; }
	.event-forum .r { margin-top: 15px; }
	.intro { font-size: 13px; }
}