/*
Theme Name: LGL 2013
Theme URI: http://www.lgl.lt/
Author: Andrius Dubinas
Author URI: http://www.linkedin.com/in/andriusdubinas/
Description: LGL 2013
Version: 1.0.0
License: ©LGL, Andrius Dubinas 2013
License URI: http://www.lgl.lt/
*/
/* Grid: 1140px wide responsive. 12 collumns. Collumn width: 62px; spacing: 36px;

			Collumn				Column 		Element
Width		width		Spacing	allocation		width
-------------------------------------------------------------------------------
1140 px	62 px		36 px		1				62 px
									2				160 px
									3				258 px
									4				356 px
									5				454 px
									6				552 px
									7				650 px
									8				748 px
									9				846 px
									10				944 px
									11				1042 px
									12				1140 px
*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i');

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;
}

:focus {
    outline: 0;
}

body {
    background: #efefef;
    padding: 0;
}

ol, ul {
    list-style: none;
}

table {
    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;
}

.foto-icon-corner {
    position: absolute;
    right: 4px;
    top: 4px;
}

.foto-icon {
    width: 16px;
    height: 16px;
    background-image: url(images/foto-icon.png);
    display: inline-block;
    vertical-align: middle;
}

.debug {
    border: 1px dashed #1982d1;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.cl {
    clear: left;
}

.cr {
    clear: right;
}

.cb {
    clear: both;
}

.cn {
    clear: none;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.group:after {
    display: block;
    height: 0;
    font-size: 0;
    content: ".";
    clear: both;
    visibility: hidden;
}

.shadow1 {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2);
}

/* =Structure
----------------------------------------------- */
#page {
    margin: 0;
    width: 100%;
    min-width: 320px;
}

#primary {

    max-width: 1140px;
    margin: 0 auto;
}

#content {
    position: relative;
}

#content-inner {
    float: left;
    width: 100%;
}

#content-inner-in {
    margin-right: 258px;
    overflow: hidden;
}

#content #sidebar-page {
    float: left;
    width: 258px;
    margin-left: -258px;
}

#content #sidebar-page,
#content #masonry-sidebar {
    margin-bottom: 22px;
    background-color: #f5f5f5;
    overflow: hidden;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}


/* error404 */
.error404 #primary {
}

.error404 #primary #content {
}

/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.625em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.625em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* =Global
----------------------------------------------- */

body, input, textarea {
    color: #373737;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.38;
}

/* 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: 19px;
}

ul, ol {
    margin: 0 0 19px 36px;
}

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 {
}

strong {
    font-weight: 700
}

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-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    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 {
    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;
}

/* Forms */
input[type=text],
input[type=password],
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,
textarea:focus {
    color: #373737;
}

textarea {
    padding-left: 3px;
    width: 98%;
}

input[type=text] {
    padding: 3px;
}

input#s {
    background: url(images/search.png) no-repeat 5px 6px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 14px;
    height: 22px;
    line-height: 1.2em;
    padding: 4px 10px 4px 28px;
}

input#searchsubmit {
    display: none;
}

/* Links */
a {
    color: #1982d1;
    text-decoration: none;
}

a:focus,
a:active,
a:hover {
    text-decoration: underline;
}

.color2 a {
    /*color: #d75700;*/
}

.color3 a {
    /*color: #008c2a;*/
}

/* Assistive text */
.assistive-text {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}

#access a.assistive-text:active,
#access a.assistive-text:focus {
    background: #eeeeee;
    color: #1982d1;
    clip: auto !important;
    font-size: 22px;
    position: absolute;
    text-decoration: underline;
    top: 0;
    left: 0;
    padding: 10px;
}


/* =Header
----------------------------------------------- */
.branding-container {
    width: 100%;
    background: none repeat scroll 0 0 #FFFFFF;
    /*border-bottom: 10px solid #333333;*/
    border-bottom: 1px solid #bebebe;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    margin: 0 0 20px 0;
}

#branding {
    position: relative;
    z-index: 8000;
    background: #ffffff;
    margin: 0 auto;
    max-width: 1140px;
}

#branding #logo {
    display: block;
    float: left;
    height: 175px;
    margin: 10px 0 15px 0;
}

/* =Menu
-------------------------------------------------------------- */

#access {
    display: block;
    overflow: hidden;
    padding-top: 17px;
}

#access .menu-primary-navigation-container {
    float: left;
}

#access ul {
    font-size: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#access > ul {
    margin: 0 0 0 50px;
}

#access > ul > li {
    float: left;
}

#access a {
    color: #333333;
    display: block;
    line-height: 20px;
    text-decoration: none;
    font-family: Calibri, Lucida Grande, Lucida Sans Unicode, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    -webkit-transition: all 0.8s ease 0s;
    -moz-transition: all 0.8s ease 0s;
    -o-transition: all 0.8s ease 0s;
    -ms-transition: all 0.8s ease 0s;
    transition: all 0.8s ease 0s;
}

#access > ul > li > a {
    padding: 51px 0px 6px 0px;
    margin: 0px 14px 15px 14px;
    border-bottom: 3px none transparent;
    z-index: 1000;
}

#access ul ul a {
    font-size: 16px;
    line-height: 20px;
}

#access > ul > li > ul {
    -webkit-box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.2);
    margin: 0;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #bebebe;
    z-index: 999;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;

    -webkit-transition: top 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, visibility 0s ease-in-out 0.4s;
    -moz-transition: top 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, visibility 0s ease-in-out 0.4s;
    -o-transition: top 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, visibility 0s ease-in-out 0.4s;
    -ms-transition: top 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, visibility 0s ease-in-out 0.4s;
    transition: top 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, visibility 0s ease-in-out 0.4s;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    visibility: hidden;
}

.blog-1 #access #menu-item-957 > ul,
.blog-1 #access #menu-item-956 > ul,
.blog-2 #access #menu-item-106 > ul,
.blog-2 #access #menu-item-105 > ul {
    top: 54px;
}


#access > ul > li:hover > ul,
#access > ul > li:focus > ul,
#access > ul > li:active > ul {
    -webkit-transition: top 0.2s ease-in-out 0.2s, opacity 0.2s ease-in-out 0.2s, visibility 0s ease-in-out 0.2s;
    -moz-transition: top 0.2s ease-in-out 0.2s, opacity 0.2s ease-in-out 0.2s, visibility 0s ease-in-out 0.2s;
    -o-transition: top 0.2s ease-in-out 0.2s, opacity 0.2s ease-in-out 0.2s, visibility 0s ease-in-out 0.2s;
    -ms-transition: top 0.2s ease-in-out 0.2s, opacity 0.2s ease-in-out 0.2s, visibility 0s ease-in-out 0.2s;
    transition: top 0.2s ease-in-out 0.2s, opacity 0.2s ease-in-out 0.2s, visibility 0s ease-in-out 0.2s;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    visibility: visible;
    top: 108px;
    outline: 1px solid transparent;
}

.blog-1 #access #menu-item-957:hover > ul,
.blog-1 #access #menu-item-956:hover > ul,
.blog-2 #access #menu-item-106:hover > ul,
.blog-2 #access #menu-item-105:hover > ul {
    top: 91px;
}

#access > ul > li.has-children > a:before,
#access > ul > li.has-children > a:after {
    -webkit-transition: top 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, visibility 0s ease-in-out 0.4s;
    -moz-transition: top 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, visibility 0s ease-in-out 0.4s;
    -o-transition: top 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, visibility 0s ease-in-out 0.4s;
    -ms-transition: top 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, visibility 0s ease-in-out 0.4s;
    transition: top 0.3s ease-in-out 0.2s, opacity 0.3s ease-in-out 0.2s, visibility 0s ease-in-out 0.4s;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    visibility: hidden;

    content: '';
    display: inline-block;
    position: absolute;
    top: 64px;
    cursor: default;
    border-color: transparent transparent #bebebe;
    border-style: dashed dashed solid;
    border-width: 0 10px 7px;
    cursor: default;
    font-size: 0;
    height: 0;
    left: 17%;
    line-height: 0;
    width: 0;
    z-index: 1000;
}

#access > ul > li.has-children > a:after {
    border-bottom-color: #FFFFFF;
    top: 65px;
    z-index: 1000;
}

#access > ul > li.has-children:hover > a:before,
#access > ul > li.has-children:hover > a:after {
    -webkit-transition: top 0.2s ease-in-out 0.2s, opacity 0.2s ease-in-out 0.2s, visibility 0s ease-in-out 0.2s;
    -moz-transition: top 0.2s ease-in-out 0.2s, opacity 0.2s ease-in-out 0.2s, visibility 0s ease-in-out 0.2s;
    -o-transition: top 0.2s ease-in-out 0.2s, opacity 0.2s ease-in-out 0.2s, visibility 0s ease-in-out 0.2s;
    -ms-transition: top 0.2s ease-in-out 0.2s, opacity 0.2s ease-in-out 0.2s, visibility 0s ease-in-out 0.2s;
    transition: top 0.2s ease-in-out 0.2s, opacity 0.2s ease-in-out 0.2s, visibility 0s ease-in-out 0.2s;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    visibility: visible;
    top: 84px;
}

#access > ul > li.has-children:hover > a:after {
    top: 85px;
}

#access > ul > li > ul > li.has-children {
    padding: 12px 22px;
    float: left;
}

#access > ul > li > ul > li.no-children {
    padding: 10px 22px 0 22px;
    float: left;
    margin-bottom: -30px;
}

#access > ul > li > ul > li.has-children > a {
    display: block;
    border-bottom: 1px dashed #bebebe;
    padding: 0 0 3px 0;
    margin: 0 0 4px 0;
}

#access > ul > li > ul > li.no-children > a {
    display: block;
}

#access > ul > li > ul > li > a[href="#"] {
    display: none;
}

#access > ul > li > ul > li.no-children + li.no-children {
    margin-top: 30px;
    margin-bottom: -50px;
    padding-top: 0;
}

#access > ul > li > ul > li.no-children + li.no-children + li.no-children {
    margin-top: 50px;
    margin-bottom: -72px;
}

#access > ul > li > ul > li.no-children + li.no-children + li.no-children a {
    line-height: 22px;
}

#access > ul > li > ul > li.no-children + li.no-children + li.no-children + li.no-children {
    margin-top: 72px;
    margin-bottom: -94px;
}

#access > ul > li > ul > li.no-children + li.no-children + li.no-children + li.no-children + li.no-children {
    margin-top: 94px;
    margin-bottom: -116px;
}

#access > ul > li > ul > li.no-children + li.no-children + li.no-children + li.no-children + li.no-children + li.no-children {
    margin-top: 116px;
    margin-bottom: -138px;
}

#access > ul > li > ul > li.no-children + li.no-children + li.no-children + li.no-children + li.no-children + li.no-children + li.no-children {
    margin-top: 138px;
    margin-bottom: -160px;
}

#access > ul > li > ul > li.no-children + li.no-children + li.no-children + li.no-children + li.no-children + li.no-children + li.no-children + li.no-children {
    margin-top: 160px;
}

#access > ul > li > ul > li.last-no-children {
    margin-bottom: 0 !important;
    padding-bottom: 10px !important;
}

#access > ul > li:hover > a,
#access > ul > li:active > a,
#access > ul > li:focus > a,
#access > ul > li.current-menu-item > a,
#access > ul > li.current-menu-ancestor > a,
#access > ul > li.current-post-ancestor > a,
#access > ul > li.current_page_item > a,
#access > ul > li.current_page_ancestor > a {
    border-bottom: 3px solid #00A0DF;
}

