/* =Custom font 
-------------------------------------------------------------- */

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Light.ttf');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Semibold.ttf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Italic.ttf');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-BoldItalic.ttf');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-LightItalic.ttf');
    font-weight: 100;
    font-style: italic;
}

/* =Reset default browser CSS. Based on work by Eric Meyer.
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

body {
    line-height: 1;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: normal;
}

ol, ul {
    list-style: none;
}

blockquote {
    quotes: none;
}

blockquote:before, blockquote:after {
    content: '';
    content: none;
}

del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

a img {
    border: none;
}

/* =Layout
-------------------------------------------------------------- */

/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#container {
    float: left;
    margin: 0 -380px 0 0;
    width: 100%;
}

#content {
    margin: 0 380px 36px 0;
    padding: 20px 20px 60px 20px;
    background: #fff;
    border-radius: 5px;
    -moz-border-radius: 5px;
    box-shadow: 0 0 5px #DDD;
}

#primary {
    float: right;
    width: 320px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    -moz-border-radius: 5px;
    box-shadow: 0 0 5px #DDD;
}

#secondary {
    width: 100%;
    clear: both;
    height: auto;
}

#footer {
    clear: both;
    width: 100%;
}

@media screen and (max-width: 1000px) {
    #container {
        float: none;
        margin: 0;
    }

    #content {
        margin: 0 20px 36px 20px;
    }

    #primary {
        float: none;
        clear: both;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    #wrapper {
        margin-bottom: 0;
    }

    #footer {
        margin-top: 0;
    }
}

/*
LAYOUT: One column, no sidebar
DESCRIPTION: One centered column with no sidebar
*/

.one-column #content {
    margin: 0 auto;
    width: 640px;
}

/*
LAYOUT: Full width, no sidebar
DESCRIPTION: Full width content with no sidebar; used for attachment pages
*/

.single-attachment #content {
    margin: 0 auto;
    width: 900px;
}


/* =Fonts
-------------------------------------------------------------- */
body,
input,
textarea,
.page-title span,
.pingback a.url {
    font-family: 'Source Sans Pro', Georgia, "Bitstream Charter", serif;
}

h3#comments-title,
h3#reply-title,
#access .menu,
#access div.menu ul,
#cancel-comment-reply-link,
.form-allowed-tags,
#site-info,
#site-title,
#wp-calendar,
.comment-meta,
.comment-body tr th,
.comment-body thead th,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
#respond label,
.navigation,
.page-title,
.pingback p,
.reply,
.widget-title,
.wp-caption-text {
    font-family: 'Source Sans Pro', sans-serif;
}

input[type="submit"] {
    font-family: 'Source Sans Pro', "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}

pre {
    font-family: 'Source Sans Pro', "Courier 10 Pitch", Courier, monospace;
}

code {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}


/* =Structure
-------------------------------------------------------------- */

/* The main theme structure */
div.menu,
#colophon,
#branding,
#main,
#wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1146px;
}

#branding {
    display: none;
}

#wrapper {
    padding: 0 0 20px 0;
}

/* Structure the footer area */
#footer-widget-area {
    overflow: hidden;
}

#footer-widget-area .widget-area {
    float: left;
    margin-right: 20px;
    width: 220px;
}

#footer-widget-area #fourth {
    margin-right: 0;
}

#site-info {
    float: left;
    font-size: 14px;
    font-weight: bold;
    width: 700px;
}

#site-generator {
    float: right;
    width: 220px;
}


/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */
body {
    background: #f1f1f1;
}

body,
input,
textarea {
    color: #666;
    font-size: 12px;
    line-height: 18px;
}

hr {
    background-color: #e7e7e7;
    border: 0;
    clear: both;
    height: 1px;
    margin-bottom: 18px;
}

/* Text elements */
p {
    margin-bottom: 18px;
}

ul {
    list-style: square;
    margin: 0 0 18px 1.5em;
}

ol {
    list-style: decimal;
    margin: 0 0 18px 1.5em;
}

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 0 24px 0;
}

dt {
    font-weight: bold;
}

dd {
    margin-bottom: 18px;
}

strong {
    font-weight: bold;
}

cite,
em,
i {
    font-style: italic;
}

big {
    font-size: 131.25%;
}

ins {
    background: #ffc;
    text-decoration: none;
}

blockquote {
    font-style: italic;
    padding: 0 3em;
}

blockquote cite,
blockquote em,
blockquote i {
    font-style: normal;
}

pre {
    background: #f7f7f7;
    color: #222;
    line-height: 18px;
    margin-bottom: 18px;
    overflow: auto;
    padding: 1.5em;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

sup,
sub {
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

small {
    font-size: smaller;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
textarea {
    background: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
    padding: 2px;
}

a:link {
    color: #0066cc;
}

a:visited {
    color: #0066cc;
}

a:active,
a:hover {
    color: #ff4b33;
}

/* Text meant only for screen readers */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    position: absolute !important;
    height: 1px;
    width: 1px;
}


/* =Header
-------------------------------------------------------------- */

#header {
    padding: 0;
}

#site-title a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

#site-description {
    clear: right;
    float: right;
    font-style: italic;
    margin: 15px 0 18px 0;
    width: 220px;
}

