/*
Theme Name: BLN Corporate
Author: Suffolk Creative
Description: BLN corporate theme
Version: 1.0
*/

@import url('css/reset.css');
@import url('css/type.css');
@import url('css/containers.css');
@import url('css/forms.css');
@import url('css/social.css');
@import url('css/header.css');
@import url('css/footer.css');
@import url('css/comments.css');
@import url('css/house-ads.css');
@import url('css/events.css');
@import url('css/cobrand.css');



/*
debug
*/

.border {border: 1px solid red}


/*
colors
*/

.bk-white {background-color:rgb(255,255,255)}
.bk-light {background-color:rgb(242,241,236)}
.bk-dark {background-color:rgb(90,90,90)}

.white {color:rgb(255,255,255)}
.light {color:rgb(110,110,110)}
.dark {color:rgb(90,90,90)}


.shadow {
    position: relative;
    z-index: 2;
    box-shadow: 0px 3px 10px 2px rgba(120,120,120,0.2);
}



/*
weights
*/
.fw-light {
    font-weight: 300;
}


/*
beak
*/

.beak:after {
    position: absolute;
    left: 10px;
    bottom: -17px;
    content: " ";
    border-style: solid;
    border-width: 17px 12px 0 0;
    border-color: rgb(80,114,174) transparent transparent transparent;
    -moz-transform: scale(1.0001);
}



/*
bln cobrand
*/

.fg-0 {
    color:rgb(80,114,174);
}
.bk-0 {
    background: rgb(80,114,174);
}
.beak-0:after {
    border-color: rgb(80,114,174) transparent transparent transparent;
}
.bk-1{
    background: rgb(50,47,74);
}
.beak-1:after {
    border-color: rgb(50,47,74) transparent transparent transparent;
}
.bk-2 {
    background: rgb(95,111,152);
}
.beak-2:after {
    border-color: rgb(95,111,152) transparent transparent transparent;
}
.bk-3 {
    background: rgb(142,157,201);
}
.beak-3:after {
    border-color: rgb(142,157,201) transparent transparent transparent;
}
.bk-4 {
    background: rgb(112,134,186);
}
.beak-4:after {
    border-color: rgb(112,134,186) transparent transparent transparent;
}
.bk-5 {
    background: rgb(175,185,216);
}
.beak-5:after {
    border-color: rgb(175,185,216) transparent transparent transparent;
}

a.button {
    color: rgb(255,255,255);
    background-color: rgb(80,114,174);
}
a.button:hover {
    background-color: rgb(55,51,93);
}

.logo {
    background-image: url("images/bln_logo_strap_color.svg");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 280px auto;
}
@media all and (max-width: 360px) {
    .logo {
        background-size: 220px auto;
    }
}



/*
images
*/

img {
    max-width: 100%     !important;
    height: auto        !important;
}



/*
logos
*/

.hero {
    background-image: url("images/bln_hero.jpg");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
}
.bln-name-white {
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url("images/bln_logo_name_white.svg");
    background-size: 63px;
}



/*
float/align/clear text
*/

.floatleft {
    float: left;
}
.floatright {
    float: right;
}
.clearfloat:after {
    clear: both;
    display: block;
    content: "";
}
.overflow {
    overflow: hidden;
}
.relative {
    position: relative;
}

.alignleft {
    text-align: left;
}
.alignright {
    text-align: right;
}


.hide {
    display: none;
}
.show {
    display: block; 
}



/*
join/register button + message
*/

.button-message p.message {
    margin: -30px 0 0 160px;
}
.button-message h4 {
    margin-top: 30px;
}

@media all and (max-width: 767px) {
    .button-message p.message {
        margin: 20px 0 0 0 !important;
    }
    .button-message p+h4 {
        margin-top: 0 !important;
    }
}



/*
hero - good
*/

#hero .container-outer-full-width {
    height: auto;
}
#hero .words {
    float: right;
    width: 525px;
    min-height: 420px;
    background-color: rgba(50,50,50,0.9); 
    color: rgb(255,255,255);
}
#hero h1 {
    overflow: hidden;
    white-space: nowrap;
}
#hero .words p {
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
    color: rgb(255,255,255);
}
#hero a {
    color: rgb(255,255,255);
}

@media all and (max-width: 640px) {
    #hero .words {
        width: 400px;
        min-height: 200px;
    }
    #hero .words p {
        font-size: 15px;
    }
}
@media all and (max-width: 360px) {
    #hero .container-inner-full-width {
        padding: 0;
    }
    #hero .words {
        width: 100%;
        background-color: rgba(50,50,50,1); 
    }
    #hero .hero {
        background-image: none;
        background-color: rgb(255,255,255);
    }
}



/*
why join - good
*/

#why-join h1 {
    margin-top: 40px;
}

@media all and (max-width: 767px) {
    #why-join span {
        display: none;
    }
    #why-join h1 {
        margin-top: 30px;
        font-size: 34px;
    }
}
@media all and (max-width: 640px) {
    #why-join h1 {
         margin-top: 50px;
    }
    #why-join .container-right {
       width: 230px;
    }
}
@media all and (max-width: 567px) {
    #why-join h1 {
         margin-top: 40px;
    }
}
@media all and (max-width: 360px) {
    #why-join h1 {
         font-size: 32px;
    }
}




