body{
  background:#f4f4f4;
}

/* Navbar */
.navbar{
  min-height: 50px !important;
  margin-bottom:0;
  border-radius:0;
}

.navbar-nav > li > a, .navbar-brand{
  padding-top:15px !important;
  padding-bottom:0 !important;
  height: 50px;
}

.navbar-brand img {
	height:35px; 
	top:-5px;
	position:relative;
}

.navbar-default {
	background-color: #3275b6;
    border-color: #406ba1;
}
.navbar-default .navbar-brand {
  color: #ecf0f1;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #ffbbbc;
}
.navbar-default .navbar-text {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #f5f5f5;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #ffffff;
  background-color: #2c62a3;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #73a9d8;
  background-color: #3468a7;
}
.navbar-default .navbar-toggle {
  border-color: #2c62a3;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #2f67ab;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #ecf0f1;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #ecf0f1;
}
.navbar-default .navbar-link {
  color: #ecf0f1;
}
.navbar-default .navbar-link:hover {
  color: #ffbbbc;
}

/* Custom */
.main-color-bg{
  background-color: #2c62a3 !important;
  border-color: #406ba1 !important;
  color:#ffffff !important;
}

/* Header */
#header{
  background:#333333;
  color:#ffffff;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

#header .create{
  padding-top: 20px;
}

/* Breadcrumb */
.breadcrumb{
  background:#cccccc;
  color:#333333;
}

.breadcrumb a{
  color:#333333;
}

/* Progress Bars */
.progress-bar{
  background:#333333;
  color:#ffffff;
}

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

#login{
  margin-top:30px;
}

/* Footer */
#footer{
  background:#333333;
  color:#ffffff;
  text-align:center;
  padding:30px;
  margin-top:30px;
}


@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ecf0f1;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #65adf3;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ffbbbc;
    background-color: #c0392b;
  }
}


/* DODATKOWE */
/* PAGE */
.title-decoration { margin:20px 0; }
.title-decoration div {
	font-family: 'Playfair Display', serif;
    font-size: 100px;
    font-weight: 700;
    color: #f4f5fa;
    line-height: 0.75;
    z-index: 0;
}

.title-decoration h1, .title-decoration h1 a {
	position: relative;
    font-size: 36px;
    font-weight: 700;
    color: #81941f !important;
    z-index: 1;
    margin-top: -50px;
}