/* This is the custom header image */
#branding img {
    border-top: 4px solid #000;
    border-bottom: 1px solid #000;
    display: block;
    float: left;
}


/* =Slider
-------------------------------------------------------------- */

.ms-parent-id-1 > .master-slider {
    background-size: 100% auto !important;
    background-position: 0 10% !important;
}

.slide-cs {
    width: 100%;
    height: 583px;
    margin: 0;
    padding: 0;
}

.slide-cs img {
    background: rgba(30, 30, 30, 0.8);
    padding: 50px;
    border-radius: 5px;
}

.slide-container {
    width: 100%;
    height: 583px;
    margin: 0 auto; /*position: relative;*/
    padding: 0;
}

.slide-content {
    width: 100%;
    max-width: 800px;
    height: 583px;
    margin: 0 auto;
    padding-top: 150px;
    color: #FFF;
}

.slide-content .background {
    background: rgba(30, 30, 30, 0.8);
    padding: 50px;
    border-radius: 5px;
}

.slide-content h2 {
    font-size: 50px;
    line-height: 65px;
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 0;
    line-height: 30px;
    padding-bottom: 0;
}

.ms-slide-info .ms-info {
    position: relative;
}

/*.ms-slide-info .ms-info .slider-center-image {position: absolute; top: 50%; left: 50%; transform: translate(-50%, 60%); max-width: 80%;}*/
.ms-slide-info .ms-info .slider-center-image {
    position: relative;
    top: auto;
    left: auto;
    max-width: 70%;
    display: inherit;
    margin: 15% auto;
}

@media screen and (max-width: 1000px) {
    .slide-content .background {
        max-width: 58%;
        margin: 0 auto;
        padding: 30px;
    }

    .slide-content h2 {
        font-size: 40px;
        line-height: normal;
    }

    .slide-content p {
        font-size: 20px;
        line-height: normal;
    }
}

@media screen and (max-width: 600px) {
    .slide-content .background {
        max-width: 55%;
    }

    .slide-content h2 {
        font-size: 30px;
    }

    .slide-content p {
        font-size: 18px;
    }
}

/* =Menu
-------------------------------------------------------------- */

#access {
    background: #252525;
    display: block;
    position: fixed;
    top: 0;
    margin: 0 auto;
    width: 100%;
    height: 63px;
    border-bottom: 3px solid #0070C0;
    z-index: 1000;
}

#wpadminbar {
    border-bottom: 1px solid gold;
}

div.width-wrap {
    width: 100%;
    max-width: 1146px;
    margin: 0 auto;
}

#access .menu-logo {
    float: left;
    width: 15%;
    margin-right: 2%;
    margin-top: 5px;
}

#access .menu-header {
    float: left;
    display: table;
    width: 83%;
    position: relative;
}

#access .menu-header > ul {
    display: table-row;
}

#access .menu-header > ul > li {
    display: table-cell;
    float: none;
    text-align: center;
}

div.menu {
    font-size: 13px;
    margin-left: 12px;
    width: auto;
    height: 63px;
}

#access .menu a {
    text-transform: uppercase;
}

#access .menu .sub-menu a {
    text-transform: none;
}

#access .menu-header li ul li,
div.menu li ul li {
    display: table-cell;
    float: none;
}

#access a {
    color: #fff;
    display: block;
    line-height: 63px;
    white-space: nowrap;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
}

#access ul ul {
    display: none;
    position: absolute;
    top: 63px;
    right: 0;
    float: none;
    min-width: 60%;
    z-index: 99999;
    margin: 0;
    padding: 17px 20px 15px 20px;
}

#access ul ul li {
    float: none;
    text-align: center;
}

#access ul ul ul {
    left: 100%;
    top: 0;
}

#access ul ul a {
    background: #fff;
    color: #000;
    line-height: 1em;
    padding: 10px;
    height: auto;
    border-right: 1px solid #666;
    border-top: 1px solid #AAA;
    border-bottom: 1px solid #AAA;
}

#access ul ul li:first-child a {
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-left: 1px solid #666;
}

#access ul ul li:last-child a {
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#access li:hover > a,
#access ul ul:hover > a {
    background: #0070c0 url(images/sd-menu-btn-bg.png) 50% 0 no-repeat;
    color: #fff;
}

.menu > li > a {
    position: relative;
}

.menu > li > a .icon {
    background: url(images/sd-menu-icon-bg.png) 0 0 no-repeat;
    width: 29px;
    height: 15px;
    position: absolute;
    left: 50%;
    margin-left: -14px;
    top: 65px;
    display: none;
    z-index: 100;
}

