.pad-both {
  margin-top: 20px;
  margin-bottom: 20px;
}

.post_is_in_my_collections .component-link a {
	padding: 4px 13px;
	border: 1px solid #cccccc;
	background-color: #e8e8e8;
	border-radius: 8px;
	white-space: nowrap;
	line-height: 1.8em;
	margin: 3px;
	display: inline-block;
	font-weight: 300;
}

.collections-cta-button {
	text-align: left;
}


/* New Modal */

#collection-modal-content {
	padding: 20px;
}

#collection-modal {
  margin: 10px 0px;
  font-family: 'Oswald';
}

#collection-modal button {
  float: left;
}

#collection-modal i {
  font-size: 1.3em;
}

#collection-modal h2 {
  font-family: 'Oswald';
  text-transform: uppercase;
  font-size: 1.75em;
}

#collection-modal .collection-input {
  background-color: #e8e8e8;
  border-radius: 3px;
  resize: none;
  border: 0px;
  width: 70%;
  float: left;
  min-height: 37px;
  padding: 5px 5px 0px 5px;
  border: 2px solid black;
}

#collection-modal .collection-buttons {
  float: left;
  width: 30%;
  padding-left: 10px;
}

#collection-modal .collection-input div {
  float: left;
  color: white;
  background-color: black;
  padding: 3px 5px 3px 10px;
  margin-right: 5px;
  margin-bottom: 5px;
  font-size: 0.9em;
  font-weight: 300;
  border-radius: 3px;
}

#collection-modal .collection-input input {
  border: 0;
  background-color: rgba(255, 255, 255, 0);
  color: black;
  font-size: 0.9em;
  height: 25px;
  padding: 0;
  width: 120px;
}

#collection-modal .collection-options {
  background-color: #e8e8e8;
  border-radius: 3px;
  resize: none;
  border: 0px;
  width: 70%;
  height: 303px;
  padding: 5px 0px 5px 10px;
  overflow: scroll;
  margin-top: 10px;
}

#collection-modal .collection-input i {
  font-size: 0.7em;
  vertical-align: top;
  color: white;
  margin-left: 5px;
  cursor: pointer;
  margin-top: 5px;
}

#collection-modal .collection-options div {
  padding: 10px 5px;
  cursor: pointer;
  width: 100%;
}

#collection-modal .collection-options div.active {
  background-color: black;
  color: white;
}

#collection-modal .btn {
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: 400;
  margin-right: 15px;
  margin-bottom: 7px;
  letter-spacing: 0.05em;
  padding: 5px 20px;
  min-width: 90px;
}

#collection-modal .btn-secondary {
  background-color: #e8e8e8;
}

#collection-modal ::-webkit-scrollbar {
  width: 12px;
  height: 18px;
}

#collection-modal ::-webkit-scrollbar-thumb {
  height: 35px;
  border: 4px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  -webkit-border-radius: 7px;
  background-color: rgba(0, 0, 0, 0.55);
  -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
}

#collection-modal ::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

#collection-modal ::-webkit-scrollbar-corner {
  background-color: transparent;
}

#collection-modal :focus {
  outline: 0;
  /* or */
  outline: none;
}





.collection-cta-slug-plus,
.collection-cta-slug-minus {
	text-align: center;
	cursor: pointer;
	background-color: #EEE;
	padding-bottom: 10px;
}

collection-field-plus .collection-input .cta {
	right: 7%;
}

.collection-date {
	font-size: 1.1em;
	font-style: italic;
	color: #999;
	text-align: right;
}

.collection-row {
	margin-bottom: 10px;
	padding: 10px 5px;
  background-color: #EEE;
}

.collection-row:hover {
  background-color: #CCC;
}

.collection-group.active {
	background-color: #A6EEB5;
}

.active .right-cells {
	border-left: 15px solid #A6EEB5;
}

.collection-name-slug {
	margin-top: 6px;
}

.collection-name {
	font-size: 1.5em;
	margin-bottom: 15px;
}

.collection-image {
	width: 100%;
	border: 1px solid black;
	padding: 5px;
	background-color: white;
	cursor: pointer;
}

.collection-image:hover {
	background-color: #ccc;
}

.collection-title-slug {
	padding: 5px;
	margin-bottom: 10px;
}

.collection-title {
	font-size: 0.8em;
}

.collection-editor input {
	width: 300px;
	padding: 0px 5px;
}

.collection-are-you-sure {
	width: 100%;
	padding: 20px;
}

.collection-notice {
	font-size: 0.8em;
	margin-bottom: 10px !important;
}

.collection-profile-photo {
	width: 150px;
	border-radius: 150px;
}

.collection-profile-name {

}

.collection-group {
	opacity: 0.85;
	margin-bottom: 20px;
}

.collection-group:hover {
	opacity: 1;
}

.collection-cell-1 {
	height: 265px;
	background-size: cover;
	background-color: #CCC;
}

.collection-cell-2,
.collection-cell-3 {
	height: 129px;
	background-size: cover;
	background-color: #CCC;
}

