/* 
    Created on : May 15, 2014, 10:32:40 AM
    Author     : Arjel
*/

/*****************FONTS********************/
/*font for slider*/
@font-face {
    font-family: helvetica_ce;
    src: local(helvetica_ce), url('../../../fonts/extra/all_confs_mix/helvetica_lt35.ttf') format('opentype');
}

/*fonts for timeline*/
@font-face {
    font-family: 'FontAwesome';
    src: url('../../../fonts/extra/all_confs_mix/fontawesome-webfontd1cc.eot?v=3.2.0');
    src: url('../../../fonts/extra/all_confs_mix/fontawesome-webfontd41d.eot?#iefix&v=3.2.0&776aae') format('embedded-opentype'), 
        url('../../../fonts/extra/all_confs_mix/fontawesome-webfontd1cc.woff?v=3.2.0') format('woff'), 
        url('../../../fonts/extra/all_confs_mix/fontawesome-webfontd1cc.ttf?v=3.2.0') format('truetype'), 
        url('../../../fonts/extra/all_confs_mix/fontawesome-webfont.svg#fontawesomeregular?v=3.2.0') format('svg');
    font-weight: normal;
    font-style: normal
}
/*****************END OF FONTS*************/

/**************END OF GENERAL STYLES***************/
a.disabled{
    pointer-events: none;
    cursor: pointer;
}

#header-outer, #main-outer, #menu-outer, #header-bottom, #footer-outer{
    width: 100%;
    float: left;
}

#header, #main, #header-bottom .container, #footer{
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

/**************END OF GENERAL STYLES***************/

/******************HEADER**************************/
#header-outer.home{
    background-color: #7A8E22;
    min-height: 346px
}

/*LOGO*/
#logo-outer{
    border-bottom: 1px solid #FFF;
    min-height: 89px;
    width: 100%;
    float: left;
    position: relative;
    z-index: 999999;
}

#logo{
    position: relative;
    z-index: 999999;
    width: 300px;
    height: 40px;
    float: left;
}
/*END OF LOGO*/

/* SEARCH */

/*Epoka main header menu + search */
#logo-outer #site-links{
    float: right;
    width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    padding-top: 20px;
}

#logo-outer #site-links #link-menus{
    margin-bottom: 12px;
    float: right;
    font-size: 11px;
    color: #ccc;
    vertical-align: top;
}

#logo-outer #site-links a{
    color: #ccc;
}

#logo-outer #site-links a:hover{
    color: #fff;
}

#logo-outer #site-links .kokasearch{
    float: right;
    width: 320px;
}

#logo-outer #site-links .kokasearch .searchfield {
    width: 158px;
    height: 18px;
    font-size: 12px;
    line-height: 12px;
    margin: 0;
    padding: 1px 2px;
    vertical-align: top;
    background-color: #efefef;
}

#logo-outer #site-links .kokasearch .searchfield:focus {
    outline: none;
    background-color: #fff; 
}

#logo-outer #site-links .kokasearch .searchbtn {
    height: 18px;
    margin: 0;
    padding: 0 10px;
    border: none;
    border-radius: 0;
    background-color: #ccc;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

#logo-outer #site-links .kokasearch .searchbtn:hover, 
#logo-outer #site-links .kokasearch .searchbtn:focus {
    background-color: #afafaf;
    box-shadow: none;
}

/*END of Epoka main header menu + search */


#logo-outer #search .searchFrm{
    float: right;
    margin: 30px 0 15px 0;
}

#logo-outer #search .twitter-typeahead{
    /*margin-right: -42px;
    float:right;*/
}

#logo-outer #search input{
    float:right;
    padding: 7px 7px;
    font-size: 17px;
}

#logo-outer #search .searchImg{
    margin: -4px 0px 0px 0px;
    width: 42px;
    max-height: 42px;
    position: relative;
    z-index: 10;
    float:right;

    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%);
    opacity: 0.7;
}

#logo-outer #search .searchFrm:hover .searchImg, #logo-outer #search .searchFrm:focus .searchImg{
    -webkit-filter: grayscale(0%);
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: grayscale(0%);
    opacity: 1;
}

