/*

Author: Daryl Cook
URL:    http://darylcook.com
Email:  hello@darylcook.com

Based on Kirby Starterkit by Bastian Allgeier & Sascha Lack: http://getkirby.com and Baseblog by Sascha Lack: http://baseblog.sashtown.de/
Crazy alignment and code organization by Manu ;) Happy writing Daryl

*/

/* Manually include the font family
-------------------------------------------------- */
@font-face {
    font-family : 'Source Sans Pro';
    src         : url('fonts/SourceSansPro-Light.woff2') format('woff2'), url('fonts/SourceSansPro-Light.woff') format('woff');
    font-weight : 300;
    font-style  : normal;
}

@font-face {
    font-family : 'Source Sans Pro';
    src         : url('fonts/SourceSansPro-Regular.woff2') format('woff2'), url('fonts/SourceSansPro-Regular.woff') format('woff');
    font-weight : normal;
    font-style  : normal;
}

@font-face {
    font-family : 'Source Sans Pro';
    src         : url('fonts/SourceSansPro-SemiBold.woff2') format('woff2'), url('fonts/SourceSansPro-SemiBold.woff') format('woff');
    font-weight : 600;
    font-style  : normal;
}

@font-face {
    font-family: 'oxygenbold';
    src: url('fonts/oxygen-bold-webfont.woff2') format('woff2'),
         url('fonts/oxygen-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'oxygenlight';
    src: url('fonts/oxygen-light-webfont.woff2') format('woff2'),
         url('fonts/oxygen-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'oxygenregular';
    src: url('fonts/xygen-regular-webfont.woff2') format('woff2'),
         url('fonts/oxygen-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


/* Reset
-------------------------------------------------- */
*, *:before, *:after {
    margin       : 0;
    padding      : 0;
    border       : 0;
    font-weight  : normal;
    font-display : swap;
    -webkit-box-sizing : border-box;
     -moz-box-sizing   : border-box;
          box-sizing   : border-box;

    -webkit-font-smoothing  : antialiased;
    -webkit-font-smoothing  : subpixel-antialiased;
    -moz-osx-font-smoothing : grayscale; 
}

*:not(.fa) {
    font-family  : 'Source Sans Pro', sans-serif;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}

.hidden,
[hidden] {
  display: none !important;
}


/* Main Containers Settings */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
html,body {
    min-height               : 100%;
    width                    : 100%;
    -webkit-text-size-adjust : 100%;
    -ms-text-size-adjust     : 100%;
}
body {
    font-size   : 1.5em;
    line-height : 1.15em;
    background  : #fff;
    color       : #535d5e;
    border-top: 6px solid #597B60;
}

strong, b {
	font-weight: bold;
}

.container {
    margin-right  : auto;
    margin-left   : auto;
    margin-bottom : 2rem;
    padding       : 1.5em 1.5em 0;
    max-width     : 40em;
    min-height    : 100%;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
  margin-bottom: 0.75em;
  margin-left: auto;
  margin-right: auto;
}

article figure {
  margin-bottom: 0px;
}

.caption {
    margin-top: .1em;
    margin-bottom: 1.5em;
    font-weight: 400;
    font-size: 0.75em;
    color: #93a1a1;
}

#profile img {
    border-radius: 75px;
    float: left;
    margin: 0px 10px 0px 10px;
    max-height: 150px;
    max-width: 150px;
    border: 0px solid #999;
}

/* Links
-------------------------------------------------- */
a {
  color: #8A8898;
  text-decoration: none;
}


.transparent a:link {
	zoom: 1;
	filter: alpha(opacity=30);
	opacity: 0.3;
}
.transparent a:hover {
	zoom: 1;
	filter: alpha(opacity=70);
	opacity: 0.7;
}

article footer a.button {
    color          : #597B60;
    border-bottom  : none;
    font-weight    : 400;
    font-size      : 0.6em;
    text-transform : uppercase;
}

/* article footer a.button:hover {
    border-bottom: none;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-weight: 400;
   font-size: 0.5em;
   text-transform: uppercase;
  padding-bottom: 8px;
  padding-top: 8px;
} */


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


	


/* Header
-------------------------------------------------- */
.header {
    margin-bottom  : 3.5em;
    font-weight    : 500;
    font-size      : 0.75em;
    letter-spacing : 1px;
}

.logo {
    display       : block;
    margin-bottom : 0.1em;
}

.logo img {
    height        : 1.25em;
    margin        : 0;
    border-radius : 0;
}
  

/* Navigation
-------------------------------------------------- */
.menu {
    position : relative;
}
.menu a:hover {
    color         : #597B60;
    border-bottom : 4px solid #597B60;
}

.menu .active #4a4a4a
    color: #4a4a4a;
}
.menu li { list-style: none; }

.menu > li > a {
    color         : #4a4a4a;
    padding       : .1em 0;
    border-bottom : 0px;
}



/* Search Field and Icon */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.menu-item-search {
    position : static;
}

.menu-item-search i {
    color     : #8A8898;
    font-size : 15px;
    position  : relative;
    z-index   : 9000;
}

.menu-item-search:hover i {
    color : #597B60;
}

.search-input {
    position                   : absolute;
    left                       : 1em;
    bottom                     : -3px;
    background                 : white;
    border-radius              : 999999px;
    border                     : 2px solid transparent;
    padding                    : .2em 1em;
    outline                    : none;
    font-family                : inherit;
    font-size                  : 13px;
    color                      : #8A8898;
    width                      : 0%;
    transition-property        : width , border-color , opacity;
    transition-duration        : 300ms;
    transition-timing-function : ease-out;
    opacity                    : 0;
    -webkit-appearance         : none;
}

.search-input:active,
.search-input:focus {
    width        : 100%;
    opacity      : 1;
    border-color : #597B60;
}



@media screen and (min-width: 40em) {

    .header {
        display         : flex;
        align-items     : center;
        justify-content : space-between;
    }
    
    .menu li {
        display : inline-block;
        padding : .35em 0 .35em 1em;
    }

    .search-input {
        left   : initial;
        right  : -0.65em;
        height : 100%;
        bottom : 0;
    }

  .container {
    padding: 3em 3em 0;
  }

  .menu > li > a {
    color: #8A8898;
    border: 1px;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}





/* Headings
-------------------------------------------------- */
h1 {
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.25em;
    margin-bottom: 1.2em;
    color: #535d5e;
}
h2 {
    font-size: 1.0em;
    line-height: 1.25em;
    margin-bottom: 0.5em;

  
}
h3 {
    font-size: 0.8em;
    letter-spacing: 1px;
    line-height: 1.5em;
    margin-bottom: .5em;
}
h4 {
    font-size: 0.7em;
    letter-spacing: 1px;
    line-height: 1.5em;
    margin-bottom: .5em;

}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
  
}


/* Main
-------------------------------------------------- */
.main {
  padding-bottom: 0em;
}

.main hr {
  margin: 1em 0;
  height: 1px;
  width: 30%;
  background: #8A8898;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 0.75em;
}
.main a {
	color: #597B60;
}

.main a:hover {
  color: #597B60;
  border-bottom: 4px solid #597B60;
}

main article ul {
    list-style: square;
    font-size: 0.8em;
	padding-left:10px;
	margin:0.6em 0 1.0em 0;

}

main article li {
    line-height: 1.4em;
    margin:0 0 0.2em 12px; 
    padding:0 0 0 12px;
}

span.breaker {
    color: #8A8898;
    display: block;
    margin-bottom: 50px;
    margin-top: 20px;
    text-align: center;
    letter-spacing: 0.9em;
}

span.button a {
		display: inline-block;
		background-color: #597B60;
		color: #fff;
		padding: 8px 14px;
		margin-bottom: 2px;
		border-radius: 4px;
		text-decoration: none;
		font-weight: 500;
		font-size: 18px;		
	}
	
	span.button a:hover, span.button a:active {
		background-color: #8d93c5;
		color: #fff;
		border-bottom: 0px;
	}
	
	span.highlight {
	background-color: #FFFA8E;
	font-style: italic;
	font-weight: normal;
}	

.meta {
  	font-size: 0.65em;
    padding: 0;
    color: #8A8898;
}

.tags {
    padding        : 0;
    text-transform : lowercase;
    display        : inline;
}

.tags::before,
.tags:not(:last-child)::after,
.meta-date + .permalink::before {
    content     : " | ";
    color       : #8A8898;
    white-space : pre;
}

.tags a {
	color: #597B60;
}

/*.tags a:hover {
 	color: #597B60;
    border-bottom: none;
    background-color: #eee8d5;
    border-radius: 5px;
  	margin-bottom: 2px;
  	margin-top: 2px;
  	padding-bottom: 8px;
  	padding-top: 8px;
}*/

pre, code {
    color: #597B60;
    font-family: Monaco,Courier,monospace;
    font-size: 13px;
    line-height: 1.8;
    padding: 2px;
    text-align: left;
}


/*
 :::  Results
-------------------------------------------------- */

main .results > li {
 list-style: none inside none;
    line-height: 1.5em;
  	} 	

main .results a {
	color: #535d5e;
}

main .results a:hover {
  color: #597B60;
  border-bottom: 2px solid #597B60;
}

main .results >li .tags a {
	color: #597B60;
}

/*
 :::  Results' heading
-------------------------------------------------- */

.result .h1 {
  font-weight: 400;
	color: #597B60;
	font-size: 1.2em;
}
  
.result mark {
    background: inherit;
    color: #597B60;
  }


/* Editor Style */
/* Used to style the content generated by the kirby textarea */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
article {
  margin-bottom: 1em;
}


.editor header {
    margin-bottom: 0;
    padding-bottom: .5em;
}

.editor footer {
    margin-top: 0.25em;
}

.editor p {
    font-size: 0.8em;
    margin-bottom: 1.25em;
}

.editor p.lead {
    font-size: 0.9em;
    margin-bottom: 1em;
    
}

.editor li {
    font-size: 0.8em;
}

.editor h1 {
  font-weight: 600;
  color: #535d5e;
}

.editor h1 a {
	font-weight: inherit;
	color: inherit;
}

.editor h1 a:hover {
    color         : #597B60;
    border-bottom : none;
}

.editor a {
    color: #597B60;
}
	
.editor	a:hover {
    border-bottom: 2px solid #597B60;
}

.editor ul {
    list-style: circle;
    list-style : #597B60;
    font-size: 1em;
	padding-left:10px;
	margin:0.9em 0 1.0em 0;

}

.editor li {
    margin:0 0 0.75em 12px; 
    padding:0 0 0 12px;
}


.footnotes {
    font-size: 0.9em;
    }

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

span.email b {
	display: none;
}


/*
 :::  Blockquotes
-------------------------------------------------- */
  
blockquote {

  font-size: 0.9em;
  margin-top: 25px;
  margin-bottom: 25px;
  margin-left: 40px;
  padding-left: 15px;
  border-left: 3px solid #597B60;
} 


*/
  blockquote p:last-of-type {
    margin-bottom: 0;
  }
  
blockquote cite {
	
	display: block;
	font-size: 1em;
	color: #8A8898;
	margin-top: 6px;
}





/* Pagination
-------------------------------------------------- */
.pagination {
    margin          : 1em 0 2em;
    font-size       : 0.5em;
    text-transform  : uppercase;
    display         : flex;
    justify-content : space-between;
}

.pagination a {
    color: #597B60;
}
/*	
.pagination a:hover {
   background-color: #eee8d5;
     border-radius: 5px;
  margin-bottom: 2px;
  margin-top: 2px;
  padding-bottom: 8px;
  padding-top: 8px;
	}
*/ 
  .pagination .prev {
    float: left;
	}
  .pagination .next {
    float: right;
  	}

/* Testimonials */

.testimonial {
  border: 1px solid #597B60;
  background-color: rgba(120, 120, 120, .05);
  border-radius: 5px;
  padding: 16px;
  margin: 16px 0
}

.testimonial::after {
  content: "";
  clear: both;
  display: table;
}

.testimonial img {
  float: left;
  margin-right: 20px;
  border-radius: 50%;
}

.testimonial span {
  font-size: 20px;
  margin-right: 15px;
}

@media (max-width: 500px) {
  .testimonial {
      text-align: center;
  }
  .testimonial img {
      margin: auto;
      float: none;
      display: block;
  }
}


/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: red;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}


/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  margin-bottom: 1.5em;
  list-style: none;
}
@media screen and (min-width: 50em) {
  .teaser li {
    float: left;
    width: 30%;
    margin-left: 5%;
  }
  .teaser li:first-child {
    margin-left: 0;
  }
}




