/*
Theme Name: Porto
Theme URI: http://newsmartwave.net/wordpress/porto
Author: SW-THEMES
Author URI: http://newsmartwave.net/
Description: Porto Responsive Wordpress + Woocommerce Theme.
Version: 2.5.7
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
Text Domain: porto

*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

.bypostauthor {}
.main-content {padding:10px 0 0 0 !important}
#header .header-main .header-contact h4.text-color-twitter a {color:#3b60bf;}
.main-content .post-image {display:none;}


#latest-news, #recent-publications {border-top: 2px solid #eee !important; padding-top:10px;}
.rpwe-block ul {border:0 !important; list-style: none !important; margin-left: 0 !important; padding-left: 0 !important;}
.rpwe-block li {border:0 !important; width:30%; float:left; margin: 0 20px 0 0 !important; padding: 0 0 10px 0; list-style-type: none;}
.rpwe-block a {display: inline !important; font-size:14px; text-decoration: none;}
.rpwe-block h3 {background: none !important; clear: none; margin-bottom: 0 !important; margin-top: 0 !important; font-weight: 400; font-size: 12px !important; line-height: 1.5em;}
.rpwe-thumb {border: 1px solid #eee !important; box-shadow: none !important; margin: 2px 10px 20px 0; padding: 3px !important;}
.rpwe-summary {font-size: 14px;}
.rpwe-time {color: #999; font-size: 11px;}
.rpwe-comment {color: #bbb; font-size: 11px; padding-left: 5px;}
.rpwe-alignleft {display: inline; float: left;}
.rpwe-alignright {display: inline;float: right;}
.rpwe-aligncenter {display: block; margin-left: auto; margin-right: auto;}
.rpwe-clearfix:before, .rpwe-clearfix:after {content: ""; display: table !important;}
.rpwe-clearfix:after {clear: both;}
.rpwe-clearfix {zoom: 1;}

.page-wrapper .container #content {margin:0 10px;}
#header .header-main .container .header-left {padding: 10px 0;}
#header .logo {max-width: 300px;}
#header .searchform-popup {float:right}
#header.search-sm .searchform {width:280px}
#header.search-sm .searchform input {width:240px}
#.ms-inner-controls-cont .ms-nav-next, .ms-inner-controls-cont .ms-nav-prev {display:none;}

#main-menu {padding:4px;}
.main-menu-wrap {padding:0;}
.main-menu-wrap, #main-menu .mega-menu {background-color:#ffffff;}
#main-menu .mega-menu > li.menu-item > a, #main-menu .mega-menu > li.menu-item > h5 {color:#3b60bf;}
#main-menu .mega-menu > li.menu-item.active > a, #main-menu .mega-menu > li.menu-item:hover > a, #main-menu .mega-menu > li.menu-item.active > h5, #main-menu .mega-menu > li.menu-item:hover > h5 {background: #ffffff none repeat scroll 0 0; color: #3b60bf}
#main-menu .mega-menu .narrow .popup ul.sub-menu {border-top-color:#3b60bf;}

#main-menu .mega-menu .narrow .popup ul.sub-menu ul.sub-menu {-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;}
.mega-menu .narrow .popup > .inner > ul.sub-menu {-webkit-border-radius: 0 10px 10px; -moz-border-radius: 0 10px 10px;  border-radius: 0 10px 10px;}
h1, h2, h3 {margin: 0 0 10px;}

article.post .post-date .day, .post-item .post-date .day {font-size: 30px;}
article.post-large .post-date {margin-top: 10px;}
.post .post-date .year {color:#3b60bf; background:#f4f4f4; padding:0 6px; font-size:0.9em;}
.footer-ribbon {display:none;}


#header .mobile-toggle {background:#ccc; top:15px; right:10px; left:auto;}
#header .mobile-toggle a {font-size:16px;}

@media only screen and (max-device-width: 480px) {
    /* Put your iPhone 3G styles in here */
    #header .logo {max-width:200px;}
    .rpwe-block li {width:27%;}
}