/*
CSS for eesy Plugins Admin

---------------------------------
CONTENT:

layout: essentials
layout: buttons
layout: custom checkbox on/off switches
layout: accordion
layout: tooltips
layout: messages

---------------------------------
HELPERS:

.eesy-margin-around
.eesy-margin-bottom
.eesy-margin-top

.eesy-flex
.eesy-flex.eesy-vertical-centered
.eesy-flex.eesy-horizontal-centered
.eesy-flex.eesy-horizontal-end
.eesy-flex.eesy-space-between
.eesy-flex .eesy-fullwidth
.eesy-flex .eesy-use-fullspace

.eesy-textcolor-alert
.eesy-textcolor-positive
.eesy-textcolor-accent

---------------------------------
MEDIA QUERIES

min 768px
min 1200px
min 1700px

---------------------------------
COLORS:

#706353
#c5bcb2
#ded9d7
#ece7e5

alert: #ed0c32 hsl(349, 90%, 48%)
positive: #00b443 hsl(142, 100%, 35%)
accent: #0073aa hsl(199, 100%, 33%)

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


/* layout: essentials START */
.eesy-pluginbox *,
.eesy-pluginbox *:before,
.eesy-pluginbox *:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.eesy-pluginbox {
  padding: 3em;
  background-color: #fff;
  font-size: 14px;
  font-family: 'Roboto Condensed', sans-serif;
}

.eesy-innerbox {
  padding: 1em 2em;
  border-radius: 4px;
  background-color: #fff;
  -webkit-box-shadow: inset 0 0 0 1px #ded9d7;
          box-shadow: inset 0 0 0 1px #ded9d7;
}

.wrap .eesy-h1 {
  margin-bottom: 20px;
}

.eesy-pluginbox h2 {
  font-size: 1.5em;
}

.eesy-pluginbox input[type=text],
.eesy-pluginbox input[type=search],
.eesy-pluginbox input[type=password],
.eesy-pluginbox input[type=email],
.eesy-pluginbox input[type=number] {
  padding: 6px 10px;
  -webkit-appearance: none;
}

.eesy-pluginbox label {
  cursor: default;
}
/* layout: essentials END */


/* layout: buttons START */
.eesy-button {
  padding: .5em 1.5em;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer!important;
}

.eesy-button,
input[type='submit'].eesy-button,
.eesy-button:focus,
input[type='submit'].eesy-button:focus {
  background: #ece7e5;
  color: rgba(0,0,0,.4);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  outline: none;
}

.eesy-button:hover,
input[type='submit'].eesy-button:hover {
  background: #ded9d7;
  color: rgba(0,0,0,.6);
}

.eesy-button:active,
input[type='submit'].eesy-button:active {
  background: #d3cecc;
  color: rgba(0,0,0,.6);
  outline: none;
}

.eesy-button:disabled,
input[type='submit'].eesy-button:disabled,
input[type='submit'].eesy-button:focus:disabled {
  background: #f0ebe8;
  color: rgba(255,255,255,.9);
  pointer-events: none;
}

.eesy-button-positive,
input[type='submit'].eesy-button-positive,
.eesy-button-positive:focus,
input[type='submit'].eesy-button-positive:focus {
  background: hsl(142, 100%, 35%);
  color: #fff;
}

.eesy-button-positive:hover,
input[type='submit'].eesy-button-positive:hover {
  background: hsl(142, 100%, 32%);
  color: #fff;
}

.eesy-button-positive:active,
input[type='submit'].eesy-button-positive:active {
  background: hsl(142, 100%, 29%);
  color: #fff;
  outline: none;
}

.eesy-button-accent,
input[type='submit'].eesy-button-accent,
.eesy-button-accent:focus,
input[type='submit'].eesy-button-accent:focus {
  background: hsl(199, 100%, 30%);
  color: #fff;
}

.eesy-button-accent:hover,
input[type='submit'].eesy-button-accent:hover {
  background: hsl(199, 100%, 27%);
  color: #fff;
}

.eesy-button-accent:active,
input[type='submit'].eesy-button-accent:active {
  background: hsl(199, 100%, 24%);
  outline: none;
  color: #fff;
}

.eesy-button-alert,
input[type='submit'].eesy-button-alert,
.eesy-button-alert:focus,
input[type='submit'].eesy-button-alert:focus {
  background: hsl(349, 90%, 48%);
  color: #fff;
}

.eesy-button-alert:hover,
input[type='submit'].eesy-button-alert:hover {
  background: hsl(349, 90%, 45%);
  color: #fff;
}

