﻿.cp_cont {
  /*height: 65vh;*/
  z-index: 999;
}
.cp_offcm {
  /*position: absolute;*/
  /*top: 20px;*/
  /*left: 20px;*/
  display: block;
}

/* menu */
.cp_offcm .cp_menu {
  position: fixed;
  top: 0;
  left: -100vw;
  width: 100%;
  max-width: 300px;
  height: 100%;
  -webkit-transition: 0.3s transform;
  transition: 0.3s transform;
  -webkit-transition-timing-function: cubic-bezier(0.38, 0.52, 0.23, 0.99);
  transition-timing-function: cubic-bezier(0.38, 0.52, 0.23, 0.99);
  background-color: #fff;
  opacity: 1;
  z-index: 10;
  isolation: isolate;
}
.cp_offcm .cp_menu ul {
  margin: 0;
  padding: 0;
}
.cp_offcm .cp_menu li {
  list-style: none;
  transition: 0s;
}
.cp_offcm .cp_menu li a {
  display: block;
  margin: 0 auto;
  padding: 4% 0;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
  color: #333;
  font-size: 0.9em;
  border-bottom: 1px solid #000;
  transition: 0s;
}
.cp_offcm .cp_menu li:hover {
  background-color: #6acaa7;
}
.cp_offcm .cp_menu li a:hover {
  color: #fff;
}

label.cp_toggle {
  max-width: 600%;
}
label.cp_toggle span {
  display: block;
  background: #6acaa7;
  text-align: center;
  width: 1000px;
  max-width: 85%;
  margin: 0 auto 1%;
  border-radius: 5px;
  font-size: 100%;
  line-height: 2.5;
  color: #fff;
}

.cp_offcm #cp_toggle {
  position: absolute;
  display: none;
  opacity: 0;
}
.cp_offcm #cp_toggle:checked ~ .cp_menu {
  -webkit-transform: translateX(100vw);
  transform: translateX(100vw);
}
/* menu toggle */
.cp_offcm #cp_toggle ~ label {
  display: block;
  /*position: fixed;*/
  margin-right: 1em;
  padding: 0;
  cursor: pointer;
  -webkit-transition: 0.3s transform;
  transition: 0.3s transform;
  -webkit-transition-timing-function: cubic-bezier(0.61, -0.38, 0.37, 1.27);
  transition-timing-function: cubic-bezier(0.61, -0.38, 0.37, 1.27);
  text-align: center;
  color: #333333;
}
/* .cp_offcm #cp_toggle:checked ~ label {
  -webkit-transform: translateX(250px);
  transform: translateX(250px);
  position: fixed;
  top: 0;
} */
.cp_offcm #cp_toggle ~ label::before {
  font-family: "FontAwesome";
  content: "\f0c9";
  font-size: 1.5em;
}
/* .cp_offcm #cp_toggle:checked ~ label::before {
  content: "\f00d";
} */

h4 {
  display: block;
  width: 100%;
  font-family: "inter", sans-serif;
  font-weight: 700;
  margin: 0 auto;
  padding: 28px 1rem 8px;
  background-color: #153e44;
  color: #fff;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  label.cp_toggle span {
    font-size: 85%;
  }
  .cp_offcm #cp_toggle ~ label {
    margin: 0 0.6em 0 0.5em;
  }
}
