/*@font-face {*/
    /*font-family: 'Roboto';*/
    /*src: url('Roboto-Regular.ttf');*/
/*}*/
@font-face {
    font-family: 'dsUstavHand';
    src:  url('dsUstavHand.ttf');
}
@font-face {
    font-family: 'presquireregular';
    src: url('presquire_regular-webfont.woff2') format('woff2'),
    url('presquire_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
* {margin:0;padding:0;border:0}
body {
    background:url(/wp-content/themes/legenda/img/bg.jpg) center top repeat-y;
    line-height: 18px;
}
img {
    height: auto;
    /*max-width: 100%;*/
}
html,body{height:100%; font: normal 13px Tahoma, sans-serif; color:#505050;}
a {
    color: #13a5ca;
    text-decoration: none;
}
.wrap-main-content{
    background:url(/wp-content/themes/legenda/img/mid.jpg) center top no-repeat;
    width: 1395px;
    position: relative;
    margin: 0 auto;
}
.main-content .lrow{
   /* display:block;
    overflow:hidden;
    zoom:1;
    margin-bottom:15px;
    text-align: center;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;*/
}
.main-content {
    width: 70%;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 70px;
    padding-left: 30px;
    padding-right: 30px;
    min-height: 845px;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
}
header {
    background:url(/wp-content/themes/legenda/img/top.jpg) center top no-repeat;
    width:100%;
    height:232px;
    position:relative;
    z-index: 99;
}

.logo {
    font-family: 'dsUstavHand', sans-serif;
    color: #ffffff;
    position: relative;
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    /*height: 128px;*/
    top: 5%;
    text-shadow: 1px 2px 5px #444444;
    margin-left: 22%;
    line-height: 1.7;
}
.logo:hover {
    text-decoration: none;
    color: #ffffff;
}
.logo span {
    font-size: 2.2rem;
    display: block;
}

.logo span:nth-child(2) {
    position: relative;
    left: 40px;
}
.logo span:nth-child(3) {
    position: relative;
    left: 10px;
    font-size: .8rem;
    top: 8px;

}
.sidebar-contact li{
    list-style: none;
}
.language-switcher {
    float: right;
    position: relative;
    margin-left: 3%;
    /*top: -84px;*/
    z-index: 100;
    width: 9%;

}
.language-switcher li {
    list-style: none;
}
.language-switcher a {
    /*color: #ff3c00;*/
    /*font-weight: 900;*/
    font-family: 'Roboto', sans-serif;
}
.contact {
    position: relative;
    margin-left: 73%;
    font-family: 'presquireregular', sans-serif;
    top: -45%;
    margin-bottom: 50px;
}
.contact a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.7rem;
    text-shadow: rgb(0, 0, 0) 1px 1px 5px;
}
.contact a:hover {
    text-decoration: none;
    color: #ffffff;

}
.widget_polylang li {
    list-style: none;
    display: inline-block;
}
.widget_polylang {
    position: relative;
    margin-left: 78%;
    top: -43%;
    list-style: none;
}
.widget_polylang img {
    width: 35px;
    box-shadow: 1px 0px 8px #fff;
}
/*social buttons */
.social-buttons {
    width: fit-content;
    width: -moz-fit-content;
    margin-left: 73%;
    top: -106px;
    position: relative;
}
.bg-fb_01 {
    width: 30px; height: 30px;
    background: url('css_sprites.png') -5px -5px;
    display: inline-block;
}
.bg-fb_01:hover {
    width: 30px; height: 30px;
    background: url('css_sprites.png') -45px -5px;
    display: inline-block;
}
.bg-ins_01 {
    width: 30px; height: 30px;
    background: url('css_sprites.png') -5px -45px;
    display: inline-block;
}
.bg-ins_01:hover {
    width: 30px; height: 30px;
    background: url('css_sprites.png') -45px -45px;
    display: inline-block;
}
.bg-tw_01 {
    width: 30px; height: 30px;
    background: url('css_sprites.png') -85px -5px;
    display: inline-block;
}
.bg-tw_01:hover {
    width: 30px; height: 30px;
    background: url('css_sprites.png') -85px -45px;
    display: inline-block;
}
.bg-vk_01 {
    width: 30px; height: 30px;
    background: url('css_sprites.png') -5px -85px;
    display: inline-block;
}
.bg-vk_01:hover {
    width: 30px; height: 30px;
    background: url('css_sprites.png') -45px -85px;
    display: inline-block;
}
.bg-ytube_01 {
    width: 30px; height: 30px;
    background: url('css_sprites.png') -85px -85px;
    display: inline-block;
}
.bg-ytube_01:hover {
    width: 30px; height: 30px;
    background: url('css_sprites.png') -125px -5px;
    display: inline-block;
}

/* social buttons end */

#nav-above{
    margin-top: 20px;
    margin-left: 35%;
}
/*.nav-paginator li {display:inline; list-style:none; border:1px solid #89adcf; }*/
/*.nav-paginator .current {color:#fff; background:#5f87ae; border:1px solid #89adcf; margin-right:4px; padding:3px 6px;}*/
/*.nav-paginator .links {border:1px solid #89adcf; margin-right:4px; padding:3px 6px;}*/
.views-news {
    margin-left: 5%;
}
.main-news .left {
    /*width: 430px;*/
    text-align: justify;
}
.cont_l {
    float: right;
    height: 155px;
    margin-top: -12px;
}
.entry p  {
 margin-bottom: 60px !important;
}

.views {
    margin-top: -14px;
    color: #0275A0;
    font-size: 10px;
    position: relative;
    top: -14px;
}
#crumbs {
    margin-bottom: 1rem;
}

