/* 
Theme Name: Dark Standard
Theme URI: 
Description: This is an original customized RBC website theme. It's been developed using HTML5, CSS3 and a healthy dose of JS magic..
Version: 1.0
Author: Mr Paul Green
Author URI: http://www.calmunity.ca/
*/

@font-face {
    font-family: 'MetaBoldRegular';
    src: url('../font2/meta-bold-regular.eot');
    src: url('../font2/meta-bold-regular.eot') format('embedded-opentype'),
         url('../font2/meta-bold-regular.woff') format('woff'),
         url('../font2/meta-bold-regular.ttf') format('truetype'),
         url('../font2/meta-bold-regular.svg#MetaBoldRegular') format('svg');
	font-weight:normal;
	font-style:normal;
}

@font-face {
    font-family: 'MetaMediumRegular';
    src: url('../font2/meta-medium-regular.eot');
    src: url('../font2/meta-medium-regular.eot') format('embedded-opentype'),
         url('../font2/meta-medium-regular.woff') format('woff'),
         url('../font2/meta-medium-regular.ttf') format('truetype'),
         url('../font2/meta-medium-regular.svg#MetaMediumRegular') format('svg');
	font-weight:normal;
	font-style:normal;
}

@font-face {
    font-family: 'MetaNormalRegular';
    src: url('../font2/meta-normal-regular.eot');
    src: url('../font2/meta-normal-regular.eot') format('embedded-opentype'),
         url('../font2/meta-normal-regular.svg#MetaNormalRegular') format('svg'),
         url('../font2/meta-normal-regular.woff') format('woff'),
         url('../font2/meta-normal-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'DinproBold';
    src: url('../font2/dinpro-bold.eot');
    src: url('../font2/dinpro-bold.eot') format('embedded-opentype'),
         url('../font2/dinpro-bold.woff') format('woff'),
         url('../font2/dinpro-bold.ttf') format('truetype'),
         url('../font2/dinpro-bold.svg#DinproBold') format('svg');
	font-weight:normal;
	font-style:normal;
}

@font-face {
    font-family: 'DinproRegular';
    src: url('../font2/dinpro-regular.eot');
    src: url('../font2/dinpro-regular.eot') format('embedded-opentype'),
         url('../font2/dinpro-regular.woff') format('woff'),
         url('../font2/dinpro-regular.ttf') format('truetype'),
         url('../font2/dinpro-regular.svg#DinproRegular') format('svg');
	font-weight:normal;
	font-style:normal;
}

html { -webkit-text-stroke: 0.25px }
body { 
/*
border-top:40px solid #AE0A0B; border-color:#06284E; border-color:#9F968C;
border-top:30px solid #E2DCD6;
*/
}
#background { font-size:1.30em; line-height:1.65em; background:#fff; }
#background, .text-zoom { font-family: 'DinproRegular', Verdana, Arial, Helvetica, sans-serif; }
#background p strong,
#background ul strong,
#background ol strong,
#background strong { font-family: 'DinproBold'; font-weight:normal; color:#5F8E62; color:#AE0A0B; }
#background p em strong,
#background ul em strong,
#background ol em strong,
#background em strong
#background p em,
#background ul em,
#background ol em,
#background em { color:#5F8E62; font-style:normal; }
#background h1, #background h2, #background h3, #background h4, #background h5, #background h6 { font-weight:normal;}
/*Font Ends*/


#wrapper #layout #layout-column-main #background h1 { display:block; }
#background a { text-decoration:none; outline:none; color:#AE0A0B; }	
#background a:hover { background:none; color:#5F8E62; text-decoration:none; }
#background a,
#background #custom-content-body .team-entry a img,
#background #introduction .brochure a img { -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s; }
#background #custom-content-body ul li { background:none; }
#background #custom-content-body ul,
#background #custom-content-body ul li { list-style:circle; margin:0 0 0 7px; padding:0; }
#background #custom-content-body ul li { margin-left:15px; font-size:17px; line-height:23px; }
#background #custom-content-body ol li { margin-left:15px; font-size:17px; line-height:23px; }
#background .clear { clear:both; }
html body #background a:hover, html body #background a:focus, html body #background a:active { background:none; }
html body.fancybox-lock .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-outer .fancybox-inner img { *margin-bottom:0px; *margin-left:0px; *display:none; }
/* Default Styles Ends */


#background .header-img { display:none; }
#background .header-img, #background .header-img2 { padding:0; border:none; }
#background .header-img { *display:block; }
#background #slider, html #background img.header-img {}
#background .header-img2 { margin-bottom:0; margin-top:15px; margin-bottom:30px; margin-bottom:5px; }
#background .brochure img { *margin-bottom:0; }

/*
#slider { *display:none; *margin-bottom:0; *margin-top:0; }
*/

#background #custom-content-body #slider ul.rslides { height:460px; }
#background #custom-content-body #slider .slideshow-text-container { 
position:relative; 
width:83%; 
margin-left:auto; margin-right:auto; 
}
#background #custom-content-body #slider .slideshow-text-container .int-dedicated-text { position:absolute; top:0; left:0; z-index:999999999; width:100%; 
padding-top:30px; padding-bottom:30px;
}

#background #custom-content-body .portal,
#background #custom-content-body .portal .title-divider,
#background #custom-content-body a.big-button span {
-webkit-transition: all .7s ease;
-moz-transition: all .7s ease;
-o-transition: all .7s ease;
transition: all .7s ease;
}
/* Scroll settings for each section *indicates tageting for ie7 */

#background #site-title { background:#fff;/**/ }
#background #site-title h1,
.tel-pirg { 
font-weight:normal; 
font-family: 'DinproRegular', 'MetaMediumRegular', 'DinproBold', Verdana, Arial, Helvetica, sans-serif;  
font-size:27px; line-height:34px; 
font-size:28px; line-height:35px; 
font-size:19px; line-height:23px;
margin-top:15px; margin-bottom:17px; }
.tel-pirg { 
display:block; 
font-family: 'DinproBold'; 
margin-top:25px;
margin-bottom:0;
text-align:right;
}
#background #site-title h1 a { 
/*
*/
background: url(../imgs/site-id_small-white.gif) 0px 6px no-repeat; 
background: url(../imgs/house-fist_small.png) 0px 0px no-repeat;
padding-left:30px; padding-left:45px; 
color:#AE0A0B; color:#092B51; color:#CDC4B6; color:#403A35; color:#5C554E; display:inline-block; 

padding-top:30px;
padding-bottom:10px;
}
#background #site-title h1 strong { font-family: 'MetaBoldRegular'; font-family: 'DinproBold'; font-weight:normal; color:#092B51; 
font-size:28px; line-height:35px;  margin-right:5px;
}
#background #site-title h1 a strong { color:#AE0A0B; }
#background #site-title h1 a:hover strong { color:#5F8E62; }
#background { 
/*
width:768px; 
width:766px; 
border-top:none; 
border:1px solid #B6AA9E;
margin-bottom:0px; 
margin-bottom:15px;
background:#F5F2EE url(../slides/s-bkgd.jpg);
*/
background:#F5F2EE url(../imgs/halftone_02.png) fixed;
margin:0 auto;
color:#5C554E;
}

