body {
    /*new-edit-code*/
    padding-top: 105px;
}

/* reset */
@media (min-width: 768px) {
    .container {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}


body .navbar-default .navbar-brand {
    color: #fff;
}

.navbar-right p {
    text-align: right;
    margin-bottom: 5px;
    color: #fff;
}
/* IAH 06/04/2023 reduced padding from 15 to 12 */
.navbar .navbar-nav>li>a {
    padding-bottom: 12px;
    padding-top: 12px;
}

/*Navbar color, currently black - IAH change background-color to the desired color*/
/*IAH 05/10/2018 changed background-color from #222 to #3c763d and border-color from #080808 to #3c763d */
.navbar.navbar-default {
    background-color: #3c763d;
    border-color: #3c763d;
}



.navbar.navbar-default .navbar-nav>.active>a,
.navbar.navbar-default .navbar-nav>.active>a:focus,
.navbar.navbar-default .navbar-nav>.active>a:hover {
    background-color: transparent;
    color: #fff;
}

.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover {
    background-color: transparent !important;
    color: #fff !important;
}

.navbar.navbar-default .navbar-nav>li>a {
    color: #ccc;
}

.navbar-right .btn.dropdown-toggle.btn-default {
    border: none;
    box-shadow: none;
    margin: 0 !important;
    outline: none !important;
    border-radius: 0;
}

.navbar-default .navbar-right {
    margin-right: 0;
    margin-top: 12px;
}

svg {
    max-width: 100%;
}

.footer {
    background-color: #222;
    padding: 15px 0;
}

.footer p {
    color: #fff;
    margin-bottom: 0;
}

.filter-button .btn {
    color: #fff;
    border-radius: 0;
    margin-bottom: 5px;
    border: none;
    line-height: normal;
    padding: 10px 20px;
}

.filter-search-button .btn-default {
    background-color: #ccc;
    border: medium none;
    border-radius: 0;
    color: #000;
    line-height: normal;
}

.filter-search-button .btn {
    border: none;
}

.btn {
    margin-bottom: 5px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.family-modal tr td {
    padding: 5px;
    padding-bottom: 0px;
}

.btn:focus {
    outline: none !important;
}

.serch-filed {
    float: left;
    margin-right: 15px;
    position: relative;
}

.form-control.search-input {
    border: medium none;
    border-radius: 0;
    display: inline-block;
    height: 32px;
    padding: 5px 10px;
    padding-right: 3px;
    text-align: left;
    box-shadow: none !important;
    width: 135px;
    margin-right: 0;
    float: left;
}

.search-submit {
    background-image: url("../images/search.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    border: medium none;
    border-radius: 0;
    display: inline-block;
    height: 32px;
    width: 30px;
    float: right;
    background-color: #fff;
    outline: none;
}

.bootstrap-select.btn-group .dropdown-menu.inner,
.bootstrap-select.btn-group .dropdown-menu.inner li,
.bootstrap-select.btn-group .dropdown-menu.inner a {
    outline: none !important;
}

.nav.navbar-nav.navbar-right .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 135px;
}

.filter-button .btn-link {
    color: #337ab7;
}

/*new-code*/
.navbar-brand {
    height: auto;
    padding: 0 15px;
}

.navbar-brand img {
    max-width: 80px;
    max-height: 80px;
}

ul.nav.navbar-nav {
    margin-top: 15px;
}

ul.nav.navbar-nav.navbar-right {
    margin-top: 25px;
}

.nav.navbar-nav.navbar-right .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
}

.nav.navbar-nav.navbar-right .select2-container .select2-selection--single {
    height: 33px;
}

.nav.navbar-nav.navbar-right .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px;
}

.nav.navbar-nav.navbar-right .select2-container--default .select2-selection--single {
    border-radius: 0;
    border: none;
}

.navbar.navbar-default .navbar-nav>li>a {
    font-size: 20px;
}

