/* Simple Reset
------------------------------------------------------------ */


html, body, div, h1, h2, ul, li, dl, dd, dt, p { margin: 0; padding: 0; }
ul { list-style: none; }


body{

	background: url("./bg2.png") no-repeat left top;
 font-family:Arial, Helvetica, sans-serif;
 font-size:0.625em;   /*10px*/
    width:12000px;
    position:absolute;
    top:0px;
    left:0px;
    bottom:0px;
	color:#FFF;
}





@font-face {
    font-family: 'nexa_bold';
    src: url('nexa_bold/nexa_bold.eot');
    src: url('nexa_bold/nexa_bold.eot?#iefix') format('embedded-opentype'),
         url('nexa_bold/nexa_bold.woff') format('woff'),
         url('nexa_bold/nexa_bold.ttf') format('truetype'),
         url('nexa_bold/nexa_bold-.svg#nexa_bold') format('svg');
    font-weight: normal;
    font-style: normal;

}

a img{
	border:0;	
}


/* Mozilla based browsers */
::-moz-selection {
       background-color: #1ef2c8;
       color: #000;
}

/* Works in Safari */
::selection {
       background-color: #1ef2c8;
       color: #000;
}


html{
 background:#000 url(http://tombernard.ebridgeweb.com/bg.jpg);
}



#section1,#section2,#section3{
	width:1600px;	
}


h1,h2{ font-family: 'nexa_bold';
text-transform:uppercase;
}

h1{
	font-size:2em;	
}


h2{
	color:#0b7bb6;

}

p,ul{
	font-size:1.6em;
	line-height:2em;	
}

dt{
		font-size:1.6em;
}

.portfolio li.no_margin{
	margin-right:0;	
}



.cont{
	width:980px;
	margin:0 auto;	
}





header.top{
	height:7em;
 padding-bottom: 2.5em;
    padding-top: 4em;
	border-bottom:1px solid #4c4c4c;
}

header.top img.logo{
	float:left;
	width:28em;
	height:6.3em;
	margin-left:10em;
}

header.top nav {
	float:right;	
}

header.top nav ul{
	list-style:none;	
}

header.top nav ul li{
	font-size:1.6em;
	float:left;	
	margin-left:10px;
}



.title nav {
	float:left;	
	padding: 4em 0;
}

.title nav ul{
	list-style:none;	
}

.title nav ul li{
	text-transform:uppercase;
	font-size:1em;
	float:left;	
	margin-right:2.7em; font-family: 'nexa_bold';
}


.title nav ul li.act{
	color:#0b7bb6;
}

/*--------------title----------------*/
.title{

		border-bottom:1px solid #4c4c4c;

}

.title h1{
	float:left;	
}

.title img.prev, .title img.next{
	height:5.4em;
	width:5.5em;
	float:right;	
  padding: 2em 0;
  margin-right:10px;
}

/*-------------------section main---------------------*/

section.main {

	margin-top:4em;	
}

section.main h1{
	font-size:2.7em;
	text-align:center;
	line-height:1.6em;
	padding-bottom:30px;
}

section.main h1 span{
	display:inline;
	color:#0b7bb6;
}

section.main_about{

	margin-top:40px;
}

section.main_about h1, section.main_con h1{
	text-transform:uppercase;
	color:#0b7bb6;
	text-align:center;
	padding-bottom:1.5em;	
}

section.main_con p{
	text-align:center;	
}

section.main_about h1, section.main_con a{
	color:#0b7bb6;	
}

section.main_con{

	margin-top:40px;
}

section.main_con .blocker{
	width:62em;
	margin:0 auto;	
}

section.main_con .blocker form{
	width:48em;
	margin:3em auto;	
}
section.main_con .blocker form input{
	padding-left:1em;
	
	margin-bottom:1em;
	width:100%;
	height:3em;
	border:0;	
}

