/* Custom PEC-icon font
**********************************/

@font-face {
font-family: 'peciconfont';
src: url('/wp-content/uploads/2015/01/icomoon1.eot'); /* IE9 Compat Modes */
src: url('/wp-content/uploads/2015/01/icomoon1.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
     url('/wp-content/uploads/2015/01/icomoon1.woff') format('woff'), /* Modern Browsers */
     url('/wp-content/uploads/2015/01/icomoon1.ttf')  format('truetype'), /* Safari, Android, iOS */
     url('/wp-content/uploads/2015/01/icomoon1.svg#icomoon') format('svg') /* Legacy iOS */
}

/* WMT Mod
**********************************/

body {
	background: white;
	font-family: Arial, 'Helvetica Neue', Helvetica, 'Liberation Sans', FreeSans, sans-serif;
}
input { font-family: Arial, 'Helvetica Neue', Helvetica, 'Liberation Sans', FreeSans, sans-serif; }
a { color: rgb(0,92,131);}
h2, h3, h4, h6 { font-weight: normal;}

section.sidebar-tabs, ul.wmtposts li.postlist h2, #wmtfeatured li div h2, #slide-facade div h2 , #recentBlogs > h2, #recentBlogs h4, .post h2, .post h3 {font-family: "Times New Roman", Times, serif;}

input[type="submit"] { background: rgb(0,92,131); }

img.wmtauthorimage {margin: 5px 20px 5px 5px; border: solid 1px #cccccc;}

.entry-content img  { border: 1px solid #cfcfcf; }
.entry-content { color:#333; font-size:16px; }

/* Some Crown Stuff
**********************************/

div.crown { 
	background: #82000a;
	border-top: 3px solid #b1333e;
}
div.crown a { color: white;}
div.crown a:hover {text-decoration:underline; }


/* These styles are for the page crown
****************************************/
div.crown { height: 30px; }
div.crown div.row div.topmenu ul li { 
	/*margin: 6px 0px;*/
	font-size:14px;
	font-family: 'Fjalla One', sans-serif;
	text-transform:uppercase;
}
div.crown div.row div.topmenu-social {
        float:right;
	background:#b1333e;
	margin-left:8px;
	height:40px;
	padding:0px 3px;
}
div.crown div.row div.topmenu-social a {
	padding:13px 2px 5px;
}
div.crown div.row div.topmenu-social a img {
	background:#ffffff;
	background-color:rgba(255,255,255,0.5);
}
div.crown div.row div.topmenu-right ul li {
        float:right;
        background:#b1333e;
	margin-left:4px;
	height:40px;
	font-size:17px;
}
div.crown div.row div.topmenu-right a {
	padding:13px 10px 5px;
	display:block;
}
div.crown div.row div.topmenu-right ul li.current-menu-item a {
	text-decoration:underline;
}
div.crown div.row div.topmenu-left {
	float:left;
	padding-top:4px;
	font-size:13px;
}
div.crown div.row div.topmenu-left ul li {
	border-right:1px solid white;
	height:16px;
	margin-top:3px;
}
div.crown div.row div.topmenu-left ul li:last-child {
	border-right:none;
}
div.crown div.row div.topmenu-left ul li a {
	margin:-4px 10px 0px;
}

div.crown div#crown-nav-mobile { display:none; }
div.crown div#topmenu-social-wmt { display:none; }
div.crown nav#main_navigation_wmt { display:none; }
input#wmt-mobile-mainnav-button { display:none; }
@media (max-width:786px) { /*mobile-responsive css*/
  div.crown div#crown-nav-mobile { display:block; padding-top:6px; }
  div.crown { height:auto; }
  div.crown div#crown-nav-regular { display:none; }
  div.crown div.row div.topmenu-social {
        float:none;
        background:transparent;
        display:inline-block;
  }
  div.crown {
        background:#b1333e;
        border-top:none;
        border-bottom:3px solid #82000a;
  }
  a.pec-mobile-nav-collapse { margin-left:10px; }
  a.pec-mobile-nav-collapse img {  background:rgba(255, 255, 255, 0.5); }
  div.crown div#topmenu-social-wmt ul li { padding-right:8px; }
  div#crown-nav-mobile nav#main_navigation_wmt ul {
        list-style:none;
        margin-bottom:0px;
  }
  div#crown-nav-mobile nav#main_navigation_wmt ul li {
        font-family:'Fjalla One',sans-serif;
        font-size:17px;
        text-align:center;
        border-top:1px solid #82000a;
        margin-left:0px;
  }
  div#crown-nav-mobile nav#main_navigation_wmt ul li:first-child {
        border-top:none;
  }
  div#crown-nav-mobile nav#main_navigation_wmt ul li a {
        display:block;
        padding:5px 0px;
  }
  div#topmenu-social-wmt {
        margin-top:-14px;
        position:relative;
        top:5px;
  }
  div.box-search, div#box-search-wmt { display:none; }
  div#box-search-wmt form { height:28px; margin-bottom:10px; }
  div#box-search-wmt form input#searchsubmit {
        background:#82000a;
        font-family:'Fjalla One',sans-serif;
        font-size:12px;
        text-transform:uppercase;
        float:right;
        width:20%;
        height:28px;
  }
  div#box-search-wmt form input#s {
        float:left;
        width:76%;
        height:16px;
  }
  input#wmt-mobile-mainnav-button {
        -moz-appearance: none;
        background: url("images/select-icon.png") no-repeat scroll right center, linear-gradient(#f0f0f0, #ddd) repeat scroll 0 0 rgba(0, 0, 0, 0);
        border: 1px solid #ccc;
        padding: 7px 5px;
        width: 100%;
        color:#000;
        display:block;
  }
  div.menu-Main-2013-container select.select-menu, ul.sf-menu li:first-child { display:none; }
  ul.sf-menu li {
        float:none;
        text-align:center;
        border-top:1px solid #014282;
  }
  ul.sf-menu li:nth-child(2) { border-top:none; }
}

