/* =Reset default browser CSS. Based on work by Eric Meyer.
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
        border: 0;
        font-family: inherit;
        font-size: 100%;
        font-style: inherit;
        font-weight: inherit;
        margin: 0;
        outline: 0;
        padding: 0;
        vertical-align: baseline;
}

body {
        background: #fff;
        line-height: 1;
}
ol, ul {
        list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
        border-collapse: separate;
        border-spacing: 0;
}
caption, th, td {
        font-weight: normal;
        text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
        content: "";
}
blockquote, q {
        quotes: "" "";
}
a img {
        border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
        display: block;
}

/* =Structure
----------------------------------------------- */

body {
        padding: 0 5em;  /* idents everything */
        padding-right: 5em; /* for header and footer */
}
#page {
        margin: 2em auto;
        max-width: 1000px;
}
#branding hgroup {
        margin: 0 1%; /* idents title */
}

#access div {
        margin: 0 1%; /* idents elements in menu */
}

.post {
    margin-left: 2%; /* left space of posts */
    margin-right: 7em; /* right space of text */
}

/* =Global
----------------------------------------------- */

body, input, textarea {
        color: #373737;
        font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-weight: 300;
        line-height: 1.625;
}

#page {
        background: #fff;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
        clear: both;
}

hr {
        background-color: #ccc;
        border: 0;
        height: 1px;
        margin-bottom: 1.625em;
}

/* Text elements */
p {
        margin-bottom: 1.625em;
}
ul, ol {
        margin: 0 0 1.625em 2.5em;
}
ul {
        list-style: square;
}
ol {
        list-style-type: decimal;
}
ol ol {
        list-style: upper-alpha;
}
ol ol ol {
        list-style: lower-roman;
}
ol ol ol ol {
        list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
        margin-bottom: 0;
}
dl {
        margin: 0 1.625em;
}
dt {
        font-weight: bold;
}
dd {
        margin-bottom: 1.625em;
}
strong {
        font-weight: bold;
}
cite, em, i {
        font-style: italic;
}
blockquote {
        font-family: Georgia, "Bitstream Charter", serif;
        font-style: italic;
        font-weight: normal;
        margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite {
        font-style: normal;
}
blockquote cite {
        color: #666;
        font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-weight: 300;
        letter-spacing: 0.05em;
        text-transform: uppercase;
}
pre {
        background: #f4f4f4;
        font: 13px "Courier 10 Pitch", Courier, monospace;
        line-height: 1.5;
        margin-bottom: 1.625em;
        overflow: auto;
        padding: 0.75em 1.625em;
}
code, kbd, samp, var {
        font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym, dfn {
        border-bottom: 1px dotted #666;
        cursor: help;
}
address {
        display: block;
        margin: 0 0 1.625em;
}
ins {
        background: #fff9c0;
        text-decoration: none;
}
sup,
sub {
        font-size: 10px;
        height: 0;
        line-height: 1;
        position: relative;
        vertical-align: baseline;
}
sup {
        bottom: 1ex;
}
sub {
        top: .5ex;
}
small {
        font-size: smaller;
}

#news li {
    margin-top: 1em; /* space between news items */
}

/* =Header
----------------------------------------------- */
#branding {
        padding-top: 20px; /* space between the top and the title */
        padding-bottom: 0px; /* space between picture and menu */
        position: relative;
        z-index: 9999;
}
#site-title {
        margin-right: 270px;
        padding: 3.65625em 0 0;
        padding: 0 0 0;
}
#site-title a {
    color: #111;
    font-size: 30px;
    font-weight: bold;
    line-height: 36px;
    text-decoration: none;
}
#site-title a:hover,
#site-title a:focus,
#site-title a:active {
    color: #1982d1;
}

#page-title {
    font-size: 60px;
    font-weight: bold;
}

#site-description {
    color: #7a7a7a;
    font-size: 18px;
    margin: 0 270px 3.65625em 0;
    margin-bottom: 0em;
    font-weight: normal;
    padding: 0 0 0;
}

img {
    height: auto;
    display: block;
    max-width: 100%;
}


/* Forms */
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number],
textarea {
        background: #fafafa;
        -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
        box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
        border: 1px solid #ddd;
        color: #888;
}
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=number]:focus,
textarea:focus {
        color: #373737;
}
textarea {
        padding-left: 3px;
        width: 98%;
}
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number] {
        padding: 3px;
}
input#search-input {
        /*background: url(img/search.png) no-repeat 5px 6px;*/
        -moz-border-radius: 2px;
        border-radius: 2px;
        font-size: 14px;
        height: 22px;
        line-height: 1.2em;
        padding: 4px 5px 4px 10px;
}

