/*
 * HTML5 Boilerplate
 *
 * 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;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

/*Layout
------------------------------------*/

.l_align_left {
    float: left;
}
.l_align_right {
    float: right;
}
.l_ul_reset {
    margin: 0;
    padding: 0;
    list-style: none;
}
.l_ul_inline li {
    margin: 0;
    display: inline;
}

/*Typography
------------------------------------*/

a {
    text-decoration: none;
}
h1, .h1 {
    font-size: 2.167em;
    font-weight: normal;
}

h2, .h2{
    font-size: 1.333em;
}

h3, .h3 {
    font-size: 1.167em;
}

h4, .h4 {
    font-size: 1em;
}

p, .p {
    margin-top: 0;
    margin-bottom: 1.667em;
}
ul, ol {
    margin-top: 0;
    margin-left: 1.250em;
    padding-left: 0;
    margin-bottom: 1.667em;
    li {
        margin-bottom: 0.417em;
    }
}

/*Structure
------------------------------------*/

.wrapper {
    width: 960px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
}
#header {
    background: #FFF;
    position: relative;
}
#header a img {
    display: block;
    border: 0;
}

.banner {
    display: block;
    position: relative;
    z-index: 0;
}

.main {
    position: relative;
    z-index: 1;
}

.column_side {
    width: 230px;
}

.column_main {
    width: 680px;
    margin-right: 25px;
    margin-top: 15px;
}
.m_internal_links {
    font-size: 0.917em;
}
.m_internal_links a {
    color: #474c46;
}
.m_internal_links a:hover {
    color: #008dcb;
}
.m_internal_info {
    font-size: 0.917em;
    display: block;
}
.footer_default .logo {
    display: inline-block;
    margin-bottom: 15px;
}
.footer_default .m_internal_links {
    margin: 0 0 0.909em 0;   
}
.footer_home .logo {
    float: left;
}
.footer_home .m_internal_links,
.footer_home .m_internal_info {
    margin-left: 110px;
}
.footer_home .m_internal_links {
    margin-top: 45px;
    margin-bottom: 0;
}
.m_sponsors,
.m_sponsors dt {
    margin-bottom: 15px;
}
.m_sponsors dd {
    float: left;
    margin: 0 15px 0 0;
    height: 55px;
    display: block;
    vertical-align: middle;

}
.m_sponsors dd img {
}


/*Primary Nav
------------------------------------*/

.m_nav_primary {
    position: relative;
    margin-top: -38px;
}
.m_nav_primary .title {
    height: 38px;
    line-height: 38px;
    padding: 0 34px;
    font-size: 1.167em;
    position: relative;
    margin: 0;
}
.m_nav_primary .title a {
    display: block;
    padding: 13px 0;
    font-size: 1em;
    line-height: 1em;
    color: #FFF;
    position: relative;
}
.m_nav_primary .title:before,
.m_nav_primary > ul > li > a:before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    margin-top: -12px;
    width: 23px;
    height: 23px;
    display: block;
}

