/*
 * #28B454 - зелёный
 * #FCC304 - желтый
 * #4689FC - голубой
 * #2C69C4 - синий подчёркивание
 */
.adp-notice {
	border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.adp-notice h3{
	background-color:#FCC304;
}

.adp-notice .adp-advert-text {
	margin-right:20px;
	font-weight: bold;
	font-size:16px;
	display:inline-block;
}

.adp-notice .inside {
	margin-top:20px !important;
}

 /* Customize the label (the container) */
.adp-chbx-container {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  margin-top:6px;
  margin-right:20px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.adp-chbx-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.adp-chbx-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 2px;
}

/* On mouse-over, add a grey background color */
.adp-chbx-container:hover input ~ .adp-chbx-checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.adp-chbx-container input:checked ~ .adp-chbx-checkmark {
  background-color: #28B454;
}

/* When the checkbox is checked, add a blue background */
.adp-chbx-container.adp-premium input:checked ~ .adp-chbx-checkmark {
  background-color: #9629BF;
}

/* Create the checkmark/indicator (hidden when not checked) */
.adp-chbx-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.adp-chbx-container input:checked ~ .adp-chbx-checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.adp-chbx-container .adp-chbx-checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
} 



a[class*="adp-btn"] {text-decoration: none;}
input[class*="adp-btn"], 
button[class*="adp-btn"] {border: 0;}

/* Here you can change the button sizes */
.adp-btn.large {
  padding: 20px 40px; 
  font-size: 22px;
}
.adp-btn.small {
  padding: 8px 18px;  
  font-size: 14px;
}
.adp-btn.mini {
  padding: 4px 12px;  
  font-size: 12px;
}


/* Colors for .btn and .btn-two */
.adp-btn.blue {background-color: #4689FC;}
.adp-btn.green {background-color: #28B454;}



/* default button style */
.adp-btn {
    position: relative;
    border: 0;
    padding: 10px 25px;
    display: inline-block;
    text-align: center;
    color: white;
    cursor:pointer;
    border-radius: 3px;
    margin: 9px 0;
    font-weight: bold;
}

.adp-btn:active {
    top: 4px;   
}

/* color classes for .btn */
.adp-btn.blue {box-shadow: 0px 4px #2C69C4;}
.adp-btn.blue:active {box-shadow: 0 0 #2C69C4; background-color: #709CA8;}

.adp-btn.green {box-shadow: 0px 4px 0px #317F4B;}
.adp-btn.green:active {box-shadow: 0 0 #317F4B; background-color: #28B454;}

body.post-type-adpublisher .search-box {
	display:none;
}

/* верхняя кнопка */
body.post-type-adpublisher .page-title-action {
	position: relative !important;
    border: 0 !important;
    padding: 10px 25px !important;
    display: inline-block !important;
    text-align: center !important;
    color: white !important;
    cursor:pointer !important;
    border-radius: 3px !important;
    margin: 9px 0 !important;
    font-weight: bold !important;
    background-color: #4689FC !important;
    box-shadow: 0px 4px #2C69C4;
}
body.post-type-adpublisher .page-title-action:active {
	box-shadow: 0 0 #2C69C4 !important; 
	background-color: #709CA8 !important;
	top: 4px !important;
}

/* метабоксы */
body.post-type-adpublisher #postbox-container-1{
	display:none;
}
body.post-type-adpublisher #titlewrap{
	display:none;
}
body.post-type-adpublisher #title{
	width: 86%;
    margin: 0;
}
#adp_meta p label, #adp_meta #titlewrap label{
	width: 14%;
	float: left;
	font-size: 14px;
	font-weight: bold;
	padding-top: 4px;
}
#adp_meta #title-prompt-text{
	
}

#paragraph_number{
	vertical-align: middle;
}
input#adp_unit{
	display:none;
}

#adp_meta h2 {
	background-color:#FCC304;
}

#adp-submit-wrap {
	position:absolute; 
	margin-left:-12px; 
	margin-top:20px;
}


/* modules */
.adp-modules-container h3{
	background-color:#FCC304;
}
.adp-modules-container .adp-modules-wrap {
	padding:0 10%;
} 

@media (max-width: 1300px) {
	.adp-modules-container .adp-modules-wrap {
		padding:0;
	} 
}

