/*
Theme Name: Chester County Chamber
Theme URI: http://bramblettgrp.com
Author: Bramblett Group
Author URI: http://bramblettgrp.com
Description: A responsive theme for the 2018 Chester County Chamber website
Version: 1.0.8
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
*/


/*

dddddddddddddddooooolloddddddddddddddddd
ddddddddddolc:,''....,cddddddodddddddddd
ddddddddl:,........:lodddddc,';loddddddd
ddddddl;.........;lddddddc,.....,coddddd
ddddo:.........;ldddddoc,.........,ldddd
dddo;........:lddddolc,............'lddd
ddo;.......;lddddoc,.......';'......'ldd
ddc.......:oddddc,.......':odl'......;dd
dd;......,odddo;.........cdddd:......'ld
do,......:ddddc..........;ddddl.......cd
do,......;ddddl'.........:ddddc.......ld
dd:......'cddddo;......,codddo;......,od
ddo,......'cdddddolcclodddddo;.......cdd
dddc'.......;loddddooddddol:'.......:ddd 
ddddl'........';:cccccc:;,.........:dddd
dddddo:..........................;lddddd
dddddddo:'.....................;lodddddd
dddddddddol:,'.............';coddddddddd
dddddddddddddoocc::::::ccloddddddddddddd
dddddddddddddddddddddddddddddddddddddddd

*/

@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville');
@import url('https://fonts.googleapis.com/css?family=Montserrat:100,300,400,600,700');
#background,
#subpage-header {
    color: #fff;
    overflow: hidden;
    background-color: #2b2b2b;
}

#banner {
    height: 100vh;
    min-height: 600px;
    animation: fakedrone 15s forwards;
    background-size: cover;
    background-position: center center;
}

.loaderpage {
    height: 100vh;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    display: inline-block;
    vertical-align: top;
    background-color: #2b2b2b;
}

.displaynone {
    display: none;
}

.loaderpage .middle {
    padding-top: 40vh;
    margin: auto;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-size: 16px;
    line-height: 20px;
}

h1 {
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 1.2px;
}

h2 {
    font-size: 72px;
    font-family: 'LibreBaskerville', serif;
    text-transform: uppercase;
    line-height: 72px;
}

h3 {
    font-size: 50px;
    font-family: 'LibreBaskerville', serif;
    text-transform: uppercase;
    line-height: 50px;
    margin-bottom: 25px;
}

h4 {
    font-size: 30px;
    font-family: 'LibreBaskerville', serif;
    text-transform: uppercase;
    line-height: 30px;
}

