/*
Theme Name: Castle Rock Lake Theme Responsive Version
*/

/* =WordPress Core needed for tinymce
-------------------------------------------------------------- */


	
	


.maintable td{
	padding-left:4px !important;
	padding-right:4px !important;
	
	
	
}

.alignnone {
        margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
        display: block;
        margin: 5px auto 5px auto;
}
.alignright {
        float: right;
        margin: 5px 0 20px 20px;
}
.alignleft {
        float: left;
        margin: 5px 20px 20px 0;
}
.aligncenter {
        display: block;
        margin: 5px auto 5px auto;
}
a img.alignright {
        float: right;
        margin: 5px 0 20px 20px;
}
a img.alignnone {
        margin: 5px 20px 20px 0;
}
a img.alignleft {
        float: left;
        margin: 5px 20px 20px 0;
}
a img.aligncenter {
        display: block;
        margin-left: auto;
        margin-right: auto
}
.wp-caption {
        background: #fff;
        border: 1px solid #f0f0f0;
        max-width: 96%;
        /* Image

does not overflow the content area */
    padding: 5px 3px 10px;
        text-align: center;
		border:1px solid #eee;
}
.wp-caption.alignnone {
        margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
        margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
        margin: 5px 0 20px 20px;
}
.wp-caption img {
        border: 0 none;
        height: auto;
        margin: 0;
        max-width: 98.5%;
        padding: 0;
        width: auto;
}
.wp-caption p.wp-caption-text {
        font-size: 11px;
        line-height: 17px;
        margin: 0;
        padding: 0 4px 5px;
}

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/************* end WP core styles ********************/

/***********  Good General Styles ********************/



a img {
border:0px;	
}

.clear-fix:after
{
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clear-fix
{
    zoom: 1;
}

/***********  End General Styles  ********************/


body .mainpagetitle {
color:#000066;
text-align:center;
font-size:24px;	
border-bottom:1px solid #06066A;
/*width:200px;*/
margin-left:auto;
margin-right:auto;
font-style:italic;
margin-bottom:15px;
font-weight:bold;
margin-top:0px;
padding-top:20px;
display:inline-block;
padding-left:30px;
padding-right:30px;

}
body .mainpagetitlewrap {
text-align:center;
}


body {
margin:0px;
padding:0px;
background-color:#ECF3FD;
/*background-image:url(/wp-content/themes/nepco/oldimages/widersite_01.jpg);
background-position:top center;
background-repeat:no-repeat;*/
}

.subblock-blueheader {
min-height:22px;	
background-color:#37699a;
color:#fbffff;
text-align:center;
line-height:22px;
font-weight:bold;
font-style:italic;
font-family:Times;
font-size:17px;
padding-left:20px;
padding-right:20px;
text-shadow: 0px 0px 3px rgba(0,0,0,0.8);

}

.subblock-greyheader {
	min-height:19px;
text-align:center;
line-height:19px;
color:#323f5f;
background-color:#cccbc7;
font-weight:bold;
font-style:italic;
font-family:Times;
font-size:15px;
padding-left:20px;
padding-right:20px;
text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);

}

.subblock-pictureheader {
	background-image:url(/wp-content/themes/nepco/images/headerimage.jpg);
	background-position:top center;
	background-repeat:no-repeat;
	height:142px;
	background-color:#152b5d;
	width:100%;
}

.subblock-darkbluemenubar {
	/*background-image:url(/wp-content/themes/nepco/images/topmenutile.jpg);
	background-position:top center;
	background-repeat:repeat-x;*/
	/*height:18px;*/
	width:100%;
	text-align:center;
	background-color:#192E62;
	/*height:18px;*/
	height:23px;

}

.subblock-darkbluemenubar a.red-emphasis {
	color:#FF0000;
}

.subblock-darkbluemenubar-wrap {
/*width:560px;*/
/*width:560px;*/
width:640px;
text-align:center;
margin-left:auto;
margin-right:auto;	
	height:18px;
position:relative;
/*left:65px;*/
left:0px;
height:23px;
line-height:23px;

}

.subblock-darkbluemenubar-wrap:first-child {
border-left:1px solid white;	
}

.subblock-darkbluemenubar a {
	color:white;




	text-align:center;
	font-size:14px;
	font-weight:bold;
	font-family: Arial,Helvetica,sans-serif;
	padding-left:6px;
	padding-right:6px;
	border-right:1px solid white;
	text-decoration:none;
	line-height:18px;
	display:block;
	float:left;
	height:18px;
}