.menu .menu-item-has-children:hover .icon {
    display: block;
}

#access ul li:hover > ul {
    display: table-row;
}

#access ul li.current_page_item > a,
#access ul li.current_page_ancestor > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-parent > a,
#access ul li.current-menu-item > a {
    background: #0070c0;
    color: #fff;
}

#access ul ul li.current-menu-item > a {
    color: #333;
}

#access #responsive-menu-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 19px;
    padding: 10px;
    cursor: pointer;
    background: url(images/sd-icon-responsive-menu.png) 50% 50% no-repeat;
}

@media screen and (max-width: 1000px) {
    #access {
        position: relative;
    }

    #access .menu-logo {
        width: auto;
        height: 55px;
        margin: 4px 10px;
    }

    #access .menu-header {
        float: none;
        display: none;
        width: 100%;
        top: 0;
    }

    #access .menu-header > ul {
        display: block;
        width: 100%;
        margin: 0;
    }

    #access .menu-header > ul > li {
        display: inline-block;
        width: 100%;
        background: #333;
    }

    #access .menu-header li ul li,
    div.menu li ul li {
        display: block;
        float: none;
        clear: both;
        position: relative;
    }

    #access a {
        line-height: 35px;
        clear: both;
    }

    .menu > li > a {
        position: static;
    }

    #access ul ul {
        display: block;
        position: relative;
        top: 0;
        float: none !important;
        clear: both;
        min-width: 0;
        width: 100%;
        height: auto;
        z-index: 99999;
        margin: 0;
        padding: 0;
    }

    #access ul ul li {
        float: none;
        clear: both;
        display: inline-block;
        width: 100%;
        height: 35px;
    }

    #access ul ul li:first-child a {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        border: 0;
    }

    #access ul ul li:last-child a {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        border: 0;
    }

    #access ul ul a {
        background: #fff;
        color: #000;
        line-height: 35px;
        padding: 0;
        border: 0;
    }

    #access ul li:hover > ul {
        display: block;
    }

    #access #responsive-menu-btn {
        display: block;
    }
}

/* =Content
-------------------------------------------------------------- */

#main {
    clear: both;
    padding: 10px 0 0 0;
}

#content,
#content input,
#content textarea {
    color: #333;
    font-size: 16px;
    line-height: 24px;
}

#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
    margin-bottom: 24px;
}

#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
    margin-bottom: 0;
}

#content pre,
#content kbd,
#content tt,
#content var {
    font-size: 15px;
    line-height: 21px;
}

#content code {
    font-size: 13px;
}

#content dt,
#content th {
    color: #000;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    color: #000;
    line-height: 1.5em;
    margin: 0 0 20px 0;
}

#content table {
    border: 1px solid #e7e7e7;
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
}

#content tr th,
#content thead th {
    color: #777;
    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
    padding: 9px 24px;
}

#content tr td {
    border-top: 1px solid #e7e7e7;
    padding: 6px 24px;
}

#content tr.odd td {
    background: #f2f7fc;
}

.hentry {
    margin: 0 0 5px 0;
}

.home .sticky {
    background: #f2f7fc;
    border-top: 4px solid #000;
    margin-left: -20px;
    margin-right: -20px;
    padding: 18px 20px;
}

.single .hentry {
    margin: 0 0 36px 0;
}

.page-title {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 36px 0;
}

.page-title span {
    color: #333;
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
}

.page-title a:link,
.page-title a:active,
.page-title a:visited {
    color: #777;
    text-decoration: none;
}

.page-title a:hover {
    color: #0170C1;
}

#content .entry-title {
    color: #252525;
    font-size: 21px;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 10px;
    clear: none;
}

.entry-title a:link,
.entry-title a:active,
.entry-title a:visited {
    color: #252525;
    text-decoration: none;
}

.entry-title a:hover {
    color: #ff4b33;
}

.entry-meta {
    color: #777;
    font-size: 12px;
}

.entry-meta abbr,
.entry-utility abbr {
    border: none;
}

.entry-meta abbr:hover,
.entry-utility abbr:hover {
    border-bottom: 1px dotted #666;
}

.entry-content,
.entry-summary {
    clear: both;
    padding: 12px 0 15px 0;
}

.entry-content .more-link {
    white-space: nowrap;
}

#content .entry-summary p:last-child {
    margin-bottom: 30px;
}

.entry-content fieldset {
    border: 1px solid #e7e7e7;
    margin: 0 0 24px 0;
    padding: 24px;
}

.entry-content fieldset legend {
    background: #fff;
    color: #000;
    font-weight: bold;
    padding: 0 24px;
}

.entry-content input {
    margin: 0 0 24px 0;
}

.entry-content input.file,
.entry-content input.button {
    margin-right: 24px;
}

.entry-content label {
    color: #777;
    font-size: 12px;
}