#background.home {
}

#background .container {}
#background.bkgd-img {}

#custom-content-body h4,
#custom-content-body h5 { word-spacing:4px; }

#custom-content-body h4,
#custom-content-body h5,
#main-navigation ul li a { letter-spacing:2px; }

#main-navigation { /*background:#fff; border-top:1px solid #fff; 
background:#F5F2EE; 
border-bottom:1px solid #fff; border-bottom:1px solid #B5ADA6;
*/ 
border:none;
margin-bottom:30px; 
margin-bottom:0px; 
padding-bottom:10px; 
}
#main-navigation .row { 
/*
background:#fff; 
*/
padding-top:14px; 
padding-bottom:14px; 
padding-top:8px; 
padding-bottom:8px; 
padding-top:0px; 
padding-bottom:0px; 
font-size:12px; 
}
#main-navigation.george-subpages .row { padding-bottom:0; margin-bottom:0; }
#main-navigation .row,
#custom-content-body .row.dark {}
#background #custom-content-body .portal {
background:url(../images/textured_paper_black-transparent.png)
}

#intro-message { 
background:#fff;
background:#E2DCD6; /*light grey*/
background:#5F8E62;  /*green*/
background:#06284E; /*blue*/
background:#403A35; /*dark grey*/
background:#887D71; /*dark grey 2*/
background:#9F968C; /*grey*/
background:none;
margin-top:20px; 
margin-bottom:20px;
margin-bottom:10px;
} 
#intro-message .row { padding-top:15px; padding-bottom:30px;}
#background #intro-message h1,
#background #intro-message h2 { 
/*
color:#403A35;
color:#fff;
*/
/*
color:#AE0A0B;
*/
color:#403A35;
font-size:24px; line-height:38px;
font-size:26px; line-height:40px;
font-size:28px; line-height:42px;
font-size:19px; line-height:28px;
font-family:'DinproRegular';
font-weight:normal;

}
#background #intro-message h1 {
font-family: "DinproBold",Verdana,Arial,Helvetica,sans-serif;
font-size:28px; line-height:42px;
font-size: 19px;
line-height: 23px;
color: #AE0A0B;
}
#background #intro-message h2 { font-family: 'MetaNormalRegular', 'MetaMediumRegular'; }
#background #intro-message .details h2 {
/*font-size:21px; line-height:30px;
*/
}
#background #intro-message h1.twitter { background: url(../imgs/icon-twitter.png) center left no-repeat; padding-left:36px; }
#background #intro-message h1.twitter a { color:#00ACED; font-family:'DinproRegular'; }
#background #intro-message h1.twitter a:hover { color:#092B51; }
#background #intro-message h1.twitter a strong { color:#00ACED; font-family:'DinproBold'; }
#background #intro-message h1 a,
#background #intro-message h2 a { color:#092B51; font-family:'DinproBold'; font-family:'MetaMediumRegular';  }

#background #intro-message h1 a:hover,
#background #intro-message h2 a:hover { color:#403A35; color:#092B51; color:#fff; color:#5F8E62; }
#background #intro-message h2 a.read-more {
font-family: 'MetaNormalRegular', 'MetaMediumRegular';
text-decoration:underline;
}
#background #intro-message h2 a.read-more { color:#AE0A0B; }
#background #intro-message h2 a.read-more:hover { color:#5F8E62; }

#background #location { 
background:#fff; 
background:#E2DCD6; /*light grey*/
background:#5F8E62; /*green*/
background:#403A35; /*dark grey*/
background:#06284E; /*blue*/
background:#AE0A0B; /*red*/
margin-bottom:20px;
margin-bottom:0px; 
}
#background #location p { 
color:#9F968C; color:#282522; color:#403A35; color:#fff; 
/*
font-size:23px; line-height:29px;
font-size:19px; line-height:29px;
*/
font-size:17px; line-height:25px;
}
#background #location p strong { 
color:#E2DCD6; color:#fff; color:#092B51; color:#403A35; color:#fff; 
font-family:'DinproBold', 'MetaBoldRegular'; 
/*
font-size:22px;
*/ 
}

#background #nspirg-foot { background:#fff; padding-bottom:30px; padding-top:30px; }
#background #nspirg-foot ul { list-style:none; padding:0; }
#background #nspirg-foot ul li { 
font-size:21px; line-height:27px;
color:#9F968C; 
font-family: 'DinproBold', 'DinproRegular', Verdana, Arial, Helvetica, sans-serif;
text-transform:uppercase;
margin-bottom:13px;
}
#background #nspirg-foot ul li a { color:#06284E; color:#5C554E; color:#9F968C; }
#background #nspirg-foot ul li a:hover { color:#5F8E62; }
#nspirg-social { padding-top:20px; }
#background #nspirg-foot #copyright p { 
font-size:17px; line-height:25px;
font-size:15px; line-height:23px;
font-family: 'MetaNormalRegular', 'MetaMediumRegular'; 
text-align:right;
}

#copyright img { float:right; margin-left:10px; margin-bottom:10px; }
#copyright img { float:left; margin-left:0px; margin-bottom:10px; }
#nspirg-social a img {
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=100);	
	-webkit-transition: all 0.4s ;
	-moz-transition: all 0.4s ;
    -ms-transition: all 0.4s ;
    -o-transition: all 0.4s ;
	transition: all 0.4s;	
	}
#nspirg-social a:hover img {
	-moz-opacity: 0.70;
	-khtml-opacity: 0.70;
	opacity: 0.70;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=70);
	}

#hp-portals .post,
#intro-message .post,
#intro-message .post.cal-block,
.sharing-info { 
background:#fff; 
border:1px solid #fff; 
border:none; 
padding:17px 25px 15px 25px; 
margin-bottom:3px; 
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
	-webkit-transition: all 0.5s ;
	-moz-transition: all 0.5s ;
    -ms-transition: all 0.5s ;
    -o-transition: all 0.5s ;
	transition: all 0.5s; 
}
.bounding .sharing-info { 
-webkit-border-radius: 0px 0px 5px 5px;
-moz-border-radius: 0px 0px 5px 5px;
border-radius: 0px 0px 5px 5px; 
margin-bottom:0;
}
.sharing-info { display:block; background:#AE0A0B; background:#5F8E62; background:#06284E; background:#403A35; padding-bottom:13px; }
.sharing-info .share-title { display:block; margin-bottom:5px; color:#fff; font-family: 'MetaNormalRegular', 'MetaMediumRegular'; font-size:16px; }
#intro-message .post { padding:7px 15px 8px 15px; }
#hp-portals .post.post-grey { 
background:#06284E; background:#9F968C; 
/*
background:#E2DCD6 url(../imgs/house.png) bottom right no-repeat; 
*/
background:#E2DCD6 url(../imgs/halftone_01.png);
border:none; 
}
#hp-portals .wg-portal .post.group-block { 
background:#9F968C; background:#06284E; background:#E2DCD6; background:#9F968C; 
border:none; /*color:#fff;*/ text-align:center; 
padding-bottom:18px;
}
#hp-portals .wg-portal .post.group-block:hover { background:#5F8E62; }

