
.body {
	margin:0;

}

a	{
	color: white;
}

.custom-wrapper {
    background-color: #135;
    margin-bottom: 1em;
    -webkit-font-smoothing: antialiased;
    height: 2.3em; /* changed */
    overflow: hidden;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    transition: height 0.5s;
}

.custom-wrapper a {
	color:#ddd;
	text-shadow: 3px 3px 3px #000;
}

.pure-menu-active>.pure-menu-link,.pure-menu-link:hover,.pure-menu-link:focus{background-color:#357}


.custom-wrapper.open {
    height: 14em;
}

.custom-menu-3 {
    text-align: right;
}

.custom-toggle {
    width: 34px;
    height: 34px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    display: none;

}

.custom-toggle .bar {
    background-color: #ddd;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 100px;
    position: absolute;
    top: 18px;
    right: 7px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}






/* additional styles */

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

.pure-img-responsive2 {
    max-width: 100%;
    height: 100px;
}

.main {
	margin: 0;
	padding: 0px 2em 0px 3em;

}

.content {
	background-color: #357;
	max-width:920px;
	margin: auto;
	padding: 2em 1em 1em 1em;
	text-align: center;
	position:relative; top:-1em;
	height: auto;
}

.foot	{
	background-color: #357;
	padding: 3em 1em 1em 0;
	text-align: center;
	max-width:920px;
	color: white;
	font-size: .9em;
}

.foot a 	{
	font-weight: normal;
}

.portalimg {
	z-index: 2;position: absolute; top: 0px; left: 0px;     
	max-width: 100%;
	height: auto;
}

#portal1 {background: #357 url(../../images/portal6.jpg) no-repeat scroll 0% 0%;font-style: normal; font-variant: normal;color: #fff;margin:20px;position:relative;border:1px solid;border-radius:15px;-moz-border-radius:15px; /* Old Firefox */}

#portal2 {background: #357 url(../../images/rockplant920x100-nologo.jpg) no-repeat scroll 0% 0%;font-style: normal; font-variant: normal;color: #fff;margin:25px 20px 20px 20px;position:relative;border:1px solid;border-radius:15px;-moz-border-radius:15px; /* Old Firefox */}

#portal3 {background-color: #9c9;background: #357 url(../../images/bpbg1.jpg) no-repeat scroll 0% 0%;font-style: normal; font-variant: normal;color: #fff;margin:20px;position:relative;border:1px solid;border-radius:15px;-moz-border-radius:15px; /* Old Firefox */}

#portal4 {background: #357 url(../../images/nutpubbanner-2.jpg) no-repeat scroll 0% 0%;font-style: normal; font-variant: normal;color: #fff;margin:20px;position:relative;border:1px solid;border-radius:15px;-moz-border-radius:15px; /* Old Firefox */}

.transbox {font-size: 1.3em;color: white;font-style: italic;text-align: right;margin:4px;position:absolute; right:6px;top:55px;width:auto;text-shadow: 2px 2px 2px #111;z-index:3;}

.transbox a {color: white;text-decoration: none;font-weight: normal;font-size: .8em;}

.shadow2 {box-shadow: 2px 2px 2px #222;}

ul.tools-p {
margin: 10px 0px 0px 0px;
padding: 0px;
text-align: center;
}

ul.tools-p li {
list-style-type: none;
display: inline; 
background-color: #357;
padding: 4px;
margin: 0px 2px;
position: relative;
text-decoration: none; 
font-weight: bold;
font-size: .9em;
}

ul.tools-p li:hover {background-color: #fff; text-decoration: none; }

ul.tools-p a {color: #ddd;}

ul.tools-p a:visited {text-decoration: none; color: #ddd; }

ul.tools-p a:hover {text-decoration: none; color: #69c; }



@media (max-width: 47.999em) {

    .custom-menu-3 {
        text-align: left;
    }

    .custom-toggle {
        display: block;
    }

#portal3 {

	padding:0;

	}




    .transbox  {
	position:absolute; right:6px;top:75px;
	}

	.transbox a {
	font-size: .7em;
	text-shadow: 3px 3px 2px #000;
	}

}


