@import "zmienne";
@import "tinyMCE/tiny-modal";
@import "../js/jquery/link-generator/css/link-generator.css";
@import "../js/jquery/jqueryUI-autocomplited/jquery-ui.min.css";
@import "../js/jquery/jqueryUI-autocomplited/jquery-ui.theme.min.css";
@import "../../../Public/vendor/FoundationForTinyMCE/css/foundation.min.css";

// Czcionki

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Light'), local('Roboto-Light'), url(../fonts/roboto/Roboto-Light.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url(../fonts/roboto/Roboto-LightItalic.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/roboto/Roboto-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/roboto/Roboto-Italic.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Medium'), local('Roboto-Medium'), url(../fonts/roboto/Roboto-Medium.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url(../fonts/roboto/Roboto-MediumItalic.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'), url(../fonts/roboto/Roboto-Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url(../fonts/roboto/Roboto-BoldItalic.ttf) format('truetype');
}





body{
  font-family: 'Roboto', sans-serif !important;
}
h1, h2, h3, h4, h5, h6, h7{
  font-family: 'Roboto', sans-serif !important;
}


//////////////////////////////////////////////////////
// Ogólne style
//////////////////////////////////////////////////////
#preloader {
  z-index: 10001;
}
input, textarea{
  &::-ms-input-placeholder { /* Microsoft Edge */
    color: #aaa;
  }
  &:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #aaa;
  }
  &::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #aaa;
    opacity: 1; /* Firefox */
  }
}

.box:not(.boxDashboard){
  padding: 0;
  .box-body{
    margin-top: 20px !important;
  }
  .box-header {
    background: #f0f3f5 !important;
    border-top: 1px solid #c8ced3b3 !important;
  }
  .box-title{
    max-width: 80%;
  }
}

.mce-branding{
  display: none !important;
}
.showTinyPreview{
  padding-bottom: 20px;
  .mce-panel{
    border: 0 !important;
  }
  .mce-tinymce{
    box-shadow: none !important;
    border: 1px solid #eee !important;
    padding: 5px !important;
    border-radius: 3px !important;
  }
}

h1.titleSite {
  font-size: 35px;
  color: $szary-ciemny;
  i {
    color: $zielony-jasny;
    margin-right: 20px;
    font-size: 30px;
  }
}

.title-site-wrapper {
  border-bottom: 1px dashed #cdcdcd;
  margin-bottom: 15px;
  padding-bottom: 25px;

  &:after {
    clear: both;
    content: '';
    display: block;
    width: 100%;
  }

  .icon-wrapper {
    float: left;
    margin-right: 30px;

    i {
      color: #5a910d;
      font-size: 60px;
      line-height: 60px;
      vertical-align: top;

      &:before {
        margin: 0;
      }
    }
  }

  .title-wrapper {
    vertical-align: top;

    h1 {
      color: $szary-ciemny;
      font-size: 35px;
      margin: 0;
    }

    p {
      margin-top: -5px;
      margin-bottom: 0;
    }
  }
}

table {
  .button {
    margin: auto;
  }
}

a {
  color: $zielony-jasny;
  i{
    margin-right: 5px;
  }
}
a:hover, a:focus{
  color: $zielony-ciemny;
}

.primary {
  background-color: $zielony-jasny;
}

.button.primary {
  background-color: $zielony-jasny;
}

.button.primary:hover, .button.primary:focus {
  background-color: $zielony-ciemny;
}
.button {
  background-color: $zielony-jasny;
  border-radius: 2px;
}
.button.info {
  background-color: $szary;
}
.button.info:hover, .button.info:focus {
  background-color: $szary-ciemny;
}

.button:hover, .button:focus {
  background-color: $zielony-ciemny;
}
hr{
  min-width: 100%;
}

.opacity-50{
  opacity: 0.5;
}
.box{
  padding: 5px 15px;
}
.box .box-header .box-title span {
  letter-spacing: 0px;
}
input{
  border-radius: 2px !important;
}
textarea{
  border-radius: 2px;
}
select {
  border-radius: 2px;
}

.navigationBottom{
  margin-top: 20px;
}
.hiddenBlock{
  display: none;
}