#access > ul > li.m-color2:hover > a,
#access > ul > li.m-color2:active > a,
#access > ul > li.m-color2:focus > a,
#access > ul > li.m-color2.current-menu-item > a,
#access > ul > li.m-color2.current-menu-ancestor > a,
#access > ul > li.m-color2.current-post-ancestor > a,
#access > ul > li.m-color2.current_page_item > a,
#access > ul > li.m-color2.current_page_ancestor > a {
    border-bottom: 3px solid #f57100;
}

#access > ul > li.m-color3:hover > a,
#access > ul > li.m-color3:active > a,
#access > ul > li.m-color3:focus > a,
#access > ul > li.m-color3.current-menu-item > a,
#access > ul > li.m-color3.current-menu-ancestor > a,
#access > ul > li.m-color3.current-post-ancestor > a,
#access > ul > li.m-color3.current_page_item > a,
#access > ul > li.m-color3.current_page_ancestor > a {
    border-bottom: 3px solid #00a744;
}

#access ul ul ul a {
    padding: 1px 0;
}

#access ul ul a:hover,
#access ul ul a:active,
#access ul ul a:focus,
#access ul ul .current-menu-item > a,
#access ul ul .current-menu-ancestor > a,
#access ul ul .current-post-ancestor > a,
#access ul ul .current-post-parent > a,
#access ul ul .current_page_item > a,
#access ul ul .current_page_ancestor > a {
    -webkit-transition: all 0.1s ease 0s;
    -moz-transition: all 0.1s ease 0s;
    -o-transition: all 0.1s ease 0s;
    -ms-transition: all 0.1s ease 0s;
    transition: all 0.1s ease 0s;
    color: #00A0DF;
}

#access ul .m-color2 ul a:hover,
#access ul .m-color2 ul a:active,
#access ul .m-color2 ul a:focus,
#access ul .m-color2 ul .current-menu-item > a,
#access ul .m-color2 ul .current-menu-ancestor > a,
#access ul .m-color2 ul .current-post-ancestor > a,
#access ul .m-color2 ul .current-post-parent > a,
#access ul .m-color2 ul .current_page_item > a,
#access ul .m-color2 ul .current_page_ancestor > a {
    color: #f57100;
}

#access ul .m-color3 ul a:hover,
#access ul .m-color3 ul a:active,
#access ul .m-color3 ul a:focus,
#access ul .m-color3 ul .current-menu-item > a,
#access ul .m-color3 ul .current-menu-ancestor > a,
#access ul .m-color3 ul .current-post-ancestor > a,
#access ul .m-color3 ul .current-post-parent > a,
#access ul .m-color3 ul .current_page_item > a,
#access ul .m-color3 ul .current_page_ancestor > a {
    color: #00a744;
}

#access #menu-item-language,
.blog-1 #access #menu-item-956,
.blog-1 #access #menu-item-957,
.blog-2 #access #menu-item-106,
.blog-2 #access #menu-item-105 {
    position: absolute;
    right: 0;
    float: none;
}

#access #menu-item-language a {
    margin-right: 0;
}

.blog-1 #access #menu-item-957 {
    right: 206px;
}

.blog-1 #access #menu-item-956 {
    right: 103px;
}

.blog-1 #access #menu-item-957 > ul {
    width: 200px;
    left: -40px;
}

.blog-1 #access #menu-item-956 > ul {
    width: 250px;
    left: -75px;
}

.blog-2 #access #menu-item-106 {
    right: 226px;
}

.blog-2 #access #menu-item-105 {
    right: 103px;
}

.blog-2 #access #menu-item-106 > ul {
    width: 305px;
    left: -100px;
}

.blog-2 #access #menu-item-105 > ul {
    width: 280px;
    left: -75px;
}

.blog-1 #access #menu-item-956 > a:before,
.blog-1 #access #menu-item-956 > a:after,
.blog-1 #access #menu-item-957 > a:before,
.blog-1 #access #menu-item-957 > a:after,
.blog-2 #access #menu-item-105 > a:before,
.blog-2 #access #menu-item-105 > a:after {
    left: 37%;
}

.blog-2 #access #menu-item-106 > a:before,
.blog-2 #access #menu-item-106 > a:after {
    left: 26%;
}

/* Search Form */
#branding #searchform {
    position: absolute;
    right: 0;
    top: 4px;
    z-index: 1010;
}

#branding #s {
    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: 72px;
}

#branding #s:focus {
    background-color: #f9f9f9;
    width: 196px;
}

#branding #searchsubmit {
    display: none;
}

#branding .only-search #searchform {
    top: 5px;
    z-index: 1;
}

#branding .only-search #s {
    background-color: #666;
    border-color: #000;
    color: #222;
}

#branding .only-search #s,
#branding .only-search #s:focus {
    width: 85%;
}

#branding .only-search #s:focus {
    background-color: #bbb;
}

#branding .with-image #searchform {
    top: auto;
    bottom: -27px;
    max-width: 195px;
}

#branding .only-search + #access div {
    padding-right: 205px;
}


/* Content */
#main {
    overflow: hidden;
}

#main:after {
    display: block;
    height: 0;
    font-size: 0;
    content: ".";
    clear: both;
    visibility: hidden;
}

.page-header .page-title {
    background: url(images/hr-dots.png) repeat-x scroll right 17px transparent;
    font-size: 20px;
}

.page-title > span {
    background: #EFEFEF;
    padding-right: 10px;
}

.no-results {
    margin-bottom: 22px;
}

.entry-title,
.title,
#sidebar-page .widget-title,
#masonry-sidebar .widget-title {
    clear: both;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    padding-bottom: 10px;
    padding-top: 7px;
    font-family: Calibri, Lucida Grande, Lucida Sans Unicode, sans-serif;
}

.entry-title,
.entry-title a,
.title,
.title a {
    color: #222222;
    text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active,
.title a:hover,
.title a:focus,
.title a:active {
    color: #1982d1;
}

.entry-meta {
    color: #666;
    clear: both;
    font-size: 12px;
    line-height: 18px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-weight: bold;
    font-family: Calibri, Lucida Grande, Lucida Sans Unicode, sans-serif;
}

.entry-content h1 {
    font-size: 26px;
}

.entry-content h2 {
    font-size: 22px;
}

.entry-content h3 {
    font-size: 20px;
}

.entry-content h4 {
    font-size: 18px;
}

.entry-content h5 {
    font-size: 16px;
}

.entry-content h6 {
    font-size: 14px;
    font-style: italic;
}

.entry-content table {
    margin: 0 0 22px 0;
}

.entry-content th {
    color: #666;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    text-transform: uppercase;
}

.entry-content td {
    padding: 8px 10px 8px 0;
    vertical-align: top;
}

.entry-content td:last-child {
    padding: 8px 0 8px 0;
}

.entry-content #s {
    width: 75%;
}

dl.gallery-item {
    margin: 0;
}

.page-link {
    clear: both;
    display: block;
    margin: 0 0 1.625em;
}

.page-link a {
    background: #eee;
    color: #373737;
    margin: 0;
    padding: 2px 3px;
    text-decoration: none;
}

.page-link a:hover {
    background: #888;
    color: #fff;
    font-weight: bold;
}

.page-link span {
    margin-right: 6px;
}

.entry-meta a.post-edit-link {
    background: #eee;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #666;
    float: right;
    font-size: 12px;
    line-height: 1.5em;
    font-weight: 300;
    text-decoration: none;
    padding: 0 8px;
}

.entry-meta a.post-edit-link:hover {
    background: #888;
    color: #fff;
}

.entry-content a.post-edit-link {
    clear: both;
    display: block;
}

/* Images */
.entry-content img,
.comment-content img {
    max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
    display: block;
}

.entry-content .gallery-columns-5 img {
    max-width: 89%;
}

.entry-content .gallery-columns-6 img,
.entry-content .gallery-columns-7 img,
.entry-content .gallery-columns-8 img,
.entry-content .gallery-columns-9 img,
.entry-content .gallery-columns-10 img,
.entry-content .gallery-columns-11 img,
.entry-content .gallery-columns-12 img {
    max-width: 90%;
}

.entry-content .gallery-item a {
    display: block;
}

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 */
}

.entry-content img.wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

img.alignleft,
img.alignright,
img.aligncenter {
    margin-bottom: 16px !important;
}

img.alignleft {
    margin-right: 36px !important;
}

img.alignright {
    margin-left: 36px !important;
}

p img,
.wp-caption {
    margin-top: 4px;
}

.wp-caption {
    background: #eee;
    margin-bottom: 1.625em;
    max-width: 96%;
    padding: 9px;
}

.wp-caption img {
    display: block;
    margin: 0 auto;
    max-width: 98%;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    color: #666666;
    font-size: 12px;
}

.gallery-columns-6 .gallery-caption.
.gallery-columns-7 .gallery-caption.
.gallery-columns-8 .gallery-caption.
.gallery-columns-9 .gallery-caption.
.gallery-columns-10 .gallery-caption.
.gallery-columns-11 .gallery-caption.
.gallery-columns-12 .gallery-caption {
    font-size: 11px;
}

.wp-caption .wp-caption-text {
    margin-bottom: 0;
    padding: 6px 4px 4px 4px;
    position: relative;
}

#content #post-with-details .post-display .entry-content > .gallery {
    background-color: #f1f1f1;
    margin: 0;
    padding: 0 33px;
}

#content #post-with-details .post-display .entry-content > .gallery:last-child {
    margin: 0 0 -22px 0;
    overflow: hidden;
    padding-bottom: 22px;
    padding-top: 12px;
}

img#wpstats {
    display: block;
    margin: 0 auto 1.625em;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {
    margin: 0;
    border: 3px solid #ffffff;
    -webkit-transition: border-color 0.5s ease-in-out 0.1s;
    -moz-transition: border-color 0.5s ease-in-out 0.1s;
    -o-transition: border-color 0.5s ease-in-out 0.1s;
    -ms-transition: border-color 0.5s ease-in-out 0.1s;
    transition: border-color 0.5s ease-in-out 0.1s;
}

.wp-caption img {
    border-color: #ffffff;
}

a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {
    border-color: #00A0DF;
    -webkit-transition: border-color 0.2s ease-in-out 0s;
    -moz-transition: border-color 0.2s ease-in-out 0s;
    -o-transition: border-color 0.2s ease-in-out 0s;
    -ms-transition: border-color 0.2s ease-in-out 0s;
    transition: border-color 0.2s ease-in-out 0s;
}

.color2 a:focus img[class*="align"],
.color2 a:hover img[class*="align"],
.color2 a:active img[class*="align"],
.color2 a:focus img[class*="wp-image-"],
.color2 a:hover img[class*="wp-image-"],
.color2 a:active img[class*="wp-image-"],
.color2 #content .gallery .gallery-icon a:focus img,
.color2 #content .gallery .gallery-icon a:hover img,
.color2 #content .gallery .gallery-icon a:active img {
    border-color: #F57100;
}

.color3 a:focus img[class*="align"],
.color3 a:hover img[class*="align"],
.color3 a:active img[class*="align"],
.color3 a:focus img[class*="wp-image-"],
.color3 a:hover img[class*="wp-image-"],
.color3 a:active img[class*="wp-image-"],
.color3 #content .gallery .gallery-icon a:focus img,
.color3 #content .gallery .gallery-icon a:hover img,
.color3 #content .gallery .gallery-icon a:active img {
    border-color: #00A744;
}

.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {
    background: #ffffff;
    border-color: #dddddd;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
    max-width: 100%;
}

