/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;	
}

.clearfix:after {
  content: "";
  clear:both;
  display:table;
}

/** end **/

body {
	background-color: white;	
	font-family: Verdana, Arial, Helvetica, sans-serif;
 }

a {
	text-decoration: none;
	color:#00bfff;
	}

a:hover {
	color:#99e6ff;
}

table {
	float:none;
}

.inner {
	margin: 0 auto;		
	width: 100%;		/* 960px / 1024px */
}

img {
	max-width: 100%;
}
* {
  box-sizing: border-box;
}

/* --------TOP SECTION ------------- */
 
.nav {	
    width:90%;
	font-size:1.2em;		
	text-align:center;	
	margin: 0 auto;
    padding:15px 0px 5px 0px;
	line-height:1.8em;
} 

.top {	
    width:80%;
	font-size:1.001em;	
	color: #333;
	text-align:left;
	padding:15px 0px 25px 0px;
	margin: 0 auto;
	line-height:1.5em;
}


.top p{	
   	padding-bottom:20px;	
}


/* ------------- LOGO ---------------- */

#logo {	
    width:100%;	
	padding:10px 0px 10px 0px;		
	background-color: #33ccff;
    text-align:center;
    font-size:1.5em;
    letter-spacing:0.15em;
	color:#fff;	
	}
	
#logo p {
	text-align:center;
	margin-top:10px;
	margin-bottom:10px;
	font-size:2em;
    letter-spacing:0.15em;
	color:#fff;
	}
	

/* -------------- INFO TEXT ---------*/

#info {
	width:100%;	
	padding:15px 0px 15px 0px;
	text-align:center;	
	color:#000;
	font-size:1.45em;
	line-height:1.5em;
	} 
	
/* ------------- INFO FOR R ---------------*/

#infor {
	margin:0px auto;
	width:90%;	
	padding:0px 0px 15px 0px;
	text-align:center;	
	border-style: dotted ;
    border-bottom: thin dotted #999;
	} 
	
/* -------- ADVERT -------------*/

#advert {
	margin:0px auto;
	width: 90%;	
	height:auto;
	border-style: dotted ;
    border-bottom: thin dotted #333;
}

#advert p {
	padding:5px;	
	color: #757474;	
	line-height:25px;
	font-size:14px;
}

ul{	
	width: 100%;	
	margin: 0px auto;
    padding-top:10px;
    padding-bottom:10px;    
}

li{
	text-align: center;    		
	display:inline;		
    color:white;
    font-size:2em;
    letter-spacing:0.15em;    	
	}
    
.photo {			
	float: left;
	width:250px;
	margin-top:15px;
	text-align:center;
}

span {
	font-weight:bold;
	}

/*------ ADVRT END ------*/

/*------ LIS ------*/

#lis {
	margin:20px auto;
	width: 90%;	
	-webkit-column-count: 6; /* Chrome, Safari, Opera */
    -moz-column-count: 6; /* Firefox */
    column-count: 6;    
	-webkit-column-width: 130px; /* Chrome, Safari, Opera */
    -moz-column-width: 130px; /* Firefox */
    column-width: 130px;	
	padding-bottom: 10px;
	text-align:center;
	}

#lis p {
	text-align:center;
	font-size:14px;
	color: #757474;	
	line-height:25px;
    height:300px;
	}
	
#phlis {
padding-top:5px;	
     }
     
#plis {	
     width: 160px;
     height: 160px;
     border-radius: 50%;}     
	
/* ------------ FREE LISTING ---------------- */

.frlis {
	width:98%;
	padding-top:0px;
	padding-bottom: 20px;
	color: #757474;
	line-height:40px;
	font-size:14px;
	text-align:center;
}

.ba {	
    width:98%;
	color: #757474;
	line-height:40px;
	font-size:14px;
	text-align:center;
	padding:10px;
	}

#code {
	margin:20px auto;
	width:400px;
	padding:10px;
	background-color:#F4F4F4;
	font-size:12px;
}

/*----- FORM ---- */