#background #intro-message .post.cal-block { 
background:#5F8E62; background:#36506E; background:#4E657E; background:#9F968C; background:#06284E; background:#403A35; 
border:none; color:#fff; 
}
#background #intro-message .post.cal-block:hover { /*background:#5F8E62; green*/ }

#background .post .post-row { border-bottom:1px dotted #E2DCD6; padding-bottom:5px; margin-bottom:15px; }
#background .post.post-grey .post-row { border-color:#0A3E78; border-color:#B5ADA6; }
#background .post .post-row.last { border-bottom:none; padding-bottom:0; margin-bottom:0; }
#background .post .post-row .resource-item {}
#background p a.btn-blue, #background a.btn-blue { background:#06284E; display:inline-block; padding:8px 17px 11px 17px; font-family: 'DinproRegular', 'DinproBold', Verdana, Arial, Helvetica, sans-serif; font-size:17px; line-height:23px; margin-top:15px; text-decoration:none; color:#fff;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
	-webkit-transition: all 0.5s ;
	-moz-transition: all 0.5s ;
    -ms-transition: all 0.5s ;
    -o-transition: all 0.5s ;
	transition: all 0.5s;  }
#background #slider p a.btn-blue, #background #slider a.btn-blue { background:#9F968C; background:#403A35;}
#background .post.post-grey p a.btn-blue,
#background .post.post-grey a.btn-blue { background:#AE0A0B; /*red*/ background:#06284E; background:#9F968C; }
#background #intro-message .post.cal-block a.btn-blue { 
 background:#9F968C;
 font-size:21px; 
/*
background:#9F968C; background:#403A35; background:#031427; background:#06284E;  background:#1E3D5E;
border:2px solid #4E657E;
*/
padding:12px 35px 13px 35px; 
font-family: 'DinproBold', Verdana, Arial, Helvetica, sans-serif; 
}
#background .resource-portal img {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
margin-top:15px;
margin-bottom:0;
}
#background a.btn-blue:hover,
#background .post.post-grey p a.btn-blue:hover,
#background .post.post-grey a.btn-blue:hover,
#background #slider p a.btn-blue:hover, #background #slider a.btn-blue:hover { background:#5F8E62; text-decoration:none; }
#background #intro-message .post.cal-block a.btn-blue:hover {  background:#5F8E62;
/*
background:#5F8E62; background:#06284E; background:#4E657E; border-color:#6F8194; 
*/
}

#hp-portals .post:hover { border-color:#E2DCD6; }
#hp-portals .post h1,
#background #intro-message .post.cal-block h1 { 
font-size:24px; line-height:32px; 
font-size:28px; line-height:36px; 
margin-bottom:0; margin-top:0;
font-family: 'MetaMediumRegular'; font-family: 'DinproBold', 'DinproRegular', Verdana, Arial, Helvetica, sans-serif; }
#background #intro-message .post.cal-block h1 img { width:50%; }
#background #hp-portals .resource-portal h1,
#background #intro-message .post.cal-block h1 a { 
font-size:36px; line-height:42px; 
font-size:28px; line-height:36px;
font-family: 'DinproBold', 'DinproRegular', Verdana, Arial, Helvetica, sans-serif; 
}
#background #intro-message .post.cal-block h1 { margin-bottom:5px;
display:block; width:100%; float:left; }
#background #intro-message .post.cal-block { text-align:center; }
#background #intro-message .post.cal-block h1 a { font-size:21px; line-height:29px; }
#background #intro-message .post.cal-block h1 a span { color:#06284E; color:#04203E; color:#4E657E; color:#fff; }
#background #intro-message .post.cal-block h1 a:hover span {  }
#background #intro-message .post.cal-block h1 span { display:block; margin-bottom:5px; }
#background #intro-message .post.cal-block p { margin-top:0; padding-top:0;
font-size:17px; line-height:23px;
}
#background #intro-message .post.cal-block strong { color:#fff;}
#hp-portals .post .secondary.news { padding-top:10px; }
#hp-portals .post .secondary .post-item,
#hp-portals .post.secondary .post-item { border-top:1px dotted #E2DCD6; display:block; margin-bottom:10px; padding-top:15px; }
#hp-portals .post.secondary .post-item:last-child, #hp-portals .post.secondary .post-item.last-child,
#hp-portals .post .secondary .post-item:last-child, #hp-portals .post .secondary .post-item.last-child { /*border:none;*/ margin-bottom:0; }
#hp-portals .whats-new-portal .post h1 { font-size:22px; line-height:29px; }
#hp-portals .wg-portal .wg h1,
#background #intro-message .post.cal-block h1 { font-size:22px; line-height:29px; }
#hp-portals .wg-portal .post.group-block h1 a,
#background #intro-message .post.cal-block h1 a { color:#fff; }
#hp-portals .wg-portal .post.group-block h1 a:hover { }
#hp-portals .wg-portal .wg-description p { 
font-family: 'MetaNormalRegular', 'MetaMediumRegular';
font-size:22px; line-height:31px; 
font-size:19px; line-height:28px; 
margin-bottom:25px; 
}
#hp-portals .post.secondary h1,
#hp-portals .post .secondary h1 { font-size:21px; line-height:28px; font-size:17px; line-height:24px; }
#hp-portals .post h1 a { color:#092B51 } 
#hp-portals .post.post-grey h1 a { /*color:#fff; color:#E2DCD6;*/ }
#hp-portals .post.post-grey img { margin:0; }
#hp-portals .post h1 a:hover { color:#5F8E62; }
#hp-portals .post.post-grey h1 a:hover { /*color:#fff; */}
#hp-portals .post small { color:#ADADAD; font-size:12px; line-height:19px; font-family: Arial, Helvetica, sans-serif; margin:0; display:block; }
#hp-portals .post p { font-size:16px; line-height:23px; font-family: 'MetaNormalRegular', 'MetaMediumRegular', Verdana, Arial, Helvetica, sans-serif; font-family:'DinproRegular'; color:#403A35; color:#887D71; color:#5C554E; color:#000; }
#hp-portals .post.post-grey p { 
/*color:#E2DCD6; color:#F5F2EE;*/ 
/*color:#000; color:#092B51; color:#47413A;*/
font-family: 'DinproRegular', 'DinproBold', Verdana, Arial, Helvetica, sans-serif;
color:#5C554E; color:#403A35; 
 }
