/**
 * Managing predefined and user based styles and templates
 *
 * @package EasySocialShareButtons
 * @since 5.9
 */
.styles-modal {
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, .8);
	z-index: 9999;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: none;
}

#essb-styleselect {
	z-index: 9999;
}

#essb-styleselect .actions {
	float: right;
}

#essb-styleselect .actions a {
	color: #a4afb7;
	text-decoration: none;
}

#essb-styleselect .actions a:hover {
	color: #111;
}

#essb-styleselect .essb-helper-popup-content {
	background: #f2f3f4;
	color: #6d7882;
	box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

#essb-styleselect .styles-cats {
	width: 210px;
	vertical-align: top;
	display: inline-block;
}

#essb-styleselect .style-btn {
	background: #39b54a;
	color: #fff;
	margin-top: 15px;
	padding: 8px 16px;
	cursor: pointer;
	border-radius: 3px;
	-webkit-border-radius: 3px;
}

#essb-styleselect .style-btn:hover { background: #298135; }

#essb-styleselect .style-btn.inline { display: inline-block; margin-top: 0; padding: 5px 15px; }
#essb-styleselect .style-btn { text-decoration: none; }
#essb-styleselect .style-btn i{ font-size: 14px; }
#essb-styleselect .style-btn span {
	font-size: 11px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-left: 8px;
}

#essb-styleselect .styles-content {
	width: calc(100% -   250px);
	vertical-align: top;
	display: inline-block;
	margin-left: 30px;
}

#essb-styleselect .styles-cats .title {
	font-size: 11px;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 5px;
	letter-spacing: 0.5px;
}

#essb-styleselect .styles-cats .list .active, #essb-styleselect .styles-cats .list li { cursor: pointer; }
#essb-styleselect .styles-cats .list .active, #essb-styleselect .styles-cats .list li:hover { font-weight: 700; }

#essb-styleselect .styles-cats .list li .count {
	float: right;
    margin-left: 5px;
    font-size: 11px;
}

#essb-styleselect .styles-content .grid-container {
	display: grid;
	grid-template-columns: 50% 50%;
}

#essb-styleselect .styles-content .plugin-style {
	background: #fff;
    padding: 15px;
    border-radius: 3px;
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.07);
	margin: 15px;
	position: relative;
    padding-bottom: 65px;
	overflow: hidden;
}

#essb-styleselect .styles-content .plugin-style:hover {
		box-shadow: 0px 0px 15px 0px #b3d3e9;
	-webkit-box-shadow: 0px 0px 15px 0px #b3d3e9;
}

#essb-styleselect .styles-content .plugin-style .title {
	font-size: 18px;
    font-weight: 300;
    letter-spacing: 0;
	color: #121212;
}

#essb-styleselect .styles-content .plugin-style .title .icons {
	float: right;
}

#essb-styleselect .styles-content .plugin-style .title .icons span {
	font-size: 18px; padding: 0 2px;
  	background: linear-gradient(269deg, #113474 0%, #3c6dc4 100%);
  	-webkit-background-clip: text;
  	-webkit-text-fill-color: transparent;
}
#essb-styleselect .styles-content .plugin-style .title .icons span:last-child { padding-right: 0; }
#essb-styleselect .styles-content .plugin-style .title .icons .style-icon { color: #BA55D3; }
#essb-styleselect .styles-content .plugin-style .title .icons .network-icon { color: #2b4b80; }

#essb-styleselect .styles-content .plugin-style .desc { margin-top: 20px; }

#essb-styleselect .styles-content .plugin-style .has-code { margin-top: 20px; font-size: 12px; font-style: italic; }

#essb-styleselect .styles-content .plugin-style .buttons {
	display: flex;
    box-shadow: 0 -1px 0 0 rgba(0,0,0,0.05);
    padding: 10px;
	position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}

#essb-styleselect .styles-content .plugin-style .buttons .preview-button {
	padding: 3px 6px;
	border-radius: 3px;
	cursor: pointer;
	margin-right: 5px;
}

#essb-styleselect .styles-content .plugin-style .buttons .preview-button:last-child {
	margin-right: 0;
}

#essb-styleselect .styles-content .plugin-style .buttons .preview-button:hover {
	background: #557cbf;
	color: #fff;
}

#essb-styleselect .styles-content .plugin-style .buttons .preview-button.remove:hover {
	background: #fd232d;
}

#essb-styleselect .styles-content .plugin-style .buttons .preview-button span {
	font-size: 11px;
  text-transform: uppercase;
  margin-left: 5px;
  letter-spacing: 0.3px;
}

#essb-styleselect .title-func {
	font-size: 24px;
	font-weight: 300;
	margin-bottom: 20px;
}

#essb-styleselect .inner-content-title {
	font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 5px;
	letter-spacing: 1px;
	color: #111;
}
#essb-styleselect .inner-content {
	padding: 15px;
	background: #fff;
	margin-bottom: 25px;
}

#essb-styleselect .inner-content .essb-title {
	color: #111;
	font-weight: 700;
}

#essb-styleselect .float-right {
	float: right;
}

#essb-styleselect .inner-content .inner-row { margin-bottom: 3px; }

#essb-styleselect .input-element {
	font-family: 'Open Sans', Verdana, 'Helvetica Neue', Helvetica, Arial,
		Geneva, sans-serif;
	font-size: 13px;
	color: #333333;
	padding: 4px 6px;
	border: 1px solid #cccdcf;
	outline: none;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	box-shadow: none;
background: #f4f2f2; border: 1px solid rgba(0,0,0,0.06);
	border-radius: 0px;
	-webkit-border-radius: 0px;
}

#essb-styleselect .stretched { width: 95%; }
#essb-styleselect .visual-setup .essb-flex-grid-r { margin-top: 10px; }
#essb-styleselect .visual-setup .essb-flex-grid-r:first-child { margin-top: 0; }
#essb-styleselect .visual-setup .bold { font-weight: 700; }
#essb-styleselect .visual-setup .essb-flex-grid-c.c6:first-child { margin-right: 1%; }
#essb-styleselect .visual-setup .essb-flex-grid-c.c6:last-child { margin-left: 1%; }

#essb-styleselect .visual-setup .essb-flex-grid-c.c6 .bold { color: #111; font-weight: 700; }
#essb-styleselect .essb-admin-options-panel { width: calc(46% - 30px); padding: 15px; }

#essb-styleselect .essb-component-change-orientation { margin-bottom: 20px; }

#essb-styleselect .essb-style-livepreview.vertical .essb_links ul { display: block !important;}
#essb-styleselect .essb-style-livepreview.vertical .essb_links li { display: list-item !important;}

#essb-styleselect .one-half { width: 46%; padding: 1%; display: inline-block; }
#essb-styleselect .one { padding: 1%; }
#essb-styleselect .locations { margin-top: 20px; font-size: 11px; }
#essb-styleselect .locations .location { margin: 0 5px; font-size: 10px; text-transform: uppercase; background: linear-gradient(269deg, #113474 0%, #3c6dc4 100%); color: #fff; padding: 3px 6px; border-radius: 3px; }
#essb-styleselect .hint { font-size: 12px; margin-bottom: 15px; }

body .jq-toast-wrap { z-index: 1000000 !important; }

#essb-styleselect #style-location-choose .essb-position-select .essb-single.active .icon .customize {
	display: none !important;
}

/** Preloader **/
#styles-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	display: none;
	z-index: 1000000;
	background: rgba(255,255,255,0.9);
}
#styles-loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #9370DB;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
#styles-loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #BA55D3;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}
#styles-loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #FF00FF;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#import-style-content { width:100%; height: 350px; }