#main-block {
  font-family: Verdana, Arial, sans-serif;
  margin: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}

#main-block #fields-block,
#main-block #editor-block,
#main-block #field_options {
  padding: 5px !important;
  border: none;
}

#content-block .content-row {
  cursor: pointer;
  margin: 5px;
  display: flex;
  min-height: 40px;
}

/*----------------------------accordion-----------------------------------*/
.ui-accordion-header {
  /*margin-top: 20px !important;*/
  background: #34404C !important;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.ui-helper-clearfix {
  min-height: 19px;
}

.ui-tabs .ui-tabs-nav li {
  width: 33.33333%;
  margin: 0;
  background: #34404C;
  border-radius: unset;
  border: none;
}

.styling-form-content,
.styling-column-content,
.styling-row-content,
.styling-field-content,
.main-fields-content {
  background-color: rgba(0, 167, 142, 0.35);
  overflow-x: hidden !important;
}

.main-fields-content {
  padding-top: 5px !important;
}

.styling-form-content h2,
.styling-column-content h2,
.styling-row-content h2,
.styling-field-content h2,
.main-fields-content h2 {
  margin: 10px 0 0 0;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
}

.styling-form-content .colum-3,
.styling-column-content .colum-3,
.styling-row-content .colum-3,
.styling-field-content .colum-3,
.main-fields-content .colum-3 {
  display: block;
  padding: 0 0 0 5px;
}

.styling-form-content .colum-2 .minicolors,
.styling-column-content .colum-2 .minicolors,
.styling-row-content .colum-2 .minicolors,
.styling-field-content .colum-2 .minicolors,
.main-fields-content .colum-2 .minicolors {
  display: inline-block;
}

.styling-field-content .colum-2 .minicolors input,
.main-fields-content .colum-2 .minicolors input {
  /*display: none !important;*/
}

#editor-block.active {
  background: rgba(52, 64, 76, 0.4);
  padding: 10px;
  margin-top: 13px;
}

#content-block .drop-area,
.drop-area.activeDroppable {
  min-height: 40px;
  margin: 5px;
  border: 1px dashed #1CB09A;
}

#content-block .content-row.active {
  background: rgba(52, 64, 76, 0.4);
}

#content-block .drop-area.active {
  background: rgba(52, 64, 76, 0.4);
}


#content-block .drop-item {
  margin: 5px 0;
  min-height: 27px;
  padding: 5px;
  width: 100%;
  background-color: rgba(0, 167, 142, 0.35);
  position: relative;
}

#content-block .drop-item.active-field {
  background: #1CB09A;
}

.admin_aria_hidden {
  display: none !important;
}

#content-block .layout-name {
  display: block;
}

/*#content-block .layout-name,*/
#content-block span[class*="hide-field-name-"]:nth-child(3) {
  background-color: #fff;
  /*padding: 5px;
  font-weight: 900;*/
}

div[id^="cck_column-"] {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

body.com_os_cck {
  padding: 40px 0 !important;
}

.admin-header {
  cursor: default;
  padding: 0px;
  background: #34404C;
  height: 40px;
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 99999;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
  background: #1CB09A !important;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
}

.ui-state-active a,
.ui-widget-content .ui-state-active a,
.ui-widget-header .ui-state-active a {
  font-weight: 900;
  padding: 10px !important;
}

.ui-widget-content a {
  color: #fff;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
  color: #fff;
}

#field_options a:focus {
  outline: none;
}

#field_options .ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited {
  color: #ddd;
}


#options-tab-1 div[id^="options-field-"],
#options-tab-2 div:first-child {
  /*margin-top: 50px;*/
}

.ui-accordion .ui-accordion-content {
  padding: 0 5px 10px 5px;
}


.ui-accordion .ui-accordion-content .colum-1 {
  width: 100px;
}


#title-block {
  margin: 5px 0;
  padding-left: 0 !important;
}

#layout-title {
  /*margin-left: 9px;*/
  padding-right: 34px;
  padding-top: 6px;
}

#layout-title input {
  width: 100%;
  border-radius: 0;
  border: 1px solid gray;
  height: 28px;
  padding-left: 5px;
}

span.delete-row {
  cursor: pointer;
  margin-top: -4px;
  width: 15px;
  height: 15px;
  right: 8px;
  z-index: 999;
  position: absolute;
  background-image: url("../../images/delete-row.png");
  opacity: 0.8;
}

span.delete-field,
span.delete-layout,
span.delete-module,
span.delete-child-entity {
  float: right;
  cursor: pointer;
  position: absolute;
  width: 15px;
  height: 15px;
  right: -5px;
  top: -5px;
  background-image: url("../../images/delete-row.png");
  opacity: 0.5;
}

span.delete-row:hover,
span.delete-field:hover,
span.delete-layout:hover,
span.delete-module:hover {
  background-image: url("../../images/delete-row.png");
  opacity: 1;
}

#fields-block {
  margin-top: 5px;
}

