@import url('http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');
@import url('http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700');
   

/* BASE STYLE */
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;}

body, #nmb-pb p, #nmb-pb h1, #nmb-pb h2, #nmb-pb h3 {margin:0; padding:0;}
div#nmb-pb {float: left;
	width: 100%;
	font-family: "Source Sans Pro", sans-serif; 
	font-size: 100%; 
	font-style:normal;
	font-weight: 400;
	color: #000000;}
	div#nmb-pb b,
	div#nmb-pb strong {
		font-weight: 700;}
        img {border: none;}

div#nmb-pc {float: left;
	width: 100%;
	border-top: 10px solid #222;
	border-bottom: 0px solid #222;}
	div#nmb-pc a {text-decoration: none; color: #7cbc0a;}
	div#nmb-pc a:hover {text-decoration: none; color: #9dd53a;}
	div#nmb-pc p {margin: 5px 0;}
	div#nmb-pc h1,
	div#nmb-pc h2,
	div#nmb-pc h3 {text-transform: uppercase; font-style:normal;}	
	div#nmb-pc h1 {color: #7cbc0a; font-size: 1.6em;}
	div#nmb-pc h2 {color: #7cbc0a; font-size: 1.4em;}
	div#nmb-pc h3 {color: #313131; font-size: 1.2em;}
	div#nmb-pc h4,
	div#nmb-pc h5,
	div#nmb-pc h6 {color: #616161; font-size: 1.2em;}
	div#nmb-pc img {max-width: 100%;}
	
