/**************************************************************************

	Site:	diverclub.org

***************************************************************************

	1. BASE
		1.1  CSS Reset
		1.2  Accessibility Nav
		1.3  Globals
		1.4  UI Elements

	2. LAYOUT
		2.1  Structure
		2.2  Header
		2.3  Navigation
		2.4  Content
		2.5  Sidebar
		2.6  Footer
		
	3. PARTS
		
***************************************************************************/


/* = 1. BASE
   ------------------------------------------------------------------------*/


/* = 1.1 CSS Reset
   ------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, big, cite,
del, dfn, em, font, img, ins, samp,
small, strike, strong, sub, sup,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
a { text-decoration: none; }
blockquote, q { quotes: none;}
cite { font-style: normal; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-spacing: 0; }


/* = 1.2 Accessibility Nav
   ------------------------------------------------------------------------*/

#a11y {
	position: absolute; 
	top: 0; 
	left: -10001px;
	margin: 0;
	padding: 0;
}

#a11y li a:hover,
#a11y li a:focus, 
#a11y li a:active {
	display: block; 
	position: absolute; 
	left: 10001px; 
	top: 0; 
	z-index: 10001; 
	width: 200px; 
	margin: 15px 0 0 15px; 
	padding: 2px 0; 
	background: #fff; 
	color: #222; 
	text-align: center; 
	text-decoration: none; 
}


/* = 1.3 Globals
   ------------------------------------------------------------------------*/

html { -webkit-font-smoothing: antialiased; }

body {
	min-width: 1150px;
	font: small/1.5em "Trebuchet MS", Tahoma, Arial, sans-serif;
	color: #fff;
	background: #012B5D url(../i/top3.jpg) 50% 0 repeat-x;
}

#nyroModalContent{
	background: #12618A;
	color: #fff;
}

@media only screen and (max-device-width: 480px) { html { -webkit-text-size-adjust: none; } }

a:link { color: #fff; } 

a:visited { color: #fff; }

a:hover, 
a:focus {
	text-decoration: underline; 
}

p { margin-bottom: 1em }

ul li {
	margin-left: 20px;
	list-style: url(../i/bullet-red.png) disc;
}

em {
	font-style: normal;
	font-weight: bold;
}

.clear { clear: both !important; }
   
.contact ul li { list-style: disc; }

.excerpt li {
	margin-left: 0;
	list-style: none;
}
.excerpt li.clear{
	margin: 0;
}

.sep li {
	margin-bottom: 0.5em;
	margin-left: 0;
	padding-bottom: 1em;
	border-bottom: 1px solid #3F5E85;
}

.side li:last-child { border-bottom: none; }

.sep li li {
	padding-bottom: 0;
	margin-bottom: 0.3em;
	font-size: 0.9em;
	list-style: disc inside;
	list-style-image: none;
	border: none;
}

hr.separator { display: block; height: 0; margin: 15px 0; border: solid #3f5e85; border-width: 1px 0 0; background: none; font-size: 0; }
.separator {
	overflow: hidden;
	margin-bottom: 1em;
	border-bottom: 1px solid #3f5e85;
}

.point {
	padding-left: 20px;
	background: transparent url(../i/bullet-red.png) 0 50% no-repeat;
}

.side .more {
	clear: both;
	margin: 0 0 1em 0;
}

.agreement {
	clear: both;
	padding-top: 2em;
	color: #cfcfcf;
	margin: 0 auto;
	margin-bottom: 20px;
	width: 90%;	
	font-size: 0.9em;
	line-height: 18px;
}
.agreement ol{
	margin-left: 20px;
}

.posted {
	margin: 0.5em 0;
	font-size: 0.9em;
	color: #537199;
	text-align: right;
}

*::-moz-selection {
	background-color: #000;
	color: #fff;
}

h1, h2, h3, h4, h5, h6 {
	font: 100%/1.5 "Trebuchet MS", Tahoma, Arial, sans-serif;
}

h2,
h3,
.header-a {
	margin: 1em 0 0.5em;
	font-size: 1.5em;
	line-height: 2.5em;
}

h3 { font-size: 1.5em; }

h4 {
	font-size: 1.3em;
}

h1, h2, h3, h4, h5, h6,
.point,
.submit,
.disclaimer,
.profile table,
.activity .details,
#gallery-nav a {
	text-shadow: 1px 1px 1px #070f1b;
}

#content .content h3 {
	padding: 0;
	border: none;
	font-size: 1.3em;
}

.header-c { font-size: 1.3em; }

.desc a,
.text-content a,
.base table a,
a.site-link,
a.external {
	padding: 0 3px;
	border-bottom: 1px solid #526b89;
	background-color: rgba(15, 35, 71, 0.5);
}

.desc a:hover,
.desc a:focus,
.desc a:active,
.text-content a:hover,
.text-content a:focus,
.text-content a:active,
.base table a:hover,
.base table a:focus,
.base table a:active,
a.site-link:hover,
a.site-link:focus,
a.site-link:active,
a.site-link,
a.external:hover, 
a.external:focus,
a.external:active {
	border-bottom-color: #a1bfe3;
	background-color: #0f2347;
	text-decoration: none;
}

/* = 1.4 UI Elements
   ------------------------------------------------------------------------*/
#test li { display: block !iportant }
   
   
.inbox, #nav .inbox a, .outbox, .ico-message,
.friend, .flag,
.time, .icon-photo, .favorite,
.phone, .icon-vcard, .add,
.edit, .settings, .reply,
.replies, .replied, .my-galleries, 
.my-expeditions,
.mark-on-map, .partner, .connect,
.add-degree, .my-diverbases, .add-diverbase,
.no-publish, .publish, .export-csf, 
.ico-unlock, .ico-new-message, .ico-block, .ico-blacklist 
{ 
	padding-left: 28px;
	background-color: transparent;
	background-position: 0 50%;
	background-repeat: no-repeat;
}

.ico-message { background-image: url(../i/ico-message.gif); background-position: 1px 50%; }
.delete { background-image: url(../i/ico-delete.png); background-position: 3px 50%; }
.flag { background-image: url(../i/ico-flag.gif); background-position: 1px 50%; }
.time { background-image: url(../i/ico-clock.gif); }
.icon-photo { background-image: url(../i/ico-photo.gif); }
.favorite { background-image: url(../i/ico-favorite.gif); }
.add, .main .add { background-image: url(../i/ico-add.gif); background-position: 6px 50%; }
.edit { display: inline-block; background-image: url(../i/ico-edit.png); line-height: 20px; }
.settings { background-image: url(../i/ico-settings.gif); }
.reply { background-image: url(../i/ico-reply.png); }
.replies { display: block; width: 16px; height: 16px; padding: 0; overflow: hidden; background-image: url(../i/ico-replied.png); text-indent: 1000em; }
.replied { padding-left: 22px; background-image: url(../i/ico-replied.png); background-position: 0 45%; }
.connect { display: inline-block; background-image: url(../i/ico-connect.png); background-position: 1px 50%; line-height: 19px; }
.icon-vcard { background-image: url(../i/ico-vcard.gif); }
.publish { background-image: url(../i/ico-publish.png); background-position: 2px 50%; }
.no-publish { background-image: url(../i/ico-no-publish.png); background-position: 2px 50%; }
.main-photo { display: inline-block; background-image: url(../i/ico-main-photo.png); line-height: 22px; }
.ico-admin-edit{ background-image: url(../i/ico-admin-edit.png); }
.ico-admin-big-show{ background-image: url(../i/ico-admin-big-show.png); }


.ico-sprite{ padding-left: 28px; height: 24px; line-height: 24px; display: block; background: url(../i/icons.png) 0 0 no-repeat transparent; text-align: left; }


.ico-add{ background-position: 0 0; }
.ico-delete{ background-position: 0 -24px; }
.ico-connect-with-expedition{ background-position: 0 -48px; }
.ico-edit{ background-position: 0 -72px; }
.ico-inbox{ background-position: 0 -96px; }
.ico-outbox{ background-position: 0 -120px; }
.ico-new-message{ background-position: 0 -144px; }
.ico-report-abuse{ background-position: 0 -168px; }
.ico-publish{ background-position: 0 -192px; }
.ico-no-publish{ background-position: 0 -216px; }
.ico-add-diverbase{ background-position: 0 -240px; }
.ico-my-diverbase{ background-position: 0 -264px; }
.ico-add-as-friend{ background-position: 0 -288px; }
.ico-add-degree{ background-position: 0 -312px; }
.ico-add-expedition{ background-position: 0 -336px; }
.ico-friends-expeditions{ background-position: 0 -360px; }
.ico-my-expeditions{ background-position: 0 -384px; }
.ico-join-to-expedition{ background-position: 0 -408px; }
.ico-leave-expedition{ background-position: 0 -432px; }
.ico-add-diving{ background-position: 0 -456px; }
.ico-mark-on-map{ background-position: 0 -480px; }
.ico-select-partner{ background-position: 0 -504px; }
.ico-add-gallery{ background-position: 0 -528px; }
.ico-my-galleries{ background-position: 0 -552px; }
.ico-my-favorite-photos{ background-position: 0 -576px; }
.ico-friends-favorites{ background-position: 0 -600px; }
.ico-add-photo{ background-position: 0 -624px; }
.ico-set-as-main-photo{ background-position: 0 -648px; }
.ico-set-as-profile-photo{ background-position: 0 -672px; }
.ico-newest-photos{ background-position: 0 -696px; }
.ico-best-photos{ background-position: 0 -720px; }
.ico-add-video{ background-position: 0 -744px; }
.ico-best-video{ background-position: 0 -768px; }
.ico-my-best-video{ background-position: 0 -792px; }
.ico-my-blog{ background-position: 0 -816px; }
.ico-add-post{ background-position: 0 -840px; }
.ico-prev-post{ background-position: 0 -864px; }
.ico-next-post{ background-position: 0 -888px; }
.ico-all-post{ background-position: 0 -912px; }
.ico-show-big{ background-position: 0 -936px; }
.ico-block{ background-position: 0 -960px; }
.ico-unlock{ background-position: 0 -984px; }
.ico-blacklist{ background-position: 0 -1008px; }
.ico-export-csv{ background-position: 0 -1032px; }

.phone {
	padding-left: 30px;
	font-size: 1.2em;
	background-image: url(../i/ico-emergency.png); 
}

.add-gallery {
	display: inline-block;
	width: 100px;
	height: 100px;
	background: transparent url(../i/pic-add-gallery.gif) 0 0 no-repeat;
	text-indent: -1000em;
	vertical-align: top;
}

.h-link {
	float: right;
	margin-top: -2.9em;
}

/* = 2. LAYOUT
   ------------------------------------------------------------------------*/

/* = 2.1 Structure
   ------------------------------------------------------------------------*/

.container {
	width: 1150px;
	margin: 0 auto;
}

.side {
	float: left;
	width: 300px;
}

.main {
	float: right;
	width: 800px;
}

.inner { overflow: hidden; }


/* = 2.2 Header
   ------------------------------------------------------------------------*/
   
#header {
	position: relative;
	height: 131px;
	margin-top: 55px;
}