/* TYPEAHEAD STYLES (AUTOCOMPLETE SEARCH)*/

.tt-dropdown-menu,
.gist {
    text-align: left;
}

.typeahead,
.tt-query,
.tt-hint {
    width: 352px;
    height: 34px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 12px;
    outline: none;
}

.typeahead {
    background-color: #fff;
}

.typeahead:focus {
}

.typeahead .active > a{
    color: #00458c;
}

.tt-query {
}

.tt-hint {
    color: #999
}

.tt-dropdown-menu {
    width: 100%;
    margin-top: 6px;
    padding: 4px 0;
    background-color: #fff;
    color: #666666;
}

.tt-suggestion {
    padding: 3px 10px;
    font-size: 12px;
    line-height: 12px;
}

.tt-suggestion.tt-cursor {
    color: #00458c;
    display:block;
    cursor:pointer;
}

.tt-suggestion.tt-cursor p{
    /*border-bottom: 1px solid #00458c; */
    text-decoration: underline;
}

.tt-suggestion p {
    margin: 0;
    border-bottom: 1px solid #fff;
}

#scrollable-dropdown-menu .tt-dropdown-menu {
    max-height: 150px;
    overflow-y: auto;
}

#rtl-support .tt-dropdown-menu {
    text-align: right;
}
/*END OF TYPEAHEAD STYLES (AUTOCOMPLETE SEARCH)*/
/* END OF SEARCH */


/* HOME SLIDER */
#preview_outer {
    overflow: hidden;
    width: 100%;
    height: 257px;
    position: relative;
}

#preview_inner {
    text-align: left;
    height: 100%;
    position: relative;
}

#preview_inner div {
    float: left;
    max-width: 940px;
    max-height: 520px;
    position: relative;
    padding-top: 20px;
}

#preview_inner .slide-panel {
    width: 940px;
    height: 520px;
    position: relative;
}

#preview_inner .slide-panel img{
    max-width: 65%;
    max-height: 208px;
    padding: 1px;
}

#featured{
    padding-bottom: 20px;
    width: 100%;
    height: 256px;
    float: left;    
}

#featured .big-icon .featured-desc {
    float: left;
    /*width: 300px;*/
    width: 30%;
    color: #FFF;
    font-size: 14px;
    line-height: 20px;
    padding: 0px;
}

.sliderTitle{
    font-size: 24px;
    margin: 0 0 15px 0;
    line-height: 28px;
    font-weight: normal;
    color: #FFF;
    font-family: helvetica_ce, Helvetica, Arial, sans-serif;
}

#featured .sliderReadMore{
    float: right;
    color: #FFF;
    font-weight: bold;
    text-decoration: underline;
    cursor: auto;
}

img.alignright {
    display: inline;
    margin: 0px 0 0px 15px;
    float: right;
}

.slide-panel .mainimg {
    padding: 5px;
    background-color: #FFF;
    max-height: 208px;
    width: 65%;
}

#thumbs {
    position: relative;
    text-align: left;
    top: 17px;
    left: -5px;
    float: left;
    padding: 0 0 14px 0;
}

#sliderArrow {
    position: absolute;
    top: -17px;
    background: url('../../../images/core/arrow_down.png') top center no-repeat;
    width: 62px;
    height: 14px;
    display: none;
}

#thumbs ul{
    padding-left: 0;
    margin: 0 0 20px 0;
    list-style: none;
}

#thumbs ul li {
    margin: 1px 5px 0 5px;
    cursor: pointer;
    display: inline;
    float: left;
    padding-bottom: 3px;
    border-bottom: 1px solid #ccc;
}

#thumbs ul li img{
    width: 52px;
    height: 42px;
    float: left;
}

#thumbs ul li:hover {
    border-bottom: 1px solid #00458c;
}
/** END of home slider*/


#thumbs, #nav-primary-right{
    /*width: 44.946%;*/
    width: 44%;
}

#menuIcon{
    width: 10%;
    margin: 0 auto;
}

