/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

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

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

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

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

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

textarea {
    resize: vertical;
}

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


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

body {
    font: 16px/26px "Lucida Grande","Lucida Sans Unicode",Arial,Helvetica,sans-serif;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

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

.header-container {
    /*border-bottom: 20px solid #e44d26;*/
}

.footer-container,
 {
    border-top: 20px solid #e44d26;
}

.header-container,
.footer-container {
    background: #0A1658;
}
.main aside{background: #36aae5;}
.header-container{background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #0A1658),
    color-stop(0.75, #025BAE)
);
background-image: -o-linear-gradient(bottom, #0A1658 0%, #025BAE 75%);
background-image: -moz-linear-gradient(bottom, #0A1658 0%, #025BAE 75%);
background-image: -webkit-linear-gradient(bottom, #0A1658 0%, #025BAE 75%);
background-image: -ms-linear-gradient(bottom, #0A1658 0%, #025BAE 75%);
background-image: linear-gradient(to bottom, #0A1658 0%, #025BAE 75%);}
.title {
    color: white;
}
.footer-container{background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #025BAE),
    color-stop(0.75, #0A1658)
);
background-image: -o-linear-gradient(bottom, #025BAE 0%, #0A1658 75%);
background-image: -moz-linear-gradient(bottom, #025BAE 0%, #0A1658 75%);
background-image: -webkit-linear-gradient(bottom, #025BAE 0%, #0A1658 75%);
background-image: -ms-linear-gradient(bottom, #025BAE 0%, #0A1658 75%);
background-image: linear-gradient(to bottom, #025BAE 0%, #0A1658 75%);}
/* ==============
    MOBILE: Menu
   ============== */

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

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

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

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2.5em;
    font-weight:normal;
    color:#2d2a2b;
    line-height:1em;
}

.main aside {
    color: white;
    padding: 0px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

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

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.footer-container ul{margin:0;padding:0;list-style-type: none}
.footer-container li{float:left;margin-left:10px;}
.col{width:45%;float:left;margin-left:3%;}
.img-responsive{max-width: 100%;height: auto;display:block;}
.header-container img,.header-container h1{float:Left;}
.main aside{width:38%padding-top:0;}
.main aside h3{background: #36aae5;font-weight:normal;margin-top:12px;margin-bottom:0;font-size:2em;}
.main aside h3, .main aside p{padding:5px 10px;}
.iframe {
position: relative;
padding-bottom: 65.25%;
padding-top: 30px;
height: 0;
overflow: auto; 
-webkit-overflow-scrolling:touch; //<<--- THIS IS THE KEY 
border: solid black 1px;
} 
.iframe iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
small{font-size:70%;}
.border-right{border-right:1px dotted #6571B4;}
a.mobile{color:#FFF;text-decoration:none;cursor: pointer}
dl{margin:3px 3px 10px 10px;border-bottom:1px dotted #6571B4;}
dt{float:left;width:75%;font-weight:bold;margin:0;padding:0px;}
dd{float:right;width:25%;text-align:left;margin:0;padding:0px;}

.rounded {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin-top:20px;
}
h3.rounded {
   
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-bottom-right-radius: 0px;
  -moz-border-radius-bottomleft: 0px;
  -moz-border-radius-bottomright: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.img-polaroid {
  padding: 4px;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.img-circle {
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
  border-radius: 500px;
}
/** Images **/
/** slideshow **/
 /* Prevent the slideshow from flashing on load */
    #slides {
      display: none
    }

    /* Center the slideshow */
    .container {
      margin: 0 auto;
      width:auto;
    }
    .slidesjs-pagination {
      margin: 6px 0 0;
      float: right;
      list-style: none;
    }

    .slidesjs-pagination li {
      float: left;
      margin: 0 1px;
    }

    .slidesjs-pagination li a {
      display: block;
      width: 13px;
      height: 0;
      padding-top: 13px;
      background-image: url(../img/pagination.png);
      background-position: 0 0;
      float: left;
      overflow: hidden;
    }

    .slidesjs-pagination li a.active,
    .slidesjs-pagination li a:hover.active {
      background-position: 0 -13px
    }

    .slidesjs-pagination li a:hover {
      background-position: 0 -26px
    }

    #slides a:link,
    #slides a:visited {
      color: #333
    }

    #slides a:hover,
    #slides a:active {
      color: #9e2020
    }
/** end slide show **/
/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 480px) {
  .col{display:block;width:98%;}
}
@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */
.col{display:block;width:98%;}
    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

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

    nav li:last-child a {
        margin-right: 0;
    }

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

    nav ul li {
        display: inline;
    }

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

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */
   .col{/* width:45%; */float:left;margin-left:3%;}
    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }


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

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

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

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

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

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

.header-container h1{margin-left:20px;margin-top:45px;}
}

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

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

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

.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;
        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) ")";
    }

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

    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 CSS--------------*/

hr.style-three{overflow:visible;/* For IE */padding:0;border:none;background:#00aceb;text-align:center;height:1px;}

@media only screen and (max-width: 480px) {
  h2{color:#fff; padding-top:10px;}
  h4{color:#c10a0a;}
  p{color:#fff;}
  hr.style-three{display:none;}
}