.m_nav_primary li {
    border-bottom: 1px solid #e4e4e4;
}
.m_nav_primary li.selected > a {
    cursor: default;
}
.m_nav_primary li ul li:last-child {
    border-bottom: none;
}
.m_nav_primary li ul {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.m_nav_primary li.selected ul {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}
.m_nav_primary a {
    display: block;
    padding: 15px 34px;
    font-size: 1.167em;
    line-height: 1em;
    color: #868686;
    position: relative;
}



.lt-ie9 .m_nav_primary a {
    zoom: 1;
    z-index: 0;
}

/*Toolbar
------------------------------------*/

.m_toolbar {
    margin-bottom: 30px;
}

.m_breadcrumbs li,
.m_breadcrumbs a {
    margin-right: 0.417em;
    color: #474c46;
}
.m_breadcrumbs a:hover {
    color: #048cc8;
}

.btn_share {
    position: relative;
    margin-right: 7px;
    cursor: pointer;
}

.btn_print {
    margin-right: 2px;
}

.btn_font_decrease {
    font-size: 0.917em;
}
.btn_font_decrease,
.btn_font_increase {
    margin-left: 2px;   
}
.btn_print:hover,
.btn_font_decrease:hover,
.btn_font_increase:hover {
    color: #008dcb; 
    cursor: pointer;  
}
.btn_font_decrease.disabled,
.btn_font_increase.disabled,
.btn_font_decrease.disabled:hover,
.btn_font_increase.disabled:hover {
    color: #CCC;
    cursor: default;
}

/*Supplementary items
------------------------------------*/

.m_group_links,
.m_other_info  {
    margin-bottom: 50px;
}
.m_other_info .title,
.m_group_links .title {
     color: #008DCB;
    font-weight: bold;
    margin-top: 0; 
}
.m_group_links a {
    color: #008dcb; 
    font-weight: bold;
    position: relative;
    padding-left: 15px;
    display: inline-block;
    margin-bottom: 1em;
}
.m_group_links a:hover {
    color: #474c46;
}
.m_group_links a:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -5px;
    width: 8px;
    height: 11px;
    display: block;
}
.m_other_info .article  {
    border-top:1px dotted #CCC
}
.m_other_info .article a {
    display: block;
    padding: 20px 0; 
}
.m_other_info .article .img_thumb {
    border: 2px solid #f0efed;
    margin-right: 20px;
}
.m_other_info .article .info {
    display: block;
    float: right;
    margin-right: 5px;
    width: 575px;
}
.m_other_info .article h3 {
    font-size: 1.167em;
    color: #008dcb;
}
.m_other_info .article p {
    color: #474c46;
    margin: 0;
}
.m_other_info .article a:hover p {
    color: #008dcb;   
}

.m_other_info .article img {
    margin-right: 20px; 
	border: 2px solid #F0EEEE; 
	width:73px;
	height:73px
	
}




/*Forms
------------------------------------*/

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

.m_form p:after {
    clear: both;
}

.m_form p {
    *zoom: 1;
    display: block;
    margin: 0;
    padding: 0 0 10px 0;
}
.m_form label,
.m_form input[type=text],
.m_form select {
    font-size: 1.167em;
}
.m_form label {
    float: left;
}
.m_form .error {
    font-style: italic;
    color: #ff3333;
}

.m_form_default {
    margin-bottom: 50px;
}

.m_form legend {
    display: block;
}

.m_form_default legend {
    font-weight: bold;
    font-size: 1.333em;
    color: #008dcb;
    margin-bottom: 1.250em;
}
.m_form_subscribe legend {
    color: #FFF;
    font-weight: normal;
    font-size: 1.833em;
    margin-bottom: 0.682em;
}

.m_form_default label {
    color: #008dcb;
    width: 100px;
    padding-right: 10px;
}
.m_form_default .error {
    margin-left: 110px;
}

.m_form .fieldx2 {
    width: 320px;
}

.m_form_subscribe label {
    float: none;
    padding-bottom: 5px;
    display: block;
    color: #FFF;
}
.m_form_subscribe .fieldx2 label {
    float: left;
    width: 75px;
    padding-right: 10px;
    padding-bottom: 0;
}
.m_form .fieldx2 .error {
    margin-left: 85px;
    padding-top: 10px;
    display: block;
}

.m_form_default input[type=text],
.m_form_default select {
    width: 460px;
}
.m_form_subscribe input[type=text],
.m_form_subscribe select,
.m_form_subscribe textarea,
.m_form_subscribe .error {
    width: 555px;
    margin-left: 85px;
}
.m_form_subscribe textarea {
    height: 60px;
}
.m_form_subscribe .fieldx2 input[type=text],
.m_form_subscribe .fieldx2 select {
    width: 220px;
    margin: 0;
} 
.m_form_default .btn_submit_default {
    border: 0;
    padding: 0;
    width: 110px;
    height: 28px;
    display: block;
    overflow: hidden;
    text-indent: -9999em;
    margin-left: 110px;
}
.m_form_subscribe .submit {
    margin-left: 85px;
    margin-top: 5px;
}


/*Header byline
------------------------------------*/

.m_byline {
    color: #0b93cf;
    font-size: 2em;
    font-weight: normal;
    vertical-align: middle;
    text-align: right;
    width: 500px;
    position: absolute;
    top: 50%;
    right: 25px;
}


