/*--- Custom Fonts ---*/ 

/** Montserrat Regular **/
@font-face {
    font-family: "Montserrat";
    font-weight: 400;
    font-style: normal;
    src: url("../fonts/Montserrat-Regular.woff2") format("woff2"),
         url("../fonts/Montserrat-Regular.woff") format("woff");
}
/** Montserrat Medium **/
@font-face {
    font-family: "Montserrat";
    font-weight: 500;
    font-style: normal;
    src: url("../fonts/Montserrat-Medium.woff2") format("woff2"),
         url("../fonts/Montserrat-Medium.woff") format("woff");
}
/** Montserrat SemiBold **/
@font-face {
    font-family: "Montserrat";
    font-weight: 600;
    font-style: normal;
    src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"),
         url("../fonts/Montserrat-SemiBold.woff") format("woff");
}
/** Montserrat Bold **/
@font-face {
    font-family: "Montserrat";
    font-weight: 700;
    font-style: normal;
    src: url("../fonts/Montserrat-Bold.woff2") format("woff2"),
         url("../fonts/Montserrat-Bold.woff") format("woff");
}

/** Lato Light **/
@font-face {
    font-family: "Lato";
    font-weight: 300;
    font-style: normal;
    src: url("../fonts/Lato-Light.woff") format("woff");
}

/** Lato Regular **/
@font-face {
    font-family: "Lato";
    font-weight: 400;
    font-style: normal;
    src: url("../fonts/Lato-Regular.woff") format("woff");
}

/** Lato Medium **/
@font-face {
    font-family: "Lato";
    font-weight: 500;
    font-style: normal;
    src: url("../fonts/Lato-Medium.woff") format("woff");
}

/** Lato SemiBold **/
@font-face {
    font-family: "Lato";
    font-weight: 600;
    font-style: normal;
    src: url("../fonts/Lato-Semibold.woff") format("woff");
}

/*-------------------*/
/*--- Общие стили ---*/
/*-------------------*/
body {
    padding: 0;
    margin: 0;
    color: #1d1d1d;
    background-color: #eeeeee;
    font-family: "Lato";
    font-weight: 400;
}

a {
    color: #bba583;
    text-decoration: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    background-color: transparent;
    outline: none;
}

textarea {
    position: relative;
    font-family: "Lato" !important;
    font-weight: 400;
}

.red {
    color: red;
}

.hidden {
    display: none;
}

.selectDisabled {
    color: #888;
}

/*-----------------------*/
/*--- Стили loginView ---*/
/*-----------------------*/
.loginDarkBg {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 100;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
}

.loginBlock {
    position: relative;
    border: 1px solid #1d1d1d;
    border-radius: 6px;
    background-color: #ffffff;
    width: 300px;
}

.loginBlock h3 {
    text-align: center;
}

.loginForm {
    padding: 0px 20px 0px 20px;
}