#fields-block .field-block,
#attached-block .attached-layout-block,
#attached-block .attached-module-block {
  padding: 2px 5px;
  cursor: pointer;
  min-height: 25px;
  margin: 0px 0px;
}

#fields-block .field-block:hover,
#attached-block .attached-layout-block:hover,
#attached-block .attached-module-block:hover {
  color: white;
  background-color: #34404C;
  cursor: grab;
  cursor: -webkit-grab;
  cursor: -moz-grab;
}

#field_options label {
  font-weight: bold;
  font-size: 13px;
  color: #34404C;
}

div[id^="popover"] {
  color: black;
}

#editor-block {
  cursor: default;
}

#editor-block .new-row {
  display: block;
  margin: 0 auto;
}

#editor-block,
#fields-block {
  padding-top: 5px;
}

#layout-buttons input:hover {
  border: 1px inset black;
}

#layout-buttons {
  padding: 0;
}

#layout-buttons div {
  display: inline-block;
  margin: 0;
}

#layout-buttons input {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  color: white;
  border: 1px solid white;
  height: 30px;
  background-color: #2F8918;
}

#layout-buttons .apply input {
  width: 80px;
  height: 30px;
  font-size: 16px;
  background-color: #1CB09A;
}

#layout-buttons .apply input:hover {
  background-color: #34404C;
}

#layout-buttons .save input {
  height: 30px;
  width: 120px;
  background-color: #00BCD8;
  font-size: 16px;
}

#layout-buttons .save input:hover {
  background-color: #0574B4;
}

textarea {
  width: 100%;
}

#layout-buttons .cancel input {
  width: 80px;
  height: 30px;
  background-color: #DA0000;
  font-size: 16px;
}

#layout-buttons .cancel input:hover {
  background-color: #95000C;
}


#layout-modal .modal-dialog,
#editor-modal .modal-dialog {
  margin: 5% auto;
  width: 750px;
}

#editor-modal .modal-dialog {
  width: 100%;
}

#layout-modal .modal-dialog .columns,
#editor-modal .modal-dialog .columns {
  cursor: pointer;
  text-align: center;
  margin: 50px 25px;
}

#layout-modal .modal-dialog .columns img:hover,
#editor-modal .modal-dialog .columns img:hover {
  opacity: 0.7;
}

#layout-modal .columns input,
#editor-modal .columns input {
  display: none;
}

.modal-header {
  border-bottom: none !important;
}

.modal-header .close {
  opacity: 1;
  width: 15px;
  height: 15px;
  margin: 5px !important;
  position: absolute;
  right: -5px;
  top: -5px;
  background-image: url("../../images/delete-row.png");
  opacity: 0.7;
}

.modal-header .close:hover {
  opacity: 1;
  background-image: url("../../images/delete-row.png");
}

#editor-block #add-row,
#attached-block #add-layout,
#attached-block #add-module,
#new-field-block #add-field,
#attached-block #add-child-enteties {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  color: white;
  border: 1px solid white;
  width: auto;
  font-size: 16px;
  padding: 5px 10px;
  height: revert-layer;
  background-color: #1CB09A;
  line-height: 1;
}

#editor-block #add-row:hover,
#attached-block #add-layout:hover,
#attached-block #add-module:hover,
#new-field-block #add-field:hover {
  background-color: #34404C;
}

#attached-block {
  margin-top: 20px;
  padding-bottom: 5px;
}

#new-field-block {
  margin-top: 5px;
}

#attached-block .new-layout {
  display: block;
  margin: 10px auto;
}

#new-field-block .new-field {
  display: block;
  margin: 0px auto;
}

#attached-block .layout-title,
#new-field-block .layout-title {
  margin-bottom: 5px;
  padding: 3px 0;
  cursor: default;
  text-align: center;
  color: #fff;
  background: #34404C;
  font-size: 18px;
}

#fields-block-title {
  display: block;
  margin: 0px auto;
}

#fields-block-title .fields-search .cck-main-field-search {
  width: 100%;
  margin: 0 0 10px 0;
  padding: 5px;
}

#fields-block-title .fields-title {
  margin-bottom: 5px;
  padding: 3px 0;
  cursor: default;
  text-align: center;
  color: #fff;
  background: #34404C;
  font-size: 18px;
}

#attached-layout-modal-Label,
#layout-modalLabel,
#attached-module-modal-Label,
#add-field-modal-Label,
#field-mail-modal-Label,
#field-custom-modal-Label,
#attached-layout-modal-Label,
.modal-title {
  cursor: default;
  padding: 5px;
  color: #fff;
  background: #34404C;
}

#attached-layout-modal .modal-dialog,
#attached-module-modal .modal-dialog,
#field-mail-modal .modal-dialog,
#field-custom-modal .modal-dialog,
#add-field-modal .modal-dialog {
  margin: 5% auto;
  width: 750px;
}

