
main {
    margin-top: 30px;
}
.cd-header {
    background-color: #009ae1;
    height: 150px;
    position: relative;
}
.cd-header h1 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
    line-height: 150px;
    text-align: center;
}
@media only screen and (min-width: 1170px) {
.cd-header {
    height: 180px;
}
.cd-header h1 {
    line-height: 180px;
}
}
.cd-main-content {
    min-height: 100vh;
    position: relative;
}
.cd-main-content::after {
    clear: both;
    content: "";
    display: table;
}
.cd-main-content.is-fixed .cd-tab-filter-wrapper {
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
}
.cd-main-content.is-fixed .cd-gallery {
    padding-top: 76px;
}
.cd-main-content.is-fixed .cd-filter {
    height: 100vh;
    overflow: hidden;
    position: fixed;
}
.cd-main-content.is-fixed .cd-filter form {
    height: 100vh;
    overflow: auto;
}
.cd-main-content.is-fixed .cd-filter-trigger {
    position: fixed;
}
@media only screen and (min-width: 768px) {
.cd-main-content.is-fixed .cd-gallery {
    padding-top: 90px;
}
}
@media only screen and (min-width: 1170px) {
.cd-main-content.is-fixed .cd-gallery {
    padding-top: 100px;
}
}
.cd-tab-filter-wrapper {
    background-color: #ffffff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    z-index: 1;
}
.cd-tab-filter-wrapper::after {
    clear: both;
    content: "";
    display: table;
}
.cd-tab-filter {
    height: 50px;
    margin: 0 auto;
    position: relative;
    width: 140px;
    z-index: 1;
}
.cd-tab-filter::after {
    background: yellow none repeat scroll 0 0;
    bottom: auto;
    content: "";
    display: inline-block;
    height: 16px;
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease 0s;
    width: 16px;
}
.cd-tab-filter ul {
    background-color: #ffffff;
    box-shadow: 0 -2px 0 #009ae1 inset;
    left: 0;
    position: absolute;
    top: 0;
}
.cd-tab-filter li {
    display: none;
}
.cd-tab-filter li:first-child {
    display: block;
}
.cd-tab-filter a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding-left: 14px;
    width: 140px;
}
.cd-tab-filter a.selected {
    background: #009ae1 none repeat scroll 0 0;
    color: #ffffff;
}
.cd-tab-filter.is-open::after {
    transform: translateY(-50%) rotate(-180deg);
}
.cd-tab-filter.is-open ul {
    box-shadow: 0 -2px 0 #009ae1 inset, 0 2px 10px rgba(0, 0, 0, 0.2);
}
.cd-tab-filter.is-open ul li {
    display: block;
}
.cd-tab-filter.is-open .placeholder a {
    opacity: 0.4;
}
@media only screen and (min-width: 768px) {
.cd-tab-filter {
    cursor: auto;
    width: auto;
}
.cd-tab-filter::after {
    display: none;
}
.cd-tab-filter ul {
    background: transparent none repeat scroll 0 0;
    box-shadow: none;
    margin-top: 0;
    position: static;
    text-align: center;
}
.cd-tab-filter li {
    display: inline-block;
}
.cd-tab-filter li.placeholder {
    display: none !important;
}
.cd-tab-filter a {
    color: #9a9a9a;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    padding: 0 1em;
    text-transform: uppercase;
    width: auto;
}
.no-touch .cd-tab-filter a:hover {
    color: #009ae1;
}
.cd-tab-filter a.selected {
    background: transparent none repeat scroll 0 0;
    box-shadow: 0 -2px 0 #009ae1 inset;
    color: #009ae1;
}
.cd-tab-filter.is-open ul li {
    display: inline-block;
}
}
@media only screen and (min-width: 1170px) {
.cd-tab-filter {
    background: rgba(0, 0, 0, 0) url("../images/pozadi3.jpg") repeat scroll center center;
    float: right;
    margin: 0;
    transition: width 0.3s ease 0s;
    width: 100%;
}
.cd-tab-filter.filter-is-visible {
    width: 80%;
}
}
.cd-gallery {
    padding: 26px 5%;
    width: 100%;
}
.cd-gallery li {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    display: inline;
    margin-bottom: 1.6em;
}
.cd-gallery li.gap {
    display: inline-block;
    height: 0;
    opacity: 0;
}
.cd-gallery img {
    display: block;
    width: 100%;
}
.cd-gallery .cd-fail-message {
    display: none;
    text-align: center;
}
@media only screen and (min-width: 768px) {
.cd-gallery {
    padding: 40px 3%;
}
.cd-gallery ul {
    text-align: justify;
}
.cd-gallery ul::after {
    clear: both;
    content: "";
    display: table;
}
.cd-gallery li {
    margin-bottom: 2em;
    width: 48%;
}
}
@media only screen and (min-width: 1170px) {
.cd-gallery {
    float: right;
    padding: 50px 2%;
    transition: width 0.3s ease 0s;
}
.cd-gallery li {
    width: 23%;
}
.cd-gallery.filter-is-visible {
    width: 80%;
}
}
.cd-filter {
    backface-visibility: hidden;
    background: #ffffff none repeat scroll 0 0;
    box-shadow: 4px 4px 20px transparent;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease 0s, box-shadow 0.3s ease 0s;
    width: 280px;
    z-index: 2;
}
.cd-filter::before {
    background-color: #009ae1;
    content: "";
    height: 50px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}