.eesy-button-alert:active,
input[type='submit'].eesy-button-alert:active {
  background: hsl(349, 90%, 42%);
  color: #fff;
  outline: none;
}

.eesy-button.small {
  padding: .3rem .7rem .2rem .7rem;
  border-radius: 2px;
  font-weight: 300;
  font-size: .85rem;
}
/* layout: buttons END */


/* layout: custom checkbox on/off switches START */
.eesy-switchbox {
  position: relative;
  height: 27px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  margin: 1em 0;
}

.eesy-switchbox label {
  display: inline-block;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 24px;
  padding-left: 65px;
  text-align: left;
  line-height: 24px;
  cursor: pointer;
}

input[type=checkbox].eesy-checkbox {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 10px;
  left: 10px;
}

.eesy-switch {
  position: relative;
  width: 55px;
  height: 1px!important;
  font-size: .8em;
}

.eesy-switch .eesy-switch-label {
  display: block;
  overflow: hidden;
  margin: 0;
  border: 1px solid #e6e6e6;
  border-radius: 20px;
  cursor: pointer;
}
.eesy-switch .eesy-switch-inner {
  width: 200%;
  margin-left: -100%;
  -webkit-transition: margin .15s ease-in-out;
          transition: margin .15s ease-in-out;
}

.eesy-switch .eesy-switch-inner::before,
.eesy-switch .eesy-switch-inner::after {
  float: left;
  width: 50%;
  height: 24px;
  padding: 0;
  font-weight: normal;
  font-size: 80%;
  line-height: 24px;
  color: #fff;
}

.eesy-switch .eesy-switch-inner::before {
  padding-left: 10px;
  background-color: #0073aa;
  content: 'On';
  text-transform: uppercase;
  color: #fff;
}

.eesy-switch .eesy-switch-inner::after {
  padding-right: 10px;
  background-color: #fafafa;
  content: 'Off';
  text-align: right;
  text-transform: uppercase;
  color: #3d3d3d;
}

.eesy-switch .eesy-switch-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  top: 2px;
  right: 32px;
  bottom: 0;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  -webkit-box-shadow: 0 0 3px rgba(0,0,0,.3);
          box-shadow: 0 0 3px rgba(0,0,0,.3);
  -webkit-transition: right .15s ease-in-out;
          transition: right .15s ease-in-out;
}

input[type=checkbox].eesy-checkbox:checked ~ .eesy-switch .eesy-switch-label .eesy-switch-inner {
  margin-left: 0;
}

input[type=checkbox].eesy-checkbox:checked ~ .eesy-switch .eesy-switch-label .eesy-switch-dot {
  right: 1px;
  -webkit-box-shadow: 0 0 3px rgba(0,0,0,.5);
          box-shadow: 0 0 3px rgba(0,0,0,.5);
}

input[type=checkbox].eesy-checkbox:focus ~ .eesy-switch {
  outline: thin dotted #3d3d3d;
  outline: 0;
}

/* for accessibility */
.eesy-aural {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
}

.eesy-aural:focus {
  position: static!important;
  overflow: visible;
  clip: rect(0, 0, 0, 0);
  width: auto;
  height: auto;
  outline: thin dotted;
  font-size: 1em;
}
/* layout: custom radiobutton switches END */


/* layout: accordion START */

/* use radio for only one open at same time,
use checkbox for multiple open at same time */
input[type=radio].eesy-accordion-toggle,
input[type=checkbox].eesy-accordion-toggle {
  display: none;
}

label.eesy-accordion-label {
  display: block;
  position: relative;
  padding: 1em;
  border-bottom: 1px solid #fff;
  border-top: 1px solid rgba(0, 0, 0, .15);
  cursor: pointer;
}

.eesy-accordion-label:hover {
  color: #0073aa;
}

.eesy-accordion-toggle:checked + .eesy-accordion-label {
  position: relative;
  color: #0073aa;
}

.eesy-accordion-toggle + .eesy-accordion-label .eesy-icon {
  position: absolute;
  right: 1em;
  -webkit-transition: -webkit-transform .2s ease-in-out;
  transition: -webkit-transform .2s ease-in-out;
  transition: transform .2s ease-in-out;
  transition: transform .2s ease-in-out, -webkit-transform .2s ease-in-out;
}

.eesy-accordion-toggle:checked + .eesy-accordion-label .eesy-icon {
  -webkit-transform: rotateZ(180deg);
          transform: rotateZ(180deg);
}

.eesy-accordion-box {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding: 0 1.5em;
  -webkit-transition: max-height .4s ease-in-out;
  transition: max-height .4s ease-in-out;
}