/*Slideshow
------------------------------------*/

.iosSlider {
    width: 100%;
    /* this height ends up being your maximum height, 
     * if you want it to scale forever, set it to 
     * a very high number */
    height: 244px;
    overflow: hidden;
}
.iosSlider .slider {
    width: 100%;
    height: 100%;
}
.iosSlider .slider .item {
    float: left;
    width: 100%;
}
.iosSlider .slider .item img {
    width: 100%;
    height: auto;
}
.iosSlider .selectorsBlock {
    position: absolute;
    right: 20px;
    bottom: 20px;
    height: 10px;
    width: 60px;
    z-index: 10;
}
.iosSlider .selectorsBlock .selectors {
    height: 10px;
}
.iosSlider .selectors .item {
    float: left;
    margin-left: 3px;
    display: block;
    width: 10px;
    height: 10px;
    background: #7fa5ae;
    background: rgba(127, 165, 174, 0.5);
    cursor: pointer;
}
.iosSlider .selectors .selected,
.iosSlider .selectors .item:hover {
    background: #14475c;
    background: rgba(20, 71, 92, 0.5);
    cursor: default;
}

/*Subscribe
------------------------------------*/

.m_subscribe {
    margin-bottom: 15px;
    position: relative;
}

.m_youtube,
.m_youtube iframe {
  width: 440px;
  height: 300px;  
  display: block;
}

.m_summary {
    width: 205px;
    padding: 15px;
    display: block;
	
}
.m_summary .title {
    color: #FFF;
    font-weight: normal;
    font-size: 1.833em;
	display:none
}
.m_summary p {
    color: #FFF;
	display:none

}
.btn_subscribe:link,
.btn_subscribe:visited {
    width: 173px;
    height: 39px;
    display: block;
    text-indent: -9999em;
    outline: none;
	position:relative;
	top:210px;
	left:15px
}

.m_detail {
    position: absolute;
    top: 0;
    left: 0;
    padding: 15px;
    display: block;
    width: 650px;
    z-index: 100;
}
.btn_subscribe_sm,
.btn_close {
    float: left;
    height: 31px;
    display: block;
    overflow: hidden;
    text-indent: -9999em;
    border: 0;
    padding: 0;
    margin-right: 5px;
}

.btn_subscribe_sm {
    width: 137px;
}
.btn_close {
    width: 80px;
}

/*Feature articles
------------------------------------*/

.m_features {
    width: 335px;
    margin-bottom: 15px;
}
.m_features .article a {
    padding-bottom: 10px;
    display: block;
}

.m_features .title {
    font-size: 1.5em;
    color: #ff690b;
    margin-bottom: 0.556em;
    font-weight: normal;
}
.m_features .img_thumb {
    margin-right: 15px;
    -moz-box-shadow:    0px 4px 3px #CCC, 0px -1px 3px #CCC;
    -webkit-box-shadow: 0px 4px 3px #CCC, 0px -1px 3px #CCC;
    box-shadow: 0px 4px 3px #CCC, 0px -1px 3px #CCC;
    border: 3px solid #FFF;
    padding: 3px;
    background: #FFF;
    display: block;
}
.lt-ie9 .m_features .img_thumb {
    border: 1px solid #CCC;
}
.m_features .info {
    width: 150px;
}
.m_features .info h3 {
    color: #38849e;
    font-size: 1.167em;
    margin-bottom: 0.714em;
}
.m_features .info p {
    color: #565656;
    margin: 0;
}
.m_features .article a:hover p {
    color: #008dcb;
}


/* ==========================================================================
   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: 100%;
}

/*
 * 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.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }

    .wrapper {
        border: none;
    }
    #header,
    #footer {
        padding-left: 0;
        padding-right: 0;
        border: none;
    }

    .column_main {
        margin-right: 0;
        width: auto;
    }

    /*.l_align_left,*/
    .l_align_right,
    .footer_home .logo {
        float: none;
    }
    .m_nav_primary,
    .m_utilities,
    .banner,
    .m_form,
    .m_subscribe {
        display: none;
    }

    .m_features,
    .m_features .info {
        width: auto;
    }
}