/* Search Form */
#branding #searchform {
        position: absolute;
        top: 30px; /* position of the search bar */
        right: 1%;
        text-align: right;
}
#branding #searchform div {
        margin: 0;
}
#branding #search-input {
        float: right;
        -webkit-transition-duration: 400ms;
        -webkit-transition-property: width, background;
        -webkit-transition-timing-function: ease;
        -moz-transition-duration: 400ms;
        -moz-transition-property: width, background;
        -moz-transition-timing-function: ease;
        -o-transition-duration: 400ms;
        -o-transition-property: width, background;
        -o-transition-timing-function: ease;
        width: 90px;
}
#branding #search-input:focus {
        background-color: #f9f9f9;
        width: 196px;
}
#branding #searchsubmit {
        display: none;
}
#branding .only-search #searchform {
        top: 5px;
        z-index: 1;
}
#branding .only-search #search-input {
        background-color: #666;
        border-color: #000;
        color: #222;
}
#branding .only-search #search-input,
#branding .only-search #search-input:focus {
        width: 85%;
}
#branding .only-search #search-input:focus {
        background-color: #bbb;
}
#branding .with-image #searchform {
        top: auto;
        bottom: -27px;
        max-width: 195px;
}
#branding .only-search + #access div {
        padding-right: 205px;
}

/* Assistive text */
.assistive-text,
.screen-reader-text {
        position: absolute !important;
        clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
        clip: rect(1px, 1px, 1px, 1px);
        overflow: hidden;
        height: 1px;
        width: 1px;
}
#access a.assistive-text:focus,
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
        background: #eee;
        border-bottom: 1px solid #ddd;
        color: #1982d1;
        clip: auto !important;
        font-size: 12px;
        height: auto;
        position: absolute;
        text-decoration: underline;
        top: 0;
        left: 7.6%;
        width: auto;
}

.widget img {
        max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
        height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large {
        max-width: 97.5%;
        width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
        height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* =Menu
-------------------------------------------------------------- */

#access {
        background: #222; /* Show a solid color for older browsers */
        background: -moz-linear-gradient(#252525, #0a0a0a);
        background: -o-linear-gradient(#252525, #0a0a0a);
        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */
        background: -webkit-linear-gradient(#252525, #0a0a0a);
        -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
        -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
        clear: both;
        display: block;
        float: right;
        margin: 0 auto 6px;
        width: 100%;
}
#access ul {
        font-size: 13px;
        list-style: none;
        margin: 0 0 0 -0.8125em;
        padding-left: 0;
}
#access li {
        float: left;
        position: relative;
}
#access a {
        color: #eee;
        display: block;
        line-height: 3.7em;  /* box of item with focus matches the height of the menu bar */
        padding: 0 1.2125em; /* space between items */
        text-decoration: none;
}
#access ul ul {
        -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
        -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
        box-shadow: 0 3px 3px rgba(0,0,0,0.2);
        display: none;
        float: left;
        margin: 0;
        position: absolute;
        top: 3.333em;
        left: 0;
        /*width: 188px;*/
        z-index: 99999;
}
#access ul ul ul {
        left: 100%;
        top: 0;
}
#access ul ul a {
        background: #f9f9f9;
        border-bottom: 1px dotted #ddd;
        color: #444;
        font-size: 13px;
        font-weight: normal;
        height: auto;
        line-height: 1.4em;
        /*padding: 0px 8px;
        width: 168px;*/
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
        background: #efefef;
}
#access li:hover > a,
#access a:focus {
        background: #f9f9f9; /* Show a solid color for older browsers */
        background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
        background: -o-linear-gradient(#f9f9f9, #e5e5e5);
        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
        background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
        color: #373737;
}
#access ul li:hover > ul {
        display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
        color:red;
        font-weight: bold;
}
#main-navbar .navbar-nav li.active > a {
        font-weight: bold;
}

.entry-title,
.level1 h1,
.entry-header .entry-meta {
        padding-right: 76px;
}
.entry-title,
.level1 h1{
        clear: both;
        color: #222;
        font-size: 26px;
        font-weight: bold;
        line-height: 1.5em;
        padding-bottom: .3em;
        padding-top: 15px;
}

.entry-content h1,
.entry-content h2,
.comment-content h1,
.comment-content h2 {
        color: #000;
        font-weight: bold;
        margin: 0 0 .8125em;
}
.entry-content h3,
.comment-content h3 {
        font-size: 10px;
        letter-spacing: 0.1em;
        line-height: 2.6em;
        text-transform: uppercase;
}

