/*
Theme Name: 	Twenty Seventeen Child
Theme URI: 		https://wordpress.org/themes/twentyseventeen/
Description: 	Twenty Seventeen Child theme
Author:       	DZC
Author URI: 	http://www.dzc.lv
Template:       twentyseventeen
Version: 		1.0.0
License: 		GNU General Public License v2 or later
License URI: 	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 	twentyseventeen-child
Tags: 			one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* --------------------------------------------------------------------
                                Global styles
   -------------------------------------------------------------------- */
@font-face {
    font-family: 'Montserrat-Bold';
    src: url('./assets/fonts/Montserrat-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('./assets/fonts/Montserrat-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'OpenSans-Bold';
    src: url('./assets/fonts/OpenSans-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'OpenSans-Italic';
    src: url('./assets/fonts/OpenSans-Italic.ttf') format('truetype');
}

@font-face {
    font-family: 'OpenSans-Regular';
    src: url('./assets/fonts/OpenSans-Regular.ttf') format('truetype');
}

body, button, input, select, textarea {
    font-family: 'OpenSans-Regular', "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
    color: #4E424F;
}

.elementor-container .elementor-widget-text-editor,
.elementor-container .elementor-widget-toggle .elementor-toggle .elementor-tab-content {
    font-family: 'OpenSans-Regular', arial, sans-serif;
}

.elementor-container .elementor-widget-heading .elementor-heading-title,
.elementor-container .elementor-widget-toggle .elementor-toggle .elementor-tab-title{
    font-family: 'Montserrat-Bold', arial, sans-serif;
}

body:not(.home):not(.post-template-default):not(.search):not(.page-template-news):not(.page-template-gallery) .site-content-contain:before,
body.situations .site-content-contain:before {
    content: '';
    height: 179px;
    background-image: url('assets/images/top-image.png');
    background-position: center;
    background-repeat-y: no-repeat;
    display: block;
}

button, .button,
input[type="button"],
input[type="submit"],
.download-link.button,
.video-link.button,
.site-content .entry-footer .edit-link a.post-edit-link {
    background-color: #E86310;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    padding: 0.7em 1.2em;
    margin: 0.5em 0.5em 0.5em 0;
    border-radius: 3px;
    display: inline-block;
}

.download-link.button {
    margin-right: 1.4em;
}

.download-link.button span {
    margin-left: 7px;
    font-size: 1.2em;
}

main .download-box {
    display: inline-block;
}

.video-link.button {
    position: relative;
    padding-right: 4em;
}

.video-link.button:after {
    content: '';
    display: inline-block;
    position: absolute;
    background: url('assets/images/icon-video.svg') no-repeat 50% 50%;
    height: 20px;
    width: 36px;
    margin-left: 12px;
    top: 16px;
}

button:hover, button:focus,
.button:hover, .button:focus,
input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
.button:hover, .button:focus,
.entry-content a.button:focus, .entry-content a.button:hover,
.alm-btn-wrap .alm-load-more-btn:hover, .alm-btn-wrap .alm-load-more-btn:focus,
.site-content .entry-footer .edit-link a.post-edit-link:hover, .site-content .entry-footer .edit-link a.post-edit-link:focus {
    background: #F37C20;
    color: #fff;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="range"],
input[type="date"], input[type="month"], input[type="week"], input[type="time"],
input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    border-color: #BA2E18;
}

b, strong {
    font-family: 'OpenSans-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
}

em {
    font-family: 'OpenSans-Italic', "Helvetica Neue", helvetica, arial, sans-serif;
}

blockquote {
    font-family: 'OpenSans-Italic', "Helvetica Neue", helvetica, arial, sans-serif;
    color: #333;
    font-size: 1.15em;
    font-style: normal;
    line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
    font-weight: 400;
    text-transform: initial;
    color: #4E424F;
}

form label {
    margin-bottom: 0;
    font-weight: 400;
}

ul, ol {
    margin: 0 0 1.5em 2em;
}

#content a {
    box-shadow: none;
}

.entry-content ul,
.entry-content ol {
    padding-left: 2em;
}

.entry-content .half {
    display: inline-block;
    width: 49%;
}

.entry-content p,
.entry-summary p,
.post-content p {
    text-align: justify;
}

#content .page-header .page-title {
    text-transform: initial;
    letter-spacing: 0;
    font-size: 2.2em;
    line-height: 1.2em;
}

ul.social-icons-lists {
    margin: 0;
    padding: 0;
}

/* ------------------------ E-index download  ------------------------- */

div.fails-item {
    position: relative;
    width: 100%;
    background: #ebebeb;
    margin: 0 0 10px 0;
}

div.fails-item div.fails-head {
    display: table;
    padding: 10px;
}

div.fails-item div.fails-head > div {
    display: table-cell;
    vertical-align: middle;
}

div.fails-item div.mime {
    width: 85px;
}

div.fails-item div.mime img {
    width: 100%;
    display: block;
}

div.fails-item div.description {
    padding: 0 180px 0 20px;
}

div.fails-item div.description div.title {
    font-weight: bold;
}

div.fails-item div.action {
    position: absolute;
    width: 170px;
    right: 10px;
    top: 10px;
}

div.fails-item a.btn-preview {
    display: block;
    width: 166px;
    height: 50px;
    line-height: 50px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    color: white;
    margin: 0 0 5px 0;
    padding: 0 0 0 20px;
    background: url('assets/images/bg-btn-preview.jpg') 100% 0 no-repeat;
}

div.fails-item a.btn-preview:hover {
    color: #00a2e1;
    background-position: 100% -50px;
}

div.fails-item a.btn-pdf {
    display: block;
    width: 166px;
    height: 50px;
    line-height: 50px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    color: white;
    margin: 0 0 5px 0;
    padding: 0 0 0 20px;
    background: #252525;
}

div.fails-item a.btn-pdf:hover {
    color: #ba0605;
}

a.button-eindex {
    display: inline-block;
    text-transform: uppercase;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    padding: 0.7em 1.2em;
    margin: 0.5em 0.5em 0.5em 0;
    border-radius: 0;
    color: #ffffff;
    background: #252525;
}

a.button-eindex:hover {
    color: #ba0605;
}

/* --------------------------------------------------------------------
                                SVG styles
   -------------------------------------------------------------------- */
.svg-icon {
    fill: none;
    stroke: #4E424F;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
}

.svg-clock,
.svg-close,
.svg-arrow-right,
.svg-arrow-left {
    stroke-width: 4;
}

.svg-clock {
    stroke: #7D8082;
    stroke-width: 4;
}

.svg-video-post {
    stroke: #7D8082;
    stroke-width: 4;
}

.svg-load-more {
    stroke: #FFFFFF;
    stroke-width: 2;
    transform: translate(1px, 1px) scale(0.92);
}

.svg-menu-hamburger {
    stroke: #BA2E18;
    stroke-width: 3;
}

.svg-angle-down,
.svg-menu-search {
    stroke-width: 3;
}

.svg-submit-search {
    stroke: #FFFFFF;
    stroke-width: 3;
}

.svg-phone,
.svg-address {
    stroke-width: 2;
}

.svg-video,
.svg-download,
.svg-arrow-left-white {
    stroke: #FFFFFF;
    stroke-width: 2;
}

.svg-mail {
    stroke-width: 2;
    transform: translate(1px, 1px) scale(0.92);
}

/* --------------------------------------------------------------------
                           Navigation bar styles
   -------------------------------------------------------------------- */
.site-header {
    background-color: #ffffff;
}

.custom-header {
    margin-bottom: 50px;
}

.header-nav-bar .head-main {
    border-bottom: 1px Solid #E6E6E6;
}

.header-nav-bar .head-main .table {
    display: table;
    height: 94px;
}

.header-nav-bar .head-main .table .column {
    display: table-cell;
    position: relative;
    border-right: 1px Solid #E6E6E6;
}

.header-nav-bar .head-main .table .column:first-child {
    width: 73%;
}

.header-nav-bar .head-main .table .column:nth-child(2) {
    width: 12%;
}

.header-nav-bar .head-main .table .column:last-child {
    width: 15%;
}

.header-nav-bar .logo {
    height: 100%;
    display: contents;
    position: relative;
}

.header-nav-bar .logo .custom-logo-link {
    position: absolute;
    top: 55%;
    transform: translate(0, -50%);
}

.header-nav-bar .font-resizer .zeno_font_resizer_container {
    font-size: 23px;
    position: absolute;
    right: 0;
    left: 0;
    top: 38px;
}

.header-nav-bar .font-resizer .zeno_font_resizer {
    margin: 0;
}

.header-nav-bar .font-resizer p span > a {
    font-weight: 500;
}

.header-nav-bar .font-resizer p span > a {
    margin-left: 7px;
}

.header-nav-bar .header-toggle {
    width: 194px;
    font-size: 20px;
    text-transform: uppercase;
}

.header-nav-bar .header-toggle .nav-menu-toggle {
    position: absolute;
    text-align: center;
    top: 40px;
    padding: 10px;
    left: 20px;
    letter-spacing: -1px;
}

.header-nav-bar .header-toggle .nav-menu-toggle .icon-menu-hamburger {
    font-size: 26px;
    margin: 0 0px 2px 24px;
}