section.main_con .blocker form input.send{
	cursor:pointer;
	display:block;
	width:104px;
	height:104px;
	margin:10px auto;
		background:transparent;
	background-image:url(send.png);

}

section.main_con .blocker form input.active, section.main_con .blocker form textarea.active{
	background-color:#83f6df;	
}

section.main_con .blocker form label{
	font-size:1.5em;
	display:block;
	margin-bottom:10px;	
}

section.main_con .blocker form textarea{
	padding:10px;
	margin-bottom:10px;
	width:100%;
	height:120px;
	border:0;

}

section.main_con .blocker form .container{
	position:relative;	
}

section.main_con .blocker form #info{
	text-align:center;	
	color:#0b7bb6;
	padding-top:20px;
}


span.error{
	
	  color: #0b7bb6;
    font-size: 12px;
    position: absolute;
 right: -12em;
    top: 1em;
		display:block;

}

section.main_about h2{
	text-align:center;
	margin-bottom:20px;
	font-size:25px;
}

section.main_about p.left{
	width:48%;
	float:left;	
}

section.main_about p.right{
width:48%;
	float:right;	
}

section.main_about .blocker{
	clear:both;
	width:66em;
	margin:50px auto 40px auto;	
}

section.main_about .blocker h1{
	text-align:center;
	font-size:22px;
	padding-bottom:20px;
}

section.main_about .blocker .featured {
	margin:4em auto 1em auto;
	width:24.5em;
}

section.main_about .blocker .featured ul {
	text-align:center;}

section.main_about .blocker .featured h1, section.main_about .blocker .elsewhere h1{
	text-align:left;
	padding-bottom:10px;
}

section.main_about .blocker .elsewhere {
	margin-top:50px;
	float:right;	
	width:330px;
}



.section{
    margin:0px;
    bottom:0px;
    width:4000px;
    float:left;
	position:relative;


}

.port{
    color:#fff;
   
}

.clr{
	clear:both;	
}



/* Custom Classes
------------------------------------------------------------ */
.group:after { visibility: hidden; display: block; content: ""; clear: both; height: 0; }
* html .group { zoom: 1; } /* IE6 */
*:first-child+html .group { zoom: 1; } /* IE7 */


/* General Styles
------------------------------------------------------------ */


