/*
Theme Name: Matrimonio
Theme URI:
Author: Matteo Di Bello
Author URI: www.mdbmilano.it
Description: Blog per vincenzo SOfo
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
Text Domain: mtr

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

.admin-bar .navbar--fixed{top:32px;}
img {
  max-width: 100%;
  height:auto;
}
body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  background-color: white!important;
  background-image: url("https://www.transparenttextures.com/patterns/brushed-alum.png");
}

.main-content{
  flex:1;
}
/* header
-------------------------------------------------------- */
.navbar {padding: .0rem 1rem;}
.navbar--fixed {position: fixed; top:0; left:0; z-index:1000; width:100%; min-height:50px;}
.navbar-brand {display:block; transition:all 0.5s ease-in-out;}
.navbar-brand--show {display:block;}

/* PROGETTO
-------------------------------------------------------- */
.primasezione {margin-top:-35%;}
.egitto {background-position: center center; background-size: cover; background-attachment: fixed;}
.viaggio {margin-top:-4%; padding-top:4%; box-shadow:0 0 6px black; box-shadow:0 0 16px black;}
.barra {background-position: center center; background-size: cover; background-attachment: fixed;border-top:2px solid black; border-bottom:2px solid block; box-shadow: inset 0 0 16px black;}
blockquote {background-color: #293133; background-image: url("https://www.transparenttextures.com/patterns/brushed-alum.png"); padding:4%; color:white;}
.bonifico {background-color: #293133; background-image: url("https://www.transparenttextures.com/patterns/brushed-alum.png"); padding:4%; color:white; margin-bottom: 3%; box-shadow: 0 0 7px black; border:1px solid black;}
.form {background-color: #293133; background-image: url("https://www.transparenttextures.com/patterns/brushed-alum.png"); padding:4%; color:white;box-shadow: 0 0 7px black; border:1px solid black;}
.testoviaggio {font-size:1.6rem; text-align:justify;}
@media (max-width: 982px) {
.viaggio {margin-top:-4%;}
}
@media (max-width: 768px) {
.primasezione {margin-top:0px;}
.viaggio {margin-top:0px;}
.testoviaggio {font-size:1.3rem; text-align: left;}
}

/* homepage
-------------------------------------------------------- */
.fotomatrimonio img{object-fit: cover; object-position: center center; max-height: 80%; box-shadow: 0 0 16px black; border:2px solid black;min-width:100%;}
.btn-primary {box-shadow:0 0 16px black; background-color: #293133!important; background-image: url("https://www.transparenttextures.com/patterns/brushed-alum.png"); transition: all 1s cubic-bezier(.215, .61, .355, 1); border:1px solid black;}
.btn-primary:hover {box-shadow:0 0 0px black;}
.matrimonio img {border:2px solid black; box-shadow:0 0 6px black;}
@media (min-width:1200px){
.bg-primary {background-color: #293133!important; background-image: url("https://www.transparenttextures.com/patterns/brushed-alum.png"); transition: all 1s cubic-bezier(.215, .61, .355, 1);}
.bg-primary--change {background: #23272b!important;transition: all 1s cubic-bezier(.215, .61, .355, 1);}
.button .btn {min-width: 100%;}
}

@media (max-width:1199px){
  .bg-primary {background-color: #293133!important; background-image: url("https://www.transparenttextures.com/patterns/brushed-alum.png");}
  .bg-primary--change {background: #23272b!important;}
}

@media (max-width:991px){
  .bg-primary {background-color: #23272b!important; background-image:none;}
  .bg-primary--change {background: #23272b!important;}
  .primasezione {margin-top:-45%;}
}

@media (max-width:767px){
  .bg-primary {background-color: #23272b!important; background-image:none;}
  .bg-primary--change {background: #23272b!important;}
  .nav-link {color:white !important;}
  .nav-link--white {color:white !important;}
  .primasezione {margin-top:0px;}
}

/* Footer
-------------------------------------------------------- */
.bg-dark {background-color: #23272b!important;}

/* Index
-------------------------------------------------------- */

/* Post
-------------------------------------------------------- */
.display-4 {font-size: 2.2rem; font-weight: bold; line-height: 1;}
.postcorpo {text-align: justify;}
.postcorpo a, .postcorpo a:visited {color:#6e0101;transition:all 0.3s ease-in-out;}
.postcorpo a:hover {color:rgba(110,1,1,0.7); text-decoration: none;}
.imgpost img {border-top:1px solid #6e0101; border-bottom:1px solid #6e0101;}
/* CHI SONO
-------------------------------------------------------- */
.chisono img {min-width: 20vw; max-width: 20vw; object-fit:cover; object-position: 0 0;}
/* 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}


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

/* ! Box Sizing */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
