/*
 * 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;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   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: 100%;
}

/*
 * 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;
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ==========================================================================
   Custom styles: opinionated defaults
   ========================================================================== */
h1, h2, h3{
    font-family: 'lato', sans-serif !important;
}

body{
    font-family: 'lato', sans-serif !important;
    font-size: 14px;
    color: black;
    font-style: normal;
    font-weight: 400;
    overflow-x: hidden;
}

#wrapperFoot{
    height: 150px;
    width: 100%;
    background-color: #000;
    border-top: 5px solid #3F82B9;
}

#bgSimulator{
    height: 383px;
    width: 100%;
}

#bgSimulator .bgs{
    position: absolute;
    height: 547px;
    width: 100%;
    z-index: -10;
}   

#bgSimulator .bg1{
    background-image: url(../img/bg1.jpg?id=1);
    background-position: top center;
    position: absolute;
    height: 547px;
    width: 100%;
}

#bgSimulator .bg2{
    background-image: url(../img/bg2.jpg?id=2);
    background-position: top center;
    position: absolute;
    height: 547px;
    width: 100%;
}

#bgSimulator .bg3{
    background-image: url(../img/bg3.jpg?id=3);
    background-position: top center;
    position: absolute;
    height: 547px;
    width: 100%;
}

.wrapper{
    max-width: 960px;
    margin: 0 auto;
}

#top{
    height: 164px;
    background-image: url(../img/bg_logo.jpg);
    background-repeat: no-repeat;
}

#top .logo{
    max-width: 193px;
    width: 30%;
    margin-top: 40px;
    float: left;
}

#top .menu{
    max-width: 600px;
    float: right;
    width: 65%;
    margin-top: 20px;
}

#top .menu a{
    display: block;
    color: #c4c4c4;
    text-decoration: none;
    font-size: 1.3em;
    float: right;
    margin-left: 25px;
    border-bottom: 3px solid transparent;
    -webkit-transition:border-color 0.5s linear;  
    -moz-transition:border-color 0.5s linear;  
    -ms-transition:border-color 0.5s linear;  
    -o-transition:border-color 0.5s linear;  
    transition:border-color 0.5s linear;  
}

#top .menu a.blog{
    color: #EC4E00;
    font-weight: 600;
    -webkit-transition:border-color 0.5s linear;  
    -moz-transition:border-color 0.5s linear;  
    -ms-transition:border-color 0.5s linear;  
    -o-transition:border-color 0.5s linear;  
    transition:border-color 0.5s linear;  
}

#top .menu a.active{
    color: black;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 3px solid #3F82B9;
}

#top .menu a:hover{
    color: gray;
    border-bottom: 3px solid #B2D2EE;
}

#top .menu a.blog:hover{
    color: red;
    border-bottom: 3px solid #B2D2EE;
}

#banner{
    height: 383px;
    position: relative;
}

#banner .slogans{
    top: 75px;
    position: absolute;
    width: 100%;
}

#banner .slogans .slogan{
    width: 100%;
    color: white;
    font-size: 4.3em;
    font-weight: 600;
    line-height: 1.1em;
    text-shadow: 5px 5px 5px #000000;
    -moz-text-shadow: 5px 5px 5px #000000;
    -ms-text-shadow: 5px 5px 5px #000000;
    -webkit-text-shadow: 5px 5px 5px #000000;
    -khtml-text-shadow: 5px 5px 5px #000000;
    -o-text-shadow: 5px 5px 5px #000000;
}

#banner .slogan span.normal{
    font-weight: 400;
}


#banner .big_buttons{
    position: absolute;
    width: 960px;
    height: 214px;
    top: 244px;
}

#banner .big_buttons .big_button{
    cursor: pointer;
    float: left;
    width: 213px;
    height: 214px;
    position: relative;
    margin-right: 35px;
}

#banner .big_buttons .big_button.last{
    float: right;
    margin-right: 0;
}

#banner .big_buttons .big_button a.pic{
    display: block;
    width: 213px;
    height: 129px;
    position: absolute;
    top: 10px;
    left: 0;
}

#banner .big_buttons .big_button a.pic img{
    width: 100%;
}

#banner .big_buttons .big_button a.text{
    display: block;
    width: 213px;
    height: 65px;
    position: absolute;
    top: 139px;
    left: 0;
}

#banner .big_buttons .big_button a.text img{
    width: 100%;
}

#content{
    background-color: #EFEFEF;
    padding-top: 70px;
    padding-bottom: 30px;
}

.sentence{
    width: 100%;
    max-width: 922px;
    margin: 10px auto;
}

.divider{
    width: 100%;
    max-width: 930px;
    margin: 0 auto;
}

label.tablet{
    display: none;
    background-color: black;
    color: white;
    font-size: 0.9em;
    padding: 3px 5px;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    right: 10px;
}

table.noborder{
    background-color: transparent;
    border: none;
}

table.noborder td,table.noborder tr{
    background-color: transparent;
    border: none;
}

.whiteFrame{
    padding: 15px;
    text-align: center;
    font-size: 1.5em;
    color: #3c3c3c;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
}

#menutop{
    float: right;
    width: 320px; 
    margin-top: 40px;
}

#social{
    width: 60px; 
    float: left;
    padding-top: 5px;
}

#social a{
    display: block;
    text-decoration: none;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    float: left;
    margin-right: 10px;
}

#social a:hover{
    background-position: top right;
}

#social a.twitter{
    background-image: url('../img/btn_twitter.png');
}

#social a.fb{
    background-image: url('../img/btn_fb.png');
}

#callus{
    float: right;
    border: 1px solid #ccc;
    background-color: white;
    padding: 3px 10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#callus .text{
    font-size: 1.3em; 
    float: left;
    margin-right: 15px;
}

#callus .number{
    font-size: 1.3em; 
    float: left;
    font-weight: bold;
    color: #3F82B9;
}

#socialfoot{
    width: 60px; 
    float: left;
    margin-top: 5px;
}

#socialfoot a{
    display: block;
    text-decoration: none;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    float: left;
    margin-left: 10px;
}

#socialfoot a:hover{
    background-position: top right;
}

#socialfoot a.twitter{
    background-image: url('../img/btn_twitter2.png');
}

#socialfoot a.fb{
    background-image: url('../img/btn_fb2.png');
}


#wrapperFoot .footContent{
    float: right; 
    color: gray; 
    margin-top: 55px;
}

#wrapperFoot .footContent .copy{
    text-align: right;
    float: left; 
    width: 500px;
}

#wrapperFoot .footContent .copy a{
    color: white;
}

.title{
    background-color: #3F82B9;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -o-border-top-left-radius: 5px;
    -o-border-top-right-radius: 5px;
    -moz-border-top-left-radius: 5px;
    -moz-border-top-right-radius: 5px;
    -ie-border-top-left-radius: 5px;
    -ie-border-top-right-radius: 5px;
    padding: 3px 15px 0 15px;
    color: white;
    font-size: 1.3em;
    float: left;
}

label{
    display: block;
    margin: 0;
    padding: 0;
}

input, textarea{
    padding: 0;
    margin: 0;
    padding: 5px;
    border: 1px solid #c6c6c6 #dadada #eaeaea;
    background-color: #fafafa;
    width: 100%;
    color: #999;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    outline: none;
}