#hp-portals .post p a,
#background #hp-portals .wg-portal .wg-description p a { text-decoration:underline;}
/*
#hp-portals .post h1 a:hover { background:#092B51; color:#fff; }
#hp-portals .post h1 a, #hp-portals .post small { display:block; padding:15px 25px; }
#hp-portals .post small { background:#E2DCD6; padding:10px 25px; }
*/
#background #hp-portals h2 { font-family: 'DinproBold', Verdana, Arial, Helvetica, sans-serif; font-size:19px; line-height:23px; color:#AE0A0B; }

#main-navigation a,
#main-navigation ul li a:hover,
#main-navigation ul li.current-page a,
#main-navigation ul li.current_page_item a,
#custom-content-body h4  { 
-webkit-text-stroke: 0px;
color:#06284E; 
}
#main-navigation a:hover { 
color:#ccc; 
}
#background #main-navigation ul { 
display:block; 
text-align:center;
font-size:15px;
margin-left:0px;
padding-left:0;
margin-bottom:5px;
}
#main-navigation ul li { 
display:inline; 
margin-left:9px; 
margin-right:9px; 
margin-left:3px; 
margin-right:3px; 
margin-left:15px; 
margin-right:15px; 
background:none; 
text-transform:uppercase;
font-size:13px; 
}
#main-navigation ul li.first-child { margin-left:0; }
#main-navigation.george-subpages ul li { text-transform:capitalize; font-size:13px; margin-left:3px; margin-right:3px;  }
#main-navigation ul li a { 
padding:8px 14px;
padding:8px 11px; 

padding:8px 0px 8px 0px; 
color:#06284E;
color:#385371;
color:#887D71;
color:#9F968C; 
border-color:#F5F2EE;
border:1px solid #fff;
border:none;
font-family: 'DinproBold', 'DinproRegular', Verdana, Arial, Helvetica, sans-serif;
/*
font-family: 'MetaMediumRegular', Verdana, Arial, Helvetica, sans-serif;
*/
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px; 
font-size:17px;
letter-spacing:1px;
letter-spacing:normal;
}
#background #main-navigation.george-subpages ul li a { padding:6px 6px 6px 6px; padding:1px 8px 3px 8px; font-size:13px; }
#background #main-navigation.george-subpages.what-we-do ul li a { padding:6px 6px 8px 6px;  width:120px; line-height:18px; }
#main-navigation ul li a:hover { 
/*
border:1px solid #9F968C; border-color:#E2DCD6; border-color:#06284E; border-color:#fff; border-color:#F5F2EE;
*/
color:#5F8E62; color:#06284E; color:#5F8E62;
/*
background:#092B51; background:#5F8E62; background:#F5F2EE; background:#E2DCD6; 
*/
/*color:#fff;*/ }
#main-navigation ul li.current-page a,
#main-navigation ul li.current_page_item a,
#background #main-navigation ul li.current_page_ancestor a,
#background #main-navigation ul li.current-page ul li.current-page a,
#background #main-navigation ul li.current_page_ancestor ul li.current_page_item a { 
/*background:#092B51; color:#fff; */
background:#fff;
background:#06284E;
background:none;
border:1px solid #fff;
border:1px solid #06284E;
border:none;
color:#fff;
color:#000;
color:#06284E;
font-family: 'DinproBold', Verdana, Arial, Helvetica, sans-serif;
}

#background #main-navigation ul li.current_page_ancestor ul li.menu-item a { background:#fff; color:#9F968C; }
#background #main-navigation ul li.current_page_ancestor ul li.menu-item a:hover { background:#5F8E62; color:#fff; }
#background #main-navigation ul li.current_page_ancestor ul li.current_page_item a {
background:#06284E; color:#fff;
}
/*
#main-navigation ul li.nth-child-4,
#main-navigation ul li.nth-child-5 { display:none; }
*/

/* Main Navigation Ends */

#custom-content-body {}
.home #custom-content-body .row { padding-bottom:0; }
#custom-content-body .row { 
padding-bottom:30px; 
color:#000; color:#887D71; color:#5C554E; }
#custom-content-body .row2 { 
display:block;
padding-top:30px;
padding-bottom:15px;
/*
width:90%; 
margin-left:auto; margin-right:auto;
*/
}
#custom-content-body .row .body-content-highlight { border-top:1px dotted #ccc; padding-top:20px!important; padding-bottom:5px!important; }

#custom-content-body .row .mid.first-child,
#custom-content-body .row .mid.nth-child-2 { padding-top:30px; }
#custom-content-body h1, 
#custom-content-body h2, 
#custom-content-body h3, 
#custom-content-body h4, 
#custom-content-body h5, 
#custom-content-body h6, 
#custom-content-body p, 
#background #custom-content-body ul, 
#background #custom-content-body ol { margin-bottom:20px; }

#custom-content-body h1, 
#custom-content-body h2, 
#custom-content-body h3,
#custom-content-body h4, 
#custom-content-body h5, 
#custom-content-body h6 { font-weight:normal;}
 
#custom-content-body h1, 
#custom-content-body h2, 
#custom-content-body h3 { font-family: 'MetaMediumRegular', Verdana, Arial, Helvetica, sans-serif; font-weight:100; }
#custom-content-body h1 {}

#custom-content-body .threecol h1 {}
#custom-content-body .threecol h2 { font-size:1.3em; line-height:1.0em; }
#custom-content-body .threecol h3 {}
#custom-content-body .threecol h4 {}
#custom-content-body .threecol h5 {}
#custom-content-body .threecol h6 {}

#custom-content-body h3,
#custom-content-body h4,
#custom-content-body h6 { margin-bottom:14px; }
#custom-content-body h6 { font-size:24px; line-height:36px; margin-bottom:34px; font-weight:300; }
#background h1 strong,
#background h1.alt,
#background h2,
#custom-content-body h3,
#background #custom-content-body .team-entry h3,
#custom-content-body h6 { color:#092B51; }
#background #custom-content-body .team-entry h3 { color:#06284E; }
#custom-content-body h4,
#custom-content-body h5 { text-transform:uppercase; }
#background #our-process .fourcol h4,
#custom-content-body h5,
#background #introduction h2,
#background h1 { color:#092B51; }

#custom-content-body .block-quote { 
border-top:1px dotted #000C1A; border-bottom:1px dotted #000C1A; border-color:#545047;
padding:20px 0 10px 0; 
display:block; 
margin-top:20px;
margin-bottom:30px; 
}
#custom-content-body .block-quote h1,
#custom-content-body .block-quote h2 { margin-bottom:20px; }
#custom-content-body .block-quote h1 strong,
#custom-content-body .block-quote h2 strong { font-weight:500; }

#custom-content-body .center-text,
#background #custom-content-body .team-entry { text-align:center; }

#custom-content-body ul { margin-left:20px; }
#background #custom-content-body img {}
#custom-content-body small { font-size:0.8em; margin:0; padding:0; }

