 @charset "utf-8";

/*
   CPC - main styles

   Filename: styles.css


*/

/* HTML and Body Styles */
/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */


html {
   background-color: rgb(250,250,250);
   /* background-image: url(images/wintertrees.jpg);
   background-size: cover;
    height: 100%; */
   font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-size: 62.5%;
}


body {
  font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.6;
  font-weight: 400;
  font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222;
   background: rgb(200, 200, 200);   /* medium gray */
   box-shadow: rgb(51, 51, 51) 5px 0px 15px,
               rgb(51, 51, 51) -5px 0px 15px;
   margin: 0px auto;
   /* min-height: 100%; */
   min-width: 200px; /* or 320px from styles2? */
   max-width: 1300px; /*1024px; */
   width: 100%;
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300; }
h1 { font-size: 4.0rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* Larger than phablet */
@media (min-width: 550px) {
  h1 { font-size: 5.0rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}

.emph {
 font-style: italic;
 font-weight: bold;
}


.bio {
 font-style: italic;
 font-size: 80%;
}


/* Body Header Styles */

header {
   background-color: rgb(255,255,255);
   height: 20%;
  background-image: url(images/logo_cpc-h1.png);
   background-position: left top;
   background-repeat: no-repeat;
   display: grid;
}

/*body > header > img {
   display: block;
   width: 100%;
} */

.button {
 background-color: #408ca5; /* cpc light blue */
  border: none;
  color: white;
  padding: 15px 15px;
  text-align: center;
  text-decoration: none;
  float: right;
  margin: 15px 20px 0px 0px;
    /* display: inline;
position: fixed; */
  /* margin: -100px 20px 20px 0; */
  font-size: 3.5em;
  border-radius: 12px;
}

.button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
/* Horizonal Navigation Styles */
nav {
   margin-top: 30px;
   clear: left;
}
nav.horizontal {
   background-color: rgb(0,148,94);
   min-height: 2em; /* from styles1.css */
   clear: both;
}

nav.horizontal li {
   color: rgb(31, 73, 125);
   font-size: 1.2em;
   line-height: 2em;
   text-transform: uppercase;
}

nav.horizontal ul li a {
   display: block;
   text-align: center;
   padding-left: 10px; /* from styles2.css */
}

nav.horizontal ul li a#currentPage {
   background-color: rgb(31, 73, 125);
   color: rgb(231, 231, 231);
}

nav.horizontal ul li a:visited, nav.horizontal ul li a:link {
   color: rgb(231, 231, 231);
}

nav.horizontal ul li a:hover, nav.horizontal ul li a:active {
   background-color: rgb(35,76,90);
   color: rgb(231, 231, 231);
}

/* Main Styles */
main {
 height: 70%;
}

/* Aside Styles */
aside {
   display: block;
   background-color: rgb(231, 231, 231);
}

aside > ol {
   margin: 10px;
}

aside > ol > li {
   margin-top: 10px;
   font-size: 1.1em;
}

aside li {
   line-height: 1.3em;
   margin-top: 10px;
}

aside h1 {
   background-color: rgb(35,76,90);
   color: ivory;
   font-size: 1.5em;
   font-weight: normal;
   letter-spacing: 0.2em;
   line-height: 1.5em;
   text-align: center;
}

/* Section Styles */

section.first {
  width: 100%;
  background: url(images/header1.jpg), rgb(231,231,231); /* light gray */
  background-size: cover;
  padding: 30px;
  content: "";
  display: table;
  clear: both;

}

section.first h3 {
 text-align: center;
 margin-bottom: 0;
 padding: 25px;
}

section.about, section.staff, section.contact {
  width: 100%;
  padding: 0px;
  /* background: url(images/congregation-sm.png), rgb(231,231,231); /* light gray
  background-size: cover;
  content: "";
  display: table;
  clear: both; */

}
section.dinner {
  background: url(images/dinnerchurch-back.jpg), rgb(231,231,231); /* light gray */
  background-size: cover;
  content: "";
  display: table;
  clear: both;
 }
 /* section.contact {
  background: url(images/contact-bg.png), rgb(231,231,231); /* light gray
  background-size: cover;
  width: 100%;
  padding: 40px;
  content: "";
  display: table;
  clear: both;
 } */

 section.dinner  {
 width: 100%;
 text-align: center;
 padding: 40px; /* or 30 */
}

section.dinner > h1 {
   font-size: 300%;
   font-weight: bold;
   line-height: 2.4;
}


section.dinner > h2 {
   font-size: 200%;
   font-weight: bold;
   font-style: italic;
   line-height: 2.4;
   color: rgb(51, 26, 0);
}

/* section.staff {
  width: 100%;
  background: url(images/church-summer.jpg), rgb(231,231,231); /* light gray
  background-size: cover;
  padding: 30px;
  content: "";
  display: table;
  clear: both;
 } */

/* section.first ul {
   list-style-type: disc;
   line-height: 1.4;
   padding-left: 40px;
} */

/* section styles from styles1.css */
section {
   background-color: rgb(231,231,231);
   padding: 30px;
   clear: both;
}

section::after {
   content: "";
   display: table;
   clear: both;
}

section img {
   display: block;
   width: 100%;
   margin: 0;
   padding: 0;
}
aside#info img {
   display: inline;
   width: 40px;
   margin: 0;
   padding: 0;
   vertical-align:middle;
}