.breadcrumbs{
  li{
    a{
      display: inline-block;
    }
  }
  ::before{
    display: inline-block;
  }
}
.ukryty{
  visibility: hidden;
}
.widoczny{
  visibility: visible;
}
.thumbnail {
 margin-bottom: 0;
}
.configBoxButtons{
  width: 200px;
}
.box .box-header .box-tools a.button {
  color: $bialy;
}
.collapsed-box .icon-up-open::before {
  content: '\e87b';
}

.buttonsItems{
  padding: 3px;
  display: none;
  line-height: 15px;
  font-size: 12px;
  a{
    color: rgba($szary-ciemny, 0.7);
  }
  a:hover{
    color: $szary-ciemny;
  }
}
.buttonItemsBox{
  display: block;
  height: 20px;
  width: 220px;
  margin-top: 10px;
}
.configBoxButtons{
  box-shadow: 0 0 5px rgba($szary-ciemny, 0.3);
  padding: 0;
  ul{
    margin-bottom: 0;
  }
  li{
    border-bottom: 1px solid rgba($szary-ciemny, 0.1);
    a{
      padding: 7px 5px;
      display: block;
      span{
        line-height: 1.2;
        width: 100%;
        color: rgba($szary-ciemny, 0.7);
        height: 100%;
        text-align: left;
        padding-left: 25px;
        position: relative;
        i {
          position: absolute;
          left: 0;
          top: 50%;
          transform: translateY(-50%);
        }
      }
    }
    a:hover{
      span{
        color: $szary-ciemny;
      }
    }
  }
  li:last-of-type{
    border-bottom: none;
  }
  li.odciecie{
    border-bottom: 1px solid rgba($szary-ciemny, 0.2);
    border-top: 1px solid rgba($szary-ciemny, 0.2);
    margin-top: 1px;
    color: rgba($szary-ciemny, 0.5);
    text-align: center;
    button{
      span{
        line-height: 40px;
        width: 100%;
        height: 100%;
        color: rgba($szary-ciemny, 0.5);
      }
    }
    button:hover{
      span{
        color: $szary-ciemny;
      }
    }
  }
}

.js-off-canvas-overlay.is-overlay-fixed.is-visible.is-closable {
  z-index: 9999;
}
.canvasRightSite{
  z-index: 10000 !important;
}

.box-header form{
  display: inline-block;
  margin-left: 20px;
  width: 300px;
  input[type="search"]{
    height: 30px;
    margin-top: 10px;
  }
  select{
    height: 30px;
    margin-top: 12px;
    font-size: 12px;
    padding: 5px;
    padding-right: 20px;
  }
}
.collapsed-box .box-header form{
  display: none;
}

.box-header .searchDataTables{
  display: inline-block;
  width: 100%;
  max-width: 300px;
  margin-left: 20px;
  margin-top: 10px;
  height: 30px;
}
.collapsed-box .box-header .searchDataTables{
  display: none;
}
.datePicker, .datePickerStart, .datePickerStop{
  width: 242px !important;
}

tr:hover{
  .buttonsItems{
    display: block;
  }
}
.resultSearchRow:hover{
  .buttonsItems{
    display: block;
  }
}

.box-body table a b{
  font-weight: 500;
}

.nonebackground{
  background: none !important;
}

h3[data-widget="collapse"], h3[data-widget="collapse"] i{
  cursor: pointer !important;
}

.box{
  box-shadow: -2px 3px 7px rgba(0, 0, 0, 0.08), 2px 3px 7px rgba(0, 0, 0, 0.08);
  .box-header{
    small{
      margin-top: 20px;
      display: inline-block;
      margin-left: 40px;
    }
  }
}
#paper-bg{
  background: #eee;
}
.chosen-container{
  max-width: 100%;
  .chosen-search-input {
    min-width: 120px;
  }
}
.select2-container{
  max-width: 100%;
}
.box-body{
  .row{
    .large-2.columns{
      p:first-of-type{
        margin-bottom: 0;
      }
    }
  }
}
.side-menu-noft{
  left: 175px;
  top: 5px;
}
.select2{
  width: 100% !important;
  .select2-container{
    height: 32px !important;
  }
}