#header h1 {
	position: absolute;
	top: -43px;
	left: 0px;
	z-index: 200;
}

#header h1,
#header h1 a {
	display: block;	
	width: 258px;
	height: 95px;
	background: transparent url(../i/logo.png) 0 0 no-repeat;	
	text-indent: -1000em;
}

#header form {
	position: absolute;
	top: 46px;
	right: 0;
	width: 322px;
}

#header .text {
	float: left;
	width: 146px;
	margin-left: 5px;
	background: transparent url(../i/input-login.png) 0 0 no-repeat;
}

#header label { display: none; }

#header .point {
	float: right;
	border: none;
	font-size: 1.1em;
}

#header .submit { margin-left: 63px; }


/* = 2.3 Main Navigation
   ------------------------------------------------------------------------*/

#nav {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 150;
	width: 100%;
	height: 55px;
}

#nav .container { position: relative; }

#nav-main {
	float: right;
	min-width: 395px;
	margin-top: 14px;
}

#nav-main li {
	display: inline;
	margin-left: 10px;
	font: 1.2em "Trebuchet MS", Tahoma, Arial, sans-serif;
	line-height: 55px;
}

#nav-main li:first-child { margin-left: 0; }

#nav-main a {
	margin-right: 10px;
	color: #586972;
	text-shadow: 1px 1px 5px #fff;
}

#nav-main a:hover,
#nav-main a:focus {
	text-decoration: none;
	border-bottom: 3px solid #be2520;
}

#nav-main li.store a{
	color: #9F2222;
	font-weight: bold;
	text-shadow: 0px 0px 3px #fff;
}

#nav .inbox {
	position: absolute;
	right: 35px;
	top: 45px;
	z-index: 1;
	padding-left: 0;
	background: none;
	text-align: center;
}

#nav .inbox a {
	padding-left: 24px;
	background: transparent url(../i/ico-inbox.gif) 0 50% no-repeat;
	color: #586972;
}

#nav .inbox a:hover,
#nav .inbox a:focus {
	text-decoration: none;
	border-bottom: 1px solid;
}

.dropdown {
	position: relative;
	z-index: 50;
	float: right;
	overflow: hidden;
	min-width: 150px;
	max-width: 290px;
	height: 2.5em;
	margin-top: 9px;
	text-align: left;
	font-size: 1em;
	line-height: 37px;
	background: #711e24 url(../i/dropdown.gif) 0 0 repeat-x;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75);
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
}

.dropdown:hover { height: auto; }

#nav .dropdown {
	margin: 23px 35px 0 0;
}

#nav .dropdown .first {
	padding-right: 40px;
	background: transparent url(../i/pointer3.gif) right 50% no-repeat;
}

#nav .dropdown .first a { color: #fff; }

#nav .dropdown li {
	display: block;
	margin: 0 auto;
	padding: 0 20px;
	font-size: 1em;
	line-height: 2.5em;
}

#nav .dropdown a {
	display: block;
	padding: 0;
	color: #fde3e3;
	background: none;
	border-top: 1px solid #b96d6d;
	border-bottom: 1px solid #861e1f;
}

#nav .dropdown .first a { border-top: none; }

#nav .dropdown a:hover,
#nav .dropdown a.current {
	color: #fff;
}

.dropdown li.last { border-bottom: none; }

#nav .user-control {
	margin: 0;
	font-size: 1em;
	line-height: 55px;
}

#nav .signup { font-size: 1.2em; }

#nav .signup a { color: #f4c926; }

#nav .user-control a:hover,
#nav .user-control a:focus {
	text-decoration: none;
	border-bottom: 1px solid;
}

#nav .button {
	margin-top: 13px;
	line-height: 30px
}

#nav .lang {
	position: absolute;
	right: 0;
	top: 23px;
	overflow: hidden;
	width: 28px;
	height: 22px;
	margin: 0;
	padding: 13px 1px 2px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#nav .lang:hover {
	height: auto;
	padding: 12px 0 1px;
	border: 1px solid #dfecf5;
	background-color: #fff;
	-moz-box-shadow: 1px 1px 0 #a7b8c8;
	-webkit-box-shadow: 1px 1px 0 #000;
	box-shadow: 1px 1px 0 #000;
}

#nav .lang li {
	margin: 0;
	padding: 0;
	list-style: none;
	list-style-image: none;
	text-align: center;
}

#nav .lang a {
	display: block;
	overflow: hidden;
	width: 16px;
	height: 11px;
	margin: 0 auto 7px;
	text-indent: -1000em;
	border: solid 1px #666;
}

#nav .lang a.current { margin-bottom: 14px; }

.lang-en { background: transparent url(../images/flags/en.png) 0 0 no-repeat; }
.lang-pl { background: transparent url(../images/flags/pl.png) 0 0 no-repeat; }
.lang-de { background: transparent url(../images/flags/de.png) 0 0 no-repeat; }
.lang-fr { background: transparent url(../images/flags/fr.png) 0 0 no-repeat; }
.lang-es { background: transparent url(../images/flags/es.png) 0 0 no-repeat; }
.lang-ru { background: transparent url(../images/flags/ru.png) 0 0 no-repeat; }
.lang-pt { background: transparent url(../images/flags/pt.png) 0 0 no-repeat; }
.lang-it { background: transparent url(../images/flags/it.png) 0 0 no-repeat; }
.lang-tr { background: transparent url(../images/flags/tr.png) 0 0 no-repeat; }
.lang-hu { background: transparent url(../images/flags/hu.png) 0 0 no-repeat; }
.lang-el { background: transparent url(../images/flags/el.png) 0 0 no-repeat; }
.lang-uk { background: transparent url(../images/flags/uk.png) 0 0 no-repeat; }

/* clearfix */

#content:after,
#select-partner .select:after
{ display: block; height: 0; clear: both; font-size: 0; overflow: hidden; content: ''; }

/* = 2.4 Content
   ------------------------------------------------------------------------*/
   
#content {
	min-height: 480px;
	padding-bottom: 5em
}


#content h2,
#content h3,
#content .header-a {
	clear: both;
	margin-bottom: 16px;
	padding-bottom: 0.25em;
	font-weight: normal;
	line-height: 1.1em;
	border-bottom: 1px solid #3f5e85;
}

#content > h2:first-child,
#content .main > h2:first-child,
#content .side > h2:first-child,
#content .main > h3:first-child,
#content .side > h3:first-child,
#content .header-a:first-child {
	border-bottom: 1px solid #6890ab;	
}

#content h3 { margin-top: 1em; }

#content .side h2,
#content .side h3,
#content .header-a {
	text-align: left;
}

#content .side h3 {
	margin-top: 3em; 
	margin-bottom: 1em;
}

.main ul { clear: both; }

#join-community {
	display: block;
	height: 303px;
}

#content .nomargin,
#content .side .nomargin { margin-top: 0; }

#content .side .sidebar-form .nomargin { margin-top: 1em; }

.content p, .content table,
.content ul, .content ol, .content dl {
	margin-bottom: 1.3em;
}

#content .side .header-b {
	margin: 0;
	border: none;
	color: #4571A2;
	font-size: 1em;
	text-align: center;
	text-transform: uppercase;
	text-shadow: none;
}

.side > div:last-child,
.main > div:last-child,
.main > ul:last-child { border-bottom: none !important; }

/* = 2.5 Sidebar
   ------------------------------------------------------------------------*/


.side .user {
	float: none;
	width: 75px;
	min-height: 7.2em;
	margin-bottom: 0.5em;
	text-align: center;
}

.side .user a { width: 75px; }

.side .user .ico-message {	padding-left: 17px; }

.side .user-alt {
	overflow: hidden;
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid #3f5e85;
	font: 1.05em "Trebuchet MS", Arial, sans-serif;
}

.side .user-alt .user {
	min-height: 0;
	padding: 0;
}

.side .user-alt .user,
.side .user-alt .user a {
	display: block;
	overflow: hidden;
	width: auto;
}

.side .user-alt .user a {
	padding: 5px;
}

.side .user-alt .user img {
	float: left;
}

.side .user-alt .user em {
	float: left;
	width: 157px;
	padding-left: 5px;
	text-align: left;
}

.side ul {
	clear: both; 
	margin-bottom: 1em;
	text-align: left;
	overflow: hidden;
}

.side .menu {
	padding-bottom: 7px;
	padding-left: 12px;
	border-bottom: 1px solid #3F5E85;
}

.side ul li {
	list-style: none;
	list-style-image: none;
	margin: 0 0 8px;
	line-height: 1.3;
}

.side ul.bulleted li {
	margin-left: 20px;
	list-style: url(../i/bullet-red.png) disc;
}