/* Password Protected Posts */
.post-password-required .entry-header .comments-link {
    margin: 1.625em 0 0;
}

.post-password-required input[type=password] {
    margin: 0.8125em 0;
}

.post-password-required input[type=password]:focus {
    background: #f7f7f7;
}

#author-info {
    margin-bottom: 19px;
}


/* Singular content styles for Posts and Pages */
blockquote.pull {
    font-size: 21px;
    font-weight: bold;
    line-height: 1.6125em;
    margin: 0 0 1.625em;
    text-align: center;
}

.pull.alignleft {
    margin: 0 1.625em 0 0;
    text-align: right;
    width: 33%;
}

.pull.alignright {
    margin: 0 0 0 1.625em;
    text-align: left;
    width: 33%;
}


/* =Gallery
----------------------------------------------- */

.format-gallery .gallery-thumb {
    float: left;
    display: block;
    margin: .375em 1.625em 0 0;
}


/* =Status
----------------------------------------------- */

.format-status .entry-title,
.format-status .entry-header .comments-link {
    display: none;
}

.format-status .entry-content {
    padding: 0;
}

.format-status img.avatar {
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px #ccc;
    -moz-box-shadow: 0 1px 2px #ccc;
    box-shadow: 0 1px 2px #ccc;
    float: left;
    margin: 4px 10px 2px 0;
    padding: 0;
}


/* =Image
----------------------------------------------- */

.indexed.format-image .entry-header {
    min-height: 61px; /* Prevent the comment icon from colliding with the image when there is no title */
}

.indexed.format-image .entry-content {
    padding-top: 0.5em;
}

.indexed.format-image p,
.indexed.format-image p img {
    margin-bottom: 0;
}

.indexed.format-image footer.entry-meta {
    background: #ddd;
    margin-top: -7px;
    padding: 20px 30px;
    overflow: hidden;
}

.indexed.format-image div.entry-meta {
    display: inline-block;
    float: left;
    width: 35%;
}

.indexed.format-image div.entry-meta + div.entry-meta {
    float: none;
    width: 65%;
}

.indexed.format-image .entry-meta span.cat-links,
.indexed.format-image .entry-meta span.tag-links,
.indexed.format-image .entry-meta span.comments-link {
    display: block;
}

.indexed.format-image footer.entry-meta a {
    color: #444;
}

.indexed.format-image footer.entry-meta a:hover {
    color: #fff;
}

#content .indexed.format-image img {
    border: none;
    max-width: 100%;
    padding: 0;
}

.indexed.format-image .wp-caption {
    background: #111;
    margin-bottom: 0;
    max-width: 96%;
    padding: 11px;
}

.indexed.format-image .wp-caption .wp-caption-text {
    color: #ddd;
}

.indexed.format-image .wp-caption .wp-caption-text:before {
    color: #444;
}

.indexed.format-image a:hover img {
    opacity: 0.8;
}


/* =error404
----------------------------------------------- */

.error404 #main #searchform {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-width: 1px 0;
    margin: 0 -8.9% 1.625em;
    overflow: hidden;
    padding: 1.625em 8.9%;
}

.error404 #main #s {
    width: 95%;
}

.error404 #main .widget {
    clear: none;
    float: left;
    margin-right: 3.7%;
    width: 30.85%;
}

.error404 #main .widget_archive {
    margin-right: 0;
}

.error404 #main .widget_tag_cloud {
    float: none;
    margin-right: 0;
    width: 100%;
}

.error404 .widgettitle {
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    text-transform: uppercase;
}

/* =Attachments
----------------------------------------------- */

.image-attachment div.attachment {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-width: 1px 0;
    margin: 0 -8.9% 1.625em;
    overflow: hidden;
    padding: 1.625em 1.625em 0;
    text-align: center;
}

.image-attachment div.attachment img {
    display: block;
    height: auto;
    margin: 0 auto 1.625em;
    max-width: 100%;
}

.image-attachment div.attachment a img {
    border-color: #f9f9f9;
}

.image-attachment div.attachment a:focus img,
.image-attachment div.attachment a:hover img,
.image-attachment div.attachment a:active img {
    border-color: #ddd;
    background: #fff;
}

.image-attachment .entry-caption p {
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    margin: 0 0 2.6em;
    text-transform: uppercase;
}


/* Navigation */
#content nav {
    overflow: hidden;
}

/* Singular navigation */
#nav-single {
    float: right;
    position: relative;
    top: -0.3em;
    text-align: right;
    z-index: 1;
}

#nav-single .nav-previous,
#nav-single .nav-next {
    float: none;
    width: auto;
}

#nav-single .nav-next {
    padding-left: .5em;
}

/* = New content
----------------------------------------------- */
img.fluid {
    height: auto;
    width: 100%;
    display: block;
}


#cal-side-top {
    float: left;
    width: 258px;
    margin-left: -258px;
    height: 323px;
    background: #ffffff;
}

#sticky-tab-container {
    margin-bottom: 22px;
    margin-right: 36px;
}

#sticky-tab-container #stc-inner {
    background: url("images/lgl-overlay.gif") repeat scroll right top transparent;
    overflow: hidden;
}

#sticky-tabs.ui-tabs {
    padding: 0;
    margin: 0;
}

#sticky-tabs {
    position: relative;
    height: 323px;
    overflow: hidden;
}

#sticky-tabs ul.ui-tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 22px;
    right: -150px;
    z-index: 10;
    visibility: hidden;
    zoom: 1;
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.2s linear 0s, right 0.3s linear 0s, visibility 0s linear 0.5s;
    -moz-transition: opacity 0.2s linear 0s, rigright 0.3s linear 0s, visibility 0s linear 0.5s;
    -o-transition: opacity 0.2s linear 0s, right 0.3s linear 0s, visibility 0s linear 0.5s;
    -ms-transition: opacity 0.2s linear 0s, right 0.3s linear 0s, visibility 0s linear 0.5s;
    transition: opacity 0.2s linear 0s, right 0.3s linear 0s, visibility 0s linear 0.5s;
    border-bottom: 1px solid #bebebe;
}

#sticky-tabs:hover ul.ui-tabs-nav {
    visibility: visible;
    zoom: 1;
    filter: alpha(opacity=100);
    opacity: 1;
    right: 0;
    top: 22px;
    -webkit-transition: opacity 0.3s ease 0s, right 0.2s ease 0s;
    -moz-transition: opacity 0.3s ease 0s, right 0.2s ease 0s;
    -o-transition: opacity 0.3s ease 0s, right 0.2s ease 0s;
    -ms-transition: opacity 0.3s ease 0s, right 0.2s ease 0s;
    transition: opacity 0.3s ease 0s, right 0.2s ease 0s;

}

#sticky-tabs li.ui-tabs-nav-item a {
    display: block;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    padding: 5px 16px 5px 12px;
    border-top: 1px solid #bebebe;
    border-right: 1px solid #bebebe;
    border-left: 3px solid #ec1f27;
    font-family: Calibri, "Lucida Grande", "Lucida Sans Unicode", sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #333333;
}

#sticky-tabs li.ui-tabs-nav-item a:hover,
#sticky-tabs li.ui-tabs-nav-item a:active,
#sticky-tabs li.ui-tabs-nav-item a:focus,
#sticky-tabs ul.ui-tabs-nav li.ui-tabs-selected a,
#sticky-tabs ul.ui-tabs-nav li.ui-tabs-active a {
    background-color: #f4f4f4;
    background-color: rgba(244, 244, 244, 1);
    padding-right: 12px;
    border-left-width: 7px;
    color: #00A0DF;
}

#sticky-tabs li.ui-tabs-nav-item + li.ui-tabs-nav-item a {
    border-left-color: #f58220;
}

#sticky-tabs li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item a {
    border-left-color: #f8ef22;
}

#sticky-tabs li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item a {
    border-left-color: #14a750;
}

#sticky-tabs li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item a {
    border-left-color: #26abe2;
}

#sticky-tabs li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item a {
    border-left-color: #a64787;
}

#sticky-tabs li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item + li.ui-tabs-nav-item a {
    border-left-color: #ec1f27;
}

#sticky-tabs .ui-tabs-panel {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0;
    margin: 0;
    background: none no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#sticky-tabs .ui-tabs-panel .tab-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background-color: #f4f4f4;
    background-color: rgba(255, 255, 255, 0.8);
    background-image: url("images/diag.png");
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: right top;
}

#sticky-tabs .ui-tabs-panel .tab-content .entry-title {
    text-transform: uppercase;
    padding: 12px 15px 0px 15px;
    display: inline-block;
    font-weight: normal;
}

#sticky-tabs .ui-tabs-panel .tab-content .entry-title a {
    color: #373737;
}

#sticky-tabs .ui-tabs-panel .tab-content .entry-title a:hover,
#sticky-tabs .ui-tabs-panel .tab-content .entry-title a:focus,
#sticky-tabs .ui-tabs-panel .tab-content .entry-title a:active {
    color: #00A0DF;
}

#sticky-tabs .ui-tabs-panel .tab-content .entry-summary {
    padding: 9px 15px;
    font-size: 13px;
}

#sticky-tabs .ui-tabs-panel .tab-content .entry-summary p {
    margin: 0;
    padding: 0;
}

#sticky-tabs .ui-tabs-hide {
    display: none;
}

/* =jQuery UI Accordion 1.8.24 revrite
----------------------------------------------- */
.ui-accordion .ui-accordion-header {
    cursor: pointer;
    position: relative;
    zoom: 1;
}

.ui-accordion .ui-accordion-li-fix {
    display: inline;
}

.ui-accordion .ui-accordion-content {
    position: relative;
    overflow: auto;
    display: none;
    zoom: 1;
}

.ui-accordion .ui-accordion-content-active {
    display: block;
}

.masonry-outer {
    margin-bottom: 22px;
    clear: both;
}

.masonry-outer .masonry {
}

#content .masonry #masonry-sidebar {
    float: right;
}

#content .masonry #masonry-sidebar > div {
    width: 258px;
    overflow: hidden;
}

#content .masonry .masonry-brick {
    -webkit-transition: box-shadow 0.5s ease-in-out 0.2s, left 0.7s, right 0.7s, top 0.7s;
    -moz-transition: box-shadow 0.5s ease-in-out 0.2s, left 0.7s, right 0.7s, top 0.7s;
    -o-transition: box-shadow 0.5s ease-in-out 0.2s, left 0.7s, right 0.7s, top 0.7s;
    -ms-transition: box-shadow 0.5s ease-in-out 0.2s, left 0.7s, right 0.7s, top 0.7s;
    transition: box-shadow 0.5s ease-in-out 0.2s, left 0.7s, right 0.7s, top 0.7s;
    -webkit-box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #dddddd;
    overflow: hidden;
    margin: 0 36px 22px 0;
    /*position: absolute;*/
    float: left;
}

#content .masonry .masonry-brick:hover,
#content .masonry .masonry-brick:active,
#content .masonry .masonry-brick:focus {
    -webkit-transition: box-shadow 0.3s ease-in-out 0s;
    -moz-transition: box-shadow 0.3s ease-in-out 0s;
    -o-transition: box-shadow 0.3s ease-in-out 0s;
    -ms-transition: box-shadow 0.3s ease-in-out 0s;
    transition: box-shadow 0.3s ease-in-out 0s;
    -webkit-box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(34, 25, 25, 0.4);
    -moz-box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(34, 25, 25, 0.4);
    box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(34, 25, 25, 0.4);
}

#content .masonry .masonry-brick > div {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    height: 363px;
}

