/*
Theme Name: gwd_onepage
Theme URI:
Author: Giovanni Cirrottola
Author URI:
Description: Starter Theme with Font Awesome and Bootstrap 4
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: gwd

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 .fixed-top{top:30px}

body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding-top: 50px;
}

.main-content{
  flex:1;
}

h1,h2,h3,h4,h5,h6{padding-top: 20px;}

a{color:#DF6048}

.btn-primary {background-color: #31BE80;border-color:#31BE80}

.bg-light{background: #fff!important;box-shadow: 0 5px 20px rgba(0,0,0,.05);}

.navbar-brand img{height: 50px;}

.navbar-nav{font-size: 13px;}

img {height: auto;}

a.nav-link.active{color:#333!important}


/* Gutenberg
-------------------------------------------------------- */
.wp-block-cover{margin-bottom: 20px;}

@media (min-width: 768px) {
  .min-height{height: 600px; margin: 100px 0!important}
  .min-height .wp-block-media-text__media img{height: 600px; object-fit: cover;}
}


.max-width{max-width: 800px;margin: 0 auto}


.wp-block-columns h3{font-size: 32px;margin-bottom: 20px;}
.wp-block-columns h2{margin-bottom: 20px;}
.wp-block-columns li{font-size: 18px;margin-bottom: 8px;}

.wp-block-image{margin-bottom: 20px!important;}

.mt-big{margin-top: 100px}
.mb-big{margin-bottom: 100px}

.wpcf7-submit{padding: 15px 40px; display: inline-block;background: #4f9c4a; color: #fff;}



/* 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: 3px solid #ccc; width: 100%; border-radius: 4px}
label{width: 100%}


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



/* -------------------------------------------------------------------------------- */
/* ! Gutemberg */
/* -------------------------------------------------------------------------------- */
.main-content{overflow: hidden;}

.wp-block-image,
.wp-block-columns,
.wp-block-cover,
.wp-block-gallery,
.wp-block-text-columns,
.wp-block-button,
.wp-block-quote,
.wp-block-quote.is-large,
.wp-block-code,
.wp-block-audio,
.wp-block-video,
.wp-block-preformatted,
.wp-block-verse,
.wp-block-separator,
.wp-block-categories,
.wp-block-categories-list,
.wp-block-latest-posts,
.wp-block-embed-twitter,
.wp-block-embed-youtube,
.wp-block-embed-facebook,
.wp-block-embed-wordpress,
.wp-block-embed-vimeo,
.wp-block-media-text {
  margin-bottom: 40px;}

/* -------------------------------------------------------------------------------- */
/* ! General */
/* -------------------------------------------------------------------------------- */
/* .container-block-editor h1,
.container-block-editor h2,
.container-block-editor h3,
.container-block-editor h4,
.container-block-editor p {
  margin-bottom: 35px; } */

.has-small-font-size {
  font-size: 13px;
  line-height: 23px; }

.has-large-font-size {
  font-size: 36px;
  line-height: 54px; }

.has-larger-font-size {
  font-size: 42px;
  line-height: 63px; }


.wp-block-cover{height: auto;}

/* -------------------------------------------------------------------------------- */
/* ! Code */
/* -------------------------------------------------------------------------------- */
.wp-block-code {
  border: 1px solid #ddd;
  padding: 20px; }

.wp-block-code {
  overflow: auto; }

/* -------------------------------------------------------------------------------- */
/* ! Video */
/* -------------------------------------------------------------------------------- */
.wp-block-video {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

.wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

.wp-block-embed-vimeo .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-embed-vimeo .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

/* -------------------------------------------------------------------------------- */
/* ! Performatted */
/* -------------------------------------------------------------------------------- */
.wp-block-preformatted {
  overflow: hidden; }

/* -------------------------------------------------------------------------------- */
/* ! Pullquote */
/* -------------------------------------------------------------------------------- */
.wp-block-pullquote blockquote {
  border: none; }

.wp-block-pullquote p {
  font-weight: bold; }



  @media only screen and (min-width: 960px) {
    body .alignfull {
      width: auto;
      max-width: 1000%;
      margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw);
    }
    body .alignwide {
      width: auto;
      max-width: 1000%;
      margin-right: calc(25% - 25vw);
      margin-left: calc(25% - 25vw);
    }
    .alignwide img,
    .alignfull img {
      display: block;
      margin: 0 auto;
    }
  }
