/**
 *  Wrapper
**/


.linkdir_link_desc {
    margin-bottom: 0 !important;
    line-height: 165%;
    padding-bottom: 1em;
}

.single-page #primary-content {
    width: 90% !important;
    max-width: 1280px;
}

@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: portrait)
{
	


.linkdir_link_unit {
    width: 253px !important;

}




}


.linkthumb {
display:block;margin-right:15px;float:left;width:170px;height:88px;
}

.pageid-1228 .flags, .pageid-57 .flags {
    margin-top: 15px;
    margin-bottom: 45px;

    border-radius: 15px;
    margin: 2% auto 6% auto;
    display: block;

}

.pageid-1228 .flags li, .pageid-57 .flags li {
color: #383838;
padding-right: 14px;
display: inline-block;
text-align: center;
}



.flags img:hover {
opacity: 0.7;
}

div.linkdir_block{
	width:100%;
	background-color:#FFF;
	font-size:13px !important;
	margin-bottom:15px;
}

/**
 *  Navigation Bar
**/

div.linkdir_navi {
  display: block;
  text-align: center;
  line-height: 35px;
  padding: 0 10px;
  margin-bottom: 23px;
}

div.linkdir_block div.linkdir_navi a{
color: #000;
text-decoration: none;
display: inline-block;
line-height: 35px;
padding: 0 30px;
}

div.linkdir_block div.linkdir_navi a:hover{
	background-color:#999;
	color:white;
}

/**
 *  Error/Success Messages
**/

p.linkdir_error{
	background-color:#F18E8F;
	border:6px solid #D5304B;
	padding:8px;
	font-weight:bold;
	color:#FFF;
	margin: -16px 14px 31px -14px;
}

p.linkdir_success{
	background-color:#9FD562;
	border:6px solid #62C830;
	padding:8px;
	font-weight:bold;
	color:#FFF;
	margin:10px 0;
}

/**
*  Directory Listing
**/


div.linkdir_link_unit{
	border:1px solid #e6e6e6;
	padding:10px;
	margin:43px 0;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	display:block;
	box-shadow: 2px 2px 5px #eee;
height:auto;
    margin-bottom: 3%;
}

div.linkdir_unit{
	border:1px solid #e6e6e6;
	padding:20px;
	margin:13px 0;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	display:block;

}

.catdesc {
    margin-bottom: 4% !important;
	}
	
div.linkdir_unit a.linkdir_title{
	color:#0969A2;
	font-weight:bold;
	display:block;
	text-decoration:none;
}

div.linkdir_unit a.linkdir_description,div.linkdir_unit a.linkdir_description:hover{
	color:#999;
	display:block;
	text-decoration:none;
	margin-top:4px;
}

div.linkdir_unit a.linkdir_title span.linkdir_num{
	font-size:10px;
	color:#999;
	background-color:#e6e6e6;
	padding:2px 4px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	position:relative;
	top:-1px;
	font-weight:normal;
}

div.linkdir_unit a.linkdir_title:hover{
	color:#0969A2;
	text-decoration:none;
}

h2.linkdir_cat_title{
	font-size:18px;
	font-family:Arial,Helvetica,sans-serif;
	margin:0 0 2px 0;
	color:#000;
}


.caution {text-align:center;border:1px solid #F1E997;padding-left:34px !important;background-color:#FFFBCC;padding: 13px;border-radius: 12px;position: relative;
top: -11px;
left: -14px;}

.name {font-size:19px;}

div.linkdir_link_unit a{
	font-weight:bold;

}

div.linkdir_link_unit p{
	color:#999;
}

span.linkdir_small_url{
	color:#ccc;
	font-size:10px;
}

/**
* Page Navigation
**/

div.linkdir_pagenavi{
	text-align:center;
	margin:38px 0;
}

div.linkdir_pagenavi a{
  margin-top: 27px;
	display:inline-block;
	padding: 8px 16px 8px 16px;
	font-weight:bold;
	font-size:13px;
	border:1px solid #ccc;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color:#000;
/* 	background:url(gray_grad.png) 0 0 repeat-x scroll transparent;
 */	text-decoration:none;
}