*, *:after, *:before {
    box-sizing: border-box;
}

.animenu__toggle {
    display: none;
    cursor: pointer;
    background-color: #0186ba;
    border: 0;
    padding: 10px;
    height: 40px;
    width: 100%;
}
.animenu__toggle:hover {
    background-color: #0186ba;
}

.animenu__toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fff;
    transition: 0.15s cubic-bezier(0.75, -0.55, 0.25, 1.55);
}
.animenu__toggle__bar + .animenu__toggle__bar {
    margin-top: 4px;
}
.animenu__toggle--active .animenu__toggle__container{
    position: relative;
    top: 8px;
}
.animenu__toggle__container {
    float: left;
    position: relative;
    top: 5px;
}
.animenu__toggle__name {
    position: relative;
    width: 50px;
    right:  45%;
    float: right;
    font-size: 1.3rem;
    color: #fff;
}

.animenu__toggle--active .animenu__toggle__bar {
    margin: 0;
    position: absolute;
}
.animenu__toggle--active .animenu__toggle__bar:nth-child(1) {
    transform: rotate(45deg);
}
.animenu__toggle--active .animenu__toggle__bar:nth-child(2) {
    opacity: 0;
}
.animenu__toggle--active .animenu__toggle__bar:nth-child(3) {
    transform: rotate(-45deg);
}

.animenu {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    /*top: 10%;*/
}
.animenu ul {
    padding: 0;
    list-style: none;
    font: 0 "Times New Roman";
}
.animenu li, .animenu a, .animenu__nav > li > span {
    display: inline-block;
    font-size: 1.3rem;
}
.animenu a, .animenu span {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.animenu__nav {
    background-color: #589fbd;
}
.animenu__nav > li {
    position: relative;
    border-right: 1px solid #ffffff;
}
.animenu__nav > li > a, .animenu__nav > li > span {
    padding: 10px 1.35rem;
    text-shadow: 0 0 30px #ffffff;

}
.animenu__nav > li:last-child {
    border: none;
}
.animenu__nav > li > a:first-child:nth-last-child(2):before {
    content: "";
    position: absolute;
    border: 4px solid transparent;
    border-bottom: 0;
    border-top-color: currentColor;
    top: 50%;
    margin-top: -2px;
    right: 5px;
}
.animenu__nav > li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}
.animenu__nav > li:hover > a {
    color: #fff;
}