.navigation-top:not(.site-navigation-fixed) {
    border: none;
    bottom: 4px;
}

.navigation-top .wrap {
    text-align: center;
}

.navigation-top .main-navigation {
    display: inline-block;
    position: relative;
    padding-right: 160px;
}

.navigation-top .main-navigation div ul:not(.sub-menu) > li {
    border-right: 1px Solid #E6E6E6;
}

.navigation-top .main-navigation .menu-item-has-children {
    padding-right: 5px;
}

.navigation-top .main-navigation .menu-item-has-children svg {
    margin-left: 5px;
}

.navigation-top .main-navigation ul li:hover > ul,
.navigation-top .main-navigation ul li:focus > ul {
    right: -1px;
    left: -4px;
    border: none;
}

.navigation-top .main-navigation ul li.menu-item-has-children.focus:before,
.navigation-top .main-navigation ul li.menu-item-has-children:hover:before,
.navigation-top .main-navigation ul li.menu-item-has-children.focus:after,
.navigation-top .main-navigation ul li.menu-item-has-children:hover:after,
.navigation-top .main-navigation ul li.page_item_has_children.focus:before,
.navigation-top .main-navigation ul li.page_item_has_children:hover:before,
.navigation-top .main-navigation ul li.page_item_has_children.focus:after,
.navigation-top .main-navigation ul li.page_item_has_children:hover:after {
    display: none;
}

.navigation-top .main-navigation li li a {
    padding: 5px 14px;
    width: 100%;
}

.navigation-top .main-navigation li li:hover,
.navigation-top .main-navigation li li.focus {
    background: #F37C20;
}

.navigation-top .main-navigation a {
    padding: 5px 14px;
    font-weight: 400;
}

.navigation-top .main-navigation > div > ul > li:nth-child(2) {
    font-family: 'OpenSans-Bold', "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
    font-weight: 600;
}

.navigation-top .main-navigation > div > ul > li:first-child {
    width: 150px;
    text-align: center;
}

.navigation-top .main-navigation > div > ul > li:nth-child(2) a {
    color: #F37C20;
}

.navigation-top .search-wrapper {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    width: 140px;
    background: #fff;
    transition: 2s;
}

.navigation-top .search-wrapper.activate {
    width: 100%;
}

.navigation-top .search-wrapper .search-form input[type="search"] {
    padding: 2px 12px;
    border: none;
    width: calc(100% - 34px);
    margin-left: 34px;
    font-size: 18px;
    font-weight: 100;
    line-height: 1.8;
}

.navigation-top .search-wrapper .search-form input::placeholder {
    color: #B3B3B3;
}

.navigation-top .search-wrapper .search-form button[type="submit"] {
    right: auto;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    background: none;
    width: 34px;
}

.navigation-top .search-wrapper .search-form button[type="submit"] .icon {
    top: 0;
    height: 34px;
    width: 34px;
}

/* --------------------------------------------------------------------
                             Footer styles
   -------------------------------------------------------------------- */
.site-footer {
    background-color: #F4F4F4;
    margin-top: 18px;
}

#masthead:after,
.live-post:after,
.site-footer:before {
    content: '';
    margin: 0;
    padding: 0;
    height: 4px;
    width: 100%;
    background: rgb(254, 201, 23); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(254, 201, 23, 1) 0%, rgba(204, 102, 0, 1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(254, 201, 23, 1) 0%, rgba(204, 102, 0, 1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(254, 201, 23, 1) 0%, rgba(204, 102, 0, 1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fec917', endColorstr='#cc6600', GradientType=1);
}

.site-footer .widget-area {
    padding-bottom: 1em;
    padding-top: 1em;
    position: relative;
}

.site-footer .widget-column.footer-widget-1,
.site-footer .widget-column.footer-widget-2,
.site-footer .widget-column.footer-widget-3,
.site-footer .widget-column.footer-widget-4 {
    float: none;
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    line-height: 25px;
    color: #4E424F;
    padding: 5px;
}

.site-footer .widget-column.footer-widget-1,
.site-footer .widget-column.footer-widget-2 {
    width: 190px;
}

.site-footer .widget-column.footer-widget-3 {
    margin-right: 0;
    width: 295px;
}

.site-footer .widget-column.footer-widget-4 {
    width: 457px;
    margin: 0;
    float: right;
    min-height: 312px;
    position: relative;
}

.site-footer .widget-column .widget {
    padding-bottom: 0;
}

.site-footer h2.widget-title {
    font-family: 'Montserrat-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: initial;
    color: #4E424F;
    letter-spacing: normal;
    margin-bottom: 1.4em;
}

.site-footer .widget-area a:hover,
.site-footer .widget-area a:focus {
    box-shadow: none;
}

.site-footer .widget-area .info a {
    box-shadow: none;
}

.site-footer .widget-area .info a:hover,
.site-footer .widget-area .info a:focus {
    -webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1);
    box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1);
}

.site-footer .widget-area ul li {
    border: none;
    padding-top: 0;
    padding-bottom: 0;
}

.site-footer .widget-area ul li a {
    color: #4E424F;
    box-shadow: none;
}

.site-footer .widget-area ul li ul li a {
    color: #7D8082;
}

.site-footer .footer-widget-3 .info {
    margin-bottom: 1.5em;
}

.site-footer .footer-widget-3 .info > div {
    display: inline-block;
}

.site-footer .footer-widget-3 .info .icon-svg {
    vertical-align: top;
    margin-right: 10px;
}

.site-footer .footer-widget-3 .info .icon-svg svg {
    width: 27px;
    height: 27px;
}

.site-footer .footer-widget-3 .info .text {
    width: 220px;
}

.site-footer .footer-widget-3 .info.newsletter .hidden {
    display: none;
}

.site-footer .widget_text ul.social-icons-lists {
    margin: -0.4em 0 0 0;
}

.site-footer .social-icons-lists li.social-icons-list-item {
    margin: 0;
}

.site-footer .footer-widget-4 .footer-text {
    margin-top: 2em;
    font-size: 11px;
    line-height: 1.5em;
    text-align: justify;
}

.site-footer .footer-logo {
    position: absolute;
    bottom: 0;
}

.site-footer .footer-logo > img {
    display: inline-block;
}

.site-footer > .info {
    border-top: 1px Solid #7D8082;
}

.site-footer .info .wrap {
    padding-bottom: 0;
}

.site-footer .info .wrap .site-info {
    width: 100%;
    padding: 0 5px;
    margin-bottom: 22px;
    font-size: 16px;
}

/* --------------------------------------------------------------------
                                Menu styles
   -------------------------------------------------------------------- */
#shiftnav-main {
    width: 39%;
    z-index: 1000;
}

#shiftnav-main:after {
    box-shadow: none;
}

body:not(.shiftnav-open) #shiftnav-main.shiftnav-right-edge {
    right: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}

.shiftnav .shiftnav-header {
    position: relative;
    border-bottom: 1px solid #E6E6E6;
    height: 90px;
    width: 300px;
    margin-top: 28px;
    margin-left: 13%;
}

.shiftnav span.shiftnav-panel-close {
    background: none;
    right: inherit;
    left: -15px;
    padding: 15px;
    font-size: 34px;
}

.shiftnav nav.shiftnav-nav {
    margin-top: 27px;
    font-size: 20px;
}

.shiftnav ul.shiftnav-menu li.menu-item > a.shiftnav-target {
    padding: 0.25em 2em 0.25em 5em;
}

.shiftnav ul.shiftnav-menu li.menu-item > a.shiftnav-target:hover,
.shiftnav ul.shiftnav-menu li.menu-item > a.shiftnav-target:focus {
    background-color: #F37C20;
    color: #fff;
}

.shiftnav ul.shiftnav-menu > li.menu-item:last-child a.shiftnav-target {
    display: inline-block;
    margin: 2.5em 0 0 5.5em;
    font-size: 18px;
    padding: 0.75em 3em;
    background-color: #E86310;
    color: #fff;
    border-radius: 2px;
}

.shiftnav ul.shiftnav-menu > li.menu-item:last-child a.shiftnav-target:hover,
.shiftnav ul.shiftnav-menu > li.menu-item:last-child a.shiftnav-target:focus {
    background-color: #F37C20;
}

.shiftnav ul.shiftnav-menu.shiftnav-indent-subs li.shiftnav-sub-always ul.sub-menu li.menu-item > a.shiftnav-target {
    color: #888888;
    padding-left: 7em;
}

.shiftnav ul.shiftnav-menu.shiftnav-indent-subs li.shiftnav-sub-always ul.sub-menu li.menu-item > a.shiftnav-target:hover,
.shiftnav ul.shiftnav-menu.shiftnav-indent-subs li.shiftnav-sub-always ul.sub-menu li.menu-item > a.shiftnav-target:focus {
    color: #FFFFFF;
}

.shiftnav-open:before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
}

/* --------------------------------------------------------------------
                                Page styles
   -------------------------------------------------------------------- */
body.page:not(.twentyseventeen-front-page) h1.entry-title {
    font-size: 2.25em;
    font-weight: 400;
    text-transform: initial;
    letter-spacing: normal;
    color: #4E424F;
}

.page-template-text article {
    width: 66%;
    padding-right: 9%;
}