.family-svg .container-fluid {
    padding: 0;
}

.family-svg {
    max-width: 1500px;
    margin: 0 auto 25px;
    width: 100%;
    padding: 0 15px;

}

.navbar.navbar-default {
    min-height: 80px;
}

/*new-code-End*/

@media (min-width: 1200px) {
    .container.family-svg {
        width: 1200px;
    }
}


@media screen and (max-width: 767px) {
    .nav.navbar-nav.navbar-right {
        padding-left: 15px;
    }

    .serch-filed {
        margin-bottom: 15px;
        margin-right: 15px;
        position: relative;
    }
}

.as-console-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 150px;
    overflow-y: scroll;
    overflow-x: hidden;
    border-top: 1px solid #000;
    display: none;
}

.as-console {
    background: #e9e9e9;
    border: 1px solid #ccc;
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.as-console-row {
    display: table-row;
    font-family: monospace;
    font-size: 13px;
}

.as-console-row:after {
    display: table-cell;
    padding: 3px 6px;
    color: rgba(0, 0, 0, .35);
    border: 1px solid #ccc;
    content: attr(data-date);
    vertical-align: top;
}

.as-console-row+.as-console-row>* {
    border: 1px solid #ccc;
}

.as-console-row-code {
    width: 100%;
    white-space: pre-wrap;
    padding: 3px 5px;
    display: table-cell;
    font-family: monospace;
    font-size: 13px;
    vertical-align: middle;
}

.as-console-error:before {
    content: 'Error: ';
    color: #f00;
}

.as-console-assert:before {
    content: 'Assertion failed: ';
    color: #f00;
}

.as-console-info:before {
    content: 'Info: ';
    color: #00f;
}

.as-console-warning:before {
    content: 'Warning: ';
    color: #e90
}

@-webkit-keyframes flash {
    0% {
        background: rgba(255, 240, 0, .25);
    }

    100% {
        background: none;
    }
}

@-moz-keyframes flash {
    0% {
        background: rgba(255, 240, 0, .25);
    }

    100% {
        background: none;
    }
}

@-ms-keyframes flash {
    0% {
        background: rgba(255, 240, 0, .25);
    }

    100% {
        background: none;
    }
}

@keyframes flash {
    0% {
        background: rgba(255, 240, 0, .25);
    }

    100% {
        background: none;
    }
}

.as-console-row-code,
.as-console-row:after {
    -webkit-animation: flash 1s;
    -moz-animation: flash 1s;
    -ms-animation: flash 1s;
    animation: flash 1s;
}

.node {
    cursor: pointer;
}

.node circle {
    fill: #fff;
    stroke: steelblue;
    stroke-width: 1px;
}

.node text {
    font: 14px sans-serif;
}

.link {
    /* IAH 24/09/2020 keep only the empty class name and use inline attributes in the code
	 to allow for proper encoding of the SVG document */
    /*
     fill: none;
     stroke: #ccc;
     stroke-width: 2px;
	 */
}

/*input.form-control{
         direction:RTL !important;
         }*/

.family-modal .modal-dialog {
    width: 80% !important
}

.family-modal .modal-header,
.family-modal .modal-footer {
    text-align: center;
}

.family-modal table {
    margin: 0 auto;
}

.family-modal tr td {
    vertical-align: top;
}

body.ar-dir span.select2-dropdown {
    direction: RTL !important;
}

body.en-dir span.select2-dropdown {
    direction: LTR !important;
}

.color-labels {
    float: right;
    margin-right: 15px;
    color: #fff;
}

/* IAH 05/10/2018 changed border from #000 to #3c763d */
.label-color {
    width: 15px;
    height: 15px;
    border: 1px solid #3c763d;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

.color-name {
    vertical-align: middle;
    display: inline-block;
}

.blue-label {
    background-color: rgb(176, 196, 222);
}

.white-label {
    background-color: #fff;
}

/* IAH 05/10/2018 change background from #000 to #3c763d */
.label-view {
    display: inline-block;
    padding: 8px 15px;
    background: #3c763d;
    float: right;
    margin-bottom: 5px;
}

/* IAH 28/10/2018 */
.label-view2 {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    float: right-side;
    margin-bottom: 5px;
}

body.ar-dir,
body.en-dir {
    overflow: hidden;
}

/*new-edit-code*/
/*.svg-container {
     border: 2px solid #000;
     margin-bottom: 45px;
 }
*/

/*new-edit-code*/
.svg-container-ar {
    border: 2px solid #000;
    margin-bottom: 45px;
    direction: rtl;
    /*to get the brackets in the Arabic names display correctly.*/
}

/* 09/02/2018 code by Ibrahim*/
.svg-container-en {
    border: 2px solid #000;
    margin-bottom: 45px;
    direction: ltr;
    /*to get the brackets in the English names display correctly.*/
}

.tooltip.open {
    background-color: rgba(128, 128, 128, 0.8);
    color: #fff;
    font-size: 15px;
    padding: 10px 10px 5px;
    border-radius: 5px;
    min-width: 135px;
}

.tooltip.open:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    left: 0;
    margin-top: -5px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid rgba(128, 128, 128, 0.8);
    top: -8px;
    left: 12px;
}

.tooltip a {
    color: #fff;
    padding-left: 30px;
    margin-bottom: 9px;
    display: inline-block;
    min-height: 24px;
}

a.envelop {
    background-image: url(../images/envelop-icon.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    padding-top: 5px;
}

.instagram {

    background-image: url(../images/instagram.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    padding-top: 5px;
}

.instagram2 {

    background-image: url(../images/instagram.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 15px;
    padding-top: 5px;
}

.twitter {

    background-image: url(../images/twitter-icon.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    padding-top: 5px;
}

.snapchat {

    background-image: url(../images/snapchat.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    padding-top: 5px;
}

.whatsapp {

    background-image: url(../images/whatsapp.png.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    padding-top: 5px;
}

.facebook {

    background-image: url(../images/face-book-icon.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    padding-top: 5px;
}

.comments {

    background-image: url(../images/comments.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    padding-top: 5px;
}

.linkedin {

    background-image: url(../images/linkedin.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    padding-top: 5px;
}

.page_no {

    background-image: url(../images/book_page.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    padding-top: 5px;
}

.id {

    background-image: url(../images/id.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    padding-top: 5px;
}

@media screen and (max-width: 1199px) {
    .navbar.navbar-default .navbar-nav>li>a {
        font-size: 17px;
    }
}

@media screen and (max-width: 991px) {
    ul.nav.navbar-nav.navbar-right {
        /*margin-top: 0;*/
        margin-bottom: 10px;
    }

    .en-dir .nav>li>a {
        padding: 10px 7px;
    }
}

/*new-edit-code*/

.node {
    cursor: pointer;
}

.found {
    fill: #ff4136;
    stroke: #ff4136;
}

/* page members found */
.page-found {
    fill: green;
    stroke: green;
}

/*
    .link {
      fill: none;
      stroke: #ccc;
      stroke-width: 2px;
    }
*/
.container p,
ol li {
    font-size: 20px;
}

.svg-container {
    overflow: scroll;
}

.select2-container--open .select2-dropdown {
    top: -26px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    line-height: 23px;
}


span.clear-name {
    position: absolute;
    z-index: 1;
    right: 30px;
    top: 5px;
    width: 15px;
    height: 27px;
    text-align: center;
    font-size: 0px;
    line-height: 27px;
    cursor: pointer;
    font-weight: bold;
    vertical-align: middle;
    background-image: url(../images/close-arrow.png);
    background-repeat: no-repeat;
    background-position: center;
}

.family-modal tr td {
    position: relative;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0.5;
    background: url('../images/loadergreen.gif') 50% 50% no-repeat rgb(249, 249, 249);
}