.subblock-darkbluemenubar a:hover {
	background-color:#508DEF;
}
#hl-1 {
	
}
#hl-2 {
	
}
#hl-3 {
	
}
#hl-4 {
	
}

.block-main {
	width:936px;
	margin-right:auto;
	margin-left:auto;
	
-webkit-box-shadow: 10px 0px 10px rgba(175, 180, 200,.5);
-moz-box-shadow:    10px 0px 10px rgba(175, 180, 200,.5);
box-shadow:         10px 0px 10px rgba(175, 180, 200,.5);
border-right:1px solid #CFD4E3;
behavior: url(/wp-content/themes/nepco/pie/PIE.htc);
background-color:#ECF3FD;
background-image:url(/wp-content/themes/nepco/images/leftmenubg.png);
background-position:top left;
background-repeat:repeat-y;


}

.subblock-leftsidebar {
	/*background-color:#DDEAFB;*/
	width:135px;
	float:left;
	border-top:1px solid #DDEAFB;
	background-image:url(/wp-content/themes/nepco/images/leftmenubg.png);
	background-position:top left;
	background-repeat:repeat-y;
	position:relative;	

}

.sub-subblock-leftsidebar {
width:123px;
}

.subblock-rightsidebar {
	margin-left:135px;
	padding-left:30px;
	padding-right:30px;
	border-top:1px solid #ECF3FD;
	position:relative;
}

.subblock-rightsidebar .maincontent {
	/*margin-left:135px;
	padding-left:30px;
	padding-right:30px;
	background-color:yellow;*/
}

.subblock-leftsidebar ul {
	color:#000080;
	font-weight:bold;
	margin:0px;
	padding:0px;
	list-style-position:outside !important;
	list-style-image:none;
	list-style-type:none;
}

.subblock-leftsidebar ul li {
	margin:0px;
	padding:0px;
}

.subblock-leftsidebar a {
display:block;
border-top:1px solid #808080;
text-decoration:none;
color:#000080;

font-size: 12px;
font-family: Arial,Helvetica,sans-serif;
font-weight: bold;
}

.subblock-leftsidebar li.menu-item-239 a {
border:0px;	
}

.subblock-leftsidebar a:hover {
background-color:#508DEF;
color:white;	
}

.subblock-leftsidebar ul a {
/*padding:4px 15px 3px 15px;	*/
padding: 8px 5px 8px 15px;
padding-right:3px;	

}

.subblock-leftsidebar ul ul a {
margin:0px 5px;
margin-left:10px;
margin-right:0px;	
color:#000000;
font-weight:100;
padding-top:4px;
padding-bottom:3px;
font-size:11px;
}

.subblock-leftsidebar ul ul {
	color:#000000;
}






.block-footer {
	color:white;
	background-color:#1D4368;
	
	font-family: Arial,Helvetica,sans-serif;
font-size: 14px;

	

}

.block-footer a {
	color:#FFFF00;
	text-decoration:underline;
}

.block-footer a {
text-decoration:none;	
}

.subblock-footer {
	width:936px;
	padding:10px 10px;
	margin-left:auto;
	margin-right:auto;
	vertical-align:middle;
}

.footerblock1, .footerblock2, .footerblock3, .footerblock4 {
	width:24%;
	margin:0px;
	float:left;
	padding-left:10px;
	padding-right:10px;
}


.footerblock1a, .footerblock2a, .footerblock3a, .footerblock4a {
	margin:0px;
	padding-left:10px;
	padding-right:10px;
}

.footerblock1a {
text-shadow:0px 0px 3px #000;	
}

.footerblock1 {
text-align:left;
width:25%;
}

.footerblock2{
	text-align:center;
	width:25%;
}

.footerblock3 {
	text-align:center;
	width:25%;
}

.footerblock4 {
	font-weight:100;
	text-align:right;
	width:25%;
}



 .footerblock1a {
text-align:left;
width:25%;
}

 .footerblock2a {
	text-align:center;
	width:25%;
}

 .footerblock3a {
	text-align:center;
	width:20%;
}

 .footerblock4a {
	font-weight:100;
	text-align:right;
	width:30%;
}


.footerblock4 b, .footerblock4 strong {
font-weight:bold;	
}

.adlitblurb {
font-size:10px;	
}

.pagenotfound {
	text-align:center;font-size:16px;
}

.subblock-leftsidebar .menu-item-268 a, .subblock-leftsidebar .menu-item-258 a {
	color:#800000;
}

