/* -- This is the place to add your own style modifications without touching the original styles -- */
#wrap,
.limit {
    width:1002px;
}

/* ---------[ Top Navigation Adjustments ]--------- */

#topnav { text-transform:none; 
max-width: 1002px;
margin-right: auto;
margin-left: auto;
}

#subheader {max-width: 1002px;
margin-right: auto;
margin-left: auto;}

/*Custom Login Form*/
#loginform-custom  {
    padding:25px 15px 20px;
    background:#f5f5f5;
    border:1px solid #e5e5e5;
}

/*#loginform-custom  {*/
/*padding:0;*/
/*margin:0;*/
/*}*/

#loginform-custom input[type="text"],
#loginform-custom input[type="password"] {
    margin: 0 0 5px 0;
    display:inline;
    padding: 6px 5px;
    width:180px;
    font-family:inherit;
    border:1px solid #e5e5e5;
    background:#fff;

    color:#999;
    font-family:inherit;
}

#loginform-custom input[type="submit"],
#loginform-custom input[type="button"] {
    background: #336699;
    color: #fff;
    border:1px solid #336699;
    padding: 5px 8px;
    font-family:inherit;
    display:inline;
    cursor:pointer;

    margin: 0 0 5px;
}

#loginform-custom input[type="submit"]:hover,
#loginform-custom input[type="button"]:hover {
    background:#000;
    border-color:#000;
}

.secured {
    background: #f5f5f5;
    padding: 10px;
}

/*Custom css for last child border*/
#topnav ul.nav>li:last-child a{
    border-right: none;
}

/*Fix widget title spacing*/
h3.widgettitle {
    padding-right: 58px !important;
}

#login-error {
    margin-bottom: 10px;
    /*border: 1px solid #CC3333;*/
    text-align: center;
}

#alt-home-bottom {
    padding: 0;
}
.flex-viewport {
    min-height: 402px !important;
    /*height: 402px !important;*/
}
#flextabs .flex-viewport {
    /*min-height: 402px !important;*/
    height: 402px !important;
}
.contactinfo, blockquote {
	background: #fff;
	border:1px solid #E5E5E5;
}
blockquote {
    color: #555;
}
.section-secured .contactinfo, .section-secured blockquote {
    background: #FFECBC;
    border:1px solid #F7941E;
}
#footer {
    padding: 20px 0 15px 0;
    border: 1px solid #F7941E;
}
/* --------[ Narrow Featured Content Slider ]-------- */

/* --------[ Narrow Featured Content Slider ]-------- */

.featured.narrow {
    display:block;
    margin: 0 auto 40px;
    position:relative;
    z-index:1;
    background:#D4D5DD url(images/loading.gif) 50% 50% no-repeat;
    width:auto;
    padding:0;
    border:1px solid #A9A9AD;
    min-height:200px;
}

.featured.narrow .myflexslider .feature-image,
.featured.narrow .myflexslider .feature-video {
    width:98%;
    height:auto;
    float:none;
    margin:0 auto;
    border:0;
    background:#fff;
    padding:1%;
    border-bottom:1px solid #E5E5E5;
    box-shadow:none;
}


.featured.narrow .myflexslider .slide-container {
    padding:0;
    background:transparent;
    margin:0 auto;
    border:0;
    display:block;
    width:100%;
    position:relative;
    z-index:2;
    background:#fff;
}


.featured.wide .myflexslider .slide-container {
    padding:0;
    background:transparent;
    margin:0 auto;
    border:0;
    display:block;
    width:100%;
    position:relative;
    z-index:2;
    background:#fff;
}


.featured.cat .thumbnav .flex-direction-nav a {
    width: 25px;
    height: 25px;
    margin: -27px 0 0;
    background: #fff url(images/bg_direction_nav1.png) no-repeat 0 0;
    margin: 0;
    top: 0;
    opacity:0.8;
    border: 1px solid #E5E5E5;
}


.featured.narrow .flex-direction-nav a {
    background: #fff url(images/bg_direction_nav1.png) no-repeat 0 0;
    border: 1px solid #E5E5E5;
}