.adp-modules-container .adp-module-wrap {
	padding:10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	color:grey;
}

.adp-modules-container .adp-module-wrap p {
	font-size:16px;
	text-align: center;
	margin-bottom:10px;
}

.adp-modules-container .adp-tos-link {
	position:absolute;
	font-size:12px;
	margin-left:-120px;
	margin-top:24px;
	color:#ccc;
	text-decoration:underline;
}

.adp-modules-container .adp-module-logo {
	width: 100%;
    height: auto;
    margin:10px;
}

.adp-modules-container .adp-module-button {
	width:100%;
	margin-top:5px;
}

.adp-modules-container .adp-chbx-container {
	font-size: 24px;
	padding-left:40px;
}

.adp-modules-container .adp-chbx-checkmark {
	width:36px;
	height:36px;
}

.adp-modules-container .adp-chbx-container .adp-chbx-checkmark:after {
	left: 13px;
	top: 7px;
	width: 10px;
	height: 15px;
	border: solid white;
	border-width: 0 4px 4px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.adp-modules-notice {
	display:none;
}

.adp-loader {
	text-align:center;
	display:none;
}




.wp-heading-inline {
  display:none !important;
}

#poststuff #post-body.columns-2 {

  margin-right: 10px;

}

.hndle.ui-sortable-handle span{
  padding: 6px 20px 9px;
  font-size: 20px;
  line-height: 22px;
  font-weight: normal;
}


.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  white-space: nowrap;
  border: 0;
}

.adp-header {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  margin: 0 0 13px;
}

.adp-header__logo {
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  height: 47px;
  margin: 0 10px 0 0;
  padding: 0 0 0 32px;
  color: #000;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAvCAMAAACSXLn7AAABlVBMVEUAAAA/hfR/rzMzqFG+qD3/uwBAhPBAhO3/uwA9qU3/uwD/uwBXfqlOfbo1qFFCg+n/uwBCguRPgsVGgNT/uwD/uwBDgN1jrD7/uwBsrjr/uwBjrT56rzX/uwD/uwBXfaT/uwA/hfJBhO41qVFAhO87qU5AhOxBhOz/uwD/uwBFqkr/uwBBg+dFg95DguFRq0X/uwBJgdFQq0b/uwBXrENQgcBerED/uwBTgbn/uwBerUBIfsv/uwCDsDFJfshMfsJvrjn/uwBPfbf/uwBMfb7/uwAyqFI/hfT/uwD/uwBCgudEguFDqkz/uwBLq0j/uwBFgdpMgs5arEJRq0Y8qU7/uwBDgN1FgNdOq0dJf81Vq0T/uwBMgMdJf8xQgL1LgMldrEFLf8b/uwBKf8d1rjdEf9RxrjlZgK1Hfsx5rjZxrjlGf9L/uwBgrUB4rjb/uwBMfsBZq0NTfq94rjZef53/uwBJfcRhf5ePsS1MfL0/hfT/uwAyqFI+hfc/hfYvqFMtqFQ9hfswqFM+hvk+hfkqp1U/hfO4iTRwAAAAenRSTlMA/Aj+AvHt5+baopspEvPawbyLg2xmXExMPDkwFxcMB/r48e7r4+Hd3NTOycXEta6rnox+fHhvb2daU0w2MzIrHhsZFAkH+e3q387FvLu0squom5WUlI2Hh39/e3Zyb2tqYFxbVlNTUU9NRUNCQT8+OjcxLCcgHRoRDOL/dYoAAAH3SURBVEjHzdNnV6NAFIDhSyC9bxJjTCxr77331e29995731UHZgaI+rs9EzUEzkwI33w+ct6bC4GBRrQtRAZCoaHoQhs0JNevHhloAXfnoqoldMa9v6HWmgI3UdVm3K3PqnYRl/6f3zGQBca3OHn38TcfZ2Dc0V/cZFcLg5SauhmeLjn7r6rDa3Z1pUvXGKr3zNp7JWXPO3KV+xlkfYWpX1+HGs32PvUDmM9Us+g9BbBcs2J/6snxW55mA9ZE4n21X+44bIei2ZZWqJrVtVqm/BaORNi3EGl2fg1/ZM2Gnv8EFa1+9dKc9cuW23uOicQKMFPqvU3g8Y3p9PBuKDU1WTb3wtvsEPTPgYDyMixTqiXCVx8u/ioW83e6xth/mgMxXzGfL6xXv43S5HdQlsGLEihw0jxv99Z/kH576v8GjWde+lhyF9/00L8JYkSSjT5E/F2aEIRQ54ZbeTa+9qUpkw4ijJj91br16oPh3oCECCbo2EcQ+zkqYYwcmsT9U4nVDrvzwv6UlTe0Yd5AXEuCfquTv0BaA76ZMrcn3XHgG+EvwFdAIIi4yo9AIMAfOB0DgcuE1xu3xG/B4D2yeAHEJN6CGQAvK4wJqKN9xDGB8YRS/8iky8hCyr2vXI9OJoAxqdSY9GU2wN3/F6PJ7guBvuH7Szsu6QGgR1MDT8lOpQAAAABJRU5ErkJggg==") no-repeat;
  font-size: 23px;
}