div.linkdir_pagenavi a:hover{
	display:inline-block;
	padding: 8px 16px 8px 16px;
	font-weight:bold;
	font-size:13px;
	border:1px solid #999;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color:#000;
/* 	background:url(gray_grad.png) 0 0 repeat-x scroll transparent;
 */	text-decoration:none;
}

div.linkdir_pagenavi a:focus{
	display:inline-block;
	padding: 8px 16px 8px 16px;
	font-weight:bold;
	
	font-size:13px;
	border:1px solid #999;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color:#000;
	background:#ccc;
	text-decoration:none;
}

div.linkdir_pagenavi a.current{
	display:inline-block;
	padding: 8px 16px 8px 16px;
	font-weight:bold;
	
	font-size:13px;
	border:1px solid #999;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	  color: #FFF;
  background: #219CC6;
	text-decoration:none;
}


/**
*  Other / Misc
**/

span.linkdir_desc{
	font-size:10px;
	color:#999;
}

label.linkdir_label{
	display:block;
	color:#333;
}

p.linkdir_empty{
	display:block;
	padding:8px;
	background-color:#dddddd;
	color:#777777;
	-webkit-box-shadow: 0px 0px 10px 0px #a8a8a8;
	-moz-box-shadow: 0px 0px 10px 0px #a8a8a8;
	box-shadow: 0px 0px 10px 0px #a8a8a8;
}

p.linkdir_desc{
	color:#999;
	margin: 0 0 0 35px;
	padding-left:10px;
}

div.linkdir_link_unit p{
	margin-bottom:0 !important;
}

a.linkdir_poweredby{
	width:131px;
	height:18px;
	background:url(powered.png) 0 0 no-repeat scroll transparent;
	display:inline-block;
}

@media screen and (min-width: 976px) {
	

.linkdir_body {
  padding-left: initial;
}

div.linkdir_pagenavi, div.linkdir_navi,.ranking_msg {
clear:both !important;
}

a.name {
  color: rgb(33, 156, 198);
  text-decoration: none;
}

span.linkdir_small_url {
  margin: 0 0 6px 0;
  display: block;
}

a.linkthumb {
  box-shadow: 1px 1px 1px #D7D7D7;
}

.linkthumb {
  display: block;
  margin-right: 15px;
  float: left;
  width: 315px !important;
  margin-left: -22px;
  margin-top: -17px;
  height: 98px;
  padding-bottom: 32px;
  background-size: cover;
  opacity: 0.9;
}

.linkthumb:hover {
opacity:1;
}

.linkdir_link_unit {
  overflow: hidden;
  width: 266px;
  height: 259px;
  display: flex;
  float: left;
  margin: 13px 13px !important;
      min-height: 300px;
}

.name {
font-size:19px;
padding: 7px 0 0 0;
}

.ranking_msg {
  border: 1px solid #e6e6e6;
  padding: 10px;
  border-radius: 10px;
  margin: 13px 0;
  }
  
p.linkdir_desc {
  margin: 36px 0 13px 0 !important;
  padding-left: 13px;
}

.linkdir_link_unit a {
  clear: both;
  display: block;
}

h2.linkdir_cat_title {
  font-size: 29px;
  font-family: "Segoe UI",Calibri,"Myriad Pro",Myriad,"Trebuchet MS",Helvetica,Arial,sans-serif;
  margin: 0 0 2px 0;
  color: #000;
  margin: -23px 0 -23px 0;
    padding-left: 13px;
}

.flags {
  margin-bottom: 45px;
  padding-bottom: 23px;

  padding-left: 20px;
}

.flags li {
  margin-left: 27px;
}

ul.flags img {
  height: 50px;
}

}



.linkdircreds {
padding-left:34px;text-align:center !important;font-size:60%;
}

ul.flags {
    width: 100%;
    margin:0 auto;
    display:block;
    text-align: center;
}

.flags li {
    display:inline-block;

    max-width:50px;
    text-align:center;
    margin-bottom:2em;
}