/*
Theme Name:     extranews-child
Description:    Child Theme of Extra News
Author:         Adam Tiran
Template:       extranews

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/


body{line-height:12px;}
.mc_signup_submit { text-align:right !important;}
#searchbox fieldset {border: none;}
#pages-2 ul { padding-left: 3px;}
#categories-2 ul { padding-left: 3px; }
.logo{text-align: center;float: left;width: 100%;background-color: #231f21;}
.sf-menu a{font-weight: bold !important; text-transform: uppercase !important;}
.nav{background: #231f21;border-top: 1px solid #F7BE00;}
.logo h1{padding: 20px !important;}
.sf-menu li a{padding: 12px 18px;}
.apsc-theme-2 .apsc-each-profile{width: 46%; margin: 2%; min-height: 1px; font-family: "Open Sans", arial, sans-serif; float: left;}
.apsc-theme-2 .apsc-each-profile a{border-radius: 0;}
.apsc-theme-2 .apsc-inner-block{float: left; width: 100%; box-sizing: border-box;}
.apsc-theme-2 .social-icon{float: left; padding: 0 5px;}

.apsc-theme-2 .apsc-each-profile a:hover{transform: scale(1) rotate(0deg);
-webkit-transform: scale(1) rotate(0deg);
-ms-transform: scale(1) rotate(0deg);}
.apsc-theme-2 .apsc-count{padding-top: 4px;  font-weight: bold;}
.apsc-theme-2 .social-icon .fa {font-size: 30px;}
.nav .search a{float: left; padding:12px 3px}
.search a.search_button{ float:left; padding: 10px;}
.search_popup_overlay{position:fixed; z-index:999; top:0; width:100%; bottom:0; left:0; background:rgba(0,0,0,0.8);}
.search_popup{top:50%; left:50%; transform: translate(-50%, -50%); position: fixed; background: #272727; width: 600px; max-width: 90%; box-shadow: 0px 0px 20px 3px #000; padding: 0 30px 30px 30px; z-index:999; box-sizing: border-box;}
.search_popup_header{width: 100%; text-align: center; border-bottom: 3px solid #707070; text-transform: uppercase; color: #f7f7f7; display: inline-block;padding: 15px 0; margin: 0 0 30px 0;} 
.search_popup_title{width: 95%; float: left; font-size: 16px; font-weight: 700; letter-spacing: 1px; line-height: 1.5;}
.nav .search input#s{ width:100%; padding:20px; color: #e5e5e5; background: #2d2d2d; letter-spacing: 1px; font-size: 20px; max-width: 100%; box-sizing: border-box;}
#searchbox fieldset{ padding:0;}
.search_close{ float:right;}
.search_close a{padding: 6px 3px; float: right;}
.sidebar{padding-top: 12px;}
.sidebar .widget h4.widget-title{text-align: center; font-size: 25px; text-transform:none !important;}
ul.tabs-content{padding: 0;}
ul.tabs-content #tab1{display: list-item !important;}
ul.tabs-content #tab2{display: none !important;}
.tabswrap .tabs {display: none !important;}
.widget .tabswrap p.views{display: none !important;}
.tabswrap .tabpost { margin-bottom: 10px; padding-bottom: 10px; border-bottom: solid 1px #dcdcdc; margin-top: 0;}
.container .ajax-select{display: none !important;}

.footerwidget .widget h3{text-transform:none !important;}
/*.textwidget p{margin-bottom:0;margin-top:0}*/
img{ max-width:100%;}

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe{ width:100% !important;}

