/*

  INDEX STRONY :
  020 | SEKCJA BODY
  052 | SEKCJA GALERIA
  135 | SEKCJA FORMULARZ
  167 | SEKCJA PRZYCISKI
  261 | SEKCJA EDYTOR CMS PRZYCISKI
  307 | SEKCJA KADROWANIE ZDJEC
  443 | SEKCJA WYSKAKUJACE KOMUNIKATY
  482 | SEKCJA POZOSTALE

*/






/************************ STYLE PODSTAWOWE *************************/
body {
  color: #212226;
  font-family: 'Lato', sans-serif;
  background-color: #FBFEFF;
  background-image: none;
  font-size: 1em;
  font-weight: 400;
}

  h1,h2,h3,h4,h5,h6,
  p, ul, li, table { color: #212226; }           /* KOLOR WSZYSTKICH ELEMENTÓW W EDYTORZE */

  .col1 { color: #6A1B9A; }
  .col2 { color: #E91E63; }


  /* LINKI TEKSTOWE */
  a {
    -moz-transition: color .7s ease-in-out;
    -webkit-transition: color .7s ease-in-out;
    -ms-transition: color .7s ease-in-out;
    transition: color .7s ease-in-out;
    text-decoration: blink;
    color: #36006B;
  }

  a:hover {
    color: #E91E63;
  }


/************************ STYL GALERII *************************/
.image_box {
  position: relative;
}

.image_box img {
  width: 100%;
  cursor: move;
  border: 1px solid #9C4DCC;                     /* OBRAMOWANIE MINIATURKI */
}

.image_menu {
  position: absolute;
  top: 0;
  right:0;
  background-color: rgba(255,255,255,0.5);
  width: 30px;
  height: 30px;
  padding: 3px;
  font-size: 12px;
}

.image_menu i {
  cursor: pointer;
}

.image_menu i:hover {
  color: #E91E63;                                /* IKONA KOSZA PO NAJECHANIU */
}

.image_name {
  font-size: 0.7em;                              /* ROZMIAR NAZWY PLIKU GALERII */
  word-break: break-all;
  text-align: center;
}

.file-name {
  text-align: center;
  font-weight: bold;
}

.gallery {
  margin-top: 20px;
  position: relative;
}

.gallery-images {
  background-color: #F0F0FC;                     /* KOLOR TŁA W EDYCJI GALERII */
  border: 1px solid #9C4DCC;                     /* OBRAMOWANIE PODGLĄDU GALERII */
  margin-bottom: 10px;
  padding: 10px;
  min-height: 100px;
}

.loading {
  top: 0;
  position: absolute;
  left: 0px;
  background-color: rgba(255,255,255,0.80);
  color: black;
  width: 100%;
  height: 100%;
  text-transform: uppercase;
  display: none;
  text-align: center;
  font-weight: bold;
  padding-top: 40px;
}

.gallery-no-images {
  text-align: center;
  font-style: italic;
}

.expand-link {
  background-color: rgba(0,0,0,0.1);
}

img {
  width:100%;
}


/************************ STYL FORMULARZA LOGOWANIA *************************/

/* NIE AKTYWNY */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 6px 10px;
  background-color: #FFFFFF;                     /* TLO FORMULARZA */
  border: 1px solid #9C4DCC;                     /* OBRAMOWANIE FORMULARZA */
  border-radius: 0px;                            /* ZAOKRAGLENIE FORMULARZA */
  box-shadow: none;                              /* CIENIOWANIE FORMULARZA */
  box-sizing: border-box;
  font-size: 1em;
  color: #6A1B9A;                                /* KOLOR WPISYWANEJ CZCIONKI */
}

/* AKTYWNY */
textarea:focus,
select:focus {
  background-color: #FFFFFF;                     /* TLO FORMULARZA */
  border: 3px solid #9C4DCC;                     /* OBRAMOWANIE FORMULARZA */
  outline: 0;
}


/************************ STYL PRZYCISKÓW *************************/
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  -moz-transition: background-color .7s ease-in-out;
  -webkit-transition: background-color .7s ease-in-out;
  -ms-transition: background-color .7s ease-in-out;
  transition: background-color .7s ease-in-out;
  -webkit-appearance: none;

    /* PRZED NAJECHANIEM */
    color: #6A1B9A;                              /* KOLOR CZCIONKI */
    background-color: #FCFCFE;                   /* KOLOR TLA */
    border: 1px solid #9C4DCC;                   /* OBRAMOWANIE */
    font-size: 0.6em;                            /* ROZMIAR CZCIONKI */
    font-weight: 600;                            /* GRUBOSC CZCIONKI */

  display: block;
  margin: 0 auto;
  height: auto;
  padding: 5px 30px;
  text-align: center;
  line-height: 38px;
  letter-spacing: .1rem;
  text-decoration: none;
  white-space: pre-wrap;
  border-radius: 0px;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,

.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {

  /* PO NAJECHANIU */
  color: #FFFFFF;                                /* KOLOR CZCIONKI */
  background-color: #FF6090;                     /* KOLOR TLA */
  background-image:url('../IMG/background.svg'); /* OBRAZEK TŁA */
  background-size: cover;
  opacity: 0.90;
  border: 1px solid #38006B;                     /* OBRAMOWANIE */
  font-size: 0.6em;                              /* ROZMIAR CZCIONKI */
  font-weight: 700;                              /* GRUBOSC CZCIONKI */
}

.btn_disabled,.btn_disabled:hover,.btn_disabled:focus {
  color: #eee;
  border-color: #eee;
  background-color: #fff;
}

hr {
  border-top: solid 1px #9C4DCC;
  margin: 1em 0;
}

#form_with_editor iframe, #form_with_editor img, #form_with_editor .tab_price_list, #form_with_editor .tab_price_list, #form_with_editor .expand-link{
  width: 90%;
  cursor: pointer;
  margin:auto auto;
}

#form_with_editor img.selected-to-del,#form_with_editor table.selected-to-del,#form_with_editor iframe.selected-to-del, #form_with_editor div.selected-to-del{
  border: 2px dotted #0268bb;
}

