a {
	color: #FFF4C9;
}

.tree {
	margin: 1% 0 50px;
}

.node {
    display: inline-block;
    margin: 30px 8px;
    width: 230px;
    height: 70px;
    border-radius: 35px;
    background-color: #F3FAFB;
    color: #2F2F2F;
    padding: 10px;
    position: relative;
    border: 1px solid #CFE3E7;
}
.forefather {
    background-color: #a8c192;
}
.node div {
    display: block;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}
div#controller_wrap {
    overflow: hidden;
}
ul.add_menu {
    list-style: none;
    text-align: left;
    background-color: #247f8c;
    position: absolute;
    
    right: -10px;
    margin: 0;
    width: 170px;
    padding: 5px;
    z-index: 11;
    border-radius: 3px;
}

ul.add_menu a {
    text-decoration: none;
    font-size: 10px;
    color: #fff;
    height: auto;
    display: block;
    width: auto;
}

.node div > div, #mtcc ul li {
}

.node div > div:hover ul {
    display: block;
}
a.changelang img {
    margin: 0px 10px 0;
    position: relative;
    top: 2px;
}
.search_person_container{
	background-color: #C7E78B;
}
.main {
    position: relative;
    min-height: 100%;
    min-width: 700px;
}
#controller_wrap {
  width: auto;
  margin: 0 30px 30px 330px;
    color: #2a2a2a;
    padding: 30px;
}