.side ul.tree li {
	margin-left: 20px;
	list-style: url(../i/bullet-expedition-2.gif) disc;
}

.side ul.tree li li {
	list-style: url(../i/bullet-expedition-1.gif) disc;
}

.side ul.degrees {
	
}

.side ul.degrees li {
	margin: 0;
	padding: 0;
}

.side ul.degrees li,
.side ul.degrees li li {
	list-style: none;
}


.side ul.degrees > li {
	padding: 7px 6px;
	margin-bottom: 6px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #0f2347;
	background: rgba(15, 35, 71, 0.5);
}

.side ul.degrees > li > span {
	display: block;
	margin-bottom: 10px;
	padding: 4px 7px;
	background-color: #0f2347;
}

.side ul.degrees > li li {
	margin-left: 7px;
	padding-left: 11px;
	background: transparent url(../i/bullet-expedition.png) 1px 4px no-repeat;
}

.side ul.degrees > li > ul > li {
	margin-bottom: 7px;
	padding-bottom: 9px;
	border-bottom: 1px solid #3f5e85;
}

.side ul.degrees > li > ul > li > ul {
	margin: 0;
	padding-top: 2px;
}

.side ul.degrees > li > ul > li > ul li {
	margin-bottom: 3px;
}

.side ul.degrees > li > span + ul {
	margin: 0;
}

.side ul.degrees > li > span + ul li:last-child {
	margin-bottom: 0;
	padding-bottom: 3px;
	border: none;
}

.side .excerpt { overflow: hidden; }

.side .excerpt em { font-weight: normal; }

.side-list { margin: -0.75em 0 1em; }

.side-list li {
	margin-left: 0;
	padding: .75em 0;
	list-style: none;
/* 	border-bottom: 1px solid #414f6b; */
	border-bottom: 1px solid #3f5e85;	
}

.side-list dt {
	margin-bottom: 0.2em;
	font-weight: bold;
}

.side .base-list li {
	margin: 0 0 10px;
	border: none;
}

.base-list li a {
	display: block;
	padding: 9px 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	text-decoration: none;
}

.base-list li a:hover,
.base-list li a:focus,
.base-list li a:active {
	background-color: #0f2347;
	text-decoration: none;
}

.base-list li a strong {
	font-size: 1.2em;
}

.side .base-list span.country {
	display: block;
	color: #5E6B84;
}

span.country img { vertical-align: middle; }

.base-list li p { margin: 0; }

.side form { clear: both; }

.side form .field {
	float: none;
	width: 240px;
	min-height: inherit;
}

.side form .field input,
.side form .field textarea {
	width: 228px; 
}

.side .inline li {
	margin: 0;
	list-style: none
}

li.more,
span.more {
	display: block;
	clear: both;
	margin: 0;
	padding: 0;
	border: none;
	text-align: right;
	background: none;
}

span.more {
	width: 100%;
	border-top: 1px solid #3F5E85
}

a.more {	
	float: right;
	margin: 0 0 2em;
	background: none;
	color: #fff;
	text-transform: lowercase;
}

a.more-a { margin-top: -1.2em; }

.side .sidebar-form {
	overflow: hidden;
	width: 100%;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #3F5E85;
}

#content .side .sidebar-form label {
	float: left;
	width: 71px;
	padding-right: 7px;
	line-height: 23px;
	text-align: right;
}

#content .side .sidebar-form .field {
	overflow: hidden;
	margin-bottom: 4px;
	width: 100%;
}

#content .side .sidebar-form .field input,
#content .side .sidebar-form .field textarea,
#content .side .sidebar-form .field select {
	float: left;
	width: 150px;
	margin-bottom: 3px;
	border: 1px solid #699db6;
	background: #42648F;
	background: rgba(15, 35, 71, 0.5);
	color: #fff;
}

#content .side .sidebar-form .field input,
#content .side .sidebar-form .field textarea {
	padding: 0.2em 5px;
	line-height: 1.3;
}

#content .side .sidebar-form .field select {
	padding: auto;
	min-width: 162px;
}

#content .side .sidebar-form #expedition_date_from_day,
#content .side .sidebar-form #expedition_date_to_day {
	min-width: 0;
	width: 45px;
}

#content .side .sidebar-form #expedition_date_from_month,
#content .side .sidebar-form #expedition_date_to_month {
	min-width: 0;
	width: 75px;
}

#content .side .sidebar-form #expedition_date_from_year,
#content .side .sidebar-form #expedition_date_to_year {
	min-width: 0;
	width: 42px;
}

.side .sidebar-form .submit {
	float: right;
	margin-right: 1px;
}


/* = 2.6 Footer
   ------------------------------------------------------------------------*/
   
#footer {
	background: transparent url(../i/footer1.jpg) 50% 100% no-repeat;
	clear: both;
	margin-top: -70px;
	padding: 170px 0 18px 0;	
}

#page-404 {
	background-image: url(../i/404.jpg);
}

#page-404 #footer {
	background: none;
}

#footer .col {
	float: left;
}

#footer .navigation {
	width: 240px;
	padding-right: 40px;
}

#footer li {
	list-style: none;
	list-style-image: none;
	margin-left: 0;
}

#footer .blog {
	width: 640px;
	padding-right: 40px;
}


#footer .blog li {
	list-style: none;
}

#footer .blog li .updated {
	padding-right: 10px;
	color: #4571a2;
	font-size: 0.8em;
}

#page-404 #footer .blog li .updated {
	color: #cedcea;
}

#footer h6 {
	margin-bottom: 0.8em;
	font-size: 1.5em;
	font-weight: normal;
	line-height: 1.75em;
	border-bottom: 1px solid #3F5E85;
}

#page-404 #footer h6 {
	border-bottom-color: #6e85a3;
}

#footer li {
	list-style: none;
	margin-bottom: 0.55em;
	padding-left: 10px;
	font-size: 1.1em;
	line-height: 1.5;
}

#footer em,
#footer em span {
	display: block;
	width: 90px;
	height: 17px;
	line-height: 17px;
}

#footer em {
	position: relative;
	top: 1px;
	float: right;
	margin-left: 10px;
	overflow: hidden;
}

#footer em span {
	position: absolute;
	top: 0;
	left: 0;
	background: transparent url(../i/dc-logo-footer.gif) 0 0 no-repeat;
}

#footer .social-media {
	width: 190px;
}

.social-media ul a {
	display: block;
	overflow: hidden;
	width: 79px;
	height: 16px;
	margin: 0 auto 23px;
	background: transparent url(../i/social.png) 0 0 no-repeat;
	text-indent: -1000em;
	opacity: 0.6;
}

.social-media ul a:hover,
.social-media ul a:focus,
.social-media ul a:active {
	opacity: 1;
}

.social-media ul a.social-twitter {
	background-position: 0 -86px;
}

.social-media ul a.social-youtube {
	height: 22px;
	background-position: 0 -41px;
}

#footer label { display: none; }
   
#footer #legal {
	clear: both; 
	margin: 0;
	padding-top: 4em;
	font-size: 0.9em;
	line-height: 17px;
}

#footer #legal * { line-height: 17px; }

#footer #legal img {
	margin-right: 18px; 
	margin-bottom: -4px;
}

   
/* = 3. PARTS
   ------------------------------------------------------------------------*/ 

/* = Box
   ------------------------------------------------------------------------*/
   
.item > a,
.steps > li,
.js .select .item,
.base-list li > a {
	padding: 9px 9px 9px 14px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background: #0f2347;
	background: rgba(15, 35, 71, 0.5);
}

/* = Forms
   ------------------------------------------------------------------------*/

.main form { margin-bottom: 1em; }
   
legend { display: none; }

input, select { font: small/1.5em Tahoma, Arial, sans-serif; }

#content select { max-width: 90%; }

.text {
	height: 22px;
	margin-bottom: 15px;
	padding: 8px 5px 2px;
	font-size: 1.1em;
	font-weight: bold;
	border: none;
}

form .error,
.error_list {
	margin-top: 0.3em;
	padding: 0.5em 0.5em 0.5em 32px;
	font-size: 0.85em;
	background: #000 url(../i/ico-error.gif) 10px 50% no-repeat;
}

.main .error {
	clear: both;
	width: 288px;
	margin: 0 0 2px 145px;
}

.side form .error {
	clear: both;
	padding: 0.25em 0.3em 0.25em 32px;
}

.side form .error li { margin: 0; }

form .captcha .error { clear: both; }

.error li,
.error_list li {
	margin-left: 0;
	list-style: none;
}

.side .error ul { margin: 0; }

.submit,
.button a {
	display: block;
	height: 28px;
}

.submit,
.button {
	clear: both;
	padding: 0;
	color: #fff;
	line-height: 28px;
	border: none;
}

input.submit,
.button-b {
	display: block;
	height: 24px;
	padding: 0 10px 2px;
	background: #711e24 url(../i/dropdown.gif) 0 0 repeat-x;
	line-height: 24px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
	-webkit-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
	box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
	cursor: pointer;
}

span.submit.disabled,
input.submit.disabled {
	background: #4d8e9d;
	cursor: default;
}

input.submit:hover { background-position: 0 -50px; }

input.submit:active {
	position: relative;
	top: 1px;
}

.main div.submit {
 	float: none;
	padding: 0 0 1px 145px;
}

div.submit input.submit {
	float: left;
	margin-right: 10px;
}

.button-b {
	position: relative;
	float: right;
	height: 19px;
	padding-bottom: 0;
	background: #317b8e url(../i/button-a-bg.png) 0 0 repeat-x;
	line-height: 19px;
}

.button-b:hover,
.button-b:focus,
.button-b:active {
	background-position: 0 -18px;
	text-decoration: none;
}

#content .wide select { width: 261px; }

#content .wide span { margin: 0 9px; }

.col .field {
	overflow: hidden;
	width: 100%;
	min-height: 0;
	margin-bottom: 18px;
}