/* These styles are for the page header including the logo
**********************************************************/
.header img { width: 100%; max-width: 513px; position: relative; left: -2px; }
.header img#ralphwilson { width: 75px; float: right; position: relative; top: -10px; left: -15%;}
div.header div.col4 div#titlebar-promote {
        float:right;
}
div.box-search {
	text-align: right;
	float:right;
	width:304px;
	margin-right:2px;
	clear:right;
}
div#search form#searchform {  
	padding: 3px 0px; 
	overflow: hidden; 
/*	background: rgb(0,92,131); 
*/
	vertical-align: top;
	text-align: center;
}
div#search form#searchform input { 
/*	border: 1px solid #0f5982;*/
	font-size: 12px;/* previously 11px */
	float:right;
}
div#search form#searchform input#s {
	margin: 0 4px 0 0;
	width: 71%;
	float:left;
	height:14px;
	border:none;
	border: 1px solid #0f5982;
}
div.box-search input#searchsubmit { 
	padding: 4px 18px; 
	background: #0f5982; 
	text-transform: uppercase; 
	font-family: 'Fjalla One',sans-serif;
/*	text-shadow: 1px 1px #777; 
*/
}
@media (max-width: 768px) {
  div.box-search {
        float:none;
        width:100%;
        margin-bottom:13px;
  }
  div#search form#searchform input#s {
	width:70%;
  }
  div.box-search input#searchsubmit {
	width:25%;
  }
}
div.box-search input#searchsubmit:hover { 
	color:#0f5982;
	background:#fff; 
}

