/*
Theme Name: Sophie Fagan
Author: Joseph Joyner
Description: Child theme for the required+ Foundation parent theme.
Template: required-foundation
Text Domain: sophiefagan.com
*/

/*
	Make the template work
*/
@import url(../required-foundation/style.css);

/* Global Reset & Standards ---------------------- */
body { font-family: 'museo-sans', Arial, sans-serif; font-weight: 100; font-style: normal; color: #959595; line-height: 1; font-size: 21px; }
html { font-size: 62.5%; }

/* Base Type Styles Using Modular Scale ---------------------- */
h1, h2, h3, h4, h5, h6 { font-family: 'museo-sans', Arial, sans-serif; font-weight: 100; font-style: normal; color: #77979c; margin: 48px 0 16px 0; }
h1 { font-size: 44px; }
h2 { font-size: 40px; }
h3 { font-size: 36px; }
h4 { font-size: 34px; }
h5 { font-size: 32px; }
h6 { font-size: 28px; }
p { font-size: 21px; font-weight: 100; }
b { color: #77979c; font-weight: 500; }
strong { color: #77979c; font-weight: 500; }

/* Links ---------------------- */
a { color: #F95D66; font-size: 21px; -webkit-transition: color 0.25s ease-in-out; -moz-transition: color 0.25s ease-in-out; -o-transition: color 0.25s ease-in-out; transition: color 0.15s ease-in-out; }
a:hover { color: #FB9EA3; }
a:focus { color: #FB9EA3; }

/* Lists ---------------------- */
ul, ol, dl { font-size: 21px; margin-bottom: 17px; list-style-type: circle; color: #77979c; }
li { font-size: 21px; color: #959595; margin-bottom: 8px; }
#secondary ul, #supplementary ul { list-style-type: none; margin-left: 0; }

/* Tables ---------------------- */
table { float: left; background: #fff; padding: 0; margin-top: 0; border: none; width: 100%; }
table thead, table tfoot { background: #fff; }
table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td { display: table-cell; font-size: 21px; line-height: 28px; text-align: left; }
table thead tr th, table tfoot tr td { padding: 8px 10px 9px; font-size: 21px; font-weight: normal; color: #959595; }
table thead tr th:first-child, table tfoot tr td:first-child { border-left: none; }
table thead tr th:last-child, table tfoot tr td:last-child { border-right: none; }
table tbody tr.even, table tbody tr.alt { background: #fff; }
table tbody tr:nth-child(even) { background: #fff; }
table tbody tr td { color: #959595; padding: 4px 0; vertical-align: top; border: none; }

/* Normal Buttons ---------------------- */
.button, input[type="submit"] { width: auto; background: #5ED1CA; border: none; color: white; cursor: pointer; display: inline-block; font-family: inherit; font-size: 17px; text-transform: uppercase; font-family: 'museo-sans' sans-serif; font-weight: 100; font-style: normal; line-height: 1.5; letter-spacing: 2px; margin: 0; padding: 14px 34px 13px 34px; position: relative; text-align: center; text-decoration: none; -webkit-transition: background-color 0.25s ease-in-out; -moz-transition: background-color 0.25s ease-in-out; -o-transition: background-color 0.25s ease-in-out; transition: background-color 0.15s ease-in-out; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; border-radius: 2px; /* Hovers */ /* Sizes */ /* Colors */ /* Radii */ /* Layout */ /* Disabled ---------- */ }
.button:hover, .button:focus { color: white; background: #72d7d1 none repeat scroll 0% 0%;  transition: background-color 0.15s ease-in-out 0s; }
.button:active { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
input.button[type="submit"], input.medium.button[type="submit"] { padding: 14px 34px 13px 34px; }
.secondary-button { color: #77979c; margin-top: 14px; background-color: #EBF4F6; border: 2px solid #EBF4F6; padding: 13px 32px 12px; }
.secondary-button:hover, .secondary-button:focus { color: #77979c; background: #FFF; border: 2px solid #EBF4F6; }

/* Panels ---------------------- */
.panel { float: left; background: #fff; border: 3px dotted #DFEEF0;  margin: 35px 0 0 0; padding: 35px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; }
.post-403, .panel:nth-of-type(1) { margin-top: 15px }

/* Widgets ---------------------- */
#first, #second, #third { margin-top: 15px; }
.widget_facebook_likebox a { font-size: 34px; color: #77979c; } 

/* Forms & Comments ---------------------- */
#respond { float: left; width: 100%; }
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea { color: #e2e2e2; font-weight: 100; border: 1px solid #CCC; border-radius: 2px; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1) inset; color: rgba(0, 0, 0, 0.75); display: block; font-size: 21px; margin: 0px 0px 12px; padding: 6px; height: 40px; }
#blog_subscription-2 label { font-size: 34px; color: #77979c; margin: 0; }
#subscribe-email input { padding-left: 13px !important; } 
textarea { height: 100px; }
.comment-author h6 { margin: 0}
article.comment { width: 100% }

/* Homepage ----------------*/
#homepage-banner-container { width: 90%; background-image: url('../required-foundation/images/homepage-banner.png'); background-repeat: no-repeat; background-size: 75%; background-position: center; background-position: top; text-align: center; margin: 15px auto 55px;  padding-top: 355px; }
#homepage-banner-container  h1 { font-size: 54px; font-weight: 100; border-bottom: 3px dotted #DFEEF0; padding-bottom: 20px; margin-bottom: 20px; }
#homepage-banner-container  p { font-size: 24px; color: #77979c; margin: 7px 0 31px 0}
#homepage-banner { display: block; margin-left: auto; margin-right: auto; width: 70%; }
#homepage-banner-container .button { font-size: 18px; padding: 14px 34px 13px 34px; }
#post-29 h2 { font-size: 40px; }
#post-29 .entry-title { border-bottom: none; padding-bottom: 0; margin-bottom: 0; display: none; }

/* The Grid ---------------------- */
.row { width: 1040px; }	
#content { padding: 26px 0 40px 0; }

/* Wrapped around .top-bar to contain to grid width */
.contain-to-grid { width: 100%; background: #F0F7F8; }

/* Header ----------------*/
.required-header { background-color: #fff; padding: 0; }
.required-header .inline-list { margin-top: 14px;}
#site-title { font-weight: 100; }
#logo { width: 259px; margin: 55px 0 38px 0; padding: 0; transition: opacity 0.15s ease-in-out; -moz-transition: opacity 0.15s ease-in-out; -webkit-transition: opacity 0.15s ease-in-out; }
#logo:hover { opacity: 0.8; }

/* Nav Bar -------------------- */
.nav-bar { height: 40px; background: none; margin-left: 0; margin-top: 20px; padding: 0; }
.nav-bar > li { float: right; display: block; position: relative; padding: 0; margin: 0; border: none; line-height: 38px; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
.nav-bar > li:first-child { -webkit-box-shadow: 0 0 0; -moz-box-shadow: 0 0 0; box-shadow: 0 0 0; }
.nav-bar > li:last-child { border-right: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none;  }
.nav-bar > li.active { background: none; border-color: none; }
.nav-bar > li.active > a { color: white; cursor: default; }
.nav-bar > li.active:hover { text-decoration: underline; background: none; cursor: default; }
.nav-bar > li:hover { background: none; text-decoration: underline; }
.nav-bar > li > a { color: #77979c; }
.nav-bar > li ul { margin-bottom: 0; }

/* <nav> */
.top-bar { background: #F0F7F8; min-height: 212px; line-height: 45px; padding: 0; width: 100%; position: relative; /* Contain width to .row width */ /* First <ul> for branding, title, name, etc */ /* topbar global <ul> styles */ }
.contain-to-grid .top-bar { background: #F0F7F8; max-width: 1040px; margin: 0 auto; }
.top-bar ul { margin-left: 0; display: inline; height: 45px; line-height: 45px; list-style: none; /* Main Navigation links style */ /* Left Side <ul> */ /* Right Side <ul> */ }
.top-bar ul > li { float: left; /* Dividers between navigation */ /* Put a button in an <li> but give is a class */ /* Put a search bar or text input in the bar */ /* Put login bar in the top bar */ /* Hide the triangle for breakpoint menu */ /* li.has-dropdown */ }
.top-bar ul > li a:not(.button) { color: #77979c; display: block; font-size: 29px; font-weight: 100; height: 45px; line-height: 45px; padding: 0 0 0 22px; }
.top-bar ul > li:not(.name):hover, .top-bar ul > li:not(.name).active, .top-bar ul > li:not(.name):focus { background: none; }
.top-bar ul > li:not(.name):hover a, .top-bar ul > li:not(.name):focus a { color: #ADC1C4; }
.top-bar ul > li:not(.name).active a { color: #77979c; }
.top-bar ul > li.divider { background: none; }
.top-bar ul.right { margin: 86px 0 0 0; }
.home .top-bar { min-height: 180px; }

/* Footer -----------*/
#footer { background-color: #F0F7F8; padding: 0 0 70px 0; }
#footer-container { float: left; background-color: #F0F7F8; width: 100%; margin-top: 30px; }
article footer.entry-meta { border: none; }
#supplementary { margin-top: 0; padding-top: 0; }
.textwidget p { color: #77979c; }

/* Misc ---------------------- */
.wp-caption-text { font-style: italic; margin-top: 12px; font-size: 17px; }
.textwidget { font-size: 21px; line-height: 1.5; }
h1 a { font-size: 44px; font-weight: 100; font-style: normal; }
.entry-meta  h6 { font-weight: 100; font-style: italic; margin-bottom: 30px; font-size: 21px; color: #959595; margin-top: 22px; }
.entry-meta { font-size: 21px; }
article footer.entry-meta { padding: 0; margin: 0; }
code { background-color: #fff; font-weight: normal; }
.alignright { margin: 5px 0 36px 40px; display: block; background-color: #F0F7F8; border: 6px solid #F0F7F8; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; }
.alignleft { margin: 5px 40px 36px 0; display: block; background-color: #F0F7F8; border: 6px solid #F0F7F8; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; }
.aligncenter { margin: 25px 0 25px 0; display: block; background-color: #F0F7F8; border: 6px solid #F0F7F8; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; }
address { font-size: 21px; line-height: 1.3; color: #959595; }
label { font-weight: 100; font-style: normal; color: #959595; line-height: 1; font-size: 22px; margin: 21px 0 10px 0; }
hr { margin: 50px 0 25px 0; border-top: 3px dotted #DFEEF0;  }
aside p { font-size: 21px; line-height: 1.5; font-style: normal; }
.entry-title { border-bottom: 3px dotted #DFEEF0; padding-bottom: 18px; margin-bottom: 27px; }
article footer.entry-meta { border-top: 3px dotted #DFEEF0; padding-top: 36px; }
.widget-title {border-bottom: 3px dotted #DFEEF0; padding-bottom: 18px; }
.nav-previous { margin-top: 25px }
.nav-next { margin-top: 25px }
#google-map { float: right; margin: 10px 0 40px 0; width: 100% }

/* Page Numbering ---------------------- */
ul.page-numbers { margin: 20px 0 0 -10px; }
ul.page-numbers li span.current { font-size: 21px; background: none; color: #77979c; font-weight: normal; cursor: default; display: block; padding: 1px 7px; }
ul.page-numbers li a { font-size: 21px; padding: 1px 7px; color: #77979c;}
ul.page-numbers li:hover a, ul.page-numbers li a:focus { background: #EBF4F6 none repeat scroll 0% 0%; }

/* Make last link (Contact page) have no right padding */
#menu-item-13 { padding-right: 0 }

.top-bar ul > li a:[rel="external"] { padding-left: 0; }

/* Topbar Specific Breakpoint that you can customize */
@media only screen and (max-width: 940px) 
{ .top-bar { margin-bottom: 0; overflow: hidden; height: 45px; background: #222222; /* Override contain to grid stuff for breakpoint */ /* Setting up the sliding area */ /* When the Small Nav is Showing */ }
  .top-bar .js-generated { display: block; }
  .contain-to-grid .top-bar { width: auto; }
  .top-bar section { left: 0; position: relative; width: auto; -webkit-transition: left 300ms 0; -moz-transition: left 300ms 0; -o-transition: left 300ms 0; transition: left 300ms 0; }
  .top-bar ul { width: 100%; height: 100%; margin-bottom: 0; display: block; text-align: center; }
  .top-bar ul > li { float: none; /* Branding and name */ /* Dropdown Toggle */ /* Divider for breakpoint */ /* Search Overrides for breakpoint size */ /* Dropdown Level 1 */ /* Dropdown Level 2 */ }
  .top-bar ul > li.active, .top-bar ul > li:hover { background: #151515; }
  .top-bar ul > li.name { height: 45px; }
  .top-bar ul > li.name h1 { line-height: 1; }
  .top-bar ul > li.name h1 a { color: white; display: block; line-height: 45px !important; padding-left: 15px; height: 45px; }
  .top-bar ul > li:hover a, .top-bar ul > li.active a { color: #77979c; }
  .top-bar ul > li a:not(.button) { color: #77979c; }
  .top-bar ul > li.toggle-topbar { cursor: pointer; display: block; height: 45px; position: absolute; right: 0; top: 0; width: 50%; }
  .top-bar ul > li.toggle-topbar a { content: ""; display: block; width: 0; height: 0; border: solid 12px; border-color: #77979c transparent transparent transparent; padding: 0; position: absolute; top: 50%; right: 22.5px; margin-top: -4px; }
  .top-bar ul > li.toggle-topbar:hover { background: inherit; }
  .top-bar ul > li.toggle-topbar a { padding: 0 !important; }
  .top-bar ul > li.divider { border-bottom: none; border-top: none; clear: both; height: 1px !important; margin: 8px 0 !important; width: 100%; }
  .top-bar ul > li.search { padding: 0 22.5px; }
  .top-bar ul > li.search form { width: 100%; }
  .top-bar ul > li.search form input[type=text] { width: 75%; }
  .top-bar ul > li.search form .button { top: -1px; width: 25%; }
  .top-bar ul > li.has-dropdown a { padding-right: 33.75px; }
  .top-bar ul > li.has-dropdown a:after { content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: transparent transparent transparent rgba(255, 255, 255, 0.5); margin-right: 15px; margin-top: -4.5px; position: absolute; top: 50%; }
  .top-bar ul > li.has-dropdown:hover > .dropdown { display: block; visibility: hidden; }
  .top-bar ul > li.has-dropdown .dropdown { visibility: hidden; z-index: 0 !important; }
  .top-bar ul > li.has-dropdown.moved { position: static; }
  .top-bar ul > li.has-dropdown.moved > .dropdown { top: 0; visibility: visible; }
  .top-bar ul > li.has-dropdown.moved > .dropdown li label { margin-bottom: 6px; padding-top: 6px !important; font-size: 11px; }
  .top-bar ul > li.has-dropdown.moved > .dropdown li:not(.title) { padding-bottom: 0; }
  .top-bar ul > li.has-dropdown.moved > .dropdown li:not(.title) a { padding: 8px 22.5px; font-size: 14px; }
  .top-bar ul > li.has-dropdown.moved > .dropdown li a, .top-bar ul > li.has-dropdown.moved > .dropdown li label { padding: 0 22.5px; }
  .top-bar ul > li.has-dropdown.moved > .dropdown li a:hover { background: #3c3c3c; display: block; }
  .top-bar ul > li.has-dropdown.moved > .dropdown li.divider { border-bottom: solid 1px rgba(255, 255, 255, 0.1); margin-top: 8px !important; margin-bottom: 8px !important; }
  .top-bar ul > li.has-dropdown.moved .back.title { padding-bottom: 0; }
  .top-bar ul > li.has-dropdown.moved .back.title a:before { position: absolute; top: 50%; left: 17.5px; margin-top: -5px; width: 0; height: 0; content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: transparent white transparent transparent; }
  .top-bar ul > li.has-dropdown.moved .back.title h5 { margin: 0; padding-left: 15px; position: relative; }
  .top-bar ul > li.has-dropdown.moved .back.title h5 a { background: transparent; padding-top: 8px; padding-bottom: 8px; font-size: 23px; font-weight: bold; }
  .top-bar ul > li.has-dropdown .dropdown li { background: transparent; }
  .top-bar ul > li.has-dropdown .dropdown li.has-dropdown .dropdown { left: 100% !important; top: 0; right: auto !important; }
  .top-bar ul > li.has-dropdown .dropdown li.has-dropdown > a { padding-right: 33.75px; }
  .top-bar ul > li.has-dropdown .dropdown li.has-dropdown > a:after { content: ""; margin-right: 15px; content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: transparent transparent transparent rgba(255, 255, 255, 0.5); position: absolute; top: 50%; margin-top: -4.5px; }
  .top-bar ul > li.has-dropdown .dropdown li.has-dropdown > a li a:hover { background: #3c3c3c; }
  .top-bar ul > li.has-dropdown .dropdown li.has-dropdown.moved { position: static; }
  .top-bar ul > li.has-dropdown .dropdown li.has-dropdown.moved .dropdown { top: 0; visibility: visible; }
  .top-bar ul > li.has-dropdown .dropdown li.has-dropdown:hover { display: block; }
  .top-bar ul.left, .top-bar ul.right { float: none; width: 100%; }
  .top-bar ul.left > li, .top-bar ul.right > li { display: block; float: none; margin: 0 !important; }
  .top-bar ul.left > li.has-dropdown .dropdown, .top-bar ul.right > li.has-dropdown .dropdown { left: 100% !important; top: 0; right: auto !important; }
  .top-bar section > ul li a:not(.button) { padding-left: 22.5px !important; }
  .top-bar.expanded { height: 100%; padding-bottom: 20px; }
  .top-bar.expanded ul li.toggle-topbar a { content: ""; display: block; width: 0; height: 0; border: solid 8px; border-color: transparent transparent #cccccc transparent; top: auto; bottom: 50%; margin-bottom: -4px; }
  .top-bar ul li.has-button { padding: 5px 15px; }
  .top-bar ul li .button.small { margin: 0 !important; display: inline-block; width: 100%; }
  .top-bar ul > li.has-button a.button { margin: 0; }
  .top-bar ul > li a:not(.button) { font-size: 28px; padding: 0 15px 0 20px; }
  .menu-primary-menu-container { margin: 120px 0 20px 0; }
  .alignright { float: none; margin: 0 0 10px 0; }
  #logo { width: 250px; }
  #homepage-banner-container { width: 80%; background-image: url('../required-foundation/images/homepage-banner.png'); background-size: 70%; margin-bottom: 50px; padding-top: 270px; }
  #homepage-banner-container  h1 { font-size: 36px; }
  #homepage-banner-container  p { font-size: 21px; margin: 7px 0 20px 0}
  #content { padding: 30px 30px 60px 30px; }
  ul, ol, dl { list-style-position: inside; }
  #footer-container { padding: 0 30px; text-align: center;}
  #google-map { width: 100%; }
  table { padding: 5px; }

}

@media only screen and (max-width: 780px) 
{ 
  #homepage-banner-container { width: 80%; min-height: 520px; margin-bottom: 15px; padding-top: 270px; }
}

@media only screen and (max-width: 380px) 
{ 
    h1 { font-size: 40px; }
    h2 { font-size: 36px; }
    h3 { font-size: 34px; }
    h4 { font-size: 32px; }
    h5 { font-size: 30px; }
    h6 { font-size: 28px; }
    h1 a { font-size: 40px; }
    #post-29 h2 { font-size: 36px; }
    #homepage-banner-container { width: 80%; background-image: url('../required-foundation/images/homepage-banner-mobile.png'); background-size: 80%; margin-bottom: 30px; padding-top: 300px; }
    body { text-align: left; }
    .top-bar ul.right { margin: 145px 0px 0px; }
    #content { padding: 0 30px 30px 30px; }
    #footer-container { padding: 0 30px; text-align: left;}
    .columns { padding: 0; }
    .panel { padding: 20px; }
    #footer-container .button { width: 100%; }
    #footer-profile-image { display: none; }
}