section p {
   line-height: 1.4em;
   padding: 10px;
   font-size: 1.2em;
}

section h3 {
  text-align: center;
  margin: 10px 5px;
}

/* Blockquote Styles */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic);
blockquote{
  font-size: 1.8em;
  width:80%;
  margin:30px auto;
  font-family:Open Sans;
  font-style:italic;
  color: #555555;
  padding:1.2em 30px 1.2em 75px;
  border-left:8px solid #00945e;
  line-height:1.6;
  position: relative;
  background:rgb(200,200,200);
}

blockquote::before{
  font-family:Arial;
  content: "\201C";
  color:#00945e;
  font-size:4em;
  position: absolute;
  left: 10px;
  top:-10px;
}

blockquote::after{
  content: '';
}

blockquote span{
  display:block;
  font-size: .75em;
  text-align: right;
  color:#333333;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

iframe {
 display: block;
 text-align: center;
 margin: 0 auto;
}


/* Footer Styles */

footer {
   background-color: rgb(35,76,90);
   color: rgba(255,255,255,.8);
   font-size: 0.9em;
   text-align: center;
   padding: 20px;
   height: 10%;
}

/* General Flex Styles */

body {
   display: -webkit-flex;
   display: flex;
   -webkit-flex-flow: row wrap;
   flex-flow: row wrap;
}

body > header, body > footer {
   width: 100%;
}

body > aside {
   -webkit-flex: 1 1 180px;
   flex: 1 1 180px;
}

body > section.first {
   -webkit-flex: 5 1 301px;
   flex: 5 1 301px;
}

/* ===============================
   Mobile Devices: 0 to 550px
   ===============================
*/

@media only screen and (max-width: 550px) {

  /* header > img#logo {
    display: none;
  } */

  header {
    background-image: url(images/logo_cpc-mobile.png);
      /* margin: 20px 20px 0px 0px;
  background-size: 18%;
    /*background-position: left;
    background-position: 0% 0%;
    background-repeat: no-repeat; */
  }
   /* Navigation styles */

   nav.horizontal ul li a {
      text-align: left;
      text-indent: 12px;
   }

   /* Aside Styles */
  section.first > h3 {
      font-size: 1.5em;
      /*color: rgb(207, 222, 172);
      letter-spacing: 0.2em;
      margin-bottom: 20px; */
   }
   body > aside {
      display: inline;
   }

   /* Navicon Menu Styles */

   a#navicon {
      display: block;
   }

   nav.horizontal ul {
      display: none;
   }


   a#navicon:hover+ul, nav.horizontal ul:hover {
      display: block;
   }
   .button {
     float: left;
     margin: 15px 20px 0px 100px;
     font-size: 3em;
   /* position: relative; */

   }

}

/* ===============================
   Tablet Devices: 550px to 769px
   ===============================
*/

@media only screen and (min-width: 481px) {

  /* header > img#logo {
    display: none;
  } */

  /*header {
    background-image: url(images/logo_pinesmall.png);
    /*background-position: left;
    background-position: 0% 0%;
    background-repeat: no-repeat;
  }*/


   /* Article H1 Styles */

   section.first > h3 {
      font-size: 2.5em;
      /*color: rgb(207, 222, 172);
      letter-spacing: 0.2em;
      margin-bottom: 40px; */
   }

   /* Navigation Styles */

   nav.horizontal li {
      font-size: 1.2em;
   }

   /* Tablet Flex Styles */

   nav.horizontal ul {
      display: -webkit-flex;
      display: flex;
      -webkit-flex-flow: row nowrap;
      flex-flow: row nowrap;
   }

   nav.horizontal li {
      -webkit-flex: 1 1 auto;
      flex: 1 1 auto;
   }

   /* Navicon Menu Styles */

   a#navicon {
      display: none;
   }

   /* Image Styles */
   body > section.first > article img {
      box-shadow: 3px 3px 10px rgb(151, 151, 151);
      display: block;
      float: right;
      margin: 0px 20px 20px 20px;
      width: 60%;
   }
}

/* ===============================
   Desktop Devices: 780px and wider
   ===============================
*/

@media only screen and (min-width: 780px) {

   /* HTML and Body Styles */

   html {
     /*  background-color: rgb(35,76,90); */
   }

   body {
      width: 100%;
      /* max-width: 1300px; */
      margin: 0px auto;
   }
   section.connect {
    width: 100%;
   }
   section.connect img {
    width: 40px;
   }
   aside#visit {
    float: left;
    margin-left: 5%;
    width: 50%;
   }
   aside#info {
    float: left;
    margin-right: 5%;
    width: 40%;
   }
   aside#info img {
   display: inline;
   width: 40px;
   margin: 0;
   padding: 0;
   vertical-align:middle;
}
section.dinner > h1 {
   font-size: 400%;
   font-weight: bold;
   line-height: 2.4;
}


section.dinner > h2 {
   font-size: 300%;
   font-weight: bold;
   font-style: italic;
   line-height: 2.4;
   color: rgb(51, 26, 0);
}

}
