/*
 Theme Name:     ACEP Now (Magazon child)
 Theme URI:      http://wiley.com
 Description:    Magazon Child Theme for the ACEP Now Website
 Author:         Dan Hickman
 Author URI:     http://wiley.com
 Template:       magazon-wp
 Version:        4.0.1
*/

@import url("../magazon-wp/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

body{
	background:#efefef;
    color: #000;
}


.primary-nav {
	background: #00598f;
}

.btn-reload-quiz,
.primary-nav ul li a:hover, 
.primary-nav ul li.current-menu-item > a, 
.primary-nav ul li a:hover, 
.primary-nav ul li.current-menu-item > a, 
.carousel-post-meta, 
.read-more-button, 
.list-tabbed li.list-tabbed-active a, 
table#wp-calendar thead > tr > th, 
table#wp-calendar td#today, 
.carousel-wrapper .flex-direction-nav .flex-prev:hover, 
.carousel-wrapper .flex-direction-nav .flex-next:hover, 
.subs_submit:hover, 
.tagcloud a:hover, 
.author-text b, 
#submit, 
.page-tags a:hover, 
.categories a, 
.thumb-slider-wrapper .flex-direction-nav .flex-next:hover, 
.thumb-slider-wrapper .flex-direction-nav .flex-prev:hover, 
.review-score-over, 
.review-total-score-wrapper .right, 
.inside-post-slider .flex-direction-nav .flex-next:hover, 
.inside-post-slider .flex-direction-nav .flex-prev:hover, 
.inside-post-slider .flex-control-nav li a.flex-active, 
.inside-post-slider .flex-control-nav li a:hover, 
.btn.color, 
.btn:hover, 
.tab-title li.current, 
.acc-title-active, 
.acc-title:hover, 
.toggle-title:hover, 
.toggle_current, 
.st-pagination .page-current, 
.st-pagination li a:hover, 
.carousel-next:hover, 
.carousel-prev:hover, 
.content input[type=submit], 
.bg_color:hover, 
.button, 
a.button, 
.page-numbers.current {
	background-color: #007dc5 !important;
}

/* Style Current Issue */

p.issuem_widget_issue_name {
	margin: 0;
	font-size:inherit;
	font-weight:normal;
}

.issuem_archive {
	width: 148px;
	margin-left: 0px;
	margin-right: 0px;
	/*height: 254px;*/
}

.issuem_active_list_widget, 
.issuem_article_list_widget {
	text-align: left !important;
}

.issuem_articles_shortcode {
	text-align: left;
	font-family: 'Droid Sans';
}

.issuem_articles_shortcode p {
	text-align: left;
	margin: 0;
	line-height:normal;
}

.multimedia .read-more{
	display:none;
}

.wp-caption {
	max-width: 100%;
}


.content ul.st-pagination {
	margin: 20px 0px 20px 0px;
}

.pagination.text-center {
	text-align: left;
}

.right-sidebar-wrapper{
	/*margin-top: 16px;*/
    margin-top: 0px;
}

.primary-nav ul li.current-menu-item > a{
	color:#fff;
}

.primary-nav ul li.current-menu-item > a:hover{
	color:#777777;
}

.textwidget h4{
	margin-bottom: 5px;
}

.textwidget p{
	line-height:normal;
}


.textwidget i{
	width: 15px;
	display: inline-block;
	color: #007dc5;
}

.content input[type=email]{
	padding: 10px;
	background: #ececec;
	color: #555555;
	border: none;
}

span.wpcf7-not-valid-tip{
	background:#cc0000;
	color:#fff;
	border:none;
}

div.wpcf7-validation-errors {
	margin:0;
	background:#cc0000;
	color:#fff;
	border:none;
}

div.wpcf7-mail-sent-ok {
	margin:0;
	background:#398f14;
	color:#fff;
	border:none;
}

.post-slider .flex-caption .caption {
	padding: 0px 15px 20px 15px;
}

.inside-post-slider .flex-control-nav {
	bottom: -4px;
}


.acep-home-slider.columns,
.acep-home-slider .columns {
	margin-bottom: 0px;
}

.acep-home-slider.columns {
	margin-bottom: 10px;
}

.acep-home-slider .carousel-post-meta{
	display:none;
}

.page-numbers {
	padding: 2px 0;
	display: inline-block;
	background: #333333;
	width: 29px;
	text-align: center;
	color: #fff;
}

.page-numbers:hover,
.page-numbers.current{
	background: #007dc5;
	color: #fff;
}

.issuem_active_list_widget p.issuem_widget_issue_cover_image {
	width: 120px;
	float: left;
}

.issuem_active_list_widget p.issuem_widget_issue_name {
	margin: 0px 0 0 129px;
	font-size: 16px;
	font-weight: 700;
	color: #007dc5;
	padding: 5px 0 0 0;
}

.issuem_active_list_widget .read-more-button{
	margin: 10px 0 0 10px;
}

.under_nav_widget_area{
	text-align: center;
	padding: 0 15px 20px 15px;
}

.logo-outer-wrapper {
	padding-top: 0px;
}

.logo-outer-wrapper .twelve.columns {
	margin-bottom: 0px;
}

.acepnow-register-link,
.acepnow-login-link{
	color: #00598f;
	font-weight: 700;
	font-size: 12px;
	margin: 12px 0 6px 0;
	/*display: inline-block;*/
	display: none;
	float: right;
}


.acepnow-acep-link{
	background:url(images/ACEP-logo.gif) no-repeat;
	width:151px;
	height:60px;
	display:block;
	text-indent:-9999px;
	float: right;
	clear:both;
	margin-top: 25px;
}

.acepnow-link-divider{
	font-weight:700;
	color: #00598f;
}

.wiley-link{
	width:155px;
	height:33px;
	background:url(images/wiley_logo_footer.png) no-repeat;
	display:inline-block;
	text-indent:-9999px;
	float: left;
}

.footer-nav{
	display: inline-block;
	margin: 8px 0px 0px 15px;

}

.copyright-right{
	margin: 8px 0 0 0;
}

.blog .page-title {
	font-family: 'Oswald';
	font-style: normal;
	font-style: normal;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 20px;
}

.posts-carousel .carousel-post-meta{display:none;}


.post-slider .flex-caption .caption {
	line-height: 13px;
}

#nav-searchform {
	z-index: 500;
}

