@require './Layout.styl';

.Contacts {
  width: 50%;
}

.Subtitle {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 25px;
  margin-bottom: 20px;
}

.RadioInput {
  vertical-align: middle;
}

.RadioRow {
  margin-top: 5px;
}

.RadioTitle {
  font-size: 14px;
  vertical-align: middle;
  font-style: italic;
  letter-spacing: 3px;
  color: #545454;
  padding: 10px;
}

.Social {
  margin-top: 20px;

  &Item {
    display: inline-block;
    vertical-align: top;
    padding: 0 15px 0 0;

    & svg {
      width: 30px;
      height: 30px;
    }
  }
}

.Form {
  margin-top: 25px;
}

.Input {
  background: #eaeaea;
  border-color: #bdbdbd;
  height: 45px;
  font-size: 15px;
  width: 100%;
  font-family: Lora;
  font-style: italic;
}

.ArrowLeft {
  display: none
  position: relative;
  vertical-align: top;

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

.Row {
  text-align: left;
  margin: 15px 0;
}

.ArrowRight {
  display: none
  position: relative;
  vertical-align: top;

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

.Button {
  font-size: 16px;
  color: #bdbdbd;
  letter-spacing: 2px;
  border-bottom: 1px solid;
  cursor: pointer;
}

.Textarea {
  background: #eaeaea;
  border-color: #bdbdbd;
  height: 300px;
  font-size: 15px;
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  margin-top: 20px;
  font-family: Lora;
  font-style: italic;
  resize: none;
}

.SuccessSendWrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  &:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #444;
    opacity: 0.4;
  }
}

.SuccessSend {
  display: block;
  position: absolute;
  color: #555;
  z-index: 10;
  opacity: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-style: italic;
  padding: 30px 45px;
  box-sizing: content-box;
  background: #fff;
}

@media only screen  and (min-device-width : 320px)  and (max-device-width : 568px) and (orientation:portrait){
  .Contacts {
    width: 100%;
  }

  .Subtitle {
    font-size: 4.5vw;
    text-align: center;
    font-weight: 600;
    letter-spacing: 3px;
    margin-top: 4vh;
    margin-bottom: 1vh;
  }

  .RadioInput {
    width: 56px;
    height: 56px;
    vertical-align: middle;
  }

  .RadioRow {
    margin-top: 1.5vh;
  }

  .RadioTitle {
    font-size: 4.5vw;
    vertical-align: middle;
    font-style: italic;
    letter-spacing: 3px;
    color: #545454;
    padding: 4vw;
  }

  .Social {
    width: 61vw;
    padding: 1.5vh 0;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
    margin: auto;
    text-align: center;
    margin-top: 2vh;

    &Item {
      display: inline-block;
      vertical-align: top;
      padding: .5vh 6vw;

      & svg {
        width: 90px;
        height: 90px;
      }
    }
  }

  .Form {
    margin-top: 4.5vh;
  }

  .Input {
    background: #eaeaea;
    border-color: #bdbdbd;
    height: 6.5vh;
    font-size: 5vw;
    width: 100%;
    font-family: Lora;
    font-style: italic;
  }

  .ArrowLeft {
    position: relative;
    display: inline-block;
    vertical-align: top;

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

  .Row {
    text-align: center;
    margin: 36px 0;
  }

  .ArrowRight {
    position: relative;
    display: inline-block;
    vertical-align: top;

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

  .Button {
    font-size: 4.7vw;
    color: #bdbdbd;
    letter-spacing: 4px;
    border: none;
    cursor: default;
  }

  .Textarea {
    background: #eaeaea;
    border-color: #bdbdbd;
    height: 36.5vh;
    font-size: 5vw;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    margin-top: 2vh;
    font-family: Lora;
    font-style: italic;
  }


  .SuccessSendWrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    &:after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: #444;
      opacity: 0.4;
    }
  }

  .SuccessSend {
    display: block;
    position: absolute;
    color: #555;
    z-index: 10;
    opacity: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5vw;
    line-height: 6vw;
    font-style: italic;
    padding: 100px 125px;
    box-sizing: content-box;
    background: #fff;
  }
}