#background h2,
#background h1 { 
font-size:32px;  
line-height:40px;
margin-bottom:15px;  
font-family: 'MetaMediumRegular', Verdana, Arial, Helvetica, sans-serif; 
}

#background .page-title { 
background:#E2DCD6 url(../imgs/halftone_01.png); 
padding-top:15px; padding-bottom:19px; 
}
#background .page-title h1 { 
color:#5F8E62;
color:#fff;
font-family: 'DinproBold', 'DinproRegular', Verdana, Arial, Helvetica, sans-serif;
-webkit-text-stroke: 0px 
/*
*/
font-size:32px;  
line-height:40px; 
font-size:52px;  
line-height:60px; 
font-size:68px;  
line-height:80px; 
font-size: 102px;
line-height: 108px;
font-size: 82px;
line-height: 88px;
font-size: 80px;
line-height: 86px;
font-weight:normal;
text-transform:uppercase;
margin:0 0 8px 0;
}

#background .pirg-page-content,
#background .pirg-page-content.history-posts  { padding-top:24px; padding-bottom:50px; }

#background #hp-portals .pirg-page-content.research-posts .post { margin-top:10px; margin-bottom:20px;}
#background #hp-portals .pirg-page-content.history-posts .post { padding-top:25px; padding-bottom:25px; }
#background #hp-portals .pirg-page-content h2 {
font-size:42px;  
line-height:50px;
margin-bottom:10px;}
#background .pirg-page-content h3 {
-webkit-text-stroke: 0px;
/*
color:#06284E;
font-family: 'MetaMediumRegular', Verdana, Arial, Helvetica, sans-serif; 
*/
color:#06284E;
font-family: 'DinproBold', 'DinproRegular', Verdana, Arial, Helvetica, sans-serif;
font-size:26px;  
line-height:38px;
margin-bottom:25px;
}
#background .pirg-page-content h4 {
-webkit-text-stroke: 0px;
font-family: 'DinproBold', 'DinproRegular', Verdana, Arial, Helvetica, sans-serif;
font-size:23px;  
line-height:35px;
}
#background .pirg-page-content h5 {}
#background .pirg-page-content h6 {}
#background #hp-portals .pirg-page-content p {
color:#5C554E;
color:#2D2926;
font-family: 'MetaNormalRegular', 'MetaMediumRegular', Verdana, Arial, Helvetica, sans-serif; 
font-size:19px; line-height:29px;
font-size:21px; line-height:29px;
margin:0 0 23px 0; 
}
#background #hp-portals .pirg-page-content em { font-style:oblique; }
#background #hp-portals .pirg-page-content.research-posts .post p { 
font-size:17px; 
line-height:23px;
}

#background #hp-portals .pirg-page-content.history-posts .post p { 
font-size:15px; 
line-height:21px;
font-size:17px; 
line-height:23px;
margin-bottom:0;
}
#background #hp-portals .pirg-page-content.research-posts .post small {
color:#06284E;
font-family: 'MetaMediumRegular', 'MetaNormalRegular', Verdana, Arial, Helvetica, sans-serif; 
font-size:17px; 
line-height:23px;
margin:0 0 8px 0; 
}
#background #hp-portals .pirg-page-content.history-posts .post small { 
color:#2D2926;
/*
display:inline;
*/
font-family: 'MetaBoldRegular', 'MetaMediumRegular', 'MetaNormalRegular', Verdana, Arial, Helvetica, sans-serif; 
font-size:21px; line-height:29px; 
font-size:17px; 
line-height:23px;
font-size:15px; 
line-height:21px;
}
#background #hp-portals .pirg-page-content.history-posts h1 {
font-size:20px; line-height:27px; 
font-size:21px; line-height:28px; 
}
#background #hp-portals .pirg-page-content.history-posts .post p.meta {
font-size:15px; 
line-height:21px;
margin-bottom:10px;
}
#background #hp-portals .pirg-page-content.history-posts .post p.meta a {
font-family: 'MetaBoldRegular', 'MetaMediumRegular', 'MetaNormalRegular', Verdana, Arial, Helvetica, sans-serif; 
font-size:21px; line-height:29px; 
font-size:17px; 
line-height:23px;
font-size:15px; 
line-height:21px;
}
#background #hp-portals .pirg-page-content strong {
font-family: 'MetaMediumRegular', 'MetaNormalRegular', Verdana, Arial, Helvetica, sans-serif; 
font-weight:normal;
color:#06284E;
}
#background #hp-portals .pirg-page-content ol,
#background #hp-portals .pirg-page-content ul {
font-family: 'MetaNormalRegular', Verdana, Arial, Helvetica, sans-serif; 
color:#2D2926; font-size:21px; line-height:29px;
margin:0 0 33px 0; 
}
#background #hp-portals .pirg-page-content ol li,
#background #hp-portals .pirg-page-content ul li { margin-bottom:15px; }