// długość znaków w meta tagach
.textLenghtMeta{
  position: absolute;
  top: 33px;
  right: 5px;
  color: #ccc;
}
.metaTags{
  input, textarea{
    padding-right: 40px;
  }
  .news-add-form{
    position: relative;
  }
}
.reveal{
  >h3{
    font-size: 1.25rem;
    padding-left: 15px;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e6e6e6;
    font-weight: 500;
    color: #000;
  }
  >.row{
    .columns{
      >h3{
        font-size: 1.25rem;
        padding-left: 15px;
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: 1px solid #e6e6e6;
        font-weight: 500;
        color: #000;
        margin-bottom: 10px;
      }
    }
  }
}

.helpIcon{
  margin-left: 15px;
  font-size: 16px;
  color: #9cbf6a;
  &::before{
    content: '\f128';
  }
}
.box-body{
  .large-2{
    p{
      position: relative;
      padding-right: 15px;
      display: block;
      .helpIcon{
        position: absolute;
        line-height: 20px;
        right: 0;
        top: 2px;
      }
      label{
        font-weight: inherit;
        color: inherit;
      }
    }
  }
}
.select2-container{
  z-index: 9999;
}
.tooltip{
  z-index: 99999;
}
.buttonAddNew{
  white-space: nowrap;
  vertical-align: middle;
  margin-bottom: 0;
}
.collapsed-box{
  .box-header{
    .buttonAddNew{
      display: none;
    }
  }
}
.title-site-wrapper {
  border-bottom: 1px dashed #cdcdcd;
  margin-bottom: 15px;
  padding-bottom: 25px;

  &:after {
    clear: both;
    content: '';
    display: block;
    width: 100%;
  }

  .icon-wrapper {
    float: left;
    margin-right: 30px;

    i {
      color: #5a910d;
      font-size: 60px;
      line-height: 60px;
      vertical-align: top;

      &:before {
        margin: 0;
      }
    }
  }

  .title-wrapper {
    vertical-align: top;

    h1 {
      color: $szary-ciemny;
      font-size: 35px;
      margin: 0;
    }

    p {
      margin-top: -5px;
      margin-bottom: 0;
    }
  }
}
.box .boxNewsIndex{
  padding-top: 0;
}
  //////////////////////////////////////////////////////
