global.scss 6.35 KB
/* ==========================================================================
	Imports
/* ========================================================================== */
@import 'reset',
'variables',
'classes',
'main',
'normalize',
'modules/header',
'modules/header-landing',
'modules/home-content',
'modules/content',
'modules/content-landing',
'modules/broker-serarch',
'modules/footer',
'fonts',
'print',
'modules/login',
'modules/tabs',
'modules/accordions',
'modules/ios',
'modules/android',
'modules/care-form',
'modules/home-video',
'modules/landing-video',
'modules/featherlight';

/* ==========================================================================
	Base
/* ========================================================================== */
html {
    height: 100%;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;

}

html,
button,
input,
select,
textarea {
    font-family: Arial, sans-serif;
    color: $color_body_copy;
}

body {
    height: 100%;
    margin: 0;
    font-size: $size_base;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
}

/*	Apply to all elements. In a responsive design, this is almost always a good idea */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ==========================================================================
	Links
/* ========================================================================== */
a {
    color: $color_link;
    text-decoration: none;
}

a:focus,
a:hover {
    color: darken($color_link, 25%);
}

a:focus {
    outline: thin dotted;
}

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
	Typography
/* ========================================================================== */
/* Headers */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: 100;
}

h1 {
    font-family: "HelveticaNeue-Light", Helvetica, Arial, sans-serif;
    font-size: 28px;
    margin: 3px 0 10px 0;

}

h2 {
    font-family: "HelveticaNeue-Light", Helvetica, Arial, sans-serif;
    font-size: 24px;
    margin: 3px 0 10px 0;
}

h3 {
    font-family: "HelveticaNeue-Light", Helvetica, Arial, sans-serif;
    font-size: 20px;
    margin: 3px 0 10px 0;
}

h4, h5, h6 {
    font-family: "HelveticaNeue-Bold", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: normal; /* normal fontweight when using a bold source */
    margin: 30px 0 10px 0;
}

/* Content Block Elements */
dl,
menu,
ol,
ul,
p,
pre {
    margin: 12px 0 17px 0;
}

/* Paragraphs */
p {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12.5px;
}

/* Lists */
menu,
ol,
ul {
    padding: 0 0 0 $size_base * 2;
}

/* Selection Colors */
::-moz-selection {
    background: $color_body_copy;
    color: $color_opposite;
    text-shadow: none;
}

::selection {
    background: $color_body_copy;
    color: $color_opposite;
    text-shadow: none;
}

/* =============================================================================
	Helper Classes
/* ========================================================================== */
/* Prefixed with tags to override default tag styling for these elemets if .button is added */
button,
.button,
a.button,
input.button {
    display: inline-block;
}

button:focus,
.button:focus,
a.button:focus,
input.button:focus,
button:hover,
.button:hover,
a.button:hover,
input.button:hover {

}

button:active,
.button:active,
a.button:active,
input.button:active {

}

/* Responsive Media Styles */
.media {
    /* Set width on this selector based on design and needs */
}

.media img,
.media video,
.media object,
.media iframe {
    width: 100%;
   
}

/* Clear Fix */
.clearfix {
    &:before,
    &:after {
        content: " ";
        display: table;
    }
    &:after {
        clear: both;
    }
}

/* =============================================================================
	Structural Styles, Media Queries & Page Styling
/* ========================================================================== */

/* Content */
#content-wrap {
    width: 100%;
    height: 100%;
    margin: 8px auto auto auto;
    position: relative;
    padding-right: 15px;
    max-width: 360px;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transition: all 0.2s ease;
    @media only screen and (min-width: $bp-small) {
        margin: 45px auto auto auto;
    }
    @media only screen and (min-width: $bp-middle) {
        max-width: 600px;
    }
    @media only screen and (min-width: $bp-large) {
        min-width: 960px;
        max-width: 1039px;
    }
}

body.menu-on {
    overflow-x: hidden;
    overflow-y: scroll;
    #content-wrap {
        -webkit-transform: translate(300px, 0);
        -moz-transform: translate(300px, 0);
        -ms-transform: translate(300px, 0);
        -o-transform: translate(300px, 0);
        @media only screen and (min-width: $bp-middle) {
            -webkit-transform: translate(0, 0);
            -moz-transform: translate(0, 0);
            -ms-transform: translate(0, 0);
            -o-transform: translate(0, 0);
            transition: all 0.2s ease;
        }
        &:before {
            content: '';
            display: block;
            width: 100%;
            height: 200%;
            position: absolute;
            top: -10%;
            right: 0;
            bottom: 0;
            left: 0;
            background: rgba(0, 0, 0, 0.15);
            border-left: 2px solid rgba(0, 0, 0, 0.1);
            @media only screen and (min-width: $bp-middle) {
               background: none;
                border-left: none;
            }
        }
    }
}

/* Sidebar */
#page-sidebar {
    background: #eee;
    padding: $size_base;

    -webkit-border-radius: $size_base;
    border-radius: $size_base;

    & > ul {
        list-style: none;
        padding: 0;
    }
}

#breadcrumbs {
    margin-bottom: 20px;
}

#searchForm label {
    display: none !important;
}


.login-submit {
    margin-top : 20px;
    input {
        background : #0096d6;
        color      : #ffffff;
        width      : 100px;
        border     : 1px solid #0096d6;
    }

    input:active {
        color      : #0096d6;
        background : none;
    }
}

#new-footer{
    display: none;
}