.entry-content select {
    margin: 0 0 24px 0;
}

.entry-content sup,
.entry-content sub {
    font-size: 10px;
}

.entry-content blockquote.left {
    float: left;
    margin-left: 0;
    margin-right: 24px;
    text-align: right;
    width: 33%;
}

.entry-content blockquote.right {
    float: right;
    margin-left: 24px;
    margin-right: 0;
    text-align: left;
    width: 33%;
}

.page-link {
    clear: both;
    color: #000;
    font-weight: bold;
    line-height: 48px;
    word-spacing: 0.5em;
}

.page-link a:link,
.page-link a:visited {
    background: #f1f1f1;
    color: #333;
    font-weight: normal;
    padding: 0.5em 0.75em;
    text-decoration: none;
}

.home .sticky .page-link a {
    background: #d9e8f7;
}

.page-link a:active,
.page-link a:hover {
    color: #ff4b33;
}

body.page .edit-link {
    clear: both;
    display: block;
}

#entry-author-info {
    background: #f2f7fc;
    border-top: 4px solid #000;
    clear: both;
    font-size: 14px;
    line-height: 20px;
    margin: 24px 0;
    overflow: hidden;
    padding: 18px 20px;
}

#entry-author-info #author-avatar {
    background: #fff;
    border: 1px solid #e7e7e7;
    float: left;
    height: 60px;
    margin: 0 -104px 0 0;
    padding: 11px;
}

#entry-author-info #author-description {
    float: left;
    margin: 0 0 0 104px;
}

#entry-author-info h2 {
    color: #000;
    font-size: 100%;
    font-weight: bold;
    margin-bottom: 0;
}

.entry-utility {
    font-size: 12px;
    line-height: 18px;
    text-align: left;
}

.entry-utility a {
    color: #888;
    text-decoration: none;
    border: 1px solid lightgrey;
    border-radius: 4px;
    padding: 4px 8px;
}
.entry-utility a:hover {
    color: #0070C0;
    background-color: lightgrey;
    border: 1px solid #0070C0;
}

.entry-meta a {
    color: #777;
}

.entry-meta a:hover,
.entry-utility a:hover {
    color: #ff4b33;
}

#content .video-player {
    padding: 0;
}

.format-standard .wp-video,
.format-standard .wp-audio-shortcode,
.format-audio .wp-audio-shortcode,
.format-standard .video-player {
    margin-bottom: 24px;
}

#content .partner-list {
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

#content .partner-list li {
    display: inline-block;
    float: left;
    width: 20%;
    margin: 0;
    padding: 0;
    height: 120px;
    position: relative;
}

#content .partner-list li img {
    max-width: 80%;
    position: absolute;
    max-height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* CUSTOM PAGE NAVIGATION
-------------------------------------------------------------- */

#page_navigation {
    margin: 0 auto;
    text-align: center;
}

#page_navigation a:visited,
#page_navigation a:focus,
#page_navigation a {
    display: inline-block;
    outline: 0;
    padding: 2px 6px;
    border: 1px solid #EEE;
    border-radius: 4px;
    margin: 0 3px;
    text-decoration: none;
    color: #000;
}

#page_navigation a:hover {
    background: #EEE;
}

#page_navigation a.active_page {
    border: 0;
    font-weight: 600;
    cursor: default;
}

#page_navigation a.active_page:hover {
    background: #FFF;
}

/* =Posts (custom)
-------------------------------------------------------------- */

#content .post {
    position: relative;
    padding-bottom: 10px;
}

#content .post hr {
    clear: both;
    background: transparent;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #eee;
    padding: 10px 0 0 0;
}

/*#content .post:last-child hr { border: 0; margin: 0; padding: 0; }*/
#content .post .post-image {
    display: inline-block;
    float: left;
    margin-bottom: 20px;
    position: relative;
    left: -25px;
    width: 245px;
    min-height: 160px;
    max-height: 190px;
    overflow: hidden;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

#content .post .post-image.book-cover {
    left: 0;
    width: 100px;
    margin-right: 20px;
    max-height: unset;
}

#content .post .post-image img {
    min-width: 101%;
    width: auto;
    min-height: 101%;
    height: auto;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    background-color: gray;
}

#content .post .post-date {
    position: absolute;
    top: -4px;
    left: -39px;
    height: 27px;
    line-height: 27px;
    background: #f3d332;
    color: #000;
    padding: 0 8px;
    font-size: 15px;
}

@media screen and (max-width: 600px) {
    #content .post .post-image {
        display: inline-block;
        float: none;
        left: 0;
        width: 100%;
    }
    #content .post .post-image img {
        min-width: 100%;
        max-width: none;
        min-height: 100%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    #content .post .post-date {
        top: 10px;
        left: -14px;
    }
}

#content h2, #content div {
    clear: none;
}