#fm {
	text-align:center;
	margin:0 auto;
	width: 96%;
	max-width: 850px;
	line-height:25px;
	padding-top: 20px;
}
#fm span {
	text-align:center;		
	}
	
	
#fm p {
	text-align:left;
	padding-top: 10px;
	font-size:14px;	
}

form
{
  margin:0;
  padding-top: 20px;
  text-align:left;
  font-size:14px;
  width: 100%	
  
}

label {
    width:45%;
    margin-top: 3px;    
    float:left;
    padding:3px;
}

input[type=text], select {
    width: 50%;	
    padding: 12px 20px;
    margin: 8px 0;    
    border: 1px solid #00bfff;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    width: 50%;	
    height: 120px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 1px solid #00bfff;
    border-radius: 4px;
    box-sizing: border-box;
    resize: none;
}

input[type=submit], input[type=reset] {
    background-color: #00bfff;
	float:right;
    border: none;	
    color: white;
    padding: 7px 15px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
	margin-right:34px;
}

input[type=submit]:hover {
    background-color: #99e6ff;
}

input[type=reset]:hover {
    background-color: #99e6ff;
}

#sub {	
	margin-top: 40px;
	line-height:35px;
}

#sub p {
	text-align:center;	
}

/*-- LISTING PAGE --*/

.main {
  max-width: 1000px;
  margin: auto;
}

.row {
  margin: 8px -16px;
}

/* Add padding BETWEEN each column */
.row,
.row > .columnl {
  padding: 8px;
}

.row,
.row > .columnr {
  padding: 8px;
}

/* Create four equal columns that floats next to each other */
.columnl {
  float: left; 
  width: 50%; 
}

.columnr {
  float: left;
  width: 50%;  
}

/* Clear floats after rows */ 
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {  
  padding: 15px;
  letter-spacing:0.02em;
  color: #757474;
  line-height:25px;
  font-size:16px;  
}


@media screen and (max-width: 989px) {
  .columnl {
    width: 40%;
  }
  .columnr {
    width: 60%;
  }}

@media screen and (max-width: 789px) {
  .columnl {
    width: 35%;
  }
  .columnr {
    width: 65%;
  } } 
  
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 740px) {
  .columnl {
    width: 100%;
  }
  .columnr {
    width: 100%;
  }

.content {
	height:auto;
}
.main {
  max-width: 80%; 
}
}

@media screen and (max-width: 500px) {
.main {
  max-width: 95%; 
}
}
/*-- FOOTER --*/

footer{	
	background-color: #f0f8ff;		
	font-size:0.85em;
	padding:25px 0px 25px 0px;	 	
	width: 100%;
	text-align:center;
	margin-top:50px;
	}	
	
footer p {		
		text-align:center;
		color: #595959;
        line-height: 1.7em;
	}

	

@media (max-width: 980px) {
	#lis {	
	-webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;    
}
	
}

@media (max-width: 480px) {
	#lis {	
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2; 
	}
	
}

@media (max-width: 420px) {
	
#code {	
	width:90%;	
}
}

@media (max-width: 799px) {
	
label {
    width:98%;	
}

input[type=text], select {
    width: 98%;	  
	 margin: 0px 0px 7px 0px;
}

textarea {
    width:98%;	
}

input[type=submit], input[type=reset] {   
	float:left;   
}
}

/* -------------- MODAL ---------*/

.modal {
    display: run-in; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 30; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;	
}

/* Modal Content */
.modal-content {
    position: fixed;
    bottom: 0;
    background-color: #fefefe;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s	
}

/* The Close Button */
.close {
    color: #00bfff;    
    font-size: 17px;
    font-weight: bold;
	letter-spacing:0.1em;
	padding-left:20px;
}

.close:hover,
.close:focus {
    color: #99e6ff;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    padding: 5px 20px;   
    font-size:15px;
	letter-spacing:0.1em;
	color: #747073;
	line-height:20px;
	text-align:center;
	width:80%;
	margin:0px auto;
}

