/* -------------------------------- 

Primary style

-------------------------------- */


html {

}

html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {


}

a {
  color: #41307c;
  text-decoration: none;
}

/* -------------------------------- 

Main Components 

-------------------------------- */


.cd-main-content {

  min-height: 100vh;
}
.cd-main-content:after {

}
.cd-main-content.is-fixed .cd-tab-filter-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}


/* -------------------------------- 

xtab-filter 

-------------------------------- */
.cd-tab-filter-wrapper {
  background-color: rgba(240,240,240,1);
  width:100%;
  z-index: 1;
}



.cd-tab-filter {
  /* tabbed navigation style on mobile - dropdown */
  position: relative;
  height: 50px;
  width: 100%;

  z-index: 1;
  background-color:none;
}

.cd-tab-filter ul {
  position: absolute;
  top: 0;
  left: 0;
  width:100%;display:block;
  background-color: rgba(240,240,240,1);
  box-shadow: inset 0 -2px 0 #d35b15;
}
.cd-tab-filter li {
  display: none;
}
.cd-tab-filter li:first-child {
  /* this way the placehodler is alway visible */
  display: block;
}

.cd-tab-filter a {
  display: block;
  /* set same size of the .cd-tab-filter */
  height: 50px;
  padding-top:0px;
  width: 100%;
  line-height: 50px;
  padding-left: 14px;
  color:#3c3c3b;text-transform:uppercase;
}

.cd-tab-filter a.selected {
  background: #d35b15;
  color: #ffffff;
}
.cd-tab-filter.is-open::after {
  /* small arrow rotation */
  -webkit-transform: translateY(-50%) rotate(-180deg);
  -moz-transform: translateY(-50%) rotate(-180deg);
  -ms-transform: translateY(-50%) rotate(-180deg);
  -o-transform: translateY(-50%) rotate(-180deg);
  transform: translateY(-50%) rotate(-180deg);
}
.cd-tab-filter.is-open ul {
  box-shadow: inset 0 -2px 0 #d35b15, 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 {
  /* reduces the opacity of the placeholder on mobile when the menu is open */
  opacity: .4;
}
@media only screen and (min-width: 768px) {
  .cd-tab-filter {
    /* tabbed navigation style on medium devices */
    width: auto;
    cursor: auto;
	background-color: rgba(240,240,240,1);
  }
  .cd-tab-filter::after {
    /* hide the arrow */
    display: none;
  }
  .cd-tab-filter ul {
    background: transparent;
    position: relative;
    box-shadow: none;
    text-align: center;
  }
  .cd-tab-filter li {
    display: inline-block;
  }
  .cd-tab-filter li.placeholder {
    display: none !important;
  }
  .cd-tab-filter a {
    display:block;
    padding: 0 1em;
    width: auto;
    color: #3c3c3b;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.3rem;
  }
  .no-touch .cd-tab-filter a:hover {
    color: #d35b15;
  }
  .cd-tab-filter a.selected {
    background: transparent;
    color: #d35b15;
    /* create border bottom using box-shadow property */
    box-shadow: inset 0 -2px 0 #d35b15;
  }
  .cd-tab-filter.is-open ul li {
    display: block;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-tab-filter {
    /* tabbed navigation on big devices */
    width: 100%;
    float: right;
    margin: 0;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;

	
  }
  .cd-tab-filter.filter-is-visible {
    /* reduce width when filter is visible */
    width: 80%;
  }

}

/* -------------------------------- 

xgallery 

-------------------------------- */
.cd-gallery {

}
.cd-gallery li {
 width:49.2%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: none;
  margin-bottom:0.1em;
 position:relative;
}

.cd-gallery li:hover{opacity:0.7}

.cd-gallery li a b{position:absolute;top:10px;right:10px;width:50px;height:auto;}
.cd-gallery li a b img{width:100%;height:auto;}
.cd-gallery ul {
    text-align: justify;
  }
.cd-gallery li.gap {
  /* used in combination with text-align: justify to align gallery elements */
  opacity: 0;
    height: 0;
  display: inline-block;
}
.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 {
 
  }
  .cd-gallery ul {
    text-align: justify;
  }
  .cd-gallery ul:after {
    content: "";
    display: table;
    clear: both;
  }
  .cd-gallery li {
    width: 24.6%;
    margin-bottom: 0.05em;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-gallery {


  }
  .cd-gallery li {
    width: 19.5%;
	margin-bottom:0.4em;
  }
  .cd-gallery.filter-is-visible {
    /* reduce width when filter is visible */
    width: 100%;
  }
}

