/*
Theme Name: Twenty Eleven
Theme URI: http://wordpress.org/extend/themes/twentyeleven
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
Version: 1.2
License: GNU General Public License
License URI: license.txt
Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

@font-face {font-family: 'ProximaNova_Sbold';src: url('webfonts/1DF172_0_0.eot');src: url('webfonts/1DF172_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/1DF172_0_0.woff') format('woff'),url('webfonts/1DF172_0_0.ttf') format('truetype'),url('webfonts/1DF172_0_0.svg#wf') format('svg');}
 
  
@font-face {font-family: 'ProximaNova_Xbold';src: url('webfonts/1DF172_1_0.eot');src: url('webfonts/1DF172_1_0.eot?#iefix') format('embedded-opentype'),url('webfonts/1DF172_1_0.woff') format('woff'),url('webfonts/1DF172_1_0.ttf') format('truetype'),url('webfonts/1DF172_1_0.svg#wf') format('svg');}

/*@font-face { 
            font-family: "ProximaNova_Sbold"; 
            src: url("fonts/proximanova-sbold.eot?"); 
            src: url("fonts/proximanova-sbold.otf");  
            src: url("fonts/proximanova-sbold.ttf"); 
        }
@font-face { 
            font-family: "ProximaNova_Xbold"; 
            src: url("fonts/proximanova-xbold.eot?"); 
            src: url("fonts/proximanova-xbold.otf");  
            src: url("fonts/proximanova-xbold.ttf"); 
        }
@font-face { 
            font-family: "_ProximaNova_Xbold"; 
            src: url("fonts/proximanova-xbold.eot?"); 
            src: url("fonts/proximanova-xbold.otf");  
            src: url("fonts/proximanova-xbold.ttf"); 
        }   */
/*@font-face { font-family: "ProximaNova_Sbold"; src: url("fonts/proximanova-sbold.otf"); }
@font-face { font-family: "ProximaNova_Xbold"; src: url("fonts/proximanova-xbold.otf"); }*/
/*@font-face { font-family: "ProximaNova_Xbold"; src: url("fonts/ProximaNova-Xbold.otf"); }*/
 
/* @font-face {
  font-family: "ProximaNova_Sbold";
  src: url('fonts/proximanova-sbold.eot'); 
  src: url('fonts/proximanova-sbold.eot?') format('embedded-opentype'), 
       url('fonts/proximanova-sbold.ttf')  format('truetype'), 
       url('fonts/proximanova-sbold.svg#ProximaNova_Sbold') format('svg'); 
 }*/
/*
@font-face {
    font-family: 'ProximaNova_Sbold';
    src: url('http://http://dev-amd.itech.cc/wp-content/themes/twentyeleven/fonts/proximanova-sbold.eot');
    
    src: url('http://http://dev-amd.itech.cc/wp-content/themes/twentyeleven/fonts/proximanova-sbold.eot') format('eot'),
         url('http://http://dev-amd.itech.cc/wp-content/themes/twentyeleven/fonts/proximanova-sbold.eot')  format('embedded-opentype'),
         url('http://http://dev-amd.itech.cc/wp-content/themes/twentyeleven/fonts/proximanova-sbold.woff') format('woff'), 
         url('http://http://dev-amd.itech.cc/wp-content/themes/twentyeleven/fonts/proximanova-sbold.ttf')  format('opentype'),
         url('http://http://dev-amd.itech.cc/wp-content/themes/twentyeleven/fonts/proximanova-sbold.svg')  format('svg');
}
  */
div.term-description {
    width: 400px;
} 
 
#left-menu li { line-height: 1.2; margin-top: 10px; }

#left-menu .selected  {  font-family: "ProximaNova_Xbold";  }

.arrow_up { margin-top:  7px; }  

#left-menu b { font-family: "ProximaNova_Xbold"; }

.join-label-text { float: left; }

.clear { clear : both; width: 100%; height: 0px; }
.clear30 { clear : both; height: 30px; width: 100%; }

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: ProximaNova_Sbold;
/*  font-size: 100%; */
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
    outline: 0;
}
body {
    background: #fff;
    line-height: 1;
    min-width: 320px;
}
ol, ul {
    list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    font-weight: normal;
    text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
a img {
    border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}


/* =Structure
----------------------------------------------- */

body {
    padding: 0;
}
#page {
    margin: 2em auto;
    margin-top: 0px;
    margin-bottom: 0px;
    max-width: 1000px;
    min-width: 1000px;
}
#branding hgroup {
    margin: 0 7.6%;
}
/* Duc add 2
Note: don't need this property. Might need to get rid of
this #access div in header.php
#access div {
    margin: 0 30px;
}*/
#primary {
    float: left;
    margin: 0 -26.4% 0 0;
    width: 100%;
}
#content {
    margin: 0 34% 0 30px;
    width: 58.4%;
}
#secondary {
    float: right;
    margin-right: 7.6%;
    width: 18.8%;
}

/* Singular */
.singular #primary {
    margin: 0;
}
/*.singular #content, */
.left-sidebar.singular #content {
    margin: 0 7.6%;
    position: relative;
    width: auto;
}

/*.singular .entry-content,*/
.singular .entry-header,
.singular footer.entry-meta,
.singular #comments-title {
    margin: 0 auto;
    width: 68.9%;
}

/* Attachments */
.singular .image-attachment .entry-content {
    margin: 0 auto;
    width: auto;
}
.singular .image-attachment .entry-description {
    margin: 0 auto;
    width: 68.9%;
}

/* Showcase */
.page-template-showcase-php #primary,
.left-sidebar.page-template-showcase-php #primary {
    margin: 0;
}
.page-template-showcase-php #content,
.left-sidebar.page-template-showcase-php #content {
    margin: 0 7.6%;
    width: auto;
}
.page-template-showcase-php section.recent-posts {
    float: right;
    margin: 0 0 0 31%;
    width: 69%;
}
.page-template-showcase-php #main .widget-area {
    float: left;
    margin: 0 -22.15% 0 0;
    width: 22.15%;
}

/* error404 */
.error404 #primary {
    float: none;
    margin: 0;
}
.error404 #primary #content {
    margin: 0 7.6%;
    width: auto;
}

/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.625em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.625em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Right Content */
.left-sidebar #primary {
    float: right;
    margin: 0 0 0 -26.4%;
    width: 100%;
}
.left-sidebar #content {
    margin: 0 7.6% 0 34%;
    width: 58.4%;
}
.left-sidebar #secondary {
    float: left;
    margin-left: 7.6%;
    margin-right: 0;
    width: 18.8%;
}

/* One column */
.one-column #page {
    max-width: 690px;
}
.one-column #content {
    margin: 0 7.6%;
    width: auto;
}
.one-column #nav-below {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1.625em;
}
.one-column #secondary {
    float: none;
    margin: 0 7.6%;
    width: auto;
}
/* Simplify the showcase template */
.one-column .page-template-showcase-php section.recent-posts {
    float: none;
    margin: 0;
    width: 100%;
}
.one-column .page-template-showcase-php #main .widget-area {
    float: none;
    margin: 0;
    width: auto;
}
.one-column .page-template-showcase-php .other-recent-posts {
    border-bottom: 1px solid #ddd;
}
/* Simplify the showcase template when small feature */
.one-column section.featured-post .attachment-small-feature {
    border: none;
    display: block;
    height: auto;
    max-width: 60%;
    position: static;
}
.one-column article.feature-image.small {
    margin: 0 0 1.625em;
    padding: 0;
}
.one-column article.feature-image.small .entry-title {
    font-size: 20px;
    line-height: 1.3em;
}
.one-column article.feature-image.small .entry-summary {
    height: 150px;
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
}
.one-column article.feature-image.small .entry-summary a {
    left: -9%;
}
/* Remove the margin on singular articles */
.one-column.singular .entry-header,
.one-column.singular .entry-content,
.one-column.singular footer.entry-meta,
.one-column.singular #comments-title {
    width: 100%;
}
/* Simplify the pullquotes and pull styles */
.one-column.singular blockquote.pull {
    margin: 0 0 1.625em;
}
.one-column.singular .pull.alignleft {
    margin: 0 1.625em 0 0;
}
.one-column.singular .pull.alignright {
    margin: 0 0 0 1.625em;
}
.one-column.singular .entry-meta .edit-link a {
    position: absolute;
    left: 0;
    top: 40px;
}
.one-column.singular #author-info {
    margin: 2.2em -8.8% 0;
    padding: 20px 8.8%;
}
/* Make sure we have room for our comment avatars */
.one-column .commentlist > li.comment {
    margin-left: 102px;
    width: auto;
}
/* Make sure the logo and search form don't collide */
.one-column #branding #searchform {
    right: 40px;
    top: 4em;
}
/* Talking avatars take up too much room at this size */
.one-column .commentlist > li.comment {
    margin-left: 0;
}
.one-column .commentlist > li.comment .comment-meta,
.one-column .commentlist > li.comment .comment-content {
    margin-right: 85px;
}
.one-column .commentlist .avatar {
    background: transparent;
    display: block;
    padding: 0;
    top: 1.625em;
    left: auto;
    right: 1.625em;
}
.one-column .commentlist .children .avatar {
    background: none;
    padding: 0;
    position: absolute;
    top: 2.2em;
    left: 2.2em;
}
.one-column #respond {
    width: auto;
}


/* =Global
----------------------------------------------- */

body, input, textarea {
    color: #4c4949;
    font: 15px ProximaNova_Sbold,"Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.625;
}
body {
    background: 4c4949;
}
#page {
    background: #fff;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
    clear: both;
}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.625em;
}

/* Text elements */
p {
    margin-bottom: 1.625em;
}
ul, ol {
    margin: 0 0 1.625em 2.5em;
}
ul {
    list-style: square;
}
ol {
    list-style-type: decimal;
}
ol ol {
    list-style: upper-alpha;
}
ol ol ol {
    list-style: lower-roman;
}
ol ol ol ol {
    list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
    margin-bottom: 0;
}
dl {
    margin: 0 1.625em;
}
dt {
    font-weight: bold;
}
dd {
    margin-bottom: 1.625em;
}
strong {
    font-weight: bold;
}
cite, em, i {
    font-style: italic;
}
blockquote {
    font-family: ProximaNova_Sbold ,Georgia, "Bitstream Charter", serif;
    font-style: italic;
    font-weight: normal;
    margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite {
    font-style: normal;
}
blockquote cite {
    color: #666;
    font: 12px ProximaNova_Sbold,"Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
pre {
    background: #f4f4f4;
    font: 13px ProximaNova_Sbold,"Courier 10 Pitch", Courier, monospace;
    line-height: 1.5;
    margin-bottom: 1.625em;
    overflow: auto;
    padding: 0.75em 1.625em;
}
code, kbd {
    font: 13px ProximaNova_Sbold, Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym, dfn {
    border-bottom: 1px dotted #666;
    cursor: help;
}
address {
    display: block;
    margin: 0 0 1.625em;
}
ins {
    background: #fff9c0;
    text-decoration: none;
}
sup,
sub {
    font-size: 10px;
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
}
sup {
    bottom: 1ex;
}
sub {
    top: .5ex;
}

/* Forms */
input[type=text],
input[type=password],
textarea {
    background: #fafafa;
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    color: #888;
}
input[type=text]:focus,
textarea:focus {
    color: 4c4949;
}
textarea {
    padding-left: 3px;
    width: 98%;
}
input[type=text] {
    padding: 3px;
}
input#s {
    background: url(images/search.png) no-repeat 5px 6px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 14px;
    height: 22px;
    line-height: 1.2em;
    padding: 4px 10px 4px 28px;
}
input#searchsubmit {
    display: none;
}

/* Links */
a {
    color: #1982d1;
    text-decoration: none;
}
a:focus,
a:active,
a:hover {
    text-decoration: underline;
}

/* Assistive text */
.assistive-text {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
    background: #eee;
    border-bottom: 1px solid #ddd;
    color: #1982d1;
    clip: auto !important;
    font-size: 12px;
    position: absolute;
    text-decoration: underline;
    top: 0;
    left: 7.6%;
}


/* =Header
----------------------------------------------- */

#branding {
    border-top: 0px solid #bbb;
    /* margin-bottom: 10px; */
    position: relative;
    z-index: 2;
}
#site-title {
    margin-right: 270px;
    padding: 3.65625em 0 0;
}
#site-title a {
    color: #111;
    font-size: 30px;
    font-weight: bold;
    line-height: 36px;
    text-decoration: none;
}
#site-title a:hover,
#site-title a:focus,
#site-title a:active {
    color: #1982d1;
}
#site-description {
    color: #7a7a7a;
    font-size: 14px;
    margin: 0 270px 3.65625em 0;
}

/* Search Form */
#branding #searchform {
    position: absolute;
    top: 3.8em;
    right: 7.6%;
    text-align: right;
}
#branding #searchform div {
    margin: 0;
}
#branding #s {
    float: right;
    -webkit-transition-duration: 400ms;
    -webkit-transition-property: width, background;
    -webkit-transition-timing-function: ease;
    -moz-transition-duration: 400ms;
    -moz-transition-property: width, background;
    -moz-transition-timing-function: ease;
    -o-transition-duration: 400ms;
    -o-transition-property: width, background;
    -o-transition-timing-function: ease;
    width: 72px;
}
#branding #s:focus {
    background-color: #f9f9f9;
    width: 196px;
}
#branding #searchsubmit {
    display: none;
}
#branding .only-search #searchform {
    top: 5px;
    z-index: 1;
}
#branding .only-search #s {
    background-color: #666;
    border-color: #000;
    color: #222;
}
#branding .only-search #s,
#branding .only-search #s:focus {
    width: 85%;
}
#branding .only-search #s:focus {
    background-color: #bbb;
}
#branding .with-image #searchform {
    top: auto;
    bottom: -27px;
    max-width: 195px;
}
#branding .only-search + #access div {
    padding-right: 205px;
}


