/**** Base styles ****/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align:center; /*IMPORTANT - makes text in table cells hover in center */
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

html {
  overflow-y: scroll;
}

body {
	font: 13px 'Helvetica Neue', Arial, sans-serif;
	background: black;/*was#D8D5D2 */
	color: #000; /*font color light grey*/
	/*color: #FFF; font color white*/
	line-height: 1.6em;
	background-color: black;
}

<style type="text/css">
a {
	font-size: 10px;
	color: #FFF;
}
a:link {
	text-decoration: none;
	color: #666;
}
a:visited {
	text-decoration: none;
	color: #999;
}
a:hover {
	text-decoration: none;
	color: #999;
}
a:active {
	text-decoration: none;
	color: #000;
}

h1, h2 {
  font-weight: 100;
  line-height: 1.2em;
  margin-bottom: 0.6em;
}

h1 {
  font-size: 14px;
  color:grey;
}



h3 {
  font-size: 17px;
  font-weight: bold;
}


/****h4 newly added for  xxx/1 ****/
h4 {
  font-size: 7px;
  /***font-weight: bold;***/
}

h3, p, ul, ol, pre, dl {
  margin-bottom: 1.0em;
}

em { font-style: italic; }
strong { font-weight: bold; }


/**** Content ****/


#content {
 /*** padding: 10px 10px 10px 210px;***/
 background: #000;/***was  #D8D5D2-light grey colour***/
 padding-top:15px;
}




a img {
  border: none;
}


/**** Demos ****/

#container {
	 /*background:  #FFF;*/
  background: black;
      margin-left: 4%;                   /*new added xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;*/

  margin-top: 50px;
  padding: 5px;
  margin-bottom: 10px;
 /** margin-bottom: 0px;**/
  border-radius: 5px;
  clear: both;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}

.centered { margin: 0 auto; }

.box {
/**** border:none;****/
border:dotted 1px;
  margin: 2px;
  margin: 2px;
  margin-bottom: 15px;/* putting space between each row;*/
  padding: 5px;
padding-right: 9px;
  padding-bottom: 5px;
 /* background: #D8D5D2;*/
 background: black;
  font-size: 9px;
  line-height: 1.4em;
  float: left;
  text-align:center;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
		  color: #999;
		   /*color: #666;*/
		
}
.box h2 {
  font-size: 14px;
  font-weight: 200;
}

.box img,
#tumblelog img {
  display: block;
  width: 100%;
  border:solid grey 2px; /*this is the border around the thumbnail image;*/
  margin-bottom:4px; /*changed to 10px for a while*/
}

.rtl .box {
  float: right;
  text-align: right; 
  direction: rtl;
}


.col1 { width: 80px; }
.col2 { width: 180px; }
.col3 { width: 320px; } /*changed from 280 to 320*/
.col4 { width: 380px; }
.col5 { width: 480px; }
.colmax {width:  100%;height:auto;font-size: 24px;border:none;/*background: #FFF;*/}

.col1 img { max-width: 80px;} 
.col2 img { max-width: 180px; }
.col3 img { max-width: 320px; } /*changed from 280 to 320*/
.col4 img { max-width: 380px; }
.col5 img { max-width: 480px; }

/**** Gutters ****/

.has-gutters .box {
  margin: 5px 0;  

}

.has-gutters .col1 { width: 90px; }  

.has-gutters .col2 { width: 230px; }
.has-gutters .col3 { width: 370px; }
.has-gutters .col4 { width: 550px; }

/**** Transitions ****/

.transitions-enabled.masonry,
.transitions-enabled.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
     -moz-transition-duration: 0.7s;
      -ms-transition-duration: 0.7s;
       -o-transition-duration: 0.7s;
          transition-duration: 0.7s;
}

.transitions-enabled.masonry {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.transitions-enabled.masonry  .masonry-brick {
  -webkit-transition-property: left, right, top;
     -moz-transition-property: left, right, top;
      -ms-transition-property: left, right, top;
       -o-transition-property: left, right, top;
          transition-property: left, right, top;
}


/* disable transitions on container */
.transitions-enabled.infinite-scroll.masonry {
  -webkit-transition-property: none;
     -moz-transition-property: none;
      -ms-transition-property: none;
       -o-transition-property: none;
          transition-property: none;
}



/* Tumblelog example */

#tumblelog {
  background: #000;
  padding: 1.0em;
}

#tumblelog .story {
  margin: 10px;
  border-top: 4px solid #DCB;
  padding-top: 10px;
  background: #000;
  float: left;
  color: #999;
}

#tumblelog h1, #tumblelog h2, #tumblelog h3 { font-weight: bold;}

#tumblelog .col1 { width: 220px; }
#tumblelog .col2 { width: 460px; }
#tumblelog .col3 { width: 700px; }

#tumblelog .col1 img,
#tumblelog .col2 img,
#tumblelog .col3 img {
  max-width: none;
}

/* Infinite Scroll loader */
#infscr-loading { 

  text-align: center;
  z-index: 100;
  position: fixed;
  left: 45%;
  bottom: 40px;
  width: 200px;
  padding: 10px;
  background: #000; 
  opacity: 0.8;
  color: #FFF;
  -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;
}

/**** Fluid ****/

#container.fluid  {
  padding: 5px 0;
}

/* right margin value is 0.1% less than calculated,
  to allow for rounding errors in Firefox */
.fluid .box {
  margin: 5px 0.9% 5px 1%;
  padding: 5px 1%;
}

.fluid .box.col1 { width: 16%; }
.fluid .box.col2 { width: 36%; }
.fluid .box.col3 { width: 56%; }


/*---------------------------------------------------*/
/*IMPORTANT- THIS IS THE SIZE OF THE FONT INSIDE THE TABLE ON LARGE SCREEN*/
.box h2 {
  font-size: 14px;
  font-weight: 200;
}

/*IMPORTANT- THIS IS THE SIZE OF THE FONT INSIDE THE TABLE WHEN THE SCREEN WIDTH IS SMALL*/
@media screen and (max-width: 640px) {
	.box h2 {
font-size: 10px;
 
 }
}
/*---------------------------------------------------*/




@media screen and (min-width: 640px) {
	.colmax {
width: 100%;
height:auto;
 }
}
@media screen and (max-width: 640px) {
#infscr-loading { 
 left: 20%;
 
         }}
		 
		 
	/* the button  ( made it look like hyperlink) */
button.button {
	border: none;
  padding: 0;
  background: none;
  color:blue;
 	background:none;
  border-top:none;
  border-right:none;
  border-left:none;
  border-bottom:none;
 font-size:12px;
 
}

button.button:hover {
  
  color:pink;
}
/* Popup Box */
/* The Modal Box position and colour */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 8888; /* Sit on top */
    left: 10%;
    top: 30%;
    width: 80%; /* Full width */
    height: 50%; /* Full height */
    overflow: none; /* Enable scroll if needed */
    font-color: white;
   
}

/* Modal Content of box */
.modal-content {
    background-color: white;
    margin: 10vh auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Could be more or less, depending on screen size */
}
@media (min-width: 1366px) {
  .modal-content {
    background-color: white;
    margin: 10vh auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 30%; /* Could be more or less, depending on screen size */
	}
}

/* Close the  Modal Box Button ( x- button top right hand side) */
.close {
    color: blue;
    float: right;
    font-size: 16px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: green;
    text-decoration: none;
    cursor: pointer;
}
/* ------------------------------------------- */
@media screen and (max-width: 640px) {
	button.button {
font-size: 10px;
 
 }
}	 