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

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

html, body, #nav-main, #site-wrapper, #site-canvas {
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Coda', Arial, Helvetica, sans-serif;
}

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

::-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
   ========================================================================== */

.main-container {
    position: relative;
    height: 100%;
}

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

.header-content {
    position: fixed;
    top:0; left:0;
    width: 100%;
}
.header-content,
.footer-container {
    z-index: 10;
}

.footer-container {
    position: fixed;
    top: auto;
    bottom:0;
    width: 100%;
}
.footer-container footer {
    height: 28px;
}
.footer-container .copyright {
    float: left;
}
.footer-container .infos {
    float: right;
}

#___plusone_0 {
    vertical-align: middle !important;
}

/* ===================
    ALL: Dark Theme
   =================== */
a {
    color: #1D98C6;
    text-decoration: none;
}
.header-content {
    border-bottom: 20px solid #333;
}

.footer-container /*,
.main aside*/ {
    border-top: 10px solid #333;
    border-top: 10px solid #333;
}

.header-content,
.footer-container/*,
.main aside*/ {
    background: #444;
}

.title {
    margin: 10px;
}
.title a {
    display: block;
    width: 230px;
}
.title a img{
    max-width: 100%;
    height: auto;
}

.btn-primary{
    color:#fff;
    background-color: #1D98C6;
    border-color: #0EA5CC
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #1C2630;
    border-color: #17212B;
}
/* ==============
    Mesh overlay
   ============== */
body .mc-cycle {
    z-index: -10 !important;
}
#mesh {
    background: url(../img/mesh.png);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    z-index: -5;
}
#overlay {
    position: fixed;
    top: 0px;
    z-index: 99;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

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

#nav-main {
    position: fixed;
    top: 0;
    left: -270px;
    bottom: 0;
    height: 100%;
    background: #444;
    border-right: 10px solid #333;
    width: 270px;
    z-index: 999;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    z-index: 999;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: .3s ease all;
    transition: .3s ease all;

}

/* toggle button */
#nav-toggle {
    position: fixed;
    top: -10px;
    right: 10px;
}
#nav-toggle a {
    display: block;
    font-size: 36px;
    color: #fff;
    background: #333;
    padding: 2px 7px;
    border-radius: 5px;
}
#nav-toggle a:hover , #nav-toggle a:active{
    color: #ebbc4a;
}

#site-wrapper.show-nav #nav-main {
    -webkit-transform: translateX(270px);
    transform: translateX(270px);
    -webkit-transition: .3s ease all;
    transition: .3s ease all;
}
#nav-main ul {
    margin: 0;
    padding: 0;
}
#nav-main ul li a {
    display: block;
    margin: 10px; padding: 10px;
    font-size: medium;
    background: #333;
    color: #fff;

}
#nav-main ul li a:hover,
#nav-main ul li a:active,
#nav-main ul li a.active {
    color: #ebbc4a;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    text-decoration: none;
}
#nav-main ul li a.active {
    color: #1D98C6;
}


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

.main {
    padding: 50px 0;
    margin: 82px auto 0;
    position: relative;
}

.main article h1 {
    font-size: 2em;
}
.main article > h1:first-child,
.main article > h3:first-child,
.main article > h2:first-child,
.main .box > h1:first-child,
.main .box > h3:first-child,
.main .box > h2:first-child{
    margin-top: 0;
}
.main > article > h1:first-child {
    background: #222;
    color: #ebbc4a;
    padding: 5px 10px;
    right: 0;top: 14px;
    transform:rotate(-1deg);
    -ms-transform:rotate(-1deg); /* IE 9 */
    -webkit-transform:rotate(-1deg); /* Opera, Chrome, and Safari */
    position: absolute;
    z-index: 6;

    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.footer-container footer {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: small;
    padding: 5px 0;
    color: #fcfcfc;
}
.footer-container footer a {
    text-decoration: underline;
    color: #fcfcfc;
}

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

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.cycle_wrapper {
    margin: 0 auto;
    position: relative;
}
.cycle article {
    width: 100% !important;
}
.cycle article.first {
    position: relative !important;
    height: auto !important;

}
.cycle article .num {
    display: inline-block;
    background: #1D98C6;
    color: #fff;
    -webkit-border-radius: 23px;
       -moz-border-radius: 23px;
            border-radius: 23px;
    width: 46px;
    height: 46px;
    text-align: center;
    line-height: 46px;

    margin-right: 10px;
    position: relative;
    -webkit-box-shadow: 0 7px 7px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 7px 7px rgba(0,0,0,0.2);
    box-shadow: 0 7px 7px rgba(0,0,0,0.2);
}

.cycle .buttons {
    text-align: right;
}
.cycle-nav a {
    display: inline-block;
    background: #222;
    color: #fff;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    width: 24px;
    height: 24px;

    text-align: center;
    line-height: 24px;
    margin: 0 10px;
}
.cycle-nav a:first-child {
    margin-left: 0;
}
.cycle-nav a:hover, .cycle-nav a:active {
    color: #ebbc4a;
    text-decoration: none;
}
.cycle-nav a.activeSlide {
    background: #1D98C6;
    color: #fff;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

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



}

@media only screen and (min-width: 740px) {
    #nav-main,
    #nav-main ul li a:hover,
    #nav-main ul li a:active,
    #nav-main ul li a.active {
        -webkit-box-shadow: none;
           -moz-box-shadow: none;
                box-shadow: none;
    }
    #nav-main {
        position: fixed;
        height: auto;
        width: auto;
        left: auto;
        bottom: auto;
        top: 20px;
        right: 10px;
        background: transparent;
        border: none;
        margin-left: 240px;
        text-align: right;
    }

    #nav-main ul li a{
        font-size: 14px;
    }
    #nav-main a, #nav-main li {
        display: inline-block;

    }

    #nav-toggle {
        display: none;
    }
    .main {
        margin: 82px auto 36px;
    }

    .footer-container {
        position: fixed;
        bottom: 0;
        width: 100%;
    }

}

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

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

    .header-content/*,
    .main aside*/ {
        -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
           -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
                box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }


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

    .title {
        float: left;
    }



}

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

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

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


    .main {
        margin: 82px auto 36px;
    }

    .title:before {
        max-width: 40%;
    }
}

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

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


    .title:before {
        max-width: 50%;
    }
}

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

.box {
    box-shadow: 0 1px 1px #ccc;
    background:white;
    border-radius:2px;
    user-select:none;
    transform-origin:top left;
    margin-bottom: 15px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.box-with-padding {
    padding: 10px;
}

.box h3.toggle {
    margin-top: 0;
    border-bottom: 1px solid #999999;
    cursor: pointer;
}
.box h3.toggle:before {
    position: relative;
    top: 4px;
    content: ' ';
    display: block;
    width: 9px;
    height: 9px;
    float: right;
    /* background: url('../images/design-userspace.png') no-repeat -61px -24px; */
}

.box h3.toggle.off {
    border-bottom: 0;
    margin-bottom: 0;
}

.box h3.off:before {
    /* background: url('../images/design-userspace.png') no-repeat -52px -24px; */
}

.btn-group + .box {
    margin-top: 15px;
}

/* This is the Twitter Bootstrap documentation's callout css. */
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color:  #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}


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


}