#attached-layout-modal .modal-body,
#attached-layout-modal .modal-body,
#attached-module-modal .modal-body,
#field-mail-modal .modal-body,
#field-custom-modal .modal-body,
#add-field-modal .modal-body {
  padding: 0px 20px 20px 20px;
}

#attached-layout-modal .modal-body .row,
#attached-module-modal .modal-body .row,
#field-mail-modal .modal-body .row,
#field-custom-modal .modal-body .row {
  cursor: pointer;
  min-height: 30px;
}

#attached-layout-modal .modal-body .row:hover,
#attached-module-modal .modal-body .row:hover,
#field-mail-modal .modal-body .row:hover,
#field-custom-modal .modal-body .row:hover {
  color: black;
  background-color: rgba(0, 188, 216, 0.15);
}

#attached-layout-modal .modal-body .row:first-child:hover,
#attached-module-modal .modal-body .row:first-child:hover,
#field-mail-modal .modal-body .row:first-child:hover,
#field-custom-modal .modal-body .row:first-child:hover {
  cursor: default;
  background-color: white;
}

#attached-layout-modal .modal-body label,
#attached-module-modal .modal-body label,
#field-mail-modal .modal-body label,
#field-custom-modal .modal-body label,
#add-field-modal .modal-body label {
  padding-right: 5px;
}

#attached-layout-modal .modal-body span,
#attached-module-modal .modal-body span,
#field-mail-modal .modal-body span,
#field-custom-modal .modal-body span,
#add-field-modal .modal-body span {
  padding-top: 5px;
}

#attached-layout-modal .modal-dialog,
#attached-module-modal .modal-dialog,
#add-field-modal .modal-dialog,
#field-mail-modal .modal-dialog,
#field-custom-modal .modal-dialog {
  width: 1000px;
}

.f-inform-button {
  margin: 7px 5px;
  float: left;
  width: 15px;
  height: 15px;
  display: inline-block;
  opacity: 1;
  background-image: url("../../images/F.png");
  background-size: contain;
}

.l-inform-button {
  margin: 7px 5px;
  float: left;
  width: 15px;
  height: 15px;
  display: inline-block;
  opacity: 1;
  background-image: url("../../images/L.png");
  background-size: contain;
}

.m-inform-button {
  margin: 7px 5px;
  float: left;
  width: 15px;
  height: 15px;
  display: inline-block;
  opacity: 1;
  background-image: url("../../images/M.png");
  background-size: contain;
}

.e-inform-button {
  margin: 7px 5px;
  float: left;
  width: 15px;
  height: 15px;
  display: inline-block;
  opacity: 1;
  background-image: url("../../images/E.png");
  background-size: contain;
}

/*-----------------------------tab filed options style-------------------------------*/
#field_options div[id^="options-field-"] {
  display: none;
}

#field_options div[id^="options-field-"] div,
#field_options div[id^="styling-"] div {
  min-height: 30px;
  margin: 10px 0 5px 0;
}

#field_options div[id^="options-field-"]>div {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

@media(max-width: 992px) {
  #field_options div[id^="options-field-"] div {
    display: block;
  }
}

#field_options div[id^="options-field-"] div.php_show {
  display: block;
}

#field_options div[id^="options-field-"] div.php_show label {
  display: block;
}

#field_options div[id^="options-field-"] div.php_show input.new-mask {
  float: left;
  max-width: 200px;
}

#field_options div[id^="options-field-"] div.php_show .editor-button {
  float: right;
  display: inline-block;
  margin-top: 12px;
}

#field_options div[id^="options-field-"] .minicolors-picker,
#field_options div[id^="options-field-"] .minicolors-picker div,
#field_options div[id^="options-field-"] .minicolors-grid-inner,
#field_options div[id^="styling-"] .minicolors-picker,
#field_options div[id^="styling-"] .minicolors-picker div,
#field_options div[id^="styling-"] .minicolors-grid-inner {
  min-height: 0;
  margin: 0;
}

#field_options div[id^="styling-"] div .colum-1 {
  margin: 0 0 0 5px;
}

#field_options div[id^="options-field-"] .access-label {
  float: left;
  margin: 33px 0 0 0;
}

#field_options div[id^="options-field-"] input[type="checkbox"] {
  min-height: 18px;
  width: 18px
}

#field_options div label {
  padding: 0;
  margin: 0;
  /*width: 43%;*/
  width: 50%;
  max-width: 130px;
  /*float: left;*/
  line-height: 25px;
}

#field_options .category-options label {
  padding: 5px 0;
  margin: 0;
  width: 40%;
  float: none;
  vertical-align: top;
}

#field_options .category-options select {
  margin: 5px 0;
  padding: 4.5px;
}

#field_options div span label {
  padding: 0;
  margin: 0;
  width: 40%;
  float: none;
}

#field_options div input {
  padding: 0 0 0 5px;
  display: inline-block;
  /*width: 100%;*/
  width: 175px;
  min-height: 25px;
  max-height: 30px;
  border: none;
}