.collection-cell-2 {
	margin-bottom: 8px;
}

.all-cells {
	background-color: #EEE;
}

.left-cells {
	width: 60%;
	float: left;
}

.right-cells {
	width: 40.001%;
	float: left;
	padding-left: 8px;
}

.title-cell {
	width: 100%;
	font-size: 1.5em;
	line-height: 1.5em;
	padding: 15px 25px;
  margin-bottom: 0;
  background-color: #EEE;
}

.drag-handle {
	width: 100%;
	height: 20px;
	background-color: #EEE;
	cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
	background-image:
		linear-gradient(#d8d8d8 1px, white 1px),
		linear-gradient(to right, #EEE 2%, transparent 2%, transparent 98%, #EEE 2%);
	background-size: 100% 2px;
}

.box-top {
	border-top: 1px solid #d8d8d8;
}

.box-bottom {
	border-bottom: 1px solid #d8d8d8;
}

.box-left {
	border-left: 1px solid #d8d8d8;
}

.box-right {
	border-right: 1px solid #d8d8d8;
}


.drag-handle.active {
	cursor: grabbing;
	cursor: -moz-grabbing;
	cursor: -webkit-grabbing;
}

.user-cell {
	width: 100%;
	font-size: 1.2em;
	padding: 0px 0px 13px 0px;
  margin-bottom: 0;
  background-color: #EEE;
}

.on-collection {
  border:0px !important;
	margin-top: -53px;
}

.count-cell-slug {
	position: absolute;
	top: 31.5%;
	margin-left: 50.6%;
	border: 8px solid #EEE;
	background-color: black;
	width: 60px;
	height: 60px;
	border-radius: 50px;
	padding-top: 9.5px;
}

.count-cell {
	color: white;
	text-align: center;
	font-size: 1.4em;
	line-height: 1.4em;
}

.add-collection-plus-slug-mock,
.add-collection-plus-slug {
	height: 353px;
  text-align: center;
	padding-top: 120px;
	position: relative;
	cursor: pointer;
}

.add-collection-plus-slug {

}

.collection-group .add-collection-plus-slug {
	height: 267px;
}

.add-collection-plus-mock,
.add-collection-plus {
	background-color: black;
	font-size: 1.35em;
	width: 30px;
	height: 30px;
	display: inline-block;
	text-align: center;
	border-radius: 100%;
	color: white;
	cursor: pointer;
	margin-right: 4px;
}

.add-collection-slug {
	height: 258px;
	text-align: center;
	padding-top: 130px;
}

.collection-profile-photo-small {
	display: inline-block;
	width: 35px;
	height: 35px;
	border-radius: 30px;
}

.collection-user-box {
	padding: 20px 15px;
	display: inline;
}

.collection-link {
	background-color: #EEE;
}

.grid-item,
.collection-each-slug {
	opacity: 0.85;
	margin-bottom: 15px;
}

.grid-item:hover,
.collection-each-slug:hover {
	opacity: 1;
}

.grid-item .img-slug,
.collection-each-slug img {
	width: 285px;
	height: 285px;
	margin: 10px;
	background-size: cover;
}

.grid-item img,
.collection-each-slug img {
	width: 100%;
}


.collection-each-title {
	font-size: 1.5em;
	line-height: 1.3em;
	padding: 10px;
}

.collection-cta-add {
	text-align: center;
	cursor: pointer;
	width: 20%;
	float: right;
	padding-left: 1%;
}

.collection-cta-add-plus {
	text-align: center;
	cursor: pointer;
	position: absolute;
	bottom: 0;
}

.collection-cta-icon {
	background-color: black;
	font-size: 1.35em;
	width: 30px;
	height: 30px;
	display: inline-block;
	text-align: center;
	border-radius: 100%;
	color: white;
	cursor: pointer;
	margin-right: 4px;
}

.collection-cta-icon:hover,
.collection-cta-icon:active,
.collection-cta-icon:focus {
	color: #CCC;
}

a.edit-recipe-on-collection,
a.edit-recipe-on-collection:hover,
a.edit-recipe-on-collection:active,
a.edit-recipe-on-collection:focus {
  color: white !important;
}

.collections-slug input {
	font-size: 1.5em;
	height: 50px;
	width: 80%;
	margin-bottom: 30px;
	padding-left: 1.6%;
}

.collection-author {
	font-size: .9em;
	padding-bottom: 10px;
	background-color: #EEE;
}

.collection-edit-overlay,
.collection-field-plus {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: black;
}


.collections-slug .selectize-input input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-size: 0.6em !important;
}
.collections-slug .selectize-input input::-moz-placeholder { /* Firefox 19+ */
  font-size: 0.6em !important;
}
.collections-slug .selectize-input input:-ms-input-placeholder { /* IE 10+ */
  font-size: 0.6em !important;
}
.collections-slug .selectize-input input:-moz-placeholder { /* Firefox 18- */
  font-size: 0.6em !important;
}

.collection-title-plus {
	text-align: center;
	margin-bottom: 15px;
	color: white;
}

.btn-black {
	background-image: none !important;
  background-color: black !important;
  border: 0px !important;
  color: white;
  text-transform: uppercase;
}

.btn-yellow {
	background-image: none !important;
  background-color: yellow !important;
  border: 0px !important;
  color: black;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-black-round {
 	border-radius: 30px;
  padding: 5px 20px;
}

.btn-black:hover,
.btn-black:active,
.btn-black:focus {
  color: #CCC !important;
}

.collection-mock-image {
	position: absolute;
	width: 100%;
	padding: 10px 25px;
}

.collection-name-input-slug {
	position: relative;
}

.rename-collection {
	position: absolute;
	top: 18px;
	right: 11.2%;
}

.collection-delete-slug {
	position: absolute;
	top: 70px;
	right: 30px;
	font-size: 1.4em;
	text-transform: uppercase;
	cursor: pointer;
}

.collection-delete-slug i {
	font-size: 1.4em;
}

.grid-item {
	width: 305px;
	height: 600px;
	background-color: #EEE;
	position: relative;
}

.grid {
	display: table;
	width: 100%;
}

.no-masonry {
	float: left;
  margin-right: 15px;
}

.loading-collection {
	font-size: 2.5em;
	background: #EEE;
	border-radius: 10px;
	padding: 50px 100px;
	display: inline-block;
	width: 60%;
	margin: 2% 20%;
	display: none;
}

.loading-collection i {
	font-size: 3em;
	margin-top: 50px;
	margin-bottom: 25px;
}

.ldc-error::-webkit-input-placeholder, .ldc-error:-ms-input-placeholder, .ldc-error:placeholder-shown {
	color:    red;
}
.ldc-error:-moz-placeholder, .ldc-error::-moz-placeholder {
	color:    red;
	opacity:  1;
}

.collection-modal-cta .collection-cta-icon {
	margin-top: 0px;
	padding: 6px 6px 4px 6px;
	font-size: 0.8em;
	cursor: pointer;
}

.collect-inline {
	position: absolute;
	bottom: 0px;
	height: 80px;
	padding-top: 50px;
	text-align: center;
	width: inherit;
	background: white;
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 0% rgba(255,255,255,1) 60%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(60%, rgba(255,255,255,1)));
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 60%);
	background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 60%);
	background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 60%);
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 60%);
}