/* Filter */
dl { margin-bottom: 3em; color: #777; }
dt, dd { float: left; }
dt { margin-right: 5px;  margin-top: 4px; }
.filter li { float: left;margin-right: 5px;  }
.filter li:after { content: "/"; }
.filter li:last-child:after { content: ""; }
.filter a { padding: 0 10px; color: #777; text-decoration: none; }
.filter a:hover, .current a { color: #0b7bb6; }

/* Portfolio Items */

ul.portfolio {
	width:1005px;
		margin-left: -5px;	
}
.portfolio li { float: left; margin-right: 15px; margin-bottom: 1.5em;-moz-box-shadow: 0 5px 5px -3px #222; -webkit-box-shadow: 0 5px 5px -3px #222; box-shadow: 0 5px 5px -3px #222; position:relative; }
/*.portfolio li:nth-child(4n) { margin-right: 0; }*/
.portfolio li h1{
	padding:16px;
	background-color:#000;
	font-size:1em;
	text-transform:uppercase;	
	  border-top: 2px solid #0b7bb6;
}
.portfolio a { display: block; text-decoration: none; }
.portfolio img { width: 230px; height: 220px; display: block;}
.portfolio li img.zoom{
	display:none;
	width:80px;
	height:80px; 
	position:absolute;
	 top:80px;
	 left:80px;
	 z-index:100000000000;

}

.green{
	background-color:#0b7bb6;
	opacity:0;
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	z-index:10px;
	 opacity: 0;
  filter: alpha(opacity = 0);
}


/*------------galeria---------------*/


#top{
	position:absolute;
	top:0px;
	left:0;
	z-index:100;
	background-color:#000;
	height:80px;
	width:100%;
	display:none;
	color:#fff;
}

#top h1{
	text-align:center;
	padding-top:20px;
}

span {
	display:none;	
}
.lightbox{
	display:none;
	width:700px;
	margin:0 auto;
	position:relative;
	z-index:10;
	top:150px;
}


.lightbox .obraz{
	width:700px;
	height:500px;
}

.large{
	display:none;
	float:right;
	padding:10px;
	margin-top:15px;
	background-color:#000;
}

.tt ul{
	list-style:none;	
}

.tt li{
	float:left;
	margin-right:20px;
	width:200px;
	height:142px;
	overflow:hidden;
	margin-top:20px;
	list-style:none;	
}

.active2{
	border:5px solid red;	
}

.bubble img{
	cursor:url(close_icon.png), pointer;
    position:fixed;
    top:50%;
    left:50%;
    width:0px;
    height:0px;
}

.ajax{
	position:absolute;
	width:32px;
	height:32px;
	margin:-100px 0px 0px -100px;
	top:50%;
	left:50%;
	z-index:100000000000000000000000000;
background: #000 url(ajax-loader.gif) no-repeat center center;
	display:none;	
	  width:200px;
    height:200px;
	 opacity: 0.7;
	 -moz-border-radius:100px;
    -webkit-border-radius:100px;
    border-radius:100px;
}

.bottom{
	background-image:url(bottom.png);
	position:absolute;
	bottom:0;
	right:0;
	width:526px;
	height:432px;	
}


/*----------------lightbox--------------------*/


.light{
	position:absolute;
	top:0;
	left:0;
	z-index:100000000000000000;
	display:none;	
}


.light p.next_page{
	position:absolute;
	right:0;
	top:50%;
	background-image:url(./next_page.png);
	width:	67px;
	height:136px;
	z-index:1000000000000000000;
	margin-top:-68px;
	cursor:pointer;
}


.light p.prev_page{
	position:absolute;
	left:0;
	top:50%;
	background-image:url(../prev_page.png);
	width:	67px;
	height:136px;
	z-index:1000000000000000000;
	margin-top:-68px;
	cursor:pointer;
}

.fluid{
	width:100%;

}


/*-----------mobile-----------------*/


ul.small{
	display:none;
	text-align:center; font-family: 'nexa_bold';
    font-size: 2em;
    text-transform: uppercase;
}

ul.small li{
border-bottom: 1px solid #4C4C4C;

}

ul.small li a{
	display:block;	
	padding:0.4em;
}

ul.small li a:hover {
	text-decoration:none;
	background:#0b7bb6;
}


#about_me, #contact{
	width:90%;	
	display:none;
}

#contact{
	
	text-align:center;
	margin-top:3em;
}

#about_me h1, #about_me h2, #contact h1{
	margin-bottom:1em;
	text-align:center;
	font-size:3em;
	text-transform:uppercase;	
}

#about_me p{
	font-size:2em;
	margin-bottom:1em;
}

#about_me .featured ul{
	text-align:center;
	
}

#contact ul.menu_links {
	width:16em;
	margin:0 auto;	
}


#contact ul.menu_links li{
	float:left;	
	margin-right:1em;
}

#contact h2{
	text-transform:uppercase;	
	font-size:2em;
	margin-top:1em;
	margin-bottom:1em;	
}


.title_bottom{
 border-top: 1px solid #4C4C4C;	
  border-bottom: 1px solid #4C4C4C;
  margin:30px 0 30px 0;
}

.title_bottom img.next{
 float: right;
    height: 5.4em;
    margin-right: 10px;
    padding: 2em 0;
    width: 5.5em;	
}

.title_bottom img.prev{
 float: left;
    height: 5.4em;
    margin-right: 10px;
    padding: 2em 0;
    width: 5.5em;	
}

p.copy{
	text-align:center;
	padding-top:30px;
	font-size:1.2em;
}