/*
Theme Name: Jehle Mediation
Theme URI: http://variante-b.de
Author: David Bernhard
Author URI: http://variante-b.de
Description: Jehle Mediation Wordpress Theme
Version: 1.0
*/
/*
Jehle IMMO
@baseFontColor: #444;

@baseLink: #6eaa46;
@baseLinkHover: #4e7a31;

@brandColor: #003047;
@brandColorHover: #000000;

@brandColorContrast: #ff5550;

@headerHeightMobile: 70px;
@headerHeight: 90px;
@headerHeightScrolled: 78px;

@openNavColor: #333333;
@standardAnimationTime: 0.4s;

*/
/**
    General
**/

/* montserrat-200 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  src: local(''),
       url('fonts/montserrat-v25-latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/montserrat-v25-latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-300 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('fonts/montserrat-v25-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/montserrat-v25-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/montserrat-v25-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-500 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('fonts/montserrat-v25-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/montserrat-v25-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-600 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: local(''),
       url('fonts/montserrat-v25-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/montserrat-v25-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


html {
  overflow-x: hidden;
  font-size: 62.5%;
}
html {
  font-size: 62.5%;
}
body {
  font-size: 1.5em;
  /* currently ems cause chrome bug misinterpreting rems on body element */
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
  font-weight: 200;
  color: #444444;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  line-height: 1.25;
  margin-bottom: 2rem;
  font-weight: 300;
}
h1 {
  font-size: 2.4rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding: 0 32px;
  color: #f50000;
}
h2 {
  font-size: 2.4rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding: 0 32px;
  color: #f50000;
}
h3 {
  font-size: 2.0rem;
}
h4 {
  font-size: 1.8rem;
}
h5 {
  font-size: 1.6rem;
}
h6 {
  font-size: 1.5rem;
}
h1:before,
h2:before,
h1:after,
h2:after {
  content: " ";
  display: block;
  width: 16px;
  height: 1px;
  background: #f50000;
  position: absolute;
  top: 50%;
  left: 0;
}
h1:after,
h2:after {
  left: auto;
  right: 0;
}
b,
strong {
  font-weight: 600;
}
p {
  margin-top: 0;
}
a {
  color: #f50000;
  transition: 0.3s color ease;
  text-decoration: none;
}
a:hover,
a:active,
a:focus {
  color: #b70000;
  text-decoration: none;
}
.smaller {
  font-size: 80%;
}
.bigger {
  font-size: 120%;
}
/* =WordPress Core
-------------------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
}
.alignnone {
  margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}
/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  font-weight: 400;
  line-height: 38px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 0;
  border: 1px solid #bbb;
  cursor: pointer;
  transition: .3s all ease;
  box-sizing: border-box;
}
.button:hover,
button:hover,
.button:focus,
button:focus {
  color: #333;
  border-color: #888;
  outline: 0;
}
.button.button-primary,
button.button-primary,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  color: #FFF;
  background-color: #f50000;
  border-color: #f50000;
}
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #FFF;
  background-color: #000000;
  border-color: #000000;
}
/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.wpcf7-form .col {
  padding-top: 8px;
  padding-bottom: 20px;
}
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0px;
  appearance: none;
  box-shadow: none;
  box-sizing: border-box;
}
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  appearance: none;
}
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px;
}
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #003047;
  outline: 0;
}
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
}
fieldset {
  padding: 0;
  border-width: 0;
}
input[type="checkbox"],
input[type="radio"] {
  display: inline;
}
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal;
}
form.wpcf7-form img {
  width: auto;
}
form.wpcf7-form p {
  margin: 0;
}
form.wpcf7-form input[type="text"],
form.wpcf7-form input[type="email"] {
  line-height: 18px;
  padding: 6px 12px;
  width: 100%;
  border: 1px solid #eee;
}
form.wpcf7-form textarea {
  height: 100px;
  line-height: 18px;
  padding: 6px 12px;
  width: 100%;
  border: 1px solid #eee;
}
form.wpcf7-form .row {
  padding: 8px 0;
}
span.wpcf7-not-valid-tip {
  font-size: 12px;
}
input.wpcf7-not-valid,
textarea.wpcf7-not-valid {
  border: 1px solid #f00!important;
  background: #fff1f1!important;
}
span.wpcf7-not-valid-tip {
  font-size: 12px;
}
.wpcf7-response-output.wpcf7-validation-errors {
  border: 1px solid #f00;
  margin: 0;
  padding: 15px 25px;
  background: #fff1f1;
  font-size: 1.4rem;
  color: #323232;
}
div.wpcf7-mail-sent-ok {
  background-color: #f1fff0;
  border: 1px solid #a8d144;
  font-size: 1.4rem;
  margin-left: 0;
  margin-right: 0;
  padding: 15px 25px;
}
.msg404 {
  font-size: 15rem;
  opacity: .3;
  color: #003047;
  font-weight: 600;
}
/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: disc;
  list-style-position: inside;
}
ol {
  list-style-position: inside;
  list-style: decimal;
}
ol,
ul {
  padding-left: 15px;
  list-style-position: inside;
  margin-top: 0;
}
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%;
}
li {
  margin-bottom: 1rem;
}
.menu ul,
ul.menu,
ul.menu li {
  margin: 0;
  list-style-type: none;
  padding: 0;
}
.inline ul.menu > li {
  display: inline-block;
}
ul.menu li a {
  margin: 0;
  display: inline-block;
  color: #f50000;
}
ul.menu li a:hover {
  color: #b70000;
}
/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1;
}
th:first-child,
td:first-child {
  padding-left: 0;
}
th:last-child,
td:last-child {
  padding-right: 0;
}
/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1;
}
.uppercase {
  text-transform: uppercase;
}
.textalignright {
  text-align: right;
}
.textalignleft {
  text-align: left;
}
.textaligncenter {
  text-align: center;
}
.displayTable {
  width: 100%;
  height: 100%;
  display: table;
}
.displayTableCell {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.nowrap {
  white-space: nowrap;
}
.videoContainer {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
.videoContainer iframe,
.videoContainer object,
.videoContainer embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.entry-content img,
.entry-content iframe,
.entry-content object,
.entry-content embed {
  max-width: 100%;
}
.wp-video {
  margin-bottom: 16px;
}
/**
    Header + NAV
**/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  color: #444444;
}
.scrolled header {
  background: rgba(235, 235, 235, 0.8);
}
header > .container > .row {
  position: relative;
  height: 70px;
  transition: 0.4s height ease;
}
.scrolled header > .container > .row {
  height: 70px;
}
header .brand {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  transition: 0.4s height ease;
}
header .brand img {
  height: 32px;
  width: auto;
}
.openNav {
  position: absolute;
  right: 0;
  line-height: 100%;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  display: table;
  transition: 0.4s all ease;
  padding: 0 15px;
  line-height: 42px;
  font-size: 2rem;
  text-transform: uppercase;
}
.openNav > button {
  display: inline-block;
  vertical-align: middle;
}
.openNav:hover {
  cursor: pointer;
}
.openNavText {
  color: #333333;
  padding-right: 8px;
  display: inline-block;
}
.mainNav {
  padding: 7px 100px 7px 0;
  z-index: 11;
  position: fixed;
  right: 0;
  transform: translateX(100%);
  top: 90px;
  background: rgba(235, 235, 235, 0.8);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  transition: 0.3s all ease-in;
}
.mainNav.showMe {
  transform: none;
}
.mainNav ul li {
  margin: 6px 0;
  display: block;
}
.mainNav ul li a {
  border-left: 4px solid transparent;
  padding: 0 24px 0 20px;
  transition: .3s all ease;
  color: #444444;
  font-weight: 400;
}
.mainNav ul li a:hover,
.mainNav ul li.active a {
  color: #f50000;
  border-color: #f50000;
}
/** Slideout.js Stlyes from Plugin **/
.slideout-menu {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 0;
  width: 256px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
}
.slideout-panel {
  position: relative;
  z-index: 1;
}
.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}
.slideout-open #menu.slideout-menu {
  display: block;
}
/** End Slideout.js **/
#menu {
  display: none;
  background-color: #252525;
  padding-top: 70px;
}
#menu ul.menu li {
  background: #3a3a3a;
}
#menu ul.menu li.current-menu-item {
  background: transparent;
}
#menu ul.menu li:hover {
  background: rgba(0, 0, 0, 0.9);
  text-indent: 1px;
}
#menu ul.menu li a {
  text-transform: uppercase;
  font-size: 1.5rem;
  color: #fff;
  padding: 12px 15px;
  display: block;
}
#menu ul.menu li a:hover {
  color: #ccc;
}
#menu .languageNav {
  margin-left: 0;
  position: absolute;
  bottom: 0;
  background: #3a3a3a;
  width: 100%;
}
#menu .languageNav ul.menu li {
  background: transparent;
}
#menu .languageNav ul.menu li a {
  color: #ccc;
  padding: 10px 15px;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