/* Footer
-------------------------------------------------- */
.footer {
    border-top : 1px solid rgba(120, 120, 120, .08);
    text-align : center;
    color      : #889;
    font-size  : 1rem;
    padding    : 2rem 0;
    background : rgba(120, 120, 120, .05);
    box-shadow : inset 0 .5rem .5rem -.5rem rgba(0, 0, 0, .05);
    
}

.footer p {

	margin-right  : auto;
    margin-left   : auto;
    margin-bottom : 1rem;
    padding       : 0.5em 1.6em 0;
    max-width     : 70em;
    text-align : center;
    line-height: 1.2em;
    font-size  : 0.8rem;


}
.footer a {
    text-decoration: none;
    border-bottom: 1px dotted #597B60;
    color: #597B60
}

.footer i.fa {
    font-size: 1.6rem;
    padding: 20px 10px 0px 10px;
}

.footer__copyright {
    padding-top: .5rem
}


.footer img {
	display: block;
	margin-left: auto;
	margin-right: auto;
    height: 3.1rem;
    border-radius: 50%
}



/* Contact Form */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.uniform__potty {
    position : absolute;
    left     : -9999px;
}

.contact-form {
    display         : flex;
    flex-wrap       : wrap;
    align-items     : flex-start;
    justify-content : space-between;
}

