/*
 Theme Name:   Twenty Fourteen Child
 Theme URI:    http://example.com/twenty-fourteen-child/
 Description:  Twenty Fourteen Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     twentyfourteen
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/

/*
For older themes, and themes that do not use wp_enqueue_style() to enqueue their stylesheet, use the following line where twentyfourteen is the name of the directory where the theme resides:

@import url("../twentyfourteen/style.css");
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

@import url("../twentyfourteen/style.css");

/*custom font styles*/
@font-face {
    font-family: 'playfair_displayitalic';
    src: url('fonts/playfairdisplay/italic/playfairdisplay-italic-webfont.eot');
    src: url('fonts/playfairdisplay/italic/playfairdisplay-italic-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/playfairdisplay/italic/playfairdisplay-italic-webfont.woff') format('woff'),
        url('fonts/playfairdisplay/italic/playfairdisplay-italic-webfont.ttf') format('truetype'),
        url('fonts/playfairdisplay/italic/playfairdisplay-italic-webfont.svg#playfair_displayitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'playfair_displayregular';
    src: url('fonts/playfairdisplay/regular/playfairdisplay-regular-webfont.eot');
    src: url('fonts/playfairdisplay/regular/playfairdisplay-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/playfairdisplay/regular/playfairdisplay-regular-webfont.woff') format('woff'),
        url('fonts/playfairdisplay/regular/playfairdisplay-regular-webfont.ttf') format('truetype'),
        url('fonts/playfairdisplay/regular/playfairdisplay-regular-webfont.svg#playfair_displayregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'loraregular';
    src: url('fonts/lora/regular/lora-regular-webfont.eot');
    src: url('fonts/lora/regular/lora-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/lora/regular/lora-regular-webfont.woff') format('woff'),
        url('fonts/lora/regular/lora-regular-webfont.ttf') format('truetype'),
        url('fonts/lora/regular/lora-regular-webfont.svg#loraregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*end custom font styles*/

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}



::selection {
    background: #B39768;
    color: #fff;
    text-shadow: none;
}

::-moz-selection {
    background: #B39768;
    color: #fff;
    text-shadow: none;
}

body { 
    //-ms-overflow-style: none;
    font-family: 'Georgia', sans-serif;
    font-size: 16px;
    color: #545454;
}

body .container {
    max-width: 1200px;
}

.sticky-header .container, .mainHeader .container {
    padding: 0;
}

ul:after {
    content: "."; 
    visibility: hidden; 
    display: block; 
    height: 0; 
    clear: both;
}

a, .widget a {
    color: #a82f4e
}

a:hover, .widget a:hover {
    color: #a82f4e
}

#wpadminbar .quicklinks ul {
    float: left;
}

#wpadminbar #wp-admin-bar-top-secondary {
    float: right;
}

/*styles for the header*/

.mainHeader {
    background: url('images/header-repeat-bg.png') repeat-x;
    z-index: 10;
    position: absolute;
    width: 100%;
}

.mainHeader .container {
    z-index: 10;
    position: relative;
}

.mainHeader ul {
    padding: 0;
    margin: 0;
    display: inline-block;
}

.mainHeader .navbar {
    padding-right: 23px;
}

.mainHeader #site-navigation {
    text-align: center;
}

.sticky-header .container {
    z-index: 999;
    position: relative;
    height: 92px;
}

.sticky-header .navbar {
    top: 57px;
    min-height: 35px;
    max-width: 1155px;
}

.sticky-header .navbar ul {
    margin: 0;
}

.menu-toggle {
    display: none;
}

#head-back {
    background: url('images/header-bg.png') 50% 0 no-repeat;
    position: absolute;
    min-height: 185px;
    width: 100%;
    z-index: 5;
    left: 0;
}

.logoHolder {
    background: url('images/semi-circle-header-bg.png') no-repeat;
    width: 217px;
    height: 187px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
}

.responsiveHeader {
    position: absolute;
    z-index: 5;
    width: 100%;
}

.responsiveHeader #head-back {
    background: url('images/header-bg.png') 50.6% 0 no-repeat;
}

.responsiveHeader ul {
    padding: 0;
    margin: 0;
}

.sticky-header #head-back {
    background: url('images/header-bg-sticky.png') 54% 0 no-repeat;
    position: absolute;
    min-height: 137px;
    width: 100%;
    z-index: 5;
    left: 0; 
}

.responsiveHeader .centerMenu {
    display: none;
}

.sticky-header {
    text-align: center;
}

.sticky-header ul {
    display: inline-block;
}

.mainHeader .home-link, .sticky-header .home-link {
    display: block;
    margin: 0 auto 0 auto;
    max-width: 171px;
    padding: 0;
    position: relative;
    width: 80%;
    z-index: 3;
    min-height: 0;
}

.mainHeader .home-link {
    height: 100%;
    padding-top: 1px;
}

.sticky-header {
    background: url('images/sticky-bg-repeat.png') repeat-x;
}

.sticky-header .logoHolder {
    background: url('images/sticky-semi-circle-header-bg.png') no-repeat;
    width: 163px;
    height: 140px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
}

.sticky-header .home-link {
    max-width: 125px;
    height: 100%;
    padding-top: 3px;
}

.sticky-header .logoHolder {

}

.sticky-header .home-link img {
    width: 139px;
    height: 110px;
}

.mainHeader .home-link img, .sticky-header .home-link img {
    display: block;
    margin: 5px 3px auto auto;
    width: 95%;
}

.sticky-header .home-link img {
    margin: 5px 3px auto auto;
}

.navbar {
    background: none;
    margin: 0 auto;
    max-width: 1170px;
    position: absolute;
    top: 66px;
    width: 100%;
}

.main-navigation li {
    float: left;
    list-style-type: none;
    margin-right: 10px;
    margin-left: 10px;
}

/* menu change
.main-navigation li:nth-child(5), .main-navigation li:nth-child(6), .main-navigation li:nth-child(7), .main-navigation li:nth-child(8) {
    float: right;
    margin-right: 0;
    margin-left: 25px;
}
*/

.centerMenu {
    width: 185px;
    height: 22px;
}

