
.crop {
    display: inline-block;
    width: 170px;
    height: 170px;
    overflow: hidden;
}

.crop img {
    display: block;
    width: auto;
    height: 190px;
}

.center img {
    margin: 0 0 0 -38%;    
}

@import url(http://fonts.googleapis.com/css?family=Open+Sans);
@import url(http://fonts.googleapis.com/css?family=Bree+Serif);

.mobileHide {
	display: inline;
}

/* Triggered to hide when on a Smartphone Portrait and Landscape */
@media only screen  and (min-device-width : 320px)  and (max-device-width : 480px) {
	.mobileHide {
		display: none;
	}
}
.mobileShow {
	display: none;
}

/* Trigger to display when only on a Smartphone Portrait and Landscape */
@media only screen  and (min-device-width : 320px)  and (max-device-width : 480px) {
	.mobileShow {
		display: inline;
	}
}

@media screen and (min-width : 900px) {
	#primary {
		float: left;
		width: 65%;
		padding-right: 1em;
	}
	#secondary {
		float: right;
		width: 35%;
	}
}
.wrap {
	max-width: 1275;
	margin: 0 auto;
	padding: 1em;
}
.wrap:after {
	content: "";
	display: table;
	clear: both;
}
#primary {
	max-width: 875px;
	margin: 0 auto;
}
#secondary {
	max-width: 375px;
	margin: 0 auto;
	padding: 1em;
}
#topad {
	margin: 0 auto;
	max-width: 1275px;
	padding: 5px 5px 5px 0px;
}
#container {
	margin: 0 auto;
	max-width: 1275px;
}
h1 {
	font-family: 'Open Sans', sans-serif;
	font-size: 22px;
	margin-top: 20px;
	margin-bottom: 10px;
}
h2 {
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	margin-top: 0.67em;
	margin-bottom: 0.67em;
	font-weight: bold;
}
p {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	line-height: normal;
}
.content {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
}
.small {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	line-height: normal;
}
#maingate_ad_block {
	display: block;
	padding: 0.2em;
	float: center;
	font-weight: bold;
	background: #ffffff;
	color: #fff;
	border: 0px solid #c1c1c1;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	max-width: 98%;
}
#maingate_ad_image {
	float: left;
	margin-right: 3px;
}
#maingate_ad_text {
	font-size: 16px;
	float: center;
}
#maingate_tag {
	padding-top: 5px;
	float: right;
	font-size: 8px;
	font-family: 'Damion', cursive;
}
/* CSS Document */



body {
	background: #ffffff;
	font-size: 22px;
	line-height: 32px;
	color: #000000;
	margin: 0;
	padding: 0;
	word-wrap: break-word !important;
	font-family: 'Open Sans', sans-serif;
}
.toggle, [id^=drop] {
	display: none;
}
/* Giving a background-color to the nav container. */
nav {
	margin: 0;
	padding: 0;
	background-color: #015baf;
}
#logo {
	display: block;
	padding: 0 0;
	float: left;
	width: auto;
	/*font-size: 20px;
	line-height: 60px;*/
}
#logo img { vertical-align: middle; }


/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */
nav:after {
	content: "";
	display: table;
	clear: both;
}
/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: right;
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
}
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display: inline-block;
	float: left;
	background-color: #015baf;
}
/* Styling the links */
nav a {
	display: block;
	padding: 14px 15px;
	color: #FFF;
	font-size: 16px;
	text-decoration: none;
}
nav ul li ul li:hover {
	background: #000000;
}
/* Background color change on Hover */
nav a:hover {
	background-color: #000000;
}
/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute;
	/* has to be the same number as the "line-height" of "nav a" */
	top: 60px;
}
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display: inherit;
}
/* First Tier Dropdown */
nav ul ul li {
	width: 270px;
	float: none;
	display: list-item;
	position: relative;
}
/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top: -60px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left: 170px;
}
/* Change ' +' in order to change the Dropdown symbol */
li > a:after {
	content: ' +';
}
li > a:only-child:after {
	content: '';
}


label.toggle img {
	width: 20px;
	height: 20px;
	vertical-align: middle;	
}

/* Media Queries
--------------------------------------------- */

@media all and (max-width : 900px) {
#logo {
	/*display: block;
	padding: 0;
	width: 100%;
	text-align: center;
	float: none;*/
}
nav {
	margin: 0;
}
/* Hide the navigation menu by default */
	/* Also hide the  */
.toggle + a,  .menu {
	display: none;
}
/* Stylinf the toggle lable */
.toggle {
	display: block;
	/*background-color: #254441;*/
	padding: 14px 20px;
	color: #FFF;
	font-size: 17px;
	text-decoration: none;
	border: none;
}

nav > .toggle:hover {
	cursor: pointer;
	background-color: #254441;
}

li .toggle:hover {
	background-color: #000000;
}
/* Display Dropdown when clicked on Parent Lable */
[id^=drop]:checked + ul {
	display: block;
}
/* Change menu item's width to 100% */
nav ul li {
	display: block;
	width: 100%;
}
nav > .toggle {
	display: inline-block;
	width: auto;	
}
nav ul ul .toggle,  nav ul ul a {
	padding: 0 40px;
}
nav ul ul ul a {
	padding: 0 80px;
}
nav a:hover,  nav ul ul ul a {
	background-color: #000000;
}
nav ul li ul li .toggle,  nav ul ul a,  nav ul ul ul a {
	padding: 14px 15px;
	color: #FFF;
	font-size: 17px;
}
nav ul li ul li .toggle,  nav ul ul a {
	background-color: #212121;
}
/* Hide Dropdowns by Default */
nav ul ul {
	float: none;
	position: static;
	color: #ffffff;/* has to be the same number as the "line-height" of "nav a" */
}
/* Hide menus on hover */
nav ul ul li:hover > ul,  nav ul li:hover > ul {
	display: none;
}
/* Fisrt Tier Dropdown */
nav ul ul li {
	display: block;
	width: 100%;
}
nav ul ul ul li {
	position: static;/* has to be the same number as the "width" of "nav ul ul li" */ 

}
}

@media all and (max-width : 330px) {
nav ul li {
	display: block;
	width: 94%;
}
}

/* Search Box 
*********************************************/
/* Clearfix */
.group:before, 
.group:after {
    content: " ";
    display: table;
}
.group:after { clear: both; }
.group { *zoom: 1; } /* IE6/7 support */


.search-container {
	position: relative;
	display: block;
	float: right;
	margin: 0 0 0 0;
	padding: 15px 10px;
	text-align: right;
	font-size: 17px;
	color: #fff;
}
	.search-input {
                background: #fff url("http://disdb.com/images/search.png") no-repeat;
                background-size: 20px 20px;
                background-position: 5px, left;
		float: right;
		margin: 0;
		padding: 5px;
		height: 30px;
		border: none;
		color: #666;
		outline: none;
		border-radius: 4px;
				
		-webkit-transition: all .3s ease-in-out;
		   -moz-transition: all .3s ease-in-out;
		        transition: all .3s ease-in-out;
	}
	
	.search-input:focus { width: 100%; }
	.search-submit { display: none; }
	
@media screen and (min-width: 0) {
	.search-container { width: 100px; }
	.search-input { width: 80px; }
}

@media screen and (min-width: 30em) {
	.search-container { width: 120px; }
	.search-input { width: 80px; }
}

@media screen and (min-width: 60em) {
	.search-container { width: 150px; }
	.search-input { width: 80px; }
}
	