/** 
	---------------------------------------
	This is the CSS for the
	SnapNames responsive site.
	----------------------------------------
*/

h1 {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: bold;
    border-bottom: 1px solid #333333;
    color: #666666;
}

h2 {font-size: 18px;}

.white {
	color: white;
}

a {
	color: #4a8aeb;
	text-decoration: none;
	cursor: hand;
}

a.underline:hover {
	text-decoration: underline;
}

.title-narrow {
	font-family: Arial Narrow, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #666666;
}

/* paragraphs */
p {
	font-size: 12px;
}
.large-paragraph {font-size: 14px;}

/* ----- Background Effects ----- */
.torn-paper {
	background-image: url('../images/torn_paper_bg.jpg');
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: contain;
	height: 135px;
}

@media (max-width: 435px) {
	.torn-paper {
		height: 160px;
	}
}

/* ----- Homepage + similar module-based pages ----- */
.search {
	width: 61%;
	height: 260px;
	background-image: none;
	background-color: #999999;
	-webkit-box-shadow: inset 0px 0px 6px 2px rgba(102,102,102,1);
	-moz-box-shadow: inset 0px 0px 6px 2px rgba(102,102,102,1);
	box-shadow: inset 0px 0px 6px 2px rgba(102,102,102,1);
}

.search-a {
    font-size: 16px;
    font-weight: bold;
    line-height: 28px;
}

.module {
    /* border: 2px solid #999966; */
    border-radius: 10px;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0px 0px 6px 2px rgba(102,102,102,1);
    -moz-box-shadow: inset 0px 0px 6px 2px rgba(102,102,102,1);
    box-shadow: inset 0px 0px 6px 2px rgba(102,102,102,1);
}

.modulepage .search {
	text-align: right;
	height: 260px;
	margin-right: 7px;
	background-color: #3c63ae;
	background-image: url('../images/search_magnify.png');
	background-repeat: no-repeat;
	background-position: bottom left;
	-webkit-box-shadow: inset 0px 0px 6px 2px rgba(40,40,138,1);
	-moz-box-shadow: inset 0px 0px 6px 2px rgba(40,40,138,1);
	box-shadow: inset 0px 0px 6px 2px rgba(40,40,138,1);
}

.modulepage .module {
    border: 2px solid #999966;
    border-radius: 10px;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0px 0px 6px 2px rgba(102,102,102,1);
    -moz-box-shadow: inset 0px 0px 6px 2px rgba(102,102,102,1);
    box-shadow: inset 0px 0px 6px 2px rgba(102,102,102,1);
}

.module h1 {
    color: #ffffff;
}

#search-module  h1 {
    text-align: left;
    font-weight: bold;
    font-size: 24px;
    margin: 0 0 17px 0;
    padding: 15px 15px 0 15px;
    border-bottom: 2px dotted white;
}

input.searchbar {
    border-color: #777777;
    font-size: 16px;
    width: 100%;
    height: 40px;
    margin: 0 5px 10px 0;
    padding: 10px;
   		 border: 2px solid;
    border-radius: 15px;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0px 14px 6px -10px rgba(56,56,56,0.53);
    -moz-box-shadow: inset 0px 14px 6px -10px rgba(56,56,56,0.53);
    box-shadow: inset 0px 14px 6px -10px rgba(56,56,56,0.53);
}

.searchsubmit {
    font-size: 18px;
    font-weight: bold;
    padding: 7px;
    border-radius: 7px;
    padding: 5px 10px;
    color: #ffffff;
    background-color: #ea7b29;
    border: none;
    border-radius: 7px;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0px 0px 6px 3px rgba(212,87,32,1);
    -moz-box-shadow: inset 0px 0px 6px 3px rgba(212,87,32,1);
    box-shadow: inset 0px 0px 6px 3px rgba(212,87,32,1);
}

.searchcontent {
	height: 100%;
	padding: 0 13px 13px 13px;
}


.listy.outer {
	min-width: 196px;
	margin-right: 5px;
	background-color: #999999;
	box-sizing: border-box;
	vertical-align: top;
	height: 260px;
    background-color: #999999;
}

.listy h2 {
    display: inline-block;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
     margin: 10px;
    padding: 5px 10px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.75);
}

/*
.listy#BestOfTheDrop .inner {
    min-height: initial;
} 
*/

.listy .inner {
    height: 210px;
    padding: 10px;
    background-color: #ffffff;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    background-position: 95% 95%;
    background-repeat: no-repeat;
    
    width: 192px;
    margin-left: auto;
    margin-right: auto;
}

.listy table {
    text-align: left;
    width: 100%;
	font-size: 12px;
	border-collapse: collapse;
}

p, td, th, div {
    font-family: Arial, Helvetica;
    font-size: 12px;
}

.featured a {
    font-size: 12px;
}

.listy th {
    font-weight: normal;
    font-size: 12px;
    color: #9e9e8e;
    padding: 2px 2px 10px 2px;
    vertical-align: top; 
}

.listy a {
    text-decoration: none;
    color: #333333;
}

.listy td {
    vertical-align: top;
    font-size: 12px;
    padding: 2px;
}

.listy th:nth-child(2), .listy td:nth-child(2) {
    text-align: right;
}

.listy td:nth-child(2) {
    color: #3c63ae;
}
 
.listy#BestOfTheDrop .see_all, .listy#TopDeals .see_all {
    margin: 5px 0;
    font-size: 12px;
}

.listy#TopDeals td:nth-child(2) {
    color: #ff6633;
}

.listy .see_all {
    display: inline-block;
    text-decoration: none;
    margin-top: 15px;
    color: #9e9e8e;
    cursor: pointer;
}

.listy.min tr:nth-child(n+8) {
	display: none;
}
    
/***************** New Styles ***********************************/

/* To avoid vertical scroll to be added */
.wrapper {
	overflow: visible;
}

#both-boxes {
	display: inline-block;
/*	border: 1px solid violet; */
    vertical-align: top;
}

@media (max-width: 1000px) {
	#search-module {
		width: 90%; 
	}
}

@media (max-width: 1110px) {
	#both-boxes {
	    margin-top: 10px;
		display: table;
		margin-left: auto;
	    margin-right: auto;
	}
	#search-module {
		margin-left: auto;
	    margin-right: auto;
	}
}

@media (min-width: 1110px) {
	#search-module {
		width: calc( 100% - 417px );		/* 61%; */
		margin-right: 5px;
		display: inline-block;
	}
}
	
@media (min-width: 1000px) and (max-width: 1110px) {
	#search-module {
		display: table;
/*		display: inline-block; */
		width: 70%;
	}
}

@media (max-width: 417px) {
	#BestOfTheDrop {
	    margin-bottom: 10px;
		margin-right: auto;
	    margin-left: auto;
	    display: table;
	}	
}

footer {
	margin-top: 70px;
}

footer .copyright {
    margin-top: 30px;
    text-align: center;
}