.main .field label {
	float: left;
	width: 135px;
	padding-right: 10px;
	line-height: 28px;
	text-align: right;
}

.main .photo td { padding-bottom: 5px; }

.main .photo th {
	width: 75px;
	padding-bottom: 5px;
	text-align: left;
	font-weight: normal; 
}

#content .wide { width: 100%; }

#content .textarea {
	width: 600px; 
	margin: 0 0 0.5em;	
}
#content .textarea textarea{
	resize: vertical;
}

#content form .first { width: 291px; }

#content form .odd { clear: none; }

#content .field input,
#content .field textarea {
	margin-bottom: 2px;
	padding: 0.35em 5px;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 1em;
	color: #fff;
	line-height: 1.5em;
	border: 1px solid #b0bed0;
	background-color: #0f2347;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

.main .field input,
.main .field textarea {
	width: 314px;
}

#content .field textarea {
	overflow: auto;
	line-height: 1.5em;
}
#content .field textarea span { color: #147d9a; }

#content .field .help {
	font-style: italic;
	color: #8FADBF;
}

.main .gps{
	position: relative;
}
.main .gps input {
	float: none;
	margin-right: 2px;
}
.main .gps .get-from-device{
	position: absolute;
	top: 0;
	right: 325px;
}

.main .gps #expedition_gps_e_0 {
	margin-top: 10px;
	margin-left: 145px;
}
.main .gps #diver_base_gps_e_0 {
	margin-top: 10px;
	margin-left: 145px;
}
.main .gps #diving_gps_e_0 {
	margin-top: 10px;
	margin-left: 145px;
}

#content .field input:focus,
textarea:focus {
	border-color: #fff;
	outline: none;
}

#content div.checkbox {
	width: auto;
	padding-left: 140px;
}

#content div.checkbox label {
	width: 93%;
	line-height: 19px;
	text-align: left;
}

#content form.diverbase-form .checkbox,
#content form .select-image {
	padding-left: 0;
}

#content form.diverbase-form select { width: 325px; }

#content form .select-image .checkbox input { margin-left: 0; }

#content form .select-image img {
	display: block;
	margin-bottom: 5px;
}

#content form .select-image label {
	float: left;
	width: 135px;
	text-align: right;
}

#content form .select-image > div { float: left; }

#diver_base_logo_delete { clear: both; }

#content form div.select-image div label {
	width: auto;
	margin-left: 5px;
	text-align: left;	
}

#content .field input.checkbox {
	border: none;
	background: none;
	width: auto;
	height: auto;
}

#content #photo_filepath {
	height: 22px;
	border: 1px solid #fff
}

#content .captcha input,
#profile_captcha {
	float: left;
	width: 169px;
	margin-right: 5px;
}

#phpcaptcha { margin: 1px 7px 0 7px; }

#content .checkbox { clear: left; }

#content .checkbox label {
	float: right;
	width: 90%;
}

#content .checkbox input {
	width: auto; 
	border: none;
}

.alt .checkbox { float: none; }

#recaptcha_widget_div .recaptchatable #recaptcha_response_field {
	width: 132px !important;
	padding: 0.35em 5px !important;
}

#form-login {
	position: relative;
	z-index: 10;
}

#form-login .field input {
	position: relative;
	z-index: 11;
	width: 208px;
	outline: none;
}

#form-login .submit {
	position: relative;
	top: -1.5em;
	margin-left: 63px;
}

#form-login .field label { width: 53px; }

#form-login .field .message { margin-left: 63px; }

#form-login div.checkbox {
	float: left;
	clear: both;
	width: auto;
	margin-left: 63px;
	padding-bottom: 20px;
	padding-left: 0;
}

#form-login .checkbox input {
	margin-left: 0;
}

#content #form-login .checkbox label {
	width: auto;
	margin-left: 10px;
	line-height: 19px;
}

.buttons-a {
	margin: 40px 0;
	text-align: center;
}

.button-a {
	display: inline-block;
	min-width: 120px;
	padding: 0 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: transparent url(../i/button-a-bg.png) 0 0 repeat-x;
	font-size: 1.25em;
	line-height: 2.25;
	text-transform: uppercase;
	-moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
	-webkit-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
	box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.buttons-a .button-a:first-child { margin-right: 90px; }

#form-login #image-login {
	position: absolute;
	right: 0;
	top: 50px;
	z-index: 0;
}

#register { position: relative; }

#image-register {
	position: absolute;
	left: -215px;
	top: 220px;
}

#select-degree .field .field {
	margin-bottom: 0;
	padding-top: 18px;
}

#select-degree select,
#select-degree input {
	display: block;
	margin-bottom: 5px;
}

.related-hidden-elem { display: none; margin: 0; }
.related-trigger-input:checked ~ .related-hidden-elem { display: block; }

/* = Promo banner & rotator
   ------------------------------------------------------------------------*/

#promo { position: relative; }
   
#promo a {
	position: relative;
	display: block;
	overflow: hidden;
}

#promo #add-link{
	position: absolute;
	bottom: 20px;
	left: 35px;
	z-index: 100;
	background-color: #5B9B29;
	padding: 10px;
	padding-left: 20px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #84B563;
}
#promo #add-link a{
	display: inline;
}
#promo img.stamp{
	position: absolute;
	top: -20px;
	left: -20px;
}
#promo #add-link span{
	font-size: 1.2em;
	text-shadow: 1px 1px 1px #333;
	color: #fff;
}
#promo #add-link a:hover{
	text-shadow: 1px 1px 1px #333;
}
#promo a:hover,
#promo a:focus,
#rotator a:hover,
#rotator a:focus {
	text-decoration: none;
}

#promo a p,
#rotator a p {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 568px;
	height: 50px;
	line-height: 50px;
	margin: 0;
	padding: 0 15px;
	background: #000;
	opacity: 0.8;
}

#rotator {
	position: relative;
	z-index: 10;
	width: 800px;
	height: 300px;
	margin-bottom: 2em;
	overflow: hidden;
}

#rotator li { margin-left: 0; list-style: none;}

#rotator li {
	position: absolute;
	top: 0;
	left: 0;
}

#promo .button-a {
	position: absolute;
	left: 50px;
	bottom: 30px;
	z-index: 200;
	text-align: center;
}

.gallery-nav { display: none; }

.excerpt .gallery > a { clear: left; }

.excerpt .gallery.odd > a {
	float: right;
	clear: right;
}

.excerpt .gallery > a > div { overflow: hidden; position: relative; }

/* = Box-Like Items
   ------------------------------------------------------------------------*/
   
.main .excerpt .item {
	display: inline;
	word-wrap: break-word;
}

.item > a {
	float: left;
	display: block;
	width: 367px;
	margin: 0 0 11px;
	-webkit-transition: background-color 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.item.odd > a {
	margin-left: 20px;
}

.item > a:hover,
.item > a:focus {
	background-color: #0f2347;
	text-decoration: none;
}

.item dt,
.item dd {
	float: right;
	width: 256px;
	margin-bottom: .3em;
}

.item dt {
	margin-bottom: 7px;
	font-weight: bold;
	line-height: 1.1em;
}

.item .point { width: 136px; }

.item dd.photo {
	overflow: hidden;
	float: left;
	width: 102px;
	height: 102px;
	margin-bottom: 0;
}

.item dd.photo img {
	border: 1px solid #8ea0b7;
}

.item dd.posted {
	margin: 0;
	color: #5E6B84;
	text-align: left;
}

/* = Activity & Comments Lists
   ------------------------------------------------------------------------*/
   
.activity { overflow: hidden; }

.activity li {
	clear: both;
	margin-bottom: 1em;
	margin-left: 0;
	list-style: none;
	overflow: hidden;
}

.activity li.loaded { display: none; }

.activity li:hover { opacity: 1; }

.activity .user {
	width: 120px;
	min-height: 30px;
	background: transparent url(../i/pointer.png) 100% 25px no-repeat;
}

.sent .user { background: none; }

.activity .user a { margin: 0; }

.activity p { margin-bottom: 0; }

.activity .details {
	overflow: hidden;
	clear: both;
	width: 645px;
	margin-top: 10px;
	margin-left: -20px;
	padding: 5px 15px 5px 20px;
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-radius: 0 0 5px 5px;
	background-color: #0f2347;
	font-size: 0.9em;
	text-align: right;
	text-shadow: none;
}

.message-view .details {
	width: 510px;
	background: none;
}

.activity .details a { margin-left: 5px; }

.activity .details a.delete {
	display: inline-block;
	position: absolute;
	right: 15px;
	top: 10px;
	overflow: hidden;
	width: 14px;
	height: 14px;
	margin-left: 5px;
	padding: 0;
	background-position: 0 0;
	text-indent: 1000em;
}

.message-view .details a.delete {
	right: 15px;
	top: 16px;
}

.activity .details .date {
	float: left;
	color: #5E6B84;
}

#content .navigation {
	overflow: hidden;
	margin-bottom: 2em;
	padding: 15px 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #1b4075;
	background: rgba(27, 64, 117, 0.8);
}

#content .navigation li {
	float: left;
	height: 1em;
	margin-left: 20px;
	padding: 0;
	line-height: 1;
	vertical-align: middle;
	list-style-position: inside
}