/* These styles are for the main navigation section
*******************************************************/
/*.navigation { height: 32px;}
ul.sf-menu .current-menu-item, .current-category-parent  { background: rgb(0,92,131); }
ul.sf-menu li:hover, .sub-menu li.current-menu-item  { background:#fff; }
*/
ul.sf-menu li:hover { color: #fff; } 
ul.sf-menu .current-menu-item  a, ul.sf-menu > li.current-category-parent > a { 
	color: white; 
}
ul.sf-menu li.current-menu-item:first-child { display:none; }
ul.sf-menu li.current-menu-item:first-child a {
	background-image:url("/wp-content/uploads/2015/05/WMT_icon2_white.png");
}
ul.sf-menu .current-menu-item a:hover { 
	color: rgb(0,92,131); 
	/*text-shadow: 0 1px 0 white; 
*/
}
ul.sf-menu li a, .navigation li a,  { color: rgb(0,92,131); }
ul.sf-menu > li > a { font-size: 16px;}
ul.sf-menu .current-menu-item, ul.sf-menu, .sub-menu li a, ul.sf-menu .sub-menu li a { 
	color: rgb(0,92,131); 
	text-shadow: none; 
}
.sf-arrow { background: none;}
ul.sf-menu li:first-child a {
	color:transparent;
	background-image:url("/wp-content/uploads/2015/05/WMT_icon2.png");
	background-repeat:no-repeat;
	background-position:7px 5px;
	width:2px;
	overflow:hidden;
	padding-top:0px;
	padding-bottom:0px;
	height:30px;
}
ul.sf-menu li:first-child a:hover {
        background-image:url("/wp-content/uploads/2015/05/WMT_icon2_white.png");
}
ul.sf-menu li:first-child a:hover {
	color:transparent;
}
 
/* These styles are for the sidebar
************************************/
div.newsletter-form {
	color:#fff;
	background-color:#0f5982;
	font-family: 'Fjalla One',sans-serif;
	margin-bottom:20px;
	padding-bottom:0.1px;
	width:304px;
	height:186px;
}
div.newsletter-form div.newsletter-title {
	float:left;
	height:35px;
	font-size:23px;
	padding-top:10px;
	padding-bottom:5px;
	padding-left:52px;
	text-transform:uppercase;
	background:url("/wp-content/uploads/ic-mail.png");
	background-repeat:no-repeat;
	background-position:15px 10px;
}
div.newsletter-subtitle {
	height:35px;
	font-size:23px;
	text-transform:uppercase;
	font-style:normal;
	font-family: 'Fjalla One',sans-serif;
	font-weight:normal;
	margin-left:5px;
}
div.newsletter-topbox {
	display:block;
}
div.newsletter-form div.newsletter-sample {
	float:right;
	font-family: Arial,'Helvetica Neue',Helvetica,'Liberation Sans',FreeSans,sans-serif;
	padding-top:15px;
	padding-right:18px;
	line-height:1.2;
	text-align:center;
}
div.newsletter-form div.newsletter-sample a {
	color:#fff;
	text-transform:uppercase;
	text-decoration:underline;
	font-style:italic;
	font-size:11px;
}
div.newsletter-form div.newsletter-sample a:hover {
	color:#56a3d1;
}
div.newsletter-form div.newsletter-teaser {
	background-color:#56a3d1;
	padding:10px;
	margin:10px;
	margin-top:0px;
}
div.newsletter-form div.newsletter-booklist {
	font-family: Arial,'Helvetica Neue',Helvetica,'Liberation Sans',FreeSans,sans-serif;  
	font-size:11px;
	font-style:italic;
	font-weight:bold;
}
div.newsletter-form div.newsletter-booklist ul {
	list-style-image:url('/wp-content/uploads/ic-checkbox-red.png');
/*	list-style-type:none;
*/
	font-size:15px;
	margin-bottom:0px;
	color:#82000a;/*#0f5982;*/
}
div.newsletter-form div.newsletter-booklist ul li {
	margin-left:30px;
}
div.newsletter-form div.signupform {
	clear:left;
	padding:10px;
}
div.newsletter-form div.signupform form input#newsletter-input {
	width:165px;
	height:16px;
}
div.newsletter-form div.signupform form input#newsletter-submit {
	font-family: 'Fjalla One',sans-serif;
	font-size:12px;
	text-transform:uppercase;
	background-color:#82000a;
	float:right;
}
div.newsletter-form div.signupform form input#newsletter-submit:hover {
	background-color:#b1333e;
}

.widget-title { color: rgb(0,92,131); display: none; }

