/* -------------------------------- 

CONTENTS
button login
button medium
forms
xpopup (login popup)

-------------------------------- */ 

/* -------------------------------- 

button login

-------------------------------- */
@media only screen and (min-width: 1024px) {
  .cd-primary-nav > ul .cd-button-login {
    background-color: #2eb82e;
    border: 0px solid #2eb82e;
    border-radius: 9px;
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
    padding: 0;
    box-shadow: 0px 3px 0px rgba(154,154,154,0.2);
  }
  .cd-primary-nav > ul .cd-button-login:hover {
    background-color: #00c856;
  }
  .cd-primary-nav > ul .cd-button-login a {
    color: #FFF;
    padding: 0.3em;
    padding-right: 1.3em;
    padding-left: 1.3em;
    opacity: 1;
	text-decoration: initial;
  }
}

/* -------------------------------- 

button medium

-------------------------------- */
.cd-button-medium {
  display: inline-block;
  padding: 1em;
  font-family: "Open_sansbold", sans-serif;
  text-transform: uppercase;
  color: #FFF;
  background-color: #2eb82e;
  border: 0px solid #2eb82e;
  -moz-border-radius: 9px;
  -webkit-border-radius: 9px;
  border-radius: 9px;
  -moz-box-shadow: 0px 3px 0px rgba(154,154,154,0.2);
  -webkit-box-shadow: 0px 3px 0px rgba(154,154,154,0.2);
  box-shadow: 0px 3px 0px rgba(154,154,154,0.2);
}
.cd-button-medium:hover {
  background-color: #00c856;
  cursor: pointer;
}
.cd-button-medium a {
  font-family: "Open_sansbold", sans-serif;
  text-transform: uppercase;
  color: #FFF;
  padding: 0.3em;/*
  padding-right: 1.3em;
  padding-left: 1.3em;*/
  padding-right:0.3 em;
  padding-left:0.3 em;
  opacity: 1;
}

/* -------------------------------- 

forms

(additional code in style.css,
.cd-main .cd-form)

-------------------------------- */
.cd-form {
  text-align: left;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(../img/cd-icon-arrow.svg) no-repeat 95% 50%;
}
input,
select,
textarea {
  width: 100%;
  background-color: #fff;
  color: #555;
  border: 1px solid #e0e0e0;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  font-size: 16px;
  padding: 16px;
  margin-bottom: 3%;
  outline: none;
  -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
}
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 5px #43D1AF;
  border: 1px solid #43D1AF;
}
input[type="checkbox"] {
  width: auto;
}
legend {
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 2rem;
  border-bottom: 1px solid #ecf0f1;
}
label, h4 { /*"Remember Me" Checkbox*/
  width: auto;
  font-size: 14px;}


/* -------------------------------- 

xpopup 

-------------------------------- */
.cd-popup {
  z-index: 3; /*!*/
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(94, 110, 141, 0.9);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
  padding: 20px; /*!*/
  padding-left: 40px;
  padding-right: 40px;
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 4em auto;
  background: #FFF;
  border-radius: .25em .25em .4em .4em;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translateY(-40px);
  -moz-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  -o-transform: translateY(-40px);
  transform: translateY(-40px);
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.cd-popup-container img {
  display: block;
  width: 180px;
  margin: 2.5em auto;
  margin-bottom: 1.5em;
}
.cd-popup-container h2 {
  font-family: "Open_sansregular", sans-serif;
  font-size: 17px;
  margin: 0em auto;
  margin-bottom: 2em; /*1.4*/
}
.cd-popup-container span {
  font-family: "Open_sanssemibold", sans-serif;
}
.cd-popup-container .cd-button-medium {
	text-decoration:initial;
	text-align:center;
  padding: 1.3em;
  padding-top: .7em;
  padding-bottom: .7em;
  font-family: "Open_sanssemibold", sans-serif;
  font-size: 18px;
  text-transform: none;
  width: 40%; /*100*/
  margin: .4em auto;
  margin-bottom: 1.6em;
  display: block;
}

.cd-popup-container .cd-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}
.cd-popup-container .cd-popup-close::before, .cd-popup-container .cd-popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
}
.cd-popup-container .cd-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}
.cd-popup-container .cd-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}
.is-visible .cd-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
@media only screen and (min-width: 1170px) {
  .cd-popup-container {
    margin: 8em auto;
  }
}

/* -------------------------------- 

css transition: Bigger

-------------------------------- */
.hover-bigger {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hover-bigger:hover, .hover-bigger:focus, .hover-bigger:active {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/* -------------------------------- 

css transition: Shake

-------------------------------- */
@-webkit-keyframes hover-shake {
  10% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }
  20% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }
  30% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }
  40% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }
  50% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }
  60% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }
  70% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }
  80% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }
  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0);
  }
  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0);
  }
}
@keyframes hover-shake {
  10% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }
  20% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }
  30% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }
  40% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }
  50% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }
  60% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }
  70% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }
  80% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }
  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0);
  }
  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0);
  }
}
.hover-shake {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
}
.hover-shake:hover, .hover-shake:focus, .hover-shake:active {
  -webkit-animation-name: hover-shake;
  animation-name: hover-shake;
  -webkit-animation-duration: 0.65s;
  animation-duration: 0.65s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}