#background #hp-portals .pirg-page-content.research-posts h1 { margin-bottom:15px; }
#background #hp-portals .pirg-page-content.history-posts h1 { margin-bottom:8px; }
#background #hp-portals .pirg-page-content blockquote { 
margin:0 0 15px 0; 
padding-left:25px; 
padding-top:15px; 
padding-bottom:5px;
border-left:5px solid #AE0A0B; 
display: block; 
}
#background #hp-portals .pirg-page-content blockquote h1,
#background #hp-portals .pirg-page-content blockquote h2,
#background #hp-portals .pirg-page-content blockquote h3,
#background #hp-portals .pirg-page-content blockquote h4,
#background #hp-portals .pirg-page-content blockquote h5,
#background #hp-portals .pirg-page-content blockquote p { padding:0; }
#background #hp-portals .pirg-page-content blockquote,
#background #hp-portals .pirg-page-content blockquote h1,
#background #hp-portals .pirg-page-content blockquote h2,
#background #hp-portals .pirg-page-content blockquote h3,
#background #hp-portals .pirg-page-content blockquote h4,
#background #hp-portals .pirg-page-content blockquote h5,
#background #hp-portals .pirg-page-content blockquote p {
color:#AE0A0B;
font-family: 'MetaMediumRegular', 'MetaNormalRegular', Verdana, Arial, Helvetica, sans-serif;
font-weight: normal;
margin-bottom:23px;
}
#background #hp-portals .history-description {
padding-top:20px; 
padding-bottom:30px; 
padding-bottom:5px; 
}
#background #hp-portals .history-description p {
font-size: 17px;
line-height: 25px;
color: #403A35;
}
#background #hp-portals .history-description h2 {
font-size: 17px;
line-height: 25px;
font-size: 19px;
line-height: 26px;
font-family: 'MetaMediumRegular', 'MetaNormalRegular', Verdana, Arial, Helvetica, sans-serif;
}
#hp-portals .wg-portal .wg-description p {
font-family: 'MetaMediumRegular', 'MetaNormalRegular', Verdana, Arial, Helvetica, sans-serif;
}
.bounding { 
border-left:1px solid #E2DCD6; 
/*
border-right:1px solid #E2DCD6; 
*/
width:100%; 
float:left; 
margin-bottom:40px;
-webkit-border-radius: 0px 0px 5px 5px;
-moz-border-radius: 0px 0px 5px 5px;
border-radius: 0px 0px 5px 5px; 
padding-top:44px;
}
.bounding .post2 {
border-right: 1px solid #E2DCD6;
width:100%; 
float:left; 
-webkit-border-radius: 0px 0px 5px 0px;
-moz-border-radius: 0px 0px 5px 0px;
border-radius: 0px 0px 5px 0px; 
}
.submenu-title {  background:#06284E; 
background:#9F968C; /*dark grey*/ 
background:#5F8E62; /*green*/
background:#403A35; /*dark grey*/
background:#665C55; /*dark grey */
background:#AE0A0B;  /*red*/
color:#fff;
display:block; 
padding:12px 15px 12px 25px;  
font-size:24px; line-height:32px; line-height:26px;
-webkit-border-radius: 0px 5px 0px 0px;
-moz-border-radius: 0px 5px 0px 0px;
border-radius: 0px 5px 0px 0px; 
}
.sidebar-nav ul { list-style:none; margin:0 0 20px 0; margin:0; padding:0;}
.sidebar-nav ul li { margin:0; padding:0; }
#background .sidebar-nav ul li a { 
background:#fff;
color:#9F968C; 
color:#5C554E; 
color:#06284E; /*blue*/
color:#403A35; /*dark grey*/
display:block; 
border-bottom:1px dotted #E2DCD6; 
padding:6px 15px 6px 25px; 
font-size:19px; line-height:25px;
}
#background .sidebar-nav ul li.current-page a,
#background .sidebar-nav ul li.current-cat a,
#background .sidebar-nav ul li.current-cat-parent a,
#background .sidebar-nav ul li a:hover { 
-webkit-text-stroke: 0px;
background:#E2DCD6;  
background:none;
background:#06284E;  
color:#06284E; /*blue*/
color:#fff; /*blue*/
font-family: 'DinproBold', 'DinproRegular', Verdana, Arial, Helvetica, sans-serif;
border-bottom:1px solid #fff;
border-bottom:1px solid #06284E;
}
#background .sidebar-nav ul li.current_page_item a,
#background .sidebar-nav ul li.current_page_parent a,
#background .sidebar-nav ul li.current-cat-parent a,
#background .sidebar-nav ul li ul li.current-cat a { 
background:#06284E; 
border-bottom:1px solid #06284E; 
color:#fff;
font-family: 'DinproRegular', Verdana, Arial, Helvetica, sans-serif;
font-family: 'DinproBold', Verdana, Arial, Helvetica, sans-serif;
}
#background .sidebar-nav ul li ul { background:#EBE7E2; padding-top:8px; padding-bottom:13px; }
#background .sidebar-nav ul li ul li a {
background:none;
border:none;
color:#403A35; /*dark grey*/
font-size:15px; line-height:20px;
padding:3px 15px 3px 25px; 
}
#background .sidebar-nav ul li ul li a:hover {
background:none;
border:none;
color:#06284E; /*blue*/
}
#background .sidebar-nav ul li.current_page_item ul li a,
#background .sidebar-nav ul li.current_page_parent ul li a,
#background .sidebar-nav ul li.current-cat-parent ul li a,
#background .sidebar-nav ul li.current-cat ul li a { 
background:none; 
border:none; 
color:#06284E; /*blue*/
color:#403A35; /*dark grey*/
font-family: 'DinproRegular', Verdana, Arial, Helvetica, sans-serif;
}
#background .sidebar-nav ul li.current_page_item ul li a:hover,
#background .sidebar-nav ul li.current_page_parent ul li a:hover,
#background .sidebar-nav ul li ul li.current_page_item a,
#background .sidebar-nav ul li.current-cat ul li a:hover,
#background .sidebar-nav ul li.current-cat-parent ul li a:hover,
#background .sidebar-nav ul li.current-cat-parent ul li.current-cat a{
-webkit-text-stroke: 0px;
color:#403A35; /*dark grey*/
color:#06284E; /*blue*/
font-family: 'DinproBold', Verdana, Arial, Helvetica, sans-serif;
}
#background h2 { font-size:24px; line-height:32px; }

#background.home #custom-content-body #slider .rslides_container .slideshow-text-container .int-dedicated-text h2 { font-weight:100; color:#ac9e88; }
#background h1 strong { font-weight:normal; }
#background .signup { 
background:#9F968C; 
background:#E2DCD6; 
background:#5F8E62; /*green*/
background:#AE0A0B; /* red */
background:#665C55; /* dark grey*/
display:block; 
padding:20px 25px 30px 25px; 
}
#background #hp-portals .sidebar-nav .signup h2 {
color:#06284E; 
color:#AE0A0B;
color:#fff;
font-family: 'DinproRegular', 'DinproBold', Verdana, Arial, Helvetica, sans-serif;
font-size:19px; line-height:25px;
font-size:26px; line-height:32px;
font-size:23px; line-height:29px;
}
#background #hp-portals .sidebar-nav .signup h2 { margin:0 0 8px 0; }
#background .signup p { margin:0; }
#background .signup p { 
color:#000; 
color:#fff;
font-size:19px; line-height:25px;
font-size:16px; line-height:24px;
}
#background #hp-portals .sidebar-nav .signup a.btn-blue { 
 background:#403A35;
}
#background #hp-portals .sidebar-nav .signup a.btn-blue:hover { 
 background:#24211E;
}

#background #custom-content-body .team-entry { min-height:260px; min-height:210px; }
#background #custom-content-body .team-entry p { display:none;}
#background #custom-content-body .team-entry img { width:95%; margin-bottom:7px; }
#background #custom-content-body .team-entry a img,
#background #introduction .brochure a img { border:1px solid #000; padding:3px; background:#222222; }
#background #introduction .brochure a img,
#background #custom-content-body .team-entry a img {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px; 
}
#background #custom-content-body .team-entry a:hover img,
#background #introduction .brochure a:hover img { border:1px solid #97A9B7; border-color:#5e5240; background:#fff; }
#background #custom-content-body .team-entry h3 { margin-bottom:5px; font-size:.9em; }
#background #our-team #custom-content-body .team-entry p { font-size:1.1em; }
#background #custom-content-body p { font-weight:100; }

#background.our-clients #custom-content-body p { font-size:17px; line-height:23px; }


#custom-content-body .sevencol { font-size:0.9em; line-height:1.7em; }
#custom-content-body .sixcol { font-size:1em; line-height:1.65em; }
#custom-content-body .threecol h3 { font-size:1.3em }

#custom-content-body .sevencol,
#custom-content-body .sixcol,
#custom-content-body .fourcol,
#custom-content-body .threecol { padding-bottom:10px; padding-bottom:0; }
/* Custom Content Body Ends */