#content .masonry .small-masonry-brick > div {
    width: 258px;
}

#content .masonry .sticky-masonry-brick > div {
    width: 552px;
}

#content .masonry .masonry-brick > div > header {
    position: relative;
}

#content .masonry .sticky-masonry-brick > div > header {
    height: 211px;
    overflow: hidden;
}

#content .masonry .small-masonry-brick > div > header .article-photo {
    position: relative;
    display: block;
}

#content .masonry .masonry-brick > div > header img {
    -webkit-transition: top 0.3s ease-in-out 0.1s;
    -moz-transition: top 0.3s ease-in-out 0.1s;
    -o-transition: top 0.3s ease-in-out 0.1s;
    -ms-transition: top 0.3s ease-in-out 0.1s;
    transition: top 0.3s ease-in-out 0.1s;
}

#content .masonry .small-masonry-brick > div > header img {
    -webkit-transition: all 0.5s ease 0.1s;
    -moz-transition: all 0.5s ease 0.1s;
    -o-transition: all 0.5s ease 0.1s;
    -ms-transition: all 0.5s ease 0.1s;
    transition: all 0.5s ease 0.1s;
    width: 258px;
    height: 159px;
}

#content .masonry .sticky-masonry-brick > div > header img {

}

#content .masonry .small-masonry-brick:hover > div > header img {

}

#content .masonry .sticky-masonry-brick:hover > div > header img {

}

#content .masonry .sticky-masonry-brick > div > header .header-date {
    position: absolute;
    left: 0;
    bottom: 22px;
}

#content .masonry .small-masonry-brick > div > header .header-date {
    position: relative;
    top: -15px;
    margin-bottom: -15px;
}

#content .masonry .masonry-brick > div > header .entry-header {
    padding: 0;
    background-color: rgb(0, 160, 223);
    background-color: rgba(0, 160, 223, 0.7);
}

#content .masonry .masonry-brick > div > header .nothumb-header-date {
    padding: 11px 0 0 0;
    background-color: rgb(0, 160, 223);
    background-color: rgba(0, 160, 223, 0.7);
}

.color2 #content .masonry .masonry-brick > div > header .entry-header,
.color2 #content .masonry .masonry-brick > div > header .nothumb-header-date {
    background-color: rgb(245, 113, 0);
    background-color: rgba(245, 113, 0, 0.7);
}

.color3 #content .masonry .masonry-brick > div > header .entry-header,
.color3 #content .masonry .masonry-brick > div > header .nothumb-header-date {
    background-color: rgb(0, 167, 68);
    background-color: rgba(0, 167, 68, 0.7);
}

#content .masonry .masonry-brick:hover > div > header .entry-header,
#content .masonry .masonry-brick:hover > div > header .nothumb-header-date {
    background-color: rgba(0, 160, 223, 0.9);
}

.color2 #content .masonry .masonry-brick:hover > div > header .entry-header,
.color2 #content .masonry .masonry-brick:hover > div > header .nothumb-header-date {
    background-color: rgba(245, 113, 0, 0.9);
}

.color3 #content .masonry .masonry-brick:hover > div > header .entry-header,
.color3 #content .masonry .masonry-brick:hover > div > header .nothumb-header-date {
    background-color: rgba(0, 167, 68, 0.9);
}

#content .masonry .masonry-brick > div > header .nothumb-header-date .entry-header,
#content .masonry .masonry-brick:hover > div > header .nothumb-header-date .entry-header {
    background-color: transparent;
}

#content .masonry .masonry-brick > div > header .entry-header > a {
    padding: 10px 36px 11px 11px;
    font-size: 24px;
    line-height: normal;
    letter-spacing: 0.4px;
    display: block;
    color: #ffffff;
    text-transform: uppercase;
}

#content .masonry .small-masonry-brick > div > header .entry-header > a {
    padding: 10px 15px 11px 5px;
    font-size: 18px;
    line-height: 19px;
}

#content .masonry .masonry-brick > div > header .nothumb-header-date .entry-header > a {
    padding-top: 11px;
}

#content .masonry .masonry-brick > div > header .time-display {
    font-size: 10px;
    padding: 1px 11px 0 11px;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    float: left;
}

#content .masonry .masonry-brick > div > header .article-photo .time-display {
    position: absolute;
    bottom: 0;
    left: 0;
    float: none;
}

#content .masonry .masonry-brick > div > header .nothumb-header-date .time-display {
    padding: 1px 11px 0 11px;
}

#content .masonry .masonry-brick:hover > div > header .time-display {
    background-color: rgba(0, 0, 0, 0.9);
}

#content .masonry .masonry-brick:hover > div > header .header-date *,
#content .masonry .masonry-brick:hover > div > header .entry-header,
#content .masonry .masonry-brick:hover > div > header .nothumb-header-date,
#content .masonry .masonry-brick:hover > div > header .time-display {
    -webkit-transition: background-color 0.3s ease-in-out 0s;
    -moz-transition: background-color 0.3s ease-in-out 0s;
    -o-transition: background-color 0.3s ease-in-out 0s;
    -ms-transition: background-color 0.3s ease-in-out 0s;
    transition: background-color 0.3s ease-in-out 0s;
}

#content .masonry .masonry-brick > div > header .header-date *,
#content .masonry .masonry-brick > div > header .entry-header,
#content .masonry .masonry-brick > div > header .nothumb-header-date,
#content .masonry .masonry-brick > div > header .time-display {
    -webkit-transition: background-color 0.5s ease-in-out 0.2s;
    -moz-transition: background-color 0.5s ease-in-out 0.2s;
    -o-transition: background-color 0.5s ease-in-out 0.2s;
    -ms-transition: background-color 0.5s ease-in-out 0.2s;
    transition: background-color 0.5s ease-in-out 0.2s;
}

#content .masonry .masonry-brick > div > .masonry-article-content {
    font-size: 13px;
    line-height: 18px;
}

#content .masonry .sticky-masonry-brick > div > .masonry-article-content {
}

#content .masonry .masonry-brick:hover > div > .masonry-article-content {
}

#content .masonry .sticky-masonry-brick:hover > div > .masonry-article-content {
}

#content .masonry .sticky-masonry-brick > div > .masonry-article-content > div {
    padding: 22px 11px 0 11px;
}

#content .masonry .small-masonry-brick > div > .masonry-article-content > div {
    padding: 15px 11px 0 11px;
}

#content .masonry .masonry-brick .entry-meta {
    background: url(images/diag.png) repeat scroll right top #ffffff;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    -webkit-box-shadow: 0px 0px 5px 5px #ffffff;
    -moz-box-shadow: 0px 0px 5px 5px #ffffff;
    box-shadow: 0px 0px 5px 5px #ffffff;
}

#content .masonry .masonry-brick .entry-meta .read-more {
    display: block;
    float: right;
    margin: 9px 13px;
    font-size: 13px;
    line-height: 18px;
}

#content .masonry .masonry-brick .entry-meta .post-edit-link {
    -webkit-transition: opacity 0.3s ease-in-out 0s;
    -moz-transition: opacity 0.3s ease-in-out 0s;
    -o-transition: opacity 0.3s ease-in-out 0s;
    -ms-transition: opacity 0.3s ease-in-out 0s;
    transition: opacity 0.3s ease-in-out 0s;
    position: absolute;
    bottom: 10px;
    left: 10px;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
    opacity: 0;
}

#content .masonry .masonry-brick:hover .entry-meta .post-edit-link {
    -webkit-opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
    opacity: 1;
}


/* =Post display
----------------------------------------------- */
#content #post-with-details {
    float: left;
    width: 100%;
}

#content #post-with-details #pwd-inner {
    margin-right: 294px;
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 22px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

#content #post-with-details .post-display .entry-content {
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid #BEBEBE;
    position: relative;
    z-index: 1;
}

/* Post display // Submenu navigation */
#content #post-with-details #page-submenu {
    margin-right: 294px;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 22px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    padding: 14px 0 14px 36px;
}

#content #post-with-details #page-submenu ul {
    list-style: none outside none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#content #post-with-details #page-submenu > ul > li > a,
#content #post-with-details #page-submenu > ul > li > ul {
    float: left;
    margin: 0 36px 0 0;
}

#content #post-with-details #page-submenu > ul.column > li > a {
    clear: both;
}

#second-submenu a {
    clear: both;
    padding-bottom: 3px;
}

#content #post-with-details #page-submenu > ul > li > ul > li {
    float: left;
    margin: 0 36px 0 0;
    clear: both;
}

#content #post-with-details #page-submenu > ul > li > ul > li > ul {
    margin-top: 4px;
    padding-top: 3px;
    border-top: 1px dashed #BEBEBE;
    margin-bottom: 9px;
}

#content #post-with-details #page-submenu ul ul ul a {
    padding: 1px 0;
}

#content #post-with-details #page-submenu a {
    text-transform: uppercase;
    color: #666666;
    text-decoration: none;
    font-size: 16px;
    font-family: Calibri, Lucida Grande, Lucida Sans Unicode, sans-serif;
}

#content #post-with-details #page-submenu .current,
#content #post-with-details #page-submenu a:hover,
#content #post-with-details #page-submenu a:focus,
#content #post-with-details #page-submenu a:active {
    color: #00A0DF;
}

#content #post-with-details #page-submenu .current,
#content #post-with-details #page-submenu .strong {
    font-weight: bold;
    color: #00A0DF;
}

#content #post-with-details #page-submenu #second-submenu,
#content #post-with-details #page-submenu #third-submenu {
    margin: 14px 36px 0 0;
    border-top: 1px dashed #BEBEBE;
    padding-top: 12px;
}

#content #post-with-details #page-submenu #third-submenu > li > a {
    float: none;
}

/* Post display // Main pages // Submenu navigation */
#content #main-submenu {
    margin-bottom: 22px;
}

#content #main-submenu ul,
#important-submenu ul,
#access-bottom ul {
    list-style: none outside none;
    padding: 0;
    margin: 0;
}

#content #main-submenu > ul {
    overflow: hidden;
    background: #f5f5f5;
    overflow: hidden;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

#content #main-submenu a,
#important-submenu a,
#access-bottom a {
    color: #333333;
    display: block;
    line-height: 20px;
    font-size: 16px;
    text-decoration: none;
    font-family: Calibri, Lucida Grande, Lucida Sans Unicode, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    -webkit-transition: color 0.8s ease 0s;
    -moz-transition: color 0.8s ease 0s;
    -o-transition: color 0.8s ease 0s;
    -ms-transition: color 0.8s ease 0s;
    transition: color 0.8s ease 0s;
}

#access-bottom a {
    color: #ffffff;
    font-size: 14px;
}

#content #main-submenu a:hover,
#content #main-submenu a:active,
#content #main-submenu a:focus,
#important-submenu a:hover,
#important-submenu a:active,
#important-submenu a:focus,
#access-bottom a:hover,
#access-bottom a:active,
#access-bottom a:focus {
    -webkit-transition: color 0.1s ease 0s;
    -moz-transition: color 0.1s ease 0s;
    -o-transition: color 0.1s ease 0s;
    -ms-transition: color 0.1s ease 0s;
    transition: color 0.1s ease 0s;
    color: #00A0DF;
}

#content #main-submenu > ul > li {
    padding: 12px 22px;
    float: left;
}

#access-bottom > ul > li {
    padding: 12px 22px 12px 0;
    float: left;
}

#access-bottom > ul > li + li {
    padding: 12px 22px;
}

#important-submenu > ul > li {
    padding: 8px;
    float: left;
    clear: both;
}

