/*
 Theme Name:   Newtons Child
 Description:  Newtons Nerds Theme (child of sahifa)
 Author:       John Daly
 Template:     sahifa
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  sahifa-child
*/

.widget-container {
    padding: 10px 5px 10px 5px;
    overflow-y: hidden;
}

body .post-listing{
	box-shadow: 0 0 0 #CACACA;
}
body .item-list {
    border-bottom: 4px solid #f88c00;
    margin-bottom: 35px;
    background-color: #ededed;
}
.tweet-text {
    width: 900px;
    padding: 8px;
}
.tweet-text a{
    display: inline-block !important;
    padding: 0 5px !important;
}
.search-block {
    margin-top: 8px;
    margin-right: 16px;
}
.logo {
    width: 310px;
    margin-top: 0 !important;
    margin-left: 10px;
}
.topAd{
    margin-right: 10px !important;
}

p.forumPoster {
    color: #ccc;
    font-size: 14px;
}
.forumLink {
    height: 49px;
    margin: 5px 0;
    margin-right: 5%;
    border-bottom: solid 1px #ddd;
    width: 45%;
    float: left;
    overflow: hidden;
}
p.forumPoster.scrapeIntro {
    font-size: 12px;
}
h3.forumTitle {
    font-size: 17px;
}

span.tweetTime {
    float: right;
    position: relative;
    top: -32px;
    text-align: right;
}
div#breaking-news{
    font-weight: bold;
}
div#breaking-news a {
    color: #f88c00;
}

div#breaking-news a:hover {
    opacity: 0.4;
}

ul.sub-menu{
    background-color: #2d2d2d;
    border: #f88c00;
    height: auto !important;
}
nav.widgetized-nav .main-nav .sub-menu {
    border: 1px solid #f88c00;
    border-top: none;
}
#main-nav ul ul li{
    width: 200px !important;
}
li#menu-item-4603 .sub-menu {
    width: 100% !important;
    margin-left: 0;
}

li.advwidget-item.col-xs-12 a {
    font-size: 14px !important;
    text-transform: uppercase;
    margin: 15px !important;
    padding-bottom: 10px !important;
    margin-right: 40px !Important;
    border-bottom: solid 1px #444 !important;
}

li.menu-widget-column {
    min-width: 40% !important;
    max-width: 40% !important;
    width: 40% !important;
    padding: 10px;
}
li.menu-widget-column.widget-column-1{
    min-width: 20% !important;
    max-width: 20% !important;
    width: 20% !important;
}
body nav.widgetized-nav .widgetized-menu.sub-menu h2.widget-title.widgettitle-in-submenu{
    color: #ccc;
    border-bottom: solid 1px #444 !important;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-weight: bold !important;
    text-transform: uppercase;
}
li.advwidget-item {
    margin: 0 !important;
    width: 100% !important;
    min-width: 100%;
}

span.advposts-date {
    position: absolute;
    top: 5px;
    left: 0px;
    color: #888;
    font-weight: bold;
}

.advposts-content.advposts-hasimage {
    position: absolute;
    top: 0;
    left: 75px;
}

#adv-recent-posts li.advwidget-item,  #adv-recent-posts li.advwidget-item a{
    height: 60px !important;
    min-height: 60px;
    margin: 20px 0 !important;
}
#adv-recent-posts li.advwidget-item>a{
    border: none !important;
}
li.menu-widget-column.widget-column-3.col-xs-4 {
    padding-left: 20px;
}

.home li#menu-item-4601 a {
    background-color: #f88c00;
}

.pplrpsts-popular-posts .entry-content > p {
    display: none;
}

.pplrpsts-popular-posts .podPress_content.podPress_content_video_m4v {
    display: none;
}

.pplrpsts-popular-posts header {
    width: 80%;
    min-width: 80%;
    float: right;
}

.pplrpsts-popular-posts img {
    float: left;
    padding: 5px 5px 5px 0;
    width: calc(20% - 10px);
    border: solid;
    margin: 10px 0;
}

.pplrpsts-popular-posts header {
    width: 80%;
    min-width: 80%;
    float: right;
    height: 90px;
    margin: 10px 0;
    border-bottom: solid 1px #444;
}