/* =Content
----------------------------------------------- */

#main {
    clear: both;
/*  padding: 1.625em 0 0; */
    padding: 0; 
    
}
.page-title {
    color: #666;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    margin: 0 0 2.6em;
    text-transform: uppercase;
}
.page-title a {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0;
    text-transform: none;
}
.hentry,
.no-results {
    border-bottom: 1px solid #ddd;
    margin: 0 0 1.625em;
    padding: 0 0 1.625em;
    position: relative;
}
.hentry:last-child,
.no-results {
    border-bottom: none;
}
.blog .sticky .entry-header .entry-meta {
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}
.entry-title,
.entry-header .entry-meta {
    padding-right: 76px;
}
.entry-title {
    clear: both;
    color: #222;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.5em;
    padding-bottom: .3em;
    padding-top: 15px;
}
.entry-title,
.entry-title a {
    color: #222;
    text-decoration: none;
}
.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {
    color: #1982d1;
}
.entry-meta {
    color: #666;
    clear: both;
    font-size: 12px;
    line-height: 18px;
}
.entry-meta a {
    font-weight: bold;
}
.single-author .entry-meta .by-author {
    display: none;
}
.entry-content,
.entry-summary {
    /* padding: 1.625em 0 0; */
    padding: 0; 
}
.entry-content h1,
.entry-content h2,
.comment-content h1,
.comment-content h2 {
    color: #000;
    font-weight: normal;
    margin: 0 0 .8125em;
}
.entry-content h3,
.comment-content h3 {
    font-size: 10px;
    letter-spacing: 0px;
    line-height: 2.6em;
    font-family: "ProximaNova_Xbold";
} 
.entry-content table,
.comment-content table {
    border-bottom: 1px solid #ddd;
    margin: 0 0 1.625em;
    width: 100%;
}
.entry-content th,
.comment-content th {
    color: #666;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    text-transform: uppercase;
}
.entry-content td,
.comment-content td {
    border-top: 1px solid #ddd;
    padding: 6px 10px 6px 0;
}
.entry-content #s {
    width: 75%;
}
.comment-content ul,
.comment-content ol {
    margin-bottom: 1.625em;
}
.comment-content ul ul,
.comment-content ol ol,
.comment-content ul ol,
.comment-content ol ul {
    margin-bottom: 0;
}
dl.gallery-item {
    margin: 0;
}
.page-link {
    clear: both;
    display: block;
    margin: 0 0 1.625em;
}
.page-link a {
    background: #eee;
    color: 4c4949;
    margin: 0;
    padding: 2px 3px;
    text-decoration: none;
}
.page-link a:hover {
    background: #888;
    color: #fff;
    font-weight: bold;
}
.page-link span {
    margin-right: 6px;
}
.entry-meta .edit-link a,
.commentlist .edit-link a {
    background: #eee;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #666;
    float: right;
    font-size: 12px;
    line-height: 1.5em;
    font-weight: 300;
    text-decoration: none;
    padding: 0 8px;
}
.entry-meta .edit-link a:hover,
.commentlist .edit-link a:hover {
    background: #888;
    color: #fff;
}
.entry-content .edit-link {
    clear: both;
    display: block;
}

/* Images */
.entry-content img,
.comment-content img,
.widget img {
    max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"] {
    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full {
    max-width: 97.5%;
    width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}
img.alignleft,
img.alignright,
img.aligncenter {
    margin-bottom: 1.625em;
}
p img,
.wp-caption {
    margin-top: 0.4em;
}
.wp-caption {
    background: #eee;
    margin-bottom: 1.625em;
    max-width: 96%;
    padding: 9px;
}
.wp-caption img {
    display: block;
    margin: 0 auto;
    max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
    color: #666;
    font-family: Georgia, serif;
    font-size: 12px;
}
.wp-caption .wp-caption-text {
    margin-bottom: 0.6em;
    padding: 10px 0 5px 40px;
    position: relative;
}
.wp-caption .wp-caption-text:before {
    color: #666;
    content: '\2014';
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    margin-right: 5px;
    position: absolute;
    left: 10px;
    top: 7px;
}
#content .gallery {
    margin: 0 auto 1.625em;
}
#content .gallery a img {
    border: none;
}
img#wpstats {
    display: block;
    margin: 0 auto 1.625em;
}
#content .gallery-columns-4 .gallery-item {
    width: 23%;
    padding-right: 2%;
}
#content .gallery-columns-4 .gallery-item img {
    width: 100%;
    height: auto;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
    border: 1px solid #ddd;
    padding: 6px;
}
.wp-caption img {
    border-color: #eee;
}
a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
    background: transparent;
    /* background: #eee;
    border-color: #bbb; */
}
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {/* ... including captioned images! */
    background: #fff;
    border-color: #ddd;
}

/* Password Protected Posts */
.post-password-required .entry-header .comments-link {
    margin: 1.625em 0 0;
}
.post-password-required input[type=password] {
    margin: 0.8125em 0;
}
.post-password-required input[type=password]:focus {
    background: #f7f7f7;
}

/* Author Info */
#author-info {
    font-size: 12px;
    overflow: hidden;
}
.singular #author-info {
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 2.2em -35.6% 0 -35.4%;
    padding: 20px 35.4%;
}
.archive #author-info {
    border-bottom: 1px solid #ddd;
    margin: 0 0 2.2em;
    padding: 0 0 2.2em;
}
#author-avatar {
    float: left;
    margin-right: -78px;
}
#author-avatar img {
    background: #fff;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px #bbb;
    -moz-box-shadow: 0 1px 2px #bbb;
    box-shadow: 0 1px 2px #bbb;
    padding: 3px;
}
#author-description {
    float: left;
    margin-left: 108px;
}
#author-description h2 {
    color: #000;
    font-size: 15px;
    font-weight: bold;
    margin: 5px 0 10px;
}

/* Comments link */
.entry-header .comments-link a {
    background: #eee url(images/comment-bubble.png) no-repeat;
    color: #666;
    font-size: 13px;
    font-weight: normal;
    line-height: 35px;
    overflow: hidden;
    padding: 0 0 0;
    position: absolute;
    top: 1.5em;
    right: 0;
    text-align: center;
    text-decoration: none;
    width: 43px;
    height: 36px;
}
.entry-header .comments-link a:hover,
.entry-header .comments-link a:focus,
.entry-header .comments-link a:active {
    background-color: #1982d1;
    color: #fff;
    color: rgba(255,255,255,0.8);
}
.entry-header .comments-link .leave-reply {
    visibility: hidden;
}

/*
Post Formats Headings
To hide the headings, display: none the ".entry-header .entry-format" selector,
and remove the padding rules below.
*/
.entry-header .entry-format {
    color: #666;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    position: absolute;
    text-transform: uppercase;
    top: -5px;
}
.entry-header hgroup .entry-title {
    padding-top: 15px;
}
article.format-aside .entry-content,
article.format-link .entry-content,
article.format-status .entry-content {
    padding: 20px 0 0;
}
.recent-posts .entry-header .entry-format {
    display: none;
}
.recent-posts .entry-header hgroup .entry-title {
    padding-top: 0;
}

/* Singular content styles for Posts and Pages */
.singular .hentry {
    border-bottom: none;
    padding: 4.875em 0 0;
    position: relative;
}
.singular.page .hentry {
    padding: 3.5em 0 0;
}
.singular .entry-title {
    color: #000;
    font-size: 36px;
    font-weight: bold;
    line-height: 48px;
}
.singular .entry-title,
.singular .entry-header .entry-meta {
    padding-right: 0;
}
.singular .entry-header .entry-meta {
    position: absolute;
    top: 0;
    left: 0;
}
blockquote.pull {
    font-size: 21px;
    font-weight: bold;
    line-height: 1.6125em;
    margin: 0 0 1.625em;
    text-align: center;
}
.singular blockquote.pull {
    margin: 0 -22.25% 1.625em;
}
.pull.alignleft {
    margin: 0 1.625em 0 0;
    text-align: right;
    width: 33%;
}
.singular .pull.alignleft {
    margin: 0 1.625em 0 -22.25%;
}
.pull.alignright {
    margin: 0 0 0 1.625em;
    text-align: left;
    width: 33%;
}
.singular .pull.alignright {
    margin: 0 -22.25% 0 1.625em;
}
.singular blockquote.pull.alignleft,
.singular blockquote.pull.alignright {
    width: 33%;
}
.singular .entry-meta .edit-link a {
    bottom: auto;
    left: 50px;
    position: absolute;
    right: auto;
    top: 80px;
}


/* =Aside
----------------------------------------------- */

.format-aside .entry-title,
.format-aside .entry-header .comments-link {
    display: none;
}
.singular .format-aside .entry-title {
    display: block;
}
.format-aside .entry-content {
    padding: 0;
}
.singular .format-aside .entry-content {
    padding: 1.625em 0 0;
}


/* =Link
----------------------------------------------- */

.format-link .entry-title,
.format-link .entry-header .comments-link {
    display: none;
}
.singular .format-link .entry-title {
    display: block;
}
.format-link .entry-content {
    padding: 0;
}
.singular .format-link .entry-content {
    padding: 1.625em 0 0;
}


/* =Gallery
----------------------------------------------- */

.format-gallery .gallery-thumb {
    float: left;
    display: block;
    margin: .375em 1.625em 0 0;
}


/* =Status
----------------------------------------------- */

.format-status .entry-title,
.format-status .entry-header .comments-link {
    display: none;
}
.singular .format-status .entry-title {
    display: block;
}
.format-status .entry-content {
    padding: 0;
}
.singular .format-status .entry-content {
    padding: 1.625em 0 0;
}
.format-status img.avatar {
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px #ccc;
    -moz-box-shadow: 0 1px 2px #ccc;
    box-shadow: 0 1px 2px #ccc;
    float: left;
    margin: 4px 10px 2px 0;
    padding: 0;
}


/* =Quote
----------------------------------------------- */

.format-quote blockquote {
    color: #555;
    font-size: 17px;
    margin: 0;
}


/* =Image
----------------------------------------------- */

.indexed.format-image .entry-header {
    min-height: 61px; /* Prevent the comment icon from colliding with the image when there is no title */
}
.indexed.format-image .entry-content {
    padding-top: 0.5em;
}
.indexed.format-image p,
.indexed.format-image p img {
    margin-bottom: 0;
}
.indexed.format-image footer.entry-meta {
    background: #ddd;
    margin-top: -7px;
    padding: 20px 30px;
    overflow: hidden;
}
.indexed.format-image div.entry-meta {
    display: inline-block;
    float: left;
    width: 35%;
}
.indexed.format-image div.entry-meta + div.entry-meta {
    float: none;
    width: 65%;
}
.indexed.format-image .entry-meta span.cat-links,
.indexed.format-image .entry-meta span.tag-links,
.indexed.format-image .entry-meta span.comments-link {
    display: block;
}
.indexed.format-image footer.entry-meta a {
    color: #444;
}
.indexed.format-image footer.entry-meta a:hover {
    color: #fff;
}
#content .indexed.format-image img {
    border: none;
    max-width: 100%;
    padding: 0;
}
.indexed.format-image .wp-caption {
    background: #111;
    margin-bottom: 0;
    max-width: 96%;
    padding: 11px;
}
.indexed.format-image .wp-caption .wp-caption-text {
    color: #ddd;
}
.indexed.format-image .wp-caption .wp-caption-text:before {
    color: #444;
}
.indexed.format-image a:hover img {
    opacity: 0.8;
}


/* =error404
----------------------------------------------- */

.error404 #main #searchform {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-width: 1px 0;
    margin: 0 -8.9% 1.625em;
    overflow: hidden;
    padding: 1.625em 8.9%;
}
.error404 #main #s {
    width: 95%;
}
.error404 #main .widget {
    clear: none;
    float: left;
    margin-right: 3.7%;
    width: 30.85%;
}
.error404 #main .widget_archive {
    margin-right: 0;
}
.error404 #main .widget_tag_cloud {
    float: none;
    margin-right: 0;
    width: 100%;
}
.error404 .widgettitle {
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    text-transform: uppercase;
}


/* =Showcase
----------------------------------------------- */

h1.showcase-heading {
    color: #666;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    text-transform: uppercase;
}

/* Intro */
article.intro {
    background: #f9f9f9;
    border-bottom: none;
    margin: -1.855em -8.9% 1.625em;
    padding: 0 8.9%;
}
article.intro .entry-title {
    display: none;
}
article.intro .entry-content {
    color: #111;
    font-size: 16px;
    padding: 1.625em 0 0.625em;
}
article.intro .edit-link a {
    background: #aaa;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    padding: 0 8px;
    position: absolute;
    top: 30px;
    right: 20px;
    text-decoration: none;
}
article.intro .edit-link a:hover,
article.intro .edit-link a:focus,
article.intro .edit-link a:active {
    background: #777;
}

