/* navigation */
.headercontainer{
	height:50px;
}

.affiliateNav{
	 width:100%;
	 max-width:100%;
}
	
/* brand */
.navbar-brand {
	position:absolute;
	left:100px;
	display:block;
	width:183px;
	height:160px;
	padding:0px;
		
}

@media(max-width:1200px){
	.navbar-brand{
		left:20px;
	}
}

@media (max-width: 992px) {
	.navbar-brand {
	    font-size: 18px;
	    top:0px;
	    left:0px;
	    height: auto;
	    width:100%;
	    line-height: 20px;
	    padding: 0px!important;
	}
	.navbar-brand img{
		margin: 0 auto;
	}
}	

 /*nav*/ 

	
	.navbar-default .navbar-nav > li > a {
	  color: #ffffff;
	}
	.navbar-default .navbar-nav > li > a:hover,
	.navbar-default .navbar-nav > li > a:focus {
	  color: #ffffff;
	}


/* nav menu*/
@media(min-width:993px){
	.navupper{
		background:#ffffff;
		min-height:50px;
		width:100%;
	}
	
	.navupper ul  {
	    list-style: none;
	    margin-right:10%;
	}
	
	.navupper ul li{
		display: inline-block;
	}
	
	.navupper ul li a{
		color:#565656!important;
		background-color: transparent!important;
		transition:opacity 0.25s;
		font-family: 'Quicksand', sans-serif;
	}
	
	.navupper ul li a:hover{
		opacity:0.66;
		text-decoration: none;
	}
	

	
	.navbarmain{
		background:#2a3b5a;
		min-height:60px;
		width:100%;
		padding:10px 85px 10px 0px;
	}
	
	.navbarmain ul{
		list-style: none;
		padding:0px 10px;
	} 
	
	.navbarmain ul li a{
		padding: 0 20px;
		color:#ffffff!important;
		background-color: transparent!important;
		transition:opacity 0.25s;
		font-size: 20px;
	    line-height: 40px;
		display:block;
		font-weight:normal;
		font-family: 'Quicksand', sans-serif;
		

	}
	.navbarmain ul li a:hover{
		color:#ffffff!important;
	}
	
	.navbarmain .button{
		background: #ffffff!important;
		color:#3e3f3e!important;
	    border-radius: 8px;
	    display: inline-block;
	    font-size: 16px;
	    font-weight: 900;
	    line-height: 40px;
	    padding: 0px 20px;
	    text-transform: uppercase;
	    transition: color 0.25s ease 0s, background-color 0.25s ease 0s;
	    white-space: nowrap;
	}
	.navbarmain .button:hover{
		background:#3e3f3e!important; 
		color:#ffffff!important;
	}
	.caret{
		display:none;
	}

	.navbarmain li.topLink{
		display:none;
	}
	
	/* drop down menu*/	
	.navbarmain li > .navdropdown{
		display:block;
		position:absolute;
		overflow:hidden;
		top:60px;
		left:0px;
		padding:0;
		background:#fff;
		max-height:0;
		min-width:220px;
		box-shadow:0 5px 20px rgba(0,0,0,0.1);
		transition:max-height 0.25s, padding 0.25s;
		border: none;
	}
	.navbarmain li:hover > .navdropdown{
		max-height:300px; 
		padding:10px 0;
	}
	.navbarmain .navdropdown a{
		display:block;
		padding:0 20px;
		font-size:16px;
		line-height:35px;
		font-weight:700;
		color:#525459!important;
		transition:background 0.25s, color 0.25s
	}
	.navbarmain .navdropdown a:hover{
		background:#3e3f3e!important; 
		color:#fff!important;
	}

}



/*toggle breakpoint*/
@media (max-width: 992px) {
	.headercontainer{
		height:50px;
	}
	.navupper{
		display: none;
	}
	
	/*hamburger menu border and line*/
	
	.navbar-default .navbar-toggle {
	  border-color: transparent;
	  margin-right: 20px;
	}
	
	.navbar-default .navbar-toggle {
	  /*border-color: #ffffff;*/
	}
	.navbar-default .navbar-toggle:hover,
	.navbar-default .navbar-toggle:focus {
	  background-color: transparent;
	}
	
	.navbar-default .navbar-toggle .icon-bar {
	  background-color: #ffffff;
	}
	
	
	/*toggle breakpoint*/
    .navbar-header {
        float: none;
        height:55px;
        margin-top:100px;
        background:#2a3b5a;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid #565656!important;
        background:#2a3b5a;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
      
	.navbar-fixed-bottom .navbar-collapse, 
	.navbar-fixed-top .navbar-collapse {
		max-height: 600px!important;
	}
	
	
	
	/*toggle menu*/	
	
	.navupper, .navbarmain{
		background:transparent;
		min-height:40px;
		width:100%;
		padding-left:40px!important;
		padding-right:40px!important;
		margin-bottom:20px;
	}
	.navupper ul, .navbarmain ul {
	    list-style: none;
	}
	.navupper ul li, .navbarmain ul li{
	    margin-top: 3px;
	}
	.navupper ul li a, .navbarmain ul li a{
		padding:5px!important;
		color:#ffffff!important;
		background-color: transparent!important;
		transition:opacity 0.25s;
		font-family: 'Quicksand', sans-serif;
		font-size:16px;
	}
	.navupper ul li a:hover, .navbarmain ul li a:hover{
		opacity:1;
		background-color: #565656!important;
	}
	.navupper .icon {
	    display: inline-block;
	    height: 20px;
	    margin: -3px 3px 0 0;
	    width: 20px;
	    border: none;
	}	
	
	
	.navbarmain .button{
		background: #ffffff!important;
	    border-radius: 10px;
	    display: inline-block;
	    font-size: 16px;
	    font-weight: 900;
	    line-height: 30px;
	    padding: 0px 20px!important;
	    text-transform: uppercase;
	    transition: color 0.25s ease 0s, background-color 0.25s ease 0s;
	    white-space: nowrap;
	}
	.navbarmain .button:hover{
		background:#3e3f3e!important; 
		color:#ffffff!important;
	}
	
	
	.caret{
		display:inline-block;
	}	
	
	.topLink{
		display:block;
	}
	
	/* drop down menu mobile*/
	.navbarmain .navdropdown{
		background:#ffffff!important; 
	}
	
	.navbarmain .navdropdown a{
		display:block;
		padding:5px 5px 5px 10px!important;
		margin:5px;
		font-size:16px;
		line-height:20px;
		color:#525459!important;
		transition:background 0.25s, color 0.25s
	}

	.navbarmain .navdropdown a:hover{
		background:#3e3f3e!important; 
		color:#ffffff!important;
	}
	
	.navbar-nav .open .dropdown-menu {
	    position: static;
	    float: none;
	    width: auto;
	    margin-top: 0;
	    background-color: transparent;
	    border: 0;
	    -webkit-box-shadow: none;
	            box-shadow: none;
	}  
	  	  
}


/* for small Iphone*/
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) { 
	.navbar-fixed-bottom .navbar-collapse, 
	.navbar-fixed-top .navbar-collapse {
		max-height: 230px!important;
	}
}

/* other mobile */
@media only screen and (min-device-width: 480px) and (max-device-width: 992px) and (orientation: landscape) {
	.navbar-fixed-bottom .navbar-collapse, 
	.navbar-fixed-top .navbar-collapse {
		max-height: 230px!important;

	}
}
	