h5 {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

h6 {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

strong {
    font-weight: 600 !important;
}

.banner-text,
.sub-banner-text {
    top: 0;
    left: 0;
    position: absolute;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    color: #fff;
    text-align: center;
    margin-top: 18rem !important;
    text-shadow: 1px 0px 25px rgba(0, 0, 0, .6);
}

.sub-banner-text {
    margin-top: 21rem !important;
}

.sub-banner-text.full {
    margin-top: 24rem !important;
}

.banner-text h1 {
    text-transform: uppercase;
}

.sub-banner-text h1 {
    font-size: 72px;
    font-family: 'LibreBaskerville', serif;
    text-transform: uppercase;
    line-height: 72px;
}

.banner-text h2 {
    margin: 45px 0;
}

.container,
.row {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

#join,
#partners,
footer,
#member-listing,
#chamber-staff,
#sponsorships,
#membership-main,
.section {
    padding: 80px 40px;
}

.image-up {
    padding: 120px 40px;
}

footer {
    padding-bottom: 20px;
}

.dark-background {
    background-color: #2b2b2b;
    color: #fff;
}

#map {
    min-height: 400px;
}

.white-background {
    background-color: #fff;
    color: #2b2b2b;
}

.white-box {
    background-color: #fff;
    color: #2b2b2b;
    padding: 30px 40px;
}

.white-box a,
.white-box a:hover,
.white-box a:visited,
.white-box a:focus {
    color: #2b2b2b;
    text-decoration: underline;
}

.white-box a:hover {
    opacity: .8;
}

.no-rl-pad {
    padding-right: 0;
    padding-left: 0;
}

.no-left-pad {
    padding-left: 0;
    padding-right: 10px;
}

.no-right-pad {
    padding-right: 0;
    padding-left: 10px;
}

.pull-up {
    margin-top: -200px;
}

.dark-background p,
.white-background p {
    font-weight: 300;
}

div.imagetiles div.col-lg-3.col-md-3.col-sm-6.col-xs-6 {
    padding: 0px;
    margin: 0px;
}

div.imagetiles .tile {
    -webkit-filter: grayscale(50%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(50%);
}

div.imagetiles .tile:hover {
    -webkit-filter: grayscale(10%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(10%);
}

div.imagetiles .tile {
    overflow: hidden;
}

div.imagetiles .tile img {
    opacity: .65;
    transition: all 0.4s ease-in-out;
}

div.imagetiles .tile:hover img {
    transform: scale(1.1);
    transition: all 0.4s ease-in-out;
}

.tile-text {
    position: absolute;
    width: 100%;
    text-align: center;
    color: #fff;
}

.tile h4 {
    font-weight: 300;
    text-shadow: 1px 0px 25px rgba(0, 0, 0, .6);
    text-transform: uppercase;
    top: 43%;
}

.tile h4.three-lines {
    top: 37%;
}

.tile h4.one-line {
    top: 45%;
}

.nav-container {
    max-width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
}

li.nav-item {
    margin-left: 20px;
    font-weight: 300;
    text-transform: uppercase;
}

.bg-dark {
    background-color: rgba(0, 0, 0, .90) !important;
    transition: all 0.3s;
}

.navbar-transparent {
    background-color: rgba(0, 0, 0, .80) !important;
    transition: all 0.3s;
}

button.navbar-toggler {
    outline: 0;
}

.icon-bar {
    width: 22px;
    height: 2px;
    background-color: #B6B6B6;
    /* line colors */
    display: block;
    transition: all 0.2s;
    margin-top: 4px
}

.navbar-toggler {
    border: none;
    background: transparent !important;
}

.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
    opacity: 0;
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}

span.arrow:hover {
    opacity: .5;
}

span.arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 2;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
    box-sizing: border-box;
}

.navbar-brand img {
    width: 300px;
    transition: all 0.4s;
}

.center-text {
    text-align: center;
}

.btn,
.btn-lg {
    border-radius: 0;
    min-width: 150px;
}

.btn-white {
    background-color: #fff;
    color: #2b2b2b;
}

.btn-dark {
    background-color: #2b2b2b;
    color: #fff;
}

.btn-white:hover,
.btn-white:focus,
.btn-dark:hover,
.btn-dark:focus {
    opacity: .8;
}


/* subpage styling */

.btn-listings {
    padding-left: 40px;
    padding-right: 40px;
}

.vertical-menu-chamber {
    padding-left: 0;
}

.vertical-menu-chamber li {
    color: white;
    display: block;
    padding: 0px;
    text-decoration: none;
    text-align: left;
    font-size: 14px;
}

#chamber-staff-alternative .vertical-menu-chamber li {
    font-size: 16px;
    line-height: 20px;
}

.vertical-menu-chamber a {
    color: #fff;
    padding: 0px;
    text-decoration: none;
}

.vertical-menu-chamber a:hover,
.vertical-menu-chamber a:focus {
    font-weight: 400;
}

.carousel-wrapper {
    min-height: 450px;
    background-color: #fff;
    color: #2b2b2b;
}

.staffPhoto {
    padding: 8%;
    padding-left: 20%;
    padding-right: 0%;
}

.staff-bio {
    padding: 8% 20% 8% 0%;
    right: 10%;
}

.staff-carousel-name {
    list-style: none;
    padding-left: 0;
    font-weight: 600;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 100px;
    width: 100px;
    background-size: 100%, 100%;
    background-image: none;
    margin-top: 30%;
}

#carouselSponsorships .carousel-control-prev-icon,
#carouselSponsorships .carousel-control-next-icon {
    margin-top: 0%;
}

.carousel-control-next-icon:after {
    content: '';
    font-size: 55px;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: -12px;
    border-right: 2px solid #2b2b2b;
    border-bottom: 2px solid #2b2b2b;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.carousel-control-prev-icon:after {
    content: '';
    font-size: 55px;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 2px solid #2b2b2b;
    border-bottom: 2px solid #2b2b2b;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.bold-capped {
    font-weight: 600 !important;
    text-transform: uppercase;
}

.left-position-img {
    position: relative;
    margin-top: -200px;
    margin-left: -145px;
}

.right-position-img {
    position: relative;
    margin-top: -200px;
    margin-right: -145px;
}

.spacer {
    margin-top: 20px;
    margin-bottom: 20px;
}

#historic-section-2 .col-xs-12.col-sm-6.col-lg-3.spacer {
    margin-bottom: 40px;
}

.history-index-1 {
    float: right;
    margin-top: -100px;
    margin-right: -208px;
}

.margin-top-up {
    margin-top: -30px;
}

.padding-left-35 {
    padding-left: 35px;
}

section a,section a:hover,section a:visited{
    color:#fff;
    text-decoration:underline;
}

div.widget_ww_widget>div,
div.widget_ww_widget>div>iframe {
    width: 100% !important;
}

body.single-ajde_events div#main {
    margin-top: 100px !important;
}

.evofc_month{
    background-color: #58595b !important;
}
.ajde_events-template-default{
    background-color:#2b2b2b;
}