.eesy-accordion-box:not(:last-of-type) {
  -webkit-box-shadow: inset 0 -2px 2px rgba(0, 0, 0, .25), inset 4px 0 0 0 #0073aa, inset 0 3px 6px rgba(0, 0, 0, .75);
          box-shadow: inset 0 -2px 2px rgba(0, 0, 0, .25), inset 4px 0 0 0 #0073aa, inset 0 3px 6px rgba(0, 0, 0, .75);
}

.eesy-accordion-toggle:checked ~ .eesy-accordion-box {
  max-height: 35em;
}
/* layout: accordion END */


/* layout: tooltips START */
.eesy-tooltip {
  position: relative;
  margin-left: .3em;
  cursor: help;
}

.eesy-tooltip .eesy-icon {
  color: #706353;
}

.eesy-tooltip::before {
  display: none;
  position: absolute;
  min-width: 10em;
  width: 5em;
  min-height: 2em;
  top: 50%;
  left: calc(1em + 14px);
  padding: .5em .8em;
  border-radius: 5px;
  background-color: #706353;
  content: attr(data-tooltip);
  line-height: 1.4;
  color: #fff;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.eesy-tooltip::after {
  display: none;
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  right: -1em;
  margin-top: -10px;
  border: solid transparent;
  border-width: 10px;
  border-color: rgba(136, 183, 213, 0);
  border-right-color: #706353;
  content: '';
  pointer-events: none;
}

.eesy-tooltip:hover:after,
.eesy-tooltip:hover:before {
  display: block;
}
/* layout: tooltips END */


/* layout: messages START */
.eesy-messagebox {
  padding: 1em;
  text-align: center;
  font-weight: bold;
}

.eesy-messagebox.eesy-alert {
  background-color: #ed0c32;
  -webkit-box-shadow: 0 0 6px 0 #ed0c32;
          box-shadow: 0 0 6px 0 #ed0c32;
  color: #fff;
}

.eesy-messagebox.eesy-notice {
  background-color: #0073aa;
  -webkit-box-shadow: 0 0 6px 0 #0073aa;
          box-shadow: 0 0 6px 0 #0073aa;
  color: #fff;
}

.eesy-messagebox.eesy-success {
  background-color: #00b443;
  -webkit-box-shadow: 0 0 6px 0 #00b443;
          box-shadow: 0 0 6px 0 #00b443;
  color: #fff;
}
/* layout: messages END */


/* layout overlays START */
.eesy-overlay-anchor {
  position: relative;
}

.eesy-overlay {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgb(0, 0, 0, .7);
}

.eesy-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  font-size: 2.5em;
  line-height: 1.3;
  color: #fff;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
/* layout overlays END */

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

/*helpers START*/
.eesy-fullwidth {
  width: 100%;
}

.eesy-columned {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.eesy-columned-item,
.eesy-columned > * {
	-webkit-box-flex: 1;
	    -ms-flex: 1 0 100%;
	        flex: 1 0 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.eesy-margin-around {
  margin: .25rem;
}

.eesy-margin-bottom {
  margin-bottom: 1em;
}

.eesy-doublemargin-bottom {
  margin-bottom: 2em;
}

.eesy-margin-top {
  margin-top: 1em;
}

.eesy-doublemargin-top {
  margin-top: 2em;
}

.eesy-textcolor-alert {
  color: #ed0c32;
}

.eesy-textcolor-positive {
  color: #00b443;
}

.eesy-textcolor-accent {
  color: #0073aa;
}

.eesy-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.eesy-flex.eesy-vertical-centered {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.eesy-flex.eesy-horizontal-centered {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.eesy-flex.eesy-horizontal-end {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.eesy-flex.eesy-space-between {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.eesy-flex .eesy-fullwidth {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 100%;
          flex: 0 1 100%;
}

.eesy-flex .eesy-use-fullspace {
  -webkit-box-flex: 1;
      -ms-flex: 1 auto;
          flex: 1 auto;
}
/*helpers END*/


/* media queries START */
/*----------------------------------------------------------------------*/

@media (min-width: 768px) {
  .eesy-columned {
    margin-left: -2rem;
  }

  .eesy-columned > * {
    max-width: calc(50% - 2rem);
    margin-left: 2rem;
  }
}

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

@media (min-width: 1200px) {
  .eesy-columned > * {
    max-width: calc(33.33333% - 2rem);
  }
}

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

@media (min-width: 1700px) {
  .eesy-columned > * {
    max-width: calc(25% - 2rem);
  }
}

/*----------------------------------------------------------------------*/
/* media queries END */