#content #main-submenu > ul > li > a,
#important-submenu > ul > li > a,
#access-bottom > ul > li > a {
    display: block;
    border-bottom: 1px dashed #bebebe;
    padding: 0 0 3px 0;
    margin: 0 0 4px 0;
}

#content #main-submenu > ul > li > a[href="#"],
#important-submenu > ul > li > a[href="#"],
#access-bottom > ul > li > a[href="#"] {
    display: none;
}

#content #main-submenu ul ul a,
#important-submenu ul ul a {
    padding: 1px 0;
}

#access-bottom ul ul a {
    color: #bfbfbf;
}

#access-bottom {
    margin: 0 auto;
    max-width: 1140px;
    overflow: hidden;
    border-top: 1px solid #464646;
    border-bottom: 1px solid #464646;
}

/*.blog-1 #menu-item-1819 > a,
.blog-2 #menu-item-337 > a,*/
.blog-2 #menu-item-5684 > a,
.blog-1 #menu-item-8911 > a {
    font-size: 17px;
    font-weight: bold;
}

/*.blog-1 #menu-item-1232 a,
.blog-1 #menu-item-1029 a,
.blog-2 #menu-item-174 a,
.blog-2 #menu-item-284 a,*/
.blog-1 #menu-item-8904 a,
.blog-1 #menu-item-8905 a,
.blog-2 #menu-item-5685 a,
.blog-2 #menu-item-5686 a {
    /*font-weight: bold;*/
}

/* Post display // Entry Header // Entry Meta */

#content #post-with-details .post-display .entry-header .half-width,
#content #post-with-details .post-display .entry-header .small-width {
    margin: 22px 0 0 36px;
    float: left;
}

#content #post-with-details .post-display .entry-header .entry-details {
    overflow: hidden;
    padding: 22px 36px 40px 36px;
}

#content #post-with-details .post-display .entry-header .entry-title {
    padding: 0;
}

#content #post-with-details .post-display .entry-header .entry-meta {
    padding: 0;
}

#content #post-with-details .post-display .entry-header .entry-meta .posted-on,
#content #post-with-details .post-display .entry-header .entry-meta .author {
    padding-top: 10px;
}

#content #post-with-details .post-display .entry-header .entry-meta .strong {
    font-weight: bold;
}

#content #post-with-details .post-display .entry-header .entry-meta .fb-like {
    margin: 10px 0px;
    height: 31px;
    /*position: absolute;*/
    z-index: 10;
}

#content #post-with-details .post-display .entry-header .entry-meta .print {
    padding-top: 14px;
    float: right;
}

#content #post-with-details .post-display .entry-header .entry-meta .print a {
    background: url("images/print.png") no-repeat scroll 0 0 transparent;
    width: 16px;
    height: 13px;
    display: block;
}

#content #post-with-details .post-display .entry-header .entry-meta .print a:hover,
#content #post-with-details .post-display .entry-header .entry-meta .print a:active,
#content #post-with-details .post-display .entry-header .entry-meta .print a:focus {
    background: url("images/print.png") no-repeat scroll -32px 0 transparent;
}

#content #post-with-details .post-display .entry-content {
    padding-top: 22px;
    padding-bottom: 22px;
}

#content #post-with-details .post-display .entry-content > *,
#content #post-with-details .post-display .entry-content > .eme_events_list {
    margin-left: 36px;
    margin-right: 36px;
}

#content #post-with-details .post-display .entry-content ul,
#content #post-with-details .post-display .entry-content ol {
    margin: 0 32px 19px 53px;
}

#content #post-with-details .post-display .entry-content li {
    list-style: disc inside none;
}

#content #post-with-details .post-display footer.entry-meta {
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

#content #post-with-details .post-display .entry-meta .meta-columns .meta-tags {
    padding: 0 12px 22px 36px;
    width: 294px;
    float: left;
}

#content #post-with-details .post-display .entry-meta .meta-columns .meta-tags + .meta-tags {
    padding: 0 24px 22px 24px;
    width: 204px;
}

#content #post-with-details .post-display .entry-meta .meta-columns .meta-tags + .meta-tags + .meta-tags {
    padding: 0 36px 22px 12px;
}

#content #post-with-details .post-display .entry-meta .meta-columns .meta-tags span {
    display: block;
    font-weight: bold;
}

#content #post-with-details .post-display .entry-meta .title {
    text-shadow: 0 1px 1px #ffffff;
    color: #666666;
    padding-top: 0;
}

#content #post-with-details .post-display .entry-meta .meta-tags a {
    -webkit-transition: all 0.8s ease-in-out 0.1s;
    -moz-transition: all 0.8s ease-in-out 0.1s;
    -o-transition: all 0.8s ease-in-out 0.1s;
    -ms-transition: all 0.8s ease-in-out 0.1s;
    transition: all 0.8s ease-in-out 0.1s;
    background-color: #8D8D8D;
    padding: 5px 7px;
    margin: 0 2px 2px 0;
    float: left;
    color: #ffffff;
    font-weight: normal;
}

#content #post-with-details .post-display .entry-meta .meta-pub a {
    display: inline-block;
    float: none;
    margin-bottom: 22px;
}

#content #post-with-details .post-display .entry-meta .meta-tags a:hover,
#content #post-with-details .post-display .entry-meta .meta-tags a:focus,
#content #post-with-details .post-display .entry-meta .meta-tags a:active {
    -webkit-transition: all 0.01s ease-in-out 0s;
    -moz-transition: all 0.01s ease-in-out 0s;
    -o-transition: all 0.01s ease-in-out 0s;
    -ms-transition: all 0.01s ease-in-out 0s;
    transition: all 0.01s ease-in-out 0s;
    background-color: #00A0DF;
    color: #ffffff;
    text-decoration: none;
}

.color2 #content #post-with-details .post-display .entry-meta .meta-tags a:hover,
.color2 #content #post-with-details .post-display .entry-meta .meta-tags a:focus,
.color2 #content #post-with-details .post-display .entry-meta .meta-tags a:active {
    background-color: #F57100;
}

.color3 #content #post-with-details .post-display .entry-meta .meta-tags a:hover,
.color3 #content #post-with-details .post-display .entry-meta .meta-tags a:focus,
.color3 #content #post-with-details .post-display .entry-meta .meta-tags a:active {
    background-color: #00A744;
}

#content #post-with-details .post-display .entry-meta a.post-edit-link {
    float: right;
    margin: 10px;
}

.fb-comments, .fb-comments iframe[style] {
    width: 100% !important;
}

.fb-comments > span, .fb-comments iframe span[style] {
    width: 100% !important;
}

/* Synved shortcodes / section accordeon */
#post-with-details .entry-content .snvdshc {
    display: block;
}

#post-with-details .entry-content .snvdshc .ui-accordion-header {
    border: 1px solid #bebebe;
    margin-top: 2px;
    padding: 2px 0;
}

#post-with-details .entry-content .snvdshc .ui-corner-top {
    -webkit-border-top-right-radius: 4px;
    -moz-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    -moz-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
}

#post-with-details .entry-content .snvdshc .ui-corner-all {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#post-with-details .entry-content .snvdshc .ui-accordion-header a {
    text-decoration: none;
}

#post-with-details .entry-content .snvdshc .ui-accordion-header-icon {
    background: url("images/ar-right.png") no-repeat scroll center center transparent;
    float: left;
    width: 25px;
    height: 24px;
}

#post-with-details .entry-content .snvdshc .ui-state-active .ui-accordion-header-icon {
    background: url("images/ar-down.png") no-repeat scroll center center transparent;
}

#post-with-details .entry-content .snvdshc .ui-state-hover {
    background-color: #f5f5f5;
}

#post-with-details .entry-content .snvdshc .ui-state-active.ui-state-hover {
    background-color: transparent;
}

#post-with-details .entry-content .snvdshc .ui-accordion-content {
    margin: 0 25px;
}


/* Main pages */
.main-pages .entry-meta .post-edit-link {
    position: absolute;
    top: 10px;
    right: 0;
}

/* Breadcrumbs / Ribbon / Arrows */
#yarnball {
    display: inline-block;
    margin: 22px 0 22px 36px;
}

.yarnball {
    list-style: none;
    margin: 0 0 0 26px;
}

.yarnlet {
    display: inline;
}

.yarnlet a,
.yarnlet a:link,
.yarnlet a:visited {
    color: #666;
    display: inline-block;
    margin-left: -16px;
    padding: 7px 19px 11px 19px;
    position: relative;
    text-decoration: none;
    line-height: 15px;
}

.yarnlet.first a,
.yarnlet.first a:link,
.yarnlet.first a:visited {
    padding-left: 8px;
}

/*body.ie7 .yarnlet.first a,
body.ie7 .yarnlet.first a:link,
body.ie7 .yarnlet.first a:visited {
	padding-left: 17px;
}*/
.yarnlet a {
    background-image: url(images/breadcrumbs-dark.png);
    background-repeat: no-repeat;
    background-position: 100% 0;
}

.yarnlet:hover a {
    background-position: 100% -48px;
    color: #00A0DF;
}

.yarnlet:active a {
    background-position: 100% -96px;
    color: #00A0DF;
}

.yarnlet .left-yarn {
    background: url(images/breadcrumbs-dark.png) no-repeat;
    margin-left: -18px;
    padding: 7px 6px 11px 4px;
    z-index: 11;
}

/*.ff .yarnlet .left-yarn {
	padding-top: .6em;
}*/
.yarnlet a:hover .left-yarn {
    background-position: 0 -48px;
}

.yarnlet a:active .left-yarn {
    background-position: 0 -96px;
}

/* Related posts */
#related {
    -webkit-box-shadow: inset 0 6px 4px -4px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: inset 0 6px 4px -4px rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 6px 4px -4px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #BEBEBE;
    padding: 22px 36px;
}

#related .title {
    text-shadow: 0 1px 1px #ffffff;
    color: #666666;
    padding-top: 0;
}

#related > div {
    float: left;
    width: 33.3%;
}

#related .rel-two {
    width: 33.4%;
}

#related > .related > div {
    -webkit-transition: box-shadow 0.5s ease-in-out 0.2s, left 0.7s, right 0.7s, top 0.7s;
    -moz-transition: box-shadow 0.5s ease-in-out 0.2s, left 0.7s, right 0.7s, top 0.7s;
    -o-transition: box-shadow 0.5s ease-in-out 0.2s, left 0.7s, right 0.7s, top 0.7s;
    -ms-transition: box-shadow 0.5s ease-in-out 0.2s, left 0.7s, right 0.7s, top 0.7s;
    transition: box-shadow 0.5s ease-in-out 0.2s, left 0.7s, right 0.7s, top 0.7s;
    -webkit-box-shadow: 1px 1px 5px -1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 1px 5px -1px rgba(0, 0, 0, 0.5);
    box-shadow: 1px 1px 5px -1px rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    overflow: hidden;
}

#related > .related > div:hover,
#related > .related > div:active,
#related > .related > div:focus {
    -webkit-transition: box-shadow 0.3s ease-in-out 0s;
    -moz-transition: box-shadow 0.3s ease-in-out 0s;
    -o-transition: box-shadow 0.3s ease-in-out 0s;
    -ms-transition: box-shadow 0.3s ease-in-out 0s;
    transition: box-shadow 0.3s ease-in-out 0s;
    -webkit-box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(34, 25, 25, 0.4);
    -moz-box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(34, 25, 25, 0.4);
    box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(34, 25, 25, 0.4);
}

#related .entry-meta {
    background: url(images/diag.png) repeat scroll right top #ffffff;
    overflow: hidden;
}