#nav-searchform .s {
	max-width:65%;
}

.categories {
	display:none;
}

.page-author-wrapper {
}
.author-box-content {
	border-bottom:solid 1px #ddd;
	margin-bottom:20px;
}
.author-box-content h3,
.author-box-title {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-weight: normal;
}
.page-author-wrapper img {
	max-width:150px;
	margin-top:0;
}
#nav-searchform .iw {
	width: 50px;
}

.content-wrapper .sidebar{
	 padding: 15px; 
	 margin: 15px 25px 15px 0px; 
	 background-color: #dedede; 
	 width: 300px; 
	 float: left; 
	 clear: both;
}

.content-wrapper .fullbar{
	 padding: 15px; 
	 margin: 15px 0px 15px 0px; 
	 background-color: #dedede;
}

.logo-right-ads {
	float: left;
	margin: 16px 34px 0px 34px;
}

.logo-right-ads h4{
	color: #00598f;
	font-weight: 700;
	font-size: 12px;
	line-height: normal;
	letter-spacing: normal;
	padding: 0;
	margin: 0 0 4px 0;
	text-transform:uppercase;
}

.latest_news_list li a{
	font-size:14px;
	padding: 3px 0;
	display: block;
}

.latest_news_list li:first-child{
	border-bottom:1px solid #eaeaea;
}

.home .post-bc{
	margin-top:20px;
}

/*
************************ Additions by Makeworthy Media in 2014 *******************/

/* General */
.clearfix:before {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
	content: " ";
	display: table;
}

/* Header */
.logo-right-widget {
	max-width: 430px;
}

/* Job Manager */
body.single-job_listing .page-meta-wrapper {
	display:none;
}
.single_job_listing .meta li {
	min-height:16px;
	margin-bottom:10px;
}
.single_job_listing .website:before {
	display: inline-block;
	width: 16px;
	height: 16px;
	-webkit-font-smoothing: antialiased;
	font-family: job-manager!important;
	text-decoration: none;
	font-weight: 400;
	font-style: normal;
	vertical-align: top;
	font-size: 16px;
	margin: 0 2px 0 0;
	content: '\e809';
}
.single_job_listing .company_twitter:before {
	display: inline-block;
	width: 16px;
	height: 16px;
	-webkit-font-smoothing: antialiased;
	font-family: job-manager!important;
	text-decoration: none;
	font-weight: 400;
	font-style: normal;
	vertical-align: top;
	font-size: 16px;
	margin: 0 2px 0 0;
	content: '\e80a';
}
.back-to-classifieds {
	font-size:120%;
}


