html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*, 
*:before, 
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

.essential-widgets ul,
.essential-widgets ol {
    padding-left: 0;
}

.essential-widgets li > ul,
.essential-widgets li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

.widget-area .essential-widgets {
    display: block;
    float: left;
    width: 100%;
}

.essential-widgets .widget-title {
    margin: 0 0 25px;
}

.essential-widgets .hentry {
    border: none;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
}

.widget-area .essential-widgets .hentry .entry-title {
    padding: 0;
}

.essential-widgets .more-link {
    display: block;
    margin: 20px 0 0;
}

.essential-widgets .featured-image,
.essential-widgets .entry-title,
.essential-widgets .entry-meta,
.essential-widgets .entry-content,
.essential-widgets .entry-summary {
    padding: 0;
    margin: 15px 0;
}

.essential-widgets .entry-meta .posted-on,
.essential-widgets .entry-meta .byline,
.essential-widgets .entry-meta .comments-link,
.essential-widgets .entry-meta .tags-links,
.essential-widgets .entry-meta .cat-links {
    margin-right: 10px;
}

/* Advertisement Image Widget */
.ew-advertisement-image .ads-image {
    text-align: center;
}

.ew-advertisement-image .ads-image a {
    display: block;
    margin: 0 auto;
    vertical-align: middle;
}

.ew-advertisement-image .ads-image img {
    display: block;
    margin: 0 auto;
}

.ewadvertisement .ads-image-wrap {
    text-align: center;
}

/* Advertisement Slider */
.ewadvertisement .cycle-slideshow {
    overflow: hidden;
    position: relative;
}

.ew-advertisement-slider .hentry {
    padding: 0 0 40px;    
}

.ew-advertisement-slider .ewp-ads-controls {
    bottom: 0;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 101;
}

.ewadvertisement .cycle-prev,
.ewadvertisement .cycle-next {
    cursor: pointer;
    color: #666;
    font-size: 24px;
    opacity: 1;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.ewadvertisement .cycle-prev:hover,
.ewadvertisement .cycle-prev:focus,
.ewadvertisement .cycle-next:hover,
.ewadvertisement .cycle-next:hover {
    color: #000;
}

/* Featured Post-Page-Embed Widget, Advertisement  & Gallery Widget */
.ewfeaturedpostpageimage .hentry {
    margin: 0 0 14px;
}

.ewfeaturedpostpageimage .hentry:last-child {
    margin-bottom: 0;
}

.ewfeaturedembed .four-columns .type-embed,
.ewfeaturedpostpageimage .four-columns .hentry {
    margin-left: 4%;
    width: 22%;
}

.ewfeaturedpostpageimage .four-columns .hentry {
    margin-left: 1.33%;
    width: 24%;
}

.ewfeaturedembed .three-columns .type-embed,
.ewfeaturedpostpageimage .three-columns .hentry {
    margin-left: 4%;
    width: 30.66%;
}

.ewfeaturedembed .two-columns .type-embed,
.ewadvertisement .two-columns .ads-hentry,
.ewfeaturedpostpageimage .two-columns .hentry {
    margin-left: 4%;
    width: 48%;
}

.ewfeaturedembed .four-columns .type-embed:nth-child(4n+1),
.ewfeaturedembed .three-columns .type-embed:nth-child(3n+1),
.ewfeaturedembed .two-columns .type-embed:nth-child(2n+1),
.ewfeaturedpostpageimage .four-columns .hentry:nth-child(4n+1),
.ewfeaturedpostpageimage .three-columns .hentry:nth-child(3n+1),
.ewfeaturedpostpageimage .two-columns .hentry:nth-child(2n+1),
.ewadvertisement .two-columns .ads-hentry:nth-child(2n+1) {
    clear: both;
    margin-left: 0;
}

.ewfeaturedpostpageimage .left .featured-image,
.ewfeaturedpostpageimage .right .featured-image {
    width: 30%;
}

.ewgallerypostpageimage .center .featured-image,
.ewfeaturedpostpageimage .center .featured-image {
    text-align: center;
}

.ewfeaturedpostpageimage .left .entry-container,
.ewfeaturedpostpageimage .right .entry-container {
    width: 70%;
}

.ewfeaturedpostpageimage .left .entry-container {
    padding-left: 15px;
}

.ewfeaturedpostpageimage .right .entry-container {
    padding-right: 15px;
}

.ewfeaturedpostpageimage .left .entry-container,
.ewfeaturedpostpageimage .right .featured-image {
    float: right;
}

.ewfeaturedpostpageimage .right .entry-container,
.ewfeaturedpostpageimage .left .featured-image {
    float: left;
}

.ewfeaturedpostpageimage .left .no-featured-image .entry-container,
.ewfeaturedpostpageimage .right .no-featured-image .entry-container {
    padding: 0;
    width: 100%;
}

.ewfeaturedpostpageimage .left .featured-image,
.ewfeaturedpostpageimage .right .featured-image,
.ewfeaturedpostpageimage .left .entry-container,
.ewfeaturedpostpageimage .right .entry-container {
    margin: 0;
}

.ewfeaturedpostpageimage .left .entry-title,
.ewfeaturedpostpageimage .right .entry-title,
.ewfeaturedpostpageimage .left .entry-meta,
.ewfeaturedpostpageimage .right .entry-meta {
    margin-top: 0;
}

/* Newsletter Widget */
.ewnewsletter .widget-inner-wrap {
    color: #fff;
    padding: 30px 30px 15px;
}

.ewnewsletter .ew-newsletter-wrap {
    clear: both;
    display: block;
}

.ewnewsletter .ew-newsletter-wrap input {
    margin-bottom: 15px;
    width: 100%;
}

.ewnewsletter .ew-newsletter-wrap #subbutton {
    margin: 20px 0;
    width: auto;
}

