/*
Theme Name: atom-2
Author: Alessio Calanchini
Version: 1.4
Description: Tema wordpress per blog personalizzabile
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:  one-column, two-columns, right-sidebar, left-sidebar, custom-menu, featured-images, sticky-post, translation-ready
Text Domain: atom
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


.sticky{}
.gallery-caption{}
.bypostauthor{}
.wp-caption {
margin-bottom: 20px;
max-width: 100%;
}

.wp-caption .wp-caption-text {
font-size: 16px;
}
/*==========================
  grid post
===========================*/
.grid-container{
  margin-bottom: 20px;
  display: none;
}
.col-1{
  float: left;
  width: 280px;
  margin-right: 3px;
}
.col-2{
  float: left;
  width: 570px;
  margin-right: 3px;
}
.col-3{
  float: left;
  width: 280px;
  margin-right: 3px;
}
.post-small{
    position: relative;
    margin-bottom: 3px;
    padding: 0;
    max-height: 170px;
    overflow: hidden;
}
.thumb {
    font-size: 0;
    position: relative;
    opacity: 1;
    background-color: #000;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.thumb img{
  width: 100%;
}
.post-cat ul li a{
  color:#fff;
}
.post-small img:hover, .post-large img:hover{
  opacity: 0.5;
}
.grid-container .post-info{
  position: absolute;
    bottom: 0;
    width: 100%;
    color: #fff;
    z-index: 1;
    padding: 20px;
}
.grid-container .post-cat {
    margin-bottom: 12px;
}
.grid-container .post-title {
    font-size: 22px;
}
.post-large{
    position: relative;
    margin-bottom: 3px;
    padding: 0;
    max-height: 342px;
    overflow: hidden;
}
.grid-container h2.post-title a{
  color:#fff;
}
/*==========================
  general
===========================*/
body{
  background-color:#fff;
  font-size: 16px;
}
ul, ol {
    padding: 0;
    margin: 0;
  }
a:hover{
  color: #337ab7;
}
/*==========================
  topbar nav
===========================*/
.logo{
  padding: 40px 0;
}
.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}
.navbar-inverse .navbar-nav > li > a:hover{
    color: #337ab7;
}
.top-social{
  float: right;
}
.top-social a{
  color: #fff;
  font-size: 12px;
  border: none;
}
/*==========================
  navbar - brand
===========================*/
.navbar-toggle {
    color:#000;
    position: relative;
    float: none;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: transparent;
}
.navbar-default .navbar-toggle {
    border:none;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #e7e7e7;

}
.navbar-brand{
  display: block;
  float: none;
  padding: 15px 15px;
  font-size: 50px;
}
.navbar-brand a{
  text-decoration: none;
  color: #000;
}
.navbar>.container .navbar-brand, .navbar>.container .navbar-brand {
    height: auto;
}
.navbar-default {
    border-top:1px solid #ddd;
    border-bottom:1px solid #ddd;
    background-color: transparent;
}
.navbar {
    position: relative;
    min-height: 50px;

}

.navbar-default .navbar-nav>li>a {
    color: #000;
    font-size: 12px;
      text-transform: uppercase;
}
.navbar-default .navbar-nav>ul{

  margin: 0 80px;
}

.navbar-default .navbar-nav>li{
  display: block;
}
.navbar-default .navbar-nav>li>a:hover {
    color: #337ab7;
    background-color: transparent;
}
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:focus,
 .navbar-default .navbar-nav>.open>a:hover{
   background-color: #337ab7;
   color:#fff;
 }
 .navbar-default .navbar-nav>.active>a{
   background-color: #337ab7;
   color: #fff;
 }
 .navbar-default .navbar-nav>.active>a:hover{
    background-color: #337ab7;
    color: #fff;
 }
 .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    color: #fff;
    text-decoration: none;
    background-color:#337ab7;
}
.header{
  text-align: center;

}

.search-icon{
  display: block;
float: right;
margin-right: 30px;
min-height: 50px;
width: 50px;
padding: 10px;
line-height: 20px;
font-size: 20px;
}
.search-icon a{
  color:#000;
}
.search-icon i:hover{
  color: #337ab7;
}
.searchform{
  display: none;
  margin: 0;
  padding: 0;
}
.searchform label{
  display: none;
}
.searchform input[type="submit"]{
  display: none;
}
.searchform input[type="text"]{
  border:none;
  width: 100%;
  padding:20px 5px;
  font-size: 35px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}