// Paginacja
//////////////////////////////////////////////////////
.paginationBox{
  text-align: right;
  margin-top: 10px;
  select[name=per_page]{
    width: 130px;
    height: 30px;
    border-radius: 2px;
    font-size: 11px;
    padding: 5px 25px 5px 5px;
  }
  form{
    display: inline-block;
    margin-right: 30px;
  }
  .pagination{
    display: inline-block;
    .current{
      font-size: 11px;
      background: #5a910d;
      border-radius: 2px;
    }
    .page, .pagination-next, .pagination-last, .pagination-previous, .pagination-first{
      font-size: 11px;
      border-radius: 2px;
    }
  }
}
.paginationBoxCenter{
  text-align: center !important;
  margin-top: 0px;
  .pagination{
    margin-bottom: 10px;
  }
}
///////////////////////////////////////////////////////
//Top bar
///////////////////////////////////////////////////////
.top-bar{
  background: #25272E;
  min-height: 73px;
  height: auto;
  line-height: 1;
  padding-top: 20px;
  .text-menu-grey-WB[aria-expanded="false"]{
    .icon-up-open-1{
      display: none;
    }
  }
  .text-menu-grey-WB[aria-expanded="true"]{
    .icon-down-open-1{
      display: none;
    }
  }
  ul{
    background: none;
  }
  .text-menu-grey-WB{
    color: #9e9e9e;
    display: inline-block;
    padding-bottom: 10px;
  }
  .info-canvas-wb{
    background: #1976D2;
    border-radius: 50%;
    width: 37px;
    height: 37px;
    line-height: 37px;
    padding: 0 7px !important;
    i{
      color: #fff;
      margin: auto;
      margin-left: 3px;
    }
  }
  .menu-show-site{
    padding-right: 10px;
    display: inline-block;
    a{
      margin-top: 7px;
      opacity: 0.8;
      padding: 5px 10px;
      span{
        font-size: 12px;
      }
      i{
        font-size: 16px;
      }
    }
  }
  .profile-nest{
    border: 1px solid #858585;
    margin-top: 25px;
    ul{
      padding: 5px;
      .underlineBorder{
        border-bottom: 1px dashed rgba(#858585, 0.3);
        padding-bottom: 5px;
      }
      i.iconuseredit{
        color: #8c92a3;
        width: auto;
        height: auto;
        line-height: 1;
      }
    }
    .logoProfileDrop{
      display: inline-block;
      width: 40px;
      position: relative;
      padding: 5px;
      vertical-align: middle;
      div{
        width: 30px;
        height: 30px;
        border-radius: 50%;
        line-height: 30px;
        i{
          color: #fff;
          font-size: 16px;
          margin-left: 3px;
        }
      }
    }
    .InfoProfileDrop{
      display: inline-block;
      width: 140px;
      position: relative;
      vertical-align: middle;
    }
  }
}
.menu > li.menu-language > a{
  display: inline-block;
  padding: .7rem .1rem;
}
.menu-profile{
  top: 0;
  .hover{
    .icon-down-open-1::before{
      content: '\e939';
    }
  }
}
.palette-Red-50{
  //color: red !important;
}
.top-bar .profile-nest ul a.palette-Red-50 i.iconuseredit{
  color: red;
}
.palette-Blue-50{
  //color: blue !important;
}
.top-bar .profile-nest ul a.palette-Blue-50 i.iconuseredit{
  color: #1976D2;
}
.palette-Orange-50{
  //color: orange !important;
}
.top-bar .profile-nest ul a.palette-Orange-50 i.iconuseredit{
  color: orange;
}
.palette-Brown-50{
  //color: brown !important;
}
.top-bar .profile-nest ul a.palette-Brown-50 i.iconuseredit{
  color: brown;
}
.greyButtonSeeWeb{
  background: #ddd;
  color: #1d1d1d;
  &:hover{
    background: #ababab;
  }
}
///////////////////////////////////////////////////////
//MENU Główne
///////////////////////////////////////////////////////

//logo
.logoMobile{
  max-height: 40px;
}
.slicknav_menu .slicknav_icon{
  margin-top: 15px;
}
.profile {
  height: 120px;
  img {
    //width: 200px !important;
    //height: 100px !important;
    border-radius: 0;
  }
}
#skin-select #toggle::before {
  content: "\E87C";
  font-family: "fontello";
}
#skin-select #toggle.active::before {
  content: "\E87D";
  font-family: "fontello";
}

//
#skin-select li i {
  line-height: 1;
}

#skin-select li li i {
  color: $bialy;
  width: 30px;
  left: 0 !important;
}

#skin-select li li a:hover i {
  color: $bialy;
}

ul.topnav ul ul li a {
  background: transparent;
  padding-left: 15px;
}

ul.topnav ul ul li a:hover {
  background: transparent;
  font-weight: 500;
}

#menuwrapper ul li:hover ul li:hover ul li:hover {
  background: transparent;
}

#menuwrapper ul li:hover ul li:hover ul li {
  background: transparent;
}

#menuwrapper ul li ul li ul {
  margin-left: 40px;
}

#menuwrapper ul li ul li ul a {
  background: transparent;
}

#menuwrapper ul li ul li ul {
  background: transparent;
}

#menuwrapper ul li ul li ul li {
  background: transparent;
}

ul.topnav ul li a {

  padding: 6px 0 7px 14px;
}

ul.topnav ul ul {
  padding: 0px 25px !important;
}

//kolory ikon
.palette-Green-Menu.bg {
  background-color: $zielony-ciemny !important;
}

.palette-Green-Menu.text {
  background-color: $zielony-ciemny !important;
}

.kolorIkony.bg {
  color: $zielony-ciemny !important;
  background-color: transparent !important;
}

.kolorIkony.text {
  color: $zielony-ciemny !important;
  background-color: transparent !important;
}
.palette-Blue-Menu.bg {
  background-color: $niebieski !important;
}