.loginForm p {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.loginForm p:nth-child(3) {
    justify-content: center;
}

.loginForm p:nth-child(3) input {
    cursor: pointer;
}

.loginMsg {
    color: red;
    padding: 0px 20px 0px 20px;
    text-align: center;
    word-wrap: break-word;
}

/*------------------------------*/
/*--- Стили VillagesListView ---*/
/*------------------------------*/
.header {
    position: fixed;
    z-index: 10;
    top: 0px;
    left: 0px;
    width: 100%;
    min-width: 1200px;
    height: 80px;
    background-color: #10141A;
    color: #ffffff;
    display: flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.userName__role {
    font-size: 11px;
    color: #bbb;
}

.userPanel {
    position: absolute;
    right: 20px;
    /* border: 1px solid red; */
    display: flex;
    align-items: center;
}

.loginOut {
    padding: 0px 0px 0px 20px;
    margin: 0px;
}

.loginOut input {
    cursor: pointer;
}

.contentWrapper {
    width: 1200px;
    min-height: calc(100vh + 80px);
    position: relative;
    z-index: 0;
    background-color: #ffffff;
    margin: 80px auto 40px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    padding: 20px;
}

.mainContent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* align-items: flex-start; */
    align-content: flex-start;
    min-height: 500px;
}

.mainContent h2 {
    display: block;
    width: 100%;
    text-align: center;
}

.cardItemWr {
    position: relative;
    width: 270px;
    min-height: 440px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin: 10px;    
    border-radius: 6px;
    cursor: pointer;
    /* overflow: hidden; */
    display: block;
    padding-bottom: 10px;
}

.cardItemImgWr {
    width: 100%;
    height: 270px; 
    cursor: pointer;
    overflow: hidden;
    border-radius: 6px;
    padding: 0px;
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.cardItemChckBox {
    position: absolute;
    z-index: 10;
    /* border: 1px solid red; */
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    background-image: url(../img/chckbox01.png);
    background-size: cover;
    opacity: 0.4;
    background-position-x: -80px;
    cursor: pointer;
    /* pointer-events: none; */
}

.cardItemChckBoxOn {
    background-position-x: 0px;
}

.cardItemDel {
    position: absolute;
    z-index: 10;    
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    background-image: url(../img/chckbox01.png);
    background-size: cover;
    opacity: 0.4;
    background-position-x: -40px;
    cursor: pointer;    
}

.cardItemChckBoxMsg {
    position: absolute;
    z-index: 20;
    width: 220px;
    height: 35px;
    top: -22px;
    right: 20px;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    /* box-shadow: 0 0 20px rgba(0,0,0,0.15); */
    color: #999;
    opacity: 0.0;
}

.cardItemChckBoxMsg div {
    position: absolute;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    right: 15px;
    bottom: -4px;
    width: 6px;
    height: 6px;
    transform: rotate(45deg);
}

.cardItemDelMsg {
    position: absolute;
    z-index: 20;
    width: 220px;
    height: 35px;
    top: -22px;
    left: 20px;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    opacity: 0.0;
}

.cardItemDelMsg div {
    position: absolute;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    left: 15px;
    bottom: -4px;
    width: 6px;
    height: 6px;
    transform: rotate(45deg);
}

.cardItemImgWr img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.cardItemName {
    display: block;
    font-size: 1.17em;
    padding: 10px;
    font-weight: bold;
    text-align: left;
    color: #999;
}

.cardItemType,
.cardItemRegion {
    padding: 0px 10px 5px 10px;
    color: #999;
}

.cardItemOwner {
    padding: 10px 10px 5px 10px;
    color: #999;
    font-size: 12px;
    overflow: hidden;
}

.cardItemUpdater,
.cardItemUpdTime {
    padding: 0 10px 5px 10px;
    color: #999;
    font-size: 12px;
}

.msgConfirmWr {
    display: flex;
    /* border: 1px solid red; */
    margin-top: 80px;
    justify-content: space-around;
    align-items: center;
    height: 40px;
}

.msgBtn {
    color: #1d1d1d;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 100px;
    border: 1px solid #888;
    border-radius: 6px;
}

.msgBtn:hover {
    background-color: #eee;
}

.submenu {
    /* border: 1px solid red; */
    background-color: #10141A;
    position: fixed;
    top: 80px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 100vw;
    z-index: 100;
}

.submenu a {
    height: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: 3px solid #10141A;
}

.submenu a.active,
.submenu a:hover {
    border-bottom: 3px solid #bba583;
}

.addVillage {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-color: #fff;
}

.addVillageCrossWr {
    width: 170px;
    height: 170px;
    position: relative;
}

.addVillageCrossV {
    position: absolute;
    z-index: 11;
    top: 0px;
    left: 50px;
    width: 70px;
    height: 170px;
    background-color: #ffffff; 
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
}

.addVillageCrossV2 {
    position: absolute;
    z-index: 13;
    top: 0px;
    left: 50px;
    width: 70px;
    height: 170px;
    background-color: #ffffff; 
}

.addVillageCrossH {
    position: absolute;
    z-index: 12;
    top: 50px;
    left: 0px;
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
    width: 170px;
    height: 70px;
    background-color: #ffffff; 
}

.addVillageHeader {
   color: #999; 
   margin-top: 30px;
   width: 100%;
   text-align: center;
}

.footer {
    width: 100%;
    height: 40px;
    position: relative;
    z-index: 10;
    bottom: 0px;
    left: 0px;
    background-color: #10141A;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}



/*-------------------------*/
/*--- Стили villageView ---*/
/*-------------------------*/
.villageDetails {
    display: block;
    position: relative;
}

.backLink {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.36px;
    opacity: 0.5;
    font-weight: 600;
    padding-left: 25px;
    font-family: 'Montserrat';
    background-image: url(../img/arrows/arr-left-default.svg);
    background-repeat: no-repeat;
    background-position: 0px 1px;
    text-transform: uppercase;
    position: absolute;
    left: 0px;
    top: 5px;
}

.backLinkSubObjects {
    top: 25px;
}

.subObjectHeader {
    color: #888;
    margin-top: 0px;
    width: 100%;
    text-align: center;
}

.backLink a {
    color: #1d1d1d;
}

.villagesList {
    position: relative;
}

.backLink:hover {
    opacity: 1.0;
    background-image: url(../img/arrows/arr-left-hover.svg);
}

.textInputWr {
  /* border: 1px solid red; */
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  height: 60px;
  padding: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.textInputWr2 {
    /* border: 1px solid red; */
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: space-between;
    height: 117px;
}

.textInputItem {
  width: calc(33.33% - 10px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0px;
}

.textInputItemFourInRow {
  width: calc(25% - 10px);
}

.textInputItemTwoInRow {
    width: calc(50% - 10px);
  }

.textInputItemRightBig {
    /* border: 1px solid red; */
    height: 116px;
    width: 66%;
    align-content: flex-start;
}

.inputLabel {
    color: #888;
    width: 100%;
}

.inputLabel-small {
    font-size: 13px;
    margin-top: 3px;
}

.input-label-small {
    font-size: 13px;
}

.textInputItem input,
.textInputItem select,
.textInputItem select option {
    display: block;
    height: 30px;
    width: calc(100% - 20px);
    padding-left: 10px;
    padding-right: 10px;
}

.textInputItem input {
    width: calc(100% - 26px);
}

.textInputItem input,
.textInputItem select {
    border: 1px solid #bbb;
    border-radius: 6px;
}

.textInputItem select,
.textInputItem select option {
    height: 35px;
    display: block;
    width: 384px;
}

.loadObjBgImg {
    border: 1px solid #bbb;
    border-radius: 6px;
    min-height: 60px;
    cursor: pointer;
    overflow: hidden;
    height: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-color: #eee;
}

.loadObjBgImg img,
.loadObjBgImgSmall img {
    width: 100%;
    /* height: 500px; */
    object-fit: contain;
}

.objDescWr {
    /* border: 1px solid red; */
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 30px;
}

.thumbnailBgWr {
    /* border: 1px solid green; */
    width: 382px;
    height: 100%;
    overflow: hidden;
}

.loaloadObjBgImgSmall {
    border: 1px solid #bbb;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    height: 379px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-color: #eee;
}

.loaloadObjBgImgSmall img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.objDescRightWr {
    /* border: 1px solid blue; */
    width: 791px;
    height: 100%;
    position: relative;
}

.tox.tox-tinymce {
    border: 1px solid #bbb !important;
    border-radius: 6px !important;
    height: 381px !important;
    resize: none !important;
}

.tinyMceCap {
    width: 80px;
    height: 22px;
    position: absolute;
    right: 3px;
    bottom: 2px;
    background-color: #fff;
}

.shortDescWr {
    width: 100%;
    height: auto;
    margin-top: 30px;
    /* border: 1px solid red; */
}

.shortDescWr2 {
    width: 100%;
    height: auto;
    margin-top: 0px;
    /* border: 1px solid red; */
}

.textArea0 {
    resize: none;
    border: 1px solid #bbb;
    border-radius: 6px;
    width: 1180px;
    padding: 10px;
    height: 85px;
}

.textArea2 {
    resize: none;
    border: 1px solid #bbb;
    border-radius: 6px;
    width: 770px;
    padding: 10px;
    height: 76px;
}

.insertGalleryWr {
    min-height: 100px;
    height: auto;
    width: 100%;
    /* border: 1px solid red; */
    margin-top: 40px;
}

.insert-block {
    min-height: 100px;
    height: auto;
    width: 100%;
    margin-top: 40px;
}

.addImgToGallery,
.insert-block__add-btn {
    border: 1px solid #888;
    color: #888;
    /* padding: 10px; */
    background-color: #eee;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    padding: 0px !important;
    margin-right: 10px;
}

.insertGalleryInfoWr,
.insert-block__info-wr {
    display: flex; 
    align-items: center;
}

.uploadGallery,
.insert-block__ul {
    border: 1px solid #888;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    overflow: hidden;
    margin-top: 5px;
    min-height: 190px; 
    list-style: none;
    padding: 0;   
}

.insert-block__ul {
    padding: 10px 10px 0px 10px;
    background-color: #eee;
    justify-content: flex-start;
    min-height: 153px;
}

.insert-block__ul-item {
    /* border: 1px solid red; */
    overflow: hidden;
    padding: 0; 
    width: calc(50% - 11px); 
    height: auto;
    position: relative;  
}

.insert-block__ul-item:nth-child(odd) {
    margin-right: 22px;
    /* margin-left: 22px; */
}

.textArea1 {
    resize: none;
    border: 1px solid #bbb;
    border-radius: 6px;
    width: calc(100% - 59px);
    padding: 10px 10px 10px 47px;
    height: 120px;
    margin-bottom: 6px;
    background-color: #fff;
}

.textArea1:focus {
    background-color: #fff;
}

.insert-block__item-btn {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    border: 1px solid #888;
    color: #888;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 13px;
}

.insert-block__item-del {
    top: 48px;
    cursor: pointer;
    font-size: 15px; 
}

.uploadGallery li {
    display: block;
    
}

.saveBtn {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    margin-bottom: 30px;
}

.saveBtn input {
    display: flex;
    border: 1px solid #888;
    padding: 20px 40px 20px 40px;
    color: #888;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
}

.fullScreenMsg {
    position: fixed;
    z-index: 100;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    padding: 0px;
    margin: 0px;
    background-color: rgba(255,255,255, 0.3);
    box-shadow: 0px 12px 12px #0000003d;
    backdrop-filter: blur(5px);
    display: none;
}

.fullScreenMsgFlex {
    /* border: 1px solid red; */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullScreenMsgBlock {
    background-color: #fff;
    /* border: 1px solid #888; */
    border-radius: 6px;
    min-width: 250px;
    max-width: 900px;
    min-height: 150px;
    max-height: 600;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 70px rgba(0,0,0,0.5);
    padding: 70px;
}

.fullScreenCloseWr {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    border-radius: 20px;
    transform: rotate(45deg);
}

.fullScreenCloseW {
    position: absolute;
    width: 40px;
    height: 2px;
    top: 19px;
    left: 0px;
    background-color: #888;
}

.fullScreenCloseH {
    position: absolute;
    width: 2px;
    height: 40px;
    top: 0px;
    left: 19px;
    background-color: #888;
}

/*--- Стили загрузки фонового изображения ---*/
#uploadImagesList {
    list-style: none;
    padding: 0;
}
#uploadImagesList .item {
    margin: 10px;
    display: block;
}
#uploadImagesList .item .img-wrap {
    width: 217px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 170px;
    overflow: hidden;
    border: 1px solid #888;
    border-radius: 6px;
}
#uploadImagesList .item .img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#uploadImagesList .item .delete-link {
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 5px;
    border: 1px solid #888;
    border-radius: 6px;
    color: #888;
    margin-top: 5px;
    background-color: #eee;
}
.clear {
    clear: both;
}
.uploadImage {
    display: none;
}