footer p {
    font-size: 14px;
    font-weight: 100;
}

footer .social-media {
    color: #fff;
    margin-right: 20px;
    font-size: 12px;
}

footer .pad-top {
    margin-top: 15px;
}

footer ul li {
    list-style: none;
    text-transform: uppercase;
    line-height: 1.2em;
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
}

footer .col-sm-12 {
    margin-bottom: 40px;
}

footer a {
    color: #fff;
    font-weight: 100;
}

footer a:hover,
footer a:focus {
    color: #fff;
    text-decoration: none;
    font-weight: 100;
}

@-webkit-keyframes fakedrone {
    0% {
        -webkit-transform: scale(1.3)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes fakedrone {
    0% {
        transform: scale(1.3)
    }
    to {
        transform: scale(1)
    }
}

@-webkit-keyframes bounce {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
    }
    20% {
        -webkit-transform: rotate(-45deg) translate(-10px, 10px);
    }
    40% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
    }
}

@keyframes bounce {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }
    20% {
        transform: rotate(-45deg) translate(-10px, 10px);
    }
    40% {
        transform: rotate(-45deg) translate(0, 0);
    }
}
@media (max-width:1350px) {
    .history-index-1 {
        max-width: 350px !important;
        height: auto;
    }
}

@media (max-width:1300px) {
    li.nav-item {
        margin-left: 8px;
        font-size: 13px;
    }
    .left-position-img,
    .right-position-img {
        margin-top: 0;
        margin-left: 0;
    } 
    div.white-box div.col-sm-12 img {
        width: 100%;
        overflow: hidden;
        margin-bottom: 40px;
    }
    .history-index-1 {
        clear: right;
        margin-top: 0px;
        margin-right: 0px;
        max-width: 100% !important;
    }
}

@media (max-width:1250px) {
    .history-index-1 {
        clear: right;
        margin-top: 0px;
        margin-right: 0px;
    }
    img.history-index-1,
    img.history-index-2 {
        max-width: 100% !important;
    }
    .margin-top-up {
        margin-top: 0px;
    }
}

@media (max-width:1199px) {
    li.nav-item {
        font-size: 16px;
    }
}

@media (max-width:1119px) {}

@media (max-width:1024px) {
    .history-index-1-div,
    .history-index-2-div {
        text-align: center;
    }
    .history-index-1,
    .history-index-2 {
        float: none;
        margin: 20px 0px;
    }
    .margin-top-up {
        margin-top: 0;
    }
}

@media (max-width:990px) {}

@media (max-width: 767px) {
    .banner-text {
        margin-top: 7em !important;
    }
    .sub-banner-text {
        margin-top: 8em !important;
    }
}

@media (max-width: 640px) {
    .banner-text {
        margin-top: 8em !important;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        margin-top: 0%;
    }
    .staffPhoto {
        text-align: center;
        padding: 5%;
    }
    #history .col-xs-12.col-sm-5.col-md-5 img {
        clear: both !important;
        float: none;
        width: 100%;
    }
    .btn {
        font-size: 14px;
    }
    h3 {
        font-size: 30px;
    }
    h1 {
        font-size: 42px;
    }
    .banner-text {
        margin-top: 6em !important;
    }
    .sub-banner-text,
    {
        margin-top: 11em !important;
    }
    .sub-banner-text.full {
        margin-top: 15em !important;
    }
    .sub-banner-text h1,
    h1 {
        font-size: 42px;
    }
    .banner-text h1 {
        font-size: 18px;
    }
    .banner-text h2 {
        font-size: 38px;
        margin: 0;
    }
    .banner-text p {
        font-size: 14px;
    }
    #join,
    #partners,
    footer,
    #member-listing,
    #chamber-staff,
    #sponsorships,
    #membership-main,
    .section {
        padding: 80px 20px;
    }
    .image-up {
        padding: 120px 20px;
    }
    div.wpcf7-recaptcha>div,
    div.wpcf7-recaptcha>div>div>iframe {
        width: 100% !important;
    }
}

@media (max-width: 550px) {
    .navbar-brand {
        margin-right: 0;
    }
    .navbar-brand img {
        width: 260px;
        transition: all 0.4s;
    }
    .navbar-toggler {
        padding: 0;
    }
    div.wpcf7-recaptcha>div,
    div.wpcf7-recaptcha>div>div>iframe {
        width: 100% !important;
    }
}

.news-bar {
    display: block;
    position: relative;
    width: 100%;
    background-color: #3774C3;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    padding: 8px 0;
    height: auto;
    
  }

  .news-bar p{
    margin: 0;
  }

  .news-bar a{
    color: #fff;
    text-decoration: underline;
  }

  .nav-bar {
      position: fixed;
      width: 100%;
      opacity: 1;
      z-index: 500;
  }

  .nav-bar .navbar {
    position: relative;
  }