.title-decoration h1 a:hover { color: #c1dc37 !important; }

.title-decoration h2 {
	position: relative;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    z-index: 1;
    margin-top: -10px;
}

.title {
	margin:15px 0;
	font-size: 1rem;
    font-weight: 800;
    color: #1c2e42;
}

/*NEWS FIRST */



/* NEWS - SLIDE */
ul.timeline {
  list-style-type: none;
  position: relative;
}
ul.timeline:before {
  content: ' ';
  background: #d4d9df;
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 2px;
  height: 100%;
  z-index: 400;
}
ul.timeline > li {
  margin: 20px 0;
  padding-left: 20px;
}
ul.timeline > li:before {
  content: ' ';
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 3px solid #81941f;
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
}

ul.timeline a { color:#1c2e42; font-weight:600; }
/*vertical carousel*/
.vert .carousel-item-next.carousel-item-left,
.vert .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.vert .carousel-item-next,
.vert .active.carousel-item-right {
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100% 0);
}

.vert .carousel-item-prev,
.vert .active.carousel-item-left {
-webkit-transform: translate3d(0,-100%, 0);
        transform: translate3d(0,-100%, 0);
}

/* BANER */
.grayscale img { 
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	-webkit-transition: all 600ms ease;
  	transition: all 600ms ease;
}
.grayscale img:hover { 
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
	-webkit-transition: all 600ms ease;
  	transition: all 600ms ease;
}

/* BOXY POD SUBMENU */
.box > .icon { text-align: center; position: relative; }
.box > .icon > .image { position: relative; z-index: 2; margin: auto; width: 88px; height: 88px; border: 8px solid white; line-height: 88px; border-radius: 50%; background: #1c2e42; vertical-align: middle; }
.box > .icon:hover > .image { background: #81941f; }
.box > .icon > .image > i { font-size: 36px !important; color: #fff !important; }
.box > .icon:hover > .image > i { color: white !important; }
.box > .icon > .info { margin-top: -24px; background: rgba(0, 0, 0, 0.04); border: 1px solid #e0e0e0; padding: 15px 0 10px 0; }
.box > .icon:hover > .info { background: rgba(0, 0, 0, 0.04); border-color: #e0e0e0; color: white; }
.box > .icon > .info > h3.title {  font-size: 16px; color: #222; font-weight: 500; }
.box > .icon > .info > p { font-size: 13px; color: #666; line-height: 1.5em; margin: 20px;}
.box > .icon:hover > .info > h3.title, .box > .icon:hover > .info > p, .box > .icon:hover > .info > .more > a { color: #222; }
.box > .icon > .info > .more a {  font-size: 12px; color: #222; line-height: 12px; text-transform: uppercase; text-decoration: none; }
.box > .icon:hover > .info > .more > a { color: #fff; padding: 6px 8px; background-color: #1c2e42; }
.box .space { height: 30px; }

/* MY TABLE */

#myInput {
  background-image: url('img/searchicon.png'); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 100%; /* Full-width */
  font-size: 16px; /* Increase font-size */
  padding: 12px 20px 12px 40px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
}

#myTable {
  border-collapse: collapse; /* Collapse borders */
  width: 100%; /* Full-width */
  border: 1px solid #ddd; /* Add a grey border */
  font-size: 18px; /* Increase font-size */
}

#myTable th, #myTable td {
  text-align: left; /* Left-align text */
  padding: 12px; /* Add padding */
}

#myTable tr {
  /* Add a bottom border to all table rows */
  border-bottom: 1px solid #ddd; 
}

#myTable tr.header {
  /* Add a grey background color to the table header and on hover */
  background-color: #1c2e42;
  color: #fff;
}

#myTable a { color:inherit; }

#myTable tr:hover, #myTable tr:hover {
  /* Add a grey background color to the table header and on hover */
  background-color: #4b617a;
  color: #fff;
}

/* AKTUALNOSCI KARTY */
#loadBox .card {
    max-height:400px;
	float:left;
    background:#fff;
    box-shadow:0 20px 50px rgba(0,0,0,.1);
    border-radius:10px;
    transition:0.5s;
}
#loadBox .card:hover {
    box-shadow:0 30px 70px rgba(0,0,0,.2);
}
#loadBox .card .box {
    position:relative;
    text-align:center;
    padding:20px;
    box-sizing:border-box;
    width:100%;
}
#loadBox .card .box .img {
    max-height:160px;
    margin:0 auto;
    overflow:hidden;
}
#loadBox .card .box .img img {
    width:100%;
    height:100%;
}
#loadBox .card .box h2 {
    font-size:20px;
	height: 80px;
	max-height:80px;
    color:#262626;
    margin:20px auto;
	overflow:hidden;
}
#loadBox .card .box h2 span {
    font-size:14px;
    background:#fdc007;
    color:#fff;
    display:inline-block;
    padding:4px 10px;
    border-radius:15px;
}
#loadBox .card .box p {
    color:#262626;
}
#loadBox .card .box span {
    display:inline-flex;
}
#loadBox .card .box ul {
    margin:0;
    padding:0;
}
#loadBox .card .box ul li {
    list-style:none;
    float:left;
}
#loadBox .card .box ul li a {
    display:block;
    color:#aaa;
    margin:0 10px;
    font-size:20px;
    transition:0.5s;
    text-align:center;
}
#loadBox .card .box ul li:hover a {
    color:#f7bb07;
    transform:rotateY(360deg);
}

/* GALERIA */
.preview {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column; }
  @media screen and (max-width: 996px) {
    .preview {
      margin-bottom: 20px; } }

.preview-pic {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1; }

.preview-thumbnail.nav-tabs {
  border: none;
  margin-top: 15px; }
  .preview-thumbnail.nav-tabs li {
    width: 18%;
    margin-right: 2.5%;
	margin-bottom: 2.5%; }
	.preview-thumbnail.nav-tabs li:nth-child(4n+1) { margin-right: 0; }
	.preview-thumbnail.nav-tabs li:first-child { margin-right: 2.5%; }
	
    .preview-thumbnail.nav-tabs li img {
      max-width: 100%;
      display: block;
      height:80px;
        
    }
    .preview-thumbnail.nav-tabs li a {
      padding: 0;
      margin: 0; }
    .preview-thumbnail.nav-tabs li:last-of-type {
      margin-right: 0; }

.tab-content {
  overflow: hidden; }
  .tab-content img {
    width: 100%;
    -webkit-animation-name: opacity;
            animation-name: opacity;
    -webkit-animation-duration: .3s;
            animation-duration: .3s; }

.card-product {
  margin-top: 50px;
  background: #eee;
  padding: 3em;
  line-height: 1.5em; }

@media screen and (min-width: 997px) {
  .wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex; } }

.details {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column; }

.product-title { font-weight: bold; }

.product-title, .rating, .product-description {
  margin-bottom: 15px; }

.product-title {
  margin-top: 0; }



@-webkit-keyframes opacity {
  0% {
    opacity: 0;
    -webkit-transform: scale(1.2);
            transform: scale(1.2); }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); } }

@keyframes opacity {
  0% {
    opacity: 0;
    -webkit-transform: scale(1.2);
            transform: scale(1.2); }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); } }
@media (max-width:576px){
    .preview-thumbnail.nav-tabs li img{
        height:50px;
    }
    .preview-thumbnail.nav-tabs li{
        margin-right:1.5%;
    }
}