/*
 * 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: #FFFFFF;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 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
   ========================================================================== */
* {
  margin: 0;
  -webkit-font-smoothing:antialiased;
}

html{
    background: #081c27; /* Old browsers */
    background: -moz-linear-gradient(left, #081c27 0%, #0b5782 50%, #081c27 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#081c27), color-stop(50%,#0b5782), color-stop(100%,#081c27)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #081c27 0%,#0b5782 50%,#081c27 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #081c27 0%,#0b5782 50%,#081c27 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #081c27 0%,#0b5782 50%,#081c27 100%); /* IE10+ */
    background: linear-gradient(to right, #081c27 0%,#0b5782 50%,#081c27 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#081c27', endColorstr='#081c27',GradientType=1 ); /* IE6-9 */
    height: 100%;
}
body {
    padding: 0;
    margin: 0;
    font-family: 'Arvo', serif;  
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    position: relative;
    cursor: default; 
    height: 100%;
}
.page-wrap {
  min-height: 100%;
  /* equal to footer height */
  margin-bottom: -65px; 
}
.page-wrap:after {
  content: "";
  display: block;
}
footer, .page-wrap:after {
  /* .push must be the same height as footer */
  height: 65px; 
}

.row {
  max-width:60em;
}

a, a:visited{
    text-decoration: none;
    color: white;
    transition:color 0.3s;
    -webkit-transition:color 0.3s;
    -o-transition:color 0.3s;
    -ms-transition:color 0.3s;
    -moz-transition:color 0.3s;
}
a:hover{
    color:#ddd !important;
}
#content a,#content a:visited{
    text-decoration: underline;
}


header{
    background: #676767; /* Old browsers */
    background: -moz-linear-gradient(left,  #676767 0%, #a5a6a8 50%, #676767 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#676767), color-stop(50%,#a5a6a8), color-stop(100%,#676767)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #676767 0%,#a5a6a8 50%,#676767 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #676767 0%,#a5a6a8 50%,#676767 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #676767 0%,#a5a6a8 50%,#676767 100%); /* IE10+ */
    background: linear-gradient(to right,  #676767 0%,#a5a6a8 50%,#676767 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#676767', endColorstr='#676767',GradientType=1 ); /* IE6-9 */
}
#secNav{
	 clear: both;
	padding-left: 0.833em;
}
#secNav ul{
    margin-top: 40px;
    padding: 0;
    font-size: 0;
}

#secNav ul li {
margin: 0 1px 0 0;
padding: 0;
display: inline-block;
}
#secNav ul li a{
    margin:0;
    display: block;
    padding: 9px;
    font-size: 14px;
    color:#000;
    text-decoration: none;
}

#mainNav{
}
#mainNav ul{
    margin: 0;
    padding: 0;
    font-size: 0;
}

#mainNav ul li{
    margin: 0 1px 0 0;
    padding: 0;
    display: inline-block;
    background:#757575;
    position: relative;
}
#mainNav ul li:last-child{
    margin:0;
}
#mainNav ul li a{
    margin:0;
    display: block;
    padding: 9px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color:#fff;
    text-decoration: none;
}

#mainNav ul li ul{
    display: none;
    position: absolute;
    top: 32px;
    left: 0;
    z-index: 100;
}
#mainNav ul li ul li{
    width: 100%;
}
#mainNav ul li ul li a{
    font-size: 13px;
}
#mainNav ul li:hover ul{
    display: block;
}

#socialNav ul{
    margin: 0;
    padding: 0;
    text-align: right;
    font-size: 0;
}

#socialNav ul li{
    margin: 0 1px 0 0;
    padding: 0;
    display: inline-block;
    background:#0b5782;
}
#socialNav ul li:last-child{
    margin:0;
}
#socialNav ul li a{
    margin:0;
    display: block;
    padding: 6px;
}


img#logo{
    margin: 41px 0 18px 0;
}