.subblock-leftsidebar .menu-item-268 a:hover,  .subblock-leftsidebar .menu-item-258 a:hover{
	background-color:#800000;
	color:white;
}

.mobileres {
display:none;	
}

.mobilenavigation {
text-align:center;
margin-top:20px;	
}

.fb-like-padding {
width:100%;
height:35px;
background-color:greeen;
}

.fb-like {
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	display:block !important;
/*	margin-top:30px;
	margin-bottom:30px;*/
	position:relative;
	left:-15px;
	margin-bottom:15px;
	clear:both;

}



.fblikebox {
position:absolute;
top:-37px;
background-image:url(/wp-content/themes/nepco/oldimages/facebook_tab_bg.png);
width:135px;
height:29px;
background-repeat:no-repeat;
padding:8px 0px 10px 29px;
}

.mobilemenu {
box-shadow: 2px 2px 2px 0px rgb(68, 68, 68), -2px -2px 2px 0px rgb(34, 34, 34);
display: block;
margin: 0px auto;
padding: 2px;
width: 65%;	
}

.mobilemenu option {

}

.fullresfooter {
	width:100%;
}

div .formBuilderForm .formBuilderLabelRequired, div .formBuilderForm div.formBuilderInput, div .formBuilderSelect, div .formBuilderForm .formBuilderLabel {

width:49%;
float:left;
clear:none;	
}

div.formBuilderInput input[type=text] {
    width: 100%;

    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:        border-box;
	border:0px;
	display:block;
	
	}

.formBuilderInput {
text-align:left;	
}

div .formBuilderForm .radio_buttons .formBuilderRadio {
padding-left:0px;
margin-left:0px;	
}

div form.formBuilderForm {
	clear:none;
}

#formBuilderFieldSecurity_Image .formBuilderLabel {
	font-weight:bold;
}

.formBuilderFailure a {
	color:#44448F !important;
	font-weight:bold;
}

.formBuilderField  {
clear:none !important;	
}

.formBuilderField  .formBuilderLabel {
clear:none;	
}

div .formBuilderForm .large_text_area .formBuilderLabel {
clear:none;	
}

div .formBuilderForm .formBuilderSubmit {
	clear:none;	
	clear:right;
}

div form.formBuilderForm {
padding-left:0px;
padding-right:0px;	
}

	div .formBuilderForm div.formBuilderInput, div .formBuilderForm .formBuilderSelect, div .formBuilderForm .formBuilderLargeTextarea {
		margin-bottom:15px;	
	}
	
	div .formBuilderForm .formBuilderLabel, div .formBuilderForm .formBuilderLabelRequired, .formBuilderSelect {
		margin-bottom:0px;
	}
	
	#formBuilderFieldComments formBuilderLabel {
	margin-top:5px;	
	}
	
	#formBuilderFieldSecurity_Image .formBuilderLabel, #formBuilderFieldSecurity_Image .formBuilderInput {
		width:100%;	
	}
	
	div div.formBuilderFailure {
margin-bottom:15px;
}

div .formBuilderForm .formBuilderLabelRequired  {
font-weight:100 !important;	
}

div .formBuilderForm .formBuilderSubmit {
text-align:left;	
}

.optionimage {
	width:100%;
	max-width:360px;
	/*border:1px solid black;*/
}

.optioncontainer {
margin-bottom:0px;
margin-top:30px;	
}

.optioncontainer p {
margin-top:0px;
margin-bottom:0px;	
}

.customizedropbox {

display:block;
/*width:360px;*/
width:100%;

max-width:360px;
height:auto;
text-align:center;font-weight:bold;font-family:arial;font-size:16px;
border:0px;
padding:3px;

	background-color:#16275B;
	color:white;
margin-left:auto;
margin-right:auto;
}

.customizedropbox li {

}



.firstoption {
	background-color:#16275B;
	color:white;
}

.customizedropbox li {
line-height:30px;


}

.castlerockthumb {
	border:1px solid black;
	margin-right:8px;
	margin-bottom:8px;
	/*float:left;*/
	display:inline-block;
	width:72px;
	height:54px;
}

.castlerockthumbcontainer {
}

.castlerockmasterimage_src {
border:1px solid black;	
}

.castlerockmasterimage {
margin-bottom:40px;	
}

.castlerockmasterimagecaption {
	text-align:center;
	font-style:italic;
	color:#888877;
	padding-bottom:10px;
}

.gallery_nav_bar {
	text-align:center;
	font-weight: bold;
font-size: 11px;
font:  'helvetica neue',sans-serif;
letter-spacing: 3px;
text-transform: uppercase;
	padding-bottom:20px;

}