.job_filters {
	background-color:#fff;
}
.job_filters .search_jobs {
	padding:0 0 1.0em 0;
}
.job_filters .search_jobs div label {
	display:block;
}
ul.job_listings li.job_listing, 
ul.job_listings li.no_job_listings_found {
	font-size:120%;
}
ul.job_listings li.job_listing a, 
ul.job_listings li.no_job_listings_found a {
	line-height:1.4;
}

/* Ads fixes */
#simple_ads_manager_widget-2 .fluid-width-video-wrapper,
#simple_ads_manager_widget-3 .fluid-width-video-wrapper,
#simple_ads_manager_widget-5 .fluid-width-video-wrapper,
#simple_ads_manager_widget-6 .fluid-width-video-wrapper {
	padding-top:0 !important;
}
#simple_ads_manager_widget-5 .fluid-width-video-wrapper {
	height:90px !important;
}
#simple_ads_manager_widget-2 .fluid-width-video-wrapper,
#simple_ads_manager_widget-3 .fluid-width-video-wrapper,
#simple_ads_manager_widget-6 .fluid-width-video-wrapper,
.simple_ads_manager_widget .fluid-width-video-wrapper {
	height:250px !important;
}

/* Nav */
.primary-nav ul li a {
	text-transform:none;
	padding-right: 18px;
	padding-left: 12px;
}
.slideMenu ul li a.hasSubMenu {
	padding-right: 18px !important;
}
.primary-nav .subDown {
	right: 9px;
}

/* Authors List */
.content ul.authors-list li {
	margin-bottom:6px;
}

/* Pagination for articles */
.pagination p > span {
	background:#ccc;
	color:#fff;
	padding:6px 11px;
}
.pagination p > a {
	background:#000;
	color:#fff;
	padding:6px 11px;
}
.pagination p > a:hover {
	background-color:#007dc5;
	color: #fff;
}

/* Page links */
body.single .content a,
body.single #respond a {
	color: #007dc5;
	font-weight: bold;
}
body.single .content a:hover,
body.single #respond a:hover {
	color:#666;
}

body.archive .content a {
	font-weight: normal;
}
.content a.read-more-button {
	color: #fff;
}

/* Sharing links */
body.single .share_entry {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 10px;
}
body.single .page-meta-wrapper {
	background: url("../magazon-wp/assets/images/category-heading-bg.png") repeat-x scroll left bottom transparent;
	padding-bottom: 10px;
}
body.single .page-title {
	background: none;
	margin-bottom: 0;
}
a.print-button {
	font-size: 11px;
	padding: 2px 8px;
	border: solid 1px #ccc;
	float:left;
	color: #777;
	background-color: #f8f8f8;
	border-radius: 3px;
	font-weight: normal;
	line-height: 1.4;
	margin-bottom: 10px;
}

a.print-button:hover {
	background-color:#007dc5;
	border-color: #007dc5;
	color:#fff;
}

/* Lists */
.content ol ol {
	list-style: lower-alpha outside none;
}

/* Yet Another Related Posts Plugin */
#yarpp-footer {
	clear:both;
}
#yarpp-footer ul {
	list-style:none;
	margin:0;
	padding:0;
}
#yarpp-footer ul li {
	list-style:none;
	margin:0;
	padding:0 15px 15px 0;
	float:left;
	width: 110px;
	height: 240px;
	line-height: 1.4;
}
#yarpp-footer a {
	font-weight: normal;
}
#yarpp-footer a.related-link-bg {
	display:block;
	width:110px;
	height:110px;
	background-size:cover;
	margin-bottom:10px;
	border:solid 1px #ccc;
}


#promo-box  .yarpp-related {
	margin:0 !important;
}

#promo-box {
	background-color:#eee;
	margin:0 20px 15px 0;
	float:left;
	max-width:200px;
	clear: left;
	font-size: 14px;
	line-height: 1.3;
}
#promo-box a {
	color: #0d75ab;
	font-weight: normal;
}
#promo-box a:hover {
	color: #000;
}
#promo-box h6 {
	padding:10px;
	margin:0 0 3px 0;
	color:#fff;
	background-color:#007dc5;
	font-size: 14px;
}
#promo-box ul {
	list-style:none;
	margin:0;
	padding:10px;
}
#promo-box ul li {
	list-style:none;
	margin-bottom:15px;
}
#promo-box .yarpp-related a {
	font-weight:normal !important;
}
#promo-box .entry-issue {
	display:block;
	padding:10px;
}


