

/** global **/
html { 
	height: 100%; 
	background: url(images/background2.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
body {
    position: relative;
    min-height: 100%; /* to fill screen 100% even with less content */
    height: 100%; /* to allocate only 100% height */
}
* {
	margin:0;
	padding:0;
}

img {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}


/** element defaults **/
table {
	width:100%;
	border-collapse: collapse;
}
th, td {
	padding:5px 10px;
}
th {
	color:#fff;
	background-color:#E95AA1;
}
td {
	border-bottom:1px solid #f4f4f4;
}
code, blockquote {
	display:block;
	border-left:5px solid #ddd;
	padding:10px;
	margin-bottom:20px;
}
blockquote p {
	font-style:italic;
	font-family: Arial, Helvetica, sans-serif;
	margin:0;
	height: 1%;
}
p {
	line-height:1.2em;
	margin-bottom:20px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 600;
}
a {
	color:#000;
	text-decoration: none;
}
a:hover {
	color:#2284B8;
}
a:focus {
	outline:none;
}
a.button { 
    background-color: #EB68A9;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    display: inline-block;
    font-weight: bold;
    padding: 8px 15px;
    text-decoration: none;
    text-transform: uppercase;
}

a.button:hover {
	background-color: #E54394;
}

a.button-reversed { 
    background-color: #549EE8;
}

a.button-reversed:hover {
	background-color: #2885E2;
}
fieldset {
	display:block;
	border:none;
	border-top:1px solid #e0e0e0;
}
fieldset legend {
	font-weight:bold;
	font-size:13px;
	padding-right:10px;
	color:#222;
}
fieldset form {
	padding-top:15px;
}
fieldset p label {
	float:left;
	width:150px;
}
fieldset form input, fieldset form select, fieldset form textarea {
	padding:5px;
	color:#333333;
	font-size:13px;
	border:1px solid #ddd;
}
fieldset form input.formbutton {
	background:#E95AA1;
	border:none;
	color:#ffffff;
	font-weight:bold;
	padding:5px 10px;
	font-size:13px;
}


@font-face {
    font-family: masterbreak;
    src: url(fonts/master_of_break.otf);
}

h1 {
	font-size:2em;
	color: #000;
	text-align: left;
	padding-bottom: 15px;
	font-family: 
	'Open Sans', Helvetica, sans-serif;
}
.center {
	text-align: center;
}
h2 {
	color:#333;
	font-size:1.8em;
	font-weight:bold;
	letter-spacing:-1px;
	padding:0 0 5px;
	margin:0;
}

h2.sales {
	color:#000;
	font-size:1.5em;
	text-align: center;
	margin-bottom: 20px;
	font-family: 
	'Open Sans', Helvetica, sans-serif;
}

h3 {
	color:#000;
	font-size:1.25em;
	padding-bottom:10px;
	text-align: center;
	font-family: 
	'Open Sans', Helvetica, sans-serif;
}
h4 {
	color: #5C1118; 
	text-align: center;
	font-size: 1.2em;
	padding: 10px 0 20px 0;
}

.sale-button {
	width: 100%;
	height: 40px;
	background-color: #5C1118;
	color: #FFF;
	bottom: 0;
	position: absolute;
	margin-left: -10px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	line-height: 40px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

.sire-button {
	width: 100%;
	height: 40px;
	background-color: #5C1118;
	color: #FFF;
	bottom: 0;
	position: absolute;
	margin-left: -20px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	line-height: 40px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

.sale-button:hover, .sire-button:hover, .top-box:hover, .note-box:hover {
	background-color: #f2f2f2;
	color: #000;
}
.top-box, .note-box{
	clear:both;
	text-shadow: none;
	padding: 10px;
	line-height: 17px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1em;
}
.note-box {
	background: #5C1118;
	color:#fff;
	text-align: center;
	margin-top: 15px;
	-webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.9);
    -moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.9);
    box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.9);
}

.top-box {
	background: #5C1118;
	color:#fff;
	text-align: center;
	margin-top: 75px;
	-webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.9);
    -moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.9);
    box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.9);
}


.decor-name {
	font-family: 
	'masterbreak', Helvetica, sans-serif;
	font-size: 1.5em;
}
	
	