/* Featured post */
section.featured-post {
    float: left;
    margin: -1.625em -8.9% 1.625em;
    padding: 1.625em 8.9% 0;
    position: relative;
    width: 100%;
}
section.featured-post .hentry {
    border: none;
    color: #666;
    margin: 0;
}
section.featured-post .entry-meta {
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

/* Small featured post */
section.featured-post .attachment-small-feature {
    float: right;
    height: auto;
    margin: 0 -8.9% 1.625em 0;
    max-width: 59%;
    position: relative;
    right: -15px;
}
section.featured-post.small {
    padding-top: 0;
}
section.featured-post .attachment-small-feature:hover,
section.featured-post .attachment-small-feature:focus,
section.featured-post .attachment-small-feature:active {
    opacity: .8;
}
article.feature-image.small {
    float: left;
    margin: 0 0 1.625em;
    width: 45%;
}
article.feature-image.small .entry-title {
    line-height: 1.2em;
}
article.feature-image.small .entry-summary {
    color: #555;
    font-size: 13px;
}
article.feature-image.small .entry-summary p a {
    background: #222;
    color: #eee;
    display: block;
    left: -23.8%;
    padding: 9px 26px 9px 85px;
    position: relative;
    text-decoration: none;
    top: 20px;
    width: 180px;
    z-index: 1;
}
article.feature-image.small .entry-summary p a:hover {
    background: #1982d1;
    color: #eee;
    color: rgba(255,255,255,0.8);
}

/* Large featured post */
section.feature-image.large {
    border: none;
    max-height: 288px;
    padding: 0;
    width: 100%;
}
section.feature-image.large .showcase-heading {
    display: none;
}
section.feature-image.large .hentry {
    border-bottom: none;
    left: 9%;
    margin: 1.625em 9% 0 0;
    position: absolute;
    top: 0;
}
article.feature-image.large .entry-title a {
    background: #222;
    background: rgba(0,0,0,0.8);
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-weight: 300;
    padding: .2em 20px;
}
section.feature-image.large:hover .entry-title a,
section.feature-image.large .entry-title:hover a {
    background: #eee;
    background: rgba(255,255,255,0.8);
    color: #222;
}
article.feature-image.large .entry-summary {
    display: none;
}
section.feature-image.large img {
    display: block;
    height: auto;
    max-width: 117.9%;
    padding: 0 0 6px;
}

/* Featured Slider */
.featured-posts {
    border-bottom: 1px solid #ddd;
    display: block;
    height: 328px;
    margin: 1.625em -8.9% 20px;
    max-width: 1000px;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.featured-posts .showcase-heading {
    padding-left: 8.9%;
}
.featured-posts section.featured-post {
    background: #fff;
    height: 288px;
    left: 0;
    margin: 0;
    position: absolute;
    top: 30px;
    width: auto;
}
.featured-posts section.featured-post.large {
    max-width: 100%;
    overflow: hidden;
}
.featured-posts section.featured-post {
    -webkit-transition-duration: 200ms;
    -webkit-transition-property: opacity, visibility;
    -webkit-transition-timing-function: ease;
    -moz-transition-duration: 200ms;
    -moz-transition-property: opacity, visibility;
    -moz-transition-timing-function: ease;
}
.featured-posts section.featured-post {
    opacity: 0;
    visibility: hidden;
}
.featured-posts #featured-post-1 {
    opacity: 1;
    visibility: visible;
}
.featured-post .feature-text:after,
.featured-post .feature-image.small:after {
    content: ' ';
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */
    width: 100%;
    height: 45px;
    position: absolute;
    top: 230px;
}
.featured-post .feature-image.small:after {
    top: 253px;
}
#content .feature-slider {
    top: 5px;
    right: 8.9%;
    overflow: visible;
    position: absolute;
}
.feature-slider ul {
    list-style-type: none;
    margin: 0;
}
.feature-slider li {
    float: left;
    margin: 0 6px;
}
.feature-slider a {
    background: #3c3c3c;
    background: rgba(60,60,60,0.9);
    -moz-border-radius: 12px;
    border-radius: 12px;
    -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5);
    -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5);
    box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5);
    display: block;
    width: 14px;
    height: 14px;
}
.feature-slider a.active {
    background: #1982d1;
    -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
    -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
    box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
    cursor: default;
    opacity: 0.5;
}

/* Recent Posts */
section.recent-posts {
    padding: 0 0 1.625em;
}
section.recent-posts .hentry {
    border: none;
    margin: 0;
}
section.recent-posts .other-recent-posts {
    border-bottom: 1px solid #ddd;
    list-style: none;
    margin: 0;
}
section.recent-posts .other-recent-posts li {
    padding: 0.3125em 0;
    position: relative;
}
section.recent-posts .other-recent-posts .entry-title {
    border-top: 1px solid #ddd;
    font-size: 17px;
}
section.recent-posts .other-recent-posts a[rel="bookmark"] {
    color: 4c4949;
    float: left;
    max-width: 84%;
}
section.recent-posts .other-recent-posts a[rel="bookmark"]:after {
    content: '-';
    color: transparent;
    font-size: 11px;
}
section.recent-posts .other-recent-posts a[rel="bookmark"]:hover {
}
section.recent-posts .other-recent-posts .comments-link a,
section.recent-posts .other-recent-posts .comments-link > span {
    border-bottom: 2px solid #999;
    bottom: -2px;
    color: #444;
    display: block;
    font-size: 10px;
    font-weight: 500;
    line-height: 2.76333em;
    padding: 0.3125em 0 0.3125em 1em;
    position: absolute;
    right: 0;
    text-align: right;
    text-transform: uppercase;
    z-index: 1;
}
section.recent-posts .other-recent-posts .comments-link > span {
    border-color: #bbb;
    color: #888;
}
section.recent-posts .other-recent-posts .comments-link a:hover {
    color: #1982d1;
    border-color: #1982d1;
}
section.recent-posts .other-recent-posts li:after {
    clear: both;
    content: '.';
    display: block;
    height: 0;
    visibility: hidden;
}


/* =Attachments
----------------------------------------------- */

.image-attachment div.attachment {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-width: 1px 0;
    margin: 0 -8.9% 1.625em;
    overflow: hidden;
    padding: 1.625em 1.625em 0;
    text-align: center;
}
.image-attachment div.attachment img {
    display: block;
    height: auto;
    margin: 0 auto 1.625em;
    max-width: 100%;
}
.image-attachment div.attachment a img {
    border-color: #f9f9f9;
}
.image-attachment div.attachment a:focus img,
.image-attachment div.attachment a:hover img,
.image-attachment div.attachment a:active img {
    border-color: #ddd;
    background: #fff;
}
.image-attachment .entry-caption p {
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    margin: 0 0 2.6em;
    text-transform: uppercase;
}


/* =Navigation
-------------------------------------------------------------- */

#content nav {
    clear: both;
    overflow: hidden;
    padding: 0 0 1.625em;
}
#content nav a {
    font-size: 12px;
    font-weight: bold;
    line-height: 2.2em;
}
#nav-above {
    padding: 0 0 1.625em;
}
#nav-above {
    display: none;
}
.paged #nav-above {
    display: block;
}
.nav-previous {
    float: left;
    width: 50%;
}
.nav-next {
    float: right;
    text-align: right;
    width: 50%;
}
#content nav .meta-nav {
    font-weight: normal;
}

/* Singular navigation */
#nav-single {
    float: right;
    position: relative;
    top: -0.3em;
    text-align: right;
    width: 100%;
    z-index: 1;
}
#nav-single .nav-previous,
#nav-single .nav-next {
    float: none;
    width: auto;
}
#nav-single .nav-next {
    padding-left: .5em;
}


/* =Widgets
----------------------------------------------- */

.widget-area {
    font-size: 12px;
}
.widget {
    clear: both;
    margin: 0 0 2.2em;
}
.widget-title {
    color: #666;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    text-transform: uppercase;
}
.widget ul {
    font-size: 15px;
    margin: 0;
}
.widget ul ul {
    margin-left: 1.5em;
}
.widget ul li {
    color: #777;
    font-size: 13px;
}
.widget a {
    font-weight: bold;
    text-decoration: none;
}
.widget a:hover,
.widget a:focus,
.widget a:active {
    text-decoration: underline;
}

/* Search Widget */
.widget_search form {
    margin: 0 0 1.625em;
}
.widget_search #s {
    width: 77%;
}
.widget_search #searchsubmit {
    background: #ddd;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
    -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
    box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
    color: #888;
    font-size: 13px;
    line-height: 25px;
    position: relative;
    top: -2px;
}
.widget_search #searchsubmit:active {
    background: #1982d1;
    border-color: #0861a5;
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
    color: #bfddf3;
}

/* Ephemera Widget */
section.ephemera ol,
.widget_twentyeleven_ephemera ol {
    list-style: square;
    margin: 5px 0 0;
}
.widget_twentyeleven_ephemera .widget-entry-title {
    font-size: 15px;
    font-weight: bold;
    padding: 0;
}
.widget_twentyeleven_ephemera .comments-link a,
.widget_twentyeleven_ephemera .comments-link > span {
    color: #666;
    display: block;
    font-size: 10px;
    font-weight: 500;
    line-height: 2.76333em;
    text-transform: uppercase;
}
section.ephemera .entry-title .comments-link a:hover,
.widget_twentyeleven_ephemera .entry-title .comments-link a:hover {
}
section.ephemera .entry-title a span {
    color: #29628d;
}

/* Twitter */
.widget_twitter li {
    list-style-type: none;
    margin-bottom: 14px;
}
.widget_twitter .timesince {
    display: block;
    font-size: 11px;
    margin-right: -10px;
    text-align: right;
}

/* Widget Image */
.widget_image img {
    height: auto;
    max-width: 100%;
}

/* Calendar Widget */

.widget_calendar #wp-calendar {
    color: #555;
    width: 95%;
    text-align: center;
}
.widget_calendar #wp-calendar caption,
.widget_calendar #wp-calendar td,
.widget_calendar #wp-calendar th {
    text-align: center;
}
.widget_calendar #wp-calendar caption {
    font-size: 11px;
    font-weight: 500;
    padding: 5px 0 3px 0;
    text-transform: uppercase;
}
.widget_calendar #wp-calendar th {
    background: #f4f4f4;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
}
.widget_calendar #wp-calendar tfoot td {
    background: #f4f4f4;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}


/* =Comments
----------------------------------------------- */

#comments-title {
    color: #666;
    font-size: 10px;
    font-weight: 500;
    line-height: 2.6em;
    padding: 0 0 2.6em;
    text-transform: uppercase;
}
.nopassword,
.nocomments {
    color: #aaa;
    font-size: 24px;
    font-weight: 100;
    margin: 26px 0;
    text-align: center;
}
.commentlist {
    list-style: none;
    margin: 0 auto;
    width: 68.9%;
}
.content .commentlist,
.page-template-sidebar-page-php .commentlist {
    width: 100%; /* reset the width for the one-column and sidebar page layout */
}
.commentlist > li.comment {
    background: #f6f6f6;
    border: 1px solid #ddd;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 0 0 1.625em;
    padding: 1.625em;
    position: relative;
}
.commentlist .pingback {
    margin: 0 0 1.625em;
    padding: 0 1.625em;
}
.commentlist .children {
    list-style: none;
    margin: 0;
}
.commentlist .children li.comment {
    background: #fff;
    border-left: 1px solid #ddd;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    margin: 1.625em 0 0;
    padding: 1.625em;
    position: relative;
}
.commentlist .children li.comment .fn {
    display: block;
}
.comment-meta .fn {
    font-style: normal;
}
.comment-meta {
    color: #666;
    font-size: 12px;
    line-height: 2.2em;
}
.commentlist .children li.comment .comment-meta {
    line-height: 1.625em;
    margin-left: 50px;
}
.commentlist .children li.comment .comment-content {
    margin: 1.625em 0 0;
}
.comment-meta a {
    font-weight: bold;
}
.comment-meta a:focus,
.comment-meta a:active,
.comment-meta a:hover {
}
.commentlist .avatar {
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px #ccc;
    -moz-box-shadow: 0 1px 2px #ccc;
    box-shadow: 0 1px 2px #ccc;
    left: -102px;
    padding: 0;
    position: absolute;
    top: 0;
}
.commentlist > li:before {
    content: url(images/comment-arrow.png);
    left: -21px;
    position: absolute;
}
.commentlist > li.pingback:before {
    content: '';
}
.commentlist .children .avatar {
    background: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    left: 2.2em;
    padding: 0;
    top: 2.2em;
}
a.comment-reply-link {
    background: #eee;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #666;
    display: inline-block;
    font-size: 12px;
    padding: 0 8px;
    text-decoration: none;
}
a.comment-reply-link:hover,
a.comment-reply-link:focus,
a.comment-reply-link:active {
    background: #888;
    color: #fff;
}
a.comment-reply-link > span {
    display: inline-block;
    position: relative;
    top: -1px;
}

/* Post author highlighting */
.commentlist > li.bypostauthor {
    background: #ddd;
    border-color: #d3d3d3;
}
.commentlist > li.bypostauthor .comment-meta {
    color: #575757;
}
.commentlist > li.bypostauthor .comment-meta a:focus,
.commentlist > li.bypostauthor .comment-meta a:active,
.commentlist > li.bypostauthor .comment-meta a:hover {
}
.commentlist > li.bypostauthor:before {
    content: url(images/comment-arrow-bypostauthor.png);
}

/* Post Author threaded comments */
.commentlist .children > li.bypostauthor {
    background: #ddd;
    border-color: #d3d3d3;
}