/* These styles are the social icons in the sidebar
******************************************************/
section.social { text-align: center;}
section.social ul { margin: 0 0 5px; padding: 0; list-style:none; }
section.social ul li { margin: 0; padding: 0 5px; display: inline; }

/* These styles are for the sidebar tab section
*************************************************/
section.sidebar-tabs { width: 100%; max-width: 305px; min-height: 50px; margin: 20px 0; border: 1px solid #ccc; overflow: hidden;}
section.sidebar-tabs div#tabSlide { width: 915px; position: relative;}
section.sidebar-tabs div#tabSlide div { width: 305px; float: left; }

#sidebar-tab-title {
	display: block;
	font-family: 'Fjalla One',sans-serif;
	font-size:16px;
	text-transform:uppercase;
	margin:10px auto;
	width:55px;
}

ul#sidebar-tab-nav { margin: 1px; padding: 0; list-style:none; background: url('../images/bg-menu.png'); border: 1px solid #ccc;}
ul#sidebar-tab-nav li { margin:0; padding: 10px 0; min-width: 149px; font-size: 14px; font-weight:normal; text-align:center; color: black; text-shadow: 1px 1px white; display: inline-block; cursor:pointer; /*border-right: 1px solid rgb(0,92,131);*/ }
ul#sidebar-tab-nav li { font-family: Arial, 'Helvetica Neue', Helvetica, 'Liberation Sans', FreeSans, sans-serif; }
ul#sidebar-tab-nav li.active { background: rgb(0,92,131); color: white; text-shadow: 1px 1px black; }
/*ul#sidebar-tab-nav li:nth-child(2) { min-width: 97px; }*/
ul#sidebar-tab-nav li:last-child { border-right: none; }

#sidebar-tab-popular img, #sidebar-tab-share img, #sidebar-tab-comment img { width: 60px; height: 45px;}
#sidebar-tab-share ul li, #sidebar-tab-comment ul, #sidebar-tab-popular ul li a { font-size: 16px; }
#sidebar-tab-share ul, #sidebar-tab-comment ul, #sidebar-tab-popular ul, #sidebar-tab-social ul { margin: 0; padding: 0; list-style: none;}
#sidebar-tab-share ul li, #sidebar-tab-comment ul li,#sidebar-tab-popular ul li, #sidebar-tab-social ul li { width:265px; min-height: 60px; marg
in: 0 auto; padding: 10px; border-bottom: 1px solid #ccc; clear: both;}
#sidebar-tab-comment ul li:last-child, #sidebar-tab-popular ul li:last-child, #sidebar-tab-social ul li:last-child  { border-bottom:none; background; pink; }
#sidebar-tab-share img, #sidebar-tab-comment img, #sidebar-tab-popular img, #sidebar-tab-social img { margin-right: 10px; padding: 2px; float: left; border: 1px solid #ccc;}

/* These are the style for post lists
*********************************************************/
ul.wmtposts { margin: 0; padding: 0; list-style: none; clear: both;}
ul.wmtposts h2, #slide-facade h2 { font-size: 28px; line-height: 30px; font-weight: normal;}
ul.wmtposts h2 a, #slide-facade h2 a { color: #111111; text-transform:none; }/* previously color #4d4d4d size 14px */
ul.wmtposts h6, #slide-facade h6 { margin-bottom: 0; font-size: 13px; font-weight: normal; letter-spacing: 1px; text-transform: uppercase; color: #000000; }
ul.wmtposts h6 a, #slide-facade h6 a { margin-bottom: 0; font-size: 13px; font-weight: normal; letter-spacing: 1px; text-transform: uppercase; color: rgb(105,134,149); }
ul.wmtposts p, #slide-facade p { font-size: 14px; color: #111111; }/* previously color #4d4d4d size 14px */
ul.wmtposts li { 
	margin: 0;
	display:inline-block;
}
ul.wmtposts img { position: relative; z-index: 2;}