/** -----------------  Front  -----------------  */
.twentyseventeen-front-page .front-image {
    background-attachment: initial;
    height: 50vh;
    max-height: 500px;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    position: relative;
    margin-bottom: 48px;
}

.twentyseventeen-front-page #content {
    padding: 0;
}

.front-page.news article:not(:first-child) {
    margin-top: 20px;
    border-top: 1px Solid #E6E6E6;
    padding-top: 20px;
}

.front-content .wrap > .entry-content {
    width: 66%;
    float: left;
}

.front-content #secondary {
    width: 33%;
    padding-left: 1%;
    padding-top: 0;
    float: right;
}

.front-content #secondary .box-link {
    margin-bottom: 30px;
    height: 78px;
    position: relative;
}

.front-content #secondary .box-link .button {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #fff;
    border: 1px solid #BA2E18;
    color: #4E424F;
    text-align: center;
    box-shadow: none;
    font-family: 'OpenSans-Bold', "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;

}

.front-content #secondary .box-link .button:hover,
.front-content #secondary .box-link .button:focus {
    background-color: #F37C20;
    box-shadow: none;
}

.front-content #secondary .box-link .button img {
    box-shadow: none;
}

.front-content #secondary .box-link .button span {
    width: 100%;
    font-size: 22px;
}

.front-content #secondary .box-link .button > * {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#secondary a,
#secondary a:hover,
#secondary a:focus {
    box-shadow: none;
}

#secondary .widget {
    padding-bottom: 0;
}

#secondary h2.widget-title {
    font-family: 'Montserrat-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
    font-size: 2.2em;
    font-weight: 400;
    color: #4E424F;
    text-transform: initial;
    letter-spacing: normal;
    margin-bottom: 0;
}

#secondary h3 {
    font-size: 1.8em;
    margin-bottom: 0.9em;
}

#secondary .list-item-header .day {
    text-transform: capitalize;
}

#secondary .list-item {
    border-top: 1px Solid #E6E6E6;
    padding-top: 1em;
    font-size: 1.3em;
}

#secondary .list-item h4 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

#secondary .list-item-footer {
    position: relative;
    height: 5.5em;
    border-top: 1px Solid #E6E6E6;
    padding-top: 2em;
}

#secondary .list-item-footer .button {
    padding: 0.9em 1.8em;
    position: absolute;
    right: 0;
}

#secondary .list-item-footer .button:hover,
#secondary .list-item-footer .button:focus {
    color: #fff;
}

/** -----------------  Contacts  -----------------  */
article.contacts {
    width: 66%;
}

article.contacts .address-block .address-map {
    display: inline-block;
    width: 61%;
    min-height: 16em;
}

article.contacts .address-block .address-map iframe {
    max-height: 100%;
}

article.contacts .address-block .address-info {
    float: right;
    width: 39%;
    padding-left: 26px;
    vertical-align: top;
}

article.contacts .address-block .address-info .phone,
article.contacts .address-block .address-info .mail {
    font-size: 1.3em;
    font-family: 'Montserrat-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
    padding-bottom: 1em;
    line-height: 1.2em;
    margin-right: -60px;
}

article.contacts form {
    display: -ms-grid;
    display: grid;
    grid-gap: 28px;
    -ms-grid-columns: 1fr 28px 1fr;
    -ms-grid-rows: 1fr 28px 1fr 28px 5fr 28px;
    grid-template-columns: 1fr 1fr;
}

article.contacts form label {
    display: none;
}

article.contacts form input {
    font-size: 1em;
}

article.contacts form input::placeholder,
article.contacts form textarea::placeholder {
    color: #B3B3B3;
}

article.contacts form .full-width,
article.contacts form .wpcf7-validation-errors,
article.contacts form .wpcf7-response-output {
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column: 1 / 3;
}

article.contacts form .field-name {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-column: 1;
    grid-row: 1;
}

article.contacts form .field-surname {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    grid-column: 2;
    grid-row: 1;
}

article.contacts form .field-email {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    grid-column: 1;
    grid-row: 2;
}

article.contacts form .field-phone {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
    grid-column: 2;
    grid-row: 2;
}

article.contacts form .field-msg {
    -ms-grid-row: 5;
    grid-row: 3;
}

article.contacts form .footer {
    -ms-grid-row: 7;
    grid-row: 4;
    position: relative;
}

article.contacts form .captcha {
    display: inline-block;
}

article.contacts form .send {
    position: absolute;
    right: 0;
    top: 0;
}

article.contacts form .send > * {
    float: right;
}

article.contacts form .send input[type="submit"] {
    padding: 20px 35px;
}

/** -----------------  Text with sidebar  -----------------  */
.page.page-template-text_sidebar:not(.twentyseventeen-front-page) #primary {
    width: 66%;
    padding-right: 6%;
    margin: 0;
    display: inline-block;
}

.page-template-text_sidebar #secondary {
    width: 33%;
    margin: 0;
    display: inline-block;
    vertical-align: top;
}

/* --------------------------------------------------------------------
                                Post styles
   -------------------------------------------------------------------- */
body.single-post h1,
body.single-post h1.entry-title {
    font-size: 1.88em;
}

body.single-post h2,
body.single-post h2.entry-title {
    font-size: 1.56em;
}

body.single-post h3 {
    font-size: 1.5em;
}

.post .entry-meta {
    font-size: 1em;
    font-weight: 400;
    letter-spacing: normal;
    padding-bottom: 0;
    text-transform: none;
}

.post .thumbnail-container {
    display: inline-block;
    vertical-align: top;
    width: 360px;
}

.post .post-thumbnail {
    display: inline-block;
    vertical-align: top;
    position: relative;
    width: 360px;
    height: 360px;
    overflow: hidden;
}