#form_with_editor iframe{
  display: block;
}

button.btn-option-delete{
  position: absolute;
    width: 28px;
    height: 28px;
    padding: 1px;

    z-index: 2;
    line-height: 0px;
}


/************************* STYL EDYTORA ARTYKUŁU *************************/
.editor_btn {
  width: calc(100% - 2px);
  margin: 1px;
  padding: 5px 0px;
  height: 36px;
  line-height: 26px;
}

.editor_btn.active {
  color: #FFFFFF;
  background-color: #9C4DCC;
  border: 1px solid #9C4DCC;
}

.editor_textarea {
  padding: 5px;
  display: block;
  height: 100%;
  width: 100%;
  border: 0px;
}

.editor_textarea {
  outline: none;
}

#editor_container{
  position:relative;
  overflow: auto;
  height: 600px;
  display: block;
  background-color: #F0F0FC;                     /* TŁO POLA EDYCJI TEKSTU */
  border: 1px solid #9C4DCC;                     /* OBRAMOWANIE EDYCJI ARTYKUŁU */
  outline-color: #9C4DCC;
}

.editor_textarea ul {
  list-style: inside;
}

.editor_textarea div:not('expand-link') {
  display: block;
}


/************************* STYL KADROWANIA ZDJECIA *************************/
.crop-modal {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  background-color: rgba(0,0,0,0.7);
  display: none;
  z-index: 4;
}

.crop-cropsurface {
  background-color: rgba(0,0,0,0.7);
  position: relative;
  z-index: 2;
  display: block;
}

.crop-cropsurface-top {
  margin:auto auto;
  border-bottom: 3px dotted #E91E63;
}

.crop-cropsurface-top::before,.crop-cropsurface-top::after,.crop-cropsurface-bottom::before,.crop-cropsurface-bottom::after {
  content: " ";
  display: block;
  background-color: rgba(0,0,0,0.7);
  height: calc(100% + 6px);
  width: 100%;
  position: absolute;
  top: -3px;
}

.crop-cropsurface-top::before,.crop-cropsurface-bottom::before {
  left: -3000px;
  width:3000px;
}

.crop-cropsurface-top::after,.crop-cropsurface-bottom::after {
  left: 100%;
  width:3000px;
}

.crop-cropsurface-bottom {
  margin:auto auto;
  border-top: 3px dotted #E91E63;
  clear: both;
  height: 100%;
}

.crop-cropsurface-left {
  left: 0;
  border-right-width: 0px;
  float: left;
  border-right: 3px dotted #E91E63;
}