.adp-button {
  padding: 7px 22px;
  color: #FFF;
  border: none;
  border-radius: 3px;
  background: #4285F4;
  box-shadow: 0 4px #3165BC;
  font: inherit;
  font-size: 14px;
  font-weight: bold;
}

.adp-button:not([disabled]) {
  cursor: pointer;
}

.adp-button:disabled {
  background: #CBCCCC;
  box-shadow: 0 4px #989B9D;
}

.adp-button:active {
  -webkit-transform: translate(0, 2px);
  transform: translate(0, 2px);
  box-shadow: 0 2px #3165BC;
}

.adp-button--green {
  background: #34A853;
  box-shadow: 0 4px #278040;
}

.adp-button--green:active {
  box-shadow: 0 2px #278040;
}

.adp-section {
  background: #FFF;
}

.adp-section__heading {
  padding: 6px 20px 9px;
  background: #FBBC04;
  font-size: 20px;
  line-height: 22px;
}

.adp-section__inner {
  padding: 20px 19px;
  border: 1px solid #E5E5E5;
  border-top: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
  font-size: 15px;
}

.adp-row {
  display: -webkit-flex;
  display: flex;
}

.adp-row:not(:last-child) {
  margin-bottom: 20px;
}

.adp-row__title {
  width: 165px;
  padding: 5px 20px 0 0;
  font-size: 16px;
  font-weight: bold;
}

.adp-row__title-note {
  color: #898A8A;
  font-size: 14px;
  font-weight: normal;
}

.adp-row__content {
  -webkit-flex-basis: 0;
  flex-basis: 0;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  padding: 5px 0 0;
}

.adp-row__input {
  display: block;
  width: 100%;
  margin: -5px 0 0;
  padding: 4px 5px;
  border: 1px solid #DDD;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07);
  font: inherit;
  font-size: 14px;
}

.adp-row__input--number {
  width: 100px;
  margin: 0 0 0 10px;
}
.adp-row__input--string {
    width: 280px;
    margin: 0 0 0 10px;
    line-height: 1;
    max-width: 100%;
    height: 28px;
}

.adp-option {
  margin: 0 0 18px;
}

.adp-option label {
  font-weight: bold;
}

.adp-option label + label {
  margin-left: 85px;
}

.adp-option__inner {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

.adp-option__info {
  margin: 7px 0 0;
  color: #646D78;
  line-height: 22px;
}

.adp-section__note {
  color: #000;
  font-size: 13px;
}

.adp-section__note a {
  color: #000;
}

.adp-section__info {
  margin: -20px 0 0;
  color: #646D78;
}

.adp-form__button {
  margin: 20px 0 0;
}

.adp-checkboxs {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -36px;
}

.adp-checkboxs-wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.adp-checkbox {
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  cursor: pointer;
  font-weight: bold;
}

.adp-checkboxs .adp-checkbox {
  margin: 0 36px;
}

.adp-checkboxs-wrap .adp-checkbox {
  margin: 0 10px;
}

.adp-checkbox__indicator {
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0 10px 0 0;
  border-radius: 3px;
  background: #AAABAB;
}

.adp-checkbox__input:checked + .adp-checkbox__indicator {
  background: #34A853;
}

.adp-checkbox--premium .adp-checkbox__input:checked + .adp-checkbox__indicator {
  background: #A434A8;
}

.adp-checkbox__input:checked + .adp-checkbox__indicator::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 8px;
  height: 5px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  border-bottom: 2px solid #FFF;
  border-left: 2px solid #FFF;
}

