
/* ==========================================================================
   Fonts
   ========================================================================== */
@font-face {
    font-family: 'open_sans';
    src: url('../fonts/opensans-bold.eot');
    src: url('../fonts/opensans-bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-bold.woff2') format('woff2'),
         url('../fonts/opensans-bold.woff') format('woff'),
         url('../fonts/opensans-bold.ttf') format('truetype'),
         url('../fonts/opensans-bold.svg#open_sansbold') format('svg');
    font-weight: bold;
    font-style: normal;

}



@font-face {
    font-family: 'open_sans';
    src: url('../fonts/opensans-italic.eot');
    src: url('../fonts/opensans-italic.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-italic.woff2') format('woff2'),
         url('../fonts/opensans-italic.woff') format('woff'),
         url('../fonts/opensans-italic.ttf') format('truetype'),
         url('../fonts/opensans-italic.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: italic;

}



@font-face {
    font-family: 'open_sans';
    src: url('../fonts/opensans-light.eot');
    src: url('../fonts/opensans-light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-light.woff2') format('woff2'),
         url('../fonts/opensans-light.woff') format('woff'),
         url('../fonts/opensans-light.ttf') format('truetype'),
         url('../fonts/opensans-light.svg#open_sanslight') format('svg');
    font-weight: 300;
    font-style: normal;

}



@font-face {
    font-family: 'open_sans';
    src: url('../fonts/opensans-regular.eot');
    src: url('../fonts/opensans-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-regular.woff2') format('woff2'),
         url('../fonts/opensans-regular.woff') format('woff'),
         url('../fonts/opensans-regular.ttf') format('truetype'),
         url('../fonts/opensans-regular.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}



@font-face {
    font-family: 'open_sans';
    src: url('../fonts/opensans-semibold.eot');
    src: url('../fonts/opensans-semibold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-semibold.woff2') format('woff2'),
         url('../fonts/opensans-semibold.woff') format('woff'),
         url('../fonts/opensans-semibold.ttf') format('truetype'),
         url('../fonts/opensans-semibold.svg#open_sanssemibold') format('svg');
    font-weight: 500;
    font-style: normal;

}


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

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html,body{
    height:100%;
    font-family: 'open_sans', Arial, sans-serif;
}


.main{
    height: 100%;
    width:100%;
    background: url(../img/bg.jpg) 50% 50%;
    background-size: cover;
    position: relative;
}
.content_block{
    width:100%;
}

.marker{
    position: absolute;
    width: 1px;
    height: 1px;
    background: red;
    top:50%;
    left: 50%;
}

.container{
    max-width: 1000px;
    margin: 0 auto;
    height: 100%;
    padding: 0 10px;
}

.content{
    text-align: center;
    vertical-align: middle;
    font-size: 32px;
    color:#fff;
}

.block {
  text-align: center;
  /* May want to do this if there is risk the container may be narrower than the element inside */
  white-space: nowrap;
  height: 100%;
    position: relative;
}
 
/* The ghost, nudged to maintain perfect centering */
.block:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em; /* Adjusts for spacing */
}

/* The element to be centered, can also be of any width and height */ 
.centered {
  display: inline-block;
  vertical-align: middle;
  text-align: center;

}

.centered h1{
    white-space:normal;
    font-family: 'open_sans', Arial, sans-serif;
    color: #fff;
    font-size: 50px;
    font-weight: normal;
    letter-spacing: 0px;
    margin: 0;
}

/*.centered p{
    white-space:normal;
    font-family: 'open_sans', Arial, sans-serif;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0px;
    margin: 0;
}*/


.sepstripe{
    width: 35%;
    height: 2px;
    background: #d7d7d7;
    margin: 0 auto;
}
.subtitle{
    white-space:normal;
    font-family: 'open_sans', Arial, sans-serif;
    color: #fff;
    font-size: 30px;
}

.scrollblock{
    position: relative;
    background: url(../img/scrolldown.png) no-repeat 50% 50%;
    height: 35px;
    width: 35px;
    margin: 0 auto;
    top: -75px;
    
}
.content_block{
    padding: 50px 0px;
}

.content_block.no-padding{
    padding-top: 30px;
    padding-bottom: 0px;
    margin-bottom: -20px;
}

.content_block h2{
    white-space:normal;
    color:#ed4f2e;
    font-size: 35px;
    line-height: 35px;
    font-weight: 500;
    text-transform: uppercase;
}

.maintext{
    white-space:normal;
    color:#444444;
    font-size: 16px;
    line-height: 25px;
    font-family: 'open_sans', Arial, sans-serif;
    
}

.content_block.dark{
    background: #252726;
}
.content_block.picture{
    background: #ccc url(../img/bg_picblock.jpg) 50% 50%;
    background-size: cover;
    text-align: center;
}

.content_block.dark h2{
    
    color: #fff;
}

.content_block.dark .maintext, .content_block.picture.dark .mainul{
    color: #fff;
}

.mainul{
    display: inline-block;
    white-space:normal;
    color: #444444;
    font-family: 'open_sans', Arial, sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: normal;
    margin-left: -60px;
    text-align: left;

    
}

.mainul li{
    list-style: none;
    padding-left: 10px;
    
    
}

.mainul li:before{
    content: '___';
    color: rgba(255,255,255,0.0);
    color:transparent;
    background: url(../img/li.png) no-repeat 50% 50%;
    
}

.content_block.dark .mainul{
    color: #fff;
    font-weight: normal;
    list-style: disc;
}

.bigtext{
    font-style: italic;
}

.content_block.dark.footer .maintext{
    font-family: 'open_sans', Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.lowest{
    font-family: 'open_sans', Arial, sans-serif;
    font-size: 15px;
    color: #fff;
    white-space: normal;
}

.lowest a{
    color: #ed4f2e;
    white-space: normal;
}



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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 480px) {
    /* Style adjustments for viewports that meet the condition */
        
    .centered h1{
        font-size: 60px;
        
    }
    .main{
      height: 110%;
    }
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

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

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
