.cbp-af-header img {
	/* height: 85px; */
	-moz-transition: all 0.2s linear 0s;
	/* -webkit-transition: all 0.2s linear 0s; */
	-o-transition: all 0.2s linear 0s;
}
.cbp-af-header.cbp-af-header-shrink .logo   {

    width: auto;
  
}

.cbp-af-header.cbp-af-header-shrink .logo img  {
    height: 57px;
    background-size: auto 100%;
    -moz-transition: all 0.2s linear 0s;
    -webkit-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    position: relative;
    float: left;
    width: auto;
    margin: 5px 0px;
}
.cbp-af-header.cbp-af-header-shrink .nav {
    -moz-transition: all 0.2s linear 0s;
     -webkit-transition: all 0.2s linear 0s; 
    -o-transition: all 0.2s linear 0s;
    width: auto;
	margin-top:17px;
}

.cbp-af-header.cbp-af-header-shrink .nav .flexnav li > ul {
    /* position: absolute; */
    top: 53px;
    width: 310px;
    background: rgba(255, 255, 255, 0.7);
}


.cbp-af-header.cbp-af-header-shrink {
	height: 70px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.cbp-af-header.cbp-af-header-shrink .menu ul {}
.cbp-af-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
    height: 280px;
    -webkit-transition: height 0.1s;
    -moz-transition: height 0.1s;
    transition: height 0.1s;
    border-bottom: 1px solid #f6f6f6;
}
.cbp-af-header .cbp-af-inner {
	width: 100%;
	/* max-width: 69em; */
	margin: 0 auto;
}
.cbp-af-header h1, .cbp-af-header nav {
	display: inline-block;
	position: relative;
}
/* We just have one-lined elements, so we'll center the elements with the line-height set to the height of the header */
.cbp-af-header h1, .cbp-af-header nav a {
	color: white;
}
.cbp-af-header li {
	position: relative;
}
.cbp-af-header h1 {
	text-transform: uppercase;
	color: #333;
	letter-spacing: 4px;
	font-size: 4em;
	margin: 0;
	float: left;
}
.cbp-af-header nav {
	float: right;
}
/* Transitions and class for reduced height */
.cbp-af-header h1, .cbp-af-header nav a {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.cbp-af-header.cbp-af-header-shrink h1, .cbp-af-header.cbp-af-header-shrink nav a {}
.cbp-af-header.cbp-af-header-shrink h1 {}

@media (max-width:1034px) {
.cbp-af-header .cbp-af-inner .flexnav li a {
    padding: 10px 5px;

}
.cbp-af-header.cbp-af-header-shrink .flexnav li a {
    padding: 7px 5px;
}
}

@media (max-width:875px) {
    .cbp-af-header.cbp-af-header-shrink .nav {
        margin-top: 0px;
        width: 100%;
    }
	.cbp-af-header.cbp-af-header-shrink .logo img {
      height: 77px;
    margin: 10px 0px;
 
}
	
	.cbp-af-header.cbp-af-header-shrink .nav .flexnav li > ul {
    /* position: absolute; */
 
    width: 100%;
}
	.cbp-af-header .cbp-af-inner .flexnav li a {
    padding: 14px 5px;
    font-size: 14px;
	}
	
	
	.cbp-af-header.cbp-af-header-shrink .menu-button {
 top: 0px; 
}
	.cbp-af-header {
		height: 140px;
	}
	.cbp-af-header.container {
		padding: 0px 0px;
	}
	.cbp-af-header img {
		/* height: 117px; */
		/* margin: 10px 7px; */
	}
	.cbp-af-header.cbp-af-header-shrink  {
		height: 100px;
		margin: 0px;
	}
	.cbp-af-header.cbp-af-header-shrink img {
		/* height: 40px; */
		/* margin: 0px 10px; */
	}
	.cbp-af-header.cbp-af-header-shrink .menu .show-menu {
		width: 60px;
		height: 60px;
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		transition: all 0.3s;
	}
	.cbp-af-header.cbp-af-header-shrink .menu {
		margin-top: 0px;
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		transition: all 0.3s;
		height: 60px
	}
}
@media (max-width:500px) {
	
	

	.cbp-af-header.cbp-af-header-shrink .menu-button {
	right: 6px;  
      margin-top: 8px;
}
	
.cbp-af-header.cbp-af-header-shrink .logo img {
     height: 65px;
    margin: 5px 0px;
}
.cbp-af-header.cbp-af-header-shrink {
    height: 76px;
    margin: 0px;
}
}

@media (min-width: 1000px) and (max-height: 768px) {
    .cbp-af-header {
        height: 208px;
    }
}
