

.home{margin-top:40px;}

.home .wrapper{padding-bottom:0;}

body{margin-top:40px;    background-image: url(/background-corner-left.svg),url(/background-corner-right.svg);
    background-position: bottom left, bottom right;
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
} 

@media (min-width:992px){ 
	.home{margin-top:40px;}
}
@media (min-width:1440px) and (min-height:900px){
.home,.post-template, .page-template-default{background-attachment: fixed;}
}

.page-id-966{background-attachment: fixed;} 

.container:focus{
	outline: -webkit-focus-ring-color auto 0px;
}

.navbar{background-color: rgb(255,255,255);background-color: rgb(255,255,255,0.9); border-bottom:0px solid #0d433d;
padding:.5rem 15px;}

@media (min-width:576px){.container{max-width:540px;max-width:100%;padding-left:30px;padding-right:30px;}
	.navbar{padding:.5rem 30px;}
}
@media (min-width:768px){.container{max-width:720px;max-width:100%;}
	.navbar{padding:.5rem 0px;}
}
@media (min-width:992px){.container{max-width:960px;max-width:100%;}}
@media (min-width:1200px){.container{max-width:1280px}}

body ul{max-width:800px;}


@media (min-width:992px){	
	#right-sidebar+.widget-area{
    padding-left: 45px;
	}}



@media (min-width: 576px) and (max-width:767px) {
.navbar .container {
   
    margin: auto;
}
}



