/*
Theme Name: TourForYou
Theme URI:https://www.thewidefactory.it
Author: Mario Testa e Emily Silvestri
Author URI:
Description: Tema per il sito TourForYou
Version: 0.1
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, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: tfy

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.
*/

/*
Theme Name: TourForYou
Theme URI:
Author: Mario Testa e Emily
Author URI:
Description: Tema per il sito TourForYou
Version: 0.1
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, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: tfy

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.
*/

body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: 'Lato', sans-serif;
  color: #5b5a5a;
}
.main-content{
  flex:1;
}

h1 {
    color: #1171b4;
}

a {
  color: #1171b4;
}

a:hover {
  color: #30aadc;
  text-decoration: none;
}

.blu, .btn-link {
  color: #1171b4;
}

.red {
color: #df2224;
}

.grey{
color: #5b5a5a;
}

.red:hover {
color: #c82333;
}



.btn-outline-primary:hover {
    color: #fff;
    background-color: #30aadc;
    border-color: #30aadc;
}

.btn-outline-primary {
    color: #1171b4;
    background-color: transparent;
    background-image: none;
    border-color: #1171b4;
}

.error404 article {
    margin-top: 5rem;
}

/* Menu
-------------------------------------------------------- */
#navbar a {
  color: #1171b4;
  font-weight: bold;
  font-size: 1.2rem;
}

#navbar a:hover {
  color: #30aadc;
}

#navbar .nav-link {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
}

#navbarCollapse {
  border-bottom: 1px solid #1171b4;
}

.collapse.show {
  border-radius: 0.25rem;
  background-color: rgba(255, 255, 255, 0.5);
  text-align: left;
}

.collapse.show .dropdown-menu {
  text-align: right;
  background-color: transparent;
}

.dropdown-menu {
  margin-top:0.5rem;
  margin-left: 2rem;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.9);
}

.navbar-light .navbar-toggler {
    color:  #30aadc;
    border-color: #30aadc;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(48, 170, 220, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.dropdown-menu {
  border:none;
  background-color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

#navbar .dropdown-menu a {
  font-size: 1rem;
}

/* Main
-------------------------------------------------------- */
main  {
  margin-top:120px;
}

/* Sidebar
-------------------------------------------------------- */
#sideuno, #sidedue    {
  border: 1px solid #B7B7B7;
  font-size: .875rem;
  color: #707070;
}

.btn-outline-primary {
	 color: white;
	 background-color:#007bff;
	 border-color:#007bff
	text-trasform: capitalize;
}

.btn-outline-primary a {
	 color: white;
}

.btn-outline-primary:hover {
	 color:#007bff;
	 background-color:transparent;
	 background-image:none;
	 border-color:#007bff
}




#sideuno h3   {
  color: #1171b4;
  font-size: 1.3rem;
  padding-bottom: 0.3em;
}

.nome     {
  font-size: 0.8rem;
  font-weight: bold;
}

.cta     {
	font-size: 1.58rem;
  font-weight: bold;
  background-color: #df2224;
}

.btn-outline-tours {
  font-weight: bold;
  color: white;
  border-radius: 0;
	text-align: left;
	font-size: 0.8em;
	padding: .5rem .3rem;
}

#fotoguida h5  {
  color: white;
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px #000000;
}

#fotoguida  {
  position: relative;
}

.prezzo   {
  background-color: rgba(223, 34, 36, 0.1);
}

.prezzo .card-header {
    background: transparent;
    border: none;
}



.prezzo .btn   {
  font-size: 1rem;
}



/* Footer
-------------------------------------------------------- */
footer {
  color: white;
  background-color: #1171b4;
  padding: 2rem;
  margin-top: 4rem;
		padding: 1rem;
	line-height: 1.2;
	margin-top:10%;
}

footer a, footer a:hover  {
  color: white;
}

footer h5 {
  font-weight: bold;
	font-size:100%;
}

#mc_embed_signup .button:hover {
    background-color: #30aadc!important;
}

#mc_embed_signup .button {
    background-color: #007bff!important;
}