.cd-filter form {
    padding: 70px 20px;
}
.cd-filter .cd-close {
    background: #009ae1 none repeat scroll 0 0;
    color: #ffffff;
    font-size: 15px;
    height: 50px;
    line-height: 50px;
    opacity: 0;
    position: absolute;
    right: 80px;
    text-align: center;
    top: 0;
    transition: opacity 0.3s ease 0s;
    width: 60px;
    z-index: 3;
}
.no-touch .cd-filter .cd-close:hover {
    background: #009ae1 none repeat scroll 0 0;
}
.cd-filter.filter-is-visible {
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateX(0px);
}
.cd-filter.filter-is-visible .cd-close {
    opacity: 1;
}
@media only screen and (min-width: 1170px) {
.cd-filter {
    width: 20%;
}
.cd-filter form {
    padding: 70px 10%;
}
}
.cd-filter-trigger {
    background: transparent url("../images/filter/cd-icon-filter.svg") no-repeat scroll center center;
    color: transparent;
    height: 50px;
    left: 0;
    line-height: 50px;
    overflow: hidden;
    position: absolute;
    text-indent: 100%;
    top: 0;
    white-space: nowrap;
    width: 60px;
    z-index: 3;
}
.cd-filter-trigger.filter-is-visible {
    pointer-events: none;
}
@media only screen and (min-width: 1170px) {
.cd-filter-trigger {
    background-position: left center;
    color: #9a9a9a;
    font-weight: 700;
    left: 2%;
    padding-left: 24px;
    text-indent: 0;
    text-transform: uppercase;
    transition: color 0.3s ease 0s;
    width: auto;
}
.no-touch .cd-filter-trigger:hover {
    color: #009ae1;
}
.cd-filter-trigger.filter-is-visible, .cd-filter-trigger.filter-is-visible:hover {
    color: #ffffff;
}
}
.cd-filter-block {
    margin-bottom: 1.6em;
}
.cd-filter-block h4 {
    -moz-user-select: none;
    color: #9a9a9a;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0.2em;
    padding: 10px 0 10px 20px;
    position: relative;
    text-transform: uppercase;
}
.no-touch .cd-filter-block h4:hover {
    color: #009ae1;
}
.cd-filter-block h4::before {
    background: rgba(0, 0, 0, 0) url("../images/filter/cd-icon-arrow.svg") no-repeat scroll center center;
    content: "";
    height: 16px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease 0s;
    width: 16px;
}
.cd-filter-block h4.closed::before {
    transform: translateY(-50%) rotate(-90deg);
}
.cd-filter-block input, .cd-filter-block select, .cd-filter-block .radio-label::before, .cd-filter-block .checkbox-label::before {
    background-color: #ffffff;
    border: 2px solid #e6e6e6;
    border-radius: 0;
}
.cd-filter-block input[type="search"], .cd-filter-block input[type="text"], .cd-filter-block select {
    -moz-appearance: none;
    box-shadow: none;
    padding: 0.8em;
    width: 100%;
}
.cd-filter-block input[type="search"]:focus, .cd-filter-block input[type="text"]:focus, .cd-filter-block select:focus {
    background-color: #ffffff;
    border-color: #009ae1;
    outline: medium none;
}
.cd-filter-block input[type="search"] {
    background-color: #e6e6e6;
    border-color: transparent;
    font-size: 14px !important;
}
.cd-filter-block .cd-select {
    position: relative;
}
.cd-filter-block .cd-select::after {
    background: rgba(0, 0, 0, 0) url("../images/filter/cd-icon-arrow.svg") no-repeat scroll center center;
    content: "";
    display: block;
    height: 16px;
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    z-index: 1;
}
.cd-filter-block select {
    cursor: pointer;
    font-size: 14px;
}
.cd-filter-block .list li {
    margin-bottom: 0.8em;
    position: relative;
}
.cd-filter-block .list li:last-of-type {
    margin-bottom: 0;
}
.cd-filter-block input[type="radio"], .cd-filter-block input[type="checkbox"] {
    left: 0;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    top: 0;
    z-index: 2;
}
.cd-filter-block .checkbox-label, .cd-filter-block .radio-label {
    -moz-user-select: none;
    font-size: 14px;
    padding-left: 24px;
}
.cd-filter-block .checkbox-label::before, .cd-filter-block .checkbox-label::after, .cd-filter-block .radio-label::before, .cd-filter-block .radio-label::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.cd-filter-block .checkbox-label::before, .cd-filter-block .radio-label::before {
    height: 16px;
    left: 0;
    width: 16px;
}
.cd-filter-block .checkbox-label::after, .cd-filter-block .radio-label::after {
    display: none;
}
.cd-filter-block .checkbox-label::after {
    background: rgba(0, 0, 0, 0) url("../images/filter/cd-icon-check.svg") no-repeat scroll center center;
    height: 16px;
    width: 16px;
}
.cd-filter-block .radio-label::before, .cd-filter-block .radio-label::after {
    border-radius: 50%;
}
.cd-filter-block .radio-label::after {
    background-color: #ffffff;
    height: 6px;
    left: 5px;
    width: 6px;
}
.cd-filter-block input[type="radio"]:checked + label::before, .cd-filter-block input[type="checkbox"]:checked + label::before {
    background-color: #009ae1;
    border-color: #009ae1;
}
.cd-filter-block input[type="radio"]:checked + label::after, .cd-filter-block input[type="checkbox"]:checked + label::after {
    display: block;
}
@-moz-document url-prefix("") {
.cd-filter-block .cd-select::after {
    display: none;
}
}