/* sidebar-page.php comments */
/* Make sure we have room for our comment avatars */
.page-template-sidebar-page-php .commentlist > li.comment,
.page-template-sidebar-page-php.commentlist .pingback {
    margin-left: 102px;
    width: auto;
}
/* And a full-width comment form */
.page-template-sidebar-page-php #respond {
    width: auto;
}

/* Comment Form */
#respond {
    background: #ddd;
    border: 1px solid #d3d3d3;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 0 auto 1.625em;
    padding: 1.625em;
    position: relative;
    width: 68.9%;
}
#respond input[type="text"],
#respond textarea {
    background: #fff;
    border: 4px solid #eee;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95);
    -moz-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95);
    box-shadow: inset 0 1px 3px rgba(204,204,204,0.95);
    position: relative;
    padding: 10px;
    text-indent: 80px;
}
#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url,
#respond .comment-form-comment {
    position: relative;
}
#respond .comment-form-author label,
#respond .comment-form-email label,
#respond .comment-form-url label,
#respond .comment-form-comment label {
    background: #eee;
    -webkit-box-shadow: 1px 2px 2px rgba(204,204,204,0.8);
    -moz-box-shadow: 1px 2px 2px rgba(204,204,204,0.8);
    box-shadow: 1px 2px 2px rgba(204,204,204,0.8);
    color: #555;
    display: inline-block;
    font-size: 13px;
    left: 4px;
    min-width: 60px;
    padding: 4px 10px;
    position: relative;
    top: 40px;
    z-index: 1;
}
#respond input[type="text"]:focus,
#respond textarea:focus {
    text-indent: 0;
    z-index: 1;
}
#respond textarea {
    resize: vertical;
    width: 95%;
}
#respond .comment-form-author .required,
#respond .comment-form-email .required {
    color: #bd3500;
    font-size: 22px;
    font-weight: bold;
    left: 75%;
    position: absolute;
    top: 45px;
    z-index: 1;
}
#respond .comment-notes,
#respond .logged-in-as {
    font-size: 13px;
}
#respond p {
    margin: 10px 0;
}
#respond .form-submit {
    float: right;
    margin: -20px 0 10px;
}
#respond input#submit {
    background: #222;
    border: none;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    color: #eee;
    cursor: pointer;
    font-size: 15px;
    margin: 20px 0;
    padding: 5px 42px 5px 22px;
    position: relative;
    left: 30px;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}
#respond input#submit:active {
    background: #1982d1;
    color: #bfddf3;
}
#respond #cancel-comment-reply-link {
    color: #666;
    margin-left: 10px;
    text-decoration: none;
}
#respond .logged-in-as a:hover,
#respond #cancel-comment-reply-link:hover {
    text-decoration: underline;
}
.commentlist #respond {
    margin: 1.625em 0 0;
    width: auto;
}
#reply-title {
    color: 4c4949;
    font-size: 24px;
    font-weight: bold;
    line-height: 30px;
}
#cancel-comment-reply-link {
    color: #888;
    display: block;
    font-size: 10px;
    font-weight: normal;
    line-height: 2.2em;
    letter-spacing: 0.05em;
    position: absolute;
    right: 1.625em;
    text-decoration: none;
    text-transform: uppercase;
    top: 1.1em;
}
#cancel-comment-reply-link:focus,
#cancel-comment-reply-link:active,
#cancel-comment-reply-link:hover {
    color: #ff4b33;
}
#respond label {
    line-height: 2.2em;
}
#respond input[type=text] {
    display: block;
    height: 24px;
    width: 75%;
}
#respond p {
    font-size: 12px;
}
p.comment-form-comment {
    margin: 0;
}
.form-allowed-tags {
    display: none;
}


/* =Footer
----------------------------------------------- */

#colophon {
    height: 235px;
    position: relative;
    clear: both;
}
#supplementary {
    border-top: 1px solid #ddd;
    padding: 1.625em 7.6%;
    overflow: hidden;
}

/* Two Footer Widget Areas */
#supplementary.two .widget-area {
    float: left;
    margin-right: 3.7%;
    width: 48.1%;
}
#supplementary.two .widget-area + .widget-area {
    margin-right: 0;
}

/* Three Footer Widget Areas */
#supplementary.three .widget-area {
    float: left;
    margin-right: 3.7%;
    width: 30.85%;
}
#supplementary.three .widget-area + .widget-area + .widget-area {
    margin-right: 0;
}

/* Site Generator Line */
#site-generator {
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 12px;
    line-height: 2.2em;
    padding: 2.2em 0.5em;
    text-align: center;
}
#site-generator a {
    color: #555;
    font-weight: bold;
}
#site-generator .sep {
    background: url(images/wordpress.png) center left no-repeat;
    color: transparent;
    display: inline-block;
    height: 16px;
    line-height: 16px;
    margin: 0 7px;
    width: 16px;
}


/* =Responsive Structure
----------------------------------------------- */

@media (max-width: 800px) {
    /* Simplify the basic layout */
    
    /*
    Duc add 1
    #main #content {
        margin: 0 7.6%;
        width: auto;
    }*/

    #nav-below {
        border-bottom: 1px solid #ddd;
        margin-bottom: 1.625em;
    }
    #main #secondary {
        float: none;
        margin: 0 7.6%;
        width: auto;
    }
    /* Simplify the showcase template */
    .page-template-showcase-php .featured-posts {
        min-height: 280px;
    } 
    .featured-posts section.featured-post {
        height: auto;
    }
    .page-template-showcase-php section.recent-posts {
        float: none;
        margin: 0;
        width: 100%;
    }
    .page-template-showcase-php #main .widget-area {
        float: none;
        margin: 0;
        width: auto;
    }
    .page-template-showcase-php .other-recent-posts {
        border-bottom: 1px solid #ddd;
    }
    /* Simplify the showcase template when small feature */
    section.featured-post .attachment-small-feature,
    .one-column section.featured-post .attachment-small-feature {
        border: none;
        display: block;
        float: left;
        height: auto;
        margin: 0.625em auto 1.025em;
        max-width: 30%;
        position: static;
    }
    article.feature-image.small {
        float: right;
        margin: 0 0 1.625em;
        width: 64%;
    }
    .one-column article.feature-image.small .entry-summary {
        height: auto;
    }
    article.feature-image.small .entry-summary p a {
        left: 0;
        padding-left: 20px;
        padding-right: 20px;
        width: auto;
    }
    /* Remove the margin on singular articles */
    /*.singular .entry-content,*/
    .singular .entry-header,
    .singular footer.entry-meta,
    .singular #comments-title {
        width: 100%;
    }
    /* Simplify the pullquotes and pull styles */
    .singular blockquote.pull {
        margin: 0 0 1.625em;
    }
    .singular .pull.alignleft {
        margin: 0 1.625em 0 0;
    }
    .singular .pull.alignright {
        margin: 0 0 0 1.625em;
    }
    .singular .entry-meta .edit-link a {
        left: 0;
        position: absolute;
        top: 40px;
    }
    .singular #author-info {
        margin: 2.2em -8.8% 0;
        padding: 20px 8.8%;
    }
    /* Make sure we have room for our comment avatars */
    .commentlist {
        width: 100%;
    }
    .commentlist > li.comment,
    .commentlist .pingback {
        margin-left: 102px;
        width: auto;
    }
    /* And a full-width comment form */
    #respond {
        width: auto;
    }
    /* No need to float footer widgets at this size */
    #colophon #supplementary .widget-area {
        float: none;
        margin-right: 0;
        width: auto;
    }
    /* No need to float 404 widgets at this size */
    .error404 #main .widget {
        float: none;
        margin-right: 0;
        width: auto;
    }
    /* Make sure embeds fit their containers */
    embed,
    object {
        max-width: 100%;
    }

}
@media (max-width: 650px) {
    /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */
    body, input, textarea {
        font-size: 13px;
    }
    #site-title a {
        font-size: 24px;
    }
    #site-description {
        font-size: 12px;
    }
    #access ul {
        font-size: 12px;
    }
    article.intro .entry-content {
        font-size: 12px;
    }
    .entry-title {
        font-size: 21px;
    }
    .featured-post .entry-title {
        font-size: 14px;
    }
    .singular .entry-title {
        font-size: 28px;
    }
    .entry-meta {
        font-size: 12px;
    }
    blockquote {
        margin: 0;
    }
    blockquote.pull {
        font-size: 17px;
    }
    /* Reposition the site title and description slightly */
    #site-title {
        padding: 5.30625em 0 0;
    }
    #site-title,
    #site-description {
        margin-right: 0;
    }
    /* Make sure the logo and search form don't collide */
    #branding #searchform {
        top: 1.625em !important;
    }
    /* Floated content doesn't work well at this size */
    .alignleft,
    .alignright {
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
    /* Make sure the post-post navigation doesn't collide with anything */
    #nav-single {
        display: block;
        position: static;
    }
    .singular .hentry {
        padding: 1.625em 0 0;
    }
    .singular.page .hentry {
        padding: 1.625em 0 0;
    }
    /* Talking avatars take up too much room at this size */
    .commentlist > li.comment,
    .commentlist > li.pingback {
        margin-left: 0 !important;
    }
    .commentlist .avatar {
        background: transparent;
        display: block;
        padding: 0;
        position: static;
    }
    .commentlist .children .avatar {
        background: none;
        left: 2.2em;
        padding: 0;
        position: absolute;
        top: 2.2em;
    }
    /* Use the available space in the smaller comment form */
    #respond input[type="text"] {
        width: 95%;
    }
    #respond .comment-form-author .required,
    #respond .comment-form-email .required {
        left: 95%;
    }
    #content .gallery-columns-3 .gallery-item {
        width: 31%;
        padding-right: 2%;
    }
    #content .gallery-columns-3 .gallery-item img {
        width: 100%;
        height: auto;
    }

}
@media (max-width: 450px) {
    #content .gallery-columns-2 .gallery-item {
        width: 45%;
        padding-right: 4%;
    }
    #content .gallery-columns-2 .gallery-item img {
        width: 100%;
        height: auto;
    }

}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    body {
        padding: 0;
    }
    #page {
        margin-top: 0;
    }
    #branding {
        border-top: none;
    }

}


/* =Print
----------------------------------------------- */

@media print {
    body {
        background: none !important;
        font-size: 10pt;
    }
    footer.entry-meta a[rel=bookmark]:link:after,
    footer.entry-meta a[rel=bookmark]:visited:after {
        content: " [" attr(href) "] "; /* Show URLs */
    }
    #page {
        clear: both !important;
        display: block !important;
        float: none !important;
        max-width: 100%;
        position: relative !important;
    }
    #branding {
        border-top: none !important;
        padding: 0;
    }
    #branding hgroup {
        margin: 0;
    }
    #site-title a {
        font-size: 21pt;
    }
    #site-description {
        font-size: 10pt;
    }
    #branding #searchform {
        display: none;
    }
    #branding img {
        display: none;
    }
    #access {
        display: none;
    }
    #main {
        border-top: none;
        box-shadow: none;
    }
    #primary {
        float: left;
        margin: 0;
        width: 100%;
    }
    #content {
        margin: 0;
        width: auto;
    }
    .singular #content {
        margin: 0;
        width: 100%;
    }
    .singular .entry-header .entry-meta {
        position: static;
    }
    .entry-meta .edit-link a {
        display: none;
    }
    #content nav {
        display: none;
    }
    .singular .entry-header,
    .singular .entry-content,
    .singular footer.entry-meta,
    .singular #comments-title {
        margin: 0;
        width: 100%;
    }
    .singular .hentry {
        padding: 0;
    }
    .entry-title,
    .singular .entry-title {
        font-size: 21pt;
    }
    .entry-meta {
        font-size: 10pt;
    }
    .entry-header .comments-link {
        display: none;
    }
    .page-link {
        display: none;
    }
    .singular #author-info {
        background: none;
        border-bottom: none;
        border-top: none;
        margin: 2.2em 0 0;
        padding: 0;
    }
    #respond {
        display: none;
    }
    .widget-area {
        display: none;
    }
    #colophon {
        display: none;
    }

    /* Comments */
    .commentlist > li.comment {
        background: none;
        border: 1px solid #ddd;
        -moz-border-radius: 3px 3px 3px 3px;
        border-radius: 3px 3px 3px 3px;
        margin: 0 auto 1.625em;
        padding: 1.625em;
        position: relative;
        width: auto;
    }
    .commentlist .avatar {
        height: 39px;
        left: 2.2em;
        top: 2.2em;
        width: 39px;
    }
    .commentlist li.comment .comment-meta {
        line-height: 1.625em;
        margin-left: 50px;
    }
    .commentlist li.comment .fn {
        display: block;
    }
    .commentlist li.comment .comment-content {
        margin: 1.625em 0 0;
    }
    .commentlist .comment-edit-link {
        display: none;
    }
    .commentlist > li::before,
    .commentlist > li.bypostauthor::before {
        content: '';
    }
    .commentlist .reply {
        display: none;
    }

    /* Post author highlighting */
    .commentlist > li.bypostauthor {
        color: #444;
    }
    .commentlist > li.bypostauthor .comment-meta {
        color: #666;
    }
    .commentlist > li.bypostauthor:before {
        content: none;
    }

    /* Post Author threaded comments */
    .commentlist .children > li.bypostauthor {
        background: #fff;
        border-color: #ddd;
    }
    .commentlist .children > li.bypostauthor > article,
    .commentlist .children > li.bypostauthor > article .comment-meta {
        color: #666;
    }

}

/* =IE7
----------------------------------------------- */