#content .post .post-date .date-shadow {
    width: 14px;
    height: 8px;
    position: absolute;
    bottom: -8px;
    left: 0;
    background: url(images/sd-post-date-shadow.png) no-repeat;
}

#content .post .post-date .date-cut {
    width: 9px;
    height: 27px;
    position: absolute;
    top: 0;
    right: -9px;
    background: url(images/sd-post-date-cut.png) no-repeat;
}

#content .post .entry-summary p,
#content .entry-meta .cust-kde,
#content .entry-meta .cust-kdy {
    color: #252525;
    font-size: 14px;
    line-height: normal;
}

#content .other-events,
#content .post .entry-summary .post-read-more,
#content .post .entry-summary .post-read-more:active,
#content .post .entry-summary .post-read-more:visited {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 40px;
    border: 1px solid #0170c1;
    border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 7px 20px;
    color: #0170c1;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
}

#content .other-events:hover,
#content .post .entry-summary .post-read-more:hover {
    color: #fff;
    background: #0170c1;
}

#content .other-events {
    position: relative;
    float: right;
    bottom: 10px;
    margin-left: 10px;
}

#content .post .post-image-full img {
    display: inline-block;
    float: left;
    margin: 0 10px 20px 0;
    max-width: 250px;
    max-height: 400px;
}

@media screen and (max-width: 600px) {
    #content .post .entry-summary p,
    #content .post .entry-content p {
        text-align: justify;
    }
    #content .post .post-image-full img {
        display: inline-block;
        float: none;
        margin: 0;
        max-width: unset;
        width: 100%;
        height: auto;
    }
    #content .post .entry-meta {
        font-size: 15px;
    }
}

/* =Sidemenu (custom)
-------------------------------------------------------------- */

#primary {
    position: relative;
    margin-bottom: 30px;
}

#primary #polylang-2 {
    position: absolute;
    top: 0;
    right: -130px;
    width: 100px;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    -moz-border-radius: 5px;
    box-shadow: 0 0 5px #DDD;
}

#primary #polylang-2 h3 {
    font-size: 13px;
    color: #777;
    margin-bottom: 3px;
}

#primary #polylang-2 ul {
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

#primary #polylang-2 li {
    display: inline-block;
    width: 48%;
    margin: 0 1%;
    float: left;
}

#primary #polylang-2 li a img {
    width: 100%;
}

#primary #polylang-2 li a img {
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url('images/sd-flag-en.png') no-repeat;
    width: 48px !important;
    height: 33px !important;
    padding-left: 48px;
}

#primary #polylang-2 li:first-child a img {
    background: url('images/sd-flag-cz.png') no-repeat;
}

#primary .social-buttons {
    position: absolute;
    top: 50px;
    right: -74px;
}

#primary .social-buttons p {
    margin-bottom: 10px;
}

@media screen and (max-width: 1425px) {
    #primary #polylang-2 {
        position: relative;
        top: 0;
        right: 0;
        background: transparent;
        height: 60px;
        width: 110px;
        padding: 0;
        border: 0;
        box-shadow: none;
        color: black;
    }

    #primary #polylang-2 h3 {
        font-size: 14px;
        color: #252525;
        margin-bottom: 8px;
    }

    #primary .social-buttons {
        top: -71px;
        right: 0;
        padding-bottom: 10px;
        height: 60px;
    }

    #primary .social-buttons p {
        float: left;
        margin: 10px 2px;
    }

    #primary .social-buttons p:first-child {
        margin-left: 0;
    }
}

/* =Asides
-------------------------------------------------------------- */

.home #content .format-aside p,
.home #content .category-asides p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
    margin-top: 0;
}

.home .hentry.format-aside,
.home .hentry.category-asides {
    padding: 0;
}

.home #content .format-aside .entry-content,
.home #content .category-asides .entry-content {
    padding-top: 0;
}


/* =Gallery listing
-------------------------------------------------------------- */

.format-gallery .size-thumbnail img,
.category-gallery .size-thumbnail img {
    border: 10px solid #f1f1f1;
    margin-bottom: 0;
}

.format-gallery .gallery-thumb,
.category-gallery .gallery-thumb {
    float: left;
    margin-right: 20px;
    margin-top: -4px;
}

.home #content .format-gallery .entry-utility,
.home #content .category-gallery .entry-utility {
    padding-top: 4px;
}


/* =Attachment pages
-------------------------------------------------------------- */

.attachment .entry-content .entry-caption {
    font-size: 140%;
    margin-top: 24px;
}

.attachment .entry-content .nav-previous a:before {
    content: '\2190\00a0';
}

.attachment .entry-content .nav-next a:after {
    content: '\00a0\2192';
}


/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-container img {
    max-width: 100%; /* When images are too wide for containing element, force them to fit. */
    height: auto; /* Override height to match resized width for correct aspect ratio. */
}

.widget-container .ms-slide-bgcont img {
    max-width: none;
}

