@import "zmienne";
@import "tinyMCE/tiny-modal";


//lista grup

.OrderNrForm{
  display: inline-block;
  form{
    display: block;
    margin-bottom: 2px;
  }
}

//usuwanie grupy
.groupDeleteQuestion{
  font-weight: bold;
  font-size: 1.5rem;
}

.childrenView{
  list-style: none;
}


.newGroupSelect{
  max-width: 300px;
}

.confirmDelete{
  opacity: 0.3;
  filter: alpha(opacity=30);
  pointer-events: none;
}

.confirmDeleteSubcategories{
  opacity: 1;
  filter: alpha(opacity=100);
  pointer-events: all;
}

.selectGroup{
  opacity: 1;
  filter: alpha(opacity=100);
  pointer-events: all;
}

// Dodawnie nowej strony

#contentValidation{
  display: none;
}

.chosenSelectGroup{
  width: 100%;
  height: 50px;
  display: inline-block;
}
.chosen-container {
  width: 100% !important;
}


// Szczegóły strony


.showPagesButton{
  border-radius: 5px;
  margin-left: 5px;
}
.button.warning:focus, .button.warning:hover {
  background-color: #ffae00;
  color: #fefefe;
}
.showGroupPage{
  pointer-events: none;
}

// Wyświetlanie listy stron
.addNewPage{
  margin-top: 10px;
}
.box .box-header{
  a.showPageGroupButton{
    margin: 12px 0 0 20px;
    color: $bialy;
  }
}

input.searchThisGroup {
    display: inline-block;
    margin-left: 20px;
    width: 100%;
    max-width: 300px;
    height: 30px;
    margin-top: 10px;
}

.collapsed-box .searchThisGroup{
  display: none;
}

.label {
    display: inline-block;
    padding: .33333rem .5rem;
    font-size: .8rem;
    line-height: 1;
    white-space: nowrap;
    cursor: default;
}

.label.secondary {
    background: #777;
    color: #fefefe;
}

.showItemButton {
    border-radius: 5px;
    margin-left: 5px;
    margin-top: 2px;
}

.blockHTMLButton {
    margin-top: 30px;
}

#itemHTMLGroupTable > tbody {
    border-color: F8F8F8;
}

.box.manageBlocks {
    max-width: 400px;
}

.configBoxButtons li.odciecie{
    border-top: none;
    margin-top: 0px;
}

.configBoxButtons li.odciecie button span {
    color: rgba(47, 50, 58, 0.7);
}

.configBoxButtons li.odciecie {
    border-bottom: 1px solid rgba(47, 50, 58, 0.4);
}

table.itemHTMLTable.dataTable.no-footer {
    border-bottom: 1px solid rgba(47, 50, 58, 0.1) !important;
}

div.callout.itemHtml {
    padding: 2rem !important;
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.columns.blockTypeSelect {
    max-width: 300px;
}

.itemMoreButton {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.dateStart, .dateEnd {
  width: 242px !important;
}

.imgThmbnail{
  background: url('../img/noimage.jpg') no-repeat;
  background-size: contain;
  min-width: 50px;
  min-height: 50px;
  max-width: 200px;
  max-height: 70px;
  display: block;
  
}

// Cropper
.containerCropper{
  width: 100%;
  height: 100%;
  max-height: 90vh;
  img{
    width: 100%;
    height: 100%;
  }
}

#windowModalCropper{
  top: 5px !important;
}

.buttonAddImage{
  margin-top: 10px;
}

.previewImage{
  max-width: 200px;
  max-height: 200px;
  margin-bottom: 20px;
  //border: 1px solid rgba($szary-ciemny, 0.3);
}

.InputFileHidden{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.buttonAddImage{
  margin-top: 10px;
}

#itemHTMLGroupTable > thead > tr > th:nth-child(1) {
    min-width: 150px;
    //max-width: 280px;
} 
#itemHTMLGroupTable > thead > tr > th:nth-child(2) {
    //min-width: 700px;
    //max-width: 1100px;
} 
#itemHTMLGroupTable > thead > tr > th:nth-child(3) {
    //min-width: 70px;
    //max-width: 100px;
} 
.imgListNews.thumbnail.banner {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.previewImage.thumbnail.banner {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.bannerContent {
    position: absolute;
    top: 0;
    padding: 1rem;
}
.bannerImage {
    position: relative;
    overflow: hidden;
}
.bannerImage:hover {
    cursor: pointer;
}

#bannerModal {
    z-index: 4234;
}

.close-button {
    right: 1.5rem;
    top: 1.1rem;
}

.bannerContent.showB h1 {
    font-size: 1.65vw;
}
.bannerContent.showB h2 {
    font-size: 1.4vw;
}
.bannerContent.showB h3 {
    font-size: 1.1vw;
}
.bannerContent.showB h4 {
    font-size: 0.9vw;
}
.bannerContent.showB h5 {
    font-size: 0.77vw;
}
.bannerContent.showB h6 {
    font-size: 0.64vw;
}
.bannerContent.showB h7 {
    font-size: 0.566vw;
}
.bannerContent.showB p {
    font-size: 0.5vw;
}

.label.secondary.showItemButton {
    word-wrap: break-word;
    white-space: nowrap;
}
.label.secondary.showItemButton.showHover:hover {
    cursor: pointer;
}