.palette-Blue-Menu.text {
  background-color: $niebieski !important;
}

.kolorIkonyBlue.bg {
  color: $niebieski !important;
  background-color: transparent !important;
}

.kolorIkonyBlue.text {
  color: $niebieski !important;
  background-color: transparent !important;
}
.palette-Yellow-Menu.bg {
  background-color: $zolty !important;
}

.palette-Yellow-Menu.text {
  background-color: $zolty !important;
}

.kolorIkonyYellow.bg {
  color: $zolty !important;
  background-color: transparent !important;
}

.kolorIkonyYellow.text {
  color: $zolty !important;
  background-color: transparent !important;
}

.box .box-body {
  //overflow: auto;
}
.box .box-btn{
  .icon-ellipsis-vert{
    font-size: 18px;
    color: black;
  }
}
///////////////////////////////////////////////////////
//  FIX do pliku fontello.css
///////////////////////////////////////////////////////

#menu-showhide [class^="fontello-"]:before, [class*=" fontello-"]:before {

}

#menu-showhide .icon-desktop {
  text-indent: -0.3px;
}
#menu-showhide .icon-newspaper {
  text-indent: -1.3px;
}

///////////////////////////////////////////////////////
//  ikony
///////////////////////////////////////////////////////

.bottom-list-menu li small {
  padding: 0px 20px 0 0;
}
.nav.navbar-stacked li a span {

  padding: 6px;
  text-indent: 0px;
}
.nav.navbar-stacked li a i {

  left: 15px;
}
.box .box-header .box-title i{
  cursor: default;
}
.box-tools span{
  color: rgba($szary-ciemny, 0.5);
  vertical-align: middle;
  i{
    vertical-align: top;
  }
}
.has-tip{
  border-bottom: 0;
}
///////////////////////////////////////////////////////
//  logo WiCMS
///////////////////////////////////////////////////////
.profile-logo {
  background: #2f323a;
  width: 100%;
  position: relative;
  top: -13px;
  left: 0;
  text-align: center;
  font-size: 13px;
  margin: 0;
  z-index: 99;
  padding: 20px 10px 10px 10px;
  img {
    max-height: 55px;
  }
  img.smalllogo{
    display: none;
  }
}
#skin-select #toggle{
  background: #2f323a;
}
.profile-logo.smallLogo{
  img.smalllogo{
    display: block;
  }
  img.biglogo{
    display: none;
  }
}

.ikonaAdmin {
  color: white;
  font-size: 18px;
  line-height: 1em;
  padding-top: 8px;
  padding-left: 5px;
}
///////////////////////////////////////////////////////
//  stopka
///////////////////////////////////////////////////////

footer{
  background-color: $szary-ciemny-tlo;
  padding: 10px;
  border-top: none;
  position: relative;
  bottom: auto;
  width: auto;
  .webimpulsLogo{
    max-width: 260px;
  }
  a{
    color: #929397;
    font-weight: bold;
  }
  p{
    color: #929397;
    max-width: 450px;
    text-align: justify;
  }
  .footerLeft{
    padding: 20px 50px;
  }
  .footerRight{
    padding: 20px 50px;
    .biglogo{
      max-width: 120px;
      width: 100%;
    }
    small{
      margin-left: 15px;
      vertical-align: bottom;
      display: inline-block;
    }
    a{
      display: inline-block;
    }
    .menu-show-site{
      margin-top: 60px;
    }
  }
}

@media screen and (min-width: 1120px) {
  footer {
    padding-left: 260px;
  }
}

///////////////////////////////////////////////////////
//  Zarządzanie administratorami
///////////////////////////////////////////////////////

#AdminDeleteInput {


  margin-left: 20px;
  i{
    font-size: 14px;
  }
}
input:checked ~ .switch-paddle {
  background: $zielony-ciemny;
  color: $bialy;
}
.dataTables_wrapper {

  .dataTables_info {
    display: block;
    float: none;
    color: $szary-secondary;
    font-size: 11px;
  }
  .dataTables_length {
    display: block;
    margin-top: 10px;

    select {
      width: 50px;
      height: 30px;
      padding: .2rem;
      font-size: 0.7rem;
      background-position: right 0.2rem center;
    }

  }
  .dataTables_filter {
    float: left;
    width: 40%;
    label {
      text-align: left;
      text-indent: 10px;
      input {
        width: 100%;
      }
    }
  }
}