.paginationbutton{ margin-bottom:20px;}
.cat_title{ padding:20px 0; font-size:25px; font-weight:bold; color:#000; border-bottom: solid 9px #000; margin-bottom:0px; text-transform: uppercase;}
h2.indextitle a:hover{ color:#000 !important; text-decoration:underline;}

.featured h2, .featured h2 a{font-size:20px;margin-bottom: 0px;line-height: 24px;}
p, ul {font-size: 14px;line-height: 24px;margin-bottom: 16px;}
.textwidget p{margin:0;padding:0;}
.maincontent{margin-bottom:0}
.articleinner h2, .widget .articleinner h2, .articleinner h2 a, .widget artileinner h2 a {font-size: 16px !important;line-height: 22px !important;margin-bottom: 6px !important;
text-transform: none !important;}
.categories{padding-bottom: 8px;}
.one_col{padding-top: 8px;}
.button, a.button, a.more-link, #submit{border-radius:4px;}
#footer{padding-top: 16px;}
li{line-height:15px;}
.widget .widget-title,.post_neighbors_container h5,.tagcloud h5{text-transform:none !important}
.widget{margin-bottom: 12px;border-bottom: 1px solid #222222;padding-bottom: 12px;border-radius:0;}
h3.pagetitle, h1.pagetitle{font-size: 24px;padding: 35px 0;line-height: 0px;}
h1.blogtitle {font-size: 24px;line-height: 30px;margin: 18px 0 10px 0;}
.leftblogcontent{margin-right: 18px;width: 215px;}
.details img{margin-right: 8px;}
ul.authorinfo{float:inherit;padding: 10px 0 0 15px;}
.featured a.isobrick .featuredinner img,.articlecontainer .thumbnailarea a img{-webkit-transition:all 1s;transition:all 1s;}
.featured a.isobrick:hover .featuredinner img,.articlecontainer .thumbnailarea a:hover img{-webkit-transform:scale(1.1);transform:scale(1.1);}
.articlecontainer .thumbnailarea a img{opacity:1  !important;}
.articlecontainer .thumbnailarea a{overflow: hidden;}
/*.articlecontainer .thumbnailarea a:hover:before{background:#f3bd32;opacity:0.20;position:absolute;left:0;top:0;width:100%;height:100%;content:'';z-index: 1;}*/

.widget .mc4wp-form button, .widget .mc4wp-form input[type="submit"]{border-color: #f3bd32;background-color: #f3bd32 !important;}

/*.featured .two_col{width:66.30%;}
.featured .one_col{width:33.10%;}
.featured .featuredinner .scale-with-grid{width:100%;}
.maincontent{width:66.66%;}
.sidebar{width: calc(33.33% - 40px);}
#isonormal{width:100%;}
.one_col{width: calc(50% - 30px);}
*/

.apsc-icons-wrapper a.apsc-soundcloud-icon{background:#fc6921;}
.apsc-theme-2 .apsc-each-profile{float:none;width:44%;display:inline-block;}
.apsc-icons-wrapper.apsc-theme-2{text-align:center}
.sidebar .widget h3.widget-title {text-align: center;font-size: 25px;text-transform: none !important;}
.featured .featuredinner{text-align:center;}
.featured .featuredinner h2 > span{display:none;}
.featured .featuredinner h2{padding:0 20px;box-sizing: border-box;left:0;width:100%;}
.tabswrap .tabpost{display:table;width:100%;}
.tabswrap .tabpost > p{display:table-cell;text-align:left;vertical-align:middle;padding-left:10px;}
.tabswrap .tabpost .featuredimagewidget{display:table-cell;float:none;}

.homepageslideshow{margin-top:1px;}
.thumbnailarea img{width: 100%;}
.archive.category .articlecontainer.maincontent{ padding-bottom:50px; }
.maincontent.page img, .single .featuredimage img{ width:100%; }
.featuredimage{ position:relative; overflow:hidden;}
.slider.nivoSlider img, .featuredimage img{-webkit-transition: all 1s; transition: all 1s;}
/*.slider.nivoSlider:hover img, .featuredimage:hover img{-webkit-transform: scale(1.1); transform: scale(1.1);}*/
.tabswrap .featuredimagewidget{background:none;}
.tabswrap .tabpost a{ display:block;}
.tabswrap .tabpost a .wpp-thumbnail{ float:none;}
.articleinner {padding: 0 0 15px 0;}
.one_col{padding-top: 15px;}

@media screen and (min-width: 1200px){
.container,.container.featuredcontainer{max-width: 1170px;width:100%;}
.featured .two_col{width:778px;}
.featured .one_col{width:388px;}
.featured .featuredinner .scale-with-grid{width:100%;}
.articlecontainer.maincontent,.slidercontent.maincontent,.blogpost.maincontent,.maincontent.page,.maincontent{width:70%;}
.slidercontent.maincontent .maincontent{width:100%;}
.sidebar{width:26.5%; width: calc(30% - 40px); width: -webkit-calc(30% - 40px); width:-moz-calc(30% - 40px);}
#isonormal{width:100%;}
.one_col{width: calc(50% - 15px);}
#footer .footerwidgetwrap{width: 100%;}
#footer .footerwidget{width: 33.33%;margin-right:0;padding-right:30px;-webkit-box-sizing: border-box;box-sizing: border-box;}
#footer .footerwidget:nth-child(3){padding-right:0;}
.sf-menu a, .ajax-select ul.sf-menu li li a{font-size:14px !important;}
.nav .search{width: auto; margin-right: 0px; margin-top: 4px;}
/*.page-template-template-home-slider .sitecontainer.container{max-width: 100%;width:100%;}
.homepageslideshow > .slider-wrapper{max-width:1300px;width:100%;margin: 0 auto;}*/
.theme-default .nivoSlider{ max-height:535px;}
}
@media screen and (min-width: 1999px){
	.theme-default .nivoSlider{ max-height:440px;}
}
@media screen and (min-width: 768px){
	.sidebar{position:sticky;  top:0;}
	.nivo-caption{ position: absolute;}
}
@media screen and (max-width: 767px){
	.logo{height: auto;}
	.logo h1{padding: 0.5em !important;}
	ul#mobilenav{ padding:0;}
	.mobilenavigation{padding-top: 6px;}
	.nav{display: block; position:relative; z-index:99999;}
	.sf-menu{display: none;}
	.search_popup{padding: 0 15px 15px 15px;}
	.blogcontent iframe{max-width: 100%;}	
	.featured h2, .featured h2 {font-size: 22px;line-height: 24px;}
	.nav .search {float:none; margin:0 auto;}
	.slider.nivoSlider .nivo-caption h3.title{ font-size:16px;}
	.slider.nivoSlider img{ height:195px !important;}
}
@media screen and (max-width: 479px){
	.apsc-theme-2 .apsc-each-profile{ width: 100% !important; min-height: 1px !important;}
	.apsc-theme-2 .social-icon{width: 50px;}
	.apsc-theme-2 .apsc-count{float: left; padding-top: 7px;}
	.apsc-theme-2 .apsc-media-type{padding-left: 5px; line-height: 14px; float: left; padding-top: 7px;}
	.search_popup_title{width: 90%;}
	.apsc-theme-2 .apsc-each-profile{margin: 2px !important; }
	.slider.nivoSlider img{ height:150px !important;}
}