.alignleft,
img.alignleft {
    display: inline;
    float: left;
    margin-right: 24px;
    margin-top: 4px;
}

.alignright,
img.alignright {
    display: inline;
    float: right;
    margin-left: 24px;
    margin-top: 4px;
}

.aligncenter,
img.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignleft,
img.alignright,
img.aligncenter {
    margin-bottom: 12px;
}

.wp-caption {
    background: #f1f1f1;
    line-height: 18px;
    margin-bottom: 20px;
    max-width: 632px !important; /* prevent too-wide images from breaking layout */
    padding: 4px;
    text-align: center;
}

.wp-caption img {
    margin: 5px 5px 0;
    max-width: 622px; /* caption width - 10px */
}

.wp-caption p.wp-caption-text {
    color: #777;
    font-size: 12px;
    margin: 5px;
}

.wp-smiley {
    margin: 0;
}

.gallery {
    margin: 0 auto 18px;
}

.gallery .gallery-item {
    float: left;
    margin-top: 0;
    text-align: center;
    width: 33%;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery img {
    border: 2px solid #cfcfcf;
}

.gallery-columns-2 .attachment-medium {
    max-width: 92%;
    height: auto;
}

.gallery-columns-4 .attachment-thumbnail {
    max-width: 84%;
    height: auto;
}

.gallery .gallery-caption {
    color: #777;
    font-size: 12px;
    margin: 0 0 12px;
}

.gallery dl {
    margin: 0;
}

.gallery img {
    border: 10px solid #f1f1f1;
}

.gallery br + br {
    display: none;
}

#content .attachment img { /* single attachment images should be centered */
    display: block;
    margin: 0 auto;
}


/* =Navigation
-------------------------------------------------------------- */

.navigation {
    color: #777;
    font-size: 12px;
    line-height: 18px;
    overflow: hidden;
}

.navigation a:link,
.navigation a:visited {
    color: #777;
    text-decoration: none;
}

.navigation a:active,
.navigation a:hover {
    color: #ff4b33;
}

.nav-previous {
    float: left;
    width: 50%;
}

.nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

#nav-above {
    margin: 0 0 18px 0;
}

#nav-above {
    display: none;
}

.paged #nav-above,
.single #nav-above {
    display: block;
}

#nav-below {
    margin: 0;
}


/* =Comments
-------------------------------------------------------------- */
#comments {
    clear: both;
}

#comments .navigation {
    padding: 0 0 18px 0;
}

h3#comments-title,
h3#reply-title {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
}

h3#comments-title {
    padding: 24px 0;
}

.commentlist {
    list-style: none;
    margin: 0;
}

.commentlist li.comment {
    border-bottom: 1px solid #e7e7e7;
    line-height: 24px;
    margin: 0 0 24px 0;
    padding: 0 0 0 56px;
    position: relative;
}

.commentlist li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

#comments .comment-body ul,
#comments .comment-body ol {
    margin-bottom: 18px;
}

#comments .comment-body p:last-child {
    margin-bottom: 6px;
}

#comments .comment-body blockquote p:last-child {
    margin-bottom: 24px;
}

.commentlist ol {
    list-style: decimal;
}

.commentlist .avatar {
    position: absolute;
    top: 4px;
    left: 0;
}

.comment-author {
}

.comment-author cite {
    color: #000;
    font-style: normal;
    font-weight: bold;
}

.comment-author .says {
    font-style: italic;
}

.comment-meta {
    font-size: 12px;
    margin: 0 0 18px 0;
}

.comment-meta a:link,
.comment-meta a:visited {
    color: #777;
    text-decoration: none;
}

.comment-meta a:active,
.comment-meta a:hover {
    color: #ff4b33;
}

.commentlist .even {
}

.commentlist .bypostauthor {
}

.reply {
    font-size: 12px;
    padding: 0 0 24px 0;
}

.reply a,
a.comment-edit-link {
    color: #777;
}

.reply a:hover,
a.comment-edit-link:hover {
    color: #ff4b33;
}

.commentlist .children {
    list-style: none;
    margin: 0;
}

.commentlist .children li {
    border: none;
    margin: 0;
}

.nopassword,
.nocomments {
    display: none;
}

#comments .pingback {
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.commentlist li.comment + li.pingback {
    margin-top: -6px;
}

#comments .pingback p {
    color: #777;
    display: block;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
}

#comments .pingback .url {
    font-size: 13px;
    font-style: italic;
}

/* Comments form */
input[type="submit"] {
    color: #333;
}

#respond {
    border-top: 1px solid #e7e7e7;
    margin: 24px 0;
    overflow: hidden;
    position: relative;
}

#respond p {
    margin: 0;
}

#respond .comment-notes {
    margin-bottom: 1em;
}

.form-allowed-tags {
    line-height: 1em;
}

.children #respond {
    margin: 0 48px 0 0;
}

h3#reply-title {
    margin: 18px 0;
}