#menu-outer{
    background-color: white;
    border-bottom: 1px solid #DFDFDF;
}
/******************END OF HEADER*******************/


/**************SLIDER STYLE RESPONSIVE*************/
.paging-navigation.inactive {
    margin: 0px auto 20px;
}

.paging-navigation li a.inactive {
    /*background: #77797c;*/
    visibility: hidden;
}

.paging-navigation li a.inactive:hover {
    /*background: #77797c;*/
}

.partner-logo{
    min-width: 188px;
    max-width: 790px;
    margin: 5px 10px 5px 0;
    padding: 0px;
    clear: both;
    margin-bottom: 5px;
    float: left;
    border-right: 1px solid #ccc;
}

.partner-logo img{
    height: 24px;
}

#timeline .upcoming{
    background-color: #309940;
}

.noConfsMessage{
    padding: 80px 0 0 0;
    color: #666;
    font-size: 19px;
}

@media screen and (max-width: 840px) {
    #preview_inner .slide-panel .featured-desc, #preview_inner .slide-panel .mainimg{
        width:100%;
        max-width: 564px;
    }

    #preview_inner .slide-panel .mainimg{
        float:left;
        margin: 10px 0;
    }

    #featured{
        height: 396px;
    }

    #preview_outer{
        min-height: 396px;
    }

    #nav-primary-right > ul > li{
        margin: 0 0px 0 3px;
    }

}

#nav-primary-mobile img.shown{
    display: block;
    float: left;
    width: 25px;
}

#nav-primary-mobile img{
    display: none;
}

#nav-primary-mobile .icon-hierarchy{
    font-size: 20px;
}
/**************END OF SLIDER STYLE RESPONSIVE******/

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
    display: block
}

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

html, button, input, select, textarea {
    font-family: sans-serif
}

body, html{
    height: 100%;
}

body {
    margin: 0
}

a:focus {
    outline: thin dotted
}

a:hover, a:active {
    outline: 0
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

h2 {
    font-size: 1.5em;
    margin: .83em 0
}

h3 {
    font-size: 1.17em;
    margin: 1em 0
}

h4 {
    font-size: 1em;
    margin: 1.33em 0
}

h5 {
    font-size: .83em;
    margin: 1.67em 0
}

h6 {
    font-size: .75em;
    margin: 2.33em 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: bold
}

blockquote {
    margin: 1em 40px
}

dfn {
    font-style: italic
}

mark {
    background: #ff0;
    color: #000
}

p, pre {
    margin: 1em 0
}

pre, code, kbd, samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word
}

q {
    quotes: none
}

q:before, q:after {
    content: '';
    content: none
}

small {
    font-size: 75%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

dl, menu, ol, ul {
    margin: 1em 0
}

dd {
    margin: 0 0 0 40px
}

menu, ol, ul {
    padding: 0 0 0 40px
}

nav ul, nav ol {
    list-style: none;
    list-style-image: none
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic
}

figure {
    margin: 0
}

form {
    margin: 0
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle
}

button, input {
    line-height: normal
}

button, input[type="button"], input[type="reset"], input[type="submit"] {

    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible
}

button, input[type="button"], input[type="reset"], input[type="submit"] {

    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible
}

button[disabled], input[disabled] {
    cursor: default
}

input[type="checkbox"], input[type="radio"] {
    padding: 0;
    *height: 13px;
    *width: 13px
}

input[type="search"] {
    -webkit-appearance: textfield
}

input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto;
    vertical-align: top
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

textarea, select, input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"] {
    background: #fafafa;
    /*border: 1px solid rgba(0, 0, 0, 0.2);*/
    border: none;
    color: #6e6c6c;
    padding: 14px 12px;
    -webkit-appearance: none;
    outline: 0;
    margin: 0;
    text-align: left;
    vertical-align: top;
    *padding-top: 2px;
    *padding-bottom: 1px;
    *height: auto
}

input:-moz-placeholder, textarea:-moz-placeholder {
    color: #888
}

