.Sidebar {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100vh;
  z-index: 100;
  transition: left .6s cubic-bezier(0, .4, 0.25, 1), margin-left .3s, opacity .4s;
  font-family: "Lora";
  padding: 16px 42px;
  box-sizing: border-box;
  opacity: .9;

  &Content {
    position: relative;
    z-index: 1;
  }

  &MainPage {
    transition: opacity .5s;

    & .Close {
      display: none;
    }
  }

  &Invisible {
    opacity: 0
  }

  &Hide {
    left: -50%;
    margin-left: 28px;

    & .SidebarBg {
      &Blur {
        overflow: hidden;
      }
    }
  }

  &Bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0000FF;

    &Blur {
      overflow: hidden;
    }
  }
}

.Close {
  position: absolute;
  top: 8px;
  right: -35px;
  cursor: pointer;
  width: 23px;
  height: 200%;

  &Menu {
    display: none;
  }

  &Arrow {
    position: absolute;
    background: #fff;
    top: 4px;
    right: 2px;

    &:after {
      right: 100%;
      top: 50%;
      border: solid transparent;
      content: " ";
      height: 0;
      width: 0;
      position: absolute;
      pointer-events: none;
      border-color: rgba(255, 255, 255, 0);
      border-right-color: #ffffff;
      border-width: 6px;
      margin-top: -6px;
      transition: transform .5s;
    }

    &Left {
      &:after {
        transform: rotate(180deg);
        right: -5px;
      }
    }
  }
}



.arrow_box:after {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0);
  border-left-color: #ffffff;
  border-width: 6px;
  margin-top: -6px;
}

.Nav {
  margin-top: 64px;

  &Item {
    min-height: 130px;
    width: 33%;
    display: inline-block;
    vertical-align: top;
    min-width: 150px;

    &Desc {
      color: #aaa;
      font-size: 14px;
      width: 75%;
      padding: 4px 0;
      font-style: italic;
      line-height: 21px;
      letter-spacing: 1px;
    }
  }

  &Col {
    opacity: 1;
    transition: opacity .7s;
    width: 33%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 64px 0 0 4px;
  }
}

.SvgImage {
  width: 100%;
  height: 100%;
}

.Svg {
  width: 100%;
  height: 100%;
  position: absolute;
  left:0;
  top: 0;
}

.MainLink {
  font-size: 20px;
  letter-spacing: 10px;
  color: #ccc;
  border-bottom: 1px solid #ccc;
  padding: 4px 0px 10px;
  display: inline-block;
  width: 272px;
  white-space: nowrap;
}

.Language {
  position: absolute;
  top: 0px;
  left: 50%;
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  border: 1px solid #999;
  text-align: center;
  line-height: 35px;
  color: #999;
  border-radius: 50%;
  margin: 0 0 0 15%;
  opacity: 1;
  transition: opacity .7s;
  cursor: pointer;
}

.SocialItem {
  padding: 0 23px 0 0;
}

.SidebarSocial {
  position: absolute;
  z-index: 1;
  bottom: 36px;
  opacity: 1;
}

@media only screen  and (min-device-width : 320px)  and (max-device-width : 568px) and (orientation:portrait) {
  .Menu {

  }

  .SidebarSocial {
    position: absolute;
    z-index: 1;
    bottom: 36px;
    transform: scale(2);
    left: 50%;
  }

  .Sidebar {
    position: fixed;
    overflow: hidden;
    width: 100%;
    transition: height .5s;

    &Hide {
      left: 0;
      //top: -100%;
      height: 6vh;
      margin: 0;

      .Language {
        opacity: 0;
      }

      .SidebarSocial {
        opacity: 0;
        display: none;
      }

      .NavCol {
        opacity: 0;
      }

    }

    &MainPage {
      & .CloseMenu {
        display: none;
      }

      & .MainLink {
        display: block;
        width: 61.8vw;
        margin: auto;
        padding: 5px 0 24px;
        text-align: center;
        font-size: 5vw;
        letter-spacing: 20px;
        color: #fff;
        border-bottom: 2px solid #fff;
      }
    }
  }

  .Close {
    width: 100px;
    height: 100px;
    top: -16px;
    right: auto;
    left: -25px;

    &Menu {
      display: block;
    }

    &Arrow {
      display: none;
    }
  }



  .MainLink {
    display: block;
    border-bottom: none;
    text-align: center;
    font-size: 5vw;
    letter-spacing: 20px;
    padding: 5px 0 24px;
    border-color: transparent;

    border-bottom: 2px solid #fff;
    width: 61.8vw;
    margin: auto;
  }

  .Language {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    box-sizing: border-box;
    width: 125px;
    height: 125px;
    border: 3px solid #BDBDBD;
    text-align: center;
    line-height: 125px;
    border-radius: 50%;
    margin: 40px auto;
    cursor: pointer;
    font-size: 5vw;
    color: #BDBDBD;
  }

  .Nav {
    &Item {
      text-align: center;
      min-height: 310px;
      width: 50%;
      color: #C8C8C8;
      min-width: auto;
      &Press {
        display: none;
      }

      &Desc {
        color: #fff;
        font-size: 5vw;
        width: 100%;
        padding: 4px 0;
        font-style: italic;
        line-height: 6vw;
        text-align: center;
      }
    }
  }

  .Link {
    color: #C8C8C8!important;
    font-size: 5vw;
  }
}

//@media only screen  and (min-device-width : 320px)  and (max-device-width : 568px) and (orientation:portrait)and  {
//  .Sidebar {
//    &Hide {
//      left: 0;
//      height: 15vh;
//      margin: 0;
//
//      .Language {
//        opacity: 0;
//      }
//
//      .NavCol {
//        opacity: 0;
//      }
//
//    }
//  }
//}