.teips {
    margin-top: 80px;
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

.teips {
    border: 1px solid #fff;
    border-radius: 3px;
    line-height: 40px;
    height: 40px;
    color: #fff;
    position: relative;
    z-index: 11;
}
.teips li {
    list-style: none;
    background: #FFF4C9;
    position: relative;
    color: #2A2A2A;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

.teips li.choose {
    color: #FFF4C9;
    font-size: 14px;
    text-transform: uppercase; 
    text-align: center;
    line-height: 39px;
    background: transparent;
}

.teips ul {
    margin: 0;
    padding: 0;
}

.teips li:hover {
    background: #DFD19C;
}

.teips li:last-child {
    border-radius: 0 0 3px 3px;
}
.or {
    font-size: 14px;
    color: #FFF4C9;
    margin: 15px auto;
    text-align: center;
}


a.show-settings {
    position: absolute;
    display: block;
    width: 14px;
    height: 12px;
    background: url(../images/filter.png) center center no-repeat #fff;
    right: 55px;
    top: 14px;
}

.more-settings input {
    border: 1px solid #709053;
    padding-left: 10px;
    line-height: 40px;
    font-style: italic;
    color: #709053;
    font-size: 12px;
    border-radius: 3px;
    width: 100%;
}

input.father {
    margin-bottom: 10px;
}

input.born {
    width: 103px;
    float: left;
}

span.diff-title {
    color: #709053;
    font-size: 16px;
    float: left;
    line-height: 7px;
    text-align: center;
    margin-top: 12px;
    padding: 0 2px;
}
.diff_cont {
    border: 1px solid #709053;
    border-radius: 3px;
    width: 83px;
    height: 40px; 
    float: left;
    background: url(../images/more_green.png) 95% center no-repeat;
    overflow: hidden;
}

select.diff {
    border: none;
    background: transparent;
    height: 38px;
    width: 119%;
    color: #709053;
    font-style: italic;
    padding: 0 0 0 5px;
}

select.diff option { 
    color: #709053;
} 
.tree-container {
    transform-origin: left top;
    position: relative;
    width: max-content !important;
    overflow: hidden;
    margin: auto;
	height: 80vh;
}

.tree-container > div {
    position: relative;
    transform-origin: left top;
}

a.search_related_contact {
    background: transparent;
    height: 40px;
    display: block;
    line-height: 40px;
    text-align: center;
    color: #FFF4C9;
    text-decoration: none;
    text-transform: uppercase;
    margin: 5px auto;
    font-size: 14px;
    border: 1px solid #FFF4C9;
    border-radius: 3px;
}
a.button {
    height: 40px;
    line-height: 40px;
    border: 1px solid #FFF4C9;
    display: block;
    border-radius: 3px;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    margin-bottom: 10px;
}

.tab-body.tb1 {
    margin-bottom: 120px;
}

.tab-body.tb2 {
    margin-bottom: 45px;
}

a.href {
    position: absolute;
    display: block;
    bottom: 20px;
    text-align: center;
    left: 0;
    right: 0;
    color: #fff;
}
.nodes_container {
	clear: both; 
}

a.show_add_menu {
    width: 27px;
    height: 27px;
    background: #C7E78B;
    border-radius: 14px;
    border: 2px solid #fff;
    color: #2a2a2a;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    display: block;
    line-height: 22px;
}

.node:hover a.show_add_menu, .node:hover a.show-childs, .node:hover a.show-more {
    display: block;
} 
.add_form {
    width: 620px;
    margin: 30px auto;
    border-radius: 5px;
    padding: 30px;
	position: relative;
}
.m-container {
    position: absolute;
    background-color: rgba(255,255,255,0.5);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
	display: none;
}
.add_form h1 {
    color: #FFF4C9;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

fieldset#fset_0 {
    padding: 0;
    border: 0;
    margin: 0;
}

.add_form input[type=text] {
}

.active-node {
    background: #24889f;
}
.active-node .tree_avatar {
    background: #fff;
}
.active-node .tree-node-content * {
    color: #fff !important;
}
.to-spouce span.vertical-spouce {
    background: #CFE3E7;
    width: 1px;
    display: block;
    position: absolute;
    right: -8px;
    top: 50%;
}

.from-spouce span.vertical-spouce {
    background: #CFE3E7;
    width: 1px;
    display: block;
    position: absolute;
    left: -8px;
    top: 50%;
}
.tree_avatar {
    float: left;
    margin-right: 10px;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 25px;
	display: block;
	background: #25899F;
    margin-top: -2px;
}
span.tree_avatar svg {
    margin-top: 11px;
}
.node:hover span.tree_avatar {
    background: #fff;
}
.node.active-node .tree_avatar svg path{
	fill: #25899F;
}
.node.active-node:hover .tree_avatar svg path{
	//fill: #fff;
}
.node:hover span.tree_avatar svg path {
    fill: #25899F;
}
.tree_avatar img {
    height: 100%;
    width: 100%;
}
.tree-node-content span {
    font-size: 11px;
    color: #7A969C;
    display: block;
    margin-top: 7px;
}
span.tree-node-content {
    text-align: left;
}
span.tree-node-name {
    margin-top: 0;
    font-size: 12px;
    color: #054857;
    font-weight: 500;
}
a.zoom-marker {
    display: block;
    position: absolute;
    background-color: #383333;
    width: 30px; 
    height: 15px;
    border-radius: 5px;
    left: -14px; 
    bottom: 0;
    cursor: pointer;
}
.from-parent {
    position: absolute;
    width: 2px;
    height: 30px;
    bottom: -30px;
    left: 50%;
    background-color: #CFE3E7;
}


.to-child {
    background: #CFE3E7;
    width: 1px;
    height: 30px;
    position: absolute;
    top: -30px;
    left: 50%;
}


.from-parent.with_short_bottom {
    height: 33px;
    bottom: -33px;
}

.to-child.with_right_round_top {
    height: 30px;
    top: -30px;
    background: none;
    width: 13px;
    border-left: 1px solid #CFE3E7;
}

.to-child.with_right_round_top:before {
    display: block;
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-left: 1px solid #2a2a2a;
    border-top: 1px solid #2a2a2a;
    top: -11px;
    border-radius: 8px 0 0 0;
    left: 0px;
    display: none;
}

.gor-line {
    height: 10px;
    position: absolute;
    top: -39px;
    left: 50%;
    border-bottom: 2px solid #CFE3E7;
} 
.gor-line.with_right_top_round {
}

.to-child.with_left_round_top {
    height: 30px;
    top: -30px;
    background: none;
    width: 13px;
    border-right: 1px solid #CFE3E7;
    left: 40%;
}

.to-child.with_left_round_top:before {
    display: block;
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-left: 1px solid #2a2a2a;
    border-top: 1px solid #2a2a2a;
    top: -11px;
    border-radius: 8px 0 0 0; 
    left: 0px;
    display: none;
}
 
.gor-line.with_left_top_round {
    left: auto;
    right: 54%;
}  
.to-child.with_left_round_top:after {
    left: 7px;
} 
.main-node {
    clear: both;
    overflow: hidden;
    width: 100%;
}
 
.node1, .node2 {
    float: left;
    width: 126px;
    margin: 0 15px;
}
.tree.relatedtree {
    float: none;
    margin: 0 auto;
    /*width: 320px;*/
}
.main-node .node {
    float: none;
    margin: 30px auto;
}
.search_results a {
    color: #2a2a2a;
    text-decoration: none;
}

.search_results td {
    padding: 5px;
    text-align: center;
    font-size: 12px;
}

.search_results th {
    border-bottom: 1px solid #ccc;
}

.search_results table {
    border-collapse: collapse;
}
span.not-teip {
    color: #2a2a2a;
    font-size: 18px;
    text-align: center;
    display: block;
    padding-top: 150px;
    height: 330px;
}
.content a{
	color: #2a2a2a;
}
.widgets-container {
    margin-left: 300px;
}
.map .image {
    width: 125px;
    overflow: hidden;
    float: left;
    margin-right: 15px;
}

.map .image img {
    width: 100%;
}

.info {
    /*width: 185px;
    float: left;*/
} 
.bc {
}

ymaps.ymaps-2-1-71-balloon__content {
    padding: 0;
    margin-right: 0 !important;
}

.teip-name {
    font-size: 12px;
    text-transform: uppercase;
    color: #2a2a2a;
    font-weight: bold;
}

.bc a {
    color: #709053;
    display: block;
    text-align: right;
}
.teips ul li ul {
    position: absolute;
    width: 200px;
    left: 100%;
    border-radius: 5px;
    top: 0;
    display: none;
}

.teips ul li:hover > ul {
    display: block;
} 
.teips-tree li {
    list-style: none;
}

.teips-tree a {
    color: #2F2F2F;
    text-decoration: none; 
}
.float { 
    width: 50%;
    float: left;
    overflow: hidden;
}
input.ss {
    position: absolute;
    top: 0;
    z-index: 3;
    background: url(/templates/main/images/search.png) 5px 0px no-repeat #fff;
    width: 46px;
    cursor: pointer;
    color: transparent;
    right: 0px;
}
input, textarea {outline:none;}
input.ss:hover{
	background-color: #efefef;
}

.ttab-btn {
    display: inline-block;
    padding: 10px 15px;
    background: #FFF4C9;
    cursor: pointer;
}

.ttab-container {
    margin-left: 30px;
}

.ttab-btn:hover, .ttab-btn.active-tab {
    background: #C7E78B;
}
.category_description p { 
    font-size: 12px;
    line-height: 16px;
}

h1 {
    color: #383838;
}

@media (max-width:768px){
.sidebar {
    left: -100%;
    width: 100% !important;
}
.sidebar.bigsidebar {
    left: 0;
}
.widgets-container {
    margin: 0;
}

.main {
    min-width: auto;
}	

a.butter {
    position: fixed;
    z-index: 20;
    width: 35px;
    height: 35px;
    background: #fff;
    padding: 5px;
    left: 10px;
    top: 10px;
    cursor: pointer;
    display: block;
}

.butter span {
    display: block;
    background-color: #709053;
    width: 20px;
    height: 3px;
    margin: 3px;
}
div#map {
    display: none;
}
a.tab {
    font-size: 12px !important;
    text-transform: none !important;
}
a.open-other {
    background: url(/templates/main/images/more_whire.png) center center no-repeat;
    width: 30px;
    height: 25px;
    display: inline-block;
    float: right;
    margin-top: 2px;
    margin-right: 10px;
}

.teips li {
    background: #e4d7a6;
}

.teips ul li ul {
    left: 0;
    top: 30px;
    width: 100%;
	display: none;
	z-index:10;
	border-bottom: 30px solid #DFD19C;
}
a.open-other.open-state {
    transform: rotateX(180deg);
}
}
.overview-title {
    font-size: 13px;
    color: #7A969C;
    display: inline-block;
    text-align: center;
    width: 76%;
}
.related-data.profile-fields {
    display: block;
}

.add_form .profile-fields input {
    font-weight: normal;
}

.born a, .die a {
    display: none;
}

.born, .die, .pol {flex: auto;}

.born input, .die input {
    width: 100%;
}

textarea#bio {
    width: 100%;
    height: 70px;
    border: 1px solid #DDEBED;
    box-shadow: none;
    border-radius: 5px;
}