h5 {
	padding-bottom:10px;
	font-size:1.2em;
	color:#666666;
}
ul, ol {
	margin:0 0 35px 35px;
}
li {
	padding-bottom:5px;
}


/** wrapper **/
div#wrapper {
	margin:0px auto;
	padding:0;
}

.width {
	width:1000px;
	margin: 0 auto;
	height: calc(100% - 683px);
	padding-top: 150px;
}

/** header **/
header {
	margin:0 auto;
	width: 98%;
	height: 430px;
	background-image: url(images/header.jpg);
}
header h2 {
	color:#ffffff;
	font-size: 1.9em;
	padding-bottom:0;
	letter-spacing:0;
}
header div.tagline {
	color:#f0f0f0;
	font-size:0.9em;
}
header div.tagline a {
	color:#ffffff;
}

.eq-col-group {
  overflow:hidden;
  overflow-style:marquee-block;
  background-color: rgba(128, 0, 0, 0.4);
}

.eq-col {
  margin-bottom: -32767px;
  padding-bottom: 32767px;
}

/** body **/
section#body {
    min-height: 100%; /* to fill screen 100% even with less content */
	height: 100%; /* to allocate only 100% height */
}

.wrapper {
	width: 90%;
	margin: 0 auto;
}
/** content+sidebar styles **/
#content {
	width:73%;
	min-height: 400px; /* allocate the remaining width except the header + footer + borders */
    height: auto;
}
.column-left {
	float:left;
}
.column-right {
	float:right;
}
aside#sidebar {
	width:25%;
	background-color: #FFF;
	float: left;
	min-height: calc(100% - 505px); /* allocate the remaining width except the header + footer + borders */
    height: auto;
	padding-right: 1%;
	padding-left: 1%;
	padding-top: 1%;
	font-family: 'Open Sans', Helvetica, sans-serif;
	margin-top: -130px;
	border-radius: 5px;
	-webkit-box-shadow: 3px 0px 10px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 3px 0px 10px 0px rgba(0,0,0,0.5);
	box-shadow: 3px 0px 10px 0px rgba(0,0,0,0.5);
}

aside#sidebar ul {
	margin:0;
	padding:0;
	text-align: center;
	list-style:none;
}
aside#sidebar li ul {
	margin-bottom:20px;
}
aside#sidebar li ul li {
	display:block;
	padding:12px 10px;
	color:#FFF;
}
aside#sidebar li {
	color:#666;
	font-size: 1em;
}
aside#sidebar li p {
	color:#000;
	padding-top: 10px;
	text-align: left;
	font-size: 13px;
	line-height: 1.5em;
}
aside#sidebar li ul li a {
	text-decoration:none;
	font-weight:bold;
}
aside#sidebar li ul li a:hover {
	text-decoration:underline;
}

aside#sidebar li ul.blocklist li {
	padding:0;
}
aside#sidebar li ul.blocklist li.selected-item  {
	border-bottom:none;
}

aside#sidebar li ul.blocklist li a:hover {
	background: #f2f2f2;
	color: #000;
	text-decoration:none;
}
aside#sidebar li ul.blocklist li a {
	color:#000;
	display:block;
	padding:7px 10px;
	font-size: 12px;
	text-transform: uppercase;
	text-align: left;
}

aside#sidebar h4 { 
	font-size:13px;
	text-transform:uppercase;
	font-weight:bold;
	margin:0;
	padding:7px 10px;
	color: #000;
	background-color: #F99E1C;
	-webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.9);
    -moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.9);
    box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.9);
}


article {
	margin: 20px 20px 10px 0px;
    padding: 10px 10px 10px 20px;
	font-size: 0.8em;
	background-color: #FFF;
	-webkit-box-shadow: 3px 0px 10px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 3px 0px 10px 0px rgba(0,0,0,0.5);
	box-shadow: 3px 0px 10px 0px rgba(0,0,0,0.5);
	border-radius: 5px;
	position: relative;
 }

article h2 {
    padding-bottom: 0;
   font-size: 2.1em;
}

article .article-info {
    color: #999;
    font-size: 0.9em;
    letter-spacing: -0.5px;
    padding: 0 0 10px 0;
}