.main-navigation li a {
    font-size: 15px;
    color: #aa9655;
    text-transform: uppercase;
    font-family: 'loraregular';
}

.main-navigation li a:hover {
    color: #a82f4e;
    text-decoration: none;
}

#lang {
    background: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0px;
    top: 14px;
    z-index: 3;
}

#lang .widget {
    margin-bottom: 0;
}

#lang li {
    float: left;
    margin-left: 10px;
    list-style-type: none;
}

#lang li a {
    font-size: 12px;
    color: #aa9655;
    text-transform: uppercase;
    font-weight: bold;
}

#lang li.current-lang a {
    color: #d7c381;
    text-decoration: none;
    padding: 7px 15px 7px 15px;
    background: rgba(112, 9, 21, 0.55);
}

#lang li.current-lang a:hover {
    color: #fff;
}

#lang li a:hover {
    color: #a82f4e;
    text-decoration: none;
}

.hidden-menu.pop-down-menu {
    position: fixed;
    top: 0px;
    z-index: 9;
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
    height: 105px;
}

.hidden-menu {
    position: fixed;
    top: -200px;
    width: 100%;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    font-size: 14px;
    z-index: 1;
}

body .dsplNone {
    display: none;
}

body .dsplBlock {
    display: block !important;
}

.prodani {
    background: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0px;
    top: 10px;
    z-index: 3;
}

.dlujnici-link {
    background: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 90px;
    top: 10px;
    z-index: 3;
}

.prodani a, .dlujnici-link a {
    color: #cdb875;
    text-transform: uppercase;
    display: block;
    background: rgba(112, 9, 21, 0.55);
    padding: 5px 15px 5px 15px;
    font-size: 12px;
    font-family: "Georgia", sans-serif;
    font-weight: bold;
}

.responsiveHeader .prodani {
    left: 15px;
}

.responsiveHeader .dlujnici-link {
    right: 15px;
}

.sticky-header .prodani a, .sticky-header .dlujnici-link a {
    font-size: 10px;
}

.sticky-header .navbar a {
    font-size: 14px;
}

.sticky-header #lang {
    top: 12px;
}

.sticky-header #lang li a {
    font-size: 10px;
    padding: 7px 15px 7px 15px;
}

.sticky-header .dlujnici-link {
    right: 115px;
}

.prodani a:hover, .dlujnici-link a:hover {
    text-decoration: none;
    color: #fff;
}

.rightMenuNav {
    position: fixed;
    z-index: 9;
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 215px;
}

.rightMenuNav li {
    list-style-type: none;
}

.rightMenuNav li a {
    width: 15px;
    height: 15px;
    background: none;
    border: 2px solid #a91a2e;
    left: 8px;
    margin-bottom: 15px;
    display: none;
    border-radius: 100%;
}

.rightMenuNav li a.mPS2id-highlight {
    background: #a91a2e;
}

.main-navigation li a.mPS2id-highlight {
    color: #a82f4e;
}

.responsiveHeader {
    display: none;
}

.responsiveHeader .container {
    background: none;
    position: relative;
    z-index: 10;
    margin: 0 0 -55px 0;
    width: 100%;
}

.responsiveHeader #site-navigation {
    top: 65%;
    left: 0;
    position: absolute;
    width: 100%;
    background: #fff;
    padding-top: 71px;
    display: none;
}

.responsiveHeader #site-navigation li {
    float: none;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}

.responsiveHeader #site-navigation li a { 
    display: block;
    padding: 10px 30px 10px 30px;
    border-bottom: 1px solid #aa9655;
}

.responsiveHeader #site-navigation li a.mPS2id-highlight {
    background: #aa9655;
    color: #fff;
}

.responsiveHeader #site-navigation li a:hover {
    background: #aa9655;
    color: #fff; 
}

.responsiveHeader .home-link {
    display: block;
    margin: 0 auto 0 auto;
    max-width: 149px;
    padding: 0;
    position: relative;
    width: 80%;
    z-index: 3;
    min-height: 0;
}

.responsiveHeader .home-link img {
    display: block;
    margin: 34px 4px auto auto;
    width: 91%;
    height: 130px;
}

.responsiveHeader #lang {
    background: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 5px;
    top: 57px;
    z-index: 3;
}

.responsiveHeader #lang a {
    font-size: 25px;
}

.responsiveHeader #lang li.current-lang a {
    display: none;
}

body .closeRsp {
    position: relative;
    right: 0;
    top: 0px;
    z-index: 10;
}

.openCloseRespMenu {
    position: absolute;
    top: 57px;
    left: 18px;
    font-size: 35px;
    line-height: 35px;
    color: #aa9655;
}

.openCloseRespMenu:active, .openCloseRespMenu:focus {
    color: #aa9655;
}

.openedMenu:active, .openedMenu:focus {
    color: #fff;
}

.openCloseRespMenu:hover {
    color: #aa9655;
    zoom: 1;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.openedMenu {
    background: #aa9655;
    color: #fff;
    padding-left: 4px;
    padding-right: 4px;
}

.openedMenu:hover {
    color: #fff;
}

/*end styles for the header*/

/*styles for the main content*/

#vziskateli .goldTitleSep, #dlujnici .goldTitleSep, #rabotodateli .goldTitleSep, #zakantorata .goldTitleSep, #aktove .goldTitleSep,
#vziskateli .redTitleSep, #dlujnici .redTitleSep, #rabotodateli .redTitleSep, #zakantorata .redTitleSep, #aktove .redTitleSep {
    margin-bottom: 75px;
}

.onePageHolder {
    position: relative;
    padding-bottom: 105px;
    overflow: hidden;
}

.introWebsite {
    font-family: 'playfair_displayitalic';
    font-weight: 300;
    text-align: center;
    margin-top: 240px;
    margin-bottom: 50px;
    color: #f4e4ca;
}

.introWebsite img {
    margin-bottom: 20px;
    max-width: 100%;
}

.introWebsite p {
    font-size: 33px;
    line-height: 35px;
    color: #44413d;
}

.animateView > div {
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    -moz-transition: -moz-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    opacity: 0;
    -webkit-transform: translateX(-80px);
    -moz-transform: translateX(-80px);
    transform: translateX(-80px);
}