/* Home
-------------------------------------------------------- */
.cover {
  padding: 0 1.5rem;
  color: white;
  font-weight: bold;
}

.cover .lead {
  color: white;
  font-weight: bold;
}

.cover h1 {
  color: white;
  font-weight: normal;
  font-size: 3rem;
}

.cover h2 {
  font-size: 2.5rem;
  font-weight: bold;
}


.coverbody {
  height: 100%;
  display: -ms-flexbox;
  display: flex;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.coverbody .navbar {
  background-color: transparent;
}

.coverbody footer {
  background-color: rgba(0, 0, 0, 0.5);
}

.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}

.cover-container {
  max-width: 35em;
}

.coverbody .dropdown-menu {
  background-color: rgba(255, 255, 255, 0.5);
}

.home .navbar {
    background-color: rgba(255, 255, 255, 0.8);
}

.home footer {
    background-color: rgba(0, 0, 0, 0.6);
}


.card a img {
	width:100%;
	height:auto;
}

/* Tours Archivio
-------------------------------------------------------- */

.card {
  border: none;
  border-radius: 0;
}

.card-img-top  {
  border: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.card h5 {
  color: #1171b4;
}

.card-body  {
  border: none;
  padding: 0;
}

/* Tour  Categoria
-------------------------------------------------------- */

.categoria .collapse.show {
  border-radius: 0;
  background-color: trasparent;
  text-align: left;
}

.card-header {
    background-color: white;
    padding: 0.75rem 0.5rem;
}

.btn-link:focus, .btn-link:hover {
  color: #0056b3;
  text-decoration: none;
  cursor: pointer;
}




/* Slider
-------------------------------------------------------- */
.carousel,
.carousel-inner,
.carousel-item{height: 600px;}


/* Comments
-------------------------------------------------------- */
#comments{margin-bottom: 40px;}
.comments{padding-top: 40px;}
.comments textarea{width: 100%;}
.comments label{ min-width: 80px;}
.comments ul,
.comments ol{list-style-type: none;}
.comment-author img{border-radius: 999px; width:50px;}
.comment .reply{border-bottom:  1px solid #ccc; margin-bottom: 30px;padding-bottom: 10px;}


/* Input & textarea
-------------------------------------------------------- */
input,
textarea{padding: 5px 10px; border: 1px solid #ccc}

/* Form Prezzo */
.pricing-card-title {
    font-size: 1.2em;
}

#wpcf7-f50-o1 p  {
    margin-bottom: 0;
}

#wpcf7-f50-o1 .wpcf7-post_checkbox  {
    text-transform: capitalize;
}

#wpcf7-f50-o1 .wpcf7-post_checkbox input[type="checkbox"], #wpcf7-f50-o1 .wpcf7-post_checkbox input[type="radio"] {
    margin-right: 5px;
	margin-left:10px;
}

.wpcf7-acceptance input[type="checkbox"] {
    margin: 0;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

#localita-options, #interessi-options {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


/* Form Contatti */

#wpcf7-f176-p174-o1 textarea, #wpcf7-f176-p174-o1  input[type="email"], #wpcf7-f176-p174-o1 input[type="text"] {
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/* Mobile */

@media only screen and (max-width:992px) { #form-tour: {display: none;} }

/* Widgets
-------------------------------------------------------- */
.widget_search .screen-reader-text{display: block;}
.widget_search #s{width:70%;float:left;}
.widget_search #searchsubmit{width:30%;float:left;background: #fff;}


/* pagination
-------------------------------------------------------- */
.pagination{margin-bottom:40px}
.page-numbers{display: inline-block;padding: 10px 15px;border: 1px solid #ddd;margin-right:4px;}

/* general wordpress style
-------------------------------------------------------- */
.post img{max-width: 100%; height:auto;}



/* WordPress Core Styles
-------------------------------------------------------------- */
 .gallery-caption{padding:5px; font-size: 10px;}
 .bypostauthor{border-left: 3px solid #ddd;padding-left: 20px;}

.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. */
}