#background #custom-content-body .portal { 
border:5px solid #000; 
display:block; 
-webkit-border-radius: 17px; 
-moz-border-radius: 17px; 
border-radius: 17px; 
text-align:center;
margin-bottom:20px;
}

#background #custom-content-body .portal:hover,
#background #custom-content-body .portal:hover .title-divider
{ }

#background #custom-content-body .portal .title-divider { padding-top:15px; padding-bottom:15px; border-bottom:2px solid #000; margin-bottom:15px; color:#ac9e88; }
#background #custom-content-body .portal h1,
#background #custom-content-body .portal h2,
#background #custom-content-body .portal h3,
#background #custom-content-body .portal h4,
#background #custom-content-body .portal h5,
#background #custom-content-body .portal h6,
#background #custom-content-body .portal p {
padding-left:35px; padding-right:35px; 
}

#background #custom-content-body a.big-button { 
background:#1f1c16 url(../images/textured_paper_black.jpg);
color:#ac9e88; 
display:inline-block; 
width:auto; 
padding:15px 15px; 
max-width:270px; 
text-align:center; 
float:none; 
margin-left:auto; 
margin-right:auto; 
-webkit-border-radius: 14px; 
-moz-border-radius: 14px; 
border-radius: 14px;
text-transform:uppercase; 
letter-spacing:2px;
}

#background #custom-content-body a.big-button:hover {
color:#fff;
}
#background #custom-content-body a.big-button span {
background:#1f1c16 url(../images/textured_paper_black.jpg);
display:block;
padding:8px 15px;
margin-top:0px; margin-bottom:0px; 
border:8px solid #000;
border-width:2px;
-webkit-border-radius: 6px; 
-moz-border-radius: 6px; 
border-radius: 6px;
}
#background #custom-content-body a.big-button:hover span { border-color:#5e5240; }
#background #custom-content-body p a.big-button { font-size:14px; font-weight:600; }

#background #custom-content-body .block-quote p a.big-button,
#background #custom-content-body .block-quote p a.big-button { margin-left:5px; margin-right:5px; }

.display { display:none; }

img.alignright { float:right; margin-left:20px; margin-bottom:20px; }
img.alignleft { float:left; margin-right:20px; margin-bottom:20px; }

#background .pirg-page-content a img.alignright,
#background .pirg-page-content a img.alignleft { 
border:5px solid #9F968C; border-color:#E2DCD6;
-webkit-border-radius: 6px; 
-moz-border-radius: 6px; 
border-radius: 6px; 
}
#background .pirg-page-content a:hover img.alignright,
#background .pirg-page-content a:hover img.alignleft { border-color:#5F8E62; }

/* Footer Ends */