textarea {
    min-height: 40px;
    overflow: auto;
    resize: vertical;
    width: 100%
}

button, input[type="reset"], input[type="submit"], input[type="button"] {
    color: #fff;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    -webkit-appearance: none;
    cursor: pointer;
    display: inline-block;
    outline: 0;
    overflow: visible;
    margin: 0;
    padding: 12px 14px 10px;
    text-decoration: none;
    vertical-align: top;
    width: auto;
    font-size: 14px;
    font-weight: 300;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s
}

button, input[type="submit"], input[type="button"], input[type="reset"] {
    cursor: pointer
}

button:hover, input[type="reset"]:hover, input[type="submit"]:hover, input[type="button"]:hover {
    text-decoration: none;
    box-shadow: 0 -6px 15px rgba(0, 0, 0, 0.25) inset
}

button:active, input[type="reset"]:active, input[type="submit"]:active, input[type="button"]:active {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) inset
}

input[type="reset"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea, select[size], select[multiple] {
    height: auto
}

.clearfix {
    *zoom: 1
}

.clearfix:before, .clearfix:after {
    display: table;
    content: ""
}

.clearfix:after {
    clear: both
}

img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] {
    height: auto
}

img.size-full, img.size-large, img.header-image, img.wp-post-image {
    max-width: 100%;
    width: auto;
    height: auto
}

embed, iframe, object, video {
    max-width: 100%
}

html {

}

body {
    background: #efefef;
    color: #333;
    font: FontAwesome, Arial, Helvetica, sans-serif;
    -webkit-backface-visibility: hidden
}

a {
    text-decoration: none;
    outline: 0;
    -webkit-transition-property: background color;
    -webkit-transition-duration: .12s;
    -webkit-transition-timing-function: ease-out;
    -moz-transition-property: background color;
    -moz-transition-duration: .12s;
    -moz-transition-timing-function: ease-out;
    -o-transition-property: background color;
    -o-transition-duration: .12s;
    -o-transition-timing-function: ease-out;
    transition-property: background color;
    transition-duration: .12s;
    transition-timing-function: ease-out
}

a:hover {
    cursor: pointer
}

a, a:hover {

}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #383838
}

#site-container, .container {
    padding: 0 0px
}

#site-container, .container {
    margin: 0 auto;
    max-width: 1000px
}

#primary {

}

#content {
    float: left;
    width: 70%;
    margin: 0 auto
}

#primary.sidebar-off #content {
    width: 100%;
    float: none;
    padding: 0;
    border: none
}

#site-header {
    background: #fff
}

#header .container {
    position: relative
}

#header #logo {
    padding: 30px 10px 30px 0;
    text-align: left;
    max-width: 100%;
}

#header #logo a {
    display: block;
    line-height: 0;
    color: #fff;
    font-weight: 600;
    font-size: 42px;
    line-height: 0;
    letter-spacing: -2px
}

#header #logo img {
    max-width: 100%;
    height: auto
}

#header .avatar {
    top: 20px;
    left: 50%;
    margin-left: -47px;
    position: absolute;
    text-align: center;
    z-index: 9;
    box-shadow: 0px 0px 0px 6px #EAEBED;
    border-radius: 99%;
    -moz-border-radius: 99%;
    -webkit-border-radius: 99%
}

#header-bottom {
    background: #fff;
    padding: 20px 0;
    min-height: 65px;
    max-height: 76px;
}

#nav-primary {
    left: 30px;
    position: absolute;
}

#nav-primary-right{
    right: 30px;
    float:right;
}

#nav-primary-right ul li{
    margin: 0 0px 0 6px;
}

.navPrimary{
    top: -6px
}

.navPrimary ul{
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

.navPrimary ul li i {
    margin: 0 6px 0 0
}

.navPrimary ul li a {
    display: block;
    position: relative;
    outline: none;
    /*line-height: 100%;*/
    height: 100%;
    text-decoration: none
}

.navPrimary > ul > li > a {
    color: #666;
    font-size: 16px;
    font-weight: normal;
    padding: 8px 7px;
    border: 1px solid #666;

}

@media screen and (max-width: 960px) {
    .navPrimary > ul > li > a {
        font-size: 14px;
        padding: 8px 6px;
    }

    /*padding needed when passing from parent menuitem to children's ul*/
    #nav-primary-right > ul > li {
        padding-bottom: 14px;
    }
}