#related .entry-meta .read-more {
    display: block;
    float: right;
    margin: 9px 13px;
    font-size: 13px;
    line-height: 18px;
}

#related > .rel-one > div {
    margin-right: 23px;
}

#related > .rel-two > div {
    margin: 0 12px 0 12px;
}

#related > .rel-three > div {
    margin-left: 23px;
}

#related .entry-header {
    -webkit-transition: background-color 0.5s ease-in-out 0.2s;
    -moz-transition: background-color 0.5s ease-in-out 0.2s;
    -o-transition: background-color 0.5s ease-in-out 0.2s;
    -ms-transition: background-color 0.5s ease-in-out 0.2s;
    transition: background-color 0.5s ease-in-out 0.2s;
    padding: 0;
    background-color: rgb(0, 160, 223);
    background-color: rgba(0, 160, 223, 0.7);
}

#related .related > div:hover .entry-header,
#related .related > div:active .entry-header,
#related .related > div:focus .entry-header {
    -webkit-transition: background-color 0.2s ease-in-out 0s;
    -moz-transition: background-color 0.2s ease-in-out 0s;
    -o-transition: background-color 0.2s ease-in-out 0s;
    -ms-transition: background-color 0.2s ease-in-out 0s;
    transition: background-color 0.2s ease-in-out 0s;
    background-color: rgba(0, 160, 223, 0.9);
}

#related .entry-header > a {
    padding: 10px 11px 11px 11px;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 0.4px;
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
}

/* Contacts form */
.wpcf7 input,
.wpcf7 textarea {
    margin: 3px 0;
    border: 1px solid #222222;
}

.wpcf7 input:hover,
.wpcf7 input:active,
.wpcf7 input:focus,
.wpcf7 textarea:hover,
.wpcf7 textarea:active,
.wpcf7 textarea:focus {
    border: 1px solid #00a0df;;
}

.wpcf7 .wpcf7-submit {
    border: none;
    background: #43b2de;
    color: #ffffff;
    padding: 5px 7px;
    text-transform: uppercase;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus {
    border: none;
    background: #00a0df;
}

.wpcf7 .wpcf7-submit:active {
    border: none;
    background: #43b2de;
}

/* WP-PageNavi plugin */
.paged .page-header {
    padding: 0 0 22px;
    position: relative;
}

#nav-above {
    display: none;
}

.paged #nav-above {
    display: block;
    position: absolute;
    right: 0;
    top: 9px;
    background: #EFEFEF;
    overflow: visible;
}

.wp-pagenavi {
    clear: both;
    margin-top: 22px;
    margin-bottom: 22px;
}

#nav-above .wp-pagenavi {
    margin-top: 0;
    margin-bottom: 0;
}

article #nav-article-above {
    overflow: visible;
}

#nav-article-above .wp-pagenavi {
    margin-top: 10px;
    margin-bottom: 0;
}

article .wp-pagenavi {
    text-align: right;
}

article .wp-pagenavi .pages {
    padding-left: 0;
}

.wp-pagenavi .pages {
    font-style: italic;
    cursor: default;
    padding: 0 22px 0 11px;
}

.wp-pagenavi a,
.wp-pagenavi span.extend,
.wp-pagenavi span.current {
    color: #666666;
    background: #ffffff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #dcdcdc;
    padding: 6px 9px 6px 9px;
    margin-right: 3px;
    font-size: 12px;
    text-decoration: none;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
    border-color: #dcdcdc;
    background: #00a0df;
    color: #ffffff;
}

.wp-pagenavi span.current {
    font-weight: bold;
    cursor: default;
}

#mokejimai-form .row {
    background: #f5f5f5;
    border-bottom: 1px solid #dadada;
    padding: 12px 7px 7px 7px;
}

#mokejimai-form .first-row {
    border-top: 1px solid #dadada;
}

#mokejimai-form .row label,
#mokejimai-form .row .spacer {
    display: block;
    float: left;
    width: 177px;
    text-align: right;
    font-weight: bold;
    padding-right: 15px;
}

#mokejimai-form .row .red {
    color: #ff0000;
}

.blue-button,
#mokejimai-form .row #mokejimai-button {
    margin-top: 0;
    border: none;
    background: #43b2de;
    color: #ffffff;
    padding: 5px 7px;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.blue-button:hover,
.blue-button:active,
.blue-button:focus,
#mokejimai-form .row #mokejimai-button:hover,
#mokejimai-form .row #mokejimai-button:active,
#mokejimai-form .row #mokejimai-button:focus {
    background: #00a0df;
    text-decoration: none;
}

/* =Widgets
----------------------------------------------- */
.widget {
    clear: both;
}

#colophon .widget {
    color: #ffffff;
}

#colophon .widget-title {
    color: #d2dbde;
    font-size: 14px;
    /*font-weight: 500;*/
    letter-spacing: 0.1em;
    /*line-height: 14px;*/
    text-transform: uppercase;
    font-weight: bold;
}

#sidebar-page .widget-title,
#masonry-sidebar .widget-title {
    font-size: 20px;
}


/* Widget Image */
.widget_image img {
    height: auto;
    max-width: 100%;
}

/* Events Calendar sidebar widget */
#cal-tabs-wrap {
    padding: 8px;
}

#cal-tabs .ui-tabs-nav {
    list-style: none outside none;
    position: relative;
    top: 1px;
    margin-left: 4px;
}

#cal-tabs .ui-tabs-nav .ui-tabs-nav-item {
    list-style: none outside none;
    display: block;
    float: left;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #bebebe;
    margin-left: 4px;
    background: #ededed;
    -webkit-border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
    -webkit-box-shadow: 0 -15px 15px -15px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0 -15px 15px -15px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 -15px 15px -15px rgba(0, 0, 0, 0.2) inset;
}

#cal-tabs .ui-tabs-nav .ui-tabs-nav-item.ui-state-active {
    border-color: #bebebe;
    background: #ffffff;
    border-bottom-color: #ffffff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#cal-tabs .ui-tabs-nav .ui-tabs-nav-item a {
    display: block;
    padding: 8px 14px;
    color: #575757;
    text-decoration: none;
    font-weight: bold;
}

#cal-tabs .ui-tabs-nav .ui-tabs-nav-item.ui-state-active a {
    color: #373737;
}

#cal-tabs #cal-tab-first,
#cal-tabs #cal-tab-second {
    background: #ffffff;
}

#cal-tabs #cal-tab-second {
    border: 1px solid #bebebe;
    padding: 8px;
}

.eme-calendar .eme-calendar-table {
    border-collapse: collapse;
    margin: 0 auto;
}

.eme-calendar .eme-calendar-table td {
    border: 1px solid #ffffff;
    padding: 5px 0;
    -webkit-border-radius: 4px 6px 7px 5px;
    -moz-border-radius: 4px 6px 7px 5px;
    border-radius: 4px 6px 7px 5px;
}

.eme-calendar .eme-calendar-table td {
    font-family: Calibri, "Lucida Grande", "Lucida Sans Unicode", sans-serif;
    font-size: 16px;
}

.eme-calendar .eme-calendar-table thead td {
    font-size: 19px;
}

.eme-calendar-table .days-names td {
    background-color: #00A0DF;
    padding: 5px 11px;
    color: #ffffff;
}

.eme-calendar-table .eventless-pre,
.eme-calendar-table .eventful-pre,
.eme-calendar-table .eventless-post,
.eme-calendar-table .eventful-post {
    background-color: #eeeeee;
}

.eme-calendar-table .eventless,
.eme-calendar-table .eventful {
    background-color: #e1e1e1;
}

.eme-calendar-table .eventless-today,
.eme-calendar-table .eventful-today {
    background-color: #c3c3c3;
}

.eme-calendar-table .eventful-pre a,
.eme-calendar-table .eventful-post a,
.eme-calendar-table .eventful a {
    font-weight: bold;
    color: #1982D1 !important;
}

.eme_events_list {
    list-style: none outside none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #bebebe;
}

.eme_events_list > li {
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    border: 1px solid #bebebe;
    border-left: 3px solid #ec1f27;
    border-bottom: none;
    padding: 6px 12px 6px 19px;
    font-family: Calibri, "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}

.eme_events_list > li:hover {
    border-left-width: 7px;
    padding-right: 6px;
    background-color: #f4f4f4;
}

.eme_events_list > li + li {
    border-left-color: #f58220;
}

.eme_events_list > li + li + li {
    border-left-color: #f8ef22;
}

.eme_events_list > li + li + li + li {
    border-left-color: #14a750;
}

.eme_events_list > li + li + li + li + li {
    border-left-color: #26abe2;
}

.eme_events_list > li + li + li + li + li + li {
    border-left-color: #a64787;
}

.eme_events_list > li + li + li + li + li + li + li {
    border-left-color: #ec1f27;
}

.eme_events_list > li a {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
}

.eme_events_list > li {
    display: block;
    overflow: hidden;
}

.eme_events_list > li span {
    display: block;
    float: left;
    margin-bottom: 6px;
}

.eme_events_list > li .big {
    font-weight: bold;
    font-size: 16px;
}

.eme_events_list > li .br {
    clear: left;
    margin-top: 3px;
    margin-right: 6px;
}

.eme_events_list > li .no-margin {
    margin-bottom: 0;
}

#content #post-with-details .post-display .entry-content .eme_events_list {
    margin-bottom: 22px;
}

#content #post-with-details .post-display .entry-content .eme-location-map {
    margin: 0;
    width: 100%;
    background-color: #ffffff;
}

.blog-1 #content #post-with-details .post-224 .entry-content,
.blog-2 #content #post-with-details .post-1160 .entry-content {
    padding-bottom: 0px;
}

#eme-event-details img {
    max-width: 100%;
    float: left;
    padding: 0 36px 22px 0;
}


/* Facebook button in sidebar */
#fb-sidebar {
    height: 22px;
    padding: 8px;
}

#fb-sidebar .fb-like {
    position: absolute;
    z-index: 10;
}

#fb-join {
    background: url(http://www.lgl.lt/wp-content/themes/lgl/images/join-us-on-facebook.png) no-repeat scroll left top transparent;
    display: block;
    height: 32px;
    width: 242px;
    margin: 0 0 8px 8px;
}

.blog-1 #fb-join:hover,
.blog-1 #fb-join:focus,
.blog-1 #fb-join:active {
    background-position: 0 -32px;
}

.blog-2 #fb-join {
    background-position: 0 -64px;
}

.blog-2 #fb-join:hover,
.blog-2 #fb-join:focus,
.blog-2 #fb-join:active {
    background-position: 0 -96px;
}

#sidebar-separator {
    background: url(images/hr-dots.png) repeat-x scroll right top transparent;
    margin: 2px 8px 6px 8px;
    height: 3px;
}

.sidebar-support-block {
    padding: 8px 8px 22px 8px;
}

.sidebar-support-button {
    width: 100%;
    margin-top: 0;
    border: none;
    background: #43b2de;
    color: #ffffff;
    padding: 5px 7px;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: block;
    padding: 7px 0px;
    text-align: center;
    background: #f57100;
    font-weight: bold;
}


/* Add Injection */
#sidebar-page .adinjwidget,
#masonry-sidebar .adinjwidget {
    padding: 8px;
}

/* Footer */

#colophon {
    clear: both;
    background: #2b2b2b;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
}

#supplementary {
    overflow: hidden;
    margin: 0 auto;
    padding: 22px 0;
    max-width: 1140px;
}