/* Articles Issue Archives */
.issuem_archives_shortcode .issuem_archive:nth-child(4n+1) {
	clear: left;	
}

/* ACEP 50 */

.timeline{
	position:relative;
}

.timeline-entry{
    width: 50%;
    box-sizing: border-box;
    float: right;
    clear: both;
	position: relative;
}

.timeline-entry:nth-child(odd){
	float: left;
	padding-right: 30px;
}

.timeline-entry:nth-child(even){
	padding-left: 30px;
}

.has_image .timeline-content{
	width:50%;
}

.has_image:nth-child(odd) .timeline-content{
	float:right;
}

.has_image:nth-child(even) .timeline-content{
	float:left;
}

.timeline-entry:nth-child(odd) .timeline-content{
	text-align: right;
	float: right;
}


.timeline-entry h3{
	color:#bc923d;
	font-weight:bold;
	text-transform:uppercase;
	line-height: 1;
    margin-bottom: 4px;
}

.timeline-entry p{
	color:#000;
	line-height: normal;
}

.timeline-image{
	width: 50%;
    float: left;
	box-sizing: border-box;
}

.timeline-entry:nth-child(even) .timeline-image{
	padding-left: 10px;
	float: right;
}
.timeline-entry:nth-child(odd) .timeline-image{
	padding-right: 10px;
}

.timeline-image img{
	-webkit-box-shadow: 2px 3px 6px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 2px 3px 6px 0px rgba(0,0,0,0.75);
	box-shadow: 2px 3px 6px 0px rgba(0,0,0,0.75);
}

.group:after {
  content: "";
  display: table;
  clear: both;
}

.timeline:before{
	content:'';
	width:6px;
	height:100%;
	position:absolute;
	top:0;
	left:50%;
	margin-left: -3px;
	background-color:#bc923d;
}

.timeline-entry:after{
	content: url(images/Acep-timeline-pointer.png);
    top: -4px;
    position: absolute;
    right: 0;
    width: 22px;
    overflow: hidden;
}

.timeline-entry:nth-child(even):after{
	
	right: auto;
    transform: scaleX(-1);
    width: 22px;
    left: 0;
}

.timeline-outer{
	position:relative;
	margin-bottom: 50px;
}

.timeline-outer:after{
	content: url(images/Acep-timeline-arrow.png);
    position: absolute;
    bottom: -36px;
    left: 50%;
    margin-left: -16px;
}

.page-template-decade .wp-post-image{
	margin-bottom: 24px;
}

.page-template-decade .primary-nav {
    background: #bc923d;
}

.page-template-decade .read-more-button{
	background-color: #bc923d !important;
}

.logo-50{
	text-align: center;
    padding: 10px 0;
}



.page.page-template-decade .page-title {
	font-family: 'Oswald';
    font-style: normal;
    font-weight: normal;
	text-transform: uppercase;
    font-size: 20px;
}

body.single .content .flex-caption h3 a{
	color: #fff;
}

.page.page-template-decade #primary-nav-mobile-id,
.page.page-template-decade #primary-nav-mobile-a{
	background: #bc923d;
}

.page.page-template-decade #primary-nav-mobile-id li a {
    border-top: 1px solid #bc923d;
    color: #fff;
}

.page.page-template-decade #primary-nav-mobile-id li a:hover, 
.page.page-template-decade #primary-nav-mobile-id li a:active{
	background: #16A1E7; 
}

/*Fix wonky linked in sharing button*/
.share-linkedin .linkedin_button{
	line-height: 1 !important;
}

.share-linkedin .linkedin_button .IN-widget button {
	margin:0;
}

.textwidget iframe{
	max-width: 100%;
}

.home .content-wrapper .sidebar{
	background: none;
    margin: 0;
    padding: 0;
    width: auto;
}

.widget_career_widget h3.widgettitle,
.issuem_active_issue h3.widgettitle,
.issuem_current_issue h3.widgettitle{
    font-size: 18px;
    letter-spacing: -0.1px;
    padding-bottom: 8px;
    margin-bottom: 18px;
    text-transform: uppercase;
	font-family: 'Oswald';
	font-style: normal;
    font-weight: normal;
	line-height: 28px;
}