@media screen and (max-width: 840px) {
    .navPrimary > ul > li > a {
        font-size: 13px;
        padding: 5px 3px;
    }

    /*padding needed when passing from parent menuitem to children's ul*/
    #nav-primary-right > ul > li {
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 800px) {
    #thumbs ul li img{
        width: 45px;
        height: 36.3px; 
    }

    #thumbs #sliderArrow{
        margin-left: -4px;
    }

    #nav-primary-right ul li{
        margin: 0 0px 0 2px;
    }

    #nav-primary-right > ul li a{
        font-size: 13px;
        padding: 5px 3px;
    }

    /*padding needed when passing from parent menuitem to children's ul*/
    #nav-primary-right > ul > li {
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 660px) {
    #logo-outer #site-links #link-menus, #logo-outer #ebsco-search-button{
        display: none;
    }
    
    #logo-outer #site-links, #logo-outer #site-links #search, 
    #logo-outer #site-links #search .twitter-typeahead{
        width: 100%;
    }
    
    #logo-outer #site-links #search .twitter-typeahead{
        padding-right: 57px;
    }
    
    #logo-outer #site-links #search .twitter-typeahead input{
        width: 100%;
    }
    
    #logo-outer #site-links #search #search-button{
        margin-top: -21px;        
    }
}

@media screen and (max-width: 600px) {
    #header-outer.home{
        /*height: 520px;*/
    }

    #logo-outer .searchFrm, #logo-outer #allConfsSearch{
        width: 100%;
    }

    #logo-outer .searchFrm .twitter-typeahead{
        width: 100%;
    }

    #logo-outer .searchFrm .tt-dropdown-menu{
        width: 100%;
    }
    /*
    #logo-outer{
        border: none;
    }
    */
}

.navPrimary > ul > li {
    position: relative;
    z-index: 40;
    padding: 0 0px 10px 7px
}

#nav-primary > ul > li{
    float: left;    
}

#nav-primary-right > ul > li{
    float: right;    
}

.navPrimary > ul > li#menuSearchFrm{   
    padding-right: 0px;
    margin-right: -3px;
}

.navPrimary li:hover {
    visibility: inherit
}

.navPrimary ul li:hover ul {
    left: -50px;
    top: 45px;
    z-index: 99
}
/* old one
.navPrimary ul ul {
    background: #333538;
    margin: 0 0 0 50px;
    padding: 5px 20px;
    position: absolute;
    top: -9999em;
    width: 240px;
    z-index: 99999;
}
*/

.navPrimary ul ul {
    background-color: white;
    border: 1px solid #00458c;
    margin: 0 0 0 57px;
    padding: 5px 20px;
    position: absolute;
    top: -9999em;
    /*width: 240px;*/
    width: 154px;
    z-index: 99999;
}
/* old one
.navPrimary ul ul:before {
    border-bottom: 10px solid #333538;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    content: "";
    display: block;
    height: 0;
    left: 36px;
    position: absolute;
    top: -7px;
    width: 0;
    z-index: 999
}
*/

