h2.shorter {
	font-size: 2em;
}

.points h3 {
	margin: 10px 0 12px 0;
}
		
.label {
	display: block;
	margin-right:32px;
	margin-left:49px;
	padding:10px;
}

.date_label {
	display: block;
	padding:10px;
	border-radius: 0.25em;
    color: #fff;
    font-size: 90%;
    line-height: 1;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
}

ul.btm_text {
	list-style-type: disc;
	padding-left: 30px;
	margin-bottom: 10px;
}

.gallery_container,
#search_content {
	z-index: 5;
	height: auto;
	margin-left: -25px;
	overflow: hidden;
}

.gallery_container .thumbwrapper,
#search_content .thumbwrapper {
   position: relative;
   float: left;
   margin: 0 0 25px 25px;
   padding: 0px;
   z-index: 4;
}

.search_bottom {
	float:right;
}

.sgthumb  {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	width: 255px;
	height: 195px;
	background: #F5F5F5;
	background-color: transparent;
	background: -webkit-linear-gradient(top, white 1%, #f9f9f9 98%) repeat scroll 0 0 transparent;
	background: linear-gradient(to bottom, white 1%, #f9f9f9 98%) repeat scroll 0 0 transparent;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-bottom: 1px solid #DFDFDF;
	border-left: 1px solid #ECECEC;
	border-radius: 8px;
	border-right: 1px solid #ECECEC;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.04);
	border-radius: 8px;
	border-top: 3px solid #0088cc;
	border-top-width: 4px;
}

.sgthumb img  {
    border: none;
}

.sgthumb img.portrait {
	height: 172px !important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.4);
	margin: 10px 0 0 67px;
}

.sgthumb img.landscape {
	width: 172px !important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.4);
	margin: 24px 0 0 42px;
}

.sgthumb:hover img.portrait,
.sgthumb:hover img.landscape {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/*attribute icons (sides, upload)*/
span.atticon {
	 position: absolute;
	 right:8px;
	 bottom:0px;
     margin-bottom: 8px;
}
span.atticon img {/*remove borders caused by the thumb class*/
	border: none;
	width: 25px;
    height: auto;
	display: block;
}

#search_page_form {
	width:535px;
	background-color:#E0F6A7;
	padding: 8px 0px 8px 8px;
	border:1px solid #dcdcdc;
	margin: 0 0 25px 0;
	border-radius: 3px;
}

#search_page_form .btn-custom {
margin-top: 1px;
}

#searchliteral_noresults input[type="text"],
#searchliteral input[type="text"] { 	
	padding: 8px;
	font-size:17px;
	margin-right:8px;
	margin-bottom:0;
	width:404px;
	border:1px solid #dcdcdc;
	border-radius: 3px;
}

#noresults_text,
#searchliteral_noresults {
	text-align:center;
}

#noresults_text {
	padding: 20px 0 10px 0;
	font-size: 18px;
	font-weight: normal;
	margin: 0 0 0 25px;
}

.noresults_message {
	font-size: 14px;
}

/* Gallery Styles End */

/* number styles BELOW */
 
#page_wrapper {
	clear: both;
	margin: 20px 0 25px 25px;
}

#page_wrapper a:link {
	color: #818181;
	text-decoration: none;
	font-size: 12px;
}

#page_wrapper a:visited {
	color: #818181;
	text-decoration: none;
}

#page_wrapper a:hover {
	color: #94C53D;
	text-decoration: none;
	color:#fff;
	background: #0088cc;
	border-color: #0088cc;
}

#p_prev,
#p_next {
	width: auto;
	height: 20px;
	display: block;
	padding-top:0px;
}

#p_prev,
#p_next,
#page_numbers {
	float: left;
}

#page_numbers {
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	margin-top:-4px
}

#page_numbers a, #page_numbers2 a {
	padding: 0 1px;
	display: inline-block;
	width:30px;
	height:30px;
	line-height:30px;
	background-color: #eeeeee;
	border: 1px solid #e4e2e2;
	color:#757575;
}

#page_numbers a span {
   width: 100px;
}

.page_selected {
    padding: 0 3px !important;
	width:30px;
	height:30px;
	color:#fff !important;
	background: #0088cc !important;
	border-color: #0088cc !important;
}

