:root {
--main: #049794;
--secondary: #133749;
--highlight: #ff7060;
}
body, html {
height: 100%;
}
body {
margin: 0;
background: #fff;
min-width: 300px;
}
html, body, p, li, dd, td {
color: #555;
line-height: 150%;
font-size: 18px;
font-family: 'Lato', sans-serif;
font-weight: 300;
}
b, strong {
font-weight: 700;
}
#preloader {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
background: #fff url(//angelabisselleditorial.com/wp-content/themes/angela-bissell/images/preloader.gif) center center no-repeat;
}
img a, a img {
border: 0;
}
img {
max-width: 100%;
height: auto;
}
.wrapper {
max-width: 1200px;
padding: 0 25px;
margin: 0 auto;
position: relative;
}  #headerlogo {
position: absolute;
top: 10px;
margin-left: -10px;
z-index: 2;
width: 300px;
height: auto;
}
#headerpic {
font-size: 34px;
font-family: 'Lora', serif;
line-height: 130%;
background: #fbf6e8 url(//angelabisselleditorial.com/wp-content/themes/angela-bissell/images/header-bg.png) left top repeat-x;
background-size: auto 100%;
width: 100%;
position: relative;
overflow: hidden;
}
body.home #headerpic {
height: 550px;
}
body.home #headerpic::before {
background: url(//angelabisselleditorial.com/wp-content/themes/angela-bissell/images/header.jpg) right top no-repeat;
background-size: auto 100%;
}
body:not(.home) #headerpic {
height: 280px;
}
body:not(.home) #headerpic::before {
background: url(//angelabisselleditorial.com/wp-content/themes/angela-bissell/images/header02.jpg) right top no-repeat;
background-size: auto 130%;
}
#headerpic::before {
height: 100%;
position: absolute;
left: 0;
right: 0;
margin: 0 auto;
content: '';
max-width: 1400px;
}
#headerpic h1 {
font-size: 50px;
display: block;
color: #049794;
line-height: 130%;
margin: 0 0 6px 0;
}
#headerpic .wrapper {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
text-shadow: 0px 0px 5px white;
}
#social {
position: absolute;
right: 0;
top: 28px;
z-index: 222;
line-height: auto;
}
#social img {
width: 36px;
margin-left: 10px;
height: auto;
transition: transform 1s;
}
#social img:hover {
transform: rotate(360deg);
}
a.readmore:not(.readmore-toggle), input[type="submit"] {
background: var(--highlight);
color: #fff;
padding: 18px 30px;
text-decoration: none;
display: inline-block;
margin: 15px 0;
font-size: 20px;
font-weight: 400;
text-shadow: none;
line-height: 100%;
border: 0;
cursor: pointer;
font-family: 'Lato', sans-serif;
}
#footertestimonial a.readmore-toggle:hover {
background-color: transparent;
color: var(--main) !important;
}  a.anchor-link {
display: none;
float: right;
width: 50px;
padding: 20px 15px 0 25px;
}
#navbar {
background: #fff;
height: 90px;
position: relative;
}
#navbar .hassocial ul.menu li:last-child a {
padding-right: 120px;
}
#navbar ul.menu, #navbar ul.menu ul {
padding: 0;
list-style-type: none;
margin: 0 auto;
display: block;
text-align: right;
}
#navbar ul.menu ul::after {
content: ""; clear: both; display: block;
}
#navbar ul.menu li {
padding: 0;
background: none;
display: block;
}
#navbar ul.menu > li {
display: inline-block;
*display: inline;
margin-right: -4px; }
#navbar ul.menu li a {
color: #5a5b5e;
text-decoration: none;
padding: 0 15px;
font-size: 16px;
display: block;
line-height: 60px;
-webkit-transition: background-color 0.3s ease-out;
-moz-transition: background-color 0.3s ease-out;
-ms-transition: background-color 0.3s ease-out;
-o-transition: background-color 0.3s ease-out;
transition: background-color 0.3s ease-out;
}
#navbar ul.menu li a:hover, #navbar ul.menu li.current-menu-item > a:hover, #navbar ul.menu li.current-menu-parent > a:hover {
color: var(--main);
text-decoration: underline;
}
#navbar ul.menu li.current-menu-item > a, #navbar ul.menu li.current-menu-parent > a, #navbar ul.menu li.current-menu-ancestor > a {
color: var(--main);
font-weight: bold;
}
#navbar ul.menu li.menu-item-has-children, #navbar ul.menu li.menu-item-has-children > a, #navbar ul.menu ul.sub-menu li.menu-item-has-children > a {
position: relative;
}
#navbar ul.menu li.menu-item-has-children > a, #navbar ul.menu ul.sub-menu li.menu-item-has-children > a {
padding-right: 30px;
} #navbar ul.menu li.menu-item-has-children > a::after {
width: 16px;
height: 80px;
content: url(//angelabisselleditorial.com/wp-content/themes/angela-bissell/images/submenu-down.svg);
right: 6px;
top: 2px;
position: absolute;
}
#navbar ul.menu li.menu-item-has-children > a.close::after {
content: url(//angelabisselleditorial.com/wp-content/themes/angela-bissell/images/submenu-up.svg);
} #navbar ul.menu ul.sub-menu {
display: none;
position: absolute;
top: 60px;
min-width: 280px;
z-index: 9999;
}
#navbar ul.menu ul.sub-menu > li {
position: relative;
background: #fff;
border-bottom: 1px solid #ddd;
text-align: left;
float: none;
}
#navbar ul.menu ul.sub-menu li.menu-item-has-children > a::after {
content: url(//angelabisselleditorial.com/wp-content/themes/angela-bissell/images/submenu-down-dark.svg);
top: 20px;
right: 8px;
}
#navbar ul.menu ul.sub-menu li.menu-item-has-children > a.close::after {
content: url(//angelabisselleditorial.com/wp-content/themes/angela-bissell/images/submenu-up-dark.svg);
} #navbar ul.menu li.menu-item-has-children:last-child ul.sub-menu li {
min-width: 250px;
}
#navbar ul.menu li.menu-item-has-children:last-child ul.sub-menu {
right: 0;
}
#navbar ul.menu ul.sub-menu > li a::after {
height: 22px;
line-height: 22px;
}
#navbar ul.menu li > ul {
-moz-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
}
#navbar ul.menu ul.sub-menu > li a {
background: none;
color: #666;
font-size: 16px;
text-shadow: none;
padding: 15px 20px;
display: block;
line-height: 25px;
text-decoration: none;
}
#navbar ul.menu ul.sub-menu > li.current-menu-item > a, #navbar ul.menu ul.sub-menu > li.current-menu-parent > a, #navbar ul.menu ul.sub-menu > li.current-menu-ancestor > a {
color: var(--main);;
}
#navbar ul.menu ul.sub-menu > li a:hover {
background: var(--main);
color: #fff;
}
#navbar ul.menu ul.sub-menu > li:last-child {
border-bottom: 0;
} #navbar ul.menu ul.sub-menu ul.sub-menu {
top: 0;
left: 100%;
}
#navbar ul.menu ul.sub-menu ul.sub-menu > li a {
min-width: 160px;
}
@media screen and (min-width: 971px) {
#navbar ul.menu {
display: block !important;
}
}
@media screen and (max-width: 970px) {
#navbar {
float: none;
}
#navbar nav > ul {
display: none;
}
#navbar .wrapper {
padding: 0;
}
a.anchor-link {
display: block;
}
#navbar ul.menu {
display: none;
position: absolute;
top: 90px;
width: 100%;
z-index: 99;
-moz-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
}
#navbar ul.menu li {
float: none;
display: block;
list-style: none;
text-align: left;
padding: 0;
border-bottom: 1px solid #ccc;
background-color: #fff;
line-height: 60px;
}
#navbar ul.menu > li {
margin-right: 0; }
#navbar ul.menu li.menu-item-has-children, #navbar ul.menu li.menu-item-has-children > a, #navbar ul.menu ul.sub-menu li.menu-item-has-children > a {
padding-right: 0;
}
#navbar ul.menu > li.current_page_item a, #navbar ul.menu > li.current-menu-parent > a {
color: var(--main);
font-weight: bold;
background: none;
} #navbar ul.menu li.menu-item-has-children > a::after, #navbar ul.menu ul.sub-menu li.menu-item-has-children > a::after {
content: '\002B';
top: auto;
}
#navbar ul.menu li.menu-item-has-children > a.close::after, #navbar ul.menu ul.sub-menu li.menu-item-has-children > a.close::after {
content: '\2012';
top: auto;
}
#navbar ul.menu li a {
color: #666;
display: block;
padding-left: 25px;
}
#navbar ul.menu li a:hover, #navbar ul.menu ul.sub-menu > li a:hover, #navbar ul.menu li.current-menu-item > a:hover, #navbar ul.menu li.current-menu-parent > a:hover {
color: #fff;
background: var(--main);
}
#navbar ul.menu li:last-child {
border-bottom: none;
} #navbar ul.menu ul.sub-menu, #navbar ul.menu ul.sub-menu ul.sub-menu {
position: relative;
left: auto;
top: auto;
}
#navbar ul.menu li:hover > ul {
display: none;
}
#navbar ul.menu ul.sub-menu > li {
padding: 0;
text-align: left;
}
#navbar ul.menu ul.sub-menu > li a {
font-size: 15px;
padding: 12px 40px;
}
#navbar ul.menu li > ul {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
#navbar ul.menu ul.sub-menu > li:last-child, #navbar ul.menu ul.sub-menu > li:first-child {
padding: 0;
}
#navbar ul.menu ul > li:first-child {
border-top: 1px solid #cccccc;
} #navbar ul.menu ul.sub-menu ul.sub-menu > li a {
padding-left: 60px;
}
}  @media screen and (max-width: 1200px) {
#headerpic {
font-size: 28px;
}
#headerpic h1 {
font-size: 48px;
}
#headerpic .wrapper {
max-width: 60%;
margin: 0;
}
}
@media screen and (max-width: 970px) {
#headerlogo {
margin-left: 6px;
}
body.home #headerpic {
height: 450px;
font-size: 22px;
}
#headerpic h1 {
font-size: 40px;
}
#headerpic::before {
right: -50px;
}
body:not(.home) #headerpic::before {
right: -80px;
}
#social {
right: 80px;
}
}
@media screen and (max-width: 620px) {
#headerlogo {
width: 190px;
}
body.home #headerpic {
height: 300px;
}
body:not(.home) #headerpic {
height: 200px;
}
#headerpic {
font-size: 18px;
}
#headerpic h1 {
font-size: 28px;
}
#headerpic .readmore {
display: none;
}
#headerpic .wrapper {
max-width: 55%;
}
} @media screen and (max-width: 380px) {
#headerpic h1 {
font-size: 24px;
}
#headerpic::before {
right: -70px;
}
#social {
width: 40px;
top: 12px;
}
#social img {
width: 30px;
opacity: 0.6;
}
}