.navigation .active a { color: #ffd200; }

.navigation .disabled a { cursor: default; }

.mailbox-received li .body {
	background: #0f2347;
}

.mailbox-received li.unread .body { background-color: #3991a9; }

.mailbox-received .body .details { background: none; }

.mailbox-received li.unread .user { background-image: url(../i/pointer-unread.png); }

.unread .details .date { color: #115b78; }


/* = Friends & Contacts
   ------------------------------------------------------------------------*/
   
.friends .item {
	float: left;
	display: block;
	width: 270px;
	margin: 0 0 5px;
	padding: 9px;
}

#invite-friend-button{
	margin-top: 20px;
	margin-bottom: 20px;
}
#invite-friend-button img{
	margin: 0 auto;
	display: block;
}

.js .select {
	overflow: hidden;
	margin-bottom: 1em;
}

.js .select .item {
	float: left;
	width: 307px;
	margin-bottom: 11px;
	cursor: pointer;
}

.js .select .odd { margin-left: 11px; }

.js .select .selected {
	background-color: #0f2347;
	text-decoration: none;
}

.js .select .check { display: none; }

.friends .item dt,
.friends .item dd {
	width: 198px;
}

.js .select .item dd.photo { clear: none; }
.js .select .item dd.photo img { width: 100px; }

#select-partner .select  { border-bottom: none; overflow: visible; }
#select-partner .select li { list-style-image: none }
#select-partner .item { width: 129px; min-height: 105px; margin: 0 10px 10px 0; }
#select-partner .item:nth-child(5n+1) { clear: both; }
#select-partner .item:nth-child(5n) { margin-right: 0 }
#select-partner .item .photo img { display: block; width: 60px; height: 60px; margin: 0 auto; border: 1px solid #8EA0B7 }
#select-partner .item strong { display: block; }
#select-partner .loader,
#select-partner .selected { position: relative; }
#select-partner .selected:after { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; content: url(../i/ico-alert-yes.png); }
#select-partner .loader:after { position: absolute; top: 0; right: 0; width: 16px; height: 16px; content: url(../i/ajax-loader-more-comments.gif); }
#select-partner .clear { display: block; width: 100%; height: 0; clear: both; margin: 0; padding: 0; font-size: 0; background: none; overflow: hidden; }

.friends .item dt {
	margin-bottom: 0.7em; 
	padding-top: 2px;
}

.friends .item dd.photo {
	width: 62px;
	height: 62px;
}

.friends .item > a dd.photo {
	width: 62px;
	height: 62px;
}

.friends .item > a dd.photo img {
	padding: 0;
	border: 1px solid #8EA0B7;
}

.friends .item dd.photo a { display: block; }

.friends .item dd.photo a:hover img,
.friends .item dd.photo a:focus img {
	padding: 0;
	border: 1px solid #fff;
}

.friends .item > a {
	float: none;
	overflow: hidden;
	width: auto;
	margin: 0;
	padding: 5px;
	background: #0f2347;
	background: rgba(15, 35, 71, 0.5);
	border: none;
}

.friends .item > a:hover,
.friends .item > a:focus {
	background-color: #0f2347;
}

.friends .item .ico-message,
.friends .item .delete,
.friends .item .favorite {
	padding-left: 20px;
}

.col .friends label {
	display: inline;
	margin-left: 5px;
}

.field li {
	margin-left: 0;
	list-style: none;
}

.field li input,
.field li textarea {
	width: 228px;
	margin-bottom: 15px;
}

.side div.submit { float: left; }

.side span.submit { margin-left: 0; }

.contact li {
	float: left;
	width: 280px;
	margin-bottom: 1.5em;
}

.contact li dl { padding-right: 20px; }

.contact li dt {
	margin-bottom: 0.3em;
	font-weight: bold;
}

.friends-list li .positive{
	float: left;
	margin: 10px 0;
}
.friends-list li .negative{
	width: 24px;
	padding: 0;
	text-indent: -10000em;
	position: absolute;
	top: 0px;
	right: 0px;
}


.friends-list li > a {
	width: 238px;
	margin: 0 0 10px 16px !important;
	padding: 9px;
	position: relative;
}

.friends-list li.odd > a {
	clear: both;
	margin-left: 0 !important;
}

.friends-list li > a dt,
.friends-list li > a dd {
	width: 125px;
	margin-bottom: 0;
}

.friends-list li > a dt {
	margin-bottom: 2px;
	line-height: 1.3em;
}

.friends-list li > a dd.photo {
	width: 102px;
	height: 102px;
}

.friends-list li > a dd.nick {
	font-style: italic;
}

.diverbase-list li.item > a {
	position: relative;
	clear: left;
}

.diverbase-list li.odd.item > a { clear: none; }

.diverbase-list li > a dt,
.diverbase-list li > a dd {
	width: 291px;
}

.diverbase-list li > a dd.photo {
	width: 62px;
	height: 62px;
}

.diverbase-list li > a dd.photo img {
	display: block;
	width: 60px;
	height: 60px;
}

dd.country img { vertical-align: middle; }


/* = Messages
   ------------------------------------------------------------------------*/
   
.message-menu li {
	margin-left: 0;
	list-style: none 
}

.send-message .field {
	width: auto; 
	margin: 0 0 1em;
}

.send-message .field label { width: 110px; }

.send-message div.submit { padding-left: 0; }

.send-message .field input,
.send-message .field textarea {
	width: 467px;
}
#message_body{
	width: 547px;
	margin: 0 auto;
	display: block;
}
.new-message #message_body{
	width: 668px;
}

#messge-reply .field { width: auto; }

#messge-reply textarea { width: 523px; }

.send-message textarea,
.send-message div.submit {
	margin-left: 120px;
}

.message-to .field label { width: 70px; }

.message-to textarea, .message-to div.submit { margin-left: 80px; }

.reply-msg .user { margin-top: 4px; }


/* = Expeditions
   ------------------------------------------------------------------------*/   
      
.expeditions { overflow: hidden; }

.expeditions li {
	margin-bottom: 1.75em;
	list-style: none;
	list-style-image: none;
	text-align: center;
	background-color: #244F87;
	border: 1px solid #6c85b3
}

.expeditions li dl { padding-bottom: 0.5em; }

.expeditions li dt {
	margin-bottom: 0.4em;
	padding: 0.4em 1em 0.4em 3em;
	text-align: left;
	background: #073868 url(../i/ico-next.png) 10px 50% no-repeat;
}

.expeditions li dd { padding: 0.3em 0.5em 0.5em; }

.expeditions li a { display: block; }

.expeditions li a:hover,
.expeditions li a:focus {
	text-decoration: none;
	background-color: #2c63ad;
}

#map-wrap { margin-top: 1em; }

#map-form div.submit {
	margin-top: 1.5em;
	padding-left: 0;
}

#map-form > .field,
#map-form > input.submit {
	float: left;
	clear: none;
	width: auto;
	margin-right: 10px;
}

#map-form #map_wrap { clear: both; }

#maps_search { margin-bottom: 1em; }

.radio-buttons li {
	overflow: hidden;
	line-height: 2em;
}

.radio-buttons input,
.radio-buttons label,
.radio-buttons label a {
	float: left;
	margin: 0 0.3em;
}

.radio-buttons input {
	width: auto;
	margin-top: 0.5em;
}

.radio-buttons ul { margin-bottom: 1em; }
.radio-buttons div.submit { padding-left: 20px; }
.radio-buttons .submit input { margin: 0; }

.main .list-a li.item {
	display: block;
	position: relative;
}

.list-a li { list-style-image: none; }

.list-a li > a {
	position: relative;	
	float: none;
	overflow: hidden;
	width: 775px;
	min-height: 60px;
	margin: 0 0 11px;
}

.list-a li > a dl {
	float: left;
	width: 343px;
}

.list-a li > a dt,
.list-a li > a dd {
	float: right;
	width: 270px;
}

.list-a li > a dt img { margin-bottom: -1px; }

.list-a li > a dd.photo {
	width: 62px;
	height: 62px;
}

.list-a li > a dd.date span:first-child {
	float: left;
	min-width: 45px;
	padding-right: 10px;
	color: #699DB6;
	font-size: 0.9em;
	text-align: right;
	text-transform: lowercase;	
}

.list-a li div.photos a,
.list-a li div.photos > img {
	display: inline;
	margin-left: 10px;
}

.list-a li div.photos img {
	width: 60px;
	margin-left: 10px;
	border: 1px solid #8EA0B7;
}

.list-a li a > div.photos,
.list-log-book li dd.logo {
	position: absolute;
	right: 18px;
	top: 9px;
	overflow: hidden;
	height: 62px;
	text-align: right;
}

.list-log-book .partner-more-info{ display: none; }

.expeditions-planned-list li > a dt,
.expeditions-planned-list li > a dd {
	float: none;
	width: auto;
}

.expeditions-front li > a dt,
.expeditions-front li > a dd {
	float: none;
	width: auto;
}
.expeditions-front .item > a{
	width: 277px;
}

.list-b {
	list-style: none;
}

.list-b li {
	margin-left: 0;
	padding-left: 11px;
	background: transparent url(../i/list-b-bullet.png) 0 6px no-repeat;
}

/* = Info (table-style)
   ------------------------------------------------------------------------*/
   
.info,
.side .vcard {
	clear: both;
	width: 100%;
	margin: 0 0 1em 1px;
}

.side table.vcard { margin-left: 0; }

.side .vcard dt,
.side .vcard dd,
.info th, 
.info td {
	padding: 0.3em 0.5em;
	background-color: #244f87;
	border-bottom: 1px solid #7b92b2;
}

.side .vcard dt,
.side .vcard dd {
	border: 1px solid #7b92b2;
	border-width: 0 1px 1px 1px;
}

.side .vcard .emergency {
	padding: .7em 0;
	text-align: center;
}

.side .vcard .img {
	background: none;
	border-width: 0 0 1px 0;
	text-align: center;
}

.info th {
	width: 45%;
	color: #a1bde7;
	font-weight: normal;
	text-align: left;
	border-right: none;
}

.info td { border-left: none; }

.info {
	width: 680px;
	margin: 0;
	background-color: #244f87;
	border: 1px solid #7b92b2;
	border-bottom-width: 0;
	overflow: hidden;
}

.main .info th { width: 20%; }

.side .info { width: 100%; }


/* = Galleries
   ------------------------------------------------------------------------*/
   
#gallery-view {
	float: left;
	width: 400px;
}

#gallery-nav {
	clear: none;
	width: 190px;
}

#gallery-nav li {
	margin: 0 0 0.2em 0;
	list-style: none;
}

