@media (min-width: 768px){
	
	#brand-desktop a{
		display: block;
	}
	
	#content:before{
	    content: "";
	    background: url(../images/sidebar.png) no-repeat left top;
      	width: 204px;
	    height: 602px;
	    position: absolute;
	    left: -136px;
	    -webkit-transform: rotateZ(-15deg);
	    -moz-transform: rotateZ(-15deg);
	    transform: rotateZ(-15.5deg);
	    top: 142px;
	    background-size: contain;
	    z-index: 1010;
	}
	#content article{
		position: relative;
		z-index: 1020;
	}
	.article{
		height: 374px;
	}
	.copyright{
		text-align: right;
	}
	/*--sidebar--*/
	#sidebar{
	    min-height: 760px;
	}
}

@media (min-width: 768px ) and ( max-width: 940px ){
	body{
		font-size: 14px;
	}
	.article{
		height: 336px;
	}
	.article-heading{
		font-size: 13px;
	}
	.btn{
		font-size: 12px;
	}
}
@media (min-width: 768px ) and (max-width: 1023px){
	#content:before{
	    width: 168px;
	    left: -89px;
	}
	#primary-menu .open > .dropdown-menu{
		font-size: 12px;
	}
}

@media (min-width: 1024px){
	.footer-links > li{
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (min-width: 1200px){
	#brand-desktop{
		margin: 0 0 0 -85px;
	}
	#brand-desktop img{
		margin: -145px 0 0 -99px;
	}
}
@media (max-width: 1199px){
	#brand-desktop img{
		margin: -115px 0 0 -156px;
	    width: 455px;
	}
}
@media ( min-width: 768px) and (max-width: 967px){
	#brand-desktop img{
	    margin: -81px 0 0 -136px;
   		width: 363px;
	}
}