.input {
    flex : 0 1 100%;
    margin-bottom : 1em;
}

@media screen and (min-width: 40em) {
    .input {flex : 0 1 calc(50% - .5em);}
}

.input-big {
    flex : 1 1 100%;
}

.input label {
    display   : block;
    font-size : 0.75em;
	font-weight: bold;
}

.input input[type="text"],
.input input[type="email"],
.input textarea {
    background    : white;
    border        : 1px solid #597B60;
    font-size     : 0.6em;
    line-height   : 1.8em;
    padding       : .1em .5em;
    border-radius : 2px;
    width         : 100%;
    outline       : none;
}

.input input[type="text"]:focus,
.input input[type="email"]:focus {
    border : 1px solid #597B60;
}

.input textarea {
    resize : vertical;
    
}

.input input[type="submit"] {
    background : #597B60;
    color      : white;
    font-size  : 0.7em;
    padding    : .5em 1em;
}

.uniform-errors, .uniform-success {
    margin-bottom : 1em;
    font-size     : 0.75em;
    font-family   : inherit;
    padding    	  : .25em 1em;
    border-radius : 5px;
}
    
.uniform-success {
    color: #4F8A10;
    background-color: #DFF2BF;
    border: 1px solid #4F8A10;
}

.uniform-errors {
    color: #D8000C;
    background-color: #FFD2D2;
    border: 1px solid #D8000C;
}