/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

.l 	{float:left;}
.r 	{float:right;}
.m 	{margin:0 auto;}
.width_full {width:970px;}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{background: url("../images/diagonal.jpg") repeat 0 0 #fff;}
h1,h2,h3,h4,h5,h6{font-family: 'Rokkitt', serif; font-weight: normal;}
p{font-family: 'PT Sans', sans-serif;}


/*GLOBAL STYLES*/
.r{float:right;}
.l{float:left;}


header{height:74px;}

.main-title{
    background: url('../images/hga.png') no-repeat 0 0;
    background: rgba(0,0,0,0) url("../images/hga-logo.svg") no-repeat 0 0;
    display: block;
    height: 148px;
    text-indent: -9999px;
    width: 123px;
}
.titleBg,header{
    background: url("../images/lightnoise.png") repeat scroll 0 0 #333333;
    border-bottom: 2px solid #444444;
    color: #FFFFFF;
    margin: 0 auto;
    border-top:3px solid #222;
    border-bottom:3px solid #222;

}
h1{
    color: #FFFFFF;
    text-align: center;
    padding: 0.3em 0;
    margin:0;
    text-shadow: 0px 1px 1px #000000;
    filter: dropshadow(color=#000000, offx=0, offy=1);
    font-size: 1.9em;
}
header nav{display: none;}

#badges{list-style: none;}
#badges li{
    float: left;
    width: 30%;
}

#badges li img{width:90%;}
#intro{float:left;width:100%;}

.centered-content{
    width:96%;
    min-width: 0;
    margin:0 auto;
}

.brand,.director{
    width:98%;
    margin:1em auto 2em;
}

.brand a{text-decoration: none;}

.title{
    background-color: #333333;
    color: #FFF;
    line-height: 1.5em;
    margin: 0 auto 0.5em;
    padding: 0.2em 0;
    text-align: center;

}

.brand img{margin:0 auto;display:block;}
.brand img{
    max-width: 100%;
    margin:0 auto;
    display: block;
    overflow: visible;
}

#hive-logo img{width:46%;}
#hiveSms-logo img{width: 73%;}
#one1one-logo img{width:80%;}

.layout{padding-top:30px;}
.layout .centered-content{
    padding:54px 2% 26px;
}

.profile-pic{
    height: 300px;
    overflow: hidden;
}
.profile-link p{
    background: none repeat scroll 0 0 #009FE0;
    color: #FFFFFF;
    float: left;
    font-size: 1.3em;
    font-weight: lighter;
    line-height: 47px;
    margin: 15px 0;
    padding: 0 .75em;
    font-family: 'Rokkitt', serif;
}
.profile-link a{text-decoration: none;}
.profile-link a span{
    background: none repeat scroll 0 0 #009FE0;
    color: #FFFFFF;
    float: left;
    font-size: 1.5em;
    line-height: 47px;
    margin: 15px 0;
    padding: 0 0.6em;
}


.centered-content.contact,.centered-content.profile{
    padding-top:2%;
}
.centered-content#brands,.centered-content.contact{
    padding-bottom:54px;
}

#Form_ContactUsForm_Inquiry{height: 200px;}
.pro-btn{display: none;}
#mob-director-last-desc,#mob-director-first-desc{display: block;padding:0 3%;}

.profile-pic img{
    display: block;
    margin:0 auto;
}


/* ==========================================================================
   BEN temp add on
   ========================================================================== */
#director-content p {
    margin: 0 0 1em 0;
}
.content-column {
    float: left;
    width: 98%;
    margin:0 1.0288065%;
}
#contact-right {
    float: right;
}
#contact-right a img{width:100%;box-shadow: 0 0px 3px #888;}
#Form_ContactUsForm .message {
    color: red;
}
#Form_ContactUsForm label.error {
    color: red;
    margin: 8px 0;
    font-weight: normal;
}
.message {
    width: 92%;
    padding: 10px 4%;
    border-radius: 10px;
    font-size:14px;
    color:#fff;
    margin-bottom:20px;
    font-family:Helvetica, Arial, sans-serif;
}
#SuccessMessage {background:#339933;border:2px solid #006600;}

#Form_ContactUsForm_BrandOfInterest_chzn{width:100%!important;}
.chosen a.chzn-single{
    background: #fff;
    border-radius: 0;
    padding: 11px;
    border: 1px solid #ccc;
    box-shadow: none;
}
.brand{
    background: rgba(255,255,255,.5);
    min-height: 356px;
    padding-bottom: 10px;
}
.brand-list{padding-top: 10px;}
.brand-list li{
    font-size: 1.2em;
    line-height: 1.5;
    list-style-type: square;
    color: rgb(95, 95, 95);
}

#footer h2, #footer a{
    text-align: center;
    float: none;
    display: block;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 43.75em) {
    #intro{width:71%;}
    #badges li {float:none; margin:6px;}
    #badges li img{width:auto;}
    #badges{float:right;padding-left: 0;}
}

@media only screen and (min-width: 50em) {
    /* Style adjustments for viewports that meet the condition */

    .pro-btn{display: block;}
    #mob-director-last-desc,#mob-director-first-desc{display: none;}

    header .titleBg h1{
        font-size: 3em;
        padding: 0;
        text-align: center;
    }

    .m{max-width: 972px;}
    #footer h2{
       float:left;
    }
    #footer a{
        float:right;
        margin: 1.5em;
    }

    h1{
        text-align: left;
        max-width: 972px;
        margin:0 auto;
        font-size: 2.5em;
    }

    .centered-content{
        max-width: 972px;
    }

    .brand,.director{
        width:30.0411522%;
        float:left;
        margin:0 1.64%;
    }

    .brand h2{
        width:100%;
    }
    #hiveSms-logo img {width: 83%;}
    #one1one-logo img{width:88%;min-height: 145px;}
    .brand img{width:100%;margin:0 auto;display:block;max-height: 150px;}

    .profile-link p{}
    #director-1 .profile-link a{float:right;}

    #director-2{
        float: right;
    }

    #director-2 .profile-link a{float:left;}
    #director-2 .profile-link p{float: right;}
    .profile-link a span{}

    #director-1 .profile-link a p:hover,#director-2 .profile-link a p:hover{
        background: #0babea;
        -webkit-transition: background .3s ease-in-out;
        -moz-transition: background .3s ease-in-out;
        -ms-transition: background .3s ease-in-out;
        -o-transition: background .3s ease-in-out;
        transition: background .3s ease-in-out;
    }
    #director-content{
        background: #fff;
        width: 33%;
        max-height: 358px;
        overflow-y: scroll;
        margin: 0;
    }
    .desc{padding:2% 4%;font-size: 14px;}
    #director-first-desc{border-left:12px solid #009FE0;}
    #director-last-desc{border-right:12px solid #009FE0;}
    .content-column {
        width: 45%;
    }
    .layout{padding-top:35px;}
    #intro{width:80%;}

    #intro-wrapper{position: relative;}

    #badges{position: absolute;right:40px;top:-42px;}

}