#supplementary-3 {
    overflow: hidden;
    margin: 0 auto;
    padding: 12px 0;
    max-width: 1140px;
}

#supplementary .first {
}

#supplementary.two .widget-area {
    float: left;
    margin-right: 3.7%;
    width: 34%;
}

#supplementary.two .widget-area + .widget-area {
    margin-right: 0;
}

/* Three Footer Widget Areas */
#supplementary.three .widget-area {
    float: left;
    margin-right: 3.7%;
    width: 30.85%;
}

#supplementary.three .widget-area + .widget-area + .widget-area {
    margin-right: 0;
}


/* Wysija newsletter widget */
#sidebar-page section.widget_wysija,
#masonry-sidebar section.widget_wysija {
    padding: 8px 8px 22px 8px;
}

#sidebar-page .widget-title,
#masonry-sidebar .widget-title {
    padding-bottom: 5px;
}

#sidebar-page .widget_wysija p,
#masonry-sidebar .widget_wysija p {
    margin-bottom: 9px;
}

#sidebar-page .widget_wysija .wysija-text,
#masonry-sidebar .widget_wysija .wysija-text {
    color: #666666;
    font-size: 13px;
}

#sidebar-page .widget_wysija .wysija-p-email,
#masonry-sidebar .widget_wysija .wysija-p-email {
    margin-bottom: 9px;
}

#sidebar-page .widget_wysija .wysija-input,
#masonry-sidebar .widget_wysija .wysija-input {
    width: 234px;
}

#sidebar-page .widget_wysija .wysija-submit,
#masonry-sidebar .widget_wysija .wysija-submit {
    width: 100%;
    margin-top: 0;
    border: none;
    background: #43b2de;
    color: #ffffff;
    padding: 5px 7px;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#sidebar-page .widget_wysija .wysija-submit:hover,
#masonry-sidebar .widget_wysija .wysija-submit:hover,
#sidebar-page .widget_wysija .wysija-submit:active,
#masonry-sidebar .widget_wysija .wysija-submit:active,
#sidebar-page .widget_wysija .wysija-submit:focus,
#masonry-sidebar .widget_wysija .wysija-submit:focus {
    background: #00a0df;
}

#colophon aside.widget_wysija {
    /*width: 356px;*/
    /*height: 155px;*/
    background: url("https://www.lgl.lt/wp-content/themes/lgl/images/post.png") no-repeat scroll left 3px transparent;
}

.blog-2 #colophon aside.widget_wysija {
    height: 172px;
}

#colophon .widget_wysija .widget-title {
    margin-bottom: 12px;
}

#colophon .widget_wysija .widget-title,
#colophon .widget_wysija .wysija-msg,
#colophon .widget_wysija .wysija-instruct,
#colophon .widget_wysija .wysija-text {
    margin-left: 108px;
}

#colophon .widget_wysija form {
    position: relative;
}

#colophon .widget_wysija form .wysija-p-firstname {
    position: absolute;
    width: 160px;
    top: 70px;
    left: 0;
}

#colophon .widget_wysija form .wysija-p-lastname {
    position: absolute;
    width: 160px;
    top: 70px;
    left: 195px;
}

#colophon .widget_wysija form .wysija-p-email {
    position: absolute;
    width: 356px;
    top: 67px;
    left: 0;
}

#colophon .widget_wysija form .wysija-p-firstname input,
#colophon .widget_wysija form .wysija-p-lastname input {

}

#colophon .widget_wysija form .wysija-p-firstname input,
#colophon .widget_wysija form .wysija-p-lastname input {

}

#colophon .widget_wysija form .wysija-p-email input,
#colophon .widget_wysija form .wysija-input {
    width: 245px;
    margin-left: 108px;
    margin-bottom: 15px;
}

#colophon .widget_wysija form .wysija-submit {
    /*position: absolute;*/
    top: 82px;
    left: 0;
    width: 100%;
    border: none;
    background: #43b2de;
    color: #ffffff;
    padding: 5px 7px;
    text-transform: uppercase;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.blog-2 #colophon .widget_wysija form .wysija-submit {
    top: 71px;
}

#colophon .widget_wysija form .wysija-submit:hover,
#colophon .widget_wysija form .wysija-submit:active,
#colophon .widget_wysija form .wysija-submit:focus {
    background: #00a0df;
}

/* Polls widget */
#sidebar-page .widget_polls-widget,
#masonry-sidebar .widget_polls-widget {
    padding: 8px;
}

#sidebar-page .widget_polls-widget p,
#masonry-sidebar.widget_polls-widget p {
    margin-bottom: 9px;
}

#sidebar-page .widget_polls-widget .buttons,
#masonry-sidebar .widget_polls-widget .buttons,
#sidebar-page .widget_polls-widget .buttons2,
#masonry-sidebar .widget_polls-widget .buttons2 {
    width: 100%;
    margin-top: 0;
    border: none;
    background: #43b2de;
    color: #ffffff;
    padding: 5px 7px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#sidebar-page .widget_polls-widget .buttons2,
#masonry-sidebar .widget_polls-widget .buttons2 {
    display: block;
    width: auto;
    text-align: center;
}

#sidebar-page .widget_polls-widget .buttons:hover,
#masonry-sidebar .widget_polls-widget .buttons:hover,
#sidebar-page .widget_polls-widget .buttons:active,
#masonry-sidebar .widget_polls-widget .buttons:active,
#sidebar-page .widget_polls-widget .buttons:focus,
#masonry-sidebar .widget_polls-widget .buttons:focus,
#sidebar-page .widget_polls-widget .buttons2:hover,
#masonry-sidebar .widget_polls-widget .buttons2:hover,
#sidebar-page .widget_polls-widget .buttons2:active,
#masonry-sidebar .widget_polls-widget .buttons2:active,
#sidebar-page .widget_polls-widget .buttons2:focus,
#masonry-sidebar .widget_polls-widget .buttons2:focus {
    background: #00a0df;
}

/* Baltic Pride 2013 */
body.bp2013,
body.vaivorykstes-dienos {
    background: url("images/bp2013_bg_left.gif") no-repeat fixed left bottom #6177B9;
}

.bp2013 .page-title > span,
.vaivorykstes-dienos .page-title > span {
    background: #6177B9;
}

.bp2013 #page,
.vaivorykstes-dienos #page {
    background: url("images/bp2013_bg_right.gif") no-repeat fixed right bottom transparent;
}

.bp2013 #content #post-with-details #pwd-inner,
.vaivorykstes-dienos #content #post-with-details #pwd-inner {
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.8);
}

.bp2013 #content #post-with-details #page-submenu,
.vaivorykstes-dienos #content #post-with-details #page-submenu {
    background: rgb(245, 245, 245);
    background: rgba(245, 245, 245, 0.95);
}

.bp2013 #content #sidebar-page, #content #masonry-sidebar,
.vaivorykstes-dienos #content #sidebar-page, #content #masonry-sidebar,
.bp2013 #content #post-with-details .post-display footer.entry-meta,
.vaivorykstes-dienos #content #post-with-details .post-display footer.entry-meta {
    background: rgb(245, 245, 245);
    background: rgba(245, 245, 245, 0.9);
}

.page-id-1018.blog-1 #content #post-with-details #pwd-inner,
.page-id-172.blog-2 #content #post-with-details #pwd-inner {
    background: #ffffff;
}

/* =Responsive Structure
----------------------------------------------- */

@media (max-width: 1200px) {
    #primary,
    #supplementary,
    #access-bottom,
    #menu-item-language,
    #supplementary-3 {
        margin: 0 5px;
    }

    #branding #searchform {
        right: 5px;
    }

    #access ul ul a {
        font-size: 14px;
    }

    #content #main-submenu ul li a,
    #content #post-with-details #page-submenu a {
        font-size: 14px;
    }

    .blog-1 #access #menu-item-957,
    .blog-2 #access #menu-item-106 {
        right: 146px;
    }

    .blog-1 #access #menu-item-956,
    .blog-2 #access #menu-item-105 {
        right: 43px;
    }

    .blog-1 #access #menu-item-956 > ul {
        left: -115px;
    }

    .blog-2 #access #menu-item-105 > ul {
        left: -135px;
    }

    #sticky-tabs .ui-tabs-panel .tab-content .entry-title {
        font-size: 22px;
    }
}

@media (max-width: 1100px) {
    #access > div > ul {
        margin: 0 0 0 20px;
    }

    #access ul {
        font-size: 14px;
    }

    #access > div > ul > li > a {
        margin: 0 10px 15px 10px;
    }

    #access #menu-item-957 {
        right: 126px;
    }

    #access ul ul a {
        font-size: 13px;
        line-height: 15px;
    }

    #content #main-submenu ul li a,
    #content #post-with-details #page-submenu a {
        font-size: 13px;
        line-height: 15px;
    }

    #access > div > ul > li > ul > li {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .blog-1 #access #menu-item-956 > ul {
        left: -135px;
    }

    .blog-2 #access #menu-item-105 > ul {
        left: -155px;
    }

    #access-bottom a {
        font-size: 13px;
    }

    .home #primary .entry-content h1 {
        font-size: 22px;
    }
}

@media (max-width: 1000px) {
    #access ul ul a {
        font-size: 12px;
    }

    #access > ul > li > ul > li.has-children {
        padding: 12px;
    }

    #content #main-submenu ul li a,
    #content #post-with-details #page-submenu a {
        font-size: 12px;
    }

    #content #main-submenu > ul > li {
        padding: 12px;
    }
}

@media (max-width: 950px) {
    #access ul {
        font-size: 12px;
    }

    #access > ul > li > a {
        margin-right: 10px;
    }

    .blog-1 #access #menu-item-957,
    .blog-2 #access #menu-item-106 {
        right: 100px;
    }

    .blog-1 #access #menu-item-956,
    .blog-2 #access #menu-item-105 {
        right: 30px;
    }

    .blog-1 #access #menu-item-956 > ul,
    .blog-2 #access #menu-item-105 > ul {
        left: -160px;
    }

    #content #post-with-details .post-display .entry-header .entry-details {
        float: left;
        overflow: auto;
    }

    #access-bottom > ul > li + li + li + li {
        clear: left;
        padding: 12px 22px 12px 0;
    }

    #access-bottom > ul > li + li + li + li + li {
        clear: none;
        padding: 12px 22px;
    }

    .home #primary .entry-content h1 {
        font-size: 18px;
    }

    .home #primary .entry-content p {
        margin-bottom: 0;
    }

    .page-title > span {
        font-size: 18px;
    }

    #sticky-tabs .ui-tabs-panel .tab-content .entry-title {
        font-size: 18px;
    }

    #related .entry-header > a {
        font-size: 13px;
        line-height: 17px;
    }
}

@media (max-width: 900px) {
    #content-inner-in {
        margin-right: auto;
    }

    #content #sidebar-page {
        margin-left: auto;
        width: 100%;
    }

    #content #sidebar-page > section {
        float: left;
        width: 258px;
        clear: none;
    }

    #content #post-with-details #pwd-inner,
    #content #post-with-details #page-submenu {
        margin-right: auto;
    }

    #important-submenu > ul > li {
        clear: none;
        padding-right: 24px;
    }

    #second {
        display: none;
    }

    #cal-tabs-wrap {
        clear: left !important;
    }

    #wysija-3,
    #adinj-4,
    #adinj-5,
    #wysija-2,
    #adinj-2 {
        display: none;
    }

    #content #sidebar-page #cal-tabs-wrap {
        width: 95%;
        float: none;
        margin: 0 auto;
    }
}