#menu .languageNav ul.menu li.active a {
  background: #252525;
  color: #fff;
}
.slideout-open #panel {
  box-shadow: -8px 0px 10px 0px rgba(0, 0, 0, 0.55);
}
/**
    Content area
**/
main {
  background-color: #fff;
  transition: 0.4s margin ease;
}
section {
  padding: 25px 0;
  text-align: center;
}
.hero {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  padding: 0 25px;
}
.hero p {
  color: #444444;
  margin-bottom: 0;
  font-size: 2rem;
}
.hero > .container {
  display: table;
  height: 100%;
}
.hero > .container > .row {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #fff;
}
.more {
  display: none;
  position: absolute;
  bottom: 10px;
  left: 50%;
  color: #fff;
  margin-left: -22px;
  transition: .3s all ease;
  text-align: center;
  font-size: 1.3rem;
}
.more i {
  transform: scale(1.5);
}
.more img {
  width: 18px;
  padding-top: 5px;
}
.more:hover {
  opacity: 0.8;
  color: #fff;
}
.scrolled .more {
  opacity: 0;
  -webkit-animation: none;
  animation: none;
}
.more {
  animation: jump 1.5s ease 2s 2 normal ;
}
@keyframes jump {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  20% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  60% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
  80% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
#intro {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.introListCol {
  margin-top: 25px;
  margin-bottom: 25px;
}
ul.introList {
  margin: 0;
  list-style-type: none;
  padding: 0;
}
ul.introList li {
  display: block;
  width: 50%;
  float: left;
  height: 72px;
  margin: 0;
  padding: 0 15px;
}
#kontakt {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#kontakt .bigger {
  color: #fff;
}
footer h4 {
  font-weight: 300;
  margin: 0;
  font-size: 1.6rem;
}
ul.kontaktinfos {
  margin-top: 16px;
  padding: 0;
}
ul.kontaktinfos li {
  display: block;
  padding: 0px 15px;
  margin: 4px 0;
  list-style-type: none;
  line-height: 1.2;
  position: relative;
}
ul.kontaktinfos li:first-child,
ul.kontaktinfos li:nth-child(4),
ul.leistungen li {
  border: none;
}
ul.leistungenNav {
  padding: 0;
  margin: 12px 0 20px 0;
}
ul.leistungenNav li {
  display: inline-block;
  padding: 0px 15px;
  margin: 4px 0;
  position: relative;
  list-style-type: none;
}
ul.leistungenNav li:after {
  content: " |";
  display: inline-block;
  margin-right: -4px;
  position: absolute;
  right: 0;
  font-weight: 300;
}
ul.leistungenNav li:last-child:after {
  content: "";
}
.leistungenNav li:hover {
  cursor: pointer;
  color: #f50000;
}
ul.leistungenNav li.active {
  font-weight: 600;
  color: #444444;
}
.singleLeistungenSlide {
  padding: 0 25px;
  outline: 0;
}
.singleLeistungenSlide ol,
.singleLeistungenSlide ul {
  margin-top: 8px;
}
.singleLeistungenSlide ol li,
.singleLeistungenSlide ul li {
  margin-bottom: 6px;
}
.slick-prev,
.slick-next {
  width: 60px;
  height: 72px;
  z-index: 99;
}
.slick-next:before {
  font-size: 72px;
  opacity: 0.6;
  font-family: FontAwesome;
  content: "\f105";
  color: #444444;
}
.slick-prev:before {
  font-size: 72px;
  opacity: 0.6;
  font-family: FontAwesome;
  content: "\f104";
  color: #444444;
}
#profil .slick-prev:before,
#profil .slick-next:before {
  color: #fff;
}
#profil {
  color: #fff;
}
#profil img {
  border-radius: 50%;
  width: 100%;
  text-align: center;
  height: auto;
  max-width: 240px;
  border: 3px solid #fff;
  display: inline-block;
  margin-bottom: 24px;
}
#profil h4 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0;
}
#profil h5 {
  font-size: 1.8rem;
  font-weight: light;
  color: #fff;
}
/**
    Footer
**/
footer {
  background: #000;
  color: #fff;
  line-height: 1.5;
  text-align: center;
  padding: 36px 0 20px 0;
}
footer a {
  color: #fff;
}
footer a:hover {
  color: #f50000;
}
.copyright.smaller {
  margin-bottom: 0;
  margin-top: 12px;
  font-size: 80%;
  opacity: 0.8;
}
/**
    * Media Queries for responsive Design
**/
@media (min-width: 360px) {
  .hero p {
    font-size: 2.2rem;
  }
}
@media (min-width: 600px) {
  .hero p {
    margin: 0px auto;
    max-width: 480px;
    font-size: 2.6rem;
  }
}
@media (min-width: 768px) {
  section {
    padding: 72px 0;
  }
  header .brand img {
    height: 48px;
  }
  header > .container > .row {
    height: 90px;
  }
  .scrolled header > .container > .row {
    height: 78px;
  }
  #menu {
    padding-top: 90px;
  }
  .scrolled #menu {
    padding-top: 78px;
  }
  a.more {
    display: block;
  }
  ul.introList li {
    display: block;
    width: 33.3%;
    float: left;
    height: 96px;
    margin: 0;
    padding: 0 15px;
  }
  ul.kontaktinfos li,
  ul.leistungen li {
    display: inline-block;
    /*border-left:1px solid @baseFontColor;*/
  }
  .introListCol {
    background-image: url(images/cross.png), url(images/cross.png);
    background-repeat: no-repeat;
    background-size: 60px;
    background-position: center left 210px, center right 210px;
  }
  ul.leistungenNav {
    margin: 25px 0 50px 0;
  }
  .singleLeistungenSlide {
    padding: 0 100px;
  }
  #profil .imageCol {
    border-right: 1px solid #fff;
    text-align: right;
    padding-right: 30px;
  }
  #profil img {
    margin-bottom: 0;
  }
  #profil .infoCol {
    padding-top: 15px;
    padding-left: 30px;
    text-align: left;
  }
}
@media (min-width: 992px) {
  .hero p {
    margin: 0px auto;
    max-width: 600px;
    font-size: 3.2rem;
  }
  section {
    padding: 120px 0;
  }
  .introListCol {
    background-position: center left 230px, center right 230px;
  }
}
@media (min-width: 1200px) {
  .introListCol {
    background-size: 90px;
    background-position: center left 284px, center right 284px;
  }
  ul.kontaktinfos {
    padding: 0 32px;
  }
}
.cmn-toggle-switch {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 32px;
  height: 42px;
  font-size: 0;
  text-indent: -9999px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  border-radius: 0;
  border: none;
  cursor: pointer;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
  top: -4px;
  background: none;
  color: #333333;
}
.cmn-toggle-switch:hover,
.cmn-toggle-switch:focus,
.cmn-toggle-switch:active {
  background: transparent;
}
.cmn-toggle-switch:focus {
  outline: none;
}
.cmn-toggle-switch span {
  display: block;
  position: absolute;
  top: 22px;
  left: 0px;
  right: 0px;
  height: 4px;
  background: #333333;
}
.cmn-toggle-switch span::before,
.cmn-toggle-switch span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #333333;
  content: "";
}
.cmn-toggle-switch span::before {
  top: -10px;
}
.cmn-toggle-switch span::after {
  bottom: -10px;
}
.cmn-toggle-switch__htx span {
  -webkit-transition: background 0 0.3s;
  transition: background 0 0.3s;
}
.cmn-toggle-switch__htx span::before,
.cmn-toggle-switch__htx span::after {
  -webkit-transition-duration: 0.3s, 0.3s;
  transition-duration: 0.3s, 0.3s;
  -webkit-transition-delay: 0.3s, 0;
  transition-delay: 0.3s, 0;
}
.cmn-toggle-switch__htx span::before {
  -webkit-transition-property: top, -webkit-transform;
  transition-property: top, transform;
}
.cmn-toggle-switch__htx span::after {
  -webkit-transition-property: bottom, -webkit-transform;
  transition-property: bottom, transform;
}
/* active state, i.e. menu open */
.cmn-toggle-switch__htx.active span {
  background: none;
}
.cmn-toggle-switch__htx.active span::before {
  top: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.cmn-toggle-switch__htx.active span::after {
  bottom: 0;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.cmn-toggle-switch__htx.active span::before,
.cmn-toggle-switch__htx.active span::after {
  -webkit-transition-delay: 0, 0.3s;
  transition-delay: 0, 0.3s;
}