.introWebsite p span {
    font-size: 23px;
}

.hidden {
    opacity: 0;
}

.visible {
    opacity: 1;
}

.newListLast {
    width: 100%;
    background: rgba(56, 55, 52, 0.9);
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.newLabel {
    background: #33302d;
    color: #c7b8a0;
    font-family: 'playfair_displayregular';
    font-size: 31px;
    line-height: 80px;
    text-align: center;
    text-transform: uppercase;
}

.newsTitle {
    padding-top: 22px;
    padding-left: 25px;
    overflow: hidden;
}

.postNewsSlider {
    width: 9999px;
}

.postNewsSlider li {
    float: left;
}

.newsTitle, .newsTitle a {
    font-family: 'playfair_displayregular';
    font-size: 24px;
    color: #c7b8a0;
}

.newsTitle li {
    list-style-type: none;
}

.goldTitleSep {
    background: url('images/title-separator-gold.png') no-repeat;
    background-size: 100%;
    width: 100%;
    height: 40px;
    margin-bottom: 30px;
}

.goldTitle {
    text-align: center;
    font-family: 'playfair_displayregular';
    color: #b39767;
    font-size: 68px;
    text-transform: uppercase;
    font-weight: normal;
    margin-top: 75px;
    text-shadow: 1px 0px 5px #161616;
}

.pageContent .redContentTitle {
    color: #98012e;
    font-size: 36px;
    font-family: 'playfair_displayregular';
    font-weight: normal;
}

.redTitleSep {
    background: url('images/title-separator-red.png') no-repeat;
    background-size: 100%;
    width: 100%;
    height: 31px;
    margin-bottom: 30px;
}

.redTitle {
    text-align: center;
    font-family: 'playfair_displayregular';
    color: #98012e;
    font-size: 68px;
    text-transform: uppercase;
    font-weight: normal;
    margin-top: 80px;
}

.nicescroll-rails {
    visibility: hidden;
}

.squareElements {
    position: relative;
    width: 1130px;
    float: left;
}

.contentPages {
    float: left;
    width: 1130px;
    margin-top: 10px;
    position: relative;
}

.pageContent .content {    
    height: 565px;
}

.contentPages .content {
    height: 795px;
}

#zakantorata .content {
    height: 620px;
}

#contact .mCustomScrollBox {
    height: auto;
}

.contentSlider {
    overflow: hidden;
}

.contentSliderInner {
    width: 9999px;
}

.pageContent, .pageContentMain {
    display: none;
    width: 100%;
}

.pageContent {
    margin-top: 80px;
}

.pageContent .content, .pageContentMain .content {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #c7a871;
    padding: 60px 60px 60px 60px;
    font-size: 17px;
    font-family: "Georgia", sanserif;
}

.pageContent h3, .pageContentMain h3 {
    text-align: center;
    font-family: 'playfair_displayregular';
    font-size: 30px;
    color: #b39767;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
}

.pageContent h3 {
    margin-bottom: 20px;
}

.squareElements .box {
    height: 315px;
    width: 315px;
    overflow: hidden;
    position: absolute;
    background-color: #a18455;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border: 3px solid #863138;
}

.squareElements img {
    zoom: 1;
    filter: alpha(opacity=57);
    opacity: 0.57;
}

.squareElements .box > div {
    height: 445px;
    width: 445px;
    margin: -70px 0 0 -70px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.mask {
    background: rgba(118, 30, 37, 0.65);
    height: 445px;
    width: 445px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

.squareElements .box-1 {
    top: 100px;
    left: 177px;
}

.squareElements .box-1 > div {
    background: url('images/romb-image-2.jpg') no-repeat;
}

#aktove .squareElements .box-1 > div {
    background: url('images/romb-image-5.jpg') no-repeat;
    background-position: -70px;
}

div.wpcf7-mail-sent-ok {
    margin-top: -35px;
}

.squareElements .box-2 {
    top: 100px;
    left: 647px;
}

.squareElements .box-2 > div {
    background: url('images/romb-image-3.jpg') no-repeat;
    background-position: -115px -5px;
}

#aktove .squareElements .box-2 > div {
    background: url('images/romb-image-4.jpg') no-repeat;
    background-position: -175px -135px;
}

.squareElements .box-3 {
    top: 333px;
    left: 412px;
}

.squareElements .box-3 > div {
    background: url('images/romb-image-1.jpg') no-repeat;
}

.squareElements a {
    display: block;
    position: relative;
    height: 100%;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.squareElements .title {
    font-size: 20px;
    color: #ccb274;
    text-transform: uppercase;
    font-family: "Georgia", sans-serif;
    display: table;
    width: 430px;
    height: 429px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#rabotodateli .squareElements .title {
    color: #a91a2e;
}

#rabotodateli .squareElements .title:hover {
    color: #a28556;
}

.squareElements .titleInner {
    font-family: "Georgia", sans-serif;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 50px;
    transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
}

.squareElements .box:hover .mask {
    zoom: 1;
    filter: alpha(opacity=0);
    opacity: 0;
}

.squareElements .box:hover .title {
    color: #fff;
    text-shadow: 2px 0 1px #000;
    transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
}

.squareElements .box:hover a, .squareElements .box:active a, .squareElements .box:focus a {
    text-decoration: none;
}

.seeMoreBtn {
    display: none;
    font-style: italic;
    font-size: 20px;
}

