/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}
h2{
    text-transform: uppercase;
    font-size: 1.2em;
    font-weight: normal;
    margin-bottom: 0;
}
.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
.content-block{
    min-height: 250px;
    overflow: hidden;
    padding-right: 20px;
}
.content-text{
    width: 65%;
    float: left;
    font-size: .8em;
    color:#6d6e71;
    line-height: 150%;

}
.content-text a {
    color: #6D6E71;
    text-decoration: none;    
}

.content-block .image {
    width: 30%;
    float: right;
}
.content-block .image img{
    width: 100%;
}

.content-text.full-text{
    width: 100%
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Verdana,Helvetica, Helvetica Neue, Arial;
}
#video a {
    font-size: .9em;
    color: #666;
    text-decoration: none;
}
#video{
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    width: 100%;
    height: 100%;
    text-align: center;

}
.mejs-container{
    margin: 0 auto;
}
.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */


.title {
    color: white;
    
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 5px 0;
    font-size: .9em;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    color: #666;
}
.image-block img{
    width: 100%;
}
nav a:hover{
    color: #999;
}
nav a:visited,nav a.active {
    border-bottom: 5px solid #999999;
}

nav a:hover {
    text-decoration: none;
}
.disabled{
    opacity: .5;
}
.disabled:hover{
    opacity: 1;
}

#wrapper{
    margin-bottom: 10px;
    position: relative;
    height: 600px;
}
#wrapper-2{
    position: relative;
    overflow: hidden;
    height: 150px;
}
#scroller{
    
}

#scroller li{
    list-style: none;
    float: left;
    padding-right: 10px;
    
}
#scroller ul{
    width: 100%;
}
#scroller ul, .galleries{
    padding: 0;
    margin: 0;
}
.desc{
    color: #666;
    margin: 10px 0;
    font-size: .8em;
    line-height: 140%;
}

.galleries li a{
    display: block;
    color: #666;
    text-decoration: none;
    font-size: .8em;
    text-transform: uppercase;

}
.scroll-bar {
    border: none
}
.galleries li{
    float: left;
    list-style: none;
    padding-right: 10px;
    width: 166px;
    height: 160px;
    line-height: 115%;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 0px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}
.footer-container footer a:hover{
    text-decoration: underline;
}
.footer-container footer a{
    text-decoration: none;
    color: #888;
}
.footer-container footer {
    color: #888;
    padding: 25px 0 10px;
    font-size: 0.6em;
    text-align: center;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

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



.mejs-controls{
    display: none !important
}






nav{
    padding-left: 15px;
}




/* ==========================================================================
   Media Queries
   ========================================================================== */
.title {
    float: right;
    margin-top: 5px;
}
nav{
    padding-left: 0;
}
nav li {
    height: 38px;
    float: left;
    margin-right: 2%;
    margin-bottom: 0;

}
@media only screen and (max-width: 480px){
    nav li a {
    font-size: .65em !important;
    }
}
@media only screen and (max-width: 600px) {
    #home-scroll{
        height: 350px;
    }
    .menu-about{
        clear: left;
    }
    nav{
        
    }
    nav li a {
    font-size: .75em;
    }

    nav li a{
    padding-bottom: 2px;
    }
    #wrapper{
    margin-bottom: 10px;
    position: relative;
    /*height: 300px;*/
    height: 240px;
    }

}
@media only screen and (min-width: 601px) {
    
/* ====================
    INTERMEDIATE: Menu
   ==================== */
   
    nav li {
        height: 41px;
        margin-right: 3.4%;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }
          .content-text{
    width: 100%;
    float: none;
    

}

.content-block .image {
    width: 100%;
    float: none;
}

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

#home-scroll{
    height: 590px;
}
@media only screen and (max-width: 1024px){
    nav a {
    margin-right: 2.6%;
    font-size: .8em;
    }
    .title{
        margin-bottom: 10px;
    }
    .title img{
        height: 90px;
    }
    nav{
        width: 80% !important;
    }
    #home-scroll{
        height: 550px;
    }
    .footer-container footer{
        padding: 5px 0;
    }
} 
@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    

/* ============
    WIDE: Menu
   ============ */

    .content-text{
    width: 68%;
    float: left;
    padding-right: 2%;
    

}

.content-block .image {
    width: 30%;
    float: right;
    padding-top: 14px;
}

    nav {
        float: left;
        width: 70%;
        margin-top: 40px;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (min-width: 1140px) {
.image-block img{
    width: auto;
}

#wrapper-2{
    clear: both;
    padding: 10px 0 0 ;
}
/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
        overflow: hidden;
    }
}
.mejs-overlay {
    display: none !important;
}
#scroller-2{
    height: 150px;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}