#comments-list #respond {
    margin: 0 0 18px 0;
}

#comments-list ul #respond {
    margin: 0;
}

#cancel-comment-reply-link {
    font-size: 12px;
    font-weight: normal;
    line-height: 18px;
}

#respond .required {
    color: #ff4b33;
    font-weight: bold;
}

#respond label {
    color: #777;
    font-size: 12px;
}

#respond input {
    margin: 0 0 9px;
    width: 98%;
}

#respond textarea {
    width: 98%;
}

#respond .form-allowed-tags {
    color: #777;
    font-size: 12px;
    line-height: 18px;
}

#respond .form-allowed-tags code {
    font-size: 11px;
}

#respond .form-submit {
    margin: 12px 0;
}

#respond .form-submit input {
    font-size: 14px;
    width: auto;
}


/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
    list-style: none;
    margin-left: 0;
}

.widget-area ul ul {
    list-style: square;
    margin-left: 1.3em;
}

.widget-area select {
    max-width: 100%;
}

.widget_search #s { /* This keeps the search inputs in line */
    width: 72%;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    -moz-border-top-left-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
    height: 24px;
    padding: 2px 10px;
    font-size: 14px;
    color: #555;
}

.widget_search #searchsubmit {
    height: 30px;
    width: 20%;
    background: #fff;
    color: #0170c1;
    border: 1px solid #0170c1;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    -moz-border-top-right-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    position: relative;
    top: -1px;
    left: -2px;
}

.widget_search #searchsubmit:hover {
    background: #0170c1;
    color: #fff;
}

.widget_search label {
    display: none;
}

.widget-container {
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    margin: 0 0 18px 0;
}

.widget-container .wp-caption img {
    margin: auto;
}

.widget-title {
    color: #252525;
    font-size: 18px;
    margin-bottom: 12px;
    margin-left: 10%;
}

.widget-area .textwidget {
    font-size: 16px;
    color: #252525;
    line-height: normal;
    position: relative;
}

.widget-area .textwidget .blue-btn {
    position: absolute;
    display: inline-block;
    padding: 4px 8px;
    top: 0;
    right: 20px;
    background: #fff;
    color: #0170c1;
    border: 1px solid #0170c1;
    border-radius: 5px;
    -moz-border-radius: 5px;
}

.widget-area .newsletter-email {
    border-radius: 5px;
    -moz-border-radius: 5px;
    height: 24px;
    padding: 2px 10px;
    font-size: 14px;
    color: #555;
    width: 80%;
}

.widget-area .newsletter-submit {
    border: 1px solid #e51619;
    border-radius: 5px;
    -moz-border-radius: 5px;
    height: 32px;
    padding: 2px 10px;
    font-size: 14px;
    background: #fff;
    color: #555;
    width: 87%;
}

.widget-area .newsletter-submit:hover {
    background: #e51619;
    color: #fff;
}

.widget-area .textwidget .blue-btn:hover {
    background: #0170c1;
    color: #fff;
    text-decoration: none;
}

.widget-area a:link,
.widget-area a:visited {
    text-decoration: none;
}

.widget-area a:active,
.widget-area a:hover {
    text-decoration: underline;
}

.widget-area .entry-meta {
    font-size: 11px;
}

.searchandfilter ul {
    margin: 0 !important;
    padding: 0;
}

.searchandfilter ul li {
    width: 40%;
    float: left;
    margin: 0;
    padding: 0;
}

.searchandfilter ul li:nth-child(3) {
    width: 20%;
}

.searchandfilter ul li select {
    width: 100%;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    -moz-border-top-left-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
    height: 30px;
    padding: 2px 6px;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
}

.searchandfilter ul li:nth-child(3) input {
    height: 30px;
    background: #fff;
    color: #0170c1;
    border: 1px solid #0170c1;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    -moz-border-top-right-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    position: relative;
    top: 0;
    left: -2px;
}

.searchandfilter ul li:nth-child(3) input:hover {
    background: #0170c1;
    color: #fff;
}

.advanced_search_en {
    margin-top: 40px;
    margin-right: 50px;
}

.advanced_search {
    margin-top: 40px;
    margin-right: -10px;
}

#wp_tag_cloud div {
    line-height: 1.6em;
}

#wp-calendar {
    width: 100%;
}

#wp-calendar caption {
    color: #222;
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 4px;
    text-align: left;
}

#wp-calendar thead {
    font-size: 11px;
}

#wp-calendar thead th {
}

#wp-calendar tbody {
    color: #aaa;
}

#wp-calendar tbody td {
    background: #f5f5f5;
    border: 1px solid #fff;
    padding: 3px 0 2px;
    text-align: center;
}

#wp-calendar tbody .pad {
    background: none;
}

#wp-calendar tfoot #next {
    text-align: right;
}

.widget_rss a.rsswidget {
    color: #000;
}

