
/*family-tree*/
/*Now the CSS*/
* {margin: 0; padding: 0;}

.tree ul {
	padding-top: 20px; position: relative;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.tree li {
	float: left; text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before, .tree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 1px solid #06a3da;
	width: 50%; height: 20px;
}
.tree li::after{
	right: auto; left: 50%;
	border-left: 1px solid #06a3da;
}

/*We need to remove left-right connectors from elements without 
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
	display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}

/*Remove left connector from first child and 
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
	border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
	border-right: 1px solid #06a3da;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #06a3da;
	width: 0; height: 20px;
}

.tree li a{
	border: 1px solid #06a3da;
	padding: 5px 10px;
	text-decoration: none;
	/*color: #666;*/
	/*font-family: arial, verdana, tahoma;*/
	/*font-size: 10px;*/
	display: inline-block;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	
	color: #000;
    font-size: 15px;
    font-weight: 500;
   
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover, .tree li a:hover+ul li a {
	background: #06a3da;
    color: #fff !important;
    border: 1px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after, 
.tree li a:hover+ul li::before, 
.tree li a:hover+ul::before, 
.tree li a:hover+ul ul::before{
	border-color:  #94a0b4;
}

.tree {
    padding: 3%;
    width: max-content;
}
.tree-block{
     /*width:1180px !important;*/
     padding-bottom: 5%;
    height: 100%;
}
.outer-tree-block{
     overflow-x:auto;
     padding-bottom: 5%;
     min-height: 100vh;
     scroll-snap-align: center;
}
.content-block.tree-section{
    /*max-width:none !important;*/
}

.our-root-tree {
    background: url(../images/TREE-opacity.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-position-y: 30px;
}

.node-option {
    display: block;
    width: 25px;
    height: 25px;
    background-color: #06a3da;
    border-radius: 50px;
    margin-left: auto;
    padding-top: 7px;
    color: #fff;
    margin-right: auto;
}
.outer-tree-block::-webkit-scrollbar {
    width: 5px;
    height:5px;
}
.outer-tree-block::-webkit-scrollbar-thumb {
    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 50%);
    background-color: #06a3da;
}
.outer-tree-block::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    /*background-color: #06a3da;*/
    border-radius: 10px;
}

@media (min-width: 1600px) and (max-width: 1980px) {
    .content-block{
        max-width:1600px !important;
    }
}


@media (min-width: 1400px) and (max-width: 1599px) {
    .content-block{
        max-width:1400px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .content-block{
        max-width:1200px !important;
    }
}


@media (min-width: 992px) and (max-width: 1199px) {
     .content-block{
        max-width:922px !important;
    }
}


@media (max-width:768px) {
.tree {
    padding: 3%;
    width: max-content;
    margin-left: 0px !important ;
    margin-right: auto;
}

            }
@media (min-width:769px) {
.tree {
    padding: 3%;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

            }
            

@media (max-width:580px) {
   /*.tree-block {*/
   /* transform: translateX(-147px);*/
   /*     }*/
            }
@media (max-width:480px) {
   
    
            }
@media (max-width:320px) {
/*     .tree-block {*/
/*    transform: translateX(-166px);*/
/*}*/
            }            
            
 .middle-contnet-block .content-block {
    width: 850px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.middle-contnet-block .content-block {
    width: 100%;
    margin: auto;
}
.middle-contnet-block .content-block h3 {
    color: #000;
    font-size: 2.4rem;
    font-family: "Dirty Headline",Arial,sans-serif;
    position: relative;
    line-height: 1;
}
