/**
 * +--------------------------------------------------------------------------+
 * | Copyright (c) 2008-2017 AddThis, LLC                                     |
 * +--------------------------------------------------------------------------+
 * | This program is free software; you can redistribute it and/or modify     |
 * | it under the terms of the GNU General Public License as published by     |
 * | the Free Software Foundation; either version 2 of the License, or        |
 * | (at your option) any later version.                                      |
 * |                                                                          |
 * | This program is distributed in the hope that it will be useful,          |
 * | but WITHOUT ANY WARRANTY; without even the implied warranty of           |
 * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            |
 * | GNU General Public License for more details.                             |
 * |                                                                          |
 * | You should have received a copy of the GNU General Public License        |
 * | along with this program; if not, write to the Free Software              |
 * | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
 * +--------------------------------------------------------------------------+
 */

.addthis-settings-page .toggle {
  width: 40px;
  height: 20px;
  z-index: 0;
  margin: 0;
  padding: 0;
  appearance: none;
  border: none;
  position: relative;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  display: inline-block;
  float: right;
}

.addthis-settings-page .toggle:before {
  content: ' ';
  position: absolute;
  left: 1px;
  top: 1px;
  width: 30px;
  height: 15px;
  z-index: 1;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}

.addthis-settings-page .toggle:after {
  content: ' ';
  height: 17px;
  width: 17px;
  border-radius: 11px;
  z-index: 2;
  background: #FFFFFF;
  position: absolute;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  top: 1px;
  left: 2px;
  -webkit-box-shadow: 0 1px 2px #999999;
  box-shadow: 0 1px 2px #999999;
}

.addthis-settings-page .toggle.active,
.addthis-settings-page .toggle.active:before {
  background: #1EC6CE;
  cursor: pointer;
}

.addthis-settings-page .toggle.inactive,
.addthis-settings-page .toggle.inactive:before {
  background: #E5E5E5;
}

.addthis-settings-page .toggle.active:after {
  left: 21px !important;
}

.addthis-settings-page .toggle-container {
  float: right;
  width: 90px;
  display: inline-block;
}

.addthis-settings-page .toggle-container div.label{
  float: left;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
}

.addthis-settings-page .toggle:hover,
.addthis-settings-page .toggle:focus {
  box-shadow: 0 0 2px rgba(30,140,190,.8);
}