#ie7 article.intro {
    margin-left: -7.6%;
    margin-right: -7.6%;
    padding-left: -7.6%;
    padding-right: -7.6%;
    max-width: 1000px;
}
#ie7 section.featured-post {
    margin-left: -7.6%;
    margin-right: -7.6%;
    max-width: 850px;
}
#ie7 section.recent-posts {
    margin-right: 7.6%;
}

#ie7 .left-header-selected { position: relative !important; height: 30px !important; padding: 0 20px; padding-bottom:5px; float:left !important } 
#ie7 .left-header-unselected { position: relative !important; height: 30px !important; padding: 0 20px; padding-bottom:5px; float:left !important }


/* Flags list */
ul#languages { list-style: none; }
ul#languages li { float: left; margin-left: 12px; }
ul#languages img { width: 38px; height: 24px;}

/* Join button */
#join { position: absolute; right: 20px; top: 91px; width: 310px; height: 28px; font-family: ProximaNova_Xbold !important;}
#join span { float: left; line-height: 1; }
#join  input { 
    background: none; 
    line-height: 1; 
    border: 0px; 
    box-shadow: none;  
    margin-left: 5px; 
    margin-bottom: 10px; 
    width: 190px; 
    font-family: ProximaNova_Sbold; 
    float:left;
    padding-left: 3px;
    padding-top: 0px;
    line-height: 18px !important;
    font-size: 22px !important;
}

/* Class for Color and Text buttons */ 
#colorbtn ul { list-style: none; float: left; }
#colorbtn li { float: left; margin-left: 7px; }
#colorbtn img { width: 34px; height: 28px; }

#textbtn ul { list-style: none; float: left;}
#textbtn li { float: left; margin-left: 7px; }
#textbtn img { width: 34px; height: 28px; }

.label-text { font-size: 22px; }

.left-header-selected { position: absolute; height: 38px; padding: 0 20px; display: table-cell; vertical-align: middle; margin-left: -1px; } 
.left-header-unselected { position: absolute; height: 30px; padding: 0 20px; display: table-cell; vertical-align: middle; }

.left-content-padding { padding: 55px 20px 22px 20px; }
.left-content-padding p { color: #4c4949; } 
/* join input */

#join-input { 
    margin-left: 5px;
    width : 247px; 
    height: 28px; 
    float: right; 
    background: url('images/join_input.png') 0 0 no-repeat;
}

#join-input  a.Regular, #join-input  a {
    text-decoration: none;
    color: #494949;
    text-align: center;
    font-size: 20px;
    line-height: 22px;
    font-family: "ProximaNova_Xbold";
    float: right;
    text-decoration: none;
    padding-top: 4px;
    display: block;
    width: 39px;
    height: 24px;
    background: url('images/join_input.png') -208px 0px no-repeat;
}
#join-input  a.Middle {
    text-decoration: none;
    color: #494949;
    text-align: center;
    font-size: 22px;
    line-height: 22px;
    font-family: "ProximaNova_Xbold";
    float: right;
    text-decoration: none;
    
    display: block;
    width: 39px;
    height: 24px;
    background: url('images/join_input.png') -208px 0px no-repeat;
}
#join-input  a.Large, #join-input  a.Largest {
    text-decoration: none;
    color: #494949;
    text-align: center;
    font-size: 24px;
    line-height: 22px;
    font-family: "ProximaNova_Xbold";
    float: right;
    text-decoration: none;
    padding-top: 3px;
    display: block;
    width: 39px;
    height: 25px;
    background: url('images/join_input.png') -208px 0px no-repeat;
}

#join-input  a:hover {
    background: url('images/join_input.png') -208px -28px no-repeat;
}

/* footer links */
#colophon  ul {
    margin: 20px 20px 0 0;
    list-style: none;
    float: right;
}

#colophon li {
    margin-left: 25px; 
    float: left;
    text-align: left;
    clear: left;
}

#menu-footer_1 a {
    text-decoration: none;
}

#menu-footer_2 {
    position: absolute;
    margin: 0 !important;
    top: 60px;
    right: 25px;
}

#menu-footer_2 a {
    text-decoration: none;
}


#menu-footer_1 .menu-order-1 {
    background: url('images/ico-book.png') center left no-repeat;
    height: 38px;
    padding-left: 38px;
}

#menu-footer_1 .menu-order-2 {
    background: url('images/ico-question.png') center left no-repeat;
    height: 38px;
    padding-left: 21px;
}

#menu-footer_1 .menu-order-3 {
    background: url('images/ico-phone.png') center left no-repeat;
    height: 38px;
    padding-left: 40px;
}

#footer-logo {
    width: 260px;
    height: 49px;
    background: url('images/footer-logo.png') top left no-repeat;
    float: left;
    margin: 90px 0 0 23px;
}

#footer-logo:hover {
    background: url('images/footer-logo_hover.png') top left no-repeat;
}

#header-logo {
    width: 260px;
    height: 49px;
    margin:10px;
    background: url('images/footer-logo_hover.png') top left no-repeat;
    float: right;
}


#footer-info {
    display: block;
    position: absolute;
    font-size: 19px !important; 
    bottom: 100px;
    right: 20px;
    
}

#access {
    clear: both;
    position: relative;
    display: block;
    float: left;
    margin: 0 auto;
    width: 100%;
}

#access ul {
    font-weight: bold;
    list-style: none;
    /* Duc add 3,
    Note change margin
    margin: 0 0 0 -10px;
    Add width: 95%;
    And display: flex; */
    margin: 0 auto;
    width: 95%;
    display: flex;  
    padding-left: 0;
}

#access li {
    margin-left: 2px;
    width: 155px;
    height: 32px;
    text-align: center;
    float: left;
    position: relative;
    /*overflow: hidden;*/
    /* Duc add 4
    Add flex-grow: 1; */
    flex-grow: 1;
}

.ico { 
    float: left; 
    margin-right: 0.5em;     
    position: absolute;
    right: -80px;
    top: 0;
    border: 0px !important; 
}

.left-header-selected .ico { display: block; border: 0px; }

.topmargin30 {
    margin-top: 30px; 
}

.left-border-selected p,
.left-border-unselected p { margin-bottom : 0; }

.left-border-selected a,
.left-border-unselected a { font-family: "ProximaNova_Xbold"; }

.ico-printer { width: 28px; height: 23px; margin-top: 5px; margin-right: 5px; background: url('images/ico-printer.png'); float: left; }
.ico-launch { width:  14px; height: 17px; margin-top: 5px; margin-right: 5px; background: url('images/launch_animation.png') no-repeat; float: left; }
.ico-launch-white { width:  14px; height: 17px; margin-top: 5px; margin-right: 5px; background: url('images/launch_animation_white.png') no-repeat; float: left; }


.tabbox-1, 
.tabbox-2 {
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius-top-left: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    /*behavior: url(/pie.htc);*/        
    cursor: pointer; 
    text-align: center;     
    float: left;    
    height: 28px;
    padding: 0 30px 2px 30px;   
/*  margin-top:2em;*/
}

.tabbox-1, .tabbox-2 {
    font-weight: bold;
}

.tabbox-1 {
    background: none repeat scroll 0 0 #796E6E;
}

.tabbox-2 {
    margin-right:2px;
}

.display-tab {
    display: block;
    background: #fff;
    padding: 20px 30px;
}

.display-tab img.alignleft, img.alignright, img.aligncenter{
    margin-bottom: 0;
}

.display-tab p {
    margin-bottom: 0px;
}

.hide-tab {
    display: none;
    background: #fff; 
}

.pager {
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius-top-left: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    /*behavior: url(/pie.htc);*/    
    margin-top: 4px; 
    background: #fff;
    margin-bottom: 21px;
    height: 40px;
    text-align: center;
    font-size: 24px;
    float: left;
    width: 691px;
    position: relative;
}

.pager a.selected {
    text-decoration: underline;
}

/* Home Page slider */


.slider {
    width: 728px;
    height: 487px;
    position: relative;
    margin: 0 auto; 
    background: url('images/slider-bg_small.png');
}

.slider .play-button {
    width: 18px;
    height: 21px;
    background: url('images/buttons/play-button.png'); 
    position: absolute; 
    bottom: 15px;
    right: 22px;
    display: none;
    cursor: pointer;
    z-index: 1002;  
}

.slider .pause-button {
    width: 18px;
    height: 19px;
    background: url('images/buttons/pause-button.png'); 
    position: absolute; 
    bottom: 15px;
    right: 22px;
    cursor: pointer; 
    z-index: 1002;
}

.slider-text {
    padding: 10px 20px;
    font-family: ProximaNova_Sbold;
    font-size: 30px;
    color: #fff;
    width: 644px;
    height: 396px;  
    position: relative;
    line-height: 1.3;
}

.slider .orange {
   background: #f58838;
}

.slider .blue {
   background: #52b1e3;
}

.slider-text b {
   font-size: 28px;
}
 
.slider-text a {
   font-size: 29px;
   color: #fff;
   text-decoration: none;
}

.slider-image {
    width: 684px;
    height: 416px;
    position: absolute;
    top: 26px;
    
    left: 22px;
    display: none;  
    background: #000;
}

.slider-image-shader {
    width: 684px;
    height: 416px;
    position: absolute;
    top: 26px;
    
    left: 22px;
    display: none;  
    background: #000;
    
    z-index: 11000; 
}

.slider-image img {
    width: 684px;
    height: 416px;
    max-width: 684px !important;
    padding: 0;
}

.slider .selected {
    display: block;
}

.slider-pager {
    position: absolute;
    
    width: 729px;
    bottom: 10px;
}

.slider-pager ul {
    position: relative; 
    list-style: none;
}

.slider-pager li {
    cursor: pointer;
    float: left;
    margin-left: 10px;
    height: 21px;
    width: 21px;
    background: url('images/deselected-button.png');
}

.slider-pager li.selected {
    background: url('images/selected-button.png');
}

.home-section-1 {
    line-height: 1.4 !important;
    font-family: ProximaNova_Sbold;
    padding: 20px 32px;
    margin: 0px auto;
    margin-top: 30px;
    width: 888px;
    -webkit-border-radius: 8px 8px 8px 8px;
    -moz-border-radius: 8px 8px 8px 8px;
    border-radius-top-left: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
    /*/*behavior: url(/pie.htc);*/  
    background: #fff;
}


.home-section-1a {
    float: left;
    width: 410px;
    line-height: 1.4 !important;
    font-family: ProximaNova_Sbold;
    padding: 20px 32px;
        margin: 30px 15px 15px 24px;
    -webkit-border-radius: 8px 8px 8px 8px;
    -moz-border-radius: 8px 8px 8px 8px;
    border-radius-top-left: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
    /*/*behavior: url(/pie.htc);*/  
    background: #fff;
    overflow:hidden;
}

.home-section-1b {
    float: left;
    width: 400px;
    line-height: 1.4 !important;
    font-family: ProximaNova_Sbold;
    padding: 20px 32px;
    margin: 0px auto;
    margin-top: 30px;
    -webkit-border-radius: 8px 8px 8px 8px;
    -moz-border-radius: 8px 8px 8px 8px;
    border-radius-top-left: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
    /*/*behavior: url(/pie.htc);*/  
    background: #fff;
}

.home-section-1 img {
    padding: 0;
    margin-bottom: 0;
}

.home-sections-container {
    margin: 0px auto;
    margin-top: 10px;
    width: 952px;
    background: none;
    float:left;
    margin-left:25px;   
}

.home-sections-container-a {
    margin: 0px auto;
    margin-top: 10px;
    width: 999px;
    background: none;   
}

.home-section-3 {
    float: right;
    width: 525px;
    line-height: 1.4 !important;
    font-family: ProximaNova_Sbold;
    padding: 20px 32px;
    -webkit-border-radius: 8px 8px 8px 8px;
    -moz-border-radius: 8px 8px 8px 8px;
    border-radius-top-left: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
    /*behavior: url(/pie.htc);*/    
    background: #fff;   
}

.social-icons {
    float: right;
}

.social-icons a {
    float:left\0/;
    width: 30px\0/;
}

.social-icons  img{
    padding: 0;
    margin-left: 11px;
    margin-right: 0;
    cursor: pointer;
}

/* ul list */

.about-list {
    margin-left: 20px !important;
    list-style-image: url('images/about-list.png');
    line-height: 2em;
}

.about-list li {
    line-height: 1.2em;
    margin-bottom: 15px;
}


.learn-list {
    margin-left: 20px !important;
    list-style-image: url('images/learn-list.png');
    line-height: 2em;
}

.learn-list li {
    line-height: 1.2em;
    margin-bottom: 15px;
}


.treat-list {
    margin-left: 20px !important;
    list-style-image: url('images/treat-list.png');
    line-height: 2em;
}

.treat-list li {
    line-height: 1.2em;
    margin-bottom: 15px;
}


/** NEW LINES */

.mainHeaderlink.Large, .mainHeaderlink.Largest{
    width: 274px !important;
    height: 112px !important;
    margin-top: 12px;
    margin-left: 23px;
    display: block;
    background: url('images/logo_new_large.png') center;
    text-decoration: none;
}

.wrap-logo-img {
    float: left;
    
}

#wrap-logo-text span.Large {
    
    font-family: ProximaNova_Sbold;
    font-size: 26px;
    line-height: 26px;
    color: #9e388b;
    margin-left: 17px;
    
    
    display: block;
    float: left;
    margin-top: 25px;
    top: 0px !important;
    left: 320px !important;
    position: absolute !important;
}