.adp-modules {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -10px -20px;
}

.adp-module {
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  width: calc(25% - 20px);
  margin: 0 10px 20px;
  padding: 15px 13px 8px;
  border: 1px solid #E7E7E8;
  border-radius: 3px;
}

.adp-module__title {
  margin: 0 0 9px;
  text-align: center;
  text-transform: uppercase;
  font-size: 19px;
}

.adp-module__free {
  position: absolute;
  top: 10px;
  right: -10px;
  width: 85px;
  height: 50px;
  padding: 6px 0 0 10px;
  text-align: center;
  text-transform: uppercase;
  color: #FFF;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAAAyCAMAAAAa2meKAAABGlBMVEUAAADSPUbSPUbSPUbj6en0zM7FpqjRNT/RNkDSOkPROULXUVnURk/poKXrqKznmZ7SPEXRNkDROUPTPEbTQ0zURU3gd37dbXTik5necXfgeH7usrblj5TxxMfLhIjEr7DHq6zDoqTwvcDPLzjQNj/WT1jQN0DTPkjWUFjTQkvgdXzZWWHbZGvbZm7ebnXcaXDaX2febnXXVV3ZXmXecXjedHrjhYvROEHki5DRMjzutLjdbHPpoKXts7bgfYLpoqbk9/bSPUbwvcDPLzj////ROULYP0jQNkCJICbSO0SkKzLPpKaLIiiEHiSGGiGDExrPqKrSMTqhIyt+DxX8/PzrzM3xu77SqqzCjpHSNkCoLTSFICaBGB6EFBv/ZnuKAAAAQXRSTlMA9PA6FAL58/ra+be3QB0X6+fl38upeXJHR0AaEwf6+fn59PTrzs6+raako5aKh4B8eXdtXlZNPz46NDMvLhUPCWeejl4AAAEvSURBVFjDtdYHUsMwFATQDSAc27EdUkgj9N5771jIpqbQy/2vgTLkCH/3AG80Gunvx7mfzQhnZhoI3PRKNjfXACqGoTZXDEHF6YImqNjzGKpacwgqwpImqAgKKUFVlRGCiotFQ1BxVtIEVe2aVF6FWjUEFWHOI6io5VOCilGHoY7lNEHFcTElqFhuE9RoTsuranOWcK/7BcIbCMuaoK5nCX+r7hLmQMP35NXmtiHM16pL6AI7AghtuMVow3qe0NyNcpawZWxYVFw9nCdsb5Fv5FW14xC24sAlbPDRkiaotq7l1VoxMyAT5/P2P+03nBwMyuSoOt6566Xz9Qq5XE50H21+vlsvgurQ8HOSJE8P73EsrFr0PpZWLdqKxdXeScXVbmJRaXXq16Li6uRH3M8fgVwWy50ixycAAAAASUVORK5CYII=");
  font-size: 9px;
  line-height: 1;
}

.adp-module__free span {
  display: block;
  margin: -2px 0 0;
  font-size: 23px;
}

.adp-module__image {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  height: 130px;
  margin: 0 0 4px;
}

.adp-module__info {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  -webkit-justify-content: center;
  justify-content: center;
  margin: 0 0 11px;
  text-align: center;
  color: #3F4041;
  font-size: 14px;
  line-height: 17px;
}

.adp-module__bottom {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin: auto -5px 0;
}

.adp-module__checkbox {
  width: 130px;
  margin: 0 5px 10px;
  color: #646D78;
  font-weight: normal;
  line-height: 1;
}

.adp-module__checkbox .adp-checkbox__indicator {
  margin-right: 7px;
}

.adp-module__terms {
  display: table;
  margin: -5px 0 0 27px;
  color: #646D78;
  font-size: 9px;
}

.adp-module__button {
  margin: 0 5px 10px;
}

.adp-module__button.adp-button--green {
  padding-right: 15px;
  padding-left: 15px;
}
