.random-item {
	float: left;
	width: 100%;
	border: 1px solid #d8dbdf;
	background: #f4f4f4;
	-webkit-border-radius: 3px;
	position: relative;
	padding: 10px 10px 25px 10px;
	margin: 30px 0;
	box-sizing: border-box;
	-webkit-animation-name: anc_menu;
	animation-name: anc_menu;
	-webkit-animation-duration: .95s;
	animation-duration: .95s;
	animation-fill-mode: forwards;
}

.random-item.wimage {
	padding: 10px 150px 32px 10px;
	min-height: 155px;
}

.random-item img {
	display: none;
}

.random-item.wimage img {
	max-width: 135px;
	max-height: 130px;
	position: absolute;
	top: 10px;
	right: 10px;
	display: block;
}

.random-item .bnext {
	bottom: 10px;
	right: 10px;
	position: absolute;
}

.random-item.wimage .bnext {
	right: unset;
	left: 10px;
}

.random-item .bnext:after {
	font-family: FontAwesome;
	content: "\f105";
	margin-left: 5px;
	display: inline-block;
	position: relative;
}

.random-item h3 {
	font-size: 1.25em;
	margin: 0 0 5px;
}

.random-item h3 + p {
	margin-top: 7px;
}

@-webkit-keyframes anc_menu {
  0% {
    right: -90px;
    opacity: 0;
  }
  20% {
    right: -90px;
    opacity: 0;
  }
  65% {
    right: 30px;
    opacity: 1;
  }
  100% {
    right: 0px;
    opacity: 1;
  }
}

@keyframes anc_menu {
  0% {
    right: -90px;
    opacity: 0;
  }
  20% {
    right: -90px;
    opacity: 0;
  }
  65% {
    right: 30px;
    opacity: 1;
  }
  100% {
    right: 0px;
    opacity: 1;
  }
}

div.g3 {
	width: 100%;
	margin: 0 0 30px;
	clear: both;
	overflow: hidden;
}

div.g3 h3{
	margin: 0 0 10px;
}

div.g3 p:last-of-type{
	margin-bottom: 0;
}

div.g3 > div{
	display: inline-block;
	float: left;
	width: calc((100% - 60px) / 4);
	border: 2px solid;
	margin: 7.5px;
	padding: 10px 10px 15px;
  box-sizing: border-box;
	border-radius: 3px;
}

@media (max-width: 1670px){
	div.g3 > div {
		width: calc((100% - 30px) / 2);
	}
}

@media (max-width: 850px) {
	div.g3 > div {
		width: 97%;
		max-width: 400px;
		float: none;
		margin: 20px auto;
		clear: both;
		display: block;
	}
}
div.g3 > div > h3 + p {
	font-weight: bold;
	margin: 0;
}

div.sort-item {
	position: relative;
	padding-top: 5px;
}

div.sort-item img {
	width: 100%;
	max-width: 240px;
	margin: auto;
	display: block;
}

a.sbnext, a.sbprev {
  display: inline-block;
  position: absolute;
  font-size: 16px;
  width: 30px;
  height:30px;
  text-align: center;
  padding: 5px;
  top: 10px;
  text-decoration: none;
  border: 1px solid;
  border-color: transparent;
  background: #036;
  color: #FFF;
  line-height: 1em;
  box-sizing: border-box;
  border-radius: 15px;
  font-weight: 600;
}

a.sbnext:hover, a.sbprev:hover, a.sbnext:focus, a.sbprev:focus {
	background: none !important;
	color: #036;
	border-color: #036;
}

a.sbnext:visited, a.sbprev:visited {
  color: #FFF;
}

#recy a.sbnext, #recy a.sbprev {
	background: #0066B3;
}

#garb a.sbnext, #garb a.sbprev {
	background: #4e4e4e;
}

#recy a.sbnext:hover, #recy a.sbprev:hover, #recy a.sbnext:focus, #recy a.sbprev:focus {
	color: #0066B3;
	border-color: #0066B3;
}

#org a.sbnext, #org a.sbprev {
	background: #008000;
}

#org a.sbnext:hover, #org a.sbprev:hover, #org a.sbnext:focus, #org a.sbprev:focus {
	color: #008000;
	border-color: #008000;
}

#crc a.sbnext, #crc a.sbprev {
	background: #000;
}

#crc a.sbnext:hover, #crc a.sbprev:hover, #crc a.sbnext:focus, #crc a.sbprev:focus {
	color: #000;
	border-color: #000;
}

#garb a.sbnext:hover, #garb a.sbprev:hover, #garb a.sbnext:focus, #garb a.sbprev:focus {
	color: #4e4e4e;
	border-color: #4e4e4e;
}

a.sbnext {
	right: 0;
}

a.sbprev {
	left: 0;
}

a.sbnext:after, a.sbprev:after {
  font-family: FontAwesome;
}

a.sbnext:after {
	content: "\f105";
}

a.sbprev:after {
	content: "\f104";
	margin: 0 0 0 -2px;
}

.na {
	padding: 10px;
	color: #FFF;
	width: calc(100% + 22px);
  left: -11px;
  position: relative;
  box-sizing: border-box;
	padding-left: 55px;
	min-height: 55px;
}

.na .fa {
	font-size: 20px;
  position: relative;
  top: -1px;
  line-height: 16px;
  border: 3px solid;
  padding: 4px;
  position: absolute;
	left: 10px;
	top: 11px;
}

#recy .na {
	background: #0066B3;
}

#recy {
	border-color: #0066B3;
}

div.g3 h3 span {
	display: block;
	font-size: .8em;
	color: #000;
	display: none;
}

#recy h3 {
	color: #0066B3;
}

#org .na {
	background: #008000;
}

#org h3 {
	color: #008000;
}

#org {
	border-color: #008000;
}

#crc .na {
	background: #000;
}

#crc h3 {
	color: #000;
}

#garb {
	border-color: #4e4e4e;
}

#crc {
	border-color: #000;
}

.ghead {
	padding-top: 40px;
}

div.g3 p {
  position: relative;
  top: -6px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 40px;
	font-size: .9em;
	display: block;
}

.hide, .hide2, .hide3 {
  display: none !important;
  border: none !important;
}

/* Peel Waste Sorter form */
form#peel-waste-sorter-form {
  display: flex;

  .form-item--id-waste-items {
    flex:1;

    input[name="waste_items"] {
      width: calc(100% - 5px);
      font-size: 1em;
      padding: .4em;
      border: 2px solid #d7dadd;
      box-sizing: border-box;
      color: #555;
      background: none;
    }
  }

  .button--primary {
    width: 55px;
    font-size: 1em;
    padding: .45em !important;
    box-sizing: border-box;
    border: 0 !important;
    top: 0;
    height: 36px;
    border-radius: 5px;

    background: #00498e;
    color: white;
    border-color: #00498e;

    &:hover,
    &:focus {
      background-color: #1f86c7;
      border-color: #1f86c7;
    }
  }
}