#wmtfeatured { margin: 0; padding: 20px; height: 390px; width; 100%; border: 1px solid #ccc; overflow: hidden; }
#wmtfeatured li { height: 260px; display: inline-block; clear: both; overflow: hidden; }
#wmtfeatured li:nth-child(n+2) { margin: 0 35px 0 0;  }
#wmtfeatured li:last-child { margin: 0;}
#wmtfeatured li:nth-child(n+2) div  { display: none;  }
#wmtfeatured li img { width: 118px; height: 88px; background: #ccc; border: 1px solid #ccc; }
#wmtfeatured li:nth-child(n+2) a { width: 120px; height: 90px; display: block; background: #ccc;}

#wmtfeatured li:first-child { margin: 0 0 30px; display: block; border-bottom: 1px solid #ccc;}
#wmtfeatured li:first-child img, #slide-facade img { width: 288px; height: 216px; margin: 0 20px 20px 0; float: left; }
#wmtfeatured li:first-child h2, #slide-facade h2 { margin: 0 0 10px; }
#wmtfeatured li:first-child h4, #wmtfeatured li:first-child h4 a { margin: 0; padding: 0 0 10px; font-size: 13px; font-weight: normal; color: rgb(105,134,149);  }
#wmtfeatured li:first-child div, #slide-facade div { position: relative; top: -5px; }
#wmtfeatured li:first-child span, #wmtfeatured li:first-child p a, #slide-facade p a { color: rgb(105,134,149); text-transform: uppercase; font-size: 11px; }

#slide-facade { position: absolute; background: white; z-index:99;}

/*
#wmtfeatured li { margin: 0 0 30px; display: block; border-bottom: 1px solid #ccc;}
#wmtfeatured li img { width: 288px; height: 216px; margin: 0 20px 20px 0; float: left; }
#wmtfeatured li h2 { margin: 0 0 10px; }
#wmtfeatured li h4, #wmtfeatured li h4 a { margin: 0; padding: 0 0 10px; font-size: 13px; font-weight: normal; color: rgb(105,134,149);  }
#wmtfeatured li div { position: relative; top: -5px; }
#wmtfeatured li span, #wmtfeatured li p a{ color: rgb(105,134,149); text-transform: uppercase; font-size: 11px; }
*/