article .article-info a { 
	color: #666;
}

/* 
Generic Styling, for Desktops/Laptops 
*/	

table.ped
			{
				width: 100%;
				font-size: 0.9em;
				color: #000;	
				text-align: left !important;
				font-family: Arial, Helvetica, sans-serif;
				margin: 20px 0;
				font-weight: bold;	
			
			}
				
				table.ped td
				{
					padding: 0.125em 0.25em 0.125em 0.25em;
					vertical-align:middle;
				}				
				
				div.ped
				{
  					overflow: hidden; /*notice*/
					margin-bottom: 1.5em;
				}
				
				div.ped-btm
				{
  					overflow: hidden; /*notice*/
				}

.smaller {
	font-size:10px;	
}

table.info { 
  width: 100%; 
}
/* Zebra striping */
.info tr:nth-of-type(odd) { 
  background: #f2f2f2; 
}
.info th { 
  background: #5C1118; 
  color: white; 
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif; 
}
.info td, th { 
  padding: 6px; 
  text-align: center; 
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}
/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	.info table, .info thead, .info tbody, .info th, .info td, .info tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	.info thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	.info td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	.info td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	.info td:nth-of-type(1):before { content: "Birthday"; }
	.info td:nth-of-type(2):before { content: "CSA#"; }
	.info td:nth-of-type(3):before { content: "Tattoo"; }
	.info td:nth-of-type(4):before { content: "BW"; }
	.info td:nth-of-type(5):before { content: "Adj. WW"; }
	.info td:nth-of-type(6):before { content: "Adj. YW"; }
}


table.epd { 
  width: 100%;
  margin-bottom: 50px;
}
/* Zebra striping */
.epd tr:nth-of-type(odd) { 
  background: #f2f2f2; 
}
.epd th { 
  background: #5C1118; 
  color: white; 
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  width: 7.14%;
}
.epd td, th { 
  padding: 6px; 
  text-align: center; 
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}
/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 1000px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	.epd table, .epd thead, .epd tbody, .epd th, .epd td, .epd tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	.epd thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	.epd td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	.epd td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	.epd td:nth-of-type(1):before { content: "CE"; }
	.epd td:nth-of-type(2):before { content: "BW"; }
	.epd td:nth-of-type(3):before { content: "WW"; }
	.epd td:nth-of-type(4):before { content: "YW"; }
	.epd td:nth-of-type(5):before { content: "MW"; }
	.epd td:nth-of-type(6):before { content: "MILK"; }
	.epd td:nth-of-type(7):before { content: "MCE"; }
	.epd td:nth-of-type(8):before { content: "SC"; }
	.epd td:nth-of-type(9):before { content: "STAY"; }
	.epd td:nth-of-type(10):before { content: "CW"; }
	.epd td:nth-of-type(11):before { content: "REA"; }
	.epd td:nth-of-type(12):before { content: "FAT"; }
	.epd td:nth-of-type(13):before { content: "YG"; }
	.epd td:nth-of-type(14):before { content: "MARB"; }
}

/** grid **/

/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

.sale-section {
	background-color: #FFF; 
	height: 325px;
	position: relative;
	padding: 10px;
	border-radius: 5px;
	-webkit-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.8);
    -moz-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.8);
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.8);
}

/*  GRID OF TWO  */
.span_2_of_2 {
	width: 100%;
}
.span_1_of_2 {
	width: 49.2%;
}
.sale-span_1_of_2 {
	width: 45.2%;
}


/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
	.col { 
		margin: 1% 0 1% 0%;
	}
}

@media only screen and (max-width: 480px) {
	.span_2_of_2, .span_1_of_2 { width: 100%; }
}
/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
/*  GRID OF THREE  */
.span_3_of_3 { width: 100%; }
.span_2_of_3 { width: 66.13%; }
.span_1_of_3 { width: 31.90%; }

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
	.col {  margin: 1% 0 1% 0%; }
	.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
}