#slider{
    margin: 40px 0 0 0;
}
.swipe {
  overflow: hidden;
  visibility: hidden;
  position: relative;
}
.swipe-wrap {
  overflow: hidden;
  position: relative;
}
.swipe-wrap > div {
  float:left;
  width:100%;
  position: relative;
}
.position {
    text-align: center;
    list-style: none;
    margin: 10px;
    padding: 0;
}
.position span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: #ffffff;
    margin: 0 2px;
    cursor: default;
}

.position span.on {
    background-color: #6897b2;
}

.sliderControl .right, .sliderControl .left{
    width: 24px;
    height: 26px;
    background: url(../img/next.svg) no-repeat;
    overflow: hidden;
    text-indent: 9999px;
    position: absolute;
    top:50%;
    margin-top:-13px;
    right:-1px;
}
.sliderControl .left{
    background: url(../img/prev.svg) no-repeat;
    right:auto;
    left:-1px;

}
footer{
    width: 100%;
    border-top: 2px solid white;
    margin-top: 5px;
    height:65px;
}

footer #author{
    width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
    text-align: center;
}

#menuLink{
    font-size: 14px;
    font-style: italic;
    color:white;
    display: block;
    text-align: center;
    background: url(../img/menu.svg) no-repeat center top;
    padding-top: 15px;
    margin: 10px;

}


#content h1{
    font-size: 52px;
    text-transform: uppercase;
    font-weight: 400;
    color: #f5f5f5;
    margin: 0;
    padding: 40px 0 10px 0;
    line-height: 1;
    letter-spacing: 2px;
}
#content h2{
    font-size: 38px;
    text-transform: uppercase;
    font-weight: 400;
    color: #f5f5f5;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1;
    letter-spacing: 1px;
}


#content h3{
    font-size: 1.5em;
    font-weight: 550;
    color: #FFFFFF;
    margin-top: 80px;
    margin-bottom: 10px;
}


#content h4{
    font-size: 2.5em;
    color: #FFFFFF;
    font-weight: 500;
    margin-bottom:8px;
    margin-top:5px;
}

#content p{
    font-size: 1em;
    font-weight: normal;
    color: #fff;
    margin: 0 0 0 0;
    margin-bottom: 9px;
    line-height: 21px;
}

#content figure{
    margin:5px auto;
}
#content img{
    margin:20px auto;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
#content b{
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 23px 0;
    padding: 0;

    line-height: 26px;
}

#content ul{
    margin: 0;
    padding: 0;
    list-style:none;
}
#content tr td{
    font-size: 14px;
    color: #fff;
    vertical-align: top;
    line-height: 1.3;
    padding-bottom: 2px;
}
#content tr td:first-child{
    width: 160px;
}


#content ul li{
    text-indent: 11px;
    position: relative;
    color: #fff;
    line-height:21px;
    font-weight: bold;
    font-size: 14px;
}
#content ul li em{
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
}
#content ul li:before{
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    top: 8px;
    left: 2px;
    position: absolute;
}

#content .twoColums{
    -moz-column-count:2; /* Firefox */
    -webkit-column-count:2; /* Safari and Chrome */
    column-count:2;

    -moz-column-gap:15px; /* Firefox */
    -webkit-column-gap:15px; /* Safari and Chrome */
    column-gap:15px;
}
#content .whiteSep{
    clear: both;
	opacity: 0.25;
    width: 100%;
    height: 1px;
    background: white;
    display: block;
    margin: 40px 0;
}


#content .gradientSep{
    width: 100%;
    height: 20px;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.32) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.32)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.32) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0.32) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0.32) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0.32) 0%,rgba(0,0,0,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#52000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}


@media only screen and (max-width: 48em) {

    #content h1{
        font-size: 38px;
    }
    #content h2{
        font-size: 32px;
    }
    #content h4 {
        font-size: 25px;
    }

    #content .twoColums{
        -moz-column-count:1; /* Firefox */
        -webkit-column-count:1; /* Safari and Chrome */
        column-count:1;
    }
    
}


/* ==========================================================================
   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.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


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

/* ==========================================================================
   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;
    }
}