.postlist { margin: 0; padding: 10px 0; border-bottom: solid 1px #ccc; clear: both; }
.postlist:last-child { border-bottom: none; }
.postlist h4 { display: none; }
.postlist img { width: 120px; height: 90px; margin: 0 20px 20px 0; float: left; border: 1px solid #ccc; }
.postlist div { margin-bottom: 20px; min-height: 80px; }
.postlist p a, .postlist p span, .postlist div a {
	color: rgb(105,134,149);
	text-transform:uppercase;
}

.postlist_home:first-child { min-height:236px; }
.postlist_home:first-child img { width:288px; height:216px;}
.postlist_home:first-child h2 { margin-left:308px; }
@media (max-width: 768px) {
  .postlist_home:first-child { min-height:none; display:table; }
  .postlist_home:first-child img { width:120px; height:90px; margin-bottom:-90px; margin-top:15px;}
  .postlist_home:first-child h2 { margin-left:0px; display:table-header-group;}
  .postlist_home:first-child div { margin-left:142px; }
}

.postlist p span.pec_commentcount_text {
        color:transparent;
        /*background-image:url("/files/2014/06/blog-3.png");
        background-color:#999;*/
        display:inline-block;
        width:15px;
        height:15px;
}
.postlist p span.pec_commentcount_text:before {
        font-family:peciconfont;
        content:"";
        color:#999;
}
.postlist p span.pec_sharecount_text {
        color:transparent;
        /*background-image:url("/files/2014/06/social-3.png");
        background-color:#999;*/
        display:inline-block;
        width:15px;
        height:15px;
}
.postlist p span.pec_sharecount_text:before {
        font-family:peciconfont;
        content:"";
        color:#999;
}
.postlist p span.pec_comment_span { float:right; position:relative; top:3px; }
.postlist p span.pec_comment_span .pec_sharecount, .postlist p span.pec_comment_span .pec_sharecount_text { display:none; }

/* These styles are for the recent blog post section at the bottom of the home page
***********************************************************************************/
#recentBlogs { margin: 0; padding: 10px 20px; width: 100%; max-width: 940px; border: 1px solid #ccc; overflow: hidden; }
#recentBlogs > ul { margin: 0; padding: 0; max-height: 160px; width: 9999px; list-style:none; overflow: hidden;}
#recentBlogs > ul > li { width: 220px; display: inline-block; vertical-align: top;}
div#recentBlogs > h2 { width: 100%; font-size: 28px; font-wieght: normal !important; border-bottom: 1px solid #ccc; }
div#recentBlogs h4 { margin-bottom: 10px; font-size: 14px; line-height: 20px;}
#recentBlogs .post-categories li { display: none;}
#recentBlogs .post-categories li:first-child { display: block;}
#recentBlogs .post-categories li:first-child a { color: rgb(105,134,149); }
#recentBlogs img {margin: 0 10px 60px; display: block; float: left;}

/* These styles are for the footer baby
*****************************************/
.footer { margin: 0 auto; padding: 0; background: transparent;}
.footer .endMatter { margin: 20px auto; text-align: center; }
.footer .endMatter, .footer .endMatter a { color: rgb(0,92,131); }
.footer .endMatter ul { margin: 0; padding: 0; list-style: none; }
.footer .endMatter li { margin: 0 5px; /*display: inline-block;*/ }
.footer .endMatter li:after { content: "•"; padding-left: 10px; }
.footer .endMatter li:last-child:after { content: "";}
.footer .wmtcopyright { padding-top: 10px; font-size: 13px; color: black; }

/* These styles are for single pages
******************************************/
.breadcrumbs {
	margin: 0 0 20px; 
	padding: 0;
	background: none;
	border: none;
	box-shadow: none;
} /* previously margin: 0 0 10px; */

.post h2 { margin-bottom: 10px; font-size: 34px; line-height: 32px; }
.post h6 { margin-bottom: 10px; font-style:normal; font-size:14px; font-weight:normal; letter-spacing:1px; text-transform:uppercase; }/* previously .post h6 { margin-bottom: 10px; font-style:normal; } */
.post h6 { color: #000000; }
.post h6 a { color: rgb(105,134,149); }
.post .entry-meta div { margin: 0; padding: 5px 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }
.post .entry-meta div ul { margin: 0; padding: 0; list-style: none; vertical-align: baseline; overflow:hidden; overflow-y:hidden; }
.post .entry-meta div li { margin: 0 10px 0 0; padding: 3px 0 0; display: inline-block; float:right;}
.post .entry-meta div li:nth-child(2), .post .entry-meta div li:first-child { position: relative; margin-right:10px; float:left; }
.post .entry-meta div li:nth-child(3) { position:relative; top:1px; }
.post .entry-meta div li:nth-child(4) { position: relative; top:4px; }
.post .entry-meta div li:nth-child(5) { position:relative; top:1px; }
.post .entry-meta div li:nth-child(6) { position:relative; top:1px; }
.post .entry-meta div li img { margin-right: 3px; width: 16px; }
.post .entry-meta div.fb-like { margin: 0; padding: 0; position: relative; top: -3px; border: 0;}

.post div.social-meta {
	border:1px solid #ccc;
	padding:10px 5px 5px;
	font-size:11px;
	font-style:italic;
	margin-bottom:10px;
	margin-left:5px;
}
.post .social-meta ul {
	list-style:none;
	margin:0px;
}
.post .social-meta li {
	display:block;
	margin:0px 5px;
	padding:0px 0px 0px;
}
.post .social-meta li:nth-child(n+2) {
	border-top:1px solid #ccc;
	padding:5px 0px 0px;
}
.post .social-meta ul li img {
	width:16px;
	margin-right:5px;
}

.tiny-rss img { width: 16px; position: relative; top: 3px; float: right;  }

.comment-entry { min-height: 60px; }

span.enlarge {
        display:block;
        text-align:center;
}
span.enlarge img { border:none; }

/* These styles are for the Blogs category page
**************************************************/
.wmtBlogDirectory ul { margin: 0; padding: 0; list-style: none;}
.wmtBlogDirectory ul li { margin: 0 20px 20px 0; padding: 0; width: 200px; clear: both; display: inline-block;}
.wmtBlogDirectory ul li img { margin: 0 10px 80px 0; padding: 0; display: block; float: left;}


@media screen and (max-width: 680px){
#wmtfeatured { display: none;}
}
/* Hide 'enlarge this image' on WMT site (temporary)
**************************************************
.enlarge-link-wrapper {
    display: none;
}*/

/* Style the webinar date-box
********************************/
div.greydate, div.bluedate {
    float: left;
    height: 69px;
    margin-right: 10px;
    width: 60px;
    text-shadow:none;
}
div.webinar-time-box {
	margin-left:20px;
	margin-top:20px;
	margin-bottom:-10px;
}
div.webinar-register-box span { font-size:90%; padding-left:10px; }
div.ai1ec-date-box {
        color:#014282;
        width:60px;
        text-align:center;
        text-transform:uppercase;
        font-size:10px;
        font-weight:bold;
        margin-bottom:-80px;
}
.sidebar div.ai1ec-date-box { color:#fff; }
div.ai1ec-date-box div {
        color:#fff;
        background-color:#014282;
        padding:3px;
        font-size:14px;
}
.sidebar div.ai1ec-date-box div { color:#014282; background-color:#fff; }
.greydate div.ai1ec-date-box div { background-color:#555; }
div.ai1ec-date-box div {
	margin-bottom: 0;
	min-height: 0;
}
div.ai1ec-date-box div div {
        color:#014282;
        background-color:#fff;
        font-family:"Times New Roman",Times,serif;
        font-size:28px;
        padding:0px;
}
.sidebar div.ai1ec-date-box div div { color:#fff; background-color:#014282 }
.greydate div.ai1ec-date-box div div { 
	background-color:#fff; 
	color:#555; 
        margin-bottom: 0;
        min-height: 0;
}
.ai1ec-single-event {
        margin-left:40px;
        margin-bottom:30px;
}
form#webinar-signup input[type="text"], form#webinar-signup input[type="email"], form#webinar-signup input[type="tel"] {
	margin-bottom: 5px;
	width: 85%;
}
#webinar-register {
	background-color:#ffa103;
	color:#000;
	font-family: "Fjalla One",sans-serif;
	font-size:14px;
	font-style:italic;
	text-transform:uppercase;
	padding:6px 12px;
}
.webinar-register-box {
    height: 80px;
    margin-left: 60px;
    padding: 10px;
}
.webinar-register-box h2 {
	font-family:"Times New Roman",Times,serif;
	font-size:28px;
	margin:0;
}

/* assorted other responsive css for mobile layouts
*******************************************************/
@media (max-width:500px) {
  .container { padding:0px; }
  div.all-articles { margin-top:0; }
}
@media (max-width:768px) {
  .sidebar div, .sidebar section.sidebar-tabs { margin-left:auto; margin-right:auto; }
  .sidebar-topics { display:none; }
  .post .entry-meta div li:nth-child(2), .post .entry-meta div li:first-child { display:none; }
  div.related-posts { display:none; }
  #authorinfo { border-bottom:none; }
  .post .entry-meta div li { float:none; }
  .post .entry-meta div li:nth-child(4) { top:-1px; }
}

/* fix for IOS rotate-zoom bug
        https://gist.github.com/sergiolopes/1935528
**********************************/
/* iPhone */
@media only screen and (width:320px) and (device-width:320px) and (device-height:480px) and (orientation: landscape) {
body {
-webkit-transform: scale(0.667);
-webkit-transform-origin: top right;
position: absolute;
right: 0;
top: 0;
width: 480px;
}
}
/* iPad */
@media only screen and (width:768px) and (device-width:768px) and (device-height:1024px) and (orientation: landscape) {
body {
-webkit-transform: scale(0.75);
-webkit-transform-origin: top right;
position: absolute;
right: 0;
top: 0;
width: 1024px;
}
}