/*
It's important to have green_box separate from page_selected as 
page_selected being set is how the JS determains the current page
*/
.green_box,
span.view_gall_box {
    padding: 7px 10px !important ;
	font-size:12px;
	border: 0;
	color: #757575;
	background-color: #e4e2e2;
	border-color: #e4e2e2;
}

span.view_gall_box {
    font-size: 0.7em;
	position: relative;
	top: 10px;
	left: 8px;
	font-weight: normal;
	z-index: 2;
	border-radius:3px;
}

/*mobile pagination */
#page_wrapper2 {
	clear: both;
	text-align: center;
	margin-bottom: 15px;
}

#page_wrapper2 A:link {
	color: #818181;
	text-decoration: none;
	font-size: 12px;
}

#page_wrapper2 A:visited {
	color: #818181;
	text-decoration: none;
}

#page_wrapper2 A:hover {
	color: #94C53D;
	text-decoration: none;
}

#page_numbers2 a.page_selected {
	background-color: #94C53D;
    border-radius: 3px 3px 3px 3px;
    color: #ffffff !important;
    padding: 0 3px !important;
}

#page_prev, #page_next, #page_prev2, #page_next2, .green_box, span.view_gall_box {
	border-color: #0088cc !important;
	background-color:  #0088cc;
	border-color: #e4e2e2;
	color: white !important;
}

#p_prev2,
#p_next2 {
	height: 20px;
	display: inline-block;
	font-weight:normal;
}

#p_prev2 {
	float: none;
}

#p_next2 {
	float: none;
}

#page_numbers2 {
	text-align: center;
	padding-left: 0px !important;
	padding-right: 0px !important;
	padding-bottom:15px;
	padding-top:15px;
	font-size:0.8em;
	font-weight:normal;
}

#page_numbers2 a {
	min-width: 14px;
	display: inline-block;
}

#page_numbers2 a span {
	display: inline-block;
	width: initial;
	margin: 0 2px 0 0;
}

#page_controls2 {
	padding-bottom: 15px;
	min-width: 153px;
}

/* hide mobile pagination by default */
#mobile-pagination {
	display: none;
}

/* right column */

.featured-box {
	text-align: left;
}

.featured-box h4 {
	letter-spacing: 0;
}

.featured-box .box-content {
	padding: 10px 15px 12px 15px;
}

h3 {
	font-size: 1.6em;
	margin: 5px 0 10px 0;
	text-transform: none;
	line-height: 26px;
}

ul, ol {
	list-style: outside none none;
	margin: 0;
}

.feature-box .contact i {
	display: block;
	float: left;
	font-size: 1.2em;
	margin: 7px 8px 10px 0;
	position: relative;
	text-align: center;
	top: -2px;
	width: 16px;
	color: #0088cc;
}

ul.contact {
	padding-left: 0px;
}

.featured-box .box-content {
	padding-bottom: 0;
}

.icon-menu::before {
	font-family: FontAwesome;
	content: "\f0c9";
}

[class^="icon-"]::before, [class*=" icon-"]::before {
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1em;
	margin-left: 0.2em;
	margin-right: 0.2em;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	width: 1em;
}

.side-custom-menu {
	border-radius: 7px;
	border: 1px solid #dddddd;
	overflow: hidden;
}

.side-custom-menu h2 {
	background-color: #f5f5f5;
	border-bottom: 1px solid #dddddd;
	color: #000000;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	margin: 0px;
	padding: 13px 13px 12px;
	text-align: left;
	text-transform: uppercase;
}

.side-custom-menu ul {
	padding: 0px 12px;
}

.side-custom-menu ul li {
	border-top: 1px solid #dddddd;
	padding: 13px 4px 12px;
	text-align: left;
}

.side-custom-menu h5 {
	border-top: 1px solid #dddddd;
	padding: 13px 4px 0;
	text-align: left;
	margin-bottom: 0;
}

.side-custom-menu ul li:first-child {
	border: 0px none;
}

.side-custom-menu h5:first-child {
	margin-top: 20px;
}

.side-custom-menu h5.no_brd {
	border: 0px none;
	padding: 0 4px;
}