.squareElements .box:hover .seeMoreBtn {
    display: inline-block;
    text-transform: none;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

.perde {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background: #fff;
}

.perde img {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.closeContent {
    text-align: right;
    width: 100%;
    margin-bottom: 10px;
    position: absolute;
    top: 7px;
    right: 5px;
    z-index: 10;
}

.closeContent a {
    display: inline-block;
    //background: rgba(255, 255, 255, 0.85);
    padding: 10px;
}

.fadeIn > div {
    zoom: 1;
    filter: alpha(opacity=100);
    opacity: 1;
}

.buttonLine {
    width: 100%;
    background: rgba(112, 9, 21, 0.65);
    margin-bottom: 60px;
}

.buttonLine:last-child {
    margin-bottom: 0;
}

.buttonLine a {
    color: #ccb274;
    display: block;
    text-align: center;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 28px;
    text-transform: uppercase;
}

.buttonLine a:hover {
    text-decoration: none;
    color: #fff;
    text-shadow: 1px 0px 3px #010101;
}

.iconPageTitle {
    background: url('images/icon-text1.png') no-repeat;
    width: 121px;
    height: 118px;
    display: inline-block;
}

.jobsPages {
    text-align: center;
    height: 280px;
}

.jobsPages .title {
    width: 100%;
    font-weight: normal;
    font-size: 22px;
    position: static;
    margin-top: 25px;
}

.jobsPages .title:hover {
    text-decoration: none;
    zoom: 1;
    filter: alpha(opacity=80);
    opacity: 0.8;
}

.jobsPages:hover .title {
    color: #a28556; 
}

.jobsPages:hover .iconPageTitle {
    background: url('images/icon-text1-hover.png') no-repeat;
}

#zakantorata .contentPages {
    margin-top: 0;
}

#zakantorata .pageContentMain, #ekip .squareElements .pageContent, #contact .squareElements .pageContent {
    display: block;
}

#ekip .pageContent {
    margin-top: 80px;
}

#ekip .pageContent .content {
    height: 715px;
}

body .content .redContentTitle {
    font-family: 'playfair_displayregular';
    font-size: 36px;
    color: #98012e;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: center;
}

.carousel.slide {
    margin-top: 40px;
}

.carousel-inner {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    min-height: 230px;
}

.carousel-control {
    width: 27px;
    height: 48px;
    top: 115px;
}

.carousel-control.left, .carousel-control.right {
    background: none;
}

.carousel-control.left {
    background: url('images/slider-arrow-left.png') no-repeat;
}

.carousel-control.right {
    background: url('images/slider-arrow-right.png') no-repeat;
}

.glyphicon-chevron-left:before, .glyphicon-chevron-right:before {
    content: none;
}

.carousel h3 {
    font-size: 29px;
    font-family: 'playfair_displayregular';
    color: #98012e;
    font-weight: normal;
    margin-bottom: 30px;
    text-transform: uppercase;
}

#ekip .redTitleSep {
    margin-top: 30px;
    margin-bottom: 50px;
}

#ekip {
    padding-top: 20px;
}

.iban {
    font-family: "Times New Roman";
}

.teamContainer {
    text-align: center;
    margin-bottom: 10px;
}

body .mainWrapper .mainContent {
    padding-top: 111px;
    position: relative;
    z-index: 1;
}

body .mainWrapper .mainContent #contact .squareElements .learnMoreTeam {
    background: rgba(122, 8, 16, 0.69);
    text-transform: uppercase;
    font-size: 18px;
    font-family: 'playfair_displayregular';
    padding: 15px 25px 15px 25px;
    color: #ccb274;
    display: inline-block;
    -moz-box-shadow:    1px 3px 3px 0px #640c26;
    -webkit-box-shadow: 1px 3px 3px 0px #640c26;
    box-shadow:         1px 3px 3px 0px #640c26;
    font-weight: normal;
}

body .mainWrapper .mainContent #contact .learnMoreTeam:hover {
    text-decoration: none;
    color: #ccb274;
    zoom: 1;
    filter: alpha(opacity=80);
    opacity: 0.8;
    background: rgba(122, 8, 16, 0.69);
}

body .mainWrapper .mainContent .squareElements .learnMoreTeam {
    background: #d8af6a;
    text-transform: uppercase;
    font-size: 18px;
    font-family: 'playfair_displayregular';
    padding: 15px 25px 15px 25px;
    color: #786545;
    display: inline-block;
    -moz-box-shadow:    1px 3px 3px 0px #4e3716;
    -webkit-box-shadow: 1px 3px 3px 0px #4e3716;
    box-shadow:         1px 3px 3px 0px #4e3716;
    font-weight: normal;
}

body .mainWrapper .mainContent .learnMoreTeam:hover {
    text-decoration: none;
    color: #786545;
    zoom: 1;
    filter: alpha(opacity=80);
    opacity: 0.8;
    background: #d8af6a;
}

.wpcf7 input {
    width: 100%;
    margin-bottom: 22px;
    background: none;
    border: 2px solid #D6D2CE;
    height: 53px;
    padding-left: 10px;
    padding-right: 10px;
}

.wpcf7 input:focus {
    border: 2px solid #D6D2CE;
}

.wpcf7 textarea {
    width: 100%;
    max-width: 100%;
    height: 185px;
    margin-bottom: 22px;
    background: none;
    border: 2px solid #D6D2CE;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}

.wpcf7 textarea:focus {
    border: 2px solid #D6D2CE;
}

.captchaCont > span {
    display: inline-block;
    width: 84.5%;
    margin-right: 0.95%;
}

.captchaCont img {
    height: 48px;
}

.fileCont input {
    height: auto;
    border: none;
    padding-left: 0;
}

.wpcf7 input.wpcf7-submit {
    border: none;
    border-radius: 0;
}

.panel {
    background: none;
    border: none;
    border-radius: 0px;
    -webkit-box-shadow: none; 
    box-shadow: none; 
}

.widget input, .widget textarea {
    color: #000;
}

.wpcf7-form-control-wrap .wpcf7-file:focus {
    outline: none;
    border: none;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color:    #9f9f9f;
    font-family: 'Georgia', sans-serif;
    font-style: italic;
    font-size: 16px;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #9f9f9f;
    opacity:  1;
    font-family: 'Georgia', sans-serif;
    font-style: italic;
    font-size: 16px;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #9f9f9f;
    opacity:  1;
    font-family: 'Georgia', sans-serif;
    font-style: italic;
    font-size: 16px;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #9f9f9f;
    font-family: 'Georgia', sans-serif;
    font-style: italic;
    font-size: 16px;
}

#map {
    height: 460px;
}

#map table {
    margin-bottom: 0;
    background: none;
    border: none;
    max-width: 350px;
    text-align: left;
}

#map table td {
    text-align: left;
    border: none;
    background: none;
    color: #000;
    vertical-align: middle;
}