/* BG MOTIVES */	
.nmb-bg1 {background:url(gfx/bg1.jpg) #ffffff no-repeat; background-size: 100%;}
.nmb-bg2 {background:url(gfx/bg2.jpg) #ffffff no-repeat; background-size: 100%;}
.nmb-bg3 {background:url(gfx/bg3.jpg) #ffffff no-repeat; background-size: 100%;}

div#nmb-cc {
	margin: 0 auto; padding: 0 15px;
	text-align:left;
	background: #fff;
	border-left: 3px solid #7cbc0a;
	border-right: 3px solid #7cbc0a;}

.nmb-shadow1 {
	-webkit-box-shadow: 0px 0px 3px 3px #f1ede3; 
	   -moz-box-shadow: 0px 0px 3px 3px #f1ede3;
		    box-shadow: 0px 0px 3px 3px #f1ede3;}

.nmb-shadow2 {
	-webkit-box-shadow: 0 8px 6px -6px #a7a7a7;
	   -moz-box-shadow: 0 8px 6px -6px #a7a7a7;
	        box-shadow: 0 8px 6px -6px #a7a7a7;}
			
.nmb-shadow3 {
    position: relative; 
    background-color: #fff; 
    border-width: 1px; 
    border-style: solid; 
    border-color: #ddd; 
    border-radius: 0px; 
    box-shadow: 0px 8px 4px -8px #cdcdcd, 0px 0px 40px #eee; }			
			
.nmb-small {font-size: 0.7em;}	
.clear {clear: both;}	
.nmb-rounded {		
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;}
	
.nmb-table {display: table;}
.nmb-row {display: table-row;}
.nmb-tablecell {display: table-cell;}		

/* ADDITION: TABLE STYLE */
div#nmb-pb table {
	margin: 10px auto;
	width: 100%;
	font-size: 14px;
	
	table-layout: fixed;
	word-wrap: break-word;
	
	border: 1px solid #ccc;
	background: #e9e9e9;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YyZjJmMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlYWVhZWEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #e9e9e9 0%, #eaeaea 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e9e9e9), color-stop(100%,#eaeaea));
	background: -webkit-linear-gradient(top,  #e9e9e9 0%,#eaeaea 100%);
	background: -o-linear-gradient(top,  #e9e9e9 0%,#eaeaea 100%);
	background: -ms-linear-gradient(top,  #e9e9e9 0%,#eaeaea 100%);
	background: linear-gradient(to bottom,  #e9e9e9 0%,#eaeaea 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9e9e9', endColorstr='#eaeaea',GradientType=0 );}
	div#nmb-pb td {
		padding: 5px;
		border: none;
		border-top: 1px solid #fff;
		border-left: 1px solid #fff;
		vertical-align: top;}
		div#nmb-pb td:first-child {
			border-right: 1px solid #ccc;
			font-weight:bold;}
		div#nmb-pb tr:first-child td {border-top: none;}
			

/* GALLERY */
section#nmb-gallery>div.nmb-panel-body {
    padding-top: 0;}
.nmb-gal-area {
    width: 100%;
    margin: auto;
    background-color: transparent;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    text-align: center;}

.nmb-gal-link {
    height: 75px;
    max-width: 150px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 0;
    margin-bottom: 10px;
    padding: 1px;
    text-align: center;
    background: #fff;
    border: 1px solid #dfdfdf;}
    .nmb-gal-link>img {
        max-height: 100%;
        max-width: 100%;
        margin: auto;}
    .nmb-gal-link:hover {
        background: #eee;
        border: 1px solid #009ec5;}

.nmb-gal {
    clear: both;
    padding: 0;
    margin-bottom: 20px;
    display: none;}
  .nmb-gal>img.nmb-img-responsive {
      max-height: 450px;
      margin: auto;
      border: 1px solid #dfdfdf;}

.nmb-target-fix {
    display: block;
    top: 0;
    left: 0;
    position: fixed;}

.nmb-gals-focus .nmb-gal-link:focus,
.nmb-gals-hover .nmb-gal-link:hover,
#gal12:target ~ a:nth-of-type(12),
#gal11:target ~ a:nth-of-type(11),
#gal10:target ~ a:nth-of-type(10),
#gal9:target ~ a:nth-of-type(9),
#gal8:target ~ a:nth-of-type(8),
#gal7:target ~ a:nth-of-type(7),
#gal6:target ~ a:nth-of-type(6),
#gal5:target ~ a:nth-of-type(5),
#gal4:target ~ a:nth-of-type(4),
#gal3:target ~ a:nth-of-type(3),
#gal2:target ~ a:nth-of-type(2),
#gal1:target ~ a:nth-of-type(1) {
    background: #ddd;}

.nmb-gals-target span[id^="gal"]:target 
~ .nmb-gal:nth-of-type(1) {display:none !important;}

.nmb-gals-target span[id="gal1"]:target 
~ .nmb-gal:nth-of-type(1) {display:block !important;}

.nmb-gals-target span[id^="gal"]:not(:target) 
~ .nmb-gal:nth-of-type(1),
.nmb-gals-target span:nth-of-type(1):target ~ .nmb-gal:nth-of-type(1),
.nmb-gals-target span:nth-of-type(2):target ~ .nmb-gal:nth-of-type(2),
.nmb-gals-target span:nth-of-type(3):target ~ .nmb-gal:nth-of-type(3),
.nmb-gals-target span:nth-of-type(4):target ~ .nmb-gal:nth-of-type(4),
.nmb-gals-target span:nth-of-type(5):target ~ .nmb-gal:nth-of-type(5),
.nmb-gals-target span:nth-of-type(6):target ~ .nmb-gal:nth-of-type(6),
.nmb-gals-target span:nth-of-type(7):target ~ .nmb-gal:nth-of-type(7),
.nmb-gals-target span:nth-of-type(8):target ~ .nmb-gal:nth-of-type(8),
.nmb-gals-target span:nth-of-type(9):target ~ .nmb-gal:nth-of-type(9),
.nmb-gals-target span:nth-of-type(10):target ~ .nmb-gal:nth-of-type(10),
.nmb-gals-target span:nth-of-type(11):target ~ .nmb-gal:nth-of-type(11),
.nmb-gals-target span:nth-of-type(12):target ~ .nmb-gal:nth-of-type(12) {
    display: block;}
		