#field_options div input.new-mask {
  margin: 15px 0;
}

@media(min-width: 1281px) {
  #field_options div input {
    width: 200px;
  }
}

@media(min-width: 1600px) {
  #field_options div input {
    width: 92%;
  }
}

@media(max-width: 1024px) {
  #field_options div input {
    width: 240px;
  }
}

@media(max-width: 992px) {
  #field_options div input {
    width: 100%;
  }
}



#field_options div .marg .styling_number,
#field_options div span .styling_number,
#field_options div .width-height {
  width: 63px;
}

#field_options div input[type="radio"] {
  width: 20px;
}

/* #field_options div input[name="fi_"],
 #field_options div input[name="fi_"] {
   width: 160px;
 }*/
#field_options div input[type="checkbox"] {
  width: auto;
  vertical-align: top;
}

/*-------------stylin row---------------------*/
div[id^="styling-"] {
  padding: 0 10px 10px 10px;
}

/*--------------------------select layout------------------------------*/
#field_options option:hover,
#field_options option:focus,
#field_options option:active,
#field_options option:checked {
  background: linear-gradient(#1CB09A, #1CB09A);
}

#field_options div select {
  margin: 0;
  background: #fff;
  border: none;
  width: 100%;
  max-width: 170px;
  min-height: 30px;
  max-height: 30px;
}

textarea {
  border: none;
}

.os_cck_caption {
  font-size: 13px;
}

/*.inputbox {
  width: 60%;
}*/
/*-------------------margin padding input----------------*/
.marg {
  display: inline-block;
  width: 70px;
}

#field_options .marg label {
  padding: 0;
  margin: 0;
  color: gray;
  text-transform: uppercase;
  font-size: 9px;
  width: 100%;
  text-align: center;
  font-weight: 900;
}

/*----------------colorpicker-------------------------*/
#field_options div .minicolors-input {
  width: 160px;
  padding: 0 0 0 6px;
  font-size: 11px;
  line-height: 20px;
}

#field_options div .minicolors-swatch {
  top: 2.5px !important;
  left: auto !important;
  right: 2px !important;
  width: 21px;
  height: 21px;
}

/*------------------------spinner--------------------------------*/
.cck-spiner {
  width: 100px;
  height: 100px;
  margin: 25vh auto 300px;
}

.cck-spiner .spiner-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  background: #34404C;
}

.cck-spiner .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #1CB09A;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
  animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}

.cck-spiner .sk-cube1 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.cck-spiner .sk-cube2 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.cck-spiner .sk-cube3 {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.cck-spiner .sk-cube4 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.cck-spiner .sk-cube5 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.cck-spiner .sk-cube6 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.cck-spiner .sk-cube7 {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.cck-spiner .sk-cube8 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.cck-spiner .sk-cube9 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

@-webkit-keyframes sk-cubeGridScaleDelay {

  0%,
  70%,
  100% {
    -webkit-transform: scale3D(1, 1, 1);
    transform: scale3D(1, 1, 1);
  }

  35% {
    -webkit-transform: scale3D(0, 0, 1);
    transform: scale3D(0, 0, 1);
  }
}

@keyframes sk-cubeGridScaleDelay {

  0%,
  70%,
  100% {
    -webkit-transform: scale3D(1, 1, 1);
    transform: scale3D(1, 1, 1);
  }

  35% {
    -webkit-transform: scale3D(0, 0, 1);
    transform: scale3D(0, 0, 1);
  }
}


#content-block .content-row {
  z-index: 50 !important;
}

#content-block .content-row .items {
  z-index: 52 !important;
  padding: 0 5px;
}

#attached-block .attached-module-block,
#attached-block .attached-layout-block {
  position: relative;
  z-index: 53 !important;
}

.attached-module-block,
.attached-layout-block {
  display: block;
}

#content-block .content-row .items .drop-item {
  z-index: 53 !important;
}

.field-block,
.attached-child-entity-block {
  z-index: 55 !important;
}

/************************************=========================**************************************/
#field_options div[id^="styling-"] .optionCckl {
  width: 50px;
  height: 25px;
  min-height: 25px;
  background: linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -webkit-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -moz-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  margin: 5px 0 5px 5px;
  position: relative;
  display: inline-block;
  float: left;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
}

#field_options div[id^="styling-"] .optionCckl_font {
  width: 75px;
  height: 25px;
  min-height: 25px;
  background: linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -webkit-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -moz-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  margin: 5px 0 5px 5px;
  position: relative;
  display: inline-block;
  float: left;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
}

.optionCckl:after {
  content: 'px';
  color: #fff;
  position: absolute;
  right: 16px;
  top: -2px;
  z-index: 2;
  font-weight: 700;
  line-height: 25px;
  font-size: 13px;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -webkit-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -moz-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -o-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
}