#contact h4 {
    color: #98012e;
    font-size: 25px;
    font-family: 'playfair_displayregular';
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 37px;
}

.icon {
    background: url('images/sprites.png') no-repeat;
}

.icon-clock {
    display: inline-block;
    background-position: -210px 0;
    width: 61px;
    height: 62px;
}

.icon-envelope {
    display: inline-block;
    background-position: -139px 0;
    width: 61px;
    height: 62px;
}

.icon-phone {
    display: inline-block;
    background-position: -69px 0;
    width: 61px;
    height: 62px;
}

.icon-pin {
    display: inline-block;
    background-position: 0 0;
    width: 61px;
    height: 62px;
}

.contactInfo > div {
    position: relative;
    padding-left: 75px;
    padding-top: 15px;
    margin-bottom: 20px;
    min-height: 65px;
    color: #545454;
    font-size: 16px;
    font-family: 'Georgia', sans-serif;
}

.contactInfo > div p {
    color: #545454;
    font-size: 16px;
}

.contactInfo i {
    position: absolute;
    top: 0;
    left: 0;
}

.contactInfo a {
    display: inline-block;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    width: 15px;
    border-radius: 0;
    background: #dcb677;
}

.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
    background: #dcb677;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar:hover {
    background: #dcb677;
}

.mCSB_scrollTools .mCSB_draggerRail {
    background: #f5ede2;
    width: 15px;
    border-radius: 0;
}

#novini .squareElements .pageContent {
    display: block;
}

#novini .pageContent .content {
    height: 700px;
}

#novini .newsCont .content {
    height: 820px;
}

.news {
    border-bottom: 1px solid #dedede;
    min-height: 137px;
    overflow: hidden;
}

.news h3, .news h3 a, .innerPostContent h3, .innerPostContent h3 a {
    text-align: left;
    font-family: 'playfair_displayregular';
    font-size: 25px;
    color: #a10126;
    font-weight: normal;
}

.news h3 a:hover {
    text-decoration: none;
    color: #aa9655;
}

.innerPostContent h3 {
    margin-bottom: 20px;
}

.news img {
    zoom: 1;
    filter: alpha(opacity=100);
    opacity: 1;
}

.date {
    font-family: 'playfair_displayregular';
    font-size: 18px;
    color: #7f7f7f;
}

.clear {
    clear: both;
}

.titlePost, .lessContent {
    padding-top: 10px;
}

.lessContent p {
    margin-bottom: 0;
}

.sepNews {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 45px;
    margin-right: 45px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background: rgba(213, 180, 126, 0.9);
}

.panel-grid, .panel-grid p {
    font-size: 16px;
    font-family: 'Georgia', sans-serif;
    color: #545454;
}

.panel-grid-cell h5 {
    line-height: 45px;
    margin-bottom: 0;
}

.panel-grid-cell h5, .panel-grid-cell h5 span {
    font-family: 'playfair_displayregular';
    font-size: 36px;
    color: #98012e !important;
    font-weight: normal;
    margin-bottom: 15px;    
    text-align: center;
}

.panel-row-style-header-image {
    background: url('images/invitation-bg.png') no-repeat;
    background-size: 100%;
    min-height: 160px;
    padding-top: 85px;
}

.panel-row-style-header-image p {
    max-width: 390px;
}

.panel-grid img {
    margin-top: 0;
    margin-bottom: 0;
}

.panel-row-style-intro-header:first-child {
    text-align: right;
}

.panel-row-style-intro-header img {
    width: 60px;
    height: 60px;
}

.panel-row-style-intro-header p {
    font-size: 21px;
    margin-bottom: 0;
}

.panel-row-style-bordered-sections > div.panel-grid-cell {
    border: 3px solid #C7C7C7;
    height: 139px;
    width: 47% !important;
    padding: 25px !important;
}

.panel-grid-cell h3 {
    text-align: left;
    color: #545454;
}

.panel-row-style-bordered-sections > div.panel-grid-cell:first-child {
    margin-left: 16px;
    margin-right: 10px;
    display: table;
}

.panel-row-style-bordered-sections > div.panel-grid-cell:first-child > div {
    display: table-cell;
    vertical-align: middle;
}

.panel-row-style-bordered-sections > div.panel-grid-cell:first-child p {
    margin-bottom: 0;
}

.panel-row-style-bordered-sections > div.panel-grid-cell:last-child {
    margin-right: 16px;
}

body .popoverBtn {
    background: none;
    color: #9d0832;
    font-size: 17px;
    padding: 0;
    text-decoration: underline;
    line-height: 14px;
}

.popover {
    max-width: 661px;
}

.snvdshc .ui-accordion .ui-accordion-header {
    border: none;
    color: #ccb274;
    display: block;
    text-align: center;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
    background: rgba(112, 9, 21, 0.65);
    text-align: left;
    border-radius: 0;
    border: 1px solid #b39767;
    margin-top: 3px;
}

.snvdshc .ui-accordion .ui-accordion-header a, .snvdshc .ui-accordion .ui-accordion-header span,
.snvdshc .ui-state-default a, .snvdshc .ui-state-default a:link, .snvdshc .ui-state-default a:visited {
    color: #ccb274 !important;
}

.snvdshc .ui-accordion .ui-accordion-content {
    border-radius: 0;
    padding-bottom: 10px !important;
    border: 1px solid #b39767;
    color: #545454;
    font-size: 16px;
    text-align: justify;
}

.snvdshc .ui-state-active .ui-icon {
    background-image: url('images/ui-icons_454545_256x240.png') !important;
    background-position: -31px 4px;
}

.snvdshc .ui-state-hover a, .snvdshc .ui-state-hover:hover a {
    color: #fff !important;
}

#vziskateli .pageContent > h3, #rabotodateli .pageContent > h3, #novini .pageContent > h3, #ekip .pageContent > h3 {
    color: #98012e;
}

.wpcf7 .wpcf7-not-valid {
    border: 1px solid #98012e;
}

.wpcf7 span.wpcf7-not-valid-tip {
    color: #98012e;
    position: absolute;
    top: 38px;
}

div.wpcf7-validation-errors {
    color: #98012e;
    border: none;
    background: rgba(255, 255, 255, 0.8);
}