@media (max-width:767px) {
.navbar-collapse {
    
    top: 0;
    left: 0;
    width: 100%;
}
	

.navbar-collapse.collapse.show {
    height: 100vh;
}
.navbar-nav {
    height: 100vh;
}
	
	/* hide close when burger shown */
   .navbar-toggler.collapsed .close-icon {
      display: none;
   }

   .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
      display:none;
   }

	.close-icon
{
      display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    background: -webkit-linear-gradient(
-45deg
, transparent 0%, transparent 48%, #0D433D 48%, #0D433D 56%,transparent 56%, transparent 100%), -webkit-linear-gradient(
45deg
, transparent 0%, transparent 48%, #0D433D 48%, #0D433D 56%,transparent 56%, transparent 100%);
    transition: all 0.25s ease;
	
}
	
.close-icon:hover
{
      display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    background: -webkit-linear-gradient(
-45deg
, transparent 0%, transparent 48%, #f55b6d 48%, #f55b6d 56%,transparent 56%, transparent 100%), -webkit-linear-gradient(
45deg
, transparent 0%, transparent 48%, #f55b6d 48%, #f55b6d 56%,transparent 56%, transparent 100%);
    transition: all 0.25s ease;
	
}	
	
.custom-toggler .navbar-toggler-icon {

  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(13,67,61,1)' stroke-width='2' stroke-linecap='butt' stroke-miterlimit='0' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler .navbar-toggler-icon:hover {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(245,91,109,1)' stroke-width='2' stroke-linecap='butt' stroke-miterlimit='0' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler:focus {
	outline-color:transparent;
}

.custom-toggler .navbar-toggler-icon:focus {
	
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(13,67,61,1)' stroke-width='2' stroke-linecap='butt' stroke-miterlimit='0' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}




  .navbar-toggler-icon {
    background-position-x: 4px;
}
	
}

@media (min-width: 768px){
	.navbar-expand-md .navbar-nav {margin-right:0;}
	
	.navbar-expand-md .navbar-nav .nav-link{padding-left:24px;padding-right:24px;margin-left:8px;margin-right:8px;}
	
	.navbar-expand-md .navbar-nav .nav-link:last-child{padding-right:0;margin-right:0px;}
	
}


footer a{
	padding-left:10px;
	padding-right:10px;
	
	}

aside ul{list-style-type:none !important;padding:0;font-size:1rem}

aside ul li{padding-bottom:1em;}


h4{font-size: 1.2rem;}

h5{font-size: 1.1rem;}

h6{font-size: 1rem;}


.post-navigation{padding-top:20px;display:none;}


.posts-page article img:hover{ outline: 2px solid #fff;
    outline-offset: -4px;}

body a:hover {
    transition-duration: 0.25s;
	
}

body p {
    margin-bottom: 1em;
}

body h1, body h2, body h3, body h4, body h5, body h6{
	margin-bottom: 0;
    margin-top: 0;
	padding-bottom: 0.6em;
    padding-top: 1.2em;
}



.posts-page-title {padding-top:0.8em;}



.entry-content a,.entry-content a:hover{text-decoration:underline;}

.post-password-form p{text-align:center;}

/*PASSWORD PROTECT CODE input{border:0px;padding-left:12px;padding-right:12px;text-transform:uppercase;font-size:.7em;background-color:#0d433d;color:white;letter-spacing: .2em;text-align:center;}

input:hover{background-color:#f55b6d;transition-duration: 0.25s;}

#pwbox-637 {border:0px solid #7d9792;background-color:#edf2f2;color:#0d433d;}

#pwbox-637:focus {
	outline:none;   
	-moz-box-shadow:    inset 0 0 4px #4a6b65;
   -webkit-box-shadow: inset 0 0 4px #4a6b65;
   box-shadow:         inset 0 0 4px #4a6b65;
}
*/

.wp-block-button__link {
    color: #fff;
    background-color: #0d433d;
    border-radius:0;
    font-size: 1em;
		text-transform:uppercase;
		font-weight:bold;
	padding:0.5em 1em;
	
}

.checkbox{line-height:1.5em;font-size:0.8em;}
.checkbox input:checked {}

.grunion-field-checkbox-wrap{margin-bottom:30px !important;}


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

.wp-block-jetpack-contact-form .grunion-field-wrap {
    border-right: 0px solid transparent !important;
}

textarea, input{border-color:#7d9792;border-style:solid;border-width:1px;border-radius:0;color:#0d433d;padding:0.2em 0.5em;}

textarea:hover, input:hover{border-color:#0d433d;border-radius:0;}

textarea:focus, input:focus{border-color:#f55b6d;
;outline:none;}


.error404{background-attachment: fixed;}

.fwm-vid{max-width:400px;margin:auto;}

a svg{fill:#0d433d;}
a svg:hover{fill:#f55b6d;transition-duration: 0.25s;}


body {
  font-family: "Didact Gothic", sans-serif;
  color: #0D433D;
  line-height: 1.8em;
  font-size: 18px; }
  @media (min-width: 768px) {
    body {
      font-size: 20px; } }
  body h1, body h2, body h3, body h4, body h5, body h6 {
    max-width: 800px;
    margin: auto;
    line-height: 1.6em;
     }
  body h1 {
    font-size: 1.6em;
    margin-top: 0.5em;
    margin-bottom: 0.5em; }
    @media (min-width: 768px) {
      body h1 {
        font-size: 2em;
        margin-top: 1.4em;
        margin-bottom: 1.0em; } }
  body h2 {
    font-size: 1.3em; }
    @media (min-width: 768px) {
      body h2 {
        font-size: 1.8em; } }
  body h3 {
    font-size: 1.2em; }
    @media (min-width: 768px) {
      body h3 {
        font-size: 1.6em; } }
body h4 {
          font-size: 1.2em; }
          @media (min-width: 768px) {
            body h4 {
              font-size: 1.4em; } }
              body h5 {
                font-size: 1.1em; }
                @media (min-width: 768px) {
                  body h5 {
                    font-size: 1.2em; } }
                    body h6 {
                      font-size: 1em; }
                      @media (min-width: 768px) {
                        body h6 {
                          font-size: 1em; } }
 
  body p, body ul {
    max-width: 800px;
    margin: auto;
    margin-bottom: 20px; }

  

  body blockquote {
    max-width: 800px;
    margin: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 2px solid #EDF2F2;
    border-bottom: 2px solid #EDF2F2;
    margin-top: 40px;
    margin-bottom: 40px; }
    body blockquote p {
      font-size: 1.5em; }
    body blockquote cite {
      color: #7d9792; }
  body img {
    margin: auto;
    width: 100%; }
  body .btn {
    border-radius: 0;
    padding: 0.8em 1.6em;
    letter-spacing: 0.1em; }
  body a {
    color: #0D433D; }
  body a:hover {
    color: #F55B6D;
    text-decoration: none; }

.pagination .page-item {
  margin: 0 4px; }
  .pagination .page-item:first-child, .pagination .page-item :last-child {
    border-radius: 0; }
  .pagination .page-item.active span {
    background: white;
    border-color: #0D433D;
    color: #0D433D; }
  .pagination .page-item a {
    border-color: white; }



.cat-links a {
  color: #7d9792;
  background-color: #EDF2F2;
  padding: 0.1em 0.3em;
  text-transform: uppercase;
  font-size: 0.7em;
  letter-spacing: 0.2em;
  margin: 0 0.3em; }

.edit-link {
  display: none; }

.navbar .navbar-brand {
  
  width: auto;
  color: #0D433D;
margin:0;padding:5px 0;}
  .navbar .navbar-brand a {
    color: #0D433D !important; }

.navbar .navbar-toggler {
  border:0;
  padding-right: 0;
   }
  .navbar .navbar-toggler .navbar-toggler-icon {
    color: #0D433D !important; }



.nav-link {
  color: #0D433D !important;
  opacity: 0.8; }

.navbar a:hover {
  color: #F55B6D !important;
  opacity: 1.0 !important;
  text-decoration: none; }

/*
  .active>.nav-link{
    color:$secondary !important;
    opacity: 1;
  }
*/


.entry-header {
  text-align: center; }

 @media (min-width: 768px) {
.wrapper {
	padding-top: 1.8em;
   }
}

 @media (min-width: 992px) {
.wrapper {
	    padding-top: 2em;
   }
}



#wrapper-footer{padding-top:0;}
.home #wrapper-footer{padding-bottom:30px;}


.entry-title {
margin-top:0.5em;
	padding:0;
 }

.entry-meta {
  text-align: center; }

.entry-footer span {
  padding-right: 0; }

.wp-block-image, .wp-post-image, .wp-block-video, .embed-container {
  
  margin: auto;
  margin-bottom: 1em;
  margin-top: 1em; }

.blocks-gallery-grid{
    max-width:100%;
margin-top:0.5em;
margin-bottom:0.5em;}

.blocks-gallery-grid .blocks-gallery-item figure {
	 margin: auto;
	width: 100%;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}

.wp-block-gallery .blocks-gallery-item img{width: 100%;}


  @media (min-width: 768px) {
    .wp-block-image, .wp-post-image, .wp-block-video, .embed-container{
      margin-bottom: 2em;
      margin-top: 2em; } 
		
		.blocks-gallery-grid{
margin-top:1em;
margin-bottom:1em;}

.blocks-gallery-grid .blocks-gallery-item figure {
	 margin: auto;
  margin-bottom: 1em;
  margin-top: 1em;
}
}

.comments-area, .comments-link {
  display: none; }

.pagination {
  text-align: center; }

.post-navigation {
  max-width: 1000px; }

.posts-page-title {
  font-size: 20px;
  margin-top: 0.8em;
  margin-bottom: 0em; }

@media (min-width: 576px) {
  .posts-page {
    padding-top: 0.5em; } 
}

.posts-page article {
  margin-bottom: 3em; }
  .posts-page article img {
    margin: 0; }

/*FORM*/ 

.wpforms-form{max-width:800px;margin:auto;font-size:18px;}

.wpforms-container .wpforms-field-label{font-weight: normal;}

div.wpforms-container-full .wpforms-form input[type=date], div.wpforms-container-full .wpforms-form input[type=datetime], div.wpforms-container-full .wpforms-form input[type=datetime-local], div.wpforms-container-full .wpforms-form input[type=email], div.wpforms-container-full .wpforms-form input[type=month], div.wpforms-container-full .wpforms-form input[type=number], div.wpforms-container-full .wpforms-form input[type=password], div.wpforms-container-full .wpforms-form input[type=range], div.wpforms-container-full .wpforms-form input[type=search], div.wpforms-container-full .wpforms-form input[type=tel], div.wpforms-container-full .wpforms-form input[type=text], div.wpforms-container-full .wpforms-form input[type=time], div.wpforms-container-full .wpforms-form input[type=url], div.wpforms-container-full .wpforms-form input[type=week], div.wpforms-container-full .wpforms-form select, div.wpforms-container-full .wpforms-form textarea{
	border-color: #7d9792;
	border-radius:0px;
}

.wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium {
    max-width: 100% !important;
	padding:4px 10px;
}

.wpforms-container textarea.wpforms-field-medium {
    height: 200px;
	padding:4px 10px;
}

.wpforms-container .wpforms-submit-container{text-align:center;}

.wpforms-container .wpforms-submit-container button{
    color: #fff;
    background-color: #0d433d;
    border-radius:0;
    font-size: 1em;
		text-transform:uppercase;
		font-weight:bold;
	padding:0.5em 1em;
	border:0;
}

.wpforms-container .wpforms-submit-container button:hover{
    background-color: #f55b6d;
	transition-duration: 0.25s;
}

.wpforms-container .wpforms-submit-container button:focus{
outline:none;
}

.wpforms-required-label, .wpforms-error{
	color: #e21d1d !important;
}

.wpforms-field-required{padding-left:0;}

/* Right sidebar */

.widget-title{max-width:100%;padding-bottom: 30px;}

.display-posts-listing{
	display: flex;
	flex-wrap:wrap;
}

.display-posts-listing .listing-item{display: flex;margin-bottom:30px;}

@media (min-width: 576px) {
.display-posts-listing .listing-item{max-width:50%;padding-right:5%;} 
}

@media (min-width: 992px) {
.display-posts-listing .listing-item{max-width:100%;padding-right:0;} 
}

.display-posts-listing .image{flex:25%;margin:0;}

.display-posts-listing .image img{margin:0;}

.display-posts-listing .title{flex: 70%;margin: auto 0% auto 5%;line-height: 1.6em;font-family: "Didact Gothic", sans-serif;}