.optionCckl_font:after {
  content: 'normal';
  color: #fff;
  position: absolute;
  right: 16px;
  top: -2px;
  z-index: 2;
  font-weight: 700;
  line-height: 25px;
  font-size: 13px;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -webkit-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -moz-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -o-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
}

.optionCckl label.checken {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  z-index: 3;
  background: transparent;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

.optionCckl_font label.checken {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  z-index: 3;
  background: transparent;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

#field_options div[id^="styling-"] .optionCckr {
  width: 50px;
  height: 25px;
  min-height: 25px;
  background: linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -webkit-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -moz-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  margin: 5px 5px 5px 0;
  position: relative;
  display: inline-block;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
}

#field_options div[id^="styling-"] .optionCckr_font {
  width: 75px;
  height: 25px;
  min-height: 25px;
  background: linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -webkit-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -moz-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  margin: 5px 5px 5px 0;
  position: relative;
  display: inline-block;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
}

.optionCckr:after {
  content: '%';
  color: #fff;
  position: absolute;
  right: 21px;
  z-index: 2;
  font-weight: 700;
  line-height: 25px;
  font-size: 13px;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -webkit-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -moz-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -o-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
}

.optionCckr_font:after {
  content: 'bold';
  color: #fff;
  position: absolute;
  right: 21px;
  z-index: 2;
  font-weight: 700;
  line-height: 25px;
  font-size: 13px;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -webkit-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -moz-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -o-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
}

.optionCckr label.checken {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  z-index: 3;
  background: transparent;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

.optionCckr_font label.checken {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  z-index: 3;
  background: transparent;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

/*--------------------------options style------------------------------*/
.option,
.option-title {
  display: inline-block;
}

.option {
  width: 60%;
}

.option input[type=radio] {
  visibility: hidden;
  position: absolute;
}

.option-title {
  width: 40%;
  float: left;
  clear: both;
  font-size: 16px;
}

.optionCckl_font .checken,
.optionCckr_font .checken,
.optionCckl .checken,
.optionCckr .checken,
.optionCckl_inline_field .checken,
.optionCckr_inline_field .checken {
  margin: 0 !important;
  width: 100% !important;
}

/*----------------------menu modal-------------------------*/
.contentpane {
  #manageLayoutModal {
    .modal-title {}
  }
}

/*-----------------------responsive--------------------------*/

@media (max-width: 1280px) {
  .option {
    width: 100%;
  }

  .container-main,
  .container-fluid {
    padding: 0 !important;
  }

  #content-block .content-row {
    /*margin: 5px -15px;*/
  }
}

@media (max-width: 1024px) {
  .admin-header {
    height: 80px;
  }

  .admin-header #title-block {
    text-align: center;
  }

  body.com_os_cck {
    padding: 80px 0 40px 0 !important;
  }
}

@media (max-width: 768px) {
  .admin-header {
    height: 120px;
  }

  .admin-header #layout-title {
    padding-right: 0;
  }

  body.com_os_cck {
    padding: 120px 0 40px 0 !important;
  }
}

#cckEditor_ifr {
  height: 100% !important;
}

/*---------------------------------------------------2.0.0--------------------------------------------*/
.field-block [data-field-name="cck_send_button"],
.field-block [data-field-name="cck_search_field"],
.field-block [data-field-name="cck_instance_navigation"],
.field-block [data-field-name="cck_cal_import"],
.field-block [data-field-name="cck_booking_cal"],
.field-block [data-field-name="category_image"],
.field-block .cck_calculated_price,
.field-block [data-field-name="cck_pdf_button"],
.field-block [data-field-name="cck_add_to_cart_button"],
.field-block [data-field-name="cck_number_of_views"],
.field-block [data-field-name="cck_mail"],
.field-block [data-field-name="coupon"],
.field-block [data-field-name="total_price"],
.field-block [data-field-name="joom_alphabetical"],
.field-block [data-field-name="joom_pagination"],
.field-block [data-field-name="all_instance_map"],
.field-block [data-field-name="all_instance_order_by"],
.field-block [data-field-name="calendar_table"],
.field-block [data-field-name="calendar_month_year"],
.field-block [data-field-name="calendar_pagination"],
.field-block [data-field-name="category_order_by"],
.field-block [data-field-name="joom_instance_count"],
.field-block [data-field-name="category_map"],
.field-block [data-field-name="category_description"],
.field-block [data-field-name="category_title"],
.field-block [data-field-name="user_map"],
.field-block [data-field-name="user_order_by"],
.field-block [data-field-name="parent_child_order_by"],
.field-block [data-field-name="parent_child_map"],
.field-block [data-field-name="price_search"],
.field-block [data-field-name="button_continue_shopping"],
.field-block [data-field-name="product_for_cart"],
.field-block [data-field-name*="cck_action_button_"],
.field-block [data-field-name="cck_review_pagination"],
.field-block [data-field-name="cck_review_order_by"] {
  background-color: #e66e6e;
}

.field-popover,
.drop-item {
  display: block !important;
}