div.wpcf7-mail-sent-ok {
    color: #aa9655;
    border: 1px solid #aa9655;
}

.wpcf7-form-control-wrap.message span.wpcf7-not-valid-tip {
    color: #98012e;
    position: absolute;
    top: 187px;
}

.captchaCont span.wpcf7-not-valid-tip {
    top: 53px;
}

div.wpcf7-validation-errors {
    margin-top: -40px;
}

.popover-content {
    padding: 20px;
}

.popupContentPages {
    position: fixed;
    left: 100%;
    top: 0;
    height: 100%;
    background: #fff;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    right: 0;
    z-index: 10;
    width: 100% !important;
}

.popupContentPages .pageContent {
    padding-top: 25px;
    margin-top: 0 !important;
    height: 100%;
    -webkit-text-size-adjust: none !important;
}

.popupContentPages .pageContent > h3 {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 8%;
    padding-right: 8%;
    padding-bottom: 25px;
}

body .popupContentPages .closeRsp {
    position: absolute;
    right: 0;
    top: -66px;
    z-index: 10;
    width: 110px;
    padding-right: 2.5%;
}

#novini .popupContentPages .closeRsp {
    position: static;
    width: 100%;
    text-align: right;
    padding-right: 2.5%;
}

#novini .popupContentPages .pageContent {
    padding-top: 30px;
}

.popupContentPages .outer-content {
    height: 90%;
}

.popupContentPages.contentPages .content {
    height: 100% !important;
    overflow: auto;
    position:relative;
}


.panel-row-style-our-team .panel-grid-cell:last-child {
    background: rgba(234, 232, 233, 0.8);
    color: #868485;
    padding: 17px 50px 0px 80px;
    min-height: 151px;
    position: relative;
}

.panel-row-style-our-team .panel-grid-cell:last-child i {
    position: absolute;
    top: 19px;
    left: 20px;
    font-size: 45px;
}

.panel-row-style-our-team .panel-grid-cell:last-child h3 {
    font-size: 17px;
}

.panel-row-style-our-team .panel-grid-cell:last-child h3, .panel-row-style-our-team .panel-grid-cell:last-child p {
    color: #868485;
}

.panel-row-style-list-team {
    text-align: center;
}

#vziskateli .squareElements {
    min-height: 1020px;
}

#aktove .squareElements {
    min-height: 800px;
}

#contact .pageContent .content {
    min-height: 900px;
}

table tr td {
    padding: 10px;
    color: #aa9655;
}

table.tablepress thead tr th {
    vertical-align: middle;
    text-align: center;
    background: #aa9655;
    color: #fff;
    border-right: 1px solid #fff;
}

.elementInSquare {
    position: relative;
}

.newInnerContent img {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.newInnerContent h3 {
    text-align: left;
    font-family: 'playfair_displayregular';
    font-size: 25px;
    color: #a10126;
    font-weight: normal;
    margin-bottom: 20px;
}

.newInnerContent h3 {
    display: inline;
}

.newInnerContent p {
    margin-top: 15px;
    margin-bottom: 15px;
}

.panel-row-style-zakon .panel.widget {
    background: url('images/zakoni-icon1.png') no-repeat 8px 11px;
    padding-left: 38px;
}

.panel-row-style-podzakonovi_normi .panel.widget {
    background: url('images/zakoni-icon2.png') no-repeat 8px 11px;
    padding-left: 38px;
}

.panel-row-style-obshtnostni_aktove .panel.widget {
    background: url('images/zakoni-icon3.png') no-repeat 8px 11px;
    padding-left: 38px;
}

.panel-grid-cell .widget {
    font-size: 16px;
}

.panel-row-style-zakon .panel.widget p, .panel-row-style-podzakonovi_normi .panel.widget p, .panel-row-style-obshtnostni_aktove .panel.widget p {
    margin-bottom: 0;
}

.panel-row-style-zakon .panel.widget, .panel-row-style-podzakonovi_normi .panel.widget, .panel-row-style-obshtnostni_aktove .panel.widget {
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #AA9691;;
}

.bigLogoHolder {
    display: inline-block;    
    position: relative;
}

.logoShadow {
    position: absolute;
    top: 0;
    left: 0;
}

.snvdshc .ui-state-default .ui-icon {
    background-image: url('images/faq-arrows.png') !important;
    background-position: -12px -17px;
    width: 30px;
    height: 30px;
}

.snvdshc .ui-state-active .ui-icon {
    background-image: url('images/faq-arrows.png') !important;
    background-position: -112px -17px;
}

.snvdshc .ui-state-default:hover .ui-icon {
    background-position: -63px -18px;
}

.snvdshc .ui-state-active:hover .ui-icon {
    background-position: -163px -17px;
}

body .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
    top: 24px;
}

.outer-content {
    position: relative;
}

#textCont-54 .panel-grid {
    margin-bottom: 5px;
}

#pgc-54-2-0 p {
    margin-bottom: 0;
}

.popover-title {
    min-height: 40px;
    text-align: right;
    background: none;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
}

.closeBtnPopover {
    font-size: 20px;
}

.panel-row-style-grey_bg {
    background: rgba(234, 232, 233, 0.8);
    color: #868485;
    padding: 15px 15px 0px 15px;
    position: relative;
}

.widget hr {
    background-color: rgba(0, 0, 0, 0.1);
    border: 0;
    height: 1px;
    margin-bottom: 23px;
}

.widget p, p {
    margin-bottom: 5px;
    font-size: 17px;
}

.widget ul, .widget ol {
    margin-bottom: 10px;
    margin-left: 19px;
    list-style: initial;
}

.panel-row-style-clear-margin {
    margin-bottom: -40px;
    margin-top: 70px;
}

.middleFooterLeft ul li, .middleFooterRight ul li {
    list-style-type: none;
}

/*
body .panel-grid {
    margin-bottom: 5px !important;
}
*/

.mobileWrapper .sticky-header, .mobileWrapper .rightMenuNav {
    display: none;
}

.dsplBlock {
    display: block;
}

.openedPopup #backToTop, .openedPopup .responsiveHeader {
    display: none !important;
}