@media (max-width: 840px) {
    .blog-1 #access #menu-item-957,
    .blog-2 #access #menu-item-106,
    .blog-1 #access #menu-item-956,
    .blog-2 #access #menu-item-105,
    #access #menu-item-language {
        top: -10px;
    }

    #access {
        float: right;
    }

    #access > ul > li > a {
        margin-right: 20px;
    }

    #access > ul > li + li + li + li > a {
        margin-right: 6px;
    }

    #access > ul > li + li + li + li + li > a {
        margin-right: 20px;
    }

    #access ul ul a {
        font-size: 11px;
    }

    #access > ul > li > ul > li.has-children {
        padding: 12px;
    }

    .blog-1 #access #menu-item-957, .blog-2 #access #menu-item-106 {
        right: 113px;
    }

    #content #main-submenu ul li a {
        font-size: 11px;
    }

    .home #primary .entry-content h1 {
        font-size: 14px;
    }

    .page-title > span {
        font-size: 16px;
    }

    .ui-helper-reset {
        line-height: 1 !important;
    }

    #supplementary-3 .widget_text td {
        display: block;
        margin-bottom: 10px;
    }
}

@media (max-width: 700px) {
    .skip-link {
        display: none;
    }

    #access #menu-aria {
        /*position: relative;*/
        clip: auto;
        padding: 8px 12px;
        font-size: 12px;
        font-weight: normal;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        color: #757575;
        background-color: #e1e1e1;
        background-repeat: repeat-x;
        background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
        background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
        background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
        background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
        background-image: linear-gradient(top, #ebebeb, #e1e1e1);
        box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
        border: none;
        cursor: pointer;
        width: 55%;
        /*margin-left: 20px;
        margin-top: 48px;*/
        position: absolute;
        right: 5px;
        top: 68px;
    }

    #menu-primary-navigation {
        display: none;
        position: absolute;
        background-color: #ffffff;
        margin: 0 !important;
        left: 0;
        right: 0;
        top: 110px;
        border-bottom: 1px solid #bebebe;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
        -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    }

    #menu-primary-navigation.toggled-on {
        display: block;
    }

    #access > ul > li {
        padding: 6px 12px;
    }

    #access > ul > li > a {
        margin: 0;
        padding: 0;
    }

    #access > ul > li > ul {
        position: relative;
        visibility: visible;
        -webkit-opacity: 1;
        -moz-opacity: 1;
        opacity: 1;
        top: auto;
        left: auto;
        background: none;
        border: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    #access > ul > li:hover > ul {
        top: auto;
    }

    #access > ul > li > ul > li {
        clear: both;
        padding: 8px 0 !important;
    }

    #access > ul > li > a,
    #access > ul > li > a,
    #access > ul > li > a {
        border-bottom: 3px solid #00A0DF;
    }

    #access > ul > li.m-color2 > a,
    #access > ul > li.m-color2 > a,
    #access > ul > li.m-color2 > a {
        border-bottom: 3px solid #f57100;
    }

    #access > ul > li.m-color3 > a,
    #access > ul > li.m-color3 > a,
    #access > ul > li.m-color3 > a {
        border-bottom: 3px solid #00a744;
    }

    #access > ul > li.m-color3.current-menu-item > a,
    #access > ul > li.m-color3.current-menu-ancestor > a,
    #access > ul > li.m-color3.current-post-ancestor > a,
    #access > ul > li.m-color3.current_page_item > a,
    #access > ul > li.m-color3.current_page_ancestor > a {
        font-weight: bold;
    }

    .blog-1 #access #menu-item-957 > ul,
    .blog-1 #access #menu-item-956 > ul,
    .blog-2 #access #menu-item-106 > ul,
    .blog-2 #access #menu-item-105 > ul {
        position: relative;
        top: auto !important;
        left: auto !important;
        width: auto !important;
    }

    .blog-1 #access #menu-item-957,
    .blog-2 #access #menu-item-106 {
        clear: left;
    }


    #access #menu-item-language,
    .blog-1 #access #menu-item-956,
    .blog-1 #access #menu-item-957,
    .blog-2 #access #menu-item-106,
    .blog-2 #access #menu-item-105 {
        position: relative;
        float: left;
        top: auto;
        right: auto;
        margin: 0;
    }


    #access > ul > li.has-children:hover > a:before,
    #access > ul > li.has-children:hover > a:after {
        display: none;
        -webkit-opacity: 0;
        -moz-opacity: 0;
        opacity: 0;
        visibility: hidden;
        top: auto;
    }

    /* Floated content doesn't work well at this size */
    .alignleft,
    .alignright {
        float: none;
        margin-left: 0;
        margin-right: 0;
    }

    #menu-item-1232 {
        clear: left;
    }

    #menu-item-85,
    #menu-item-272 {
        clear: left;
    }

    #menu-item-language {
        clear: left;
        margin-bottom: 22px;
    }

    #related .entry-header > a {
        font-size: 12px;
        line-height: 16px;
    }

    #related {
        padding: 22px 12px;
    }

    #related .title {
        font-size: 18px;
    }

    #related > .rel-one > div {
        margin-right: 11px;
    }

    #related > .rel-two > div {
        margin: 0 6px;
    }

    #related > .rel-three > div {
        margin-left: 11px;
    }
}

@media (max-width: 650px) {
    #access #menu-aria {
        width: 45%;
    }

    #sticky-tabs .ui-tabs-panel .tab-content {
        bottom: 0;
        right: 0;
        left: 0;
    }

    #sticky-tabs .ui-tabs-panel .tab-content .entry-summary {
        font-size: 11px;
    }

    #sticky-tabs li.ui-tabs-nav-item a {
        font-size: 12px;
    }
}

@media (max-width: 550px) {
    #access-bottom > ul > li + li + li + li + li + li {
        clear: left;
        padding: 12px 22px 12px 0;
    }

    #menu-item-1232 {
        clear: none;
    }
}

@media (max-width: 490px) {
    #access-bottom > ul > li + li + li {
        clear: left;
        padding: 12px 22px 12px 0;
    }

    #access-bottom > ul > li + li + li + li {
        clear: none;
        padding: 12px 22px 12px 22px;
    }

    #access-bottom > ul > li + li + li + li + li {
        clear: left;
        padding: 12px 22px 12px 0;
    }

    #access-bottom > ul > li + li + li + li + li + li {
        clear: none;
        padding: 12px 22px 12px 22px;
    }

    #access #menu-aria {
        width: 35%;
    }

    #sticky-tabs .ui-tabs-panel .tab-content .entry-title {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    #access-bottom > ul > li {
        clear: left !important;
        padding: 12px 22px 12px 0 !important;
    }

    #access #menu-aria {
        width: 89px;
        top: 50px;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {

}


/* =Print
----------------------------------------------- */

@media print {
    body {
        background: none !important;
        font-size: 10pt;
    }

    body {
        background-color: #ffffff;
        color: #000000;
    }

    body, input, textarea, p {
        color: #000000;
        background-color: #ffffff;
    }

    /*article .entry-content p a:link:after,
    article .entry-content p a:visited:after {
        content: " [" attr(href) "] "!important;
    }*/
    #page {
        clear: both !important;
        display: block !important;
        float: none !important;
        max-width: 100%;
        width: 100%;
        position: relative !important;
    }

    #branding {
        padding: 0;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    #branding hgroup {
        margin: 0;
        padding: 0;
        clip: auto;
        position: relative !important;
        float: left;
        display: none;
    }

    #site-title a {
        font-size: 21pt;
        font-weight: bold;
        color: #000000;
    }

    #site-description {
        font-size: 12pt;
        font-weight: bold;
    }

    #branding #logo {
        margin: 0 0 10px 0;
        padding: 0;
        float: left;
    }

    #access {
        display: none;
    }

    #branding #searchform {
        display: none;
    }


    #main {
        width: 100%;
    }

    #primary {
        float: left;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    #content {
        margin: 0;
        width: auto;
    }

    #sidebar-page,
    #masonry-sidebar {
        display: none;
    }

    #page-submenu {
        display: none;
        background-color: #fff !important;
    }

    #post-with-details #page-submenu {
        display: block;
    }

    #pwd-inner {
        margin: 0 !important;
    }

    .entry-header .entry-details {
        margin: 0;
        padding: 10px 0 0 0 !important;
    }

    .entry-header .author,
    .entry-header .fb-like {
        display: none;
    }

    #nav-article-above .wp-pagenavi {
        text-align: left;
    }

    #nav-article-above .wp-pagenavi * {
        display: none;
    }

    #nav-article-above .wp-pagenavi .pages {
        display: block;
    }

    /*#content #post-with-details .post-display .entry-header .half-width,*/
    /*#content #post-with-details .post-display .entry-header .small-width {*/
    /*margin: 16px 36px 22px 0;*/
    /*}*/
    /*#content #post-with-details .post-display .entry-content > * {*/
    /*margin: 0;*/
    /*}*/
    /*#content .masonry .small-masonry-brick > div > .masonry-article-content > div {*/
    /*padding-left: 0;*/
    /*}*/
    /*#content .wp-caption {*/
    /*margin: 0 36px 0 0!important;*/
    /*}*/
    /*#content .entry-content p {*/
    /*padding: 0 0 10px 0;*/
    /*}*/
    #nav-article-below {
        display: none;
    }

    footer.entry-meta {
        display: none;
    }

    #related {
        display: none;
    }

    .entry-title {
        font-size: 21pt;
        font-weight: bold;
    }

    .widget-area {
        display: none;
    }

    #colophon {
        background: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #colophon #supplementary,
    #colophon #access-bottom {
        display: none;
    }

    #supplementary-3 {
    }

    #supplementary-3 td,
    #supplementary-3 a {
        color: #000000 !important;
    }


    /*#content .masonry {*/
    /*height: auto!important;*/
    /*width: 100%!important;*/
    /*}*/
    /*#content .masonry .masonry-brick {*/
    /*float: none!important;*/
    /*position: relative!important;*/
    /*width: 100%!important;*/
    /*top: auto!important;*/
    /*left: auto!important;*/
    /*}*/
    /*#content .masonry .masonry-brick > div {*/
    /*height: auto!important;*/
    /*width: 100%!important;*/
    /*}*/
    #comments {
        display: none;
    }
}

.post-11935.page .synved-section-list, .post-18182 .synved-section-list {
    margin-top: 15px;
}

.post-11935.page .synved-section-list h4, .post-18182 .synved-section-list h4 {
    margin-bottom: 10px;
}

#nav-article-below {
    clear: both;
}

.asocNuotraukos {
    max-width: 100px;
}

/* IE7 */
/*#ie7 article.intro {

}*/

.issuuembed.issuu-isrendered {
    width: auto !important;
}

iframe[src*='issuu.com'] {
    width: 100% !important;
}

.homepageHeaderWidget {
    text-align: left;
}

.homepageHeaderWidget .html5Wrapper {
    position: relative;
}

.homepageHeaderWidget .html5Wrapper > a > div {
    left: 50%;
    transform: translateX(-50%);
    max-width: 970px;
    position:absolute; z-index:500;height:250px;width:100%;
}

.homepageHeaderWidget .html5Wrapper > a > iframe {
    max-width: 970px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.homepageFooterWidget .html5Wrapper {
    position: relative;
}

.homepageFooterWidget .html5Wrapper > a > div {
    left: 50%;
    transform: translateX(-50%);
    max-width: 970px;
    position:absolute; z-index:500;height:250px;width:100%;
}

.homepageFooterWidget .html5Wrapper > a > iframe {
    max-width: 970px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 100%;
    width: auto;
}