.post .image-wrapper {
    position: absolute;
    height: auto;
    width: auto;
    margin-left: 50%;
    margin-top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.post .image-wrapper img {
    max-width: initial;
}

.post .thumbnail-container .thumbnail-description {
    padding: 10px 0 0;
    font-size: 0.65em;
    font-family: 'OpenSans-Italic', "Helvetica Neue", helvetica, arial, sans-serif;
}

.post .post-content {
    display: inline-block;
    width: 66%;
    padding-left: 2%;
    font-size: 0.94em;
    line-height: 1.55em;
}

.post .post-content p a:not(.button),
.post .post-content li a:not(.button) {
    font-family: 'Montserrat-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
    color: #E86310;
}

.post .post-content ul,
.post .post-content ol {
    padding-left: 2em;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    margin: 10px 0 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.videoBlock {
    max-width: 610px;
}

.post .post-back-button {
    text-align: center;
    padding: 6px 0 46px;
}

.post .post-back-button button {
    padding: 0.8em 1.2em 0.8em 1.7em;
}

.post-back-button svg {
    height: 0.9em;
    margin-left: 12px;
}

/** -----------------  Situations  -----------------  */
article > .entry-header {
    position: relative;
}

.entry-header.situation h1 {
    margin-bottom: 1em;
    width: 50%;
}

.situations-header-bar {
    position: absolute;
    right: 0;
    top: 0.5em;
    width: 49%;
    height: 3em;
}

.situations-header-bar .search-wrapper,
.situations-header-bar .situation-filter-wrapper {
    width: 47%;
    height: 100%;
    display: inline-block;
    float: right;
}

.situations-header-bar .search-wrapper {
    margin-right: 6%;
}

.situations-header-bar .search-wrapper .search-submit .icon {
    top: 0;
    height: 34px;
    width: 34px;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect {
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect > .CaptionCont {
    height: 100%;
    padding: 0.8em 1em;
    border: none;
    background-color: #F2F2F2;
    border-radius: 3px;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect:focus > .CaptionCont,
.situations-header-bar .situation-filter-wrapper .SumoSelect:hover > .CaptionCont,
.situations-header-bar .situation-filter-wrapper .SumoSelect.open > .CaptionCont {
    box-shadow: none;
    border: none;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect > .CaptionCont > span {
    padding-right: 4em;
    color: #7D8082;
    font-style: unset;
    font-size: 18px;
    cursor: pointer;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect > .CaptionCont > label {
    width: 68px;
    background: #E86310;
    border-radius: 3px;
    cursor: pointer;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect > .CaptionCont > label > i {
    background: url(assets/images/icon-arrow-down.svg) no-repeat 50% 50%;
    width: 34px;
    height: 34px;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect.open > .optWrapper {
    top: calc(100% + 4px);
    background-color: #F2F2F2;
    box-shadow: none;
    border: none;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect > .optWrapper > .options {
    max-height: 350px;
    padding: 10px 0;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect > .optWrapper > .options li.opt {
    padding: 0 0.5em 0 1em;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect > .optWrapper > .options li.opt.disabled {
    display: none;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect > .optWrapper > .options li.opt:hover {
    background-color: #F37C20;
}

.situations-header-bar .situation-filter-wrapper .SumoSelect > .optWrapper > .options li.opt:hover label {
    color: #ffffff;
}

.page .entry-content .situation-title,
.situations .entry-header .situation-title {
    color: #fff;
    padding: 0.3em 1.5em;
    background: -moz-linear-gradient(0% 50% 0deg, rgba(228, 83, 18, 1) 0%, rgba(254, 201, 23, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(228, 83, 18, 1) 0%, rgba(254, 201, 23, 1) 100%);
    background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0, rgba(228, 83, 18, 1)), color-stop(1, rgba(254, 201, 23, 1)));
    background: -o-linear-gradient(0deg, rgba(228, 83, 18, 1) 0%, rgba(254, 201, 23, 1) 100%);
    background: -ms-linear-gradient(0deg, rgba(228, 83, 18, 1) 0%, rgba(254, 201, 23, 1) 100%);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#E45312', endColorstr='#FEC917' ,GradientType=0)";
    background: linear-gradient(90deg, rgba(228, 83, 18, 1) 0%, rgba(254, 201, 23, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E45312', endColorstr='#FEC917', GradientType=1);
}

.page .entry-content .situation-title {
    font-size: 1.7em;
}

.page .entry-content .situation-title a {
    color: #fff;
}

.page .entry-content .situation-title a:hover {
    text-decoration: underline;
}

.entry-header.situation .entry-title:not(.situation-title) {
    width: 66%;
}

.article-block {
    padding-bottom: 30px;
    border-bottom: 1px solid #E6E6E6;
    margin-bottom: 30px;
}

.article-block:last-child {
    border-bottom: none;
}

.article-block .alm-btn-wrap {
    margin: 1em 0 0;
}

.situations .post-content {
    padding: 0 2% 0 0;
    width: 66%;
    float: left;
}

.situations .post-content p {
    margin: 0;
}

.situations .post-content h3 {
    border-top: 1px Solid #E6E6E6;
    padding-top: 1.2em;
    margin-top: 1.2em;
    font-size: 1.45em;
}

.situations .post-content .post-back-button {
    padding: 3em 0 1em;
}

.situations .post-sidebar {
    width: 33%;
    float: right;
    padding-left: 2%;
}

.situations .post-sidebar > div {
    margin-bottom: 40px;
}

.situations .post-sidebar .sidebar-header {
    font-size: 1.05em;
}

.situations .post-sidebar .record,
.page-template-text_sidebar #secondary .record {
    width: 100%;
    min-height: 120px;
    margin: 15px 0;
    padding: 0;
    display: inline-block;
    background: #FFFFFF;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 2px rgba(29, 29, 27, 0.26);
    filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#1D1D1B');
    position: relative;
    vertical-align: top;
}

.situations .post-sidebar .record .post-image,
.situations .post-sidebar .record .post-details,
.page-template-text_sidebar #secondary .record .post-image,
.page-template-text_sidebar #secondary .record .post-details {
    display: inline-block;
    vertical-align: top;
}

.situations .post-sidebar .record .post-image,
.page-template-text_sidebar #secondary .record .post-image {
    width: 120px;
    height: 120px;
}

.situations .post-sidebar .record .post-details,
.page-template-text_sidebar #secondary .record .post-details {
    padding: 10px;
    width: calc(100% - 128px);
}

.situations .post-sidebar .record .post-details h5,
.page-template-text_sidebar #secondary .record .post-details h5 {
    font-size: 0.95em;
}

.situations .post-sidebar .record .post-details a,
.page-template-text_sidebar #secondary .record .post-details a {
    text-transform: none;
    letter-spacing: initial;
    font-weight: 400;
}

.situations .post-sidebar .record .post-details .to-post,
.page-template-text_sidebar #secondary .record .post-details .to-post {
    position: absolute;
    bottom: 2px;
    right: 20px;
    font-size: 1.65em;
}

#content .post-sidebar .related-sites ul {
    padding: 0;
    margin: 0 0 1.5em;
}

.situations .post-sidebar .related-sites ul li {
    list-style-type: none;
}

.situations .post-sidebar .related-sites ul li:not(:last-child) {
    padding-bottom: 0.5em;
    border-bottom: 1px solid #E6E6E6;
    margin-bottom: 0.5em;
}

.related-services a,
.situations .post-sidebar .related-sites a {
    font-family: 'Montserrat-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
    color: #E86310;
}

.related-services a:hover,
.related-services a:focus,
.situations .post-sidebar .related-sites a:hover,
.situations .post-sidebar .related-sites a:focus {
    color: #F37C20;
}

.situations .post-sidebar .related-sites .site-listing {
    font-size: 0.85em;
}

/** -----------------  Situations listing  -----------------  */
.situations-listing .situation.container {
    min-height: 12em;
    margin: 30px 0;
    padding: 0;
    background: #FFFFFF;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 2px rgba(29, 29, 27, 0.26);
    filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#1D1D1B');
    display: table;
    width: 100%;
    border: none;
}

.situations-listing .situation.container .column {
    display: table-cell;
    vertical-align: top;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.situations-listing .situation.container .column:first-child {
    width: 5%;
}

.situations-listing .situation.container:nth-child(2n - 1) .column:first-child {
    background-color: #F15A24;
}

.situations-listing .situation.container:nth-child(2n) .column:first-child {
    background-color: #93278F;
}

.situations-listing .situation.container .column:nth-child(3) {
    width: 22%;
    vertical-align: middle;
}

.situations-listing .situation .situation-image {
    position: absolute;
    height: auto;
    width: auto;
    margin-left: 50%;
    margin-top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.situations-listing .situation .situation-image img {
    max-width: initial;
}

.situations-listing .situation .situation-details {
    display: inline-block;
    vertical-align: top;
    width: 73%;
    padding: 1em 2em;
}

.situations-listing .situation .situation-details h3 {
    border: none;
    padding: 0 0 0.5em 0;
    margin: 0;
    font-size: 1em;
    min-height: 3em;
}

.situations-listing .situation .situation-details p {
    font-size: 0.9em;
    line-height: 1.4em;
}

.situations-listing .situation .situation-video {
    height: 80%;
    width: 100%;
    top: 10%;
    padding: 20% 10%;
    position: absolute;
    border-left: 1px solid #E6E6E6;
}

.situations-listing .situation .situation-video div {
    margin-top: 10px;
    text-align: center;
    font-family: 'Montserrat-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
}

.situations-listing .situation .situation-video .video-post {
    font-size: 5em;
}

.situations-listing .situation .situation-video .to-post {
    font-size: 1.8em;
    bottom: -8px;
    right: 15%;
    position: absolute;
}

.self-test {
    text-align: center;
    padding: 20px 0 30px;
}

/* --------------------------------------------------------------------
                   List block & Slider block styles
   -------------------------------------------------------------------- */
.alm-listing .record {
    width: 23%;
    min-height: 15em;
    margin: 1.33%;
    padding: 0;
    display: inline-block;
    background: #FFFFFF;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 2px rgba(29, 29, 27, 0.26);
    filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#1D1D1B');
    position: relative;
    vertical-align: top;
}

.alm-listing .record.news {
    min-height: 22em;
}

.alm-listing.galleries .record {
    min-height: 17em;
}

.alm-listing .record a,
.alm-listing .record a:hover,
.alm-listing .record a:focus {
    box-shadow: none;
}

.alm-listing .record img {
    border: none;
}

.alm-listing .record:nth-child(4n) {
    margin-right: 0;
}

.alm-listing .record:nth-child(4n+1) {
    margin-left: 0;
}

.owl-item .record .post-image,
.alm-listing .record .post-image {
    width: 100%;
    height: 130px;
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.owl-item .record .post-image img,
.alm-listing .record .post-image img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.owl-item .record .post-details,
.alm-listing .record .post-details {
    margin: 0;
    padding: 1em;
    display: inline-block;
}

.owl-item .record .post-details h3,
.alm-listing .record .post-details h3 {
    font-family: 'Montserrat-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
    font-size: 1em;
    min-height: 2.5em;
    max-height: max-content;
}

.alm-listing .record .post-details p {
    font-size: 0.65em;
}

.alm-listing .record .post-details p > a {
    display: none;
}

.owl-item .record .post-details .to-post,
.alm-listing .record .post-details .to-post {
    position: absolute;
    right: 14px;
    bottom: 4px;
    font-size: 34px;
}

.alm-btn-wrap {
    text-align: center;
    margin: 50px 0 25px;
}

.alm-btn-wrap .alm-load-more-btn {
    font-size: 18px;
    font-weight: normal;
    width: auto;
    height: 56px;
    line-height: 56px;
    color: #fff;
    background: #E86310;
    background: rgba(232, 99, 16, 1);
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    margin: 0;
    padding: 0 20px 0 20px;
    display: inline-block;
    position: relative;
    transition: padding 0.25s ease-in-out, width 0.25s ease-in-out;
    text-align: center;
    text-decoration: none;
    appearance: none;
    user-select: none;
    cursor: pointer;
}

.alm-btn-wrap .alm-load-more-btn:not(.loading) {
    padding: 0 4.5em 0 2em;
}

.alm-btn-wrap .alm-load-more-btn:not(.loading):after {
    content: '';
    display: inline-block;
    position: absolute;
    background: url('assets/images/icon-download.svg') no-repeat 50% 50%;
    height: 28px;
    width: 28px;
    margin-left: 22px;
    top: 13px;
}

.alm-btn-wrap .alm-load-more-btn.done {
    display: none;
}

/* --------------------------------------------------------------------
                                Slider block styles
   -------------------------------------------------------------------- */
.owl-item .record {
    width: 100%;
    height: 14em;
    margin: 0;
    padding: 0;
    display: inline-block;
    background: #FFFFFF;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 2px rgba(29, 29, 27, 0.26);
    filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#1D1D1B');
    position: relative;
}

div.sa_owl_theme .owl-nav div,
div.sa_owl_theme .owl-nav button {
    top: unset;
    margin: 16px 0 0 !important;
    height: 24px !important;
    width: 15px !important;
}

div.sa_owl_theme .owl-nav .owl-prev {
    left: 40%;
}

div.sa_owl_theme .owl-nav .owl-next {
    right: 40%;
}

div.white .sa_owl_theme .owl-nav .owl-prev {
    background: url('assets/images/icon-to-left.svg') no-repeat center center !important;
}

div.white .sa_owl_theme .owl-nav .owl-next {
    background: url('assets/images/icon-to-right.svg') no-repeat center center !important;
}

div.white .sa_owl_theme .owl-nav .owl-prev:hover,
div.white .sa_owl_theme .owl-nav .owl-next:hover {
    background-color: initial !important;
}

.owl-carousel.owl-loaded {
    padding-bottom: 35px;
}

div.sa_owl_theme .owl-dots {
    position: relative;
    height: 0;
    padding: 0 !important;
}

div.sa_owl_theme .owl-dots .owl-dot span {
    background-color: initial !important;
    border: 1px solid #BA2E18 !important;
    transition: unset !important;
}

div.sa_owl_theme .owl-dots .owl-dot span:hover {
    background-color: initial !important;
}

div.sa_owl_theme .owl-dots .owl-dot.active span {
    background-image: url('assets/images/slider-active.png');
    background-position: center;
    background-repeat: no-repeat;
}

/* --------------------------------------------------------------------
                             Search styles
   -------------------------------------------------------------------- */
.search #content .page-header,
.search #content #primary article,
.search #content .navigation.pagination {
    float: left;
    width: 66%;
}

.search #content #primary article {
    padding-bottom: 15px;
}

.search #content .page .entry-header .edit-link {
    text-transform: initial;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 1em;
}

.search #content .entry-meta {
    font-size: 1em;
}

.search #content .entry-title {
    font-family: 'Montserrat-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
    font-size: 1.5em;
}

.search #content a,
.search #content a:hover,
.search #content a:focus {
    box-shadow: none;
    margin: 0;
    text-transform: initial;
    letter-spacing: 0;
}

.link-more {
    text-align: right;
    margin: 15px 0;
}

.link-more .read-more {
    padding: 2px 20px 2px 0;
    color: #E45312;
    background: url('assets/images/icon-to-right.svg') no-repeat center right;
}

.search-no-results .search-form label {
    display: none;
}

.search-no-results .search-form input {
    height: 100%;
}

.no-results .search-form .search-submit,
.search-no-results .search-form .search-submit {
    bottom: 0;
    right: 0;
    top: 0;
    margin: 0;
}

/* --------------------------------------------------------------------
                                Callendar styles
   -------------------------------------------------------------------- */
.calendar-column {
    width: 350px;
    display: inline-block;
    vertical-align: top;
}

.calendar-navigation {
    position: relative;
    height: 50px;
}

.calendar-navigation .month_prev {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 32px;
}

.calendar-navigation .month_next {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 32px;
}

.calendar-navigation .month_name {
    font-family: 'OpenSans-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
    text-transform: capitalize;
    font-size: 1.1em;
    text-align: center;
    line-height: 50px;
}

.em-calendar .days-names {
    font-family: 'OpenSans-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
    text-transform: capitalize;
}

table.fullcalendar th,
table.fullcalendar td {
    border: 10px solid #ffffff;
    background-color: #F2F2F2;
    color: #4E424F;
    height: 51px;
    width: 51px;
    padding: 0;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

table.fullcalendar th:first-child,
table.fullcalendar td:first-child {
    border-left: none;
    width: 46px;
}

table.fullcalendar th:last-child,
table.fullcalendar td:last-child {
    border-right: none;
    width: 46px;
}

table.fullcalendar td.eventless {
    color: #4E424F;
}

table.em-calendar td.eventless-pre,
table.em-calendar td.eventful-pre,
table.em-calendar td.eventless-post,
table.em-calendar td.eventful-post {
    color: #F8B01F;
}

table.em-calendar td.eventful-pre a,
table.em-calendar td.eventful-post a {
    color: #F8B01F;
    text-decoration: none;
}

.em-calendar .eventful-pre:before,
.em-calendar .eventful-post:before,
.em-calendar .eventful-today:before,
.em-calendar .eventful:before {
    content: '';
    border-radius: 50%;
    border: 2px solid #E45312;
    height: 80%;
    width: 80%;
    top: 10%;
    left: 10%;
    position: absolute;
}

.em-calendar .eventful-pre a,
.em-calendar .eventful-post a,
.em-calendar .eventful-today a,
.em-calendar .eventful a {
    position: relative;
}

table.em-calendar td.eventless:nth-child(n+6) {
    color: #D12F18;
}

.entry-content .events-column {
    display: inline-block;
    width: calc(100% - 358px);
    padding-left: 100px;
}

.events-column .calendar-event {
    margin: 0 0 20px;
    color: #4E424F;
}

.events-column .calendar-event a {
    color: #4E424F;
}

.events-column .calendar-event:not(:first-child) {
    border-top: 1px solid #E6E6E6;
    padding-top: 20px;
}

/** --------------------  Calendar small  --------------------  */
.callendar-container.small .month_name {
    font-size: 1.4em;
}

table.smallcalendar {
    font-size: 20px;
}

table.smallcalendar th,
table.smallcalendar td {
    border: 10px solid #ffffff;
    background-color: #F2F2F2;
    color: #4E424F;
    height: 53px;
    width: 53px;
    padding: 0;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

table.smallcalendar th:first-child,
table.smallcalendar td:first-child {
    border-left: none;
    width: 50px;
}

table.smallcalendar th:last-child,
table.smallcalendar td:last-child {
    border-right: none;
    width: 50px;
}

table.smallcalendar td.eventless {
    color: #4E424F;
}

/* --------------------------------------------------------------------
                                News styles
   -------------------------------------------------------------------- */
.live-post {
    padding-bottom: 4px;
    margin-bottom: 45px;
    width: 70%;
    margin-right: auto;
    margin-left: auto;
}

.live-post:after {
    position: absolute;
    right: 0;
    left: 0;
}

.live-post article {
    padding-bottom: 20px;
}

.live-post .post .post-thumbnail {
    width: 100%;
    height: 56.25%;
}

.live-post .post .post-excerpt,
.live-post .post .post-content {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    text-align: justify;
    overflow: hidden;
    transition: 1s ease;
    max-height: 2000px;
}

.live-post .post .post-excerpt.hidden {
    display: none;
}

.live-post .post .post-excerpt .link-more {
    display: none;
}

.live-post .post .post-content.hidden {
    max-height: 0;
}

.live-post .post .hide-content {
    text-align: center;
}

.live-post .post .hide-content .read-more,
.live-post .post .hide-content .close-more {
    color: #E45312;
    display: inline-block;
    cursor: pointer;
}

.live-post .post .hide-content .read-more.hidden,
.live-post .post .hide-content .close-more.hidden {
    display: none;
}

.live-post .post .hide-content .read-more:after {
    content: '';
    display: block;
    height: 20px;
    width: 30px;
    background: url('assets/images/icon-to-down.svg') no-repeat 50% 50%;
    margin: 0 auto 10px;

}

.live-post .post .hide-content .close-more {
    margin-bottom: 10px;
}

.live-post .post .hide-content .close-more:before {
    content: '';
    display: block;
    height: 20px;
    width: 30px;
    background: url('assets/images/icon-to-up.svg') no-repeat 50% 50%;
    margin: 10px auto 0;

}

/* --------------------------------------------------------------------
                                Gallery styles
   -------------------------------------------------------------------- */
.format-gallery .thumbs_wrap2 {
    float: right;
}

.format-gallery .gal_content {
    float: left;
}

div.photospace .gal_content,
div.photospace .loader {
    width: calc(100% - 370px);
}

.format-gallery .gal_content .slide-number {
    height: 30px;
    margin-top: 5px;
    text-align: center;
    font-family: 'Montserrat-Bold', "Helvetica Neue", helvetica, arial, sans-serif;
}

.format-gallery .photospace {
    height: 550px;
    width: 100%;
}

.format-gallery .photospace .image-wrapper {
    margin-left: 0;
    margin-top: 0;
    transform: none;
    width: 100%;
}

.format-gallery .photospace .image-wrapper a.advance-link {
    width: 100%;
}

.format-gallery .photospace .image-wrapper img {
    max-width: 100%;
    max-height: 100%;
}

.format-gallery .photospace ul.thumbs li:nth-child(5n) {
    margin-right: 0 !important;
}

.format-gallery .photospace ul.thumbs li {
    width: 50px;
    height: 50px;
}

.format-gallery .photospace ul.thumbs img {
    max-width: 50px;
    max-height: 50px;
}

.format-gallery .photospace .thumbs_wrap {
    display: inline-block;
    height: 425px;
}

.format-gallery .photospace .thumnail_col a.pageLink.next {
    margin-right: 0;
    float: right;
}

.format-gallery .photospace span.image-caption {
    width: 350px;
    position: relative;
}

.format-gallery .photospace .caption-container .caption {
    text-align: justify;
}

/* --------------------------------------------------------------------
                                Category styles
   -------------------------------------------------------------------- */
.archive.page-one-column:not(.has-sidebar) .page-header {
    margin-bottom: 0;
}

.page-template-jautajumi-atbildes .site-main > article,
.archive.category .site-main > article {
    padding-bottom: 1.4em;
    border-bottom: 1px solid #E6E6E6;
    margin-bottom: 2em;
}

.page-template-jautajumi-atbildes .site-main > article:last-child,
.page-template-jautajumi-atbildes .site-main > article:nth-child(10),
.archive.category .site-main > article:last-child,
.archive.category .site-main > article:nth-child(10) {
    border-bottom: none;
}

.page-template-jautajumi-atbildes article[class*=' category-'] .entry-header,
.category article[class*=' category-'] .entry-header {
    padding-bottom: 25px;
}

.page-template-jautajumi-atbildes article[class*=' category-'] .category-post .post-thumbnail,
.category article[class*=' category-'] .category-post .post-thumbnail {
    display: inline-block;
    vertical-align: top;
    width: 360px;
    height: 220px;
    overflow: hidden;
}

.page-template-jautajumi-atbildes article[class*=' category-'] .category-post .entry-content,
.category article[class*=' category-'] .category-post .entry-content {
    margin: 0 0 0 18px;
    display: inline-block;
    font-size: 0.9em;
    line-height: 1.55em;
    min-height: 220px;
    position: relative;

}

.category article[class*=' category-'] .category-post .entry-content {
    width: 66%;
}

.page-template-jautajumi-atbildes article[class*=' category-'] .category-post .entry-content {
    width: 90%;
}

.page-template-jautajumi-atbildes article[class*=' category-'] .entry-header .entry-title {
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    font-size: 1.3em;
}

.page-template-jautajumi-atbildes article[class*=' category-'] .category-post .entry-content .link-more,
.category article[class*=' category-'] .category-post .entry-content .link-more {
    position: absolute;
    right: 0;
    bottom: 0;
}

.page-template-jautajumi-atbildes article[class*=' category-'] .category-post .entry-content .link-more .read-more a,
.category article[class*=' category-'] .category-post .entry-content .link-more .read-more a {
    color: #E45312;
}

/* ----------------------- FAQ category ---------------------------- */
.page-template-jautajumi-atbildes .site-main {
    margin: 0 25px 0 0;
    width: 66%;
    float: left;
}

.category .category-sidebar,
.page-template-jautajumi-atbildes .category-sidebar {
    width: 24%;
    float: right;
}

.page-template-jautajumi-atbildes .category-sidebar select {
    width: 100%;
}

.page-template-jautajumi-atbildes article[class*=' category-'] .category-post .entry-content {
    margin-left: 0;
    min-height: 200px;
}

.page-template-jautajumi-atbildes article[class*=' category-'] .category-post .entry-content .link-more {
    right: -70px;
}

.site-content .search-wrapper input {
    border: none;
    background-color: #F2F2F2;
    padding: 0.8em 4em 0.8em 1.2em;
    font-size: 18px;
    height: 100%;
}

.site-content .search-wrapper input::placeholder {
    color: #7D8082;
}

.site-content .search-wrapper form.search-form {
    height: 100%;
}

.site-content .search-wrapper .search-submit {
    bottom: 0;
    right: 0;
    top: 0;
    padding: 0.5em 0.8em;
    margin: 0;
    width: 68px;
}

.site-content .search-wrapper .search-submit .icon {
    top: 0;
    height: 34px;
    width: 34px;
}

.filter-wrapper .SumoSelect {
    height: 100%;
    width: 100%;
    cursor: pointer;
    margin-bottom: 10px;
}

.filter-wrapper .SumoSelect > .CaptionCont {
    height: 100%;
    padding: 0.8em 1em;
    border: none;
    background-color: #F2F2F2;
    border-radius: 3px;
}

.filter-wrapper .SumoSelect:focus > .CaptionCont,
.filter-wrapper .SumoSelect:hover > .CaptionCont,
.filter-wrapper .SumoSelect.open > .CaptionCont {
    box-shadow: none;
    border: none;
}

.filter-wrapper .SumoSelect > .CaptionCont > span {
    padding-right: 4em;
    color: #7D8082;
    font-style: unset;
    font-size: 18px;
    cursor: pointer;
}

.filter-wrapper .SumoSelect > .CaptionCont > label {
    width: 68px;
    background: #E86310;
    border-radius: 3px;
    cursor: pointer;
}

.filter-wrapper .SumoSelect > .CaptionCont > label > i {
    background: url(assets/images/icon-arrow-down.svg) no-repeat 50% 50%;
    width: 34px;
    height: 34px;
}

.filter-wrapper .SumoSelect.open > .optWrapper {
    top: calc(100% + 4px);
    background-color: #F2F2F2;
    box-shadow: none;
    border: none;
}

.filter-wrapper .SumoSelect > .optWrapper > .options {
    max-height: 350px;
    padding: 10px 0;
}

.filter-wrapper .SumoSelect > .optWrapper > .options li.opt {
    padding: 0 0.5em 0 1em;
}

.filter-wrapper .SumoSelect > .optWrapper > .options li.opt.disabled {
    display: none;
}

.filter-wrapper .SumoSelect > .optWrapper > .options li.opt:hover {
    background-color: #F37C20;
}

.filter-wrapper .SumoSelect > .optWrapper > .options li.opt:hover label {
    color: #ffffff;
}

/* ----------------------- Dialog window ---------------------------- */
.ui-dialog.ui-widget {
    background-color: white;
    min-width: 700px;
    z-index: 1500;
}

.ui-dialog.ui-widget .ui-dialog-titlebar-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: .5em;
    background: transparent;
}

.ui-dialog.ui-widget .ui-dialog-titlebar-close::after {
    content: '';
    display: inline-block;
    height: 40px;
    width: 40px;
    background: url('assets/images/icon-close.svg') no-repeat;
}

.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}

.ui-widget-header {
    text-align: center;
    font-size: 2em;
    font-weight: 600;
}

.ui-widget-content {
    text-align: justify;
    padding: 20px;
}

.ui-widget-content h4 {
    padding-top: 0;
    text-align: center;
}

.ui-widget-content .no-margin{
    margin: 0;
}

.ui-widget-content .align-center {
    text-align: center;
}

.ui-widget-content a {
    font-weight: 600;
    color: #F37C20;
}

.ui-dialog-buttonset {
    text-align: center;
}

.ui-widget-overlay {
    background: #aaaaaa;
    opacity: .3;
    filter: Alpha(Opacity=30);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

/* --------------------------------------------------------------------
                                Responsive styles
   -------------------------------------------------------------------- */
@media only screen and (min-width: 1440px) {
    .wrap {
        max-width: 1140px;
        padding-left: 0;
        padding-right: 0;
    }

    div#content.site-content main {
        font-size: 1.2em;
    }

    .site-content {
        padding: 3.5em 0 0;
    }

    .single-post:not(.has-sidebar) #primary,
    .page.page-one-column:not(.twentyseventeen-front-page) #primary,
    .archive.page-one-column:not(.has-sidebar) .page-header,
    .archive.page-one-column:not(.has-sidebar) #primary {
        max-width: 1140px;
    }

    .header-nav-bar .head-main {
        height: 114px;
        padding: 10px 0;
    }

    .header-nav-bar .head-main .logo img {
        max-width: 250px;
    }

    .navigation-top .wrap {
        max-width: 1140px;
        font-size: 18px;
        padding: 0.5em 1.5em 0.25em;
    }

    .page.page-one-column .entry-header {
        padding-bottom: 10px;
        margin-bottom: 5px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1439px) {
    .wrap {
        max-width: 900px;
        padding-left: 0;
        padding-right: 0;
    }

    .site-content {
        padding: 3em 0 0;
    }

    body:not(.home):not(.post-template-default):not(.search):not(.page-template-news):not(.page-template-gallery) .site-content-contain:before,
    body.situations .site-content-contain:before {
        height: 140px;
    }

    .single-post:not(.has-sidebar) #primary,
    .page.page-one-column:not(.twentyseventeen-front-page) #primary,
    .archive.page-one-column:not(.has-sidebar) .page-header,
    .archive.page-one-column:not(.has-sidebar) #primary {
        max-width: 900px;
    }

    button, .button,
    input[type="button"],
    input[type="submit"],
    .download-link.button,
    .video-link.button,
    .site-content .entry-footer .edit-link a.post-edit-link {
        font-size: 14px;
    }

    .video-link.button:after {
        height: 15px;
        width: 28px;
        margin-left: 10px;
        top: 13px;
    }

    .page.page-one-column .entry-header {
        padding-bottom: 10px;
        margin-bottom: 5px;
    }

    /* ----------------------------------  Navigation  --------------------------------------- */
    .custom-header {
        margin-bottom: 40px;
    }

    .header-nav-bar .head-main {
        height: 91px;
        padding: 8px 0;
    }

    .header-nav-bar .head-main .table {
        height: 76px;
    }

    .header-nav-bar .head-main .logo img {
        max-height: 70px;
    }

    .header-nav-bar .font-resizer .zeno_font_resizer_container {
        font-size: 19px;
        top: 31px;
    }

    .header-nav-bar .font-resizer p span > a {
        margin-left: 5px;
    }

    .header-nav-bar .header-toggle {
        width: 156px;
        font-size: 14px;
    }

    .header-nav-bar .header-toggle .nav-menu-toggle {
        top: 30px;
        left: 19px;
        letter-spacing: 0;
    }

    .header-nav-bar .header-toggle .nav-menu-toggle .icon-menu-hamburger {
        font-size: 20px;
        margin: 0 0px 2px 20px;
    }

    .navigation-top .wrap {
        padding: 0.5em 2em 0.15em;
    }

    .navigation-top .main-navigation {
        padding-right: 140px;
    }

    .navigation-top .main-navigation li li a {
        padding: 5px 14px;
    }

    .navigation-top .search-wrapper {
        right: -10px;
    }

    .navigation-top .search-wrapper .search-form input[type="search"] {
        padding: 2px 12px;
        width: calc(100% - 28px);
        margin-left: 28px;
        font-size: 16px;
    }

    .navigation-top .search-wrapper .search-form button[type="submit"] {
        width: 28px;
    }

    .navigation-top .search-wrapper .search-form button[type="submit"] .icon {
        height: 28px;
        width: 28px;
    }

    /* ----------------------------------  Footer  --------------------------------------- */
    .site-footer .widget-area {
        padding-top: 0.1em;
    }

    .site-footer .widget-column.footer-widget-1,
    .site-footer .widget-column.footer-widget-2,
    .site-footer .widget-column.footer-widget-3,
    .site-footer .widget-column.footer-widget-4 {
        font-size: 13px;
        line-height: 20px;
    }

    .site-footer .widget-column.footer-widget-1,
    .site-footer .widget-column.footer-widget-2 {
        width: 150px;
    }

    .site-footer .widget-column.footer-widget-3 {
        width: 230px;
    }

    .site-footer .widget-column.footer-widget-4 {
        width: 361px;
        min-height: 250px;
    }

    .site-footer h2.widget-title {
        font-size: 15px;
        margin-bottom: 1.3em;
    }

    .site-footer .footer-widget-3 .info {
        margin-bottom: 1.5em;
    }

    .site-footer .footer-widget-3 .info > div {
        display: inline-block;
    }

    .site-footer .footer-widget-3 .info .icon-svg {
        margin-right: 7px;
    }

    .site-footer .footer-widget-3 .info .icon-svg svg {
        width: 22px;
        height: 22px;
    }

    .site-footer .footer-widget-3 .info .text {
        width: 177px;
    }

    .site-footer .footer-widget-3 .info.newsletter tr td:nth-child(2) {
        width: 75%;
    }

    .site-footer .widget_text ul.social-icons-lists {
        margin: -0.4em 0 0 0;
    }

    .site-footer .footer-widget-4 .footer-text {
        margin-top: 1em;
        font-size: 9px;
        line-height: 1.5em;
    }

    .site-footer .info .wrap .site-info {
        font-size: 14px;
    }

    .site-footer .footer-logo {
        margin-top: 1em;
        position: initial;
        text-align: center;
    }

    /* ---------------------------  Page styles  ----------------------------------- */
    body.page:not(.twentyseventeen-front-page) h1.entry-title {
        font-size: 1.625em;
    }

    /** -----------------  Front  -----------------  */
    .twentyseventeen-front-page .front-image {
        max-height: 392px;
    }

    .front-content #secondary .box-link {
        margin-bottom: 20px;
        height: 62px;
    }

    .front-content #secondary .box-link .button span {
        font-size: 17px;
    }

    #secondary h2.widget-title {
        font-size: 1.8em;
    }

    #secondary h3 {
        font-size: 1.5em;
    }

    #secondary .list-item {
        font-size: 1em;
    }

    /** -----------------  Contacts  -----------------  */
    article.contacts .address-block .address-map {
        height: 250px;
    }

    article.contacts .address-block .address-info p {
        margin-right: -40px;
    }

    article.contacts form {
        display: -ms-grid;
        display: grid;
        grid-gap: 20px;
        -ms-grid-columns: 1fr 20px 1fr;
        -ms-grid-rows: 1fr 20px 1fr 20px 5fr 20px;
        grid-template-columns: 1fr 1fr;
    }

    article.contacts form input {
        font-size: 1em;
    }

    article.contacts form .send input[type="submit"] {
        padding: 15px 25px;
    }

    /* ----------------------------  Post styles  ------------------------------ */
    body.single-post h1,
    body.single-post h1.entry-title {
        font-size: 1.625em;
    }

    body.single-post h2,
    body.single-post h2.entry-title {
        font-size: 1.4em;
    }

    body.single-post h3 {
        font-size: 1.2em;
    }

    .post .entry-meta {
        font-size: 0.9em;
    }

    .post .thumbnail-container {
        width: 280px;
    }

    .post .post-thumbnail {
        width: 280px;
        height: 280px;
    }

    .post .image-wrapper img {
        max-height: 280px;
        width: auto;
    }

    .post .thumbnail-container .thumbnail-description {
        font-size: 0.6em;
    }

    .post .post-content {
        font-size: 0.9em;
    }

    /** -----------------  Situations  -----------------  */
    .situations-header-bar .search-wrapper input {
        padding: 0.7em 4em 0.7em 1.2em;
    }

    form.search-form .search-submit {
        width: 56px;
    }

    .situations-header-bar .search-wrapper .search-submit {
        width: 56px;
    }

    .situations-header-bar .search-wrapper .search-submit .icon {
        height: 30px;
        width: 30px;
    }

    .situations-header-bar .situation-filter-wrapper .SumoSelect > .CaptionCont > span {
        padding-right: 3em;
        font-size: 14px;
    }

    .situations-header-bar .situation-filter-wrapper .SumoSelect > .CaptionCont > label {
        width: 56px;
    }

    .situations-header-bar .situation-filter-wrapper .SumoSelect > .CaptionCont > label > i {
        width: 28px;
        height: 28px;
    }

    .page .entry-content .situation-title {
        font-size: 1.5em;
    }

    .article-block {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .situations .post-sidebar .record {
        min-height: 100px;
        margin: 10px 0;
    }

    .situations .post-sidebar .record .post-image {
        width: 100px;
        height: 100px;
    }

    .situations .post-sidebar .record .post-details {
        width: calc(100% - 107px);
    }

    /** -----------------  Situations listing  -----------------  */
    .situations-listing .situation.container {
        margin: 20px 0;
    }

    /** ----------------  List block & Slider block styles  ------------------ */
    .alm-listing .record.news {
        min-height: 24em;
    }

    .alm-listing.galleries .record {
        min-height: 18em;
    }

    .owl-item .record .post-image,
    .alm-listing .record .post-image {
        height: 103px;
    }

    .owl-item .record .post-details .to-post svg,
    .alm-listing .record .post-details .to-post svg {
        height: 20px;
        width: 25px;
    }

    .alm-btn-wrap .alm-load-more-btn {
        font-size: 14px;
        height: 44px;
        line-height: 44px;
    }

    .alm-btn-wrap .alm-load-more-btn:not(.loading):after {
        content: '';
        display: inline-block;
        position: absolute;
        background: url('assets/images/icon-download.svg') no-repeat 50% 50%;
        height: 20px;
        width: 20px;
        margin-left: 20px;
        top: 13px;
    }

    /* ----------------------------  Callendar styles  ------------------------------------ */
    .calendar-column {
        width: 305px;
    }

    .calendar-navigation {
        height: 40px;
    }

    .calendar-navigation .month_prev {
        font-size: 25px;
    }

    .calendar-navigation .month_next {
        font-size: 25px;
    }

    .calendar-navigation .month_name {
        line-height: 40px;
    }

    table.fullcalendar th,
    table.fullcalendar td {
        height: 45px;
        width: 45px;
    }

    table.fullcalendar th:first-child,
    table.fullcalendar td:first-child {
        width: 40px;
    }

    table.fullcalendar th:last-child,
    table.fullcalendar td:last-child {
        width: 40px;
    }

    .entry-content .events-column {
        width: calc(100% - 315px);
    }

    /** --------------------  Calendar small  --------------------  */
    .callendar-container.small .month_name {
        font-size: 1.2em;
    }

    table.smallcalendar {
        font-size: 16px;
    }

    table.smallcalendar th,
    table.smallcalendar td {
        height: 42px;
        width: 42px;
    }

    table.smallcalendar th:first-child,
    table.smallcalendar td:first-child {
        width: 38px;
    }

    table.smallcalendar th:last-child,
    table.smallcalendar td:last-child {
        width: 38px;
    }

    /** ------------------ Category styles  ------------------------ */
    .filter-wrapper .SumoSelect > .CaptionCont > span {
        padding-right: 3em;
        font-size: 16px;
    }

    .filter-wrapper .SumoSelect > .CaptionCont > label {
        width: 55px;
    }

    .filter-wrapper .SumoSelect > .CaptionCont > label > i {
        width: 30px;
        height: 30px;
    }

    .site-content .search-wrapper input {
        padding: 0.9em 3.5em 0.9em 1.2em;
        font-size: 16px;
    }

    .site-content .search-wrapper .search-submit {
        width: 55px;
    }

    .site-content .search-wrapper .search-submit .icon {
        height: 30px;
        width: 30px;
    }

    /** -----------------------  Search  ----------------------------- */
    .search-no-results .search-form .search-submit {
        top: 4px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media only screen and (max-width: 991px) {
    .entry-content .half {
        display: block;
        width: 100%;
    }

    #masthead .wrap {
        max-width: none;
        padding: 0;
    }

    #masthead .header-nav-bar .head-main {
        padding: 0;
    }

    #masthead .header-nav-bar .head-main .table {
        width: 100%;
    }

    #masthead .header-nav-bar .head-main .table .column {
        border: 0;
        border-left: 1px solid #e6e6e6;
        vertical-align: middle;
        width: 1%;
    }

    #masthead .header-nav-bar .head-main .table .column:first-child {
        border-left: 0;
        width: 98%;
    }

    #masthead .header-nav-bar .font-resizer .zeno_font_resizer_container {
        margin: 0 15px;
        position: static;
        white-space: nowrap;
    }

    .custom-header {
        margin: 0 !important;
    }

    .head-main .nav-menu-toggle > span {
        display: none;
    }

    .header-nav-bar .header-toggle {
        width: auto;
    }

    .header-nav-bar .header-toggle .nav-menu-toggle {
        display: block;
        padding: 30px;
        position: static;
    }

    .header-nav-bar .header-toggle .nav-menu-toggle .icon-menu-hamburger {
        margin: 0;
    }

    .header-nav-bar .logo {
        margin: 0;
    }

    .custom-logo-link {
        padding: 15px;
    }

    .custom-logo-link img {
        display: block;
    }

    .navigation-top {
        position: relative;
    }

    .navigation-top nav {
        margin: 0;
    }

    #masthead .navigation-top .main-navigation {
        padding-right: 0;
    }

    #masthead .navigation-top .menu-toggle {
        display: none
    }

    #masthead .navigation-top {
        bottom: 0;
    }

    #masthead .navigation-top .main-navigation {
        display: block;
    }

    #masthead .navigation-top .search-wrapper {
        display: block;
        position: static;
        width: 100%;
    }

    .navigation-top .search-form {
        padding-left: 60px;
    }

    .navigation-top .search-wrapper .search-form button[type="submit"] {
        width: 60px;
    }

    .navigation-top .search-wrapper .search-form input[type="search"] {
        margin: 0;
        padding: 10px;
        width: 100%;
    }

    .menu-augsa-container {
        display: none;
    }

    .twentyseventeen-front-page .front-image {
        max-height: 300px;
    }

    body:not(.home):not(.post-template-default):not(.search):not(.page-template-news):not(.page-template-gallery) .site-content-contain:before, body.situations .site-content-contain:before {
        height: 100px;
    }

    #shiftnav-main {
        width: 70%;
    }

    .site-content {
        padding-top: 30px;
    }

    .entry-header {
        margin-bottom: 30px;
    }

    body:not(.twentyseventeen-front-page) .entry-header {
        padding-bottom: 0;
    }

    .page.page-one-column .entry-header, .twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header {
        margin-bottom: 0;
    }

    .site-footer .widget-area {
        padding-top: 0;
        padding-bottom: 0;
    }

    .site-footer .widget-area .widget-column {
        display: block;
        float: none;
        padding-bottom: 1em;
        width: 100%;
    }

    .site-footer .widget-area .widget-column .text {
        width: auto;
    }

    .site-footer .widget-title {
        margin: 0 0 .5em;
    }

    .site-footer .footer-widget-4 .footer-text {
        text-align: center;
    }

    .site-footer .footer-logo {
        margin-top: 1em;
        position: static;
        text-align: center;
    }

    .entry-header.situation h1 {
        margin-bottom: 0;
        width: 100%;
    }

    .situations-header-bar {
        position: static;
        width: 100%;
    }

    .situations-header-bar .search-wrapper, .situations-header-bar .situation-filter-wrapper {
        display: block;
        float: none;
        margin-top: 15px;
        width: 100%;
    }

    .page .entry-content .situation-title,
    .entry-header.situation .entry-title {
        margin-top: 3em;
    }

    .entry-header.situation .entry-title:not(.situation-title) {
        width: 100%;
    }

    .situations .post-content, .situations .post-sidebar {
        float: none;
        padding: 0;
        width: 100%;
    }

    .situations .post-sidebar {
        margin-top: 2em;
    }

    .search #content .page-header, .search #content #primary article, .search #content .navigation.pagination {
        float: none;
        width: 100%;
    }

    .live-post {
        width: 100%;
    }

    .live-post .post .post-content {
        max-height: 5000px;
    }

    article.contacts {
        width: 100%;
    }

    article.contacts .address-block .address-map {
        display: block;
        width: 100%;
    }

    article.contacts .address-block .address-info {
        float: none;
        padding: 0;
        width: 100%;
    }

    article.contacts .address-map iframe {
        width: 100% !important;
    }

    article.contacts form {
        display: block;
    }

    article.contacts [class*="field-"], article.contacts form .footer {
        margin-top: 1em;
    }

    .page.page-template-text_sidebar:not(.twentyseventeen-front-page) #primary {
        width: 100%;
        margin: auto;
        padding-right: 0;
        display: block;
    }

    .page.page-template-text_sidebar #secondary {
        width: 100%;
        display: block;
    }

    div.photospace {
        overflow: hidden;
        position: relative;
        width: 100%;
    }

    .photospace .slideshow-container {
        overflow: hidden;
    }

    div.photospace .gal_content, div.photospace .loader, div.photospace .slideshow a.advance-link {
        float: none;
        width: 100%;
    }

    .format-gallery .thumbs_wrap2 {
        display: block;
        float: none;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .format-gallery .photospace {
        height: 600px;
    }

    .format-gallery .photospace .thumbs_wrap {
        display: none;
    }

    .format-gallery .photospace .thumbs_wrap2 {
        display: block;
    }

    .format-gallery .photospace span.image-caption {
        width: 100%;
    }

    .format-gallery .caption .image-caption, .format-gallery .caption .image-desc {
        height: 30px;
        margin: 0;
        padding: 0;
        line-height: 30px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .photospace .slideshow span.image-wrapper {
        margin: 0;
        right: 0;
        transform: none;
        width: auto;
    }

    .photospace .slideshow img {
        max-width: 100%;
    }

    .page-template-text article {
        padding-right: 0;
        width: 100%;
    }

    .page-template-jautajumi-atbildes article[class*='category-'] .entry-header,
    .category article[class*='category-'] .entry-header {
        padding-bottom: 0;
    }

    .page-template-jautajumi-atbildes article[class*='category-'] .category-post .post-thumbnail,
    .category article[class*='category-'] .category-post .post-thumbnail {
        max-height: 250px;
        width: 100%;
    }

    .page-template-jautajumi-atbildes article[class*='category-'] .category-post .entry-content,
    .category article[class*='category-'] .category-post .entry-content {
        margin: 0;
        min-height: 0;
        width: 100%;
    }

    .page-template-jautajumi-atbildes article[class*='category-'] .category-post .entry-content .link-more,
    .category article[class*='category-'] .category-post .entry-content .link-more {
        position: static;
    }

    .page-template-jautajumi-atbildes .site-main,
    .page-template-jautajumi-atbildes .category-sidebar,
    .category-buj .site-main, .category .category-sidebar {
        float: none;
        width: 100%;
    }

    .page-template-jautajumi-atbildes .category-sidebar,
    .page-template-jautajumi-atbildes .search-wrapper,
    .category .category-sidebar, .category-sidebar .search-wrapper {
        margin-top: 15px;
    }

    .post .thumbnail-container {
        width: 100%;
    }

    .post .post-thumbnail {
        height: 360px;
        width: 100%;
    }

    .post .image-wrapper {
        margin-top: 0;
        transform: translateX(-50%);
    }

    .post .post-content {
        display: block;
        padding-left: 0;
        width: 100%;
    }

    .ui-dialog.ui-widget {
        min-width: 100%;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media only screen and (max-width: 767px) {
    #shiftnav-main {
        width: 90%;
    }

    .twentyseventeen-front-page .front-image {
        max-height: 200px;
    }

    .front-content .wrap > .entry-content {
        float: none;
        width: 100%;
    }

    .front-content #secondary {
        float: none;
        width: 100%;
    }

    .entry-content .calendar-column {
        display: block;
        width: 100%;
    }

    .entry-content .events-column {
        display: block;
        padding: 0;
        width: 100%;
    }

    .entry-content .alm-listing {
        margin-left: -2%;
        margin-right: -2%;
    }

    .entry-content .alm-listing .record {
        margin-left: 2%;
        margin-right: 2%;
        width: 46%;
    }
}

@media (max-width: 575px) {
    .entry-content .alm-listing .record {
        width: 96%;
    }
}
