/* AUTOCOMPLETE SEARCH*/
.algolia-autocomplete{
width:100%;
}
.aa-dropdown-menu {
  top: -6px;
  margin: 6px 0 0;
  text-align: left;
  height: auto;
  background: transparent;
  width: 100%;
  max-width:500px;
  left: 0 !important;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.1);
  background: white;
  overflow-y: scroll;
  max-height: 500px;
  border: solid 1px #D9D9D9; */
  border-radius: 3px;
  padding: 8px 8px 8px;
  }

.aa-dropdown-menu:before {
  position: absolute;
  content: '';
  width: 14px;
  height: 14px;
  background: #fff;
  top: -7px;
  border-top: 1px solid #D9D9D9;
  border-right: 1px solid #D9D9D9;
  transform: rotate(-45deg);
  border-radius: 2px;
  z-index: 999;
  display: block;
  left: 24px;
}


.aa-dropdown-menu .aa-suggestions {
  position: relative;
  z-index: 1000;
}

.aa-dropdown-menu * {
  box-sizing: border-box;
}

.aa-suggestions-category {
    font-size: 15px;
    color: #00ab6b;
}

.aa-suggestion {
  padding: 4px 4px 0;
  display: block;
  width: 100%;
  height: 38px;
  clear: both;
}
.aa-suggestion span {
  white-space: nowrap !important;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
  line-height: 2em;
}
.aa-suggestion.aa-cursor {
  background: #eee;
}
.aa-suggestion em {
  color: #4098CE;
}

.aa-suggestion mark{
  font-weight:bold
}


/*
==========================================================================================================================
	TOP SEARCH
==========================================================================================================================
*/

.navbar #menu-item-search,
#desktop-search-wrapper {
	display: none;
}

li#mobile-search-wrapper .search-form {
    margin: 0 15px 10px;
}

#mobile-search-wrapper .fa-search {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
	font-size: 16px;
}

#mobile-search-wrapper input,
#desktop-search-wrapper input {
	width: 100%;
	padding: 6px 5px;
	font-size: 14px;
	line-height: 1.42857143;
	box-sizing: border-box;
}



/*
====================================================================================================
	Subscribe box
====================================================================================================
*/

.blog-subscribe {
	font-weight: normal;
	width: 350px;
	position: fixed;
	bottom: 0;
	z-index: 100;
	right: 40px;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.blog-subscribe-inner {
	background: #FFF;
	border-bottom: 0;
}

.blog-subscribe-content {
	padding: 15px;
	border: 1px solid #DADFE1;
	border-top: 0;
}

#subscribe-text {
	margin-bottom: 10px;
}

#subscribe-text p,
#subscribe-email {
	font-size: 14px;
}

.intro-subscribe{
	margin: 10px 0 20px 0;
}

.show_button .fa-chevron-up,
.hide_button .fa-chevron-down {
	float: right;
	padding: 0 0 0 10px;
	font-size: 16px;
	line-height: 150%;
	color: rgba(0,0,0,.4);
}

.show_button,
.hide_button,
.show_button:hover,
.hide_button:hover {
	width: 100%;
	font-size: 16px;
	text-align: left;
	padding: 10px 20px;
	background: #2196f3;
    border: 1px solid #1976D2;
	color: #FFF;
}




#chess article a.hover, #chess article div.hover {
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.4;
    filter: alpha(opacity=40);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

#chess article:hover a.hover {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
}

#chess article .info ul li {
	color: #fff;
	font-size:12px;
	margin: 0;
}

#chess article .info h2 {
    color: white;
	margin:0;
}
#chess article .info h2 a {
    color: inherit;
    display: block;
	font-size: 20px;
}


#chess article {
    position: relative;
    background-color: #2c3e50;
    overflow: hidden;
    margin-bottom: 8px;
}

#chess article.king {
    height: 428px;
}

#chess article.tower {
    height: 240px;
}

#chess article.tower h2 {
    line-height: 1.2;
}

#chess article.tower .info {
    margin: 10px;
}

#chess article.queen {
    height: 180px;
}

#chess article .info {
    position: absolute;
    margin: 20px;
    bottom: 0;
    right: 0;
    color: white;
    text-align: right;
}

#chess .row.no-gutter {
    margin-left: -4px;
    margin-right: -4px;
}
#chess .row.no-gutter .row {
    margin-left: -4px;
    margin-right: -4px;
}
#chess .row.no-gutter[class*='col-']:not(:first-child), #chess .row.no-gutter [class*='col-']:not(:last-child) {
    padding-right: 4px;
    padding-left: 4px;
}

#chess .row.no-gutter [class*='col-'] {
    padding-right: 4px;
    padding-left: 4px;
}
#chess .btn-read-more{
	display: block;
	font-family: 'Roboto',sans-serif;
}


/*
====================================================================================================
	Bootstrap 3 Media Queries
====================================================================================================
*/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px)
{
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px)
{
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px)
{
	/*
	#chess .tower .info h2 a {
    font-size: 24px;
	}
	*/

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px)
{
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

	#chess article .info h2 a {
    color: inherit;
    display: block;
	font-size: 24px;
}
}


/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px)
{
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px)
{
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px)
{
    .blog-subscribe{
        display: none;
    }

    input[type="text"]{ /*SE IL FONT SIZE E' MINORE DI 16px l'iphone zooma al click dell'input*/
      font-size: 16px!important;
    }

	section#chess article.king {
	    height: 240px;
	}
	#chess article .info h2 a{
		font-size: 20px;
		line-height: 120%;
	}
	#chess article a.hover, #chess article div.hover{
		-webkit-transition: none;
		transition: none;
	}

	#chess article:hover a.hover {
		opacity: 0.4;
		filter: alpha(opacity=40);
	    -webkit-transform: inherit;
	    -ms-transform: inherit;
	    transform: inherit;
	}

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px)
{
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px)
{
}