/*
events - good
*/

#events a.button {
    color: rgb(96,113,156);
    background-color: rgb(255,255,255);
}
#events .when {
    text-align: right;
}
#events .more {
    text-align: right;
    margin-top: 60px;
}
#events .excerpt {
    width: 65%;
    margin-top: -40px;
}

@media all and (max-width: 360px) {
    #events .when {
       text-align: left;
       padding-top: 75px;
    }
    #events .more {
       margin-top: -38px;
    }
    #events .excerpt {
        width: 100%;
        margin-top: 25px;
    }
}




/*
testimonials - good
*/

.testimonial {
    float: left;
    width: 33.33333333333%;
}
.testimonial .quote-inner {
    position: relative;
    padding: 20px;
    height: 200px;
}
.testimonial .quote-inner p {
    font-style: italic;
    font-size: 16px;
    color: rgb(255,255,255);
}
.testimonial .attribution {
    padding: 12px 20px;
    overflow: hidden;
    white-space: nowrap;
}
.testimonial .attribution h4 {
    font-style: italic;
    font-size: 13px;
    color: rgb(255,255,255);
}

@media all and (max-width: 767px) {
    .testimonial .quote-inner {
        height: 210px;
    }
}
@media all and (max-width: 512px) {
    .testimonial {
        width: 50%;
    }
    .testimonial:last-of-type {
        display: none;
    }
}
@media all and (max-width: 360px) {
    .testimonial .quote-inner {
        padding: 20px 10px;
        height: 180px;
    }
    .testimonial .quote-inner p {
        font-size: 14px;
    }
    .testimonial .attribution {
        padding: 12px 20px;
    }
    .testimonial .attribution h4 {
        font-size: 12px;
    }   
}




/*
fancy list - good
*/

.fancy-list.container-outer {
    background-color: rgb(255,255,255);
}
.fancy-list .container-left {
    margin: 0 256px 0 0;
}

@media all and (max-width: 640px) {
    .fancy-list .container-left {
        margin-right: 230px;
    }
    .fancy-list .container-right {
        width: 230px;
    }
}
@media all and (max-width: 567px) {
    .fancy-list .container-left {
        margin-right: 0;
    }
    .fancy-list .filters {
        display: none;
    }
}



/*
fancy list item - good
*/
.fancy-item .container-left {
    width: 50%;
}
.fancy-item .container-right {
    width: 50%;
    margin-left: -256px;
}
.fancy-item .container-right .left {
    display: none;
}
.fancy-item .container-right .right-inner {
    padding: 23px 10px 0 20px;
}
.fancy-item .right-inner p {
    font-size: 95%;
    line-height: 130%;
    margin: 0 0 1.5em 0;
}
.fancy-item img {
    width: 100%;
    min-width: 100px;
    height: auto;
}

@media all and (max-width: 767px) {
    .fancy-item .container-left {
        display: none;
    }
    .fancy-item .container-right {
        width: 100%;
        height: auto;
    }
    .fancy-item .container-right .left {
        display: block;
        float: auto;
        width: 45%;
        margin: -20px 1.5em 0 0em;
    }
    .fancy-item .container-right .right {
        float: right;
        width: 55%;
        height: auto;
    }
    .fancy-item .container-right .right-inner {
        padding: 0 10px 0 10px;
    }
    .fancy-item .container-right .right-inner p {
        font-size: 95%;
        line-height: 120%;
        margin: 0 0 1em 0;
    }
    .fancy-item  p.beak {
        padding-left: 15px;
    }
}



/*
paging control - good
*/

#paging-control .container-inner {
    padding: 40px;
    text-align: center;
    background-color: rgb(255,255,255);
}
#paging-control ul {
    list-style-type: none;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}
#paging-control ul li {
    display: inline;
    margin: 0 6px;
    text-align: center;
}
#paging-control ul a {
    border-radius: 3px;
    padding: 7px 15px;
}
#paging-control ul a:hover {
    color: rgb(255,255,255);
    background-color: rgba(80,114,174,0.5);
    text-decoration: none;
}
#paging-control ul a:active {
    color: rgb(255,255,255);
    background-color: rgb(80,114,174);
}
#paging-control ul span.current {
    padding: 7px 15px;
    color: rgb(255,255,255);
    background-color: rgb(80,114,174);
    border-radius: 3px;
}
#paging-control ul span.dots {
    color: rgb(90,90,90);
}
#paging-control ul span.prefix,
#paging-control ul span.suffix {
    color: rgb(120,120,120);
    font-weight: 300;
    font-size: 16px;
} 

@media all and (max-width: 640px) {
    #paging-control ul {
        font-size: 14px;
    }
}


/*
blog/page/talk/speaker content 
*/

@media all and (max-width: 640px) {
    #blog .page-title .container-right {
        width: 256px;
    }
}


.content-main {
    color: rgb(90,90,90);
}
.content-main p,
.content-main li,
.content-main pre,
.content-main address {
   line-height: 1.5em;
}
.content-main video {
  width: 100%    !important;
  height: auto   !important;
}

.content-main img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}
.content-main img.aligncenter {
    margin: 1em auto;
}
.content-main img.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