.close-field-modal {
  float: right;
  color: black;
  width: 80px;
  height: 30px;
  background-color: #DA0000;
  border: 1px solid white;
  color: white;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.close-field-modal:hover {
  background-color: #95000C;
}

#add-field-modal .modal-dialog {
  height: 80%;
  width: 95%;
}

#add-field-modal .modal-content {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}

#add-field-modal .modal-body {
  /*overflow-y: scroll;*/
}

#add-field-modal .modal-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: right;
}

#location-modal-map {
  width: 100%;
  height: 400px;
}

.link-field {
  color: #0574B4;
}

.link-field:hover {
  color: #00BCD8;
  cursor: pointer;
}

/*-----------------------edit layout--------------------*/
body.com_os_cck #field_options div #vi_show_navigation {
  margin: 5px 0;
}

/*---------------------add fields---------------*/
.modal-body .adminlist .edit-field-name-icon,
.modal-body .add-field-button-block .save-close-new-field input[type="button"],
.modal-body .add-field-button-block .add-new-field input[type="button"] {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  color: white;
  border: 1px solid white;
  font-size: 16px;
  padding: 5px 15px;
  background-color: #1CB09A;
}

.modal-body .adminlist .edit-field-name-icon:hover,
.modal-body .add-field-button-block .save-close-new-field input[type="button"]:hover,
.modal-body .add-field-button-block .add-new-field input[type="button"]:hover {
  background-color: #34404C;
}

.modal-body .adminlist .cancel-edit-firld-name,
.modal-body .add-field-button-block .delete-layout-field input[type="button"] {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  color: white;
  border: 1px solid white;
  padding: 5px 15px;
  font-size: 16px;
  background-color: #DA0000;
}

.modal-body .adminlist .cancel-edit-firld-name:hover,
.modal-body .add-field-button-block .delete-layout-field input[type="button"]:hover {
  background-color: #95000C;
}

.modal-body .adminlist .save-new-layout-field-name,
.modal-footer button[type="button"] {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  color: white;
  border: 1px solid white !important;
  padding: 5px 15px;
  font-size: 16px;
  background-color: #00BCD8;
}

.modal-footer {
  border: none !important;
}

.modal-body .adminlist .save-new-layout-field-name:hover,
.modal-footer button[type="button"]:hover {
  background-color: #0574B4;
}

.modal-body .add-field-button-block .entity-search {
  display: inline-block;
}

.modal-body .adminlist .edit-field-name-icon {
  cursor: pointer;
  text-align: center;
  margin-right: 15px;
}

.modal-body .adminlist .field-name-list {
  line-height: 1;
  padding: 0 5px !important;
}

.modal-body .adminlist .save-new-layout-field-name,
.modal-body .adminlist .cancel-edit-firld-name {
  /* float: right;*/
  cursor: pointer;
}

/* .modal-body .adminlist .save-new-layout-field-name {
   margin-right: 15px;
 }*/

/*------------------------location map------------------------------*/
.modal-body .location-modal-address-block .modal-address-block label {
  width: 30%;
  float: left;
}

.modal-body .location-modal-address-block .modal-address-block {
  margin-bottom: 10px;
}

.modal-body .location-modal-address-block .modal-address-block input {
  width: 70%;
}

.modal-body .location-modal-map-block {
  padding: 10px 0;
}

.modal-body .location-modal-map-block .location-modal-as-show-block {
  padding: 10px 0;
}

.location-modal-map-block .location-option-block {
  display: block;
}

.location-modal-map-block .location-option-block .location-option {
  display: inline-block;
}

.location-modal-map-block input[type="button"] {
  margin: 15px 0;
}


.modal-body .add-field-button-block {
  margin-bottom: 10px;
}

.modal-body .add-field-block div {
  margin-bottom: 10px;
}

.modal-body #allowed-block-check textarea,
.modal-body #allowed-block-radio textarea,
.modal-body #default-block textarea,
.modal-body #allowed-block-pricefield-select textarea {
  border: 1px solid gray;
}

.resizable .col-helper {
  font-size: 14px;
  vertical-align: middle;
  text-align: center;
  color: #999;
  font-weight: bold;
  margin: 0;
  line-height: 40px;
}

.one_allow_fields_row {
  margin: 5px;
}

.one_allow_fields_row .signModal {
  margin-top: 7px;
}

.one_allow_fields_row .glyphicon-plus-sign.signModal:hover {
  color: #1CB09A;
  cursor: pointer;

}

.one_allow_fields_row .glyphicon-minus-sign.signModal:hover {
  color: #e66e6e;
  cursor: pointer;
}

.one_allow_fields_row input,
.one_allow_fields_row select {
  height: 30px;
}

/*.one_allow_fields_row{
  margin-bottom: 5px;
}*/


.addMaskCustom:hover {
  color: #e66e6e;
  transition: .3s;
}