.side-custom-menu ul li.no_brd {
	border: 0px none;
	padding: 0 4px 12px;
}

.side-custom-menu ul li.icon_key {
	border: 0px none;
	padding: 5px 4px 0;
}

.side-custom-menu ul li a {
	color: #777777;
	display: block;
	font-size: 14px;
	line-height: 1;
}

#loadMore {
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
    width: 100%;
}
#loadMore a {
    background: #0088cc;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    padding: 10px 30px;
    transition: all 0.25s ease-out;
    -webkit-font-smoothing: antialiased;
    text-decoration: none;
}
#loadMore a:hover {
    background-color: #0099e6;
}

/* =============================================

----------------- Responsive  ------------------

==============================================*/

@media (max-width: 1200px) {

	h2 {
	font-size: 1.8em;
	}

	.label {
	margin-left: 36px;
	} 	

	#search_page_form {
	width:435px;
	}
	
	#searchliteral_noresults input[type="text"],
	#searchliteral input[type="text"] { 	
	width:305px;
	}
	
	.sgthumb {
    width: 205px;
	}
	
	.sgthumb img.portrait {
	margin: 10px 0 0 40px;
	}

	.sgthumb img.landscape {
	margin: 19px 0 0 15px;
	}

}

@media (max-width: 1199px) and (min-width: 992px) {
  .home-side-menu h2.side-menu-title { padding: 9px 15px; }
  .menu.side-menu > li > a { font-size: 13px; padding: 10px 5px; }
  .side-custom-menu h2 { padding: 10px 13px 10.5px; }
  .side-custom-menu ul li { padding: 10px 4px 9px; }
  .side-custom-menu ul li a { font-size: 13px; }
}

/* display the mobile version */
@media (max-width: 995px) {

	#mobile-pagination {
	display: block;
	}
  
	#page_wrapper{
	display: none;
	}

}

/* Portrait tablet to landscape and desktop */

@media (min-width: 768px) and (max-width: 979px) {

	.label {
	margin-left: 0;
	margin-right: 26px;
	}
	
	p.taller {
	margin-bottom: 5px;
	}

	#search_page_form {
	width:445px;
	}
	
	#searchliteral_noresults input[type="text"],
	#searchliteral input[type="text"] { 	
	width:315px;
	}
	
	#noresults_text {
	padding: 10px 0 20px 0;
	}

	.sgthumb  {
	width: 210px;
	}
	
}

/* Landscape phone to portrait tablet */
@media (min-width: 480px) and (max-width: 767px) {

	.label {
	margin-left: 0;
	margin-right: 0;
	}
	
	p.taller {
	margin-bottom: 5px;
	}

	#search_page_form {
	width:435px;
	}
	
	#searchliteral_noresults input[type="text"],
	#searchliteral input[type="text"] { 	
	width:305px;
	}
	
	#noresults_text {
	padding: 0 0 20px 0;
	}

}

/* Landscape phone to portrait tablet */

@media (max-width: 480px) {

	.label {
	margin-left: 0;
	margin-right: 0;
	}
	
	.date_label {
    font-size: 80%;
	}
	
	p.taller {
	margin-bottom: 5px;
	}

	h2 small,
	.h2 small {
	 font-size: 55%;
	}
	
	.featured-box h4 {
	letter-spacing: -0.7px;
	}

	#search_page_form {
	width:289px;
	}
	
	#searchliteral_noresults input[type="text"],
	#searchliteral input[type="text"] { 	
	width:160px;
	}
	
	#noresults_text {
	padding: 0 0 20px 0;
	margin: 0 15px 0 0;
	}
	
	.gallery_container,
	#search_content {
	margin-left: 0;
	margin-right: -15px;
	}

	.gallery_container .thumbwrapper,
	#search_content .thumbwrapper {
	margin: 0 5px 5px 0;
	}

	.sgthumb  {
	width: 142px;
	height: 180px;
	}
	
	.sgthumb img.portrait {
	height: 125px !important;
	margin: 10px 0 0 24px;
	}

	.sgthumb img.landscape {
	width: 125px !important;
	margin: 26px 0 0 6px;
	}
	
	.sm-margin {
	margin-bottom:5px;
	}

}