.collection-cta-icon i.fa,
.collect-me i.fa {
	line-height: 31px;
}

.collection-cover-indicator {
	position: absolute;
	top: 0;
	left: 0;
	padding: 10px;
}

@media only screen and (min-width: 0px) and (max-width: 990px) {

  .btn-add-to-collection {
		padding: 0px 10px !important;
	}
	
	.component-link a {
		display: block;
		margin-bottom: 5px;
	}
	
	.collection-field-inline {
		padding: 0px;
	}
	
	.collection-field-modal {
		padding: 0px;
	}
	
	.grid-item {
		width: 47.3%;
		background-color: #EEE;
		position: relative;
	}
	
	.grid-item .img-slug, .collection-each-slug img {
		width: 95%;
		background-position: 50%;
		padding-right: 10px;
	}
	
	.modal-dialog {
		width: auto;
	}

	.collection-input,
	.collection-options {
		float: none !important;
		width: 100% !important;
		margin-bottom: 10px;
	}

	.collection-buttons {
		float: none !important;
		width: 100% !important;
		padding-left: 0px !important;
	}

}

@media only screen and (min-width: 750px) and (max-width: 768px) {

	.count-cell-slug {
		margin-left: 54.1%;
	}
	
}


@media only screen and (min-width: 550px) and (max-width: 750px) {

	.count-cell-slug {
		margin-left: 54.1%;
	}
	
}


@media only screen and (min-width: 450px) and (max-width: 550px) {

	.count-cell-slug {
		margin-left: 52.1%;
	}
	
}

@media only screen and (min-width: 0px) and (max-width: 450px) {

	.collections-cta-button {
		text-align: center;
	}
	
	.count-cell-slug {
		margin-left: 52.8%;
	}

	.grid-item {
		width: 100%;
	}
	
	.grid-item .img-slug, .collection-each-slug img {
		width: 95%;
		background-position: 50%;
		margin: 2.5%;
	}
	
	.count-cell-slug {
		margin-left: 53.9%;
	}

	.loading-collection {
		padding: 0;
	}

	.btn-add-to-collection {
    font-size: .8em;
  }

	#collection-modal-content {
		padding: 10px;
	}
	
	#collection-modal .collection-input i {
		font-size: 1.4em;
		margin-top: 0px;
	}
	
}

@media only screen and (min-width: 0px) and (max-width: 425px) {

	.count-cell-slug {
		margin-left: 49.8%;
	}

}

@media only screen and (min-width: 0px) and (max-width: 375px) {

	.count-cell-slug {
		margin-left: 48.3%;
	}

}