.showAdmin::before{
  font-size: 20px;
  line-height: 15px;
}

.switch-admin{
  display: block;
  width: auto;
  text-align: left;
  margin: 10px 30px 10px 0;
}

.formAlert{
  ul{
    font-size: 10px;
    list-style: none;
    margin-bottom: 0;
  }
}

///////////////////////////////////////////////////////
//  Formaty tabeli
///////////////////////////////////////////////////////
.dwieKolumny{
  max-width: $dwieKolumny;
  border: 1px solid $szary;
}
.trzyKolumny{
  max-width: $trzyKolumny;
  border: 1px solid $szary;
}
.czteryKolumny{
  max-width: $czteryKolumny;
  border: 1px solid $szary;
}

.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';
}
.tableResp{
  overflow: auto;
}

table.dataTable.no-footer{
  border-bottom: 1px solid rgba($szary-ciemny, 0.5) !important;
}
table.dataTable thead th,table.dataTable thead td {
  border-bottom: 1px solid rgba($szary-ciemny, 0.5) !important;
}
table.dataTable{
  border: 1px solid $szaryCCC;
}
table.dataTable thead th, table.dataTable thead td{
  padding: 2px 10px !important;
  min-width: 25px;
}
table.dataTable{
  a{
    color: $czarny;
    b{
      color: #8c92a3;
    }
  }

}

