// Helper classes
//------------------------------------------------------

@import "_mixins";

//---------- OBRAZKY ----------//

.thumbnail {
   border: 1px solid $border-color;

   &:hover,
   &:focus,
   &:active {
      border: 1px solid $link-color;
   }
}

.img-responsive {
   @include img-responsive;
}

.img-full {
   width: 100%;
   height: auto !important;
   display: block;
}

//---------- TYPOGRAFIE ----------//
.uppercase {
   text-transform: uppercase;
}

.text-left {
   text-align: left;
}

.text-right {
   text-align: right;
}

.text-center {
   text-align: center;
}

.v-a-middle {
   vertical-align: middle;
}

.truncate {
   @include truncate;
}

.nowrap {
   white-space: nowrap;
}

.list-inline {
   @include list-inline;
}

.list-unstyled {
   @include list-unstyled;
}

.list-triangle {
   list-style-type: none;
   padding-left: 0;

   li {
      padding: 2px 0 2px 17px;
      position: relative;

      &::before {
         @include fonticon;

         content: $icons_arrow_right;
         color: $font-color-light;
         position: absolute;
         left: 0;
         top: .8em;
         font-size: 9px;
      }
   }

   &.column-4 {
      @include column-count(4);
   }
}

// --- pomocné objekty

.media {
   .media-img {
      float: left;
   }

   .media-body {
      overflow: hidden;
      _overflow: visible;
      zoom: 1;
   }
}

.flg {
   @include flg;
}

.disable-spinner {
   @include disable-spinner;
}


//---------- GRID ----------//

.display-block {
   display: block;
}

.display-inline-block {
   display: inline-block;
}

.display-inline {
   display: inline;
}

.display-table {
   display: table;
   width: 100%;
}

.display-cell {
   display: table-cell;
   vertical-align: middle;
}

.display-row {
   display: table-row;
}

// z BS vykopane, prehozene na WP velikosti (xs atd)
// nejspis bude potreba pridat !important
.pull-right {
   float: right !important;
}

.pull-left {
   float: left !important;
}

// Hack pro skryti 13px mezery na konci stranky
iframe[name='google_conversion_frame'] {
   height: 0 !important;
   width: 0 !important;
   line-height: 0 !important;
   font-size: 0 !important;
   margin-top: -13px;
   float: left;
}

.pos-stat {
   position: static !important;
}

.pos-rel {
   position: relative !important;
}

.xs-p-x-0 {
   @media screen and (max-width: 543px) {
      padding-right: 0 !important;
      padding-left: 0 !important;
   }
}

.xs-m-x-0 {
   @media screen and (max-width: 543px) {
      margin-right: 0 !important;
      margin-left: 0 !important;
   }
}

.alert {
   font-size: 16px;
}

textarea,
input,
input[type='text'],
input[type='tel'],
input[type='email'] {
   -webkit-appearance: none;
}

@media screen and (min-width: 992px) {
   .full-version {
      display: none;

      &.active {
         display: inline;
      }
   }
}

@media screen and (min-width: 1660px) {
   .wpj-blocek-active .header-search-wrapper .btn {
      display: none;
   }
}

.fc {
   display: inline-block;
   line-height: .8em;

   &::before {
      vertical-align: middle;
   }
}
