/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



body, html {
  font-family: Helvetica, Arial, Verdana; padding: 0; margin: 0;
}
body { background-color: #f9f0e1; padding: 0; margin: 0 }

#wrapper {   min-height: 100%; margin-bottom: 100px;}
#inner { width: 1060px; background-color: #fff; border-left: 1px solid #ccc;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc; margin: 0 auto; padding: 0; height: 100%; min-height: 100%}

header { width: 1060px; background-color: #fff; border-left: 1px solid #ccc;border-right: 1px solid #ccc; margin: 0 auto; padding: 0; min-height: 300px;}
header .news-content a { font-style: italic; }
nav { width: 100%; background-color: #333; border-left: 1px solid #ccc;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc; margin: 0 auto; padding: 0; height: 25px;}

body.page #inner { background-color: #fff; }
body.page, body.page a { color: #095280;}

table td { vertical-align: top; }

label { font-style: italic; font-weight: bold;}
label span { font-style: normal; font-weight: normal;}

h2 { clear: both; margin: 0;  }

.footer-logo { display: block; height: 60px; margin-left: 10px; position: absolute;}
footer { font-size: 14px; text-align: center; margin-top: 20px;}
footer a { color: #000; text-decoration: none; }
footer p { margin-top: 5px; margin-bottom: 0; padding: 0; }

div.content { padding: 0 35px; }

form fieldset p { margin-bottom: 2px; margin: 6px 0}
input[type=text], textarea { background-color: #f9f0e1; border: 1px solid #e7eef2; padding: 10px 15px; margin: 5px 0 10px; width: 680px;}
textarea { height: 50px;}
.char_calc { margin: 5px 0 -3px;}

.ui-datepicker {font-size:12px !important;}
.year-picker, .short { width: 365px !important;}

input[type=submit] { height: 29px; background: #cc3d1d; border-radius: 15px 15px; width: 315px;  color: #fff; font-size: 19px; text-align: center; padding: 6px 0; font-style: italic; margin-right: 3px; margin-top: 15px; border: 0; }
input[type=submit]:hover { background: #9C240A; }

#notice .error { color: #A92022;  background-color: #BE7F81;  }
#notice .error { width: 100%; padding: 10px 8px 8px; background-color: #ffbabb;border: 1px solid #A92022; color: #A92022; ; margin-bottom: 10px; font-size: 12px;}
#notice .notice { width: 100%; padding: 10px 8px 8px; background-color: #dff2c4;border: 1px solid #4e8a2d; color: #4e8a2d; margin-bottom: 10px; font-size: 12px;}
input.error, textarea.error { border: 1px solid #a92022 !important;}
label.error { color: #a92022;}

header .logo { float: right; margin: 13px 18px;}
header .page { float: left; margin: 28px 0 0 35px; }
header ul { display: block ;  float: left; width: 454px; margin-left: 25px; margin-top: 27px; line-height: 20px; font-size: 14px; padding: 0;padding-left: 0; letter-spacing: -0.1px; min-height: 350px;}
header ul li { margin-left: 20px; list-style-image: url(../_images/bullet.jpg); padding-bottom: 1px;}
header ul .header { font-style: italic; font-size: 20px; font-weight: bold; list-style: none; margin-left: 0; padding-left: 0; }
a { text-decoration: none; color: #333; }
a:hover { text-decoration: none; color: #2C54BE; }
header a { text-decoration: none; color: #333; font-style: normal}
header a:hover { text-decoration: none; color: #2C54BE; }

nav.header { color: #fff; width: 100%; }

nav.header ul { margin: 0 auto; padding: 0; width: 1060px; height: 25px; background-color: #333}
nav.header a { color: #fff;  padding-top: 3px; display: block; font-size: 16px;}
nav.header .first { font-style: italic; }
nav.header a:hover { color: #fff; }
nav.header ul li { float: left; list-style: none;}
nav.header li a { padding: 2px 34px;}


.newsitem { float: left; width: 660px; text-align: left; margin-left: 34px; font-size: 15px; letter-spacing: -0.1px; line-height: 13px; margin-bottom: 0px;}
.newsitem .details { color: #999; font-style: italic; font-size: 12px; margin-bottom: 5px; letter-spacing: 0.2px; float: right; margin-top: 3px;}
.newsitem .news-content { line-height: 20px;}
.newsitem .news-heading { text-align: left; font-weight: bold; margin-bottom: 4px; color: #021da5; display: block; line-height: 18px;}
.newsitem .news-heading-nolink { text-align: left; font-weight: bold; margin-bottom: 4px; color: #222; display: block; }
.newsitem img { float: left; display: block; margin-right: 10px; margin-bottom: 10px; margin-top: 2px;}
.newsitem .news-content a { color: #cc3d1d; font-style: italic; }
.news-content .embed-ad { float: left; display: block;  margin: 0 10px 0 0;}
#front .content-col .col { width: 344px; float: left; }

.feature-article { clear: both; padding: 26px 0 8px 0; margin: 0 0 12px 33px ; width: 660px; /*border-bottom: 1px solid #ccc*/ }
.feature-article .read-more { font-size: 14px;}
.feature-article .news-image { margin-bottom: 15px;}
.display-ad .ad { float: left; margin: 0  0 15px 0;  }
.news-ad  { display: block; float: left; margin: 0 15px 0 0 !important;  }

.sourcelink { color: #bbb; font-size: 13px; }

.news-content p { margin: 0 0 1em 0; }
.newsitem { border-bottom: 1px solid #cecece; margin-bottom: 10px; }
a { color: #cc3d1d; font-style: italic;}


.content-col { width: 725px; float: left;}
.content-col .padding { margin: 0 0 12px 33px; }
.content-col .padding h1 { padding-top: 0; }
.content-col .padding h1.padheader { padding-top: 15px; }
.breadcrumb { font-size: 14px; padding-top: 12px;}

.ads-col {  float: left; padding: 32px 0 0}
.ads-col .display-ad  { padding: 0 30px 15px 0;  display: block;}
.ads-col .display-ad img {  }

h1 { font-size: 1.5em;}
.ad-border-left { position: fixed; margin-left: -170px;  top: 28px;}
.ad-border-right { position: fixed; margin-left: 1079px; top: 28px; }
/* ============================================================================= FORMS */
.contact label { padding: 4px; font-size: 14px; width: 115px; display: block; float: left; padding-top: 8px; font-weight: normal;}
.contact input[type=text], .contact textarea { padding: 4px; font-size: 12px; width: 356px; border: 1px solid #c0c0c0; margin-bottom: 5px; }

/* ============================================================================= CURRENT ISSUE */
.issue .issue-cover { margin-bottom: 10px; }
.issue .cover { text-align: right; background: #faded3; }
.issue .pdf-instruct { padding-left: 2px; color: #464646; font-size: 11px; margin: 18px 0; }
.issue h1  { font-size: 1.5em; line-height: 24px; margin: 0 0 18px 0; color: #252525; border: 1px solid #dadada; border-left: none; border-right: none; padding: 12px 2px;}
.issue .issue-block { }
.issue td.number { width: 35px; }
.issue .issue-block table { margin: 6px 0 48px;}
.topofpage { margin-top: 20px; padding-top: 10px; border-top: 1px solid #dadada; display: block; font-size: 11px; font-weight: bold; }

/* ============================================================================= BACK ISSUES */
.back-issues h1 { padding: 14px 2px; margin-bottom: 5px;}
.back-issues .issue-block h2 { font-size: 12px; font-weight: bold; color: #252525; margin-top: 0; padding-top: 0; margin-bottom: 0;}
.back-issues .issue-block { width: 160px; margin-right: 10px; border-top: 1px solid #dadada; padding-top: 30px; float: left; }
.back-issues .issue-block .img-block { height: 205px; }
.back-issues .issue-block img { width: 140px;}
.back-issues .issue-block.noborder { border: none}
.back-issues .issue-block.nomargin { margin-right: 0}
.back-issues .issue-block ul { margin: 0; padding: 0;}
.back-issues .issue-block li { list-style: none; margin: 0; padding: 0; }
.back-issues .issue-block li a { color: #ef5c22; font-size: 11px; line-height: 12px; margin-bottom: 4px; display: block;}

/* ============================================================================= SEARCH */
#adv_search { border-bottom: 1px solid #d9d9d9; padding-bottom: 34px; margin-bottom: 28px;}
#adv_search input[type=text] { border: 1px solid #d9d9d9; padding: 6px; margin-bottom: 7px; width: 100px; }
#adv_search input[type=image] { margin-top: 10px;}
h2.search { margin-bottom: 24px; }
.search-results { border-bottom: 1px solid #d9d9d9; padding: 10px 0;}
.search-results .search-title { color: #252525 }
/* ============================================================================= ARTICLE */
.ad { margin-top: 20px; }


/* ============================================================================= ARTICLE */
#article h1 { margin: 29px 0 11px; }
#article .author { font-weight: bold; font-style: italic; color: #555555}
#lightbox .lightbox-area img { height: 100px; border: 1px solid #dadada; margin-right: 9px;}
#lightbox .cell { float: left; margin-bottom: 10px;}
#lightbox .captions { color: #464646; line-height: 17px; clear: both; margin-bottom: 25px; border-bottom: 1px solid #dadada;padding: 0px 0 10px;}
#lightbox .captions a { color: #6C6C6C; display: block; font-style: italic; font-weight: bold; }
#lightbox .attach_desc { font-size: 11px; color: #464646; margin-left: 2px; }
#lightbox .article-body {  color: #252525; line-height: 18px; }


.news-col { width: 190px;}
.news-col .newsitem { margin-left: 0; padding-left: 0; }

.news-content img { float: left; margin: 0 20px 5px 0 }

.current_issue_page h1 { margin: 20px 50px 0 50px;}
.current_issue_page .image  { float: left; margin: 10px 50px;}
.current_issue_page .nav { float: left; margin: 0px 0; }
header .feature-article { overflow: hidden; height: 300px;}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.footer-contacts { float: left; text-align: center; width: 1060px;padding: 20px 0 0  }

.mobile-header { background-color: #fff; padding-top: 10px;}
.mobile-header .logo { margin: 0 auto; display: block; width: 90%;}

.mobile-loader, .mobile-nav { display: none;}
.mobile-on { display: none; }
.mobile-off { display: block; }


/************************************************************************************
RESPONSIVE
*************************************************************************************/
@media screen and (max-width: 1408px)  {
	.ad-border-left, .ad-border-right { display: none;}
}


/************************************************************************************
Tablet
*************************************************************************************/
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) {
	
}

@media screen and (min-width: 768px) and (max-width: 990px) {

}
@media screen and (min-width: 991px) and (max-width: 1024px) {
	
}

/************************************************************************************
Mobile - Landscape
*************************************************************************************/
@media screen and (min-width: 480px) and (max-width: 1024px) {

}

/************************************************************************************
Mobile - Portrait
*************************************************************************************/
@media screen and (max-width: 479px) {
	/* Mobile stuff here */
	
	.mobile-loader, .mobile-nav { display: block;}
	.mobile-on { display: block; }
	.mobile-off { display: none; }
	
	html, body  { height: 100%; }
	.mobile-loader { position: fixed; width: 100%; height: 23px; background-color: #fff; padding: 10px 10px;z-index: 65532; border-bottom: 1px solid #888;}
	.mobile-nav { display: none; height: 100%; width: 100%; background: rgba(60,60,60,.9); position: fixed; z-index: 65530;  }
	.mobile-nav .clicker { background-color: transparent; max-width: 100%; height: 100%; margin-left: 300px; cursor: pointer;}
	.mobile-nav .container { display: none; position: absolute; top: 0; left: 0; width: 300px; height: 100%; border-top: 2px solid red; overflow: auto; color: #eee; background-color: #222; z-index: 65531;}
	.mobile-nav .inner { margin-top: 41px;  width: 300px;  }
	.mobile-spacer { height: 41px; width: 100%;}
	
	.mobile-menu .submenu > ul { display: none;}
	.mobile-menu .submenu div { cursor: pointer; }
	.mobile-menu li > div:after { font-size: 10px; margin-left: 8px; content: '\25BC'; }
	.mobile-menu li > div:only-child:after { margin-left: 0; content: ''; }
	#wrapper img { max-width: 92%; }
	.feature-article { margin: 0 0 12px 15px; width: 100%; }
	.feature-article img { width: 92%; }
	.content-col { width: 99% !important; float: none; }
	.news-col .newsitem { width: 100%; }
	#wrapper { width: 100%; overflow: hidden;}
	#inner { width: 100%;}
	p, pre { width: 92%; }
	.newsitem { width: 100%; margin: 0; padding: 10px 10px; background-color: #fff !important;}
	.newsitem .news-heading { width: 98%; }
	.mobilead img { margin-left: 10px; }
	body { background-color: #fff; }
	h2 { width: 97%; }
	.feature-article { border-bottom: none;}
	.display-ad { padding: 0; margin: 0 auto;}
	.display-ad img { width: auto !important;}
	.ads-col .display-ad { }
	.ads-col { margin-left: 5%; background-color: #fff;}
	body { background-color: #fff !important}
	.footer-logo { position: inherit; margin: 0 auto; display: block; float: none; }
	.footer-contacts { width: 80%; float: none; margin: 0 auto; }
menu, ol, ul { padding: 0; padding-left: 20px; width: 80%; }
#mobile-menu li { border-bottom: 1px solid #fff; width: 100%;}
#mobile-menu li a { border-bottom: 1px solid #444; padding: 2px 4px; width: 98%; display: block;}

.mobilead { clear: both; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: 20px 5px; width: 100%; }
}