.widget_career_widget h3.widgettitle,
.home-recent-wrapper .issuem_current_issue h3.widgettitle,
.related-recent-post-wrapper .issuem_active_issue h3.widgettitle,
.related-recent-post-wrapper .issuem_current_issue h3.widgettitle{
    background: url(../magazon-wp/assets/images/category-heading-bg.png) repeat-x scroll left bottom transparent;
    font-size: 20px;
    padding-bottom: 11px;
    margin-bottom: 20px;
}

.content ul {
	list-style-position: inside;
}

.content ul li{
	list-style-position: inside;
}


.widget.widget_text.mobile_version{
	display: none;
}


.qmn_question_answer{
	margin-bottom: 20px;
}

.mlw_qmn_message_before {
    color: #333 !important;
}

.qsm-results-page{
	margin-bottom: 20px;
}

.mlw_qmn_hint_link {
    background: #3498db;
    width: 60px;
    text-align: center;
    margin-top: 5px;
    color: #fff !important;
    border-radius: 5px;
    padding: 3px 0;
	text-decoration: none !important;
}

.qsm-results-page{
	font-size: 18px;
}

.btn-reload-quiz{
    background-color: #007dc5 !important;
    font-size: 16px !important;
    color: #fff !important;
    border-radius: 3px;
    font-weight: 400 !important;
    padding: 10px 20px 10px 20px !important;
    font-family: Arial;
}

.grecaptcha-badge{
	display: none;
}

.covid-button{
	display: block;
    border: none;
    padding: 10px;
    font-weight: bold;
    margin: 14px auto 0 auto;
    width: 182px;
    text-align: center;
    background: #007dc5;
    color: #fff;
}

.covid-button:hover{
	color: #fff;
}

/*Hide pop up if no ad has loaded*/
.hide-pop-up .pum-overlay{
    display: none !important;
}

html.pum-open.pum-open-overlay.hide-pop-up, 
html.pum-open.pum-open-overlay.pum-open-fixed.hide-pop-up .pum-overlay {
    overflow: auto !important;
}

.video-container{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56%;
    margin-bottom: 6px;
}

.video-container .fluid-width-video-wrapper{
    padding-top: 0 !important;
    position: revert;
}

.home-recent-wrapper{
    margin-top: 14px;
}

.career-entries h3{
    font-weight: bold;
    margin-bottom: 5px;
    line-height: normal;
}

.career-entries p{
    line-height: normal;    
    margin-bottom: 5px;
}

.career-entries .LogoUrl{
    width: 160px;
}

.career-entries li{
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
}

.button.career_link_url {
    background: #000 !important;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    text-align: center;
}

.career-entries .ShortDescription{
    font-style: italic;
}

.columns.right-sidebar-wrapper{
    position: sticky;
    top: 0;
}

/*
.widget_career_widget{
    display: none;
}

.widget_career_widget.show{
    display: block;
}
*/

/*
.widget-container.widget_text{
    display: none;
}

.widget-container.widget_text.show{
    display: block;
}
*/

.career_widget_logo{
    margin-bottom: 15px;
    width: 150px;
    display: block;
}


.widget-container.home-under-posts{
    margin-top: 20px; 
}

.osano-cm-widget{display: none;}

.page-meta-wrapper {
    color: #000;
}

.page-template-resource-center .post-entry,
.page-template-default .post-entry,
.page-content{
    font-size: 16px;
}

.primary-nav ul li ul li a, 
.primary-nav ul li ul li ul li a {
    color: #000;
}

.page-template-resource-center .wp-post-image{
    margin-bottom: 20px
}


/*Delay close button*/
/*02/07/2024 - Changed to be ALL pop-ups See: https://jira.wiley.com/browse/ASBS-10 */
.pum-close{
    opacity: 0;
    animation-duration: 1s;
    animation-delay: 1s; /*1s for pop up to appear + 3s after ad slot is rendered by Google*/
    animation-fill-mode: forwards;
    animation-name: fadeInBut;
    
}

@keyframes fadeInBut {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

.right-sidebar .textwidget #native,
.right-sidebar .textwidget #rail,
.right-sidebar .textwidget #rail2{
    margin-bottom: 10px;
}

.social-block ul li a {
    display: inline-block;
    width: 1.25em;
    text-align: center;
}

/*Handle paras and breaks inserted into QSM quiz form*/
.qsm-quiz-form br{
	display: none;
}

.qsm-quiz-form p{
	margin-bottom: 0;
}

/*Polls Styling*/

.widget_polls-widget h3.widgettitle {
    font-size: 18px;
    letter-spacing: -0.1px;
    padding-bottom: 8px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: normal;
    line-height: 28px;
}

