/*
 Theme Name:   Lucidity Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Lucidity Theme
 Author:       Laura Mayer-Sommer
 Author URI:   http://lucidity.net
 Template:     lucidity
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, one-column, responsive-layout, accessibility-ready
 Text Domain:  luciditychild
*/

/********************
Table of Contents
* body -- AAA
* page --- CCC
** header -- CCC1
*** nav -- CCC11
* main -- DDD
* footer -- BBB
* sidebar -- EEE
********************/

html { height:100%; }

/* fonts */
@font-face {
  font-family: 'Patua One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/patuaone/v11/ZXuke1cDvLCKLDcimxB44_lu.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Body AAA */
body { margin:0; font-family:arial, helvetica, sans-serif; height:100%; position:relative; top:-32px; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

#page { height:100%; }

.site-title { display:none; }

/** nav CCC11 **/

@media (min-width:520px) {
	nav ul { padding-left:10px; }
	nav li { display:inline-block; margin-right:10px; margin-top:20px; margin-bottom:2px; border:1px solid lightgrey; padding:10px; height:65px; }
	/* nav li:first-child { width:calc(100% - 554px); position:relative; top:2px; } */
	nav li:first-child { width:calc(100% - 380px); position:relative; top:2px; }
	nav li:first-child a { font-size:xx-large; }
	nav li a { color:#000070; font-variant:small-caps; text-decoration:none; font-size:x-large; font-family: 'Noto Sans JP', sans-serif;
			   display:inline-block; height:60px; line-height:60px; border-bottom: 5px solid #000058;
			   width:100%; }
	nav li.current-menu-item a { border-bottom:5px solid orange; }
	nav li a:hover { border-bottom:5px solid orange; margin-bottom:0; }
}

@media (max-width: 520px) {
	nav ul { padding-left:10px; }
	nav li { display:inline-block; float:right; margin-right:10px; margin-top:20px; margin-bottom:2px; padding:10px; }
	/* nav li:first-child { width:calc(100% - 554px); position:relative; top:2px; } */
	nav li:first-child { float:left; width:calc(100% - 380px); position:relative; top:2px; }
	nav li a { color:#000070; font-variant:small-caps; text-decoration:none; font-size:x-large; font-family: 'Noto Sans JP', sans-serif;
           display:inline-block; width:100%; }
	nav li a i { display:none !important; }
	nav li.current-menu-item a { border-bottom:5px solid orange; }
	nav li a:hover { margin-bottom:0; }
}

/* main content area DDD */
@media (max-width:520px) {
	main { min-height:calc(100% - 150px); position:relative; top:50px; padding-left:30px; }
	main .entry-title { font-family: 'Patua One', cursive; font-weight:normal; font-size: 40px; margin-bottom: 30px; text-align:center; }
	main #info, main .cf7sg-container { width:75%; margin-left:12.5%; }
	main h3 .tile { margin-right:30px; }
	main h3 .tile i { }
}

@media (min-width:520px) {
	main { min-height:calc(100% - 150px); position:relative; padding-left:30px; }
	main .entry-title { font-family: 'Patua One', cursive; font-weight:normal; font-size: 40px; margin-bottom: 30px; text-align:center; }
	main #info, main .cf7sg-container { width:75%; margin-left:12.5%; }
	main h3 .tile { margin-right:30px; }
	main h3 .tile i { }
}

/* Footer BBB */
footer { background:#000058; color:white; height:150px;  position:relative; top:32px; }
footer a { color:white; text-decoration:none; display:inline-block; margin:0 10px; }
footer .social { text-align:center; position:relative; top:20px; }
footer .site-info { text-align: center; position: relative; top: 50%; margin-top: -18.4px; }
footer.entry-footer { display:none; }

/* Contact page */
form { margin-left:10px; }