#gallery-1 {
	margin: auto;
}

#gallery-1 img {
    border: 3px solid white !important;
    box-shadow: 0px 0px 3px rgba(33, 33, 33, 0.3) !important;
}

#gallery-1 .gallery-caption {
    margin-left: 0;
}

#gallery-1 .gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 25%;
}

#gallery-1 img {
	border: 2px solid #cfcfcf;
}

#gallery-1 .gallery-caption {
	margin-left: 0;
}

@media (max-width: 399px) {
	#gallery-1 dl {
    	width: 100% !important;
	}
}

#gallery-1 dl {
    display: inline-block !important;
    float: none !important;
    vertical-align: top;
    margin-bottom: 2em;
}


body div#swipebox-overlay {
background-color:rgba(10,10,10.5) !important;
}

img, object, embed {
    max-width: 100%;
}

.formBuilderError {
	color:red;
}

.formwidth {
	max-width:100%;
}

.clicktoenlarge {
text-align:center;
}

.enlargepicture {
text-align:center;
margin-bottom:20px;
margin-top:10px;
font-size:14px;
}

.newcustbox {
	width:100%;
max-width:500px;
border:1px solid #16275B;
margin-left:auto;
margin-right:auto;
background-color:#DDEAFB;	
margin-top:4%;
}

.newcustboxtitle {
color:white;
background-color:#16275B;
padding: 5px 10px;
padding: 5px 10px;
text-align: center;
color: white;
background-color: rgb(22, 39, 91);
font-size:17px;

margin-left: auto;
margin-right: auto;
font-weight: bold;
font-family: arial;
margin-bottom: 0px;
}

.newcustboxradios {
background-color:#DDEAFB;
margin-left:10px;
margin-right:10px;
margin-top:0px;
padding-left:10px;
padding-right:10px;
padding-top:10px;
padding-bottom:0px;
font-family: Arial,Helvetica,sans-serif;
font-size: 14px;	
}

.newcustboxpicture {

margin-top:20px;
padding:10px;

}

.newcustboxpicture img {
border:1px solid #16275B;	
}

.newcustboxpicture .optionimage {
	width:100%;
	height:auto;
	max-width:600px;
}

.redmenu {
	color: rgb(128, 0, 0) !important;	
}

.redmenu:hover {
	background-color: rgb(128, 0, 0) !important;
	color:white !important;
}

#menu-left-sidebar-menu > li:first-child > a:first-child {
	border-top:0px !important;
}

.nepcolink {
	text-decoration:underline;
	color:#003366;
	display:block;
	border:2px solid #7f99cc;
	width:150px;
	position:absolute;
	top:0px;right:0px;
	text-align:center;
	font-size:12px;
	font-weight:bold;
	padding:2px 2px;
}

.nepcolink2 {
	border:1px solid #00246c;	padding:5px 10px;
	font-size:12px;
}

.ml_626 a, .ml_1416 a {
	color:red;font-size:14px;
}

#topnavlinks a {
    text-shadow: 1px 1px 1px #000;
}

#hl-1 {
    border-right: 1px solid white !important;
}

.subblock-darkbluemenubar a {
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5);
}

#ratebox {
	text-align:center;
	font-size:48px;
	color:red;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
	text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.8);
	padding-top:10px; /* original: 35px */

}

/* red text above ratebox */
#ratebox .slogan {
	font-size: 20px;
	color: red;
	font-family:Arial, Helvetica, sans-serif;
	font-style: normal;
}

#blurbbox {
	text-align:center;
	font-size:20px;
	color:white;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
	text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.8);
}


.slogan{
	text-align:center;
	font-family:"Times New Roman", Times, serif;
	font-style:italic;
	color:#fff;
	font-weight:bold;
	padding-top:2px;
	font-size:15px;
}


.hide-for-desktop {
		display:none;
	}

.red a{
	color:#FF0000;


}

.menu-space-fix a{
	padding-top: 28px !important;

}

@media (max-width:558px) {
	.hide-for-desktop {
		display:block;
	}

}

	
	
@media (max-width:500px) {
	#blurbbox{
		display:none;
	}
}



@media (max-width:500px) {
	#ratebox{
		display:none;
}
	
td {
	padding:0px;
}

td p {
	padding:0px;
	margin:8px;
}




#wprmenu_menu.wprmenu_levels a.wprmenu_parent_item {
	padding-right:44px;	
}

}



.menu li:first-child a {
border-top:0px !important;
}