.searchform input[type="text"]:focus{
  border-bottom: 3px solid #337ab7;
  background-color: #ccc;
  color:#fff;
}
/*==========================
  main-content
===========================*/
.main-content img{
width: 100%;
}
/*H2.section-title{
  padding: 15px 0;
  border-bottom: 3px solid #3da6e7;
}*/
.post-box{
  margin:20px 0;
  height: auto;
}
.post-thumbnail{
  width: 50%;
  margin-right: 10px;
}
.single-post-thumbnail{
  width: 100%;

}
.post-categories{
  list-style: none;
  margin:0;
  padding: 0;

}
.post-categories li{
  display: inline-block;
  padding: 1%;
  font-size: 75%;
  line-height: 1;
  text-align: center;

}
.post-categories li a{
  color:#337ab7;
}
.meta-info{
  position: relative;
  margin-bottom: 10px;
}
.meta-info i, .meta-info i a, .meta-info a{
  color: #9d9d9d;
}
.
.icon{
  float: left;
}
.comment-count a{
  color:#fff;
}
.post-title a:hover{
  color:#3da6e7;
}
.post-title a, .post-author a{
  text-decoration: none;

}
.post-date {
  color: #9d9d9d;
}
.post-title{
  font-weight: bold;
}
.meta-info .post-author{
  font-weight: bold;
  margin-right: 10px;
}
.comment-count{
  position: absolute;
  right:8px;
}
.post-excerpt{
  padding:15px 0;
}
.read-more{
  border:none;
  color:#fff;
  font-weight: bold;
}
.nav-previous{
  width: 50%;
  float: left;
}
.nav-next{
  width: 50%;
  float: left;
}
.main-content .tag a{
  padding: 10px;
  background-color: #3da6e7;
  color:#fff;
  font-weight: bold;
}
.cat-title{
  display: block;
  width: 100%;
  background-color: #ddd;
  color: #fff;
  font-weight: bold;
  text-transform:  uppercase;
  padding: 15px 0;
  margin: 0;
}
/*==========================
  sidebar
===========================*/
.sidebar-footer{
  float: left;
}
.sidebar{
  /*display: none;*/
}
.widget-about img{
    width:100%;
    height:auto;
    margin-bottom: 10px;
}
.fb, .twitter, .youtube{
    float: left;
    width:30%;
}
.widget_categories ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget_categories ul li{
  display: inline-block;
    padding: 1%;
    font-size: 75%;
    line-height: 1;
    text-align: center;
    color:#9d9d9d;
}
.widget ul li a{
    color:#9d9d9d;
}
.widget_categories ul li a{
  text-decoration: none;
    color:#9d9d9d;
}

.widgettitle{
  font-weight: bold;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
/*widget*/
.img-article{
  float:left;
  width: 100px;
}
.widget{
  padding:18px 10px;
}
/*==========================
  category
===========================*/
.box-category{
  color:#fff;
  font-weight: bold;

}
.box-category img{
  top: 0;
  bottom: 0;
  z-index: -10;
  position: relative;

}

.box-category .title{
  background-color: #444;
  opacity: 0.8;
  z-index: 10;
  position: absolute;
  top: 0;
  margin: 0 auto;
  display: block;
  width:50%;
  padding: 15px 5px;
}
.box-category .title h5{
  font-weight: bold;
}

/*==========================
  footer
===========================*/
.footer{
  padding:30px 0;
  margin:20px 0 0 0;
  background-color: #000;
  color:#fff;
  font-size: 12px;
/*  display: none;*/
}
.lista ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.lista ul li{
  padding:10px 0;
}
.lista ul li a{
  color:#fff;
  text-decoration: none;
  font-size: 14px;
}
.lista ul li a:hover{
  color:#3da6e7;
}

/*============================
comment template single
==============================*/
.commentlist{

  padding: 0;
}
header.comment-meta.comment-author.vcard {
    padding: 10px 0;
}

p.comment-author {
    margin-top: 10px;
    font-weight: bold;
}
.author-comment{
  float: left;
  margin-right: 10px;
}
section.comment-content.comment{
  float: right;
  width:85%;
}
ol.commentlist{
  list-style: none;
  padding:10px;
}
ul.children{
  background-color: #eee;
  padding-left: 30px;
  list-style: none;
}
ul.children ul.children{
  padding-left: 50px;
}
ul.children li{
  padding:10px;

}

/*============================
pagination post
==============================*/
.page-numbers{
  padding:10px;
  background-color: #3da6e7;
  color:#fff;
}
.page-numbers:hover{
  color:#fff;
}
.footer-sidebar{
margin-bottom: 40px;
}
.site-info{
  padding:20px;
}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/
    /* Custom smartphone */
  @media (max-width: 767px)  {
      .topbar-menu{
      display: none;
      }
      .navbar-default .navbar-nav>li>a {
          color: #000;
          font-size: 12px;
          text-transform: uppercase;
          text-align: left;
      }
      .navbar-toggle{
        float: left;
      }
      .top-social{
        width:100%;
        padding:0 21%;
        float: none;
        margin:0 auto;
      }
      .top-social li{
        display: inline-block;
      }
      .navbar-brand{
        font-size:1.9em;
      }
      .col-1, .col-2, .col-3{
        width: 100%;
      }
      .post-thumbnail{
        width: 100%;
        float:none;
      }
      .post-title, .meta-info, .post-excerpt{
        font-size: 80%;
      }
      .main{
        margin-bottom: 20px;
      }
      .comment-count{
        left:0;
      }


    }