/*  GRID OF TWO  */
.span_2_of_2 {
	width: 100%;
}
.span_1_of_2 {
	width: 48.4%;
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */
@media only screen and (max-width: 930px) {
	.sale-span_1_of_2 { width: 100%; }
	.sale-span_1_of_2 {
		padding: 0px;
	}
	.sale-button {
		margin: 0;
}
	.sale-section {
		height: 350px;
}
}
@media only screen and (max-width: 480px) {
	.col { 
		margin: 1% 0 1% 0%;
	}
}

@media only screen and (max-width: 480px) {
	.span_2_of_2, .span_1_of_2 { width: 100%; }
}


/** footer **/
footer {
    height: 20px;
    width: 100%;
	margin-bottom: 0px;
}

footer p {
	color: #FFF;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	line-height: 20px;
}


/** clear fix **/
.clear {
	clear: both;
}


@media screen and (max-width: 1010px) {

	.width {width: 91%;}
	header {
		width: auto;
	    margin: 0 auto;
		height: 380px;
		background-size: contain;
		background-repeat: no-repeat;
		background-position-x: center;
	}
	#lose-border {
		display: none;
	}
	article {
		margin-top: -100px;
	}

}
	
@media screen and (max-width: 740px) {

	body { font-size: 0.9em; }	

	#content { width: 98%; }
	
	.width { width: 98%; padding-left: 10px; padding-right: 10px; }
	
	.width-header { width:auto; padding-left: 10px; padding-right: 10px; }

	.column-left, .column-right { margin:0 5px; }
	
	section#content, aside#sidebar { float: none; width: auto; }

	footer .footer-content ul { width: auto; float: none; }
	
	.eq-col {
		margin-bottom: 0px;
		padding-bottom: 0px;
	}
	
	article {
		padding-top: 20px;
		margin: 0 auto;
		margin-top: -50px;
	}

}


@media screen and (max-width: 540px) {

	body { font-size: 0.8em; }

	nav ul li { float: none; text-align:center;  }

	nav ul li a { margin-top: 0; padding: 0.5em; }

	nav { height: auto; position: relative; margin-top:0; float: none; }

}

#logo{ 
    position: absolute;
	z-index: 2;
	margin-top: -120px;
	margin-left: -40px;
	-ms-transform: rotate(-2deg); /* IE 9 */
    -webkit-transform: rotate(-2deg); /* Chrome, Safari, Opera */
    transform: rotate(-2deg);
	pointer-events: none;
}

.border {
	height: 10px;
	width: 100%;
	background-image: url(images/border.png);
}