.animenu__nav__child {
    min-width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    margin: 20px 0 0 0;
    background-color: #589fbd;
    transition: margin 0.15s, opacity 0.15s;
}
.animenu__nav__child > li {
    width: 100%;
    border-bottom: 1px solid #fff;
}
/* narrow up */
.animenu__nav__child > li:first-child > a:after {
    /*content: "";*/
    /*position: absolute;*/
    /*height: 0;*/
    /*width: 0;*/
    /*left: 1em;*/
    /*top: -6px;*/
    /*border: 6px solid transparent;*/
    /*border-top: 0;*/
    /*border-bottom-color: inherit;*/
}
.animenu__nav__child > li:last-child {
    border: 0;
}
.animenu__nav__child a {
    padding: 10px;
    width: 100%;
    border-color: #fff;
}
.animenu__nav__child span {
    padding: 10px;
    width: 100%;
    border-color: #fff;
    display: inline-block;
    background-color: #0186ba;
}
.animenu__nav__child a:hover {
    background-color: #0186ba;
    border-color: #0186ba;
    color: #fff;
}
.animenu__nav--open {
    display: block !important;
}
.animenu__nav--open .animenu__nav__child {
    display: block;
}
/* news section */
    /*news main */
.main-news {
    margin-top: 15px;
}
.main-news .left {
    float:left;
    width: 47%;
    margin-right: 17px;
}
.main-news .right {
    float:left;
    width: 330px;
    margin-left: 17px;
}
.main-news .date {
    width: 82px;
    height: 18px;
    background: url('/wp-content/themes/legenda/img/bg-main-news.jpg') 0 0 no-repeat;
    font: bolder 11px Verdana,sans-serif;
    color: #fff;
    line-height: 18px;
    margin-bottom: 15px;
    text-align: center;
}
.main-news a.more {
    display: block;
    margin-top: 10px;
}
.post-news {
    width: 90%;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 40px;
}

    /*news on page*/
.newslink{
    float: right;
}
.desc{
    max-height: 100px;
    overflow: hidden;
    line-height: 108%;
}
.post-news-title{
    font-size: 20px;
}
.post-news {
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
    top: -60px;
}
.entry-news{
    line-height: 18px;
    height: 104px;
    overflow: hidden;
    position: relative;
    top: -40px;
    margin-bottom: 5px;
}
.views-news{
    margin-top: -50px;
    position: relative;
    top: -65px;
    width: 135px;
}
.views-news b{
    color: #0258DB;
}
.post-news h2{
    margin-bottom: -4px;

}
.post-news h2>a{
    font-size: 13px;
    font-weight: bold;
}
.post-news .date {
    width: 82px;
    height: 18px;
    background: url('/wp-content/themes/legenda/img/bg-main-news.jpg') 0 0 no-repeat;
    font: bolder 11px Verdana,sans-serif;
    color: #fff;
    line-height: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.gray-line {
    margin-top: -20px;
    width: 525px;
    height: 1px;
    background: #ccc;
}
.post-news .gray-line{
    margin-top: -30px;
    width: 75%;
    height: 1px;
    margin-left: 130px;
    background: rgba(204, 204, 204, 0.76);

}
.about-news{
    float: right;
    text-decoration: underline;
}
.img-main-news{
    background: url('/wp-content/themes/legenda/img/main-news.jpg') 0 0 no-repeat;
    height: 73px;
    margin-left: 440px;
    top: 10px;
    position: relative;
    z-index: 2;
}
.img-news{
    background: url('/wp-content/themes/legenda/img/news-el.jpg') 0 0 no-repeat;
    height: 55px;
    margin-left: 640px;
    position: relative;
    top: -55px;
}
.blue-line{
    background: #CCC;
    height: 1px;
    margin-top: -40px;
    margin-bottom: 10px;
}
.link-archive{
    margin-left: 560px;
}
.link-archive a{
    font-size: 13px;
    font-weight: bold;
}

.footer-img {
    height: 775px;
    width: 100%;
    background: url('/wp-content/themes/legenda/img/bot.jpg') center top no-repeat;
    margin-top: -380px;
}
footer {
    width:100%;
    height:35px;
    position:relative;
    background: transparent;
    margin-top: -3%;
}
footer .social-buttons {
    top: -90%;
    height: 0;
}
.social-buttons-join {
    background: url('/wp-content/themes/legenda/img/join_us.png');
    width: 155px;
    height: 24px;
    float: right;
    margin-top: -4%;
    position: relative;
    right: 16%;
}
.author {
    margin-left: 20%;
}
/****************** SALES *****************/

.gallery-sale-block-img {
    display: inline-block;
    margin-right: 20px;
    vertical-align: top;
}
.gallery-sale-content-text {
    margin-top: 20px;
}


form-reserve table {
    width: 100%;
}

#form-reserve label {
    margin-left: 20px;
    font-size: 1.5rem;
}
#form-reserve input {
    background: #e6e6e6;
    border-radius: 3px;
    border: none;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.5rem;
}
#form-reserve input[name^="req"], #form-reserve input[name^='contact'] {
    width: 100%;
}
#form-reserve input[type=submit] {
    padding: 10px 25px;
    background: #589fbd;
    color: #ffffff;
    box-shadow: none;
    font-size: 16px;
}
#form-reserve input:focus{
    background: #778383;
}
#form-reserve label {
    color: #7f8c8c;
}
#form-reserve textarea {
    background: #e6e6e6;
    font-size: 16px;
    border: none;
    border-radius: 3px;
    box-shadow: 2px 2px 2px 0 #ccc inset;
    padding: 10px;
    width: 75%;
}
#form-reserve span {
    vertical-align: top;
    color: #7f8c8c;
}
.container-captcha {
    margin-top: 30px;
    margin-bottom: 30px;
}
.container-captcha a {
    vertical-align: top;
}
.container-captcha > img {
    box-shadow: 1px 1px 5px #cccccc;
    margin-left: 20px;
}
.container-captcha-input {
    margin: 0 20px !important;
    vertical-align: top;
    height: 38px;
}
#response {
    padding: 15px;
}