#gallery-nav li a {
	display: block;
	padding: 0.5em;
	background-color: #244f87;
	border: 1px solid #526d90;
	-moz-border-radius: 1px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

#gallery-photo .icon-photo { float: right; }

#gallery-photo .photo-details {
	overflow: hidden;
	width: 100%;
	margin-bottom: 10px;
	padding: 0.25em 0;
	border-bottom: 1px solid #3f5d84;
	color: #537199;
}

#gallery-photo .photo-details span {
	float: right;
}

#gallery-photo .photo-details .published {
	float: left;
}

#photos {
	overflow: hidden;
	width: 100%;
	padding-bottom: 5px;
	border-bottom: 1px solid #3F5D84;
}

#photos > a,
#videos > a {
	float: left;
	width: 102px;
	margin: 0 13px 13px 0;
}

#photos > a:nth-child(7n),
#videos > a:nth-child(7n) {
	margin-right: 0;
}
#photos > a.nth7n,
#videos > a.nth7n {
	margin-right: 0;
}

#photos > a img,
#videos > a img {
	display: block;
	border: 1px solid #7393ac;
}

#videos > a,
.videos-list .photo {
	position: relative;
}

#videos > a span,
.videos-list .photo span {
	position: absolute;
	left: 50%;
	top: 50%;
	overflow: hidden;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	background: transparent url(../i/play.png) 50% 50% no-repeat;
	text-indent: -1000em;
}

.videos-list .item > a { clear: left; }
.videos-list .item.odd > a { clear: none; }
.videos-list .item dd.photo { height: 77px; }

#photo {
	position: relative;
	margin-bottom: 1.5em;
	text-align: center;
	background: transparent url(../i/ajax-loader-photo.gif) 50% 50% no-repeat;
	overflow: hidden;
}

#photo .prev,
#photo .next {
	display: block;
	position: absolute;
	top: 50%;
	overflow: hidden;
	width: 27px;
	height: 27px;
	margin-top: -15px;
	background: transparent url(../i/gallery-prev-next.png) 0 0 no-repeat;
	text-indent: -1000em;
	opacity: 0.7;
}

#photo .prev:hover,
#photo .prev:focus,
#photo .next:hover,
#photo .next:focus,
#photo .hover {
	opacity: 1;
	text-decoration: none;
}

#photo .prev { left: 0; }

#photo .next {
	right: 0;
	background-position: -33px;
}

#prev-photo,
#next-photo {
	display: block;
	position: absolute;
	top: 0;
}

.photo-description {
	clear: both;
	margin-bottom: 0.6em;
	padding-bottom: 10px;
	border-bottom: 1px solid #3F5D84;
}

a.all-photos {
	color: #fff;
	margin-top: -0.5em;
}

#photo * { margin: 0; padding: 0; }

#photo a:hover,
#photo a:focus,
#photo a:active {
	text-decoration: none;
}

.galleries > a img { border: 1px solid #8ea0b7; }

.video-player iframe,
.video-player object {
	display: block;
	margin: 0 auto 15px;
}

/* = Comments
   ------------------------------------------------------------------------*/
   
form.comments { margin-bottom: 2em; }

.main form.comments textarea { width: 548px; }

.comments .field {
	width: 560px;
	margin: 0 0 1em; 
}

.user.comments,
.comments .user {
	width: 110px;
	padding-right: 10px;
}

.comments li { list-style: none; }

.activity .body {
	display: block;
	position: relative;
	float: left;
	width: 650px;
	margin-top: 5px;
	padding: 12px 10px 0 20px;
	background-color: #0f2347;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.activity .body h4 {
	width: 605px;
	word-wrap: break-word;
}

.activity .body p {
	word-wrap: break-word;
}

.message-buttons { width: 680px; height: 20px; padding: 10px 0; float: right; }
.message-buttons .button-reply { float: left; }
.message-view .body {
	width: 605px;
	padding-right: 40px;
	padding-left: 35px;
	padding-bottom: 10px;
	word-wrap: break-word;
}

.mailbox-received .body .quote,
.message-view .body .quote{
	color: #45546F;
}

.comments .body {
	width: 630px;
	padding-right: 30px;
}

.comments .reply-author{
	color: #3891A8;
}

.notify .body {
	min-height: 45px;
	padding-bottom: 10px;
}

.notify .body a { font-weight: bold; }

.notify .body a:hover,
.notify .body a:focus {
	text-decoration: none; 
	border-bottom: 1px solid;
}

.notify .user-alt { padding-top: 5px; }

.notify .user-alt .user {
	margin-top: -5px;
	background-position: 100% 45px;
}

.notify .user-alt .user dt, 
.notify .user-alt .user dd {
	float: none;
	width: 110px; 
}

.notify .user-alt .user dt {
	width: 106px;
	padding: 0 2px;
}

.notify .user-alt .user dd.photo {
	float: none;
	width: auto;
}

.notify .user-alt .user dd.photo img {
	margin: 3px auto;
}

.comments span.submit { clear: both; }

.comments .details .flag { float: left; margin-left: 0; }

.details .replies {
	position: absolute;
	left: 6px;
	top: 17px;
}

.message-view .details .replies {
	left: 8px;
	top: 16px;
}

.comments .details .delete { margin: 0; }

.comments .date {
	float: left;
	color: #5E6B84;
	margin-right: 5px;
}

.activity li.last-on-page {
	padding-bottom: 1.2em;
	border-bottom: solid 1px #0F2347;
}

.get-more {
	width: 800px;
	margin-top: -1.5em;
	text-align: center;	
}

.get-more a {
	padding-left: 25px;
	background: none;
	color: #4571A2;
}

.get-more a:hover,
.get-more a:focus {
	color: #fff;
	text-decoration: none;
}

.get-more a.loading { background: url(../i/ajax-loader-more-comments.gif) 0 50% no-repeat; }

#reply { display: none; }

/* = Language Select
   ------------------------------------------------------------------------*/
   
.js #language_form {
	position: relative; 
	margin: 20px 0 30px;
}

.js #language_form fieldset {
	position: relative;
	height: 2.4em;
}
   
.js #language_form input { display: none; }
   
#footer #language-select {
	position: absolute;
	bottom: 0;
	right: 75px;
	float: right;
	display: block;
	width: 10em;
	background-color: #fff;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

#language-select li {
	display: block;
	margin-left: 0;
	padding: .3em .4em .3em 35px;
	list-style: none;
	text-align: left;
	background-color: #838ca1;
	background-position: 8px 50%;
	background-repeat: no-repeat;
	border-bottom: 1px solid #000;
	cursor: pointer;
}

#language-select li:first-child {
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;	
}

#language-select li:last-child {
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-bottomright: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;	
}

#language-select li.hover { background-color: #afb6c5; }

#language-select #en { background-image: url(../i/ico-flag-en.gif); }
#language-select #fr { background-image: url(../i/ico-flag-fr.gif); }
#language-select #de { background-image: url(../i/ico-flag-de.gif); }
#language-select #pl { background-image: url(../i/ico-flag-pl.gif); }

#language-select span { display: block; }

#language-select li.last span { background: transparent url(../i/ico-language-select.gif) 99% 50% no-repeat; }

#language-select .selected {
	color: #000;
	background-color: transparent;
	border-bottom: none;
}

#language-select li:active { color: #882726; }

/* = User profile
   ------------------------------------------------------------------------*/
   
.user {
	float: left;
	width: 120px;
	padding-bottom: 0.4em;
	text-align: center;
}

