#page-add-gallery .popupBody {
	padding: 0px;
}
#page-add-gallery form {
	padding: 0px;
}
#page-add-gallery .tabs {
	padding: 14px 26px; border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid;
}
#page-add-gallery .tabs a {
	padding: 7px 14px; color: rgb(141, 158, 171); font-family: Arial, serif; font-size: 14px; text-decoration: underline; display: inline-block; cursor: pointer;
}
#page-add-gallery .tabs a.selected {
	background: rgb(228, 237, 242); border-radius: 5px; color: rgb(44, 44, 44); text-decoration: none; cursor: default;
}
#page-add-gallery .tab-content {
	padding: 0px 26px;
}
#page-add-gallery .image-count label {
	display: inline-block;
}
#page-add-gallery .image-count.line {
	padding: 0px; height: 56px; line-height: 55px; overflow: hidden; border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid;
}
#page-add-gallery .background.line {
	padding: 0px; height: 56px; line-height: 55px; overflow: hidden; border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid;
}
#page-add-gallery .line {
	padding: 24px 0px;
}
#page-add-gallery .line label {
	margin-right: 10px;
}
#page-add-gallery .line label:first-child {
	width: 220px; color: rgb(43, 43, 43); font-family: Arial, sans-serif; font-size: 16px; margin-right: 0px; display: inline-block;
}
#page-add-gallery .line br + script + a.label {
	margin-left: 225px;
}
#page-add-gallery .line input[type=radio] {
	margin-right: 5px;
}
#page-add-gallery .line input[type=text] {
	margin: 0px; width: 50px; text-align: center;
}
#page-add-gallery .line a {
	cursor: pointer;
}
#page-add-gallery .line select {
	width: auto;
}
#page-add-gallery .line .slider_inside {
	width: 300px; margin-right: 10px; display: inline-block;
}
#page-add-gallery .row {
	padding: 12px 0px; height: 140px; font-size: 0px; border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid;
}
#page-add-gallery .row > div {
	width: 47%; font-size: 14px; display: inline-block;
}
#page-add-gallery .row > div + div {
	margin-left: 6%;
}
#page-add-gallery .row .line {
	padding: 0px 0px 13px;
}
#page-add-gallery .row .line + .line {
	padding: 0px;
}
#page-add-gallery .row .line label:first-child {
	width: auto;
}
#page-add-gallery .gallery.widget {
	margin: 0px auto; padding: 21px 0px;
}
#page-add-gallery .gallery.widget .bg {
	background: rgb(228, 237, 242); border: currentColor; border-image: none; width: 100px; height: 100px; text-align: center; vertical-align: middle; display: table-cell; cursor: pointer;
}
#page-add-gallery .gallery.widget .bg span {
	background: rgb(195, 208, 216); border-radius: 20px; width: 30px; height: 30px; color: rgb(255, 255, 255); line-height: 26px; font-size: 25px; font-weight: bold; display: inline-block;
}
#page-add-gallery .gallery.widget .zoom {
	background: url("https://static.lpgenerator.ru/media/css/upgrade/widget/gallery/zoom.png") no-repeat 0px 50%; color: rgb(141, 158, 171); padding-left: 22px; font-family: Arial, sans-serif; font-size: 14px; display: inline-block; cursor: pointer;
}
#page-add-gallery .gallery.widget .gallery-image {
	position: relative;
}
#page-add-gallery .gallery.widget .gallery-image .close {
	background: url("https://static.lpgenerator.ru/media/css/images/close_black.png") no-repeat 50% 50%; top: 0px; width: 28px; height: 28px; right: 0px; position: absolute; cursor: pointer;
}
#page-add-gallery .gallery.widget .gallery-image div {
	font-size: 14px; margin-top: 5px;
}
#page-add-gallery .gallery.widget .gallery-image div a {
	cursor: pointer;
}
#page-add-gallery .gallery.widget .gallery-image img {
	cursor: pointer;
}
#page-add-gallery .gallery.widget .gallery-wrapper {
	position: relative;
}
#page-add-gallery .gallery.widget .gallery-wrapper script:first-child + script + .gallery-image {
	margin-left: 0px;
}
#page-add-gallery .numbers {
	padding: 0px 0px 19px; text-align: center;
}
#page-add-gallery .numbers .button {
	background: rgb(165, 190, 64); border-radius: 5px; width: 28px; height: 26px; text-align: center; color: rgb(255, 255, 255); line-height: 26px; padding-bottom: 2px; font-size: 20px; font-weight: bold; text-decoration: none; margin-right: 4px; vertical-align: middle; display: inline-block; cursor: pointer;
}
#page-add-gallery .numbers .grey.button {
	background: rgb(172, 172, 172); cursor: default;
}
#page-add-gallery .numbers .button + .button {
	margin-right: 15px;
}
#page-add-gallery .numbers .index {
	padding: 2px 6px; color: rgb(141, 158, 171); font-family: Arial, sans-serif; font-size: 14px; vertical-align: middle; display: inline-block; cursor: pointer;
}
#page-add-gallery .numbers .active.index {
	background: rgb(230, 236, 241); border-radius: 4px; color: rgb(0, 0, 0); text-decoration: none; cursor: default;
}
#page-add-gallery .line input[rel='color'] {
	width: 100px;
}
.gallery.widget .gallery-prev {
	background: url("https://static.lpgenerator.ru/media/css/upgrade/widget/gallery/arrows.png") no-repeat 0px 0px; width: 16px; height: 28px; float: left; cursor: pointer; opacity: 0.7;
}
.gallery.widget .gallery-prev:hover {
	opacity: 1;
}
.gallery.widget .gallery-next {
	background: url("https://static.lpgenerator.ru/media/css/upgrade/widget/gallery/arrows.png") no-repeat -16px 0px; width: 16px; height: 28px; float: right; cursor: pointer; opacity: 0.7;
}
.gallery.widget .gallery-next:hover {
	opacity: 1;
}
.gallery.widget .gallery-wrapper {
	margin: 0px 34px; overflow: hidden; font-size: 0px;
}
.gallery.widget .gallery-container {
	position: relative;
}
.gallery.widget .gallery-image {
	text-align: center; margin-left: 15px; vertical-align: top; display: inline-block;
}
.gallery.widget :first-child.gallery-image {
	margin-left: 0px !important;
}
.gallery.widget .gallery-image div.img {
	text-align: center; vertical-align: middle; display: table-cell;
}