#wrap-logo-text span.Largest { 
    
    font-family: ProximaNova_Sbold;
    font-size: 28px;
    line-height: 26px;
    color: #9e388b;
    margin-left: 17px;
    
    
    display: block;
    float: left;
    margin-top: 24px;
    top: 0px !important;
    left: 320px !important;
    position: absolute !important;
}

.mainHeaderlink.Middle{
    width: 261px !important;
    height: 106px !important;
    margin-top: 22px;
    margin-left: 24px;
    display: block;
    background: url('images/logo_new_middle.png') center;
    text-decoration: none;
}

.wrap-logo-img {
    float: left;
    
}

#wrap-logo-text span.Middle {
    
    font-family: ProximaNova_Sbold;
    font-size: 25px;
    line-height: 22px;
    color: #9e388b;
    margin-left: 18px;
    
    display: block;
    float: left;
    margin-top: 35px;
    top: 4px !important;
    left: 289px !important;
    position: absolute !important;
}


.mainHeaderlink.Regular{
    width: 243px !important;
    height: 99px !important;
    margin-top: 22px;
    margin-left: 24px;
    display: block;
    background: url('images/logo_new.png') center;
    text-decoration: none;
}

.wrap-logo-img {
    float: left;
    
}

#wrap-logo-text span.Regular {
    
    font-family: ProximaNova_Sbold;
    font-size: 24px;
    line-height: 22px;
    color: #9e388b;
    margin-left: 18px;
    width: 342px;
    height: 22px;
    display: block;
    float: left;
    margin-top: 32px;
    
    /*top: 102px !important;
    left: 287px !important;
    position: absolute !important; */
}
#footer-info a {
    font-size: 22px !important;
}
#footer-info a:hover {
    text-decoration: none;
}

/* Slider styles */

.slider-container {
    position: relative; 
    overflow: hidden;
    background: #fff;
}

.no-bottom-line {
    border-bottom: 0px !important;
    font-size: 35px !important; 
}


#purplebar {
    height:76px;
    width:575px;
    position:absolute;
    right:0px;
    top:75px;
    font-size:12px;
}


/* Back to top Hide */

#page-disclaimer .back-to-top { display: none; }
#site-sponsors-page .back-to-top { display: none; }
#donate-page .back-to-top { display: none; }
#privacy-page .back-to-top { display: none; } 


.margintop30 {
    margin-top: 30px;
}


.donatepagebutton {
    height: 125px; 
    width: 125px; 
    -webkit-border-radius: 5em; 
    -moz-border-radius: 5em; 
    -webkit-border-top-left-radius: 3.5em;
    -webkit-border-top-right-radius: 3.5em;
    -webkit-border-bottom-left-radius: 3.5em;
    -webkit-border-bottom-right-radius: 3.5em;
    margin: auto;  
}

.donatepagebuttontext {
    margin-top:20px;
    text-align:center;
    font-family: ProximaNova_Xbold;
    font-size: 28px;
    font-weight: normal;
    line-height:1em !important;
}

.readmore{
    float:left;
    text-align:right;
    margin-top:-30px;
    width:490px;
    display:block;
}

.newstext{
    float:left;
    width:490px;
    overflow:hidden;
}

.error{
    font-size:14px;
    margin-top:5px;
    margin-left:5px;
}


@font-face {
    font-family: 'Proximanova-Black';
    src: url("fonts/new-fonts/proximanova-black.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanova-Bold';
    src: url("fonts/new-fonts/proximanova-bold.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanova-BoldIt';
    src: url("fonts/new-fonts/proximanova-boldit.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanova-ExtraBold';
    src: url("fonts/new-fonts/proximanova-extrabold.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanova-Light';
    src: url("fonts/new-fonts/proximanova-light.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanova-Lightitalic';
    src: url("fonts/new-fonts/proximanova-lightitalic.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanova-RegItalic';
    src: url("fonts/new-fonts/proximanova-regitalic.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanova-Regular';
    src: url("fonts/new-fonts/proximanova-regular.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanova-Regular';
    src: url("fonts/new-fonts/proximanova-regularitalic.otf") format("opentype");
    font-style: oblique;
}
 
@font-face {
    font-family: 'Proximanova-Regular';
    src: url("fonts/new-fonts/proximanova-regularitalic.otf") format("opentype");
    font-style: italic;
}
 
@font-face {
    font-family: 'Proximanova-Regular';
    src: url("fonts/new-fonts/proximanova-semibold.otf") format("opentype");
    font-weight: bold;
}
 
@font-face {
    font-family: 'Proximanova-Regular';
    src: url("fonts/new-fonts/proximanova-semibolditalic.otf") format("opentype");
    font-weight: bold;
    font-style: oblique;
}
 
@font-face {
    font-family: 'Proximanova-Regular';
    src: url("fonts/new-fonts/proximanova-semibolditalic.otf") format("opentype");
    font-weight: bold;
    font-style: italic;
}
 
@font-face {
    font-family: 'Proximanovacond-Light';
    src: url("fonts/new-fonts/proximanovacond-light.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanovacond-LightIt';
    src: url("fonts/new-fonts/proximanovacond-lightit.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanovacond-Regular';
    src: url("fonts/new-fonts/proximanovacond-regular.otf") format("opentype");
}
 
@font-face {
    font-family: 'Proximanovacond-Regular';
    src: url("fonts/new-fonts/proximanovacond-regularit.otf") format("opentype");
    font-style: italic;
}
 
@font-face {
    font-family: 'Proximanovacond-Regular';
    src: url("fonts/new-fonts/proximanovacond-regularit.otf") format("opentype");
    font-style: oblique;
}
 
@font-face {
    font-family: 'Proximanovacond-Regular';
    src: url("fonts/new-fonts/proximanovacond-semibold.otf") format("opentype");
    font-weight: bold;
}
 
@font-face {
    font-family: 'Proximanovacond-Regular';
    src: url("fonts/new-fonts/proximanovacond-semiboldit.otf") format("opentype");
    font-weight: bold;
    font-style: oblique;
}
 
@font-face {
    font-family: 'Proximanovacond-Regular';
    src: url("fonts/new-fonts/proximanovacond-semiboldit.otf") format("opentype");
    font-weight: bold;
    font-style: italic;
}

/* ========================== Start header ========================== */
 
#branding {
    min-width: 320px;
    /* Duc add itself
    border-bottom: 1px solid rgb(197, 197, 197);
    box-shadow: 0px 1px 0px rgb(236, 236, 236); */
}
 
.header-bigScreen {
  height: 120px;
}
 
#header-new-logo {
  float:left;
  margin-left: 20px;
}
 
#header-new-logo img {
  max-height: 80%;
  max-width: 80%;
  width: auto !important;
  height: auto !important;
  margin-bottom: auto !important;
}
 
.wrapper {
  display: table-cell;
  vertical-align: middle;
}
 
.dropdown {
  font-family: "Proximanova-Regular" !important;
  font-size: 20px;
  line-height: 0px !important;  /* Make the image in center */
  font-weight: bold;
  color: rgb(152, 17, 155);
  text-decoration: none !important;
  margin-left: 10px;
  height: 24px;
  width: 36px;
  background-image: url('https://www.scienceofamd.org/wp-content/themes/twentyeleven/images/flags/us36x24.png');
  background-repeat: no-repeat;
}
 
.dropdown:hover {
    text-decoration: none !important;
}
 
.dropdown img {
    vertical-align:middle;
}
 
.dropdown:after {
  content: '\25bc';
  position: relative;
  left: 43px;
  top: 11px;
}
 
.flag-language {
  line-height: 50px;
  list-style:none;
  padding: 12px 25px 0px 25px;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
 
.flag-language a {
    font-weight: bold;
    font-family: "Proximanova-Regular" !important;
    font-size: 16px;
}
 
.flag-language:hover {
  background: rgb(152, 17, 155);
}
 
.flag-language a {
  color: black;
  text-decoration: none;
}
 
.text-language {
  color: rgb(128, 128, 128);
  display: inline-block;
  font-size: 18px;
  font-family: "Proximanova-Regular" !important;
}
 
/**/
#header-menu-buttons {
    max-width: 100%;
    float: left;
}
 
.header-buttons {
    float: left;
}
 
.header-buttons-text {
    display: inline-block;
    padding: 6px 20px;
    color: rgb(128, 128, 128);
    font-size: 18px;
    font-family: "Proximanova-Regular" !important;
    font-weight: bold;
}
 
#header-donate-text:hover {
    background: rgb(152, 17, 155);
    color: white;
}
 
#header-resources-text:hover {
    background: rgb(152, 17, 155);
    color: white;
}
 
#header-treat-text:hover {
    background: rgb(152, 17, 155);
    color: white;
}
 
#header-learn-text:hover {
    background: rgb(152, 17, 155);
    color: white;
}
 
#header-about-text:hover {
    background: rgb(152, 17, 155);
    color: white;
}
 
/* Navigation menu */
#header-menu-opened {
  display: none;
  background-color: rgb(102, 48, 104);
  /* min-height: 480px; */
  height: 100%;
  width: 320px;
  top: 0px;
  /* for full screen, use
  width: 100% */
  right: 0px;
  position: fixed;
  overflow: auto;
  z-index: 1000;
}
 
#header-menu-close {
  position: absolute;
  top: 49px;
  right: 24px;
}
 
#header-presented-by {
  text-align: center;
}
 
#header-presented-by img {
  width: 150px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}
 
/* ============= START BUTTON ============= */
#header-margin-wrapper {
  height: 70%;
  width: 100%;
  display: table;
  margin: 0 auto;
}
 
#header-menu-containers {
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}
 
#header-menu-contained {
  height: 200px;
  width: 320px;
  /* for full screen, use
  width: 100% */
}
 
#header-menu-items {
  text-align: center;
}
 
.header-menu-separator {
  width: 90%;
  background-color: transparent;
  box-shadow: 0 1px 0 rgb(174, 110, 211);
  margin-top: 5px;
  margin-bottom: 8px;
}
 
.header-menu-opened-buttons {
  text-transform: uppercase;
  color: white;
  opacity: 0.8;
}
 
#header-menu-opened-about:hover,
#header-menu-opened-treat:hover,
#header-menu-opened-resources:hover,
#header-menu-opened-connect:hover,
#header-menu-opened-learn:hover,
#header-menu-opened-donate:hover {
    opacity: 1;
}
 
/* ============= START SOCIAL ============= */
#header-social-containers {
  width: 100%;
  min-width: 320px;
}
#header-social-holders {
    width: 138px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}
 
#header-social-holders a {
    vertical-align: top;
    display: inline-block;
    zoom: 1;
}
 
.header-stretch {
    width: 100%;
    display: inline;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}
 
.icons {
    vertical-align: middle;
    opacity: 0.8;
    height: 65%;
}
 
#fbIcon:hover img,
#ttIcon:hover img,
#ytIcon:hover img,
#ggIcon:hover img {
    opacity: 1;
}
 
/* ========================== End header ========================== */

/* ========================== Begin media enquiry ========================== */
 
@media screen and (max-width: 767px) {
 
    /* Header */
    .header-bigScreen {
        height: 120px;
    }
 
    #header-new-logo {
        margin-left: 6px;
    }
 
    .dropdown {
        font-size: 15px;
    }
 
    .flag-language {
        padding: 7px 15px 3px 15px;
        line-height: 19px;
    }
 
    #header-menu-opened {
        width: 100%;
    }
 
    #header-menu-contained {
        width: 100%
    }
}

/* ====================== Modify for responsive design ====================== */

body {
    width: 100%;
}

#header-angio-logo {
    float: right;
    right: .9em;
}

.header-border {
    background: linear-gradient(#FFFFFF, #E2E2E2) !important;
    width: 100%;
    height: 48px;
}

#header-background-color {
    float: left;
    position: relative;
    left: 30px;
    width: 200px;
}

#header-background-text {
    float: left;
    position: relative;
    left: 140px;
    width: 230px;
}

#header-background-join {
    float: left;
    position: relative;
    left: 220px;
    width: 300px;
}

#header-language {
    position: absolute;
    top: 0px;
    right: 150px;
    width: 75px;
    height: 120px;
}

#header-language:before {
    content: "";
    position: absolute;
    left: 0;
    top: 25px;
    height: 0px;
    width: 2px;
    border-left: 2px solid rgb(152, 17, 155);
}

#header-language-button {
    position: absolute;
    top: 38px;
    left: 16px;
    width: 43px;
    height: 43px;
    cursor: pointer;
}

#header-navIcon {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 75px;
    height: 120px;
}

#header-navIcon:before {
    content: "";
    position: absolute;
    left: 0;
    top: 25px;
    height: 70px;
    width: 2px;
    border-left: 2px solid rgb(152, 17, 155);
}

#header-navIcon-button {
    position: absolute;
    top: 38px;
    left: 19px;
    width: 43px;
    height: 43px;
    cursor: pointer;
}

#header-join {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 75px;
    height: 120px;
    display: none;
}

#header-join:before {
    content: "";
    position: absolute;
    left: 0;
    top: 25px;
    height: 70px;
    width: 2px;
    border-left: 2px solid rgb(152, 17, 155);
}

#header-join-button {
    position: absolute;
    top: 38px;
    left: 19px;
    width: 43px;
    height: 43px;
    cursor: pointer;
}

#header-access {
    position: absolute;
    top: 0px;
    right: 75px;
    width: 75px;
    height: 120px;
}