.widget.subscribebox {
    padding:25px 15px 20px;
    background: #D4D5DD ;
    border:1px solid #D4D5DD;
}
.widget.subscribebox .textwidget, .widget.subscribebox .textwidget h4 {
    color: #000000;
}

.section-secured .widget.subscribebox {
    padding:25px 15px 20px;
    background: #FFECBC;
    border:1px solid #F7941E;
}

.section-secured .widget.subscribebox .textwidget {
    color: #666;
}

.section-secured .widget.subscribebox .textwidget h4{
    color: #333;
}

/*==========search-icon==========*/
.searchform #searchform input[type="submit"]{
    background: #f8931c;
    border: 1px solid #f8931c;
}
#topnav .limit{
    position: relative;
}
.search-block .searchform{
    display: none;
    padding: 10px 10px 5px;
    border: 1px solid #e5e5e5;
    background: #f5f5f5;
    position: absolute;
    top: 43px;
    right: 0;
    z-index: 99;
}
.search-icon:hover{
    width: 24px;
    height: 35px;
    background: url(./images/search-icon-grey.png) no-repeat center;
}
.search-icon{
    width: 24px;
    height: 35px;
    background: url(./images/search-icon.png) no-repeat center;
    position: absolute;
    top: 0;
    right: 24px;
}

.slides img,
.slides img.thumbnail {
    width:100%;
    max-width:none;
    max-height: 218px;
    display: block;
    margin:0;
    padding:0;
    border:0;
}

#featured-wide .slides img,
#featured-wide .slides img.thumbnail {
    width:100%;
    max-width:none;
    max-height: none !important;
    height:auto;
    display: block;
    margin:0;
    padding:0;
    border:0;
}

.featured-cat-resized .featured.cat .myflexslider.thumbnav img,
.featured-cat-resized .featured.cat .myflexslider.thumbnav img:hover,
.featured-cat-resized .featured.cat .myflexslider.thumbnav .flex-active-slide img,
.featured-cat-resized .featured.cat .myflexslider .slides img {
    display: block;
    opacity: 1;
    cursor: pointer;
    float:none;
    padding:0;
    background:transparent;
    border:0;
    margin: 0 auto 15px;
    max-height: 300px;
    width:100%;
}

.featured-tabs {
    background:#fff;
    border:1px solid #E5E5E5;
}


.flextabs-custom-controls {
    height: 50px;
    overflow: hidden;
    background:#fff;
}


.testimonial {
    background:#fff url(images/test-quote.png) 20px 20px no-repeat;
       border:1px solid #E5E5E5;
       color: #555;
   
}

.testimonial.small {
    background:#fff;
    border:1px solid #E5E5E5;
}


/*
*
*/

.section-secured .featured-tabs {
    background:#fff;
      border:1px solid #F7941E;
   
}

.section-secured .flextabs-custom-controls {
    background:#fff;
    
}

.section-secured .testimonial {
    background:#fff url(images/test-quote.png) 20px 20px no-repeat;
    border:1px solid #F7941E;
}


.section-secured .testimonial.small {
	background:#fff;
	    border:1px solid #F7941E;
    
}

.flextabs-custom-controls a,
.flextabs-custom-controls a:link,
.flextabs-custom-controls a:visited {
    border: none;
    color: #555;
}

.section-secured .flextabs-custom-controls a.flex-active,
.section-secured .flextabs-custom-controls a.flex-active:link,
.section-secured .flextabs-custom-controls a.flex-active:visited {
    background:#fff;
    color:#555;
    border:1px solid #F7941E;
}

/*.archive-tabs a,*/
/*.archive-tabs a:link,*/
/*.archive-tabs a:visited {*/
    /*border:1px solid #FFECBC;*/

/*}*/

.section-secured .flextabs-custom-controls a,
.section-secured .flextabs-custom-controls a:link,
.section-secured .flextabs-custom-controls a:visited {
    border: none;
    color: #555;
}

#footnav ul a,
#footnav ul a:link,
#footnav ul a:visited  {
    display:inline;
    padding:0;
    text-decoration:none;
    color:#000000;
}

#footnav ul a:hover,
#footnav ul a:active {
    color:#ffffff;
}

.logo-member img {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    max-width:100% !important;
}