/* Contact Forms */
/* MailChimp Form Embed Code - Classic - 08/17/2011 */
.wpcf7 form {display:block; position:relative; text-align:left; padding:10px 0 10px 3%}
.wpcf7 h2 {font-weight:bold; padding:0; margin:15px 0; font-size:1.4em;}
.wpcf7 input,
.wpcf7 textarea {border:1px solid #999; -webkit-appearance:none;}
.wpcf7 input[type=checkbox]{-webkit-appearance:checkbox;}
.wpcf7 input[type=radio]{-webkit-appearance:radio;}
.wpcf7 input:focus {border-color:#333;}
.wpcf7 .button {clear:both; background-color: #aaa; border: 0 none; border-radius:4px; color: #FFFFFF; cursor: pointer; display: inline-block; font-size:15px; font-weight: bold; height: 32px; line-height: 32px; margin: 0 5px 10px 0; padding: 0 22px; text-align: center; text-decoration: none; vertical-align: top; white-space: nowrap; width: auto;}
.wpcf7 .button:hover {background-color:#777;}
.wpcf7 .small-meta {font-size: 11px;}
.wpcf7 .nowrap {white-space:nowrap;}

.wpcf7 {clear:left; position:relative; width:96%; padding-bottom:3%; min-height:50px;}
.wpcf7 .size1of2 {clear:none; float:left; display:inline-block; width:46%; margin-right:4%;}
* html .wpcf7 .size1of2 {margin-right:2%; /* Fix for IE6 double margins. */}
.wpcf7 label {display:block; margin-bottom:3px;}
.wpcf7 input,
.wpcf7 textarea {display:block; width:100%; padding:8px 0; text-indent:2%;}
.wpcf7 textarea { width:98%; padding:8px 1%;}
.wpcf7 select {display:inline-block; width:99%; padding:5px 0; margin-bottom:2px;}

.wpcf7 .datefield, .wpcf7 .phonefield-us{padding:5px 0;}
.wpcf7 .datefield input, .wpcf7 .phonefield-us input{display:inline; width:60px; margin:0 2px; letter-spacing:1px; text-align:center; padding:5px 0 2px 0;}
.wpcf7 .phonefield-us .phonearea input, .wpcf7 .phonefield-us .phonedetail1 input{width:40px;}
.wpcf7 .datefield .monthfield input, .wpcf7 .datefield .dayfield input{width:30px;}
.wpcf7 .datefield label, .wpcf7 .phonefield-us label{display:none;}

.wpcf7 .indicates-required {text-align:right; font-size:11px; margin-right:4%;}
.wpcf7 .asterisk {color:#c60; font-size:200%;}
.wpcf7 .asterisk {position:absolute; top:25px; right:10px;}        
.wpcf7 .clear {clear:both;}

.wpcf7 .input-group ul {margin:0; padding:5px 0; list-style:none;}
.wpcf7 .input-group ul li {display:block; padding:3px 0; margin:0;}
.wpcf7 .input-group label {display:inline;}
.wpcf7 .input-group input {display:inline; width:auto; border:none;}

.wpcf7 div#mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%;margin: 0 5%; clear: both;}
.wpcf7 div.response {margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}
.wpcf7 #mce-error-response {display:none;}
.wpcf7 #mce-success-response {color:#529214; display:none;}
.wpcf7 label.error {display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;}

#mc-embedded-subscribe {clear:both; width:auto; display:block; margin:1em 0 1em 5%;}
.wpcf7 #num-subscribers {font-size:1.1em;}
.wpcf7 #num-subscribers span {padding:.5em; border:1px solid #ccc; margin-right:.5em; font-weight:bold;}
.wpcf7{background:#fff; background:none; clear:left; padding:0; }
.wpcf7 form { margin:0; padding:0;}
.wpcf7 label { font-weight:bold; }
.wpcf7 .button,
.wpcf7 .wpcf7-submit { background:#403A35; padding-top:16px; padding-bottom:18px; font-size:24px; height:auto;
-webkit-border-radius: 6px; 
-moz-border-radius: 6px; 
border-radius: 6px; 
}
.wpcf7 .wpcf7-submit { cursor:pointer; max-width:250px; color:#fff; }
.wpcf7 .button:hover,
.wpcf7 .wpcf7-submit:hover { background:#5F8E62; }


/* PAGINATION WP-PAGE-NAVI */	
.navi-back { 
	background:#E2DCD6 url(../imgs/halftone_01.png); 
	float:left; 
	font-family: 'DinproBold', Trebuchet MS, Verdana, Helvetica, sans-serif;
	font-size: 100%;
	line-height: 160%;	
	font-size: 90%;
	line-height: 150%;	
	margin-bottom:0px;
	width:100%; 
	}

.wp-pagenavi {
	float:left; 
	padding-top:15px;
	padding-bottom:15px;
	width:100%; 
	}
	
.wp-pagenavi .pages {
	font-family: 'DinproBold', Trebuchet MS, Verdana, Helvetica, sans-serif;
	padding-left:25px; padding-right:15px;
	}

.wp-pagenavi .page-numbers,
.wp-pagenavi .nav-arrows a { 
	-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;
	color:#9F968C;
	font-size: 140%;
	line-height: 160%;
	font-size: 130%;
	line-height: 150%;
	padding:8px 15px;
	text-decoration:none; }

.wp-pagenavi .page-numbers:hover,
.wp-pagenavi .nav-arrows a:hover { background:#9F968C; color:#000; }	

.wp-pagenavi .page-numbers.current { background:#9F968C; color:#fff; }
.wp-pagenavi .page-numbers.dots { background:none; color:#000 }

.single .navi-back { padding-top:0; padding-bottom:0; }
.single .wp-pagenavi .nav-arrows.left { width:18%; float:left; }
.single .wp-pagenavi .nav-arrows.left a { border-right:1px solid #fff; }
.single .wp-pagenavi h2 { width:54%; padding-left:5%; padding-right:5%; float:left; }
.single .wp-pagenavi h2 .nav-title { display:none; }
.single .wp-pagenavi .nav-arrows.right { width:18%; float:left; }
.single .wp-pagenavi .nav-arrows.right a { border-left:1px solid #fff; }

.single .wp-pagenavi .nav-arrows a { -webkit-border-radius:0px;-moz-border-radius:0px;border-radius:0px; display:block; text-align:center; padding:0; }
.single .wp-pagenavi h2,
.single .wp-pagenavi .nav-arrows a { padding-top:8px; padding-bottom:10px; line-height: 160%; margin-bottom:0; }

/* Captions and Alignment */
#background #hp-portals .pirg-page-content .alignnone {
    margin: 5px 20px 20px 0;
}

#background #hp-portals .pirg-page-content .aligncenter,
#background #hp-portals .pirg-page-content div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

#background #hp-portals .pirg-page-content .alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

#background #hp-portals .pirg-page-content .alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

#background #hp-portals .pirg-page-content .aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

#background #hp-portals .pirg-page-content a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

#background #hp-portals .pirg-page-content a img.alignnone {
    margin: 5px 20px 20px 0;
}

#background #hp-portals .pirg-page-content a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

#background #hp-portals .pirg-page-content a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

#background #hp-portals .pirg-page-content .wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 10px 3px;
    text-align: center;
}

#background #hp-portals .pirg-page-content .wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

#background #hp-portals .pirg-page-content .wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

#background #hp-portals .pirg-page-content .wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

#background #hp-portals .pirg-page-content .wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

#background #hp-portals .pirg-page-content .wp-caption p.wp-caption-text {
    font-size: 13px;
    line-height: 18px;
    margin: 0;
    padding: 0 4px 5px;
}

/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */

@media handheld, only screen and (max-width: 767px) {

.hide { display:none; }
.display { display:block; }

	#main-navigation { padding-bottom:0; }
	#background #site-title h1 a { padding-top:0; }
	#background #site-title h1 strong { display:block; }
	.details { margin-bottom:20px; }
	.submenu-title { 
	font-size: 24px;
	line-height: 26px;
	font-size: 18px;
	line-height: 22px;
	}
	#hp-portals .whats-new-portal .post h1 {
	font-size:17px; line-height:25px; margin-bottom:5px;
	}	
	#background .post p,
	#background #intro-message h2,
	#background #location p,
	#background #location p strong,
	#background #nspirg-foot ul li,
	#background #site-title h1 {
	font-size:15px; line-height:23px; 
	}
	#background #site-title h1{
	font-size:13px; line-height:19px; 
	}
	#background #site-title h1 strong { font-size:30px; line-height:34px; }
	#background .page-title h1 { 
	text-align:center; 
	text-align:left; 
	font-size: 82px;
	line-height: 88px;
	font-size: 42px;
	line-height: 48px;
	font-size: 38px;
	line-height: 44px;
	font-size: 32px;
	line-height: 38px;
	margin-bottom:0;
	}
	#background .pirg-page-content { padding-bottom:10px; }
	
	#background #hp-portals .pirg-page-content h2 {
	font-size:42px;  
	line-height:50px;
	font-size:32px;  
	line-height:40px;
	margin-bottom:10px;
	}
	#background .pirg-page-content h3 {
	font-size:26px;  
	line-height:38px;
	font-size:20px;  
	line-height:30px;
	margin-bottom:25px;
	}
	#background .pirg-page-content h4 {
	font-size:23px;  
	line-height:35px;
	font-size:18px;  
	line-height:28px;
	}
	#background .pirg-page-content h5 {}
	#background .pirg-page-content h6 {}
	#background #hp-portals .pirg-page-content p {
	font-size:21px; line-height:29px;
	font-size:16px; line-height:23px;
	margin:0 0 23px 0; 
	}
	#background #hp-portals .pirg-page-content ol,
	#background #hp-portals .pirg-page-content ul {
	color:#2D2926; 
	font-size:21px; line-height:29px;
	font-size:16px; line-height:23px;
	margin:0 0 33px 0; 
	}
	#background #hp-portals .pirg-page-content ol li,
	#background #hp-portals .pirg-page-content ul li { margin-bottom:10px; }
	
	#background .pirg-page-content { padding-top:0; }


	#background #nspirg-foot ul { margin-top:0; margin-bottom:0; padding-top:0; }
	#background #location p strong { display:block; }
	
.bounding { 
padding-top:0px;
}
	
	#background #nspirg-foot #copyright { padding-top:10px; }
	#background #nspirg-foot #copyright p {
	font-size:11px; line-height:17px; text-align:left;
	}
	
	#intro-message .row { padding-top:0; }
	.cal-block { margin-top:20px; }
	.twitter-f { margin-top:30px; }
	.wg-portal { padding-top:10px; padding-bottom:10px; }
	
	#nspirg-social img { float:left; margin-left:0px; margin-right:10px; margin-bottom:10px; width:100px; height:32px; width:102px; height:33px; }

}

/* Smaller screens */

@media only screen and (max-width: 540px) {	

	#nspirg-social img.i-tw { float:right; }
	#background #site-title h1 { max-width:200px; }
	.wpcf7 textarea { width:96%; padding:8px 2%;}
	
	}