/* =Footer
----------------------------------------------- */

#colophon {
        clear: both;
}
#supplementary {
        border-top: 1px solid #ddd;
        padding: 1.625em 0;
        overflow: hidden;
}

/* Two Footer Widget Areas */
#supplementary.two .widget-area {
        float: left;
        margin-right: 1%;
        margin-left: 2%;
}
#supplementary.two .widget-area1 {
        width: 65%;
}
#supplementary.two .widget-area2 {
        width: 30%;
}
#supplementary.two .widget-area + .widget-area {
        margin-right: 0;
}

/* =Widgets
----------------------------------------------- */

.widget-area {
        font-size: 12px;
}
.widget {
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
        clear: both;
        margin: 0 0 2.2em;
}
.widget-title {
        color: #666;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.1em;
        line-height: 2.6em;
        text-transform: uppercase;
}
.widget ul {
        font-size: 15px;
        margin: 0;
}
.widget ul ul {
        margin-left: 1.5em;
}
.widget ul li {
        color: #777;
        font-size: 13px;
}
.widget a {
        font-weight: bold;
        text-decoration: none;
}
.widget a:hover,
.widget a:focus,
.widget a:active {
        text-decoration: underline;
}
/* Widget Image */
.widget_image img,
.widget_media_image img {
        border: 0;
        padding: 0;
        height: auto;
        max-width: 100%;
}
@media (min-width: 1024px) {
        .widget_media_image .size-thumbnail {
                padding: 6px;
        }
}
/* Text Widget */
.widget_text ul,
.widget_text ol {
        margin: 0 0 1.625em 2.5em;
}
.widget_text ul ul,
.widget_text ol ol,
.widget_text ul ol,
.widget_text ol ul {
        margin-bottom: 0;
}

@media (max-width: 767px) {
    #site-title a {
        font-size: 24px;
        }
    #site-description {
        font-size: 14px;
        }
    #site-title #site-description {
        margin-right: 0;
        }
    .navbar-default .navbar-collapse{
                border:none;
                /*background:#fff;
                background: #222;*/
                box-shadow:0 5px 10px 2px rgba(0,0,0,.2);
                box-shadow:rgba(0,0,0,.117647) 0 1px 6px,rgba(0,0,0,.239216) 0 1px 4px;
                border-radius:2px;
                width:170px;
                float:left;
                margin:0;
                
    }
    .navbar-toggle { /* icon for collapsed menu */
        background: #222;
        float:left;
    }
    #access { /* make the black menu bar white */
        background: #fff;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border: none;
    }
    #main-navbar{
                opacity:0;
                transform:scaleX(0);
                transform-origin:top left;
                transition:all .25s cubic-bezier(0.23,1,.32,1);
                -webkit-transform:scaleX(0);
                -webkit-transform-origin:top left;
                -webkit-transition:all .25s cubic-bezier(0.23,1,.32,1);
        }
     #main-navbar a{
                font-size:13px;
                line-height:20px
    }
    #main-navbar .navbar-collapse{
                height:0;
                width: 120px;
                transform:scaleY(0);
                transform-origin:top left;
                transition:transform 500ms cubic-bezier(0.23,1,.32,1);
                -webkit-transform:scaleY(0);
                -webkit-transform-origin:top left;
                -webkit-transition:-webkit-transform 500ms cubic-bezier(0.23,1,.32,1);
                background: #222;
    }
            #main-navbar li{
                opacity:0;
                transition:opacity 450ms cubic-bezier(0.23,1,.32,1) 205ms;
                -webkit-transition:opacity 450ms cubic-bezier(0.23,1,.32,1) 205ms
}
        #main-navbar.in{
                transform:scaleX(1);
                -webkit-transform:scaleX(1);
                opacity:1
}
        #main-navbar.in .navbar-collapse{
                transform:scaleY(1);
                -webkit-transform:scaleY(1)
}
        #main-navbar.in li{
                opacity:1
}
}

.navbar-custom.is-visible{
                -webkit-transform:translate3d(0,100%,0);
                -moz-transform:translate3d(0,100%,0);
                -ms-transform:translate3d(0,100%,0);
                -o-transform:translate3d(0,100%,0);
                transform:translate3d(0,100%,0)
}


@media print {
    #branding {
        border-top: none;
        padding: 0;
    }
    #branding hgroup {
        margin: 0;
    }
    #site-title a {
        font-size: 21pt;
    }
    #site-description {
        font-size: 10pt;
    }
    #branding #searchform {
        display: none;
    }
    #branding img {
        display: none;
    }
}