.user > a {
	display: block;
	width: 110px;
	padding: 5px 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	line-height: 1.2em;
	text-align: center;
	-webkit-transition: background-color 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.user > a:hover,
.user > a:focus {
	background-color: #0f2347;
	text-decoration: none;
}

.user em {
	display: block; 
	font-weight: normal;
	word-wrap: break-word;
}

.side .user-alt .user a {
	text-align: left;
}

.side .user-alt .user a img {
	margin-right: 5px;
}

.user-alt .user dl {
	overflow: hidden;
}

.user-alt .user dt,
.user-alt .user dd {
	float: right;
	width: 219px;
}

.user-alt .user dd.photo {
	float: left;
	width: 60px;
	height: 60px;
}

.user-alt .user dd.photo img {
	display: block;
	float: none;
	margin: 0;
}

.user-alt .user dd.nick {
	font-style: italic;
}

.user .country { margin-top: 5px; }

.user .country img { width: auto; height: auto; }

.user .photo{
	width: 60px;
	height: 60px;
	margin: 1px auto;
	border: 1px solid #8EA0B7; 
	position: relative;	
}

.user .photo .online{
	position: absolute; 
	bottom: 0; 
	left: 0;
	margin: 0;
}

.excerpt li.user { margin-bottom: 0; }

.latest-friends li.user {
	margin-right: 1px;	
}

.latest-friends li.user,
.latest-friends li.user a {
	width: 87px;
}

.main .excerpt {
	overflow: hidden;
	margin-bottom: 16px;
	padding-bottom: 4px;
	border-bottom: 1px solid #3F5E85;
}

.main .excerpt li.user,
.side li.user { float: left }

.side .user-profile {
	width: auto;
	padding: 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #0f2347;
	background: rgba(15, 35, 71, 0.6);
}

.side .user-profile th,
.side .user-profile td {
	padding-top: 2px;
	padding-bottom: 2px;
}

.side .user-profile td.fn span {
	display: block;
	word-wrap: break-word;
}

.user-profile tbody td[colspan] {
	width: 209px;
}

.user-profile tbody th {
	padding-right: 8px;
	color: #5e6b84;
	font-size: 0.9em;
	font-weight: normal;
	text-align: right;
}

.user-profile tbody tr.emergency td {
	padding-top: 7px;
	padding-bottom: 7px;
	border: 1px solid #394c6c;
	border-width: 1px 0;
}

.user-profile table {
	width: 269px;
	margin-bottom: 10px;
}

.user-profile tbody th { width: 55px; }

.user-profile tbody td,
.user-profile tbody td > span { width: 180px; }

.user-profile tbody td.limit > span {
	display: block;
	position: relative;
}

.user-profile tbody td.limit > span > span + span {
	position: absolute;
	left: -999px;
	top: 0;
	width: auto;
}

/*
.user-profile tbody td.limit > .ellipsis:after {
	position: absolute;
	right: 5px;
	top: 0;
	content: "…";
}
*/

/* .user-profile tbody td.limit > span.ellipsis:hover:after { content: ""; } */

.user-profile tbody td.limit > span.ellipsis:hover > span:first-child { display: none; }
.user-profile table tbody td.limit > span.ellipsis:hover > span + span { position: static; }

.user-profile .user-avatar {
	display: block;
	text-align: center;
}

.user-profile th img,
.user-profile .user-avatar img {
	border: 1px solid #8ea0b7;
}

.user-profile thead th { text-align: center; }

.user-profile a.add-avatar {
	display: block;
	width: 100px;
	height: 100px;
	margin: 0 auto 5px;
	background: transparent url(../images/avatar/med/default.png) 0 0 no-repeat;
	color: #0F2347;
	line-height: 100px;
	text-align: center;
}

.user-profile a.add-avatar:hover, 
.user-profile a.add-avatar:focus,
.user-profile a.add-avatar:active {
	text-decoration: none;
}

/* = System Messages
   ------------------------------------------------------------------------*/
   
.msg {
	margin: 2em 0;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #7d98ca;
	background-color: rgba(15, 35, 71, 0.5);
}

.msg p {
	margin: 0;
	padding: 1em 1em 1em 55px;
	background-position: 15px 50%;
	background-repeat: no-repeat;
}

.main .msg { margin-top: 0; }

.msg_success p { background-image: url(../i/ico-alert-yes.png); }

.msg_notice p { background-image: url(../i/ico-alert-info.png); }

.msg_error p { background-image: url(../i/ico-alert-no.png); }

.msg_unread_message p { background-image: url(../i/ico-alert-mail.png); }

.msg a:link,
.msg a:visited {
	color: #fff;
}

.msg span.submit { float: right; }


/* = Pager
   ------------------------------------------------------------------------*/
   
.pager {
	clear: both;
	width: 100%;
	text-align: center;
}

.pager a,
.pager span {
	display: inline-block;
	padding: 0.1em 0.5em;
	border: 1px solid #26426a;
	background-color: #0F2347;
}

.pager span{
	background: none; 
	border-color: #1a2f4c;
	border-width: 0;
}

.pager a:hover,
.pager a:focus{
	background-color: #153059;
	text-decoration: none;
}

/* = Diver Base 
   ------------------------------------------------------------------------*/
   
.base {
	overflow: hidden;
	width: 100%;
	margin-bottom: 15px;
}

.base-details {
	display: table;
	width: 100%;
}

.base .logo,
.base .about {
	display: table-cell;
	vertical-align: top;
}

.base > a.nyroModal:first-child {
	float: left;
}

.base .logo a img {
	float: left;
	max-width: 200px;
	margin-right: 40px;
	border: 1px solid #70aec1;
}

.base .map-container {
	float: left;
	width: 220px;
}

.base .map-container #map_wrap {
	width: 200px;
	margin-bottom: 0;
}

.base table {
	float: left;
	clear: none;
	width: 100%;
	border: none;
	background: none;
}

.base table th,
.base table td {
	border: none;
	background: none;
}

.base table th { text-align: right; }

.vevent td.location img, 
.base table .country-name img {
	margin: 4px 4px 0 0;
}

table.vevent { width: 580px; }

.th-colon th:after { content: ':' }

.base table ul li {
	list-style: none;
	list-style-image: none;
	margin-left: 0;
}

.base .desc {
	clear: both;
	padding-top: 15px;
	border-bottom: 1px solid #3F5E85;
}

/* = Social icons
   ------------------------------------------------------------------------*/
   
.social-min {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#promo .social-min {
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 100;
}

.social-min li {
	display: inline;
	margin: 0;
	background: none;
}

.social-min li a {
	display: block;
	overflow: hidden;
	float: left;
	width: 22px;
	height: 22px;
	background: transparent url(../i/social-media-min.png) 0 0 no-repeat;
	text-indent: -1000em;
	opacity: 0.8;
}

.social-min li a.twitter {
	margin-left: 8px;
	background-position: -30px 0;	
}

.social-min li a:hover,
.social-min li a:focus,
.social-min li a:active {
	opacity: 1;
}

#promo .benefits{
	position: absolute;
	top: 100px;
	left: 30px;
	z-index: 100;
}

/* = Other
   ------------------------------------------------------------------------*/
   
#content-404 {
	position: absolute;
	left: 50%;
	top: 300px;
	width: 460px;
	min-height: 200px;
	margin: 0 0 0 -205px;
}

#content-404 h2 {
	border: none;
	font: 2.9em Arial, sans-serif;
}

#content-404 p {
	font-size: 1.1em;
}

#content-404 a {
	font-weight: bold;
}

.content-image {
	margin: 30px 0;
	text-align: center;
}
.content-image a{
	margin-bottom: 5px;
	display: block;
}

#map_wrap{
/* 	width: 1150px; */
	height: 450px;
	margin-bottom: 1.5em;
	color: #222222;
}
#map_wrap.min{
	width: 800px;
	height: 200px;
	margin-top: 1em;
}

.ui-helper-hidden-accessible {
	position: absolute;
	left: -1000em;
	top: -1000em;
}

.asmContainer + div.help { padding-left: 145px; }

/* = Promote
   ------------------------------------------------------------------------*/
   
.promote {
	overflow: hidden;
	width: 650px;
	margin-bottom: 25px;
	padding: 15px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	background: #0f2347;
	background-color: rgba(15, 35, 71, 0.5);
}

.promote dd.code {
	width: 395px;
	padding: 8px 20px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #0f2347;
	line-height: 1.35;
}

.promote dd.image {
	width: 200px;
	text-align: center;
}

.promote dd.abs-46 {
	position: relative;
	min-height: 100px;
}

.promote dd.abs-46 img {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -21px 0 0 -23px;
}

.promote-a dt,
.promote-a dd {
	float: right;
	width: 435px;
	font-size: 13px;
}

.promote dt {
	padding: 5px 0;
}

.promote-a dd.image {
	float: left;
}

.promote-b dd.code {
	width: 610px;
}

.promote-b dd.image {
	width: 100%;
	padding-bottom: 10px;
	text-align: center;
}

h3.header-a{
	padding-right: 210px;
	position: relative; 
}
.like_buttons{
	position: absolute;
	right: 0;
	top: 0;
}
h3.header-a .fb_share,
div.main h3 .fb_share{
	float: right;
}

/* = Table Log
   ------------------------------------------------------------------------*/
   
div.table-a {
	margin-bottom: 15px;
	padding: 9px 14px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #0f2347;
	background: rgba(15, 35, 71, 0.5);
}

.main .table-a { width: 772px; }

.table-a table { width: 100%; }

.table-a td,
.table-a th {
	padding: 6px 10px;
}

.table-a tbody td,
.table-a tbody th {
	-moz-transition: background-color 0.15s ease-out;
	-webkit-transition: background-color 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.table-a tr:hover td, 
.table-a tr:hover th { cursor: pointer; }

.table-a tr:hover td,
.table-a tr:hover th { background-color: #0f2346; }

.table-a tr a:hover,
.table-a tr a:focus,
.table-a tr a:active {
	text-decoration: none;
}

.table-a .date {
	min-width: 76px;
	padding-right: 14px;
	text-align: right;
}

/*
	expeditions
*/

.expeditions .owner {
	min-width: 233px;
	padding-left: 12px;
}
	
.expeditions .place { min-width: 272px; }


.ui-datepicker-trigger{
	cursor: pointer;
	vertical-align: middle;
	margin-left: 3px;
}

.table-a tbody.friends-exp tr:first-child td { border-top: 1px solid #436281; }


/*
	log book
*/


.log-book .index {
	min-width: 23px;
	padding-left: 12px;
}
.log-book .public {
	width: 14px;
}

.log-book .index a {
	padding: 3px 4px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #8c2826;
}

.log-book .index a span {
	font-size: 0.85em;
}

.log-book .deph { min-width: 27px; }

.log-book .time {
	background: none;
	text-align: right;	
}

.log-book .temp { text-align: right; }

.log-book .place { padding-left: 20px; }

.log-book .date { min-width: 125px; }


/*
	log book list
*/

.list-log-book .item > a {
	position: relative;
	width: 711px;
	padding-left: 80px;
}

.list-log-book .index {
	position: absolute;
	left: 25px;
	top: 50%;
	margin-top: -0.75em;
	padding: 0.25em 0.3em;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	background-color: #9b2122;
	font-size: 21px;
	text-align: center;
}

.list-log-book  .index span {
	font-size: 0.85em;
}

.list-log-book li > a > dl {
	width: 678px;
	padding-left: 16px;
	border-left: 1px solid #2a577b;
}

.list-log-book li > a dt {
	float: left;
	width: 100%;
}

.list-log-book li > a dd {
	float: left;
	width: auto;
	margin-right: 15px;
}

.list-log-book dt {
	margin-bottom: 16px;
	font-size: 1.23em;
}

.list-log-book dd {
	color: #87a3b4;
	font-size: 12px;
}

.list-log-book dd em {
	color: #fff;
}

.list-log-book li dd.logo {
	width: 60px;
	height: 60px;
	margin: 0;
	border: 1px solid #8EA0B7;
}


/* = Steps
   ------------------------------------------------------------------------*/
   
.steps { list-style: none; }
   
.steps > li {
	position: relative;
	overflow: hidden;
	margin-bottom: 10px;
}

.steps > li.current {
	background-color: #0f2347;
}

.steps > li .index {
	position: absolute;
	top: 50%;
	left: 10px;
	width: 28px;
	height: 2em;
	margin-top: -0.4em;
	font-size: 2em;
}

.steps > li ul {
	float: right;
	clear: none;
	width: 258px;
	margin: 0;
}

/*
.steps > li ul li {
	list-style: disc outside;
	margin: 0 0 0 14px;
}
*/

#add_few_next_button{
	display: none;
	float: right;
}

/* = Partners
   ------------------------------------------------------------------------*/
   
ul.partners li {
	list-style: none;
	overflow: hidden;
	width: 100%;
	margin: 0 0 20px;
	border-bottom: 1px solid #3F5E85;
}

ul.partners li:last-child { border-bottom: none; }

ul.partners li dt,
ul.partners li dd {
	float: right;
	width: 500px;
	margin-bottom: 15px;
}

ul.partners li dt { font-size: 1.5em; }

ul.partners li dd.logo {
	float: left;
	width: 150px;
}

ul.partners li dd.link { text-align: right; }

.suggest_degree{
	margin-top: 120px;
}

#form_rate .describing{
	color: #537199;
}
#form_rate #container_rate_value{
	float: left;
}
#form_rate #container_rate_value img{
	vertical-align: middle;
}