/* Popup */
.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#99000000', endColorstr='#99000000'); /* IE */
    bottom: 0;
    cursor: default;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.popup {
    width: auto;
    background-color: #fff;
    display: inline-block;
    margin: 0 auto;
    padding: 0;
    position: absolute;
    z-index: 999999;
    font-size: 16px;
    border-radius: 4px;
}

.popup .close-order {
    width: 30px;
    height: 30px;
    position: absolute;
    /*padding: 1px 9px 4px 9px;*/
    top: -15px;
    right: -15px;
    cursor: pointer;
    color: #fff;
    font-family: 'tahoma', sans-serif;
    background-color: #589fbd;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
}
.popup .close-order:after {
    content: '\00d7';
    display: block;
    position: absolute;
    top: -2px;
    left: 6px;
    font-size: 2rem;
}
.-message {
    padding: 20px;
    font-size: 18px;
}

.popup-order {
    padding: 10px;
}

.popup-order input[type=submit] {
    width: 100%;
}

/*********************** OLD STYLE *********************/

/*h1,h2,h3,h4,h5{color:#4E707B;}*/
p{margin-bottom:15px}
#crumbs .current {color: #b9d4e8}
h1,h2 {
    font: normal 22px "Times New Roman", sans-serif;
    color: #4f717d;
    margin-top: 0;
    font-size:20px;
    margin-bottom:16px
}

.main-otbivka {
    padding-top: 50px;
    background: url('/wp-content/themes/legenda/img/uzor.jpg') top right no-repeat;
}
.clear {
    display: block;
    clear: both;
    height: 1px;
    line-height: 1px;
}

/*wrappers*/
/*top block*/
/*top menu*/
/*left menu*/
/*main content*/
/*front page*/
.piclink{
    display: inline-block;
    position:relative;
    width: 47%;
    margin-right: 11px;
}
.piclink img{
    box-shadow: 2px 2px 4px 0px #aaa;
    width: 100%;
    border: 1px solid #fff;
}