.alert-layout .alert {
  margin-bottom: 0;
  margin-top: 10px;
  padding: 5px;
}

.alert-dismissible .close {
  position: relative !important;
  top: -22px !important;
  right: 0px !important;
  color: #000 !important;
  opacity: 0.5 !important;
}

.alert-layout [aria-hidden=true] {
  line-height: 55px;
}

.alert-layout .not-show-alert {
  margin-left: 5px;
}

.ui-resizable-handle.ui-resizable-e:before {
  content: "\f142";
  font-family: FontAwesome;
  color: #666;
  font-size: 25px;
  position: relative;
  right: -5px;
}

.ui-resizable-handle.ui-resizable-e {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center
}

/************************************=========================**************************************/

#field_options div[id^="styling-"] .optionCckl_inline_field {
  width: 75px;
  height: 25px;
  min-height: 25px;
  background: linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -webkit-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -moz-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  margin: 5px 0 5px 5px;
  position: relative;
  display: inline-block;
  float: left;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  text-align: center;
}

.optionCckl_inline_field:after {
  content: 'No';
  color: #fff;
  position: absolute;
  right: 28px;
  /*top: -2px;*/
  z-index: 2;
  font-weight: 700;
  line-height: 25px;
  font-size: 13px;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -webkit-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -moz-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -o-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
}

.optionCckl_inline_field label.checken {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  z-index: 3;
  background: transparent;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}


#field_options div[id^="styling-"] .optionCckr_inline_field {
  width: 75px;
  height: 25px;
  min-height: 25px;
  background: linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -webkit-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  background: -moz-linear-gradient(top, #34404C 0%, #34404C 40%, #232C35 100%);
  margin: 5px 5px 5px 0;
  position: relative;
  display: inline-block;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
}

.optionCckr_inline_field:after {
  content: 'Yes';
  color: #fff;
  position: absolute;
  right: 25px;
  z-index: 2;
  font-weight: 700;
  line-height: 25px;
  font-size: 13px;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -webkit-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -moz-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
  -o-text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
}

.optionCckr_inline_field label.checken {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  z-index: 3;
  background: transparent;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

.child_entity_fields_check label {
  margin-left: 5px;
}

.child_entity_fields_check {
  display: inline-block;
  margin: 10px;
  border: 1px solid;
  padding: 3px;
}

/*------------------------------------ new styles (27.06.2019) --------------------------------------------*/

/*  Child Enteties, Booking calendar, Price fields  */

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



/*-------------------------------------------------------------------*/
/* Child Enteties */
/*-------------------------------------------------------------------*/

form#adminForm div.modal div.modal-dialog {
  margin: 60px auto;
}

form#adminForm div#attached-child-enteties-modal .modal-header .close {
  right: 0;
  top: 0;
}

form#adminForm div#attached-child-enteties-modal .modal-title {
  margin-top: 10px;
}

form#adminForm div#attached-child-enteties-modal select#add_child_enteties {
  margin-left: 15px;
}

form#adminForm div#attached-child-enteties-modal #modal_fields_options {
  margin-top: 15px;
}

form#adminForm div#attached-child-enteties-modal #modal_fields_options .child_entity_fields_check {
  margin: 10px 10px 10px 0;
}

form#adminForm div#attached-child-enteties-modal #modal_fields_options .child_entity_fields_check label {
  margin-bottom: 0;
}

/*-------------------------*/
#main-block #attached-block .attached-child-entity-block {
  padding: 2px 5px;
}

#main-block #attached-block .attached-child-entity-block:hover {
  color: white;
  background-color: #34404C;
  cursor: grab;
  cursor: -webkit-grab;
  cursor: -moz-grab;
}

form#adminForm div#attached-child-enteties-modal .modal-title {
  margin-top: 0;
}

form#adminForm div#attached-child-enteties-modal .modal-header .close {
  right: 20px;
  top: 20px;
  background: url(../../images/delete-row.png), #fff;
  border-radius: 2px;
}

#attached-child-enteties-modal .modal-body {
  padding: 15px 15px 5px 15px;
}

#modal_fields_options .button.child_entity_fields_button {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  color: white;
  border: 1px solid white !important;
  padding: 5px 15px;
  background-color: #00BCD8;
  border-radius: 4px;

  right: 15px;
  bottom: 14px;
  height: 30px;
  z-index: 999;
}

form#adminForm div#attached-child-enteties-modal select#add_child_enteties,
#attached-child-enteties-modal #child_entity_alias,
#child_ordering {
  margin-left: 15px;
  background: #fff;
  height: 30px;
  background-color: #fff;
  border-radius: 2px;
  padding: 0 5px;
  border: 1px solid #999;
}

form#adminForm div#attached-child-enteties-modal #modal_fields_options .child_entity_fields_check {
  margin: 10px 10px 10px 0;
  border-radius: 2px;
  border: 1px solid #999;
}

#attached-child-enteties-modal .child_entity_fields_check input[type="checkbox"] {
  position: relative;
  top: 2px;
}