.widget_polls-widget .wp-polls-form p strong {
    font-size: 16px;
    font-weight: 700;
    color: #007dc5;
} 

.poll-view-results a,
.wp-polls input.read-more-button {
    line-height: 1;
    padding: 8px 12px;
    color: #fff;
    background: #007dc5 ;
    display: inline-block;
	margin-top: 20px;
}

.poll-view-results a{
	 background: #000 ;
	margin-top: 0px;
}

.polls-archive a{
	font-weight:bold;
	color: #007dc5 ;
}

.wp-polls ul li, 
.wp-polls-ul li, 
.wp-polls-ans ul li {
	margin-bottom: 0px;
}

body.single .content .poll-view-results a{
	font-size: 13px;
    color: #fff;
    font-weight: normal;
}

.content .wp-polls ul, 
.content .wp-polls-ul, 
.content .wp-polls-ans ul{
	    margin: 0;
}

body.single .content .wp-polls{
	overflow: hidden;
}

/***************** End of additions by Makeworthy Media in 2014 ****************/

@media only screen and (max-width: 1052px) {
	
	.issuem_archives_shortcode .issuem_archive:nth-child(4n+1) {
		clear: none;	
	}
	.issuem_archives_shortcode .issuem_archive:nth-child(3n+1) {
		clear: left;	
	}

}

@media only screen and (max-width: 960px) {
	.logo-50 img{
		width: 216px;
	}
}

@media only screen and (max-width: 812px) {
	
	.issuem_archives_shortcode .issuem_archive:nth-child(3n+1) {
		clear: none;	
	}
	.issuem_archives_shortcode .issuem_archive:nth-child(2n+1) {
		clear: left;	
	}

}

@media only screen and (max-width: 767px){
	#top-nav-mobile {
		display: none !important;
	}
	
	.acepnow-login{
		display:none;	
	}
	
	/*Override hiding of right widget as it contains ads*/
	.logo-right-widget {
		display: block !important;
	}
	
	.post-slider .flex-caption .caption {
		display: none;
	}
	
	.flex-caption h3 {
		font-size: 13px;
		line-height: 19px;
		padding: 5px 65px 5px 5px;
	}
	
	.logo-right-widget{
		display:none !important;
	}

}

@media only screen and (max-width: 959px) and (min-width: 768px){
	.logo-left {
		text-align: left !important;
		float: left !important;
	}
	
	.logo-right-widget{
		display:none !important;
	}
	/* Hide 'Home" tab so menu will fit */
	#menu-item-8118 {
		display: none;
	}	
	.primary-nav ul li a {
		font-size: 12px;
	}
	#primary-nav-id.slideMenu > ul > li > a {
		padding-left: 6px;
		padding-right: 6px;
	}
	#primary-nav-id.primary-nav > ul >li >a > .subDown {
		right: 9px;
		top: 21px;
	}
	#nav-searchform {
		height: 44px;
	}
}

@media only screen and (max-width: 650px) {
	
	.widget.widget_text.mobile_version{
		display: inline-block;
	}
	
	.widget.widget_text.desktop_version{
		display: none;
	}
}

@media only screen and (max-width: 440px){
	.timeline-entry {
		width: 100%;
		padding-left: 0 !important;
    	padding-right: 30px;
	}
	
	.timeline:before {
		position: absolute;
		left: 100%;
		margin-left: -6px;
	}
	
	.timeline-content {
		text-align: right;
		float: right;
	}
	
	.timeline-entry:nth-child(even):after {
		right: 0;
		transform: none;
		left: auto;
	}
	
	.has_image:nth-child(even) .timeline-content {
		float: right;
	}
	
	.timeline-entry:nth-child(even) .timeline-image {
		float: left;
		padding-left: 0px;
	}
	
	.timeline-outer:after {
		left: 100%;
		margin-left: -19px;
	}
	
	.timeline-image {
		padding-right: 10px;
		padding-bottom:10px;
	}
	
}

@media only screen and (max-width: 360px){
	.page-author-wrapper img {
		clear:both;
		float:none;
		max-width:100%;
		margin-bottom: 10px;
	}
}

@media only screen and (max-width: 320px){
	.flex-caption h3 {
		font-size: 9px;
		line-height: 15px;
	}
	
	#nav-searchform{
		display:none !important;
	}
	
	.logo-right-widget{
		display:none !important;
	}
}