.widget_rss a.rsswidget:hover {
    color: #ff4b33;
}

.widget_rss .widget-title img {
    width: 11px;
    height: 11px;
}

/* Main sidebars */
#main .widget-area ul {
    margin-left: 0;
    padding: 0;
}

#main .widget-area ul ul {
    border: none;
    margin-left: 1.3em;
    padding: 0;
}

#primary {
}

#secondary {
}

/* Footer widget areas */
#footer-widget-area {
}

/* =Advances Search
-------------------------------------------------------------- */

.custom-search .searchandfilter ul li {
    width: 49%;
    height: auto;
}

#content .custom-search .searchandfilter h4 {
    margin: 20px 0 5px 0;
}

.custom-search .searchandfilter ul li:first-child {
    width: 100%;
    height: auto;
}

.custom-search .searchandfilter ul li input {
    margin: 0 5px 0 0;
    height: auto !important;
    left: 0 !important;
}

.custom-search .searchandfilter ul li ul li {
    width: 100%;
    height: auto;
}

.custom-search .searchandfilter ul li ul li:nth-child(3) {
    width: 100%;
    height: auto;
}

.custom-search .searchandfilter ul li ul li:nth-child(3) input {
    height: auto;
}

/* =Footer
-------------------------------------------------------------- */

#footer {
    background: #dfdfdf;
    color: #fff;
    width: 100%;
    margin-top: 25px;
}

#footer .widget-title {
    color: #252525;
    font-weight: bold;
}

#footer .footer-line {
    height: 1px;
    width: 100%;
    margin-left: 2%;
    background: #252525;
    margin-bottom: 5px;
}

#footer #first {
    width: 100%;
}

#footer .partner-list {
    list-style-type: none;
    width: 100%;
}

#footer .partner-list li {
    display: inline-block;
    float: left;
    width: 12.5%;
    margin: 0;
    padding: 0;
    height: 100px;
    position: relative;
}

#footer .partner-list li img {
    max-width: 80%;
    position: absolute;
    max-height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#colophon {
    overflow: hidden;
    padding: 18px 0;
    max-width: 1146px;
    width: 100%;
    margin: 0 auto;
}

#site-info {
    font-weight: bold;
}

#site-info a {
    color: #000;
    text-decoration: none;
}

#site-generator {
    font-style: italic;
    position: relative;
}

#site-generator a {
    background: url(images/wordpress.png) center left no-repeat;
    color: #666;
    display: inline-block;
    line-height: 16px;
    padding-left: 20px;
    text-decoration: none;
}

#site-generator a:hover {
    text-decoration: underline;
}

img#wpstats {
    display: block;
    margin: 0 auto 10px;
}

@media screen and (max-width: 1000px) {
    #footer .partner-list {
        width: 94%;
        margin: 0 auto;
    }

    #footer .partner-list li {
        width: 20%;
        height: 100px;
    }
}

@media screen and (max-width: 800px) {
    #footer .partner-list li {
        width: 33%;
        height: 100px;
    }
}

@media screen and (max-width: 600px) {
    #footer .partner-list li {
        width: 50%;
        height: 100px;
    }
}

/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
    -webkit-text-size-adjust: 140%;
}

code {
    -webkit-text-size-adjust: 160%;
}

#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
    -webkit-text-size-adjust: 120%;
}

#site-description {
    -webkit-text-size-adjust: none;
}


/* =Print Style
-------------------------------------------------------------- */

@media print {
    body {
        background: none !important;
    }

    #wrapper {
        clear: both !important;
        display: block !important;
        float: none !important;
        position: relative !important;
    }

    #header {
        border-bottom: 2pt solid #000;
        padding-bottom: 18pt;
    }

    #colophon {
        border-top: 2pt solid #000;
    }

    #site-title,
    #site-description {
        float: none;
        line-height: 1.4em;
        margin: 0;
        padding: 0;
    }

    #site-title {
        font-size: 13pt;
    }

    .entry-content {
        font-size: 14pt;
        line-height: 1.6em;
    }

    .entry-title {
        font-size: 21pt;
    }

    #access,
    #branding img,
    #respond,
    .comment-edit-link,
    .edit-link,
    .navigation,
    .page-link,
    .widget-area {
        display: none !important;
    }

    #container,
    #header,
    #footer {
        margin: 0;
        width: 100%;
    }

    #content,
    .one-column #content {
        margin: 24pt 0 0;
        width: 100%;
    }

    .wp-caption p {
        font-size: 11pt;
    }

    #site-info,
    #site-generator {
        float: none;
        width: auto;
    }

    #colophon {
        width: auto;
    }

    img#wpstats {
        display: none;
    }

    #site-generator a {
        margin: 0;
        padding: 0;
    }

    #entry-author-info {
        border: 1px solid #e7e7e7;
    }

    #main {
        display: inline;
    }

    .home .sticky {
        border: none;
    }
}