@import "zmienne";

.img-container {
  max-width: 640px;
  margin: 20px auto;
  img {
    max-width: 100% !important;

  }
}


#imgAddModal{
  width: 700px;
  height: 600px;
}

//Usuwanie kategorii
.catDeleteQuestion{
  font-weight: bold;
  font-size: 1.5rem;
}

.childrenView{
  list-style: none;
}

.radioDeleteCat label{
  display: inline-block;
  margin-left: 20px;
}

.newCategorySelect{
  max-width: 300px;
}

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

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

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

//Szczegóły newsa
.showNews{
  .imgThumbnail{
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: 100%;
    background: url('../img/noimage.jpg') no-repeat;
    background-size: contain;
    display: block;
    img{
      //max-width: 200px;
      margin: auto;
    }
  }
  h3{
    margin-bottom: 40px;
  }
}
.showNewsButton{
  border-radius: 5px;
  margin-left: 5px;
}
.button.warning:focus, .button.warning:hover {
  background-color: #ffae00;
  color: #fefefe;
}
.showCategoryNews{
  pointer-events: none;
}

// Lista newsów
.imgListNews{
  max-width: 50px;
}

.newsListNew{
  margin-top: 10px;
}
.newsListNewTop{
  float: right;
  margin-bottom: 30px;
  display: inline-block;

}

.selectCategory{
    max-width: 300px;
    width: 100%;
    color: #2f323a;
    font-size: 13px;
    margin-top: 10px;
    border: 1px solid rgba(47, 50, 58, 0.1);
    cursor: pointer;
    padding: 3px 25px 3px 5px;
    height: 30px;
}

.sortable:after{
  margin-left: 10px;
  font-family: fontello;
  content: '\f0dc';
}
.asc:after{
  margin-left: 10px;
  font-family: fontello;
  content: '\f0de';
}
.desc:after{
  margin-left: 10px;
  font-family: fontello;
  content: '\f0dd';
}

.icon-minus::before {
  margin-left: 0;
  width: 0.4rem;
  font-size: 6px;
}

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




//Dodanie newsa
#contentValidation{
  display: none;
}
#contentValidationCat{
  display: none;
}

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

// Cropper
.containerCropper{
  width: 100%;
  height: 100%;
  max-height: 90vh;
  img{
    width: 100%;
    height: 100%;
  }
}
#windowModalCropper{
  top: 5px !important;
}
.previewImage{
  max-width: 200px;
  max-height: 200px;
  margin-bottom: 20px;
}
.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;
}

.ListQuestionSearch {
    display: inline-block;
    width: 400px;
    margin-left: 20px;
}