.navPrimary ul ul:before, .navPrimary ul ul:after {
    bottom: 100%;
    left: 36px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.navPrimary ul ul:before {
    border-bottom-color: #00458c;
    border-width: 10px;
    border-top-width: 0px; 
    margin-left: -10px;
}

.navPrimary ul ul:after {
    border-bottom-color: #fff;
    border-width: 9px;
    border-top-width: 0px;
    margin-left: -9px;
}

.navPrimary ul ul li {
    background: none;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    height: auto;
    text-align: left;
    box-shadow: none;
    border: none
}

.navPrimary ul ul li a {
    font-size: 100%;
    font-weight: normal;
    color: #666;
    padding: 7px 0;/*was  15px 0 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navPrimary > ul ul li a:hover {
    text-decoration: underline;
}

.navPrimary ul ul li:last-child a {
    border: none
}

@media screen and (max-width: 920px) {
    .navPrimary ul ul {
        width: 180px
    }

    .navPrimary ul li li:hover ul, .navPrimary ul li li li:hover ul, .navPrimary ul li li li li:hover ul {
        left: 155px
    }

}

#nav-primary-mobile {
    background: #333538;
    display: none;
    margin: 72px auto 10px;
    float:left;
    width: 100%;
}

#nav-primary-mobile img{
    padding: 26px 0;
}

#nav-primary-mobile .menuMainItem{
    float:left;
    width: 100%;
}

#nav-primary-mobile .menu-toggle {
    padding: 20px 20px 20px 40px;
    display: block;
    outline: none;
    color: #fff;
    font-size: 21px;
    float: left;
}

#nav-primary-mobile .icon-menu {
    padding: 20px 40px;
    color: #fff;
    font-size: 21px;
    float: right;
}

#nav-primary-mobile .menu-toggle i {
    margin: 0 15px 0 0
}

#nav-primary-mobile ul {
    background: #333538;
    list-style: none;
    margin: 0 0 0;
    padding: 0 20px 10px 75px;
    display: none
}

#nav-primary-mobile ul.opened {
    display: block;
}

#nav-primary-mobile ul a {
    display: block;
    padding: 12px 0;
    outline: none;
    color: #fff
}

#nav-primary-mobile ul li, #nav-primary-mobile ul .sub-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.15)
}

#nav-primary-mobile ul li:first-child {
    border-top: none
}

.paging-navigation {
    clear: both;
    margin: -40px auto 20px;
    position: relative
}

.paging-navigation:after {
    border: 4px solid #EAEBED;
    content: "";
    display: block;
    height: 8px;
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -8px;
    width: 8px;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px
}

.paging-navigation ul {
    list-style: none;
    padding: 0;
    margin: -8px auto 0;
    text-align: center
}

.paging-navigation li {
    position: relative;
    width: 50%
}

.paging-navigation li a {
    background: #333538;
    color: #fff;
    display: table;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 11px;
    line-height: 100%;
    border-radius: 99px;
    -moz-border-radius: 99px;
    -webkit-border-radius: 99px
}

.paging-navigation li.nav-previous {
    float: left;
    padding-right: 20px
}

.paging-navigation li.nav-previous a {
    float: right
}

.paging-navigation li.nav-next {
    float: right;
    padding-left: 20px
}

.paging-navigation li.nav-next a {
    float: left
}

.paging-navigation li i {
    font-size: 12px;
    font-weight: normal
}

.paging-navigation li a {
    color: #fff
}

.hentry {
    position: relative;
    margin: 0 auto 30px
}

.hentry .hentry-box {
    background: #fff;
    /*padding:5px;
    *//*border:1px solid #dfdfdf*/
}

.hentry .entry-wrap {
    padding: 20px 15px
}

.hentry .entry-date {
    font-size: 11px;
    padding: 8px 12px 9px;
    color: #fff;
    border: 2px solid #eaebed;
    line-height: 100%;
    border-radius: 99px;
    -moz-border-radius: 99px;
    -webkit-border-radius: 99px
}

.hentry .entry-header {
    margin: 0 0 10px;
    position: relative
}

.hentry .entry-title {
    margin: 0 0 15px;
    font-size: 22px;
    font-weight: 600
}

.short-title{
    font-weight: bold;
}

.hentry .entry-title, .hentry .entry-title a {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    color: #00458c;
    line-height: 26px;
    outline: none;
    text-decoration: none
}

.home .entry-summary, .home .entry-content {
    font-size: 14px;
    line-height: 22px
}

.entry-footer {
    margin: 5px 0 0;
    padding: 0 5px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5)
}

.entry-footer ul {
    text-align: right;
    margin: 0;
    padding: 0;
    list-style: none
}

.hentry .entry-thumb {
    position: relative
}

