/**
 *  Code for universal elements of the theme
 **/

 body {
   font-size: 15px;
   .body-font;
   text-rendering: optimizeLegibility;
   letter-spacing: .03em;
   -moz-osx-font-smoothing: auto;
   overflow-x: hidden;
   line-height: 2em;
   @media screen and (max-width: 767px) {
	   .size(16px);
   }
 }

 .row {
     width: 100%;
     margin: 0;
 }

 h1 {
     .size(2.5em);
 }

 h2 {
     .size(2.2em);
 }

 h3 {
     .size(2em);
 }

 h4 {
     .size(1.7em);
 }

 h5 {
     .size(1.5em);
 }

 h6 {
     .size(1.2em);
 }

 blockquote {
     border-left: solid .2rem @accent;
     margin: 4rem 0 1.25rem 0;
     padding: .5rem 0 .5rem 2rem;
     &:before, &:after {
         content: "";
     }
     & p:last-child {
         margin: 0;
     }
 }

 pre, fieldset, input, textarea, table, table *, hr {
     border-color: darken(@bg, 5%);
 }


 th, td {
     border: solid 1px darken(@bg, 10%);
     padding: 1em 0.5em;
     line-height: 1.4;
     margin: 0;
 }

 a {
     .color(@accent);
     text-decoration: none;
   &:visited,
   &:hover,
   &:focus,
   &:active {
     text-decoration: underline;
     .color(@accent);
   }
 }

 ul, ol {
     margin: 0 0 .5em 1em;
     padding-left: 1em;
     li {
         margin: .5em 0;
     }
 }

 address {
     font-style: italic;
 }

 cite {
     .size(13px);
     .color(darken(@bg, 30%));
 }

 q {
     font-style: italic;
 }

 #content-wrapper {
     margin-bottom: 50px;
 }

 #top-bar {
     padding: 10px 0;
 }

#top-wrapper {
  padding: 20px 0;
}

// Primary snd Secondary Areas

#primary, #secondary {
    display: inline-block;
    padding: 0 15px;
    @media (max-width: 767px) {
        width: 100% !important;
    }
}

// Titles foe the whole theme

.section-title, .widget-title {
     padding: 0 0 10px 15px;
     border-bottom: solid 4px black;
     margin-bottom: 20px;
}

.section-title {
    text-align: left;
}

.featured-section {
    margin-bottom: 50px;
}


//Ad widget

.diviner-ad-wrapper {
    text-align: center;
}

// Content Area

.entry-content {
    margin-bottom: 30px;
    a {
        .weight(400);
        .color(lighten(@accent, 50%));
        text-decoration: underline;
        &:hover {
            text-decoration: none;
        }
    }
}