//////////////////////////////////////////////////////
// Sugestie
//////////////////////////////////////////////////////
#ajaxSuggestions{
  border-radius: 30px;
  background: #2f323a;
  box-shadow: 0 0 15px rgba($czarny, 0.8);
  border: none;
  color: $bialy;
  padding: 35px;
  h1{
    font-size: 35px;
  }
  p{
    margin-top: 25px;
  }
  label{
    color: $bialy;
    font-size: 15px;
    display: inline-block;
    vertical-align: middle;
    line-height: 38px;
  }
  .columns{
    padding: 0;
  }

}
//////////////////////////////////////////////////////
// Right menu
//////////////////////////////////////////////////////
.js-off-canvas-overlay{
  background: rgba(#000, 0.4);
}
.canvasRightSite {
  width: 400px;
  padding: 20px;
  hr{
    border-bottom: 1px dashed #b9b9b9;
  }
  p, h4, h3{
    color: #3e3e3e;
  }
  .padding-left-2{
    padding-left: 20px;
  }
  .repportSugRight{
    display: block;
    background: #2f323a;
    width: 100%;
    position: relative;
    i{
      position: absolute;
      right: 20px;
      top: 11px;
      opacity: 0.4;
    }
  }
  form{
    button{
      width: 100%;
    }
  }
  .successSend, .errorSend{
    width: 100%;
    display: block;
  }
}

//////////////////////////////////////////////////////
// Admin Blue
//////////////////////////////////////////////////////
a.adminblue{
  color: #1779ba;
}
button.adminblue{
  background: #1779ba;
}
//////////////////////////////////////////////////////
// Wyszukiwarka
//////////////////////////////////////////////////////

.breadcrumbsBox{
  background: #F9F9F9;
  margin: 0 -15px 25px -15px;
  height: 49px;
  .searchForm{
    margin-top: 4px;
    position: relative;
  }
  input{
    display: inline-block;
    padding-right: 39px;
  }
  button{
    height: 37px;
    width: 37px;
    background: transparent;
    display: inline-block;
    position: absolute;
    right: 1px;
    top: 1px;
    cursor: pointer;
    color: #ccc;
  }
}
.ui-autocomplete{
  padding: 10px;
  .ui-autocomplete-category{
    font-weight: bold;
    margin-top: 10px;
    font-size: 15px;
  }
}

// Kolor ikon menu.
.bg-menu-administration { background-color: #0d47a1; }
.bg-menu-configuration { background-color: #512da8; }
.bg-menu-content { background-color: #5a910d; }
.bg-menu-micro-web-crm { background-color: #0097a7; }
.bg-menu-modules-addons { background-color: #00897b; }
.bg-menu-pulpit { background-color: #afb42b; }
.bg-menu-template-extension { background-color: #5a910d; }
.bg-menu-ecommerce,
.bg-menu-web-portal { background-color: #1976d2; }

.color-menu-administration { color: #0d47a1 !important; }
.color-menu-configuration { color: #512da8 !important; }
.color-menu-content { color: #5a910d !important; }
.color-menu-micro-web-crm { color: #0097a7 !important; }
.color-menu-modules-addons { color: #00897b !important; }
.color-menu-pulpit { color: #afb42b !important; }
.color-menu-template-extension { color: #5a910d !important; }
.color-menu-ecommerce,
.color-menu-web-portal { color: #1976d2 !important; }

.menu-inactive {
    opacity: 0.4;
}

.changeDepartment {
  max-width: 300px;
  width: 100%;
  min-width: 250px;
  color: #2f323a;
  font-size: 13px;
  border: 1px solid #ccc;
  cursor: pointer;
  padding: 3px 25px 3px 5px;
  height: 30px;
  margin-top: 0;
}

.select2 {
  &.select2-container {
    margin-bottom: 1rem !important;
  }
  &.select2-container--default {
    .select2-selection,
    .select2-selection--multiple {
      border-color: #ccc;
      border-radius: 2px;
      
      &.is-invalid-input {
          &:not(:focus) {
            border-color: #cc4b37;
            background-color: #f9ecea;
          }
      }

      .select2-selection__choice {
        border-color: #ccc;
        border-radius: 2px;
      }
    }

    .select2-selection--single {
      height: 39px;

      .select2-selection__rendered {
        line-height: 39px;
      }

      .select2-selection__arrow {
        height: 37px;
      }
    }
  }


  ul {
    li {
      input {
        height: 27px;
        margin-bottom: 0;
      }
    }
  }
}

// Tabela listy kategorii.
.catList {
    .buttonItemsBox {
        margin-top: 0;
    }
  
    tr {
      height: 100%;
      
        td {
            &.td-title {
                height: 0;
                line-height: 44px;
                min-width: 170px;
                padding: 0;
              
                @-moz-document url-prefix() {
                  height: 100%;
                }
              
                div {
                  height: 100%;
                  white-space: nowrap;
                }
              
                a.title {
                    color: #84b512;
                    display: inline-block;
                    font-weight: 500;
                    line-height: 18px;
                    margin: 13px 0 13px 10px;
                    position: relative;
                    vertical-align: top;
                  
                    &:before {
                        color: #999b9f;
                        content: ' - ';
                        left: -8px;
                        position: absolute;
                        top: calc(50% - 9px);
                    }
                  
                    span {
                        white-space: initial;
                    }
                }
                
                .buttonItemsBox {
                    display: inline-block;
                    margin: 0 0 0 40px;
                    vertical-align: middle;
                }
            }
            &.td-order {
                height: 0;
                line-height: 44px;
                padding: 0;
                
                div {
                    display: inline-block;
                    height: 100%;
                    margin: 0 10px;
                    white-space: nowrap;
                }
                .cat-prefix {
                    margin: 0 14px;
                }
            }
        }
    }
  
    .cat-prefix {
        background: {
            image: linear-gradient(#c7c8ca 33%, rgba(255, 255, 255, 0) 0%);
            position: right;
            repeat: repeat-y;
            size: 2px 6px;
        }
        display: inline-block;
        height: 100%;
        margin-left: 22px;
        padding: 0;
        width: 2px;
    }
}

// WiCMS Callouts.
.callout {
    &.wicms-alert {
        background-color: #f2dede;
        border-color: #ebccd1;
        color: #a94442;
    }
  
    &.wicms-success {
        background-color: #dff0d8;
        border-color: #d6e9c6;
        color: #3c763d;
    }
}

select {
    margin-bottom: 1rem;
}
.mce-tinymce {
    margin-bottom: 1rem !important;
}