.crop-cropsurface-right {
  right: 0;
  border-left-width: 0px;
  float: right;
  border-left: 3px dotted #E91E63;
}

.crop-img {
  position: absolute;
  z-index: 1;
  width: auto;
  height: auto;
  cursor: pointer;
}

.crop-btn {
  position: absolute;
  z-index: 3;
  border: none;
  background: none;
  height: 27px;
  width: 27px;
  display: block;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0;
}

.crop-close {
  top: 1%;
  left: 1%;
}

.crop-rotate--left {
  top: 1%;
  right: calc(150px + 1.5%);

}

.crop-rotate--right {
  top: 1%;
  right: calc(150px + 27px + 2%);

}

.crop-save {
  top: 1%;
  right: 1%;
  width: 150px;
  color: #FEFEFE;
  border: solid 2px #FEFEFE;
  transition: 0.7s;
}

.crop-save:hover{
  color: #E91E63;
  background: none;
  border: solid 2px #E91E63;
}

.crop-close:hover,.crop-rotate:hover {
  border: none;
  background: none;
}

.crop-close svg , .crop-rotate svg {
  fill: #FEFEFE;
  transition: 0.7s;
  width: 27px;
  height: 27px;
}

.crop-close:hover svg, .crop-rotate:hover svg{
  fill: #E91E63 !important;
}


/************************* STYL KOMUNIKATOW *************************/
.infobox {
  position: fixed;
  bottom: 15px;
  width: 98%;
  background: #000000;
  left: 1%;
  border-radius: 0;
  padding: 15px;
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  transition: 0.7s;

}

/* BLAD WYSYLANIA */
.infobox.error {
  background-color: #E50028;                     /* KOLOR TLA */
  border: 1px solid #38006B;                     /* KOLOR OBRAMOWANIA */
}

/* POPRAWNIE WYSLANO */
.infobox.success {
  background-color: #03A61C;                     /* KOLOR TLA */
  border: 1px solid #38006B;                     /* KOLOR OBRAMOWANIA */
}

.infobox.hidden {
  opacity: 0;
  transform: translateY(150%);
}

textarea {
  font-family: inherit;
}


/************************* STYLE POZOSTALE *************************/
.adminmenu {
  margin-bottom: 30px;
}

.adminlogo {
  max-width: 400px;
  opacity: 1;
}

.hover_color_pink:hover {
  color: #E5004B !important;
}

.color_white {
  color: white !important;
}
.putPlace{
  opacity: 0.25;

}
.putPlace img{
  border: 1px solid #E5004B;
}

.art_list_options{
  position: relative;
}

.art_list_actions{
  position: absolute;
  left: calc(100% - 28px);
  top: 0;
  width: 28px;
  height: 28px;
}

.art_list_actions form{
    width: 28px;
    height: 28px;
    display: inline-block;
}

.art_list_actions button{
  padding: 1px;
  width: 28px;
  height: 28px;
  line-height: 0px;
}
.art_list_actions button {
  font-size:21px
}

.sub-art-on-list p{
  font-size: 0.8em;
  padding-left: 0.8em;
}

#editor_html .expandable{
  position: relative;
}

#editor_html:focus {
  border: 0px;
  outline: none;
}

#editor_html div, #editor_html img {
  display: block;
}

#editor_html div.expandable {
  display: none;
}

.hidden_on_page{
  display:initial;
}

.show_sub_articles{
  display: inline-block;
  height: 18px;
  width: 18px;
  vertical-align: super;
}

label.show_sub_articles{
  padding: 0px;
    width: 18px;
    height: 18px;
    line-height: 0px;
    font-size:18px;
    border: 0px;
   cursor: pointer;
}

label.show_sub_articles  .material-icons{
  font-size: 18px;
}

.show_sub_articles input[type='checkbox']{
}

.sub_arts{
  display: none;
  grid-template-columns: repeat(12, 1fr);
}

.art{
  grid-template-columns: repeat(12, 1fr);
  position: relative;
}

 .art input[type='checkbox']:checked + .lap9 + .lap3 + div.sub_arts {
  display: grid;
 }

 .art input[type='checkbox']{
  position: absolute;
    top: 15px;
    cursor: pointer;
 }

 .art input[type='checkbox'] + div{
   padding-left: 20px;
 }