.mobileWrapper .panel-grid, .mobileWrapper .panel-grid-cell .panel, .mobileWrapper .widget p, .mobileWrapper p, 
.mobileWrapper .widget span, .mobileWrapper .snvdshc .ui-accordion .ui-accordion-content, 
.mobileWrapper .snvdshc .ui-accordion .ui-accordion-header, .carousel-inner, .carousel-inner ul {
    font-size: 14px !important;
}

.mobileWrapper .snvdshc .ui-accordion .ui-accordion-header {
    padding-left: 40px;
}

.mobileWrapper .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
    padding-top: 18px;
}

.mobileWrapper .buttonLine {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

html .mobileWrapper * {
    max-height:1000000px;
}

/*end styles for the main content*/

/*styles for the footer*/

.topFooter {
    background: #d7af6a;
    padding-top: 40px;
    padding-bottom: 40px;
}

.topFooter h3 {
    color: #98012e;
    font-size: 17px;
    font-family: 'Georgia', sans-serif;
    margin-top: 0;
    text-transform: uppercase;
    font-weight: normal;
}

.topFooter ul {
    padding: 0;
    margin: 0;
}

.topFooter ul li {
    list-style-type: none;
}

.topFooter ul li a {
    font-size: 15px;
    color: #22160c;
}

.topFooter ul li a:hover {
    text-decoration: none;
    color: #9d0e39;
}

.middleFooter {
    padding-top: 10px;
    padding-bottom: 0px;
    background: #23160d;
}

.middleFooter .widget {
    margin-bottom: 0;
}

.middleFooter ul li {
    float: left;
    border: none;
}

.middleFooter ul li a {
    margin-right: 15px;
    font-size: 15px;
    color: #aa9655;
    text-transform: uppercase;
}

.middleFooter ul li a:hover {
    color: #a82f4e;
    text-decoration: none;
}

.bottomFooter {
    background: #9d0e39;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
}

.bottomFooter a {
    color: #fff;
}

.bottomFooter p, .bottomFooter .widget {
    margin-bottom: 0;
}

.bottomFooter .widget a:hover {
    color: #fff;
    text-decoration: underline;
}

.middleFooterRight {
    text-align: right;
}

.middleFooterRight .widget {
    line-height: 0;
}

.middleFooterRight ul {
    margin-top: 3px;
}

.middleFooterRight ul li {
    position: relative;
    float: left;
    margin-left: 10px;
    height: 35px;
    width: 35px;
}

.middleFooterRight ul li div {
    height: 28px;
    width: 28px;
    overflow: hidden;
    position: absolute;
    background: #d4b574;
    text-align: center;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    line-height: 31px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.middleFooterRight ul li div:hover {
    background: #9e0b38;
}

.middleFooterRight ul li div:hover a {
    color: #d2b071;
}

.middleFooterRight ul li div a {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    display: block;
    text-align: center;
    margin: 0;
    color: #23160D;
    width: 40px;
    height: 40px;
    margin: -9px 0px 0px -4px;
    padding-top: 8px;
    font-size: 18px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.middleFooterRight nav {
    display: inline-block;
    line-height: 0;
}

#backToTop {
    color: #fff;
    position: fixed;
    right: 6px;
    bottom: 5px;
    font-size: 50px;
    background: #aa9655;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 33px;
    display: none;
    z-index: 3;
}

#backToTop i {
    padding: 0;
}

/*end styles for the footer*/

/*media queries*/
@media (max-width: 1200px) {
    .captchaCont > span {
        width: 81%;
    }
}

@media (max-width: 1199px) {
    .squareElements .box-1 {
        left: 70px;
    }

    .squareElements .box-2 {
        left: 550px;
    }

    .squareElements .box-3 {
        top: 334px;
        left: 308px;
    }

    .sticky-header {
        display: none;
    }

    .mainHeader ul li {
        margin-left: 5px;
        margin-right: 5px;
    }

    .mainHeader ul li a {
        font-size: 12px;
    }

    .contentPages .content, .pageContent .content, #novini .pageContent .content {
        height: auto;
    }

    #ekip .pageContent .content, #zakantorata .content {
        height: auto;
    }


}

@media (max-width: 1015px) { 
    .mainHeader {
        display: none;
    }

    .responsiveHeader {
        display: block;
    }
}

/*
@media (min-width: 991px) {
    #home {
        background: #45382F url('images/home-bg2.jpg') no-repeat;
        background-size: cover;
        border-bottom: 2px solid #d4b074;
    }

    #vziskateli {
        background: #45382F url('images/big-bg2.jpg') no-repeat;
        background-size: cover;
        border-bottom: 2px solid #d4b074;
    }

    #dlujnici {
        background: #45382F url('images/big-bg3.jpg') no-repeat;
        background-size: cover;
        border-bottom: 2px solid #d4b074;
    }

    #rabotodateli {
        background: #45382F url('images/big-bg4.jpg') no-repeat;
        background-size: cover;
        border-bottom: 2px solid #d4b074;
    }

    #zakantorata {
        background: #45382F url('images/big-bg5.jpg') no-repeat;
        background-size: cover;
        border-bottom: 2px solid #d4b074;
    }

    #ekip {
        background: #45382F url('images/big-bg9.jpg') no-repeat;
        background-size: cover;
        border-bottom: 2px solid #d4b074;
    }

    #aktove {
        background: #45382F url('images/big-bg6.jpg') no-repeat;
        background-size: cover;
        border-bottom: 2px solid #d4b074;
    }

    #novini {
        background: #45382F url('images/big-bg7.jpg') no-repeat;
        background-size: cover;
        border-bottom: 2px solid #d4b074;
    }

    #contact {
        background: #45382F url('images/big-bg8.jpg') no-repeat;
        background-size: cover;
        border-bottom: 2px solid #d4b074;
    }

    .jobsPages:nth-child(3), .jobsPages:nth-child(4) {
        height: auto;
    }

    .jobsPages:nth-child(3) h3 a, .jobsPages:nth-child(4) h3 a {
        height: auto;
    }
}
*/