@media ( max-width: 768px ){
	#content:before{
	    width: 168px;
	    left: -89px;
	}
	body{
		font-size: 14px;
	}
	.article{
		height: 336px;
	}
	.article-heading{
		font-size: 13px;
	}
	.btn{
		font-size: 12px;
	}
	#primary-menu .open > .dropdown-menu{
		font-size: 12px;
	}
}
@media (max-width: 767px){
	/*--nav--*/
	.navbar-toggle{
		position: absolute;
		right: 11px;
	    z-index: 50;
	    border-color: transparent;
	    margin: 0;
	    top: 43px;
	    padding: 0;
	}
	.navbar-toggle .icon-bar{
		  border: 1px solid #b9825b;
		  position: relative;
		  -webkit-transform: none;
			-ms-transform: none;
			transform: none;
			transition: all 500ms ease-in-out
	}


		.navbar-toggle.collapsed .icon-bar:nth-of-type(1) {
			top: 1px;
			-webkit-transform: none;
			-ms-transform: none;
			transform: none
		}
		.navbar-toggle.collapsed .icon-bar:nth-of-type(2) {
			border-color: #b9825b
		}
		.navbar-toggle.collapsed .icon-bar:nth-of-type(3) {
			top: -1px;
			-webkit-transform: none;
			-ms-transform: none;
			transform: none
		}
		.navbar-toggle .icon-bar:nth-of-type(1) {
			top: 6px;
			-webkit-transform: rotate(45deg);
			-ms-transform: rotate(45deg);
			transform: rotate(45deg)
		}
		.navbar-toggle .icon-bar:nth-of-type(2) {
			border-color: transparent
		}
		.navbar-toggle .icon-bar:nth-of-type(3) {
			top: -6px;
			-webkit-transform: rotate(-45deg);
			-ms-transform: rotate(-45deg);
			transform: rotate(-45deg)
		}

		.navbar-collapse {
			width: 80%;			
			position: fixed !important;
			right: -80%;
			top: 99px;
			bottom: 0;
			background: #CDA78D;
			margin: 0 !important;
			display: block !important;
			overflow: hidden !important;
			z-index: 1000;
			padding: 20px;
			overflow-y:scroll !important;

			-webkit-transition: right .35s ease !important;
			-ms-transition: right .35s ease !important;
			transition: right .35s ease !important;
		}
		.collapse.in {
			right: 0;
			transition: right .35s ease
		}
		.collapsing {
			position: fixed;
			height: 100%;
			overflow: visible
		}
	/*--end nav--*/	

	body{		
		padding-top: 80px;
	}
	body:before{
		content: "";
	    background: url(../images/sidebar.png) no-repeat left top;
	    width: 204px;
	    height: 602px;
	    position: fixed;
	    right: 162px;

	    -webkit-transform: rotateZ(-84deg) rotateX(144deg);
	    -ms-transform: rotateZ(-84deg) rotateX(144deg);
	    transform: rotateZ(-84deg) rotateX(144deg);
	    
	    top: -260px;
	    background-size: contain;
	    z-index: 45;
	     z-index: 1010;
	}
	#content{
		padding-top: 45px;
	}
	h1, .h1{
		font-size: 20px;
	}
	h2, .h2{
		font-size: 18px;
	}
	#header{
	    height: 100px;
	    overflow: hidden;
	    margin-right: -15px;
	    position: fixed;
	    top:0;
	    width: 100%;
	    left: 0;
	    right: 0;
	    z-index: 1020;

	        background-image: -webkit-linear-gradient(#311C13, #331E14);
		    background-image: linear-gradient(#311C13, #331E14);
		    background: #51372b;
		    background: -webkit-linear-gradient(#311C13, #331E14);
		    background: linear-gradient(#311C13, #331E14);

	    box-shadow: 1px 4px 20px #231A17;
    	border-bottom: 1px solid #2F1A11;
	}
	#brand-name{
		display: inline-block;
	}
	#brand-name img{
		margin:-85px 0 0 -115px;
    	width: 300px;
    	position: relative;
    	z-index: 1;
	}
	#brand-mobile, #brand-name{
		height: 100px;
	}
	#primary-menu{
		padding:24px 0px 15px;
	}
	#primary-menu > li{
		background: transparent;
		padding: 7px 30px;
	}
	#primary-menu li.current-menu-item{
		background: transparent;
	}
	#primary-menu li a {
	    color: #331E14;
	    text-decoration: none;	
	}
	#primary-menu li a:hover, #primary-menu li.current-menu-item > a , #primary-menu li.current-menu-parent > a{
	    color: #962D00;
	}
	#primary-menu > li.current-menu-parent{
		background: none;
	}
	

	#primary-menu .dropdown-menu{
		  /*display: block !important; */
		  position: relative;
		  float: none;
		  border: 0;
		  background: none;
		  box-shadow: none;
		  font-size: 12px;
	}

	#primary-menu .dropdown-menu > li{
	  padding-top: 5px;
	  padding-bottom: 5px;
	  list-style-type: square;
	 /* list-style-position: inside;*/
	  border-bottom: 1px solid #4e3529;
	} 
	#primary-menu .dropdown-menu > li:last-child{
	  padding-bottom: 0;
	  border-bottom: 0;
	}


	.article-img img{
		width: 100%;
	}
	.footer-links, .copyright{
		text-align: center;
		line-height: 1.5;
		font-size: 10px;
	}
	.article{
		height: auto;
	}
	.btn-permalink{
		position: static;
	}
}
@media (max-width: 479px){
	body:before{
	    -webkit-transform: rotateZ(-87deg) rotateX(149deg);
	    -ms-transform: rotateZ(-87deg) rotateX(149deg);
	    transform: rotateZ(-87deg) rotateX(149deg);
	    top: -268px;
	}
}

@media (max-height: 736px){
	.navbar-collapse {
		min-height: 736px;
	}
}

@media (max-height: 627px){
	.navbar-collapse {
		min-height: 627px;
	}
}

@media (max-height: 568px){
	.navbar-collapse {
		min-height: 568px;
	}
}


@media (max-height: 480px){
	.navbar-collapse {
		min-height: 480px;
	}
}

@media (max-height: 414px){
	.navbar-collapse {
		min-height: 0;
	}
}