.hentry .entry-thumb img {
    height: auto;
    max-width: 100%;
    display: block;
    position: relative
}

.hentry .entry-thumb-caption {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff
}

.hentry .entry-thumb-caption .caption-content {
    bottom: 0;
    color: #FFF;
    left: 0;
    padding: 15px;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -2.5em;
    font-size: 100%
}

.hentry .entry-thumb-caption .caption-content a {
    color: #fff
}

.hentry .entry-thumb-caption {
    height: 100%;
    width: 100%;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    text-align: center;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    display: none\9

}

.hentry .entry-thumb:hover .entry-thumb-caption {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
}

.caption-content .readmore {
    border: 2px solid #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 99px;
    -moz-border-radius: 99px;
    -webkit-border-radius: 99px
}

.avatar {
    border-radius: 99%;
    -moz-border-radius: 99%;
    -webkit-border-radius: 99%;
    box-shadow: 0px 0px 0px 6px #EAEBED;
    position: relative;
    z-index: 9;
    margin-top: 12px;
    max-width: 95px;
    max-height: 95px;
    min-width: 70px;
    min-height: 70px;
    width: 100%;
    height: 100%;
}

code, pre {
    display: block;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    line-height: 0.8em;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre;
    white-space: pre-wrap
}

pre {
    background: #f5f5f5;
    border: 1px solid #d6d6d6;
    padding: 2em;
    line-height: 1.5em;
    margin: 0 0 1.5em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px
}

#timeline {
    list-style: none;
    padding: 0 0 40px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden
}

#timeline:before {
    background: #8e9399;
    content: "";
    left: 50%;
    top: 10px;
    bottom: 0;
    position: absolute;
    width: 2px;
    margin-left: -1px;
    margin-top: -10px;
    height: 9999px
}

#timeline > li {
    display: block;
    width: 50%;
    position: relative;
    padding-top: 40px
}

#timeline > li:nth-child(odd) {
    float: left;
    clear: left;
    padding-right: 20px
}

#timeline > li:nth-child(even) {
    float: right;
    clear: right;
    padding-left: 20px
}

#timeline > li:nth-child(1), #timeline > li:nth-child(2) {
    padding-top: 100px
}

.home #timeline > li:nth-child(1), .home #timeline > li:nth-child(2) {
    padding-top: 100px
}

#timeline > li:nth-child(2n) {
    margin-top: 60px
}

#timeline > li .hentry:before {
    display: block;
    position: absolute;
    right: -28px;
    top: -30px;
    content: "";
    height: 8px;
    width: 8px;
    border: 4px solid #eaebed;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px
}

#timeline > li:nth-child(odd) .hentry:before {
    right: -28px
}

#timeline > li:nth-child(even) .hentry:before {
    left: -28px
}

#timeline > li .hentry .entry-date {
    position: absolute;
    top: -40px
}

#timeline > li:nth-child(odd) .hentry .entry-date {
    right: -2px
}

#timeline > li:nth-child(even) .hentry .entry-date {
    left: -2px
}

#timeline li:nth-child(1) {
    animation-delay: 0.1s
}

#timeline li:nth-child(2) {
    animation-delay: 0.2s
}

#timeline li:nth-child(3) {
    animation-delay: 0.3s
}

#timeline li:nth-child(4) {
    animation-delay: 0.4s
}

.animated {
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    -moz-animation-name: fadeInUp;
    -o-animation-name: fadeInUp;
    animation-name: fadeInUp
}