@media (max-width: 990px) {

    #home {
        background: #45382F url('images/home-bg2.jpg') no-repeat;
        background-size: cover;
        border-bottom: 2px solid #d4b074;
    }

    #vziskateli {
        background: #FDFDFB;
        border-bottom: 2px solid #d4b074;
    }

    #dlujnici {
        background: #3B302A;
        border-bottom: 2px solid #d4b074;
    }

    #rabotodateli {
        background: #FDFDFB;
        border-bottom: 2px solid #d4b074;
    }

    #zakantorata {
        background: #3B302A;
        border-bottom: 2px solid #d4b074;
    }

    #ekip {
        background: #FDFDFB;
        border-bottom: 2px solid #d4b074;
    }

    #aktove {
        background: #3B302A;
        border-bottom: 2px solid #d4b074;
    }

    #novini {
        background: #FDFDFB;
        border-bottom: 2px solid #d4b074;
    }

    #contact {
        background: #3B302A;
        border-bottom: 2px solid #d4b074;
    }

}

@media (max-width: 991px) {
    .topFooter .row > div {
        margin-bottom: 30px;
    }

    #aktove .squareElements, #vziskateli .squareElements {
        text-align: center;
    }

    .squareElements .title, .squareElements .titleInner {
        position: relative;
        z-index: 7;
    }

    .squareElements .titleInner {
        padding: 20px;
    }

    .squareElements .title, .squareElements .titleInner, .squareElements .box, .squareElements .box > div {
        height: auto;       
    }

    .squareElements .titleInner {
        padding: 40px 10px 40px 10px;
    }

    .squareElements .box {
        display: inline-block;
        position: static;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        width: auto;
    }

    .squareElements .box > div {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        margin: 0;
    }

    .mask {
        width: 100%;
    }

    .pageContent .content, .pageContentMain .content {
        padding: 20px;
    }

    body .panel-row-style-bordered-sections .panel-grid-cell {
        width: 94% !important;
        margin-left: 0 !important;
        margin-right: 0;
    }

    panel-row-style-intro-header .panel-grid-cell:frist-child {
        text-align: center;
    }

    .rightMenuNav {
        display: none;
    }

    .newListLast {
        height: auto;
    }

    .newsTitle {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .middleFooterLeft, .middleFooterRight {
        text-align: center;
    }

    .middleFooterLeft ul {
        display: inline-block;
    }

    .news {
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    #aktove .squareElements, #vziskateli .squareElements {
        min-height: 0;
    }

    #contact .panel-grid-cell {
        width: 100%;
    }

    .content  .panel-row-style-bordered-sections .panel-grid-cell {
        margin-left: 20px !important;
    }

    .panel-row-style-our-team .widget_sow-image {
        text-align: center;
    }

    .jobsPages:nth-child(4) {
        height: auto;
    }

    .jobsPages:nth-child(4) h3 a {
        height: auto;
    }


}

@media (max-width: 820px) {

    .newInnerContent h3 {
        display: block;
        margin-bottom: 10px;
    }

    .newInnerContent p {
        margin-top: 0px;
        margin-bottom: 25px;
    }

    .panel-row-style-intro-header .panel-grid-cell {
        text-align: left;
        margin-bottom: 5px !important;
    }
}


@media (max-width: 787px) {

    .introWebsite {
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .goldTitle, .redTitle {
        margin-top: 70px;
    }

    .squareElements .title {
        font-size: 20px;
    }

    .panel-row-style-our-team .panel-grid-cell:last-child {
        padding: 30px !important;
    }

    .panel-row-style-our-team .panel-grid-cell:last-child i {
        display: none;
    }

    body .content .redContentTitle, #contact h4 {
        margin-top: 10px;
    }

    .panel-row-style-intro-header .panel-grid-cell, .panel-row-style-intro-header .panel-grid-cell p {
        text-align: center !important;
    }

}

@media (max-width: 767px) {
    .news h3 {
        margin-top: 15px;
    }

    #home {
        padding-bottom: 205px;
    }
}

@media (max-width: 679px) {
    .captchaCont > span {
        width: 62.3%;
    }

    .popover {
        max-width: 400px;
    }

    .carousel.slide {
        margin-top: 20px;
    }
}

@media (max-width: 550px) {
    .responsiveHeader .home-link {
        max-width: 130px;
    }

    .responsiveHeader .home-link img {
        height: 110px;
        margin-top: 50px;
    }

    .redTitle, .goldTitle {
        font-size: 35px;
    }

    .captchaCont {
        margin-bottom: 20px;
    }

    .squareElements .box > div, .squareElements a, .squareElements .title, .squareElements .titleInner, .squareElements .box {
        width: 100%;
    }

    .squareElements .title {
        font-size: 19px;
    }

    .buttonLine {
        margin-bottom: 20px;
    }

    .buttonLine a {
        font-size: 23px;
    }

    .bottomFooter .pull-left, .bottomFooter .pull-right {
        display: block;
        text-align: center;
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }

    .news {
        padding-bottom: 20px;
    }

    .redTitleSep, .goldTitleSep {
        margin-bottom: 0;
    }

    .onePageHolder, .contentSlider, .contentSliderInner, .contentPages, .squareElements {
        min-height: 0;
    }

    .introWebsite  {
        margin-bottom: 0;
    }

    .pageContent h3 {
        margin-bottom: 10px;
    }

    .middleFooterLeft ul li {
        float: none;
        width: 100%;
    }

    .middleFooterLeft ul li a {
        display: block;
        width: 100%;
    }

    .middleFooterRight .widget_text .socialIcons {
        margin-bottom: 20px;
    }

}

@media (max-width: 450px) {

    .carousel-inner {
        width: 75%;
    }

    .prodani {
        width: 100%;
        text-align: center;
        position: static;
        margin-bottom: 10px;
    }

    .responsiveHeader .dlujnici-link {
        position: static;
        text-align: center;
    }

    .openCloseRespMenu {
        top: 82px;
    }

    .responsiveHeader #lang {
        top: 83px;
    }

    .responsiveHeader .home-link img {
        margin-top: 8px;
    }

    .responsiveHeader #head-back {
        background-size: 2203px;
        min-height: 210px;
    }
}

/*end media queries*/