#confirm_email{
	display: none;
	position: absolute;
	background-color: #012B5D;
	top: 0; 
	width: 640px;
	padding: 20px;
}
#confirm_email #value_email{
	font-size: 1.4em;
	text-align: center;
	letter-spacing: 0.1em;
	margin-bottom: 60px;
	margin-top: 30px;
}
#confirm_email input.submit{
	float: right; 
}
#confirm_email .button-b{
	float: none;
	display: inline;
}
#confirm_email #correct_button{
	height: 24px;
	padding:0 10px 2px;
	line-height:24px;
}

.vote-box,
#vote{
	clear: both;
	margin: o auto;
	margin: 20px 0;
}
.vote-box .vote-link,
#vote #vote_link{
	float: left;
	display: block;
	line-height: 24px;
	height: 24px;
	margin-right: 10px;
}
.vote-box .vote-link img,
#vote #vote_link img{
	vertical-align: middle;
}
.vote-box .result-vote,
#result_vote{
	clear: both;
	margin-top: 10px;
}
.vote-box .info-vote .describing,
#info_vote .describing{
	color: #537199;
}

#top_rated{
	background: #07274C;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	position: relative;
	z-index: 1;	
	min-height: 320px;
}
#top_rated .image-left{
	position: absolute;
	top: -8px;
	left: -9px;
	z-index: -1;
}
#top_rated .inner{
	padding: 10px 10px 15px 155px;
}
#top_rated .inner h2{
	color: #F59703;
	border: 0;
	margin: 0;
	padding: 0;
	text-align: right;
	font-style: italic;
}
#top_rated .inner h3{
	color: #F59703;
	border: 0;
	margin: 0;
	padding: 0;
	font-size: 1.2em;
	margin: 5px 0;
}
#top_rated .inner h3 img{
	vertical-align: bottom; 
}
#top_rated ul{
	margin-left: 22px;
	list-style: none;
	padding-bottom: 5px;
	border-bottom: 1px solid #3F5E85;
	overflow: hidden;
}
#top_rated ul li{
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline;
	word-wrap: break-word;
}
#top_rated ul li a{
	width: 149px;
	float: left;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	margin-right: 5px;
	padding: 5px;
}
#top_rated ul li a:hover{
	text-decoration: none;
	background-color: #081733;
}
#top_rated dd.photo{
	width: 60px;
	height: 60px;
	overflow: hidden;
	float: left;
	max-height: none;
	border: 1px solid #7393AC;
}
#top_rated dd.photo img{
	height: 60px;	
}
#top_rated dt{
	height: 26px;	
	overflow: hidden;
	vertical-align: top;
	margin-bottom: 10px;
}
#top_rated dt,
#top_rated dd{
	width: 80px;
	float: right;
	font-size: 0.9em;
	line-height: 14px;
}
#best_photos .describing,
#top_rated .describing{
	color: #537199;
}
#top_rated .ext{
	position: absolute;
	width: 120px;
	left: 25px;
	bottom: 20px; 
	font-size: 1.7em;
	font-style: italic;
	line-height: 1.5em;
	text-shadow: 1px 1px 1px #070F1B;
}
#top_rated .ext .first{
	color: #F59703;
}
#top_rated a.more{
	margin: 0;
}

#best_photos .photo{
	width: 215px;
	height: 200px;
	float: left;
	text-align: center;
	margin: 5px;
}

h2 span.filters a{
	font-size: 0.6em;
	margin-left: 5px;
	text-shadow: none;
}
h2 span.filters a.active{
	background: none;
}

#front-galleries dt{
	height: 45px;
	overflow: hidden;
}
#front-galleries dl{
	font-size: 0.9em;
}
#front-galleries dd.posted{
	line-height: 1.1em;
}


.best-photos li > a {
	margin: 0 0 20px 28px !important;
    padding: 9px;
    width: 230px;
}
.best-photos li.odd > a {
	clear: both;
	margin-left: 0 !important;
}
.best-photos li > a dt,
.best-photos li > a dd {
	width: auto;
	margin-bottom: 0;
	float: none;
	text-align: center;
}
.best-photos li > a dt {
	margin-bottom: 2px;
	line-height: 1.3em;
}
.best-photos li > a dd.photo {
	width: auto;
	height: 157px;
	float: none;
	text-align: center;
}
.best-photos .describing{
	color: #537199;
}

#blog-front{
	margin-bottom: 46px;
}
#blog-front .profile{
	text-align: right;
	color: #F59703;
	width: 150px;
}
#blog-front table{
	width: 100%;
}
#blog-front td{
	padding: 3px 10px; 
}
#blog-front tr.sticked{
	background: #0f2347;
	background: rgba(15, 35, 71, 0.5);
}
#blog-front .date{
	color: #537199;
	width: 120px;
	font-size: 0.9em;
	text-align: right;
}
#blog-front tr:hover{
	background-color: #0f2347;
}
#blog-front h2{
	margin-bottom: 5px;
}
#blog-front .more{
	margin: 0;
	margin-top: 5px;	
}
#blog-front .title img{
	margin-right: 5px;
	vertical-align: middle;
}
#blog-front .title a:hover{
	text-decoration: none; 
}

.submit-paypal{
	float: right !important;
}

#top-notification{
	display: none;
	position: relative;
	text-align: center;
}
#top-notification-close{
	position: absolute;
	top: 10px;
	right: 15px;
	display: none;
	width: 19px;
	text-indent: -1000em;
	overflow: hidden;
	padding: 0;
}
#top-notification .submit{
	display: block;
	margin: 15px auto 15px auto;
}
#top-notification .msg_notice{
	padding-bottom: 15px;
	padding-top: 15px;
}
#top-notification .msg{
	background-image: url("../i/ico-alert-info.png");
	background-repeat: no-repeat;
	background-position: 13px 13px;
}
#top-notification p{
	background: none;
}
/*#top-notification .delete{
	background-position: 0 0;
	display: inline-block;
	height: 14px;
	margin-left: 5px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	right: 15px;
	text-indent: -1000em;
	top: 10px;
	width: 14px;
}*/

#top-notification.smile .msg{
	background-image: url("../i/ico-alert-smile.png");
}
#top-notification.smile img.avatar{
	width: 40px;
	height: 40px;
	border: 1px solid #4b819a;
	vertical-align: middle;
	margin-right: 10px;
}
#top-notification.smile a{
	font-weight: bold;
}
#top-notification.smile a.smile-back{
	color: #F59703;
}

.button-smile{
	height: 30px;
	vertical-align: middle;
	padding: 6px 10px 6px 40px;
	background: #D78203 url(../i/ico-smile-ok.png) 8px 4px no-repeat;
	line-height: 30px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
	-webkit-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
	box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
	cursor: pointer;
}
.button-smile-ok{
	background: #317B8E url(../i/ico-smile.png) 8px 5px no-repeat;		
}
.smile-wrap{
	text-align: center;
	margin: 10px auto 20px;
}
.smile-wrap .msg{
	margin-top: 10px;
	margin-bottom: 0;
}

#signup2 h4{
	border: 0;
	font-size: 3.3em;
	margin-bottom: 20px;
}
#signup2.main{
	float: none;
	margin: 0;
	position: relative;
}
#signup2 #image-register2{
	position: absolute;
	right: -312px;
	top: -102px;
}
#signup2 #submit_button{
	font-size: 1.5em;
	height: 38px;
	padding: 6px 14px;
}

.fb_button .fb_button_text, .fb_button_rtl .fb_button_text {
    background: url("http://static.ak.fbcdn.net/rsrc.php/zDYYQ/hash/deh9tyqv.png") repeat scroll 0 0 #5F78AB;
    border-bottom: 1px solid #1A356E;
    border-top: 1px solid #879AC0;
    color: #FFFFFF;
    display: block;
    font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
    font-weight: bold;
    margin: 1px 1px 0 21px;
    padding: 2px 8px 3px;
    text-decoration: none;
    text-shadow: none;
}
.fb_button:hover {
    text-decoration: none;
}
.fb_button, .fb_button_rtl {
    background: url("http://static.ak.fbcdn.net/rsrc.php/zDYYQ/hash/deh9tyqv.png") no-repeat scroll 0 0 #29447E;
    cursor: pointer;
    display: inline-block;
    outline: medium none;
    padding: 0 0 0 1px;
    text-decoration: none;
}
.fb_button_medium, .fb_button_medium_rtl {
    background-position: left -188px;
    font-size: 11px;
    line-height: 14px;
}
.fb_icon {
    background: url("/img/facebook_icon.png") no-repeat scroll left center transparent;
    font-size: 12px;
    height: 20px;
    line-height: 18px;
    padding-left: 17px;
}

#frame-shop{
	display: block;
	margin: 0 auto;
}
