.popup-am * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.popup-am {
  position: absolute;
  top: 10px;
  left: 50%;
  margin-left: -250px;
  width: 500px;
  z-index: 101;
  background: #fff;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: none; }

.popup-am__head {
  position: relative;
  padding: 20px 20px 20px 25px;
  height: 60px;
  -webkit-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
  background: #fff url(/stc/modules/place/widgets/Header/AddMaterial/auth-form-head_bg.png) no-repeat center center; }

.popup-am__ttl {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 500;
  line-height: 20px;
  font-size: 18px;
  color: #000; }

.popup-am__close {
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -10px;
  width: 20px;
  height: 20px;
  background: url(/stc/modules/place/widgets/Header/AddMaterial/icon-close-14x15.png) no-repeat center center;
  border: none;
  outline: none; }

.popup-am__list {
  padding: 10px 0; }

.popup-am__item {
  position: relative;
  display: block;
  line-height: 40px;
  height: 40px;
  border-top: 1px solid #eee;
  font-size: 14px;
  padding: 0 60px;
  text-decoration: none;
  -webkit-transition: background .1s ease;
  -o-transition: background .1s ease;
  transition: background .1s ease; }
.popup-am__item:hover {
  background: #E6F1F5;
  border-color: #E6F1F5; }
.popup-am__item:hover + .popup-am__item {
  border-color: #E6F1F5; }
.popup-am__item:first-child {
  border-top: none; }
.popup-am__item i {
  position: absolute;
  top: 0px;
  left: 25px;
  font-size: 16px; }
.popup-am__item strong {
  font-size: 16px;
  font-weight: 700; }

@media (max-width: 800px) {
  .popup-am {
    z-index: 103; } }

@media (max-width: 600px) {
  .popup-am {
    display: block;
    width: 100%;
    left: 0;
    margin-left: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; }
  .popup-am__head {
    height: auto;
    padding-right: 50px; }
  .popup-am__item {
    padding-top: 10px;
    padding-bottom: 10px;
    height: auto;
    line-height: 20px; }
  .popup-am__item i {
    top: 50%;
    -webkit-transform: translateY(-55%);
    -ms-transform: translateY(-55%);
    transform: translateY(-55%); } }