.font_awesom_icons_wraper span.font_awesom_icon {

  margin: 5px;
  transition: .3s;
  font-size: 18px;
  width: 21px;
  cursor: pointer;
}

.font_awesom_icons_wraper span.font_awesom_icon:hover {
  color: #1CB09A;
}

.add_font_awesom {
  cursor: pointer;
  font-size: 20px;
  line-height: 30px;
  margin: auto auto auto 0 !important;
  padding: 0 5px;
  background: #fff;
}

.label_alias_wrap,
.prefix_wrap,
.suffix_wrap {
  display: flex !important;
}

.label_alias_wrap label,
.prefix_wrap label,
.suffix_wrap label {
  min-width: 130px;
}

div[id*="add_icon_alias_suffix"],
div[id*="add_icon_prefix_suffix"],
div[id*="add_icon_suffix_suffix"] {
  /*margin-right: 12px !important;*/
}

#emty_cart_type_img,
#emty_cart_type_icon {
  margin-top: 10px;
}

#emty_cart_type_img,
#emty_cart_type_icon,
#full_cart_type_icon,
.mini_cart_options {
  margin-bottom: 10px;
}

#field-sql-show-modal .modal-content {
  width: 640px;
}

.your_sql_where {
  color: red;
}

#field_options.ui-tabs .ui-tabs-panel,
#field_options.ui-tabs .ui-tabs-nav {
  padding: 0;
  border: none;
}

#field_options.ui-tabs .ui-tabs-nav li.ui-tabs-active {
  margin: 0;
  padding: 0;
  background: #1CB09A !important;
}

#field_options.ui-tabs .ui-tabs-nav .ui-tabs-anchor,
#field_options.ui-tabs .ui-accordion .ui-accordion-header {
  padding: 10px;
  color: #fff;
  border-radius: unset;
  border: none;
}

#field_options.ui-tabs .ui-accordion .ui-accordion-header:focus {
  outline: none;
}

#field_options div select[multiple="multiple"],
#field_options div select[multiple="true"] {
  min-height: 80px;
  max-height: 80px;
}



#field_options div input.custom-class,
#field_options div input.label-custom-class,
#field_options div input[name="vi_layout_title"],
#field_options div.main-fields-content input[type="number"],
#field_options div.main-fields-content .category-options input[type="number"],
#field_options div.main-fields-content .category-options input[type="text"] {
  width: 170px;
}


#field_options div.main-fields-content input[type="number"] {
  width: 62px;
}

#field_options div input.email-expression-input {
  width: 100%;
}

#field_options div span.email-expression {
  padding-top: 6px;
  margin-right: 10px;
  display: block;
}

#field_options div[id^="options-field-"]>div.main-fields-content {
  display: block;
}

#field_options div.email-expression-wrapper {
  margin: 0 !important;
  width: 100%;
}

@media(min-width: 1400px) {
  #field_options div.email-expression-wrapper {
    width: 92%;
  }
}

@media(max-width: 1400px) {
  #field_options div.email-expression-wrapper {
    width: 175px;
  }
}

#content {
  opacity: 1;
}

.time-start-finish span {
  margin: 8px 2px 0px 2px;
}

.time-start-finish select {
  width: 65px !important
}

.addMaskCustom {
  cursor: pointer;
}

@media (max-width: 1199px) {

  #attached-layout-modal .modal-dialog,
  #attached-module-modal .modal-dialog,
  #add-field-modal .modal-dialog,
  #field-mail-modal .modal-dialog,
  #field-custom-modal .modal-dialog {
    width: 100%;
  }
}

.edit-name-block .new-field-name {
  width: 50%;
  margin-right: 5px;
}

.edit-name-block .save-new-layout-field-name,
.edit-name-block .cancel-edit-firld-name {
  width: 23%;
}

#field_options .category-options select.inline-half-size {
  width: 27%;
  display: inline-block;
}

#field_options .category-options select.inline-half-size.hiden {
  display: none;
}

#vi_days_of_week {
  margin-right: 10px !important;
}

.custom_to_castom_select {
  display: inline-block;
  margin: 15px 10px 15px 0;
}

#field_options div select.inline-half-size[multiple="multiple"] {
  max-height: 174px;
}

.category-options.rand {
  color: red;
}

.field-name-block {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 5px 0;
}

@media(max-width: 1199px) {
  .field-name-block {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .field-name-block .edit-field-name-icon {
    margin-right: 0 !important;
  }

  .adminlist .field-name-block .field-name-list {
    text-align: center;
    padding: 0 5px 5px !important;
  }
}

#editor-modal .modal-body {
  padding: 20px 20px 0px 20px;
}

.url-helper-notice {
  white-space: pre-line;
  /*margin-top: -50px;*/
}

.modal-body .add-field-block select,
.modal-body .add-field-block input[type="text"] {
  padding: 5px;
  border: 2px solid #000;
}