div#paypal_donations-2 .footer-widget-container > p {
    float: left;
    margin-right: 15px;
}
.pplrpsts-popular-posts header h1 a {
    font-size: 16px;
}

.sfmsb-follow-social-buttons .widget-container > a {
    width: 33%;
    margin: 0;
    text-align: center;
    
    padding: 10px;
}
.sfmsb-follow-social-buttons .widget-container{
border: solid 1px #ccc;
}
.sfmsb-follow-social-buttons .widget-container > a:hover{
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -o-transform: scale(1.15);
    transform: scale(1.15);
}

.sfmsb-follow-social-buttons .widget-container > a{
    transition: all .2s ease-in-out;
}

.sfmsb-follow-social-buttons .widget-container > a:not(:hover) span{
    color: #888 !important;
}

ul.sideLinks li:before {
    content: "\f061";
    font-family: FontAwesome;
    color: #888;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 18px;
    padding-right: 10px;
    float: left;
}

.search-block:after {
    content: none !important;
}

.search-block input[name="q"] {
    background: #fff !important;
    border-radius: 0;
    padding: 5px !important;
    height: 100% !Important;
}

div#widget_linkmasterpro_ri-2 .widget-top {
    display: none;
    border: none;
}
div#widget_linkmasterpro_ri-2 .widget-container {
    background: #FFF;
    border-bottom: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

div#text-27 {
    display: none;
}
div#text-45 {
    display: none;
}

body .search-block input[type="submit"]{
    padding: 2px 12px !important;
}

img.footerAboutImg {
    max-width: 115px;
    margin-bottom: 15px;
    border: solid #ff8500;
}
a#slide-out-open {
    display: none;
}


#sidebar
{
	float:			none;
	width: 			auto;
	flex-basis: 	260px;
	flex-grow: 		0;
	flex-shrink: 	0;
	margin-left: 	1em;
}
div.content {
    float: 			none;
    width: 			auto;
	flex-basis:		100%;
	overflow-x: 	hidden;
}
div.container 
{
	display:flex;
}
div.content-area {
    width: 100%;
}
@media (max-width: 900px) {
	li#text-47 {
		display: none;
	}
	header#theme-header {
		display: none;
	}
	html .mn-navigation-wrap {
		display: block;
		border-bottom: solid 4px orange;
	}
	#sidebar{
		display:none;
	}
}

.search-block {
    float: right;
    position: absolute;
    top: 0;
    right: 0;
}
.fixed-nav {
    position: fixed;
}

#wrapper {
    padding-top: 0px !important;
}

#theme-header
{
	margin-top: 0px;
}

.pplrpsts-popular-posts {
    min-height: 250px;
}

footer .sociable {
    display: none;
}

hr.mainHr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(200, 200, 200, 0.75), rgba(0, 0, 0, 0));
}

ul.sub-menu.row.second-level-menu.widgetized-menu.subPositionLeft {
    width: 100% !important;
}

.post-thumbnail a:hover img {
    opacity: 1 !important;
}

.epyt-gallery-title {
    font-size: 100% !important;
}
.header-content {
    margin-bottom: 15px !important;
}
div.logo h1, div.logo h2 {
    padding-bottom: 0px;
	padding-top:0px;
}
div.widget-area li{
	margin-bottom: 0px;
}
div.logo{
	clear: none !important;
}
div.woocommerce-Tabs-panel li
{
    list-style: initial;
    list-style-position: inside;
}
div.woocommerce-Tabs-panel ul 
{
    padding: 1em;
    list-style: initial;
    list-style-position: inside;
}
a.download_attachment 
{
	display: block;
	width:100%;
	padding-bottom:1em;
}

.flex-control-nav
{
	position: initial;
	height: auto;
}
.widgettitle
{
    padding: 0px !important;
}
h1, h2, h3, h4, h5{
    padding-top: 1em;
}
p.stock.out-of-stock {
    padding-top: 2em;
}

ul.products
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin-right: 0 !important;
}
li.product {

    display: block;
    padding-left: 1em;
    float: none;
    width: auto;
	margin-right: 0 !important;
}