/* Tag Cloud Widget */
.widget-area .essential-widgets .tagcloud a,
.widget-area .essential-widgets .tagcloud.rounded-corners a {
    border: 1px solid;
    border-color: inherit;
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 5px 10px;
}

.widget-area .essential-widgets .tagcloud.rounded-corners a {
    border-radius: 10px;
}

/* Gallery Widgets */
.ewgallerypostpageimage .hentry {
    line-height: 0;
    margin: 0 0 15px;
}

.ewgallerypostpageimage .hentry:last-child {
    margin-bottom: 0;
}

.ewgallerypostpageimage .hentry .featured-image {
    margin: 0;
}

.ewgallerypostpageimage .hentry .featured-image img{ 
    width: 100%;
}

.widget-area .ewgallerypostpageimage .hentry .entry-title {
    text-align: center;
}

.ewgallerypostpageimage .hentry .entry-container {
    background: #666;
    background: rgba( 0, 0, 0, 0.6 );
    padding: 15px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    line-height: normal;
    opacity: 0;
    overflow: hidden;
    text-align: center;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all .2s 0 ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.ewgallerypostpageimage .hentry .entry-container>.vcenter {
    display: block;
    position: relative;
    top: 45%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all .2s 0 ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#featured-grid-content .grid-box:hover .caption>.vcenter {
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.ewgallerypostpageimage .hentry:hover .entry-container {
    opacity: 1;
}

.ewgallerypostpageimage .hentry .entry-container,
.ewgallerypostpageimage .hentry .entry-container a,
.ewgallerypostpageimage .entry-title,
.ewgallerypostpageimage .entry-title a {
    color: #fff;
}

.ewgallerypostpageimage .hentry .entry-container a:hover,
.ewgallerypostpageimage .entry-title a:hover {
    color: rgba( 255, 255, 255, 0.8 );
}

.ewgallerypostpageimage i {
    background-color: #fff;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    border-radius: 20px;
    color: #000;
    font-size: 20px;
    height: 20px;
    padding: 3px;
    width: 20px;
}

.ewgallerypostpageimage i:hover {
    background-color: rgba( 255, 255, 255, 0.8 );
    color: #fff;
}

.ewgallerypostpageimage .four-columns .hentry {
    margin-left: 1.33%;
    width: 24%;
}

.ewgallerypostpageimage .three-columns .hentry  {
    margin-left: 4%;
    width: 30.66%;
}

.ewgallerypostpageimage .two-columns .hentry {
    margin-left: 4%;
    width: 48%;
}

.ewgallerypostpageimage .four-columns .hentry:nth-child(4n+1),
.ewgallerypostpageimage .three-columns .hentry:nth-child(3n+1), 
.ewgallerypostpageimage .two-columns .hentry:nth-child(2n+1) {
    clear: both;
    margin-left: 0;
}

/* EW Archive Widget */
.ewarchive ul a {
    margin-right: 0;
}

.ewarchive a {
    margin-right: 10px;
}

/* EW Recent/Popular Widget */
.widget.ew-tabbed-recent-popular .ui-tabs-panel::after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.widget.ew-tabbed-recent-popular,
.widget.ew-tabbed-recent-popular .entry-title {
    font-size: 14px;
}

.widget.ew-tabbed-recent-popular .entry-meta, 
.widget.ew-tabbed-recent-popular .entry-meta span a::before {
    font-size: 12px;
}

.ewtabbedrecentpopular .left .featured-image,
.ewtabbedrecentpopular .right .featured-image,
.ewtabbedrecentpopular .left .entry-container,
.ewtabbedrecentpopular .right .entry-container {
    margin: 0;
}

.ew-tabbed-recent-popular .left .featured-image {
    float: left;
    width: 25%;
}

.ew-tabbed-recent-popular .left .entry-container {
    float: right;
    width: 75%;
    padding-left: 1em;
}

.ew-tabbed-recent-popular .right .featured-image {
    float: right;
    width: 25%;
}

.ew-tabbed-recent-popular .right .entry-container {
    float: left;
    width: 75%;
    padding-right: 1em;
}

.ew-tabbed-recent-popular .center .featured-image {
    float: none;
    width: auto;
    text-align: center;
}

.ew-tabbed-recent-popular .center .featured-image img {
    display: inline-block;
}

.ew-tabbed-recent-popular .left .no-featured-image .entry-container,
.ew-tabbed-recent-popular .right .no-featured-image .entry-container,
.ew-tabbed-recent-popular .center .no-featured-image .entry-container {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.widget.ew-tabbed-recent-popular {
    padding: 0;
}

.ew-tabbed-recent-popular .ui-tabs {
    padding: 0;
}

.ew-tabbed-recent-popular .ui-tabs .ui-tabs-nav li {
    width: 50%;
    margin-left: 0;
    margin-right: 0;
}

.ew-tabbed-recent-popular .ui-tabs .ui-tabs-nav li a {
    display: block;
    width: 100%;
}

.site-footer .article-wrap {
    text-align: left;
}

.site-footer .widget-area .ew-tabbed-recent-popular .ui-tabs-anchor {
    color: #000;
}

.site-footer .ew-tabbed-recent-popular .entry-title, 
.site-footer .ew-tabbed-recent-popular .entry-title a {
    color: #000;
}

#footer-sidebar .widget.ew-tabbed-recent-popular ul.ui-tabs-nav {
    margin-left: 0;
}

@media screen and (min-width: 768px) {
    .one .ew-tabbed-recent-popular .right .featured-image,
    .one .ew-tabbed-recent-popular .left .featured-image,
    .sidebar-before-footer .ew-tabbed-recent-popular .right .featured-image,
    .sidebar-before-footer .ew-tabbed-recent-popular .left .featured-image {
        width: 12%;
    }

    .one .ew-tabbed-recent-popular .right .entry-container,
    .one .ew-tabbed-recent-popular .left .entry-container,
    .sidebar-before-footer .ew-tabbed-recent-popular .right .entry-container,
    .sidebar-before-footer .ew-tabbed-recent-popular .left .entry-container {
        width: 88%;
    }
}

/* Social Icons*/

@font-face {
font-family: "FontAwesome";
font-weight: normal;
font-style : normal;
       src : url("//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?v=4.7.0");
       src : url("//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0") format("embedded-opentype"),
             url("//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0") format("woff2"),
             url("//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0") format("woff"),
             url("//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0") format("truetype"),
             url("//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular") format("svg");
}

.ew-social-profile .social-navigation a:before {
    content: "\f0c1";
}

.ew-social-profile .social-navigation a[href*="codepen.io"]:before {
    content: "\f1cb";
}

.ew-social-profile .social-navigation a[href*="digg.com"]:before {
    content: "\f1a6";
}

.ew-social-profile .social-navigation a[href*="dribbble.com"]:before {
    content: "\f17d";
}

.ew-social-profile.social-navigation a[href*="dropbox.com"]:before {
    content: "\f16b";
}

.ew-social-profile .social-navigation a[href*="facebook.com"]:before {
    content: "\f09a";
}

.ew-social-profile .social-navigation a[href*="flickr.com"]:before {
    content: "\f16e";
}

.ew-social-profile .social-navigation a[href*="foursquare.com"]:before {
    content: "\f180";
}

.ew-social-profile .social-navigation a[href*="plus.google.com"]:before {
    content: "\f0d5";
}

.ew-social-profile.social-navigation a[href*="github.com"]:before {
    content: "\f09b";
}

.ew-social-profile .social-navigation a[href*="instagram.com"]:before {
    content: "\f16d";
}

.ew-social-profile .social-navigation a[href*="linkedin.com"]:before {
    content: "\f0e1";
}

.ew-social-profile .social-navigation a[href*="path.com"]:before {
    content: "\f20c";
}

.ew-social-profile .social-navigation a[href*="pinterest.com"]:before {
    content: "\f231";
}

.ew-social-profile .social-navigation a[href*="getpocket.com"]:before {
    content: "\f265";
}

.ew-social-profile .social-navigation a[href*="reddit.com"]:before {
    content: "\f1a1";
}

.ew-social-profile.social-navigation a[href*="skype.com"]:before {
    content: "\f17e";
}

.ew-social-profile .social-navigation a[href*="stumbleupon.com"]:before {
    content: "\f1a4";
}

.ew-social-profile .social-navigation a[href*="tumblr.com"]:before {
    content: "\f174";
}

.ew-social-profile .social-navigation a[href*="twitter.com"]:before {
    content: "\f099";
}

.ew-social-profile .social-navigation a[href*="vimeo.com"]:before {
    content: "\f27d";
}

.ew-social-profile .social-navigation a[href*="wordpress.com"]:before,
.ew-social-profile .social-navigation a[href*="wordpress.org"]:before {
    content: "\f19a";
}

.ew-social-profile .social-navigation a[href*="youtube.com"]:before {
    content: "\f16a";
}

.ew-social-profile .social-navigation a[href^="mailto:"]:before {
    content: "\f0e0";
}

.ew-social-profile .social-navigation a[href*="spotify.com"]:before {
    content: "\f1bc";
}

.ew-social-profile .social-navigation a[href*="twitch.tv"]:before {
    content: "\f1e8";
}

.ew-social-profile .social-navigation a[href$="/feed/"]:before {
    content: "\f09e";
}

.ew-social-profile .social-navigation a[href*="amazon.com"]:before {
    content: "\f270";
}

.ew-social-profile .social-navigation a[href*="apple.com"]:before {
    content: "\f179";
}

.ew-social-profile .social-navigation a[href*="bandcamp.com"]:before {
    content: "\f2d5";
}

.ew-social-profile .social-navigation a[href*="behance.com"]:before {
    content: "\f1b4";
}

.ew-social-profile .social-navigation a[href*="deviantart.com"]:before {
    content: "\f1bd";
}

.ew-social-profile .social-navigation a[href*="etsy.com"]:before {
    content: "\f2d7";
}

.ew-social-profile .social-navigation a:before {
    display: inline-block;
    font-family: 'FontAwesome';
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 2.1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Author/Archive/Categories Widget  */
.ew-author ul,
.ew-archive ul,
.ew-categories ul {
    text-align: right;
    margin-left: 0;
}

.ew-author li,
.ew-archive li,
.ew-categories li   {
    display: block;
    height: 1%;
    overflow: hidden;
}

.ew-author ul a,
.ew-archive ul a,
.ew-categories ul a {
    float: left;
}

#footer-newsletter .ew-newsletter .section-description.subtitle-below {
    margin-top: 28px;
    margin-bottom: 0;
}
#footer-newsletter .ew-newsletter .section-description.subtitle-above {
    margin-top: 0;
    margin-bottom: 28px;
}