#header-access:before {
    content: "";
    position: absolute;
    left: 0;
    top: 25px;
    height: 70px;
    width: 2px;
    border-left: 2px solid rgb(152, 17, 155);
}

#header-access-button {
    position: absolute;
    top: 38px;
    left: 16px;
    width: 43px;
    height: 43px;
    cursor: pointer;
}

.header-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000 !important;
    background-color: rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    color: white;
    font-size: 40px;
    font-family: Proximanova-Light;
    right: 20px;
    z-index: 1;
    cursor: pointer;
}

.close:hover {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

#header-language-popup-wrapper {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.4s ease;
}

#header-language-popup {
    position: absolute;
    width: 500px;
    height: 200px;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: rgb(102, 48, 104);
    box-shadow: 0 0 60px rgb(0, 0, 0);
}

#header-language-popup-text {
    position: absolute;
    color: white;
    font-size: 22px;
    font-family: Proximanova-Light;
    top: 45px;
    bottom: auto;
    left: 50%;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

#header-language-popup-cluster {
    position: static;
}

.header-language-options-flags {
    display: none;
}

.header-language-options-texts {
    display: none;
}

.header-language-options {
    position: absolute;
    width: 45px;
    height: 30px;
    background-size: 45px 30px;
    top: 101px;
}

#header-language-option-en {
    left: 32.5px;
    background-image: url('//www.scienceofamd.org/wp-content/uploads/2016/05/flag-en.png');
}

#header-language-option-ja {
    left: 97.5px;
    background-image: url('//www.scienceofamd.org/wp-content/uploads/2016/05/flag-ja.png');
}

#header-language-option-fr {
    left: 162.5px;
    background-image: url('//www.scienceofamd.org/wp-content/uploads/2016/05/flag-fr.png');
}

#header-language-option-it {
    left: 227.5px;
    background-image: url('//www.scienceofamd.org/wp-content/uploads/2016/05/flag-it.png');
}

#header-language-option-es {
    left: 292.5px;
    background-image: url('//www.scienceofamd.org/wp-content/uploads/2016/05/flag-es.png');
}

#header-language-option-ru {
    left: 357.5px;
    background-image: url('//www.scienceofamd.org/wp-content/uploads/2016/05/flag-ru.png');
}

#header-language-option-de {
    left: 422.5px;
    background-image: url('//www.scienceofamd.org/wp-content/uploads/2016/05/flag-de.png');
}

#header-join-popup-wrapper {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.4s ease;
}

#header-join-popup {
    position: absolute;
    width: 400px;
    height: 480px;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: rgb(102, 48, 104);
    box-shadow: 0 0 60px rgb(0, 0, 0);
}

#header-join-popup-fb {
    position: absolute;
    background-image: url('//www.scienceofamd.org/wp-content/uploads/2016/03/fbIcon.png');
    width: 33px;
    height: 33px;
    top: 15px;
    left: 10px;
    cursor: pointer;
}

#header-join-popup-tt {
    position: absolute;
    background-image: url('//www.scienceofamd.org/wp-content/uploads/2016/03/ttIcon.png');
    width: 33px;
    height: 33px;
    top: 15px;
    left: 48px;
    cursor: pointer;
}

#header-join-popup-yt {
    position: absolute;
    background-image: url('//www.scienceofamd.org/wp-content/uploads/2016/03/ytIcon.png');
    width: 33px;
    height: 33px;
    top: 15px;
    left: 86px;
    cursor: pointer;
}

#header-join-popup-text {
    position: absolute;
    color: white;
    font-size: 22px;
    font-family: Proximanova-Light;
    top: 25px;
    bottom: auto;
    left: 50%;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.header-join-popup-form {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 80px;
    left: 0px;
}

.header-join-popup-form-item {
    width: 400px;
    height: 40px;
    position: relative;
}

.header-join-popup-form-item-text {
    position: absolute;
    left: 35px;
    width: 200px;
    color: white;
    font-family: Proximanova-Light;
    font-size: 16px;
}

.header-join-popup-form-item-input {
    position: absolute;
    left: 175px;
    width: 200px;
    top: 4px;   
}

.input-field {
    width: 189px;
}

#header-join-popup-form-submit {
    width: auto;
    text-align: center;
}

#header-access-popup-wrapper {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.4s ease;
}

#header-access-popup {
    position: absolute;
    width: 500px;
    height: 200px;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: rgb(102, 48, 104);
    box-shadow: 0 0 60px rgb(0, 0, 0);
}

#header-access-popup-size {
    position: absolute;
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
}

#header-access-popup-size:before {
    content : ""; 
    position: absolute;
    left: 20%;
    top: 99%;
    height: 2px;
    width: 60%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

#header-access-popup-size-text {
    position: absolute;
    color: white;
    font-size: 20px;
    top: 14px;
    left: 50%;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

/*.header-access-popup-size-options {
    position: absolute;
    color: white;
}*/

/*#header-access-popup-size-small {
    top: 63px;
    left: 165px;
    font-size: 16px;
}

#header-access-popup-size-regular {
    top: 59px;
    left: 215px;
    font-size: 20px;
}

#header-access-popup-size-big {
    top: 54px;
    left: 265px;
    font-size: 24px;
}

#header-access-popup-size-bigger {
    top: 50px;
    left: 315px;
    font-size: 28px;
}*/

#header-access-popup-size-options-wrapper {
    position: absolute;
    top: 49px;
    left: 50%;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);    
}

.header-access-popup-size-options {
    color: white;
    cursor: pointer;
}

#header-access-popup-size-small {
    font-size: 16px;
    margin-right: 37px;
}

#header-access-popup-size-regular {
    font-size: 20px;
    margin-right: 35px;
}

#header-access-popup-size-big {
    font-size: 24px;
    margin-right: 34px;
}

#header-access-popup-size-bigger {
    font-size: 28px;
}


#header-access-popup-color {
    position: absolute;
    width: 100%;
    height: 50%;
    top: 50%;
    left: 0;
}

#header-access-popup-color-text {
    position: absolute;
    color: white;
    font-size: 20px;
    top: 10px;
    left: 50%;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

#header-access-popup-color-options-wrapper {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 182px;
    height: 26px;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.header-access-popup-color-options {
    position: absolute;
    width: 26px;
    height: 26px;
    background-size: 26px 26px;
    cursor: pointer;
}

#header-access-popup-color-regular {
    left: 0px;
    background-image: url('https://www.scienceofamd.org/wp-content/uploads/2016/05/colReg.png');
}

#header-access-popup-color-white {
    left: 51px;
    background-image: url('https://www.scienceofamd.org/wp-content/uploads/2016/05/colWhite.png')
}

#header-access-popup-color-black {
    left: 102px;
    background-image: url('https://www.scienceofamd.org/wp-content/uploads/2016/05/colBlack.png');
}

#header-access-popup-color-blue {
    left: 153px;
    background-image: url('https://www.scienceofamd.org/wp-content/uploads/2016/05/colBlue.png');
}

/* Begin home page */

.slider-pager ul {
    margin-left: 249px;
}

.slider-image object {
    width: 687px;
    height: 416px;
}

#home-slider-orange-continue {
    position: absolute;
    right: 20px;
    bottom: 40px;
}

#home-slider-blue-continue {
    position: absolute;
    right: 20px;
    bottom: 40px;
}

/* End home page */

/* Begin resource page modification */

#connect-social-media-2 {
    display: none;
}

/* End resource page modification */

#menu-main_menu-container {
    width: 100%;
}

#page {
    margin: 2em auto;
    margin-top: 0px;
    margin-bottom: 0px;
    max-width: 1000px;
    min-width: initial;
    width: 100%;
}

#learn-introduction-video-wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 645px;
    height: 363px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.entry-content {
    width: auto;
    margin-left: 255px; 
    margin-right: 50px; 
    float: left;
    width: 695px; 
    position: relative;
}

#header-format {
    display: block;
    position: relative;
    width: 100%;
}

.wrap-logo-block {
    display: none;
}

#purplebar {
    display: none;
}

.header-border {
    height: 30px;
    margin-top: -15px;
}

#header-background-color {
    display: none;
}

#header-background-text {
    display: none;
}

#header-background-join {
    display: none;
}

.menu-main_menu-container {
    display: none;
}

.header-border {
    display: none;
}
/*  Beginning footer  */
.bigFooterScreen {
    /* modify: make width not fixed height */
    /*height: 235px;*/
}

#footer-wrapper {
    display: none;
    min-width: 750px;
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}

.footer-stretch-horizontal {
    display: inline;
    display: inline-block;
    zoom: 1;
    vertical-align: top;
}

.footer-stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

#footer-contact {
    font-size: 13px;
    width: 262px;
    float: left;
    flex-grow: 1;
}

#footer-contact-name {
    font-weight: bold;
    font-size: 17px !important;
}

#footer-contact-add:before {
    content: url('/wp-content/uploads/2016/03/pinIcon.png');
    width: 14px;
    height: 21px;
}

#footer-contact-phone:before {
    content: url('/wp-content/uploads/2016/03/phoneIcon.png');
    width: 14px;
    height: 21px;
}

#footer-contact-email a:link,
#footer-contact-email a:visited,
#footer-contact-email a:link:active,
#footer-contact-email a:visited:active,
.footer-menu-item:link,
.footer-menu-item:link:active,
.footer-menu-item:visited,
.footer-menu-item:visited:active {
    color: white !important;
}

.footer-menu-item {
    position: absolute;
}

#footer-contact-email:before {
    content: url('/wp-content/uploads/2016/03/emailIcon.png');
    width: 14px;
    height: 21px;

}

#footer-brought-text {
    font-size: 14px !important;
}

#footer-brought-by {
    max-width: 200px;
    min-width: 150px;
    margin-bottom: 3px;
}

#footer-menu {
    font-size: 15px;
    position: relative;
    margin-left: 45px;
    width: 66px;
    height: 180px;
    flex-grow: 1;
}

#footer-menu-item-about {
    top: 25px;
}

#footer-menu-item-learn {
    top: 50px;
}

#footer-menu-item-treat {
    top: 75px;
}

#footer-menu-item-resources {
    top: 100px;
}

#footer-menu-item-glossary {
    top: 125px;
}

#footer-menu-item-donate {
    top: 150px;
}

#footer-policy {
    font-size: 15px;
    position: relative;
    margin-left: 20px;
    width: 100px;
    flex-grow: 1;
}

#footer-menu-item-disclaimer {
    top: 25px;
}

#footer-menu-item-support {
    top: 50px;
}

#footer-hon {
    width: 140px;
    color: white;
    flex-grow: 1;
}

#footer-hon img {
    max-width: 100%;
}

#wrapper-hon {
    display: inline-block;
}

#wrapper-hon-text {
    text-align: left;
    margin-top: 14px;
}

#home-section-1a-wrapper {
    padding-top: 25px;
}


/* Just a little of copy for footer */
#footer_1-wrapper {
    display: none;
}

#footer_2-wrapper {
    display: none;
}

#footer-clear {
    display: none;
}

#footer-info {
    display: none;
}

#footer-old-hon-image {
    display: none;
}

#footer-old-hon-text {
    display: none;
}

#colophon {
    position: relative;
    clear: both;
    background: rgb(80, 80, 80);
    height: auto;
    padding: 23px 0;
}

#colophon ul {
    margin: 0 0 0 0 !important;
    -webkit-padding-start: 0px;
    list-style: none;
    display: inline-block;
}

#colophon li {
    color: white;
}

#footer-wrapper {
    display: flex;
    height: 100%;
}

/*  Ending footer  */

/* Begin subpage slideshow */

.slider-container {
    width: 100% !important;
}

.display-tab {
    -webkit-user-select: none;
    margin-left: 0px;
    width
}

/* End subpage slideshow */

@media screen and (max-width: 1060px) {

    #purpleribbon {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    
    /* Header modification */
    .wrap-logo-block {
        display: none;
    }

    #purplebar {
        display: none;
    }

    #header-format {
        display: block;
    }

    .header-border {
        height: 30px;
        margin-top: -15px;
    }

    #header-background-color {
        display: none;
    }

    #header-background-text {
        display: none;
    }

    #header-background-join {
        display: none;
    }

    /* End Header Modification */

    /* Begin home page modification */

    .home-sections-container-a {
        display: flex;
        height: 345px;
        width: 100%;
    }

    .home-section-1a {
        width: 40%;
        margin: 30px 7px 15px 24px;
    }

    .home-section-1b {
        width: 40%;
        margin: 30px 24px 15px 7px;
    }

    .home-section-1b>div {
        width: 100% !important;
    }

    .home-sections-container {
        width: 100%;
        margin: auto;
    }

    .home-section-3 {
        width: 59%;
        margin-left: 1%;
        box-sizing: border-box;
        padding: 10px 10px;
    }

    #fbFeed {
        margin-left: 0px !important;
    }

    .InfoPage {
        width: 100% !important;
    }

    #fb-feed {
        width: 100% !important;
    }

    /* End home page modificaion */

    /* Begin donate page modification */

    .donate-page {
        width: 100% !important;
    }

    /* End donate page modification */

    #content {
        width: auto;
        margin: 0 0;
    }

    #left-menu {
        margin-left: 5px;
    }

    .entry-content {
        margin-right: auto;
        width: calc(100% - 255px - 5px);
    }

    .pager {
        width: 100% !important;
    }

    #slider-page-animation p {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 25px;
        height: 0;
    }

    #slider-page-animation p iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    #learn-introduction-video-wrapper {
        margin-left: auto;
        margin-right: auto;
        width: auto;
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 10px;
        height: 0;
    }

    #learn-introduction-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Begin subpage slideshow modification */

    .display-tab {
        width: 89% !important;
    }

    /* End subpage slideshow modification */

    /* Begin footer modification */
    #footer_1-wrapper {
        display: none;
    }

    #footer_2-wrapper {
        display: none;
    }

    #footer-clear {
        display: none;
    }

    #footer-info {
        display: none;
    }

    #footer-old-hon-image {
        display: none;
    }

    #footer-old-hon-text {
        display: none;
    }

    #colophon {
        position: relative;
        clear: both;
        background: rgb(80, 80, 80);
        height: auto;
        padding: 23px 0;
    }

    #colophon ul {
        margin: 0 0 0 0 !important;
        -webkit-padding-start: 0px;
        list-style: none;
        display: inline-block;
    }

    #colophon li {
        color: white;
    }

    #footer-wrapper {
        display: flex;
        height: 100%;
    }
}