.bio-data.profile-fields {
    display: block;
}
.dictionary h1 {color: #054857;font-size: 18px;font-weight: bold;text-transform: uppercase;}

.user-content-column.dictionary {
    padding: 30px;
    width: 100%;
}

.dict-form {
    margin-top: 24px;
    overflow: hidden;
    margin-bottom: 30px;
	position: relative;
}

.dict-form .dict-word {
    height: 50px;
    border: 1px solid #CFE3E7;
    border-radius: 5px;
    width: 100%;
    float: left;
    font-size: 13px;
    color: #7A969C;
    padding-left: 20px;
}

.dict-form input.button {
    width: 100px;
    border-radius: 4px;
    margin: 0;
    float: right;
    background: url(/templates/gargalo/images/search-dict.svg) center center no-repeat #062D35;
    height: 50px;
}
.word {
    min-height: 80px;
    flex: 0 0 30%;
    border: 1px solid #E9F4F5;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 10px 15px;
    align-content: center;
}

.words {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.word .translate {
    color: #054857;
    font-size: 14px;
    font-weight: bold;
}

.word .trans-word {
    font-size: 13px;
    color: #7A969C;
    margin-top: 7px;
}
.addaction form {
    width: 100%;
}

.profile-fields.addaction {
    width: auto;
}

.addaction div#f_action {
    width: 49%;
    float: left;
}

.addaction div#f_date {
    clear: both;
}

.addaction div#f_target_id {
    width: 49%;
    float: right;
    margin-top: 21px;
}
div#mtc.person-tree > #mtcc {
    float: left;
    text-align: center;
    align-items: center; 
}

div#mtc.person-tree > #mtcc ul.tree-root {
    text-align: center;
}

div#mtc.person-tree > #mtcc ul.tree-root li {
    float: none;
} 
.other-column {
    margin-left: 20px;
    width: 250px;
    margin-right: 20px;
    position: sticky;
    align-self: flex-start;
    top: 73px;
    display: none;
}