/*.piclink div.botlink{*/
    /*width:100%;*/
    /*position:absolute;*/
    /*bottom:0;*/
/*}*/
a.botlink-sales {
    font-family: Georgia, Times, serif;
    font-size: 1.5rem;
    z-index: 101;
    display: block;
    width: 99%;
    height: 50px;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 2px #555;
    background: #589fbd87;
    position: absolute;
    bottom: 5px;
    left: 2px;
}
.piclink a.botlink{
    font-family:Georgia, Times, serif;
    font-size:16px;
    z-index:101;
    display:block;
    width:100%;
    height:25px;
    text-align:center;
    color:#fff;
    text-shadow: 1px 1px 2px #555;
    position: absolute;
    bottom: 0;
}
.nocomments {
    display: none;
}

table.photo-galleries {
    text-align: center;
}
.photo-galleries-female {
    text-align: center;
    width: 100%;
}
table.photo-galleries td {
    width: 19%;
    padding: 5px;
    color: #0475a1;
    text-align: center;
    display: inline-block;
}
table.photo-galleries img {
    width: 125px;
    height: 170px;
    border: 1px solid #dee0df;
    padding: 1px;
    box-shadow: 2px 2px 5px 0px #aaa;
}
table.press td {
    width: 141px;
    padding: 5px;
    color: #0475a1;
    text-align: center;
}
table.press img {
    width: 207px;
    height: 300px;
    border: 1px solid #dee0df;
    padding: 1px;
}
table.press_p td {
    padding: 1px;
    color: #0475a1;
    text-align: center;
}
table.press_p img {
    width: 300px;
    height: 214px;
    border: 1px solid #dee0df;
    padding: 1px;
}
.photo-galleries-male {
    width: 100%;
    text-align: center;
}
table.photo-galleries-male td {
    width: 30%;
    display: inline-block;
    padding: 8px;
    color: #0475a1;
    text-align: center;
}
table.photo-galleries-male img {
    /*width: 200px;*/
    /*height: 277px;*/
    border: 1px solid #dee0df;
    padding: 1px;
    box-shadow: 2px 2px 5px 0px #aaa;
}
table.photo-galleries-female td {
    width: 205px;
    padding: 6px;
    color: #0475a1;
    text-align: center;
}
table.photo-galleries-female img {
    width: 160px;
    height: 221px;
    border: 1px solid #dee0df;
    padding: 1px;
}
table.main-photo-galleries td {
    width: 141px;
    padding: 5px;
    color: #0475a1;
    text-align: center;
}
table.main-photo-galleries img {
    width: 190px;
    height: 126px;
    border: 1px solid #dee0df;
    padding: 1px;
}
table.history td {
    width: 141px;
    padding: 5px;
    color: #0475a1;
    text-align: center;
}
table.history img {
    width: 152px;
    height: 125px;
    border: 1px solid #dee0df;
    padding: 1px;
}

img.border {
    border: 2px solid #dee0df;
    padding: 1px;
}
img.align-left {
    float:left;
    margin-right: 10px;
}
img.align-right {
    float:right;
    margin-left: 10px;
}

.contacts-left {
    float:left;
    width: 155px;
}
.contacts-left img.border {
    border-width: 1px;
}
.contacts-right {
    float:left;
    width: 530px;
}
.contacts-right a,
.contacts-right a:hover {
    color: #927e5b;
}
.contacts-right span {
    color: #0475a1;
}
.contacts-right p {
    margin-bottom: 5px;
}
.post {
    margin-top: 13px;
}
.post h2 {
    margin-bottom: -5px;
}
.post h2>a {
    font-size: 18px;
}
.entry {
    margin-top: 10px;
}
.post small{
    margin-left: 535px;
    top: -15px;
    position: relative;
}
a.more-link {
    margin-left: 380px;
    font-size: 12px;
    font-weight: bold;
    top: 10px;
    position: relative;
}
#paging {
    margin-top: 10px;
    margin-bottom: 15px;
}
.foto-number {
    font-size: 16px;
    left: 10px;
    position: relative;
    top: -420px;
}