@media screen and (max-width: 720px) {
    #site-container, .container {
        padding: 0 20px
    }

    #primary #content, #primary #sidebar {
        width: 100%;
        float: none
    }

    #primary #content {
        margin: 0 0 20px;
        padding: 0 !important
    }

    #primary.sidebar-right #sidebar, #primary.sidebar-left #sidebar {
        padding: 0;
        clear: both
    }

    .navPrimary {
        display: none
    }

    #nav-primary-mobile {
        display: block
    }

    #thumbs{
        width:100%
    }

    #menu #menuIcon{
        margin: 0;
    }

    #header-bottom .page-title {
        margin: 0 0 0 30px;
        text-align: left
    }

    #commentform .comment-form-author label, #commentform .comment-form-email label, #commentform .comment-form-url label {
        display: block;
        margin: 0 0 10px
    }

    #commentform input {
        flaot: none;
        margin: 0 0 10px
    }

    #timeline{
        padding-bottom: 0px;
    }

    #timeline:before {
        left: 13px;
        margin-left: 0
    }

    #timeline > li {
        float: left;
        width: 100%;
        padding: 0 0 0 38px !important;
        margin: 0 0 20px !important
    }

    #timeline > li:first-child {
        padding-top: 60px !important
    }

    .home #timeline > li:first-child {
        padding-top: 100px !important
    }

    #timeline > li .hentry:before {
        left: -32px !important
    }

    #timeline > li .hentry .entry-date {
        left: 0;
        right: auto !important
    }

    .paging-navigation{
        float:left;
    }
    .paging-navigation li.nav-previous{
        padding-right: 10px;
    }
    .paging-navigation li.nav-next{
        padding-left: 10px;
    }

    .paging-navigation:after {
        /*display: none*/
    }

    #nav-below{
        margin-left: -26px;
    }

    #footer #mobile-copyright{
        padding: 10px 0;
        width: 100%;
    }

    #footer #mobile-social, #footer #mobile-social a{
        float: none;
    }

    #footer #mobile-social a{
        margin-left: 0px;
    }
}

@media screen and (max-width: 480px) {
    #nav-primary-mobile .menu-toggle, #nav-primary-mobile .icon-menu {
        padding: 20px;
    }

    #nav-primary-mobile ul{
        padding: 0 20px 10px 55px;
    }

    html, body {
        width: 100%;
        margin: 0px;
        padding: 0px;
/*      overflow-x: hidden conflicts with scroll to header bottom*/
    }

    #menuIcon{
        margin: 0;
    }

    #menu .avatar {
        width: 70px;
        height: 70px;
    }

    #menu .container{
        padding: 0;
    }

    #timeline:before {
        left: 4px;
        margin-left: 0
    }

    #timeline > li {
        padding: 0 0 0 30px !important
    }

    #timeline > li .hentry:before {
        left: -32px !important
    }

    #nav-below{
        margin-left: -35px;
    }    
}


[class^="icon-"], [class*=" icon-"] {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    *margin-right: .3em
}

[class^="icon-"]:before, [class*=" icon-"]:before {
    text-decoration: inherit;
    display: inline-block;
    cursor: default;
    speak: none
}

a [class^="icon-"], a [class*=" icon-"] {
    display: inline
}

[class^="icon-"], [class*=" icon-"] {
    display: inline;
    width: auto;
    height: auto;
    line-height: normal;
    vertical-align: baseline;
    background-image: none;
    background-position: 0% 0%;
    background-repeat: repeat;
    margin-top: 0
}

.icon-time:before {
    content: "\f017"
}

.icon-chevron-left:before {
    content: "\f053"
}

.icon-chevron-right:before {
    content: "\f054"
}

.icon-calendar:before {
    content: "\f073"
}

.icon-menu:before {
    content: "\f0c9"
}

.icon-hierarchy:before {
    content: "\f0e8"
}

button::-moz-focus-inner {
    padding: 0;
    border: 0
}

[class^="icon-"], [class*=" icon-"] {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    *margin-right: .3em
}


/* FOOTER */
#footer-outer{
    min-height: 28px;
    padding-bottom: 20px;
}

#mobile-copyright{
    float:left;
    margin-top: 8px;
}

#mobile-copyright p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #B9B9B9;
    text-align: center;
    margin-top: 0px;
    padding: 0;
    float: left;
}

#mobile-social{
    vertical-align: middle;
    float: right;
    margin-top: 6px;
}

#mobile-social a {
    float: left;
    margin-left: 5px;
}

#mobile-social img{
    opacity: .7; 
    filter: gray;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);    
}

#mobile-social img:hover{
    opacity: 1; 
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

/*END OF FOOTER*/