/*tabs*/

.tabbs {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
}

input {
  /*display: none;*/
}

input.opa {
  display: none;
}

label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 19px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;
}

label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

label[for*='1']:before { content: '\f019'; }
label[for*='2']:before { content: '\f0e3'; }
/*label[for*='3']:before { content: '\f182'; } 
label[for*='4']:before { content: '\f004'; } */

label:hover {
  color: #888;
  cursor: pointer;
}

input:checked + label {
  color: #000;
  border: 1px solid #ddd;
  border-top: 2px solid rgba(255, 0, 0, 1);
  border-bottom: 1px solid #fff;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  display: block;
}

#service_tab1:checked ~ #content1,
#service_tab2:checked ~ #content2 {
  display: block;
}

@media screen and (max-width: 599px) {
  label {
    font-size: 0; 
  }
  label:before {
    margin: 0;
    font-size: 18px;
  }
}

@media screen and (max-width: 400px) {
  label {
    padding: 15px;
  }
}











@font-face {
	font-family: 'anyoldicon';
	src:url('../fonts/anyoldicon/anyoldicon.eot');
	src:url('../fonts/anyoldicon/anyoldicon.eot?#iefix') format('embedded-opentype'),
		url('../fonts/anyoldicon/anyoldicon.woff') format('woff'),
		url('../fonts/anyoldicon/anyoldicon.ttf') format('truetype'),
		url('../fonts/anyoldicon/anyoldicon.svg#anyoldicon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* General grid styles */
.cbp-ig-grid {
	list-style: none;
	padding: 0 0 50px 0;
	margin: 0;
}

/* Clear floats */
.cbp-ig-grid:before, 
.cbp-ig-grid:after { 
	content: " "; 
	display: table; 
}

.cbp-ig-grid:after { 
	clear: both; 
}

/* grid item */
.cbp-ig-grid li {
	width: 33%;
	/*float: left;*/
	/*height: 420px;*/
	text-align: center;
	/*border-top: 1px solid #ddd;*/
}

/* we are using a combination of borders and box shadows to control the grid lines */
.cbp-ig-grid li:nth-child(-n+3){
	border-top: none;
}

.cbp-ig-grid li:nth-child(3n-1),
.cbp-ig-grid li:nth-child(3n-2) {
	/*box-shadow: 1px 0 0 #ddd;*/
}

/* anchor style */
.cbp-ig-grid li > a {
	display: block;
	height: 100%;
	color: #000;
	-webkit-transition: background 0.2s;
	-moz-transition: background 0.2s;
	transition: background 0.2s;
}

/* the icon with pseudo class for icon font */
.cbp-ig-icon {
	padding: 0;
	display: block;
	-webkit-transition: -webkit-transform 0.2s;
	transition: -moz-transform 0.2s;
	transition: transform 0.2s;
}

.cbp-ig-icon:before {
	font-family: 'fontawesome';
	font-size: 2.5em;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}


.cbp-ig-icon-Saeulen:before {
	content: "\f00b";
}

.cbp-ig-icon-Wado-Ryu:before {
	content: "\f2a7";
}

.cbp-ig-icon-Guertelsystem:before {
	content: "\f1ce";
}

.cbp-ig-icon-whippy:before {
	content: "\f03d";
}

.cbp-ig-icon-spectacles:before {
	content: "\f2c3";
}

.cbp-ig-icon-doumbek:before {
	content: "\f0d6";
}

/* title element */
.cbp-ig-grid .cbp-ig-title {
	margin: 10px 0 0px 0;
	padding: 20px 0 0 0;
	font-size: 1.4em;
	position: relative;
	-webkit-transition: -webkit-transform 0.2s;
	-moz-transition: -moz-transform 0.2s;
	transition: transform 0.2s;
}

.cbp-ig-grid .cbp-ig-category {
	text-transform: uppercase;
	display: inline-block;
	font-size: 1em;
	letter-spacing: 1px;
	color: #fff;
	-webkit-transform: translateY(5px);
	-moz-transform: -moz-translateY(5px);
	-ms-transform: -ms-translateY(5px);
	transform: translateY(5px);
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	-webkit-transition: transform 0.3s, opacity 0.2s;
}

.cbp-ig-grid li:hover .cbp-ig-category,
.touch .cbp-ig-grid li .cbp-ig-category {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
}

/* Hover styles */

.cbp-ig-grid li > a:hover {
	/*background: #47a3da;*/
}

.cbp-ig-grid li > a:hover .cbp-ig-icon {
	-webkit-transform: translateY(5px);
	-moz-transform: translateY(5px);
	-ms-transform: translateY(5px);
	transform: translateY(5px);
}

.cbp-ig-grid li > a:hover .cbp-ig-icon:before,
.cbp-ig-grid li > a:hover .cbp-ig-title {
	color: red;
}

.cbp-ig-grid li > a:hover .cbp-ig-title {
	-webkit-transform: translateY(-5px);
	-moz-transform: translateY(-5px);
	-ms-transform: translateY(-5px);
	transform: translateY(-5px);
}

.cbp-ig-grid li > a:hover .cbp-ig-title:before {
	background: #fff;
	margin-top: 80px;
}


@media screen and (max-width: 62.75em) {
	/*.cbp-ig-grid li {*/
	/*	width: 50%;*/
	/*}*/

	/* reset the grid lines */
	/*.cbp-ig-grid li:nth-child(-n+3){*/
	/*	border-top: 1px solid #ddd;*/
	/*}*/

	/*.cbp-ig-grid li:nth-child(3n-1),*/
	/*.cbp-ig-grid li:nth-child(3n-2) {*/
	/*	box-shadow: none;*/
	/*}*/
	/**/
	/*.cbp-ig-grid li:nth-child(-n+2){*/
	/*	border-top: none;*/
	/*}*/

	/*.cbp-ig-grid li:nth-child(2n-1) {*/
	/*	box-shadow: 1px 0 0 #ddd;*/
	/*}*/
}

@media screen and (max-width: 41.6em) { 
	/*.cbp-ig-grid li {*/
	/*	width: 100%;*/
	/*}*/

	/*.cbp-ig-grid li:nth-child(-n+2){*/
	/*	border-top: 1px solid #ddd;*/
	/*}*/

	/*.cbp-ig-grid li:nth-child(2n-1) {*/
	/*	box-shadow: none*/
	/*}*/
	/**/
	/*.cbp-ig-grid li:first-child {*/
	/*	border-top: none;*/
	/*}*/
}

@media screen and (max-width: 25em) { 
	/*.cbp-ig-grid {*/
	/*	font-size: 80%;*/
	/*}*/
	/**/
	/*.cbp-ig-grid .cbp-ig-category {*/
	/*	margin-top: 20px;*/
	/*}*/
}

@media screen and (max-width: 1169px) {
  .cbp-ig-icon {
    display: none;
  }
  
  .cd-main-nav a, .cd-main-nav ul a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid #3a3f40;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform, opacity;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
  }
  
  /* grid item */
  .cbp-ig-grid li {
      width: 100%;
      text-align: center;
  }
  
  /* title element */
  .cbp-ig-grid .cbp-ig-title {
      margin: 0px 0 0px 0;
      padding: 20px 0 0 0;
      font-size: 100%;
      color: #fff;
      text-align: left;
      position: relative;
      -webkit-transition: -webkit-transform 0.2s;
      -moz-transition: -moz-transform 0.2s;
      transition: transform 0.2s;
  }
  
  .cbp-ig-grid.selected li.active a .cbp-ig-title {
      color: #ff0000;
  }
}

.square-box{
    position: relative;
    width: calc(29%);
    overflow: hidden;
    float: left;
    background: #bbb;
    margin: 2%;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.square-box:before{
    content: "";
    display: block;
    padding-top: 100%;
}
.square-box:hover{
    background: #888;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.square-content{
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: white;
}
.square-content div {
   display: table;
   width: 100%;
   height: 100%;
}
/*.square-content div i {
    height: 64px;
    width: 64px;
    top: calc(50% - 56px);
}*/

.square-content span:before {
  width: 100%;
  font-size: 2.5em;
}

.square-content span {
    width: 100%;
    margin-top: 27.5%;
    text-align: center;
    vertical-align: middle;
    color: #2e3233;
	-webkit-transition: -webkit-transform 0.2s;
	transition: -moz-transform 0.2s;
	transition: transform 0.2s;
}

.square-content div h3 {
    text-align: center;
	margin: 10px 0 0px 0;
	padding: 20px 0 0 0;
	font-size: 1.4em;
	position: relative;
	-webkit-transition: -webkit-transform 0.2s;
	-moz-transition: -moz-transform 0.2s;
	transition: transform 0.2s;
    color: #2e3233;
}

.square-content:hover span {
	-webkit-transform: translateY(5px);
	-moz-transform: translateY(5px);
	-ms-transform: translateY(5px);
	transform: translateY(5px);
}

.square-content:hover div h3  {
	-webkit-transform: translateY(-5px);
	-moz-transform: translateY(-5px);
	-ms-transform: translateY(-5px);
	transform: translateY(-5px);
}

/*quotes rotator */

.cbp-qtrotator {
	position: relative;
	max-width: 800px;
	width: 100%;
    min-height: 330px;
}

.cbp-qtrotator .cbp-qtcontent {
	position: absolute;
	/*min-height: 200px;*/
	padding: 25px;
	padding-top: 10px;
	top: 0;
	z-index: 0;
	opacity: 0;
	width: 100%;
}

.pad {
	padding-left: 25px;
}

.no-js .cbp-qtrotator .cbp-qtcontent {
	border-bottom: none;
}

.cbp-qtrotator .cbp-qtcontent.cbp-qtcurrent,
.no-js .cbp-qtrotator .cbp-qtcontent {
	position: relative; 
	z-index: 100;
	pointer-events: auto;
	opacity: 1;
}

.cbp-qtrotator .cbp-qtcontent:before,
.cbp-qtrotator .cbp-qtcontent:after {
	content: " ";
	display: table;
}

.cbp-qtrotator .cbp-qtcontent:after {
	clear: both;
}

.cbp-qtprogress {
	position: absolute;
	background: rgba(255, 0, 0, 1);
	height: 3px;
	width: 0%;
	bottom: 0;
	z-index: 1000;
	opacity: 0;
}

.cbp-qtrotator blockquote {
	margin: 0;
	padding: 0;
	border: none;
}

.cbp-qtrotator blockquote p {
	font-size: 30px;
	color: #000000;
	font-weight: 300;
    font-family: "Open Sans", sans-serif;
    font-weight: 100;
    line-height: 1.1;
    color: darkgrey;
}

.cbp-qtrotator blockquote footer {
	font-size: 1.2em;
}

.cbp-qtrotator blockquote footer:before {
	content: ' ';
}

.cbp-qtrotator .cbp-qtcontent img {
	float: right;
	margin-left: 3em;
}

/* Example for media query */
@media screen and (max-width: 599px) { 

    .cbp-qtrotator {
        font-size: 70%;
        min-height: 200px;
    }

	.cbp-qtrotator img {
		width: 80px;
	}

}

/*buttons*/

.head-news {
  margin-top: 10px;
}

.btn-news {
   -moz-appearance: none;
    background: #ff0000 none repeat scroll 0 0;
    border: medium none;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    float: right;
    font-weight: bold;
    padding: 10px 15px;
    transition: all 0.3s ease 0s;
    font-size: inherit;
    font-family: "Open Sans";
}

.btn-news:hover {
      background: #808080;
      color: #fff;
      text-decoration: none;
}

/*news article sites*/

.article-img {
    max-height: 250px;
}

.article-img img {
    width: auto;
    max-height: inherit;
}

.featurette-image {
    max-height: 200px;
    width: auto;
    /*max-height: inherit;*/
}