/** Top Navigation **/

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  width: auto;
  font-family: 'Open Sans', Helvetica, sans-serif;
  background: #F9D310;
  background: -moz-linear-gradient(top, #F9D310 0%, #F05923 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #51bbd2), color-stop(100%, #2d97af));
  background: -webkit-linear-gradient(top, #F9D310 0%, #F05923 100%);
  background: -o-linear-gradient(top, #F9D310 0%, #F05923 100%);
  background: -ms-linear-gradient(top, #F9D310 0%, #F05923 100%);
  background: linear-gradient(to bottom, #F9D310 0%, #F05923 100%);
  border-radius: 5px 5px 0 0;
  z-index: 1;
}
#cssmenu > ul {
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05);
  padding-right: 10%;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu > ul > li {
  float: right;
  display: inline-block;
}
#cssmenu.align-center > ul {
  float: none;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu > ul > li > a {
  padding: 18px 25px 21px 25px;
  border-right: 1px solid rgba(80, 80, 80, 0.12);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a {
  color: #000;
  background: rgba(240, 0, 0, 0.1);
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 45px;
}
#cssmenu > ul > li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #000;
  right: 17px;
  top: 22px;
}
#cssmenu > ul > li.has-sub.active > a::after,
#cssmenu > ul > li.has-sub:hover > a {
  border-top-color: #000;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  top: 60px;
  padding-top: 6px;
  font-size: 13px;
  opacity: 0;
  -webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
  -moz-transition: top 0.2s ease, opacity 0.2s ease-in;
  -ms-transition: top 0.2s ease, opacity 0.2s ease-in;
  -o-transition: top 0.2s ease, opacity 0.2s ease-in;
  transition: top 0.2s ease, opacity 0.2s ease-in;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom-color: #ffffff;
  top: -4px;
  left: 20px;
}
#cssmenu.align-right > ul > li > ul::after {
  left: auto;
  right: 20px;
}
#cssmenu ul ul ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color: #ffffff;
  top: 11px;
  left: -4px;
}
#cssmenu.align-right ul ul ul::after {
  border-right-color: transparent;
  border-left-color: #ffffff;
  left: auto;
  right: -4px;
}
#cssmenu > ul > li > ul {
  top: 120px;
}
#cssmenu > ul > li:hover > ul {
  top: 52px;
  left: 0;
  opacity: 1;
}
#cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu ul ul ul {
  padding-top: 0;
  padding-left: 6px;
}
#cssmenu.align-right ul ul ul {
  padding-right: 6px;
}
#cssmenu ul ul > li:hover > ul {
  left: 180px;
  top: 0;
  opacity: 1;
}
#cssmenu.align-right ul ul > li:hover > ul {
  left: auto;
  right: 100%;
  opacity: 1;
}
#cssmenu ul ul li a {
  text-decoration: none;
  font-weight: bold;
  padding: 11px 25px;
  width: 180px;
  color: #000;
  background: #ffffff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.active > a {
  color: #333333;
  background-color: #f2f2f2;
}
#cssmenu ul ul li:first-child > a {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
#cssmenu ul ul li:last-child > a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
#cssmenu > ul > li > ul::after {
  position: absolute;
  display: block;
}
#cssmenu ul ul li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: #777777;
  right: 17px;
  top: 14px;
}
#cssmenu.align-right ul ul li.has-sub > a::after {
  border-left-color: transparent;
  border-right-color: #777777;
  right: auto;
  left: 17px;
}
#cssmenu ul ul li.has-sub.active > a::after,
#cssmenu ul ul li.has-sub:hover > a::after {
  border-left-color: #333333;
}
#cssmenu.align-right ul ul li.has-sub.active > a::after,
#cssmenu.align-right ul ul li.has-sub:hover > a::after {
  border-right-color: #333333;
  border-left-color: transparent;
}


@media screen and (max-width: 1010px) {
	#cssmenu > ul {
	  padding-right: 0%;
	}
}

@media all and (max-width: 935px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {

  #cssmenu > ul {
    display: none;
  }
  #cssmenu > ul.open {
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  #cssmenu.align-right > ul {
    float: none;
  }
  #cssmenu.align-center > ul {
    text-align: left;
  }
  #cssmenu > ul > li,
  #cssmenu.align-right > ul > li {
    float: none;
    display: block;
  }
  #cssmenu > ul > li > a {
    padding: 18px 25px 18px 25px;
    border-right: 0;
  }
  #cssmenu > ul > li:hover > a,
  #cssmenu > ul > li.active > a {
    background: rgba(0, 0, 0, 0.1);
  }
  #cssmenu #menu-button {
    display: block;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #FFF;
    padding: 18px 25px 18px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
  }
  #cssmenu ul ul,
  #cssmenu ul li:hover > ul,
  #cssmenu > ul > li > ul,
  #cssmenu ul ul ul,
  #cssmenu ul ul li:hover > ul,
  #cssmenu.align-right ul ul,
  #cssmenu.align-right ul li:hover > ul,
  #cssmenu.align-right > ul > li > ul,
  #cssmenu.align-right ul ul ul,
  #cssmenu.align-right ul ul li:hover > ul {
    left: 0;
    right: auto;
    top: auto;
    opacity: 1;
    width: 100%;
    padding: 0;
    position: relative;
    text-align: left;
  }
  #cssmenu ul ul li {
    width: 100%;
  }
  #cssmenu ul ul li a {
    width: 100%;
    box-shadow: none;
    padding-left: 35px;
  }
  #cssmenu ul ul ul li a {
    padding-left: 45px;
  }
  #cssmenu ul ul li:first-child > a,
  #cssmenu ul ul li:last-child > a {
    border-radius: 0;
  }
  #cssmenu #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    right: 25px;
    top: 18px;
  }
  #cssmenu #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #FFF;
    right: 25px;
    top: 28px;
  }
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
  .width {padding-top: 175px}
  #logo {margin-top: -160px}
}