@media screen and (max-width: 767px) {

    #left-menu {
        display: none;
    }

    .entry-content {
        margin-right: auto;
        margin-left: 0px;
        width: 100%;
    }

    /* Begin home page */

    .slider {
        width: 500px;
        height: 335px;
        background-size: 500px 335px;
    }

    .slider-image {
        top: 18px;
        left: 15px;
        width: 470px;
        height: 286px;
    }

    .slider-image img {
        width: 470px;
        height: 286px;
    }

    .slider-image object {
        width: 687px;
        height: 286px;
    }

    .slider-text {
        width: 430px;
        height: 266px;
        font-size: 20px;
    }

    .slider-text a {
        font-size: 20px;
    }

    .slider-pager {
        width: 500px;
        bottom: 6px;
    }

    #home-slider-orange-continue {
        right: 4px;
        bottom: 0px;
    }

    #home-slider-blue-continue {
        right: 4px;
        bottom: 0px;
    }

    #home-slider-blue {

    }

    .slider-pager ul {
        margin-left: 133px !important;
    }

    .slider .play-button {
        bottom: 8px;
    }

    .slider .pause-button {
        bottom: 8px;
    }

    /* End home page */

    /* Begin donate page modification */

    .fancybox-media .mobileslideicon {
        width: 100%;
    }

    /* End donate page modification */

    /* Begin resource page modification */

    #connect-social-media-1 {
        display: none;
    }

    #connect-social-media-2 {
        display: block;
        position: relative;
        width: 250px;
        height: 50px;
        margin-left: auto;
        margin-right: auto;
    }

    #connect-fb {
        position: absolute;
        background-image: url("//www.scienceofamd.org/wp-content/uploads/2012/01/Untitled-1.png");
        width: 41px;
        height: 41px;
        left: 0px;
        top: 0px;
    }

    #connect-tt {
        position: absolute;
        background-image: url("//www.scienceofamd.org/wp-content/uploads/2012/01/Untitled-3.png");
        width: 31px;
        height: 44px;
        left: 51px;
        top: 0px;
    }

    #connect-yt {
        position: absolute;
        background-image: url("//www.scienceofamd.org/wp-content/uploads/2012/01/Untitled-4.png");
        width: 47px;
        height: 44px;
        left: 92px;
        top: 0px;
    }

    #connect-gg {
        position: absolute;
        background-image: url("//www.scienceofamd.org/wp-content/uploads/2012/01/Untitled-5.png");
        width: 45px;
        height: 45px;
        left: 149px;
        top: 0px;
    }

    #connect-mail {
        position: absolute;
        background-image: url("//www.scienceofamd.org/wp-content/uploads/2012/01/Untitled-6.png");
        width: 45px;
        height: 34px;
        left: 204px;
        top: 0px;
    }
    /* End resource page modification */

    #colophon {
        position: relative;
    }

    #footer-wrapper {
        max-width: none;
        min-width: 0px;
        width: 100%;
    }

    #footer-brought-text {
        font-size: 10px;
    }

    #footer-brought-by {
        width: 150px;
    }

    #footer-contact {
        float: left;
    }

    #footer-contact-name {
        font-size: 13px !important;
    }

    #footer-menu {
        display: none;
    }

    /*#footer-policy {
        position: absolute;
        bottom: 0px;
        font-size: 9px;
        left: 0px;
    }

    #footer-policy ul {
        float: right;
    }

    #footer-policy li {
        display: inline;
        margin: 0 10px;
    }*/

    #footer-hon {
        float: right;
        width: 74px;
        margin-right: 10px;
    }

    #wrapper-hon img {
        width: 73px;
        float: left;
    }

    #wrapper-hon-text {
        clear: both;
        font-size: 8px;
    }
}

@media screen and (max-width: 500px) {

    .header-bigScreen {
        height: 80px;
    }

    #header-language {
        height: 80px;
        right: 100px;
        width: 50px;
    }

    #header-language:before {
        content : ""; 
        position: absolute;
        left: 0;
        top: 15px;
        height: 0px;
        width: 2px;
        border-left: 2px solid rgb(152, 77, 155);
    }

    #header-language-button {
        top: 24px;
        left: 4px;
        height: 32px;
        width: 32px;
    }

    #header-join {
        height: 80px;
        width: 50px;
        display: none;
    }

    #header-join:before {
        content : ""; 
        position: absolute;
        left: 0;
        top: 15px;
        height: 50px;
        width: 2px;
        border-left: 2px solid rgb(152, 77, 155);
    }

    #header-join-button {
        top: 23px;
        left: 11px;
        width: 32px;
        height: 32px;
    }

    #header-navIcon {
        position: absolute;
        top: 0px;
        right: 0px;
        height: 80px;
        width: 50px;
        display: block;
    }

    #header-navIcon:before {
        content : ""; 
        position: absolute;
        left: 0;
        top: 15px;
        height: 50px;
        width: 2px;
        border-left: 2px solid rgb(152, 77, 155);
    }

    #header-navIcon-button {
        position: absolute;
        top: 23px;
        left: 13px;
        width: 26px;
        height: 32px;
        cursor: pointer;
    }

    #header-access {
        height: 80px;
        right: 50px;
        width: 53px;
    }

    #header-access:before {
        content : ""; 
        position: absolute;
        left: 0;
        top: 15px;
        height: 50px;
        width: 2px;
        border-left: 2px solid rgb(152, 77, 155);
    }

    #header-access-button {
        top: 22px;
        left: 10px;
        width: 34px;
        height: 34px;
    }

    #header-language-popup {
        position: absolute;
        width: 100%;
        height: 100%;
        min-width: 320px;
        min-height: 480px;
        left: 50%;
        top: 50%;
        -ms-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        background-color: rgb(102, 48, 104);
        box-shadow: 0 0 60px rgb(0, 0, 0);
    }

    #header-language-popup-text {
        position: absolute;
        color: white;
        font-size: 22px;
        font-family: Proximanova-Light;
        top: 45px;
        bottom: auto;
        left: 50%;
        -ms-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    #header-language-popup-cluster {
        position: relative;
        width: 320px;
        height: 480px;
        margin: auto;
    }

    .header-language-options {
        position: absolute;
        width: 100%;
        height: 40px;
        left: 0px !important;
    }

    .header-language-options:before {
        content: "";
        position: absolute;
        top: 39px;
        left: 60px;
        height: 1px;
        width: 200px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .header-language-options-flags {
        position: absolute;
        display: block;
        left: 88px;
    }

    .header-language-options-texts {
        position: absolute;
        display: block;
        left: 167px;
        width: 80px;
        color: white;
        font-family: Proximanova-Light;
        font-size: 16px;
        top: 2px;
    }

    #header-language-option-en {
        top: 100px;
        background-image: none;
    }

    #header-language-option-ja {
        top: 150px;
        background-image: none;

    }

    #header-language-option-fr {
        top: 200px;
        background-image: none;
    }

    #header-language-option-it {
        top: 250px;
        background-image: none;
    }

    #header-language-option-es {
        top: 300px;
        background-image: none;
    }

    #header-language-option-ru {
        top: 350px;
        background-image: none;
    }

    #header-language-option-de {
        top: 400px;
        background-image: none;
    }

    #header-join-popup {
        position: absolute;
        width: 100%;
        height: 100%;
        min-width: 320px;
        min-height: 480px;
        left: 50%;
        top: 50%;
        -ms-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        background-color: rgb(102, 48, 104);
        box-shadow: 0 0 60px rgb(0, 0, 0);
    }

    .header-background #access {
        display: none;
    }

    #header-join-popup-cluster {
        position: relative;
        margin: auto;
        width: 320px;
        height: 480px;
    }

    .header-join-popup-form-item-text {
        left: 10px;
    }

    .header-join-popup-form-item-input {
        left: 139px;
    }

    .input-field {
        width: 160px;
    }

    #header-join-popup-form-submit {
        width: 320px;
    }

    #header-access-popup {
        position: absolute;
        width: 100%;
        height: 100%;
        min-width: 320px;
        min-height: 480px;
        left: 50%;
        top: 50%;
        -ms-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        background-color: rgb(102, 48, 104);
        box-shadow: 0 0 60px rgb(0, 0, 0);
    }

    #header-access-popup-size-text {
        top: 50%;
        -ms-transform: translate(-50%, -40px);
        -moz-transform: translate(-50%, -40px);
        -webkit-transform: translate(-50%, -40px);
        transform: translate(-50%, -40px);
    }

    #header-access-popup-size-options-wrapper {
        top: 50%;
    }

    #header-access-popup-color-text {
        top: 50%;
        -ms-transform: translate(-50%, -50px);
        -moz-transform: translate(-50%, -50px);
        -webkit-transform: translate(-50%, -50px);
        transform: translate(-50%, -50px);
    }

    #header-access-popup-color-options-wrapper {
        top: 50%;
    }

    /* Begin home page */

    .slider {
        width: 320px;
        height: 215px;
        background-size: 320px 215px;
        margin-bottom: 25px;
    }

    .slider .arrow {
        width: 19px !important;
        height: 16px !important;
        background-size: 19px 16px !important;
        margin-left: -24px !important;
        margin-top: 1px !important;
    }

    .slider-image {
        top: 11px;
        left: 8px;
        width: 304px;
        height: 184px;
    }

    .slider-image img {
        width: 304px;
        height: 184px;
    }

    .slider-image object {
        width: 687px;
        height: 184px;
    }

    .slider-text {
        width: 264px;
        height: 164px;
        font-size: 15px;
    }

    .slider-text a {
        font-size: 14px;
    }

    .slider-pager {
        width: 320px;
        bottom: 2px;
    }

    #home-slider-orange-continue {
        right: 4px;
        bottom: 0px;
    }

    #home-slider-blue-continue {
        right: 4px;
        bottom: 0px;
    }

    #home-slider-blue {

    }

    .slider-pager ul {
        margin-left: 54px !important;
    }

    .slider-pager li {
        height: 15px;
        width: 15px;
        background-size: 15px 15px;
    }

    .slider-pager li.selected {
        background-size: 15px 15px;
    }

    .slider .play-button {
        bottom: 5px;
        width: 13px;
        height: 13px;
        background-size: 13px 13px;
    }

    .slider .pause-button {
        bottom: 5px;
        width: 13px;
        height: 13px;
        background-size: 13px 13px;
    }

    .selected strong {
        font-size: 18px !important;
    }

    .home-sections-container-a {
        display: block;
        height: 10px auto;
        width: 100%;
    }

    .home-section-1a {
        width: 100%;
        margin: auto;
        margin-bottom: 25px;
        box-sizing: border-box;
    }

    .home-section-1b {
        width: 100%;
        margin: auto;
        margin-bottom: 25px;
        box-sizing: border-box;
    }

    .home-section-1b>div:first-child {
        width: 100% !important;
    }

    .home-sections-container {
        width: 100%;
        margin: 10px auto auto auto;
    }

    .home-section-2 {
        width: 96%;
        margin-left: 2%;
        box-sizing: border-box;
        margin-bottom: 25px;
    }

    .home-section-3 {
        width: 96%;
        margin: 0px 2% 25px 2%;
        box-sizing: border-box;
        padding: 10px 10px;
    }

    #fbFeed {
        margin-left: 0px !important;
    }

    .InfoPage {
        width: 100% !important;
    }

    #fb-feed {
        width: 100% !important;
    }

    #home-section-1a-wrapper {
        padding-top: 0px;
    }

    /* End home page */

    /* Begin resource page */

    .resources-book {
        display: none !important;
    }

    /* End resource page */

    .tabbox-1 {
        padding: 0 5px 2px 5px;
    }

    .tabbox-2 {
        padding: 0 5px 2px 5px;
    }

    #colophon {
        position: relative;
    }

    #footer-contact {
        font-size: 10px;
    }

    #footer-policy {
        font-size: 10px;
        position: absolute;
        width: 215px;
        height: 25px;
        bottom: 0;
        right: 0;
    }

    #footer-menu-item-privacy {
        top: 0px;
        left: 0px;
    }

    #footer-menu-item-disclaimer {
        top: 0px;
        left: 75px;
    }

    #footer-menu-item-support {
        top: 0px;
        left: 135px;
    }
}

@media screen and (max-width: 450px) {

    #donate-ini-input {
        width: 280px !important;
    }

    #donate-ini-usd {
        margin-top: -37px !important;
    }

    #donate-ini-buttons {
        width: 100% !important;
    }

    #donate-ini-buttons img {
        width: 120px;
    }

    .left-content-padding {
        padding: 55px 20px 22px 10px;
    }
}