/*
	Custom added
*/

.top-nav {
    border-bottom: 2px solid #264c70;
    border-top: 2px solid #cab856;
    margin-top: 0;
}

.expand-collapse {
    color: #264c70;
}

.ad-order-select {
    max-width: 100%;
}

.menu-main-menu {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.menu-main-menu li {
    float: left;
}

.menu-main-menu li.current {
    background: #cccccc;
}

.menu-main-menu li a {
    padding: 0 15px;
    display: block;
    line-height: 47px;
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    color: #264c70;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}


/*CMS fix style*/

header>h1 {
    font-size: 28px;
    line-height: 35px;
    color: #264c70;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    padding-top: 2px;
    margin-bottom: 10px;
}

.pager li>a,
.pager li>span {
    border-radius: 0;
}

ul.content-items {
    padding-left: 0;
}

ul.content-items li {
    list-style: none;
}


/**TABLES*/

table.table {
    border: 1px solid #979797;
}

table.table>thead>tr>th {
    background-color: #264C70;
    color: #ffffff;
    vertical-align: middle;
    border-bottom: 0px;
    border: 1px solid #4C7092;
}

th.auto-size {
    width: 5px;
}

@media screen {
    .table-h-striped>tbody>tr:nth-child(4n-1) {
        background-color: #EEEEEE;
    }
}

@media (max-width: 991px) {
    .table-h-striped>tbody>tr:nth-child(odd) {
        background-color: #EEEEEE;
    }
}

th.sortable:hover {
    background-color: rgba(38, 76, 112, 0.8);
}

th.sortable {
    cursor: pointer;
}

.sortable-container {
    position: relative;
}

.sortable-container>.sortable-content {
    margin-right: 15px;
}

.sortable-icon {
    position: absolute;
    right: 0px;
    top: 50%;
    margin-top: -6px;
    font-size: smaller;
}

.pagination {
    padding-top: 0px;
}

.paging-header {
    color: #264C70;
}

.paging-header {
    margin-bottom: 10px !important;
}

.paging-header select {
    border-bottom-color: rgb(255, 255, 255);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-style: solid;
    border-bottom-width: 0.909091px;
    border-image-outset: 0px;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(255, 255, 255);
    border-left-style: solid;
    border-left-width: 0.909091px;
    border-right-color: rgb(255, 255, 255);
    border-right-style: solid;
    border-right-width: 0.909091px;
    border-top-color: rgb(255, 255, 255);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-top-style: solid;
    border-top-width: 0.909091px;
    box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
    box-sizing: border-box;
    cursor: default;
    letter-spacing: normal;
    line-height: normal;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
}


/**END TABLES*/


/***/

.row {
    margin-bottom: 0;
}


/**LOADING PANEL*/

.loading-panel-container {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading-panel-overlay {
    background: #000;
    opacity: 0.5;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 21;
    width: 100%;
    height: 100%;
    background: #fff;
}

.loading-panel {
    padding: 10px;
    padding-top: 30px;
    width: 20%;
    position: fixed;
    z-index: 22;
    left: 35%;
    top: 30%;
    border: 1px solid #264C70;
    background: #F9FCFF;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 891px) {
    .loading-panel {
        width: 60%;
        left: 20%;
    }
}


/**END LOADING PANEL*/


/**ANCESTRY*/

.h-tree li:last-child {
    float: right;
}

.h-tree li {
    width: 50%;
}

.h-tree>ul>li {
    width: 100%;
}

.h-tree .three-table-block {
    width: 98%;
}

.img_gender {
    background-position: 439px 120px;
}

.first-table-block {}


/**END ANCESTRY*/

share-button {
    padding-left: 25px !important;
}

.upcoming-events-img img {
    /*width: 131px;*/
  Height:105px;
    float: right;
}

@media (max-width:768px) {
    .upcoming-events-img img {
        float: left;
    }
}

.b-news-big>.date-and-button {
    bottom: -12px;
}

.dzscalendar {
    overflow: inherit;
}


/**CHARTS*/

.chart-container {
    text-align: center;
}


/*END CHARTS*/

ul.archives-list li {
    list-style: none;
    margin-left: -15px;
}

.news-categories-widget ul li {
    list-style: none;
    display: inline;
}

.news-categories-widget ul {
    padding-left: 0;
}

.news-categories-widget ul li a {
    background: #fff;
    border: 1px solid #979797;
    text-shadow: none;
    font-size: 11px;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    color: #264c70;
    box-shadow: none;
    display: inline-block;
    height: 24px;
    line-height: 22px;
    padding: 0px 10px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
}

.news-categories-widget ul li a:hover {
    color: #ffffff;
    border: 1px solid #264C70;
    background-color: #264C70;
    outline: none;
}


/**STYLE.css FIXES*/

.unwrap {
    padding-left: 15px;
    padding-right: 15px;
}


/*STYLE.css FIXES*/


/*Added By Nic*/


/*Genric*/

table.no-border {
    border: none;
}


/**Helper classes*/

.top-20 {
    margin-top: 20px;
}


/*END Helper classes*/

.zone-aside-second .row {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a {
    color: #22496D;
}


/*SEARCH PAGE*/

.term-filter {
    float: none;
    clear: both;
}

.term-filter:after {
    content: "";
    clear: both;
    float: none;
}

.term-filter span {
    display: block;
    float: left;
    padding: 3px;
    color: #264C70;
    border: 1px solid #aaa;
    border-radius: 3px;
    margin: 5px;
    font-size: smaller;
    cursor: pointer;
}

.term-filter span:hover,
.term-filter span.active {
    background-color: #264C70;
    color: white;
}

.search-result {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
}

.search-result h3,
.search-result a {
    color: #23527c;
}

.search-result-header div:last-child {
    text-align: right;
}

.search-result-header span {
    color: #999;
}

.search-result-header span,
.search-result-header a {
    font-weight: bold;
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
}

.search-result-header .separator:after {
    content: "|";
}

@media (min-width:992px) and (max-width: 1199px) {
    .search-from .input-group {
        width: 380px;
    }
}

@media (max-width:992px) {
    .search-from .btn-close {
        right: 0px;
    }
    .search-from {
        padding-right: 25px;
    }
    .search-from .input-group {
        width: 350px;
    }
}


/*END SEARCH PAGE*/


/*ANIMAL INFO: Most viewed animals*/

.widget-animal-info-list ul.list-items {
    box-sizing: border-box;
    display: block;
}

.widget-animal-info-list {
    padding-left: 31.5px;
    padding-right: 31.5px;
}

.widget-animal-info-list ul.list-items:before {
    display: table;
    content: " ";
}

.widget-animal-info-list ul.list-items:after {
    clear: both;
    display: table;
    content: " ";
}

.widget-animal-info-list ul.list-items li {
    display: block;
    width: 14%;
    border: 1px solid #22496d;
    float: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    padding: 15px;
    margin-right: 1%;
    margin-left: 1%;
    margin-top: 15px;
}

@media (max-width: 992px) {
    .widget-animal-info-list ul.list-items li {
        width: 48%;
    }
}

@media (max-width: 669px) {
    .widget-animal-info-list ul.list-items li {
        width: 98%;
    }
}

.widget-animal-info-list ul.list-items li span {
    color: #aaaaaa;
}

.widget-animal-info-list ul.list-items h4 {
    margin: 0px;
}

.animal-info-male {
    background: url(img/im_4.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.animal-info-female {
    background: url(img/im_3.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}


/*END: ANIMAL INFO: Most viewed animals*/


/*Temp Fix for missing animal search functionality*/

.ad_link {
    display: none;
    padding: 5% 0 0 0;
    font-size: 1.5em;
    color: white;
    /* width: 30%; */
}

.ad_link:hover {
    color: white;
}

@media (max-width: 991px) {
    .quick-search {
        display: none;
    }
    .ad_link {
        display: block;
    }
}

.ad-slider .item.active {
    min-height: 300px !important;
}

.ad-slider .item-box-header {
    font-size: 33px !important;
}

.ad-slider .item-box {
    min-height: auto !important;
}


/* JOB-BOARD */

.job-board-header-container {
    background-color: #f1f1f1;
    padding: 20px;
    margin-bottom: 20px;
}

.job-board-header-container h2,
.widget-item h2 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.job-content-detail .job-blocks-content-body {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
    border: 1px solid #ddd;
    background-color: #fff;
    margin-left: 10px !important;
    margin-right: 10px !important;
    margin-top: -40px !important;
    display: flex;
}

.job-content-detail .valueBlock {
    padding: 30px;
}

.detail-jobs-board .container {
    overflow: visible;
}

.header-job-details .back {
    background-image: url("img/591276-arrow-right-32.png");
    background-position: center center;
    background-repeat: no-repeat;
    width: 50px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    left: 15;
    top: 4px;
}

.header-job-details .title {
    margin-left: 55px;
    border-left: 1px solid #ccc;
    padding-left: 15px;
}

.header-job-details .container {
    padding: 0px;
}

.titleValue {
    font-size: 26px;
    color: #264c70;
    font-weight: 400;
    margin-top: -6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-job-details .titleValue {
    overflow: visible;
    text-overflow: none;
    white-space: normal;
}

.widget-item h2 {
    color: #264c70;
    margin: 0px;
}

.job-board-header-container .text,
.widget-text {
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.widget-text {
    opacity: .8;
    margin-top: 5px;
}

.job-board-header-container a {
    color: #1e4163;
    border-bottom: 1px solid #8995a1;
    transition-duration: .3s;
    text-decoration: none;
}

.widget-block {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
    vertical-align: top;
}

.widget-block>div {
    width: 49%;
    display: inline-block;
    vertical-align: top;
}

.job-board-layout a:hover {
    color: #122f4a;
    border-bottom: 1px solid transparent;
    text-decoration: none;
}

.job-board-layout a.jssocials-share-link:hover {
    border-bottom: none !important;
}

.job-board-layout .page.content-item {
    display: none;
}

.title-text-icon {
    font-family: Lato;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    padding-left: 40px;
    background-image: url("img/title-icon.png");
    background-position: 0 center;
    background-repeat: no-repeat;
    display: table-cell;
    height: 41px;
    vertical-align: middle;
}

.image-title {
    background-image: url("img/job-board-head-image.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 4px;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.row-flex1 {
    display: flex;
    flex-wrap: wrap;
}

.description-webpart,
.description {
    font-size: 12px;
    font-weight: 400;
    color: #333;
    opacity: .7;
}


/*
.value {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
*/

.value-webpart {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    opacity: 1;
    display: block;
    margin-top: -3px;
}

.job-board-layout .widget-header {
    height: 100px;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    padding-top: 5px;
    background-color: #f1f1f1;
}

.header-job-details {
    height: auto;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    padding-top: 7px;
    background-color: #f1f1f1;
    padding-bottom: 50px;
    margin-top: 0px;
}

.icons {
    padding-top: 2px;
    text-align: right;
}

.icons>div {
    cursor: pointer;
}

.twitter {
    background-image: url("img/square-twitter-24.png");
    background-position: center center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    display: inline-block;
    background-size: 40px 40px;
    margin-left: 5px;
}

.description.small {
    font-size: 12px;
}

.description-block {
    background-color: #f1f1f1;
    border-right: 1px solid #ddd;
    padding: 30px;
}

.description-block>div>div {
    margin-bottom: 10px;
}

.facebook {
    background-image: url("img/square-facebook-24.png");
    background-position: center center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    display: inline-block;
    background-size: 40px 40px;
    margin-left: 5px;
}

.like {
    background-image: url("img/like.png");
    background-position: center center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    display: inline-block;
    background-size: 40px 40px;
    margin-left: 5px;
}

.email {
    background-image: url("img/mail.png");
    background-position: center center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    display: inline-block;
    background-size: 40px 40px;
    margin-left: 5px;
}

.detail-jobs-board .wrap>.container>.row>.col-lg-12.col-md-12 {
    position: static;
    padding: 0;
}

.widget-header>div {
    padding: 0px !important;
}

.widget-header>.col-sm-1 {
    text-align: right;
}

.widget-header a {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    background-image: url("img/arrow.png");
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 16px;
    margin-right: 5px;
    margin-top: 10px;
    display: inline-block;
}

.widget-body {
    margin-top: -50px;
    padding: 0px;
    margin-bottom: 20px;
}

.widget-item {
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

.widget-item+.widget-item {
    padding-left: 0px;
}

.widget-item>div {
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
    background-color: #fff;
    padding: 20px;
}

.widget-header a:hover {
    color: #122f4a;
    border-bottom: 1px solid #8995a1;
    text-decoration: none;
}

.widget-item:hover>div {
    background-color: #32495e;
    box-shadow: 0 9px 50px rgba(15, 60, 110, .50);
    border: 1px solid #32495e;
    z-index: 11111;
    position: relative;
    margin-bottom: -76px;
}

.detail-job-types-term .widget-item:hover>div {
    margin-bottom: -70px;
}

.detail-job-types2 .widget-item:hover>div {
    margin-bottom: -70px;
}

.seeAll-block {
    text-align: right;
}

.widget-item:hover>div .widget-block {
    border-color: rgba(221, 221, 221, 0.25);
}

.widget-item:hover>div * {
    color: #fff;
}

.job-blocks-content-body .value {
    display: block;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-blocks-content.widget-item {
    padding-left: 0px;
    padding-right: 0px;
}

.job-types-term.content-item header {
    height: 80px;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    padding-top: 5px;
    background-color: #f1f1f1;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
}

.job-types-term.content-item header h1 {
    font-size: 20px;
    margin-top: 9px;
    margin-bottom: 6px;
    line-height: 15px;
    color: #333;
}

.job-types-term.content-item header .published {
    opacity: .8;
    display: none;
}

.job-types-term ul.content-items {
    margin-top: -35px;
}

.job-types-term ul li {
    display: inline-block;
    width: 31%;
    vertical-align: top;
    margin-bottom: 20px;
    margin-right: 2%;
}

.job-types-term ul li:nth-child(3n) {
    margin-right: 0%;
}

.job-types2.content-item header {
    height: 80px;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    padding-top: 5px;
    background-color: #f1f1f1;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
}

.job-types2.content-item header h1 {
    font-size: 20px;
    margin-top: 9px;
    margin-bottom: 6px;
    line-height: 15px;
    color: #333;
}

.job-types2.content-item header .published {
    opacity: .8;
    display: none;
}

.job-types2 ul.content-items {
    margin-top: -35px;
}

.job-types2 ul li {
    display: inline-block;
    width: 31%;
    vertical-align: top;
    margin-bottom: 20px;
    margin-right: 2%;
}

.job-types2 ul li:nth-child(3n) {
    margin-right: 0%;
}

.job-blocks-content-body .widget-text {
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-icons {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    border-color: rgba(221, 221, 221, 0.25);
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
    -moz-transition-duration: .2s;
    transition-duration: .2s;
}

.widget-item:hover .main-icons {
    display: block;
}

.main-icons div:first-child {
    margin-left: 0;
}


/* MOBILE */

@media (max-width: 768px) {
    .col-flex2 {
        padding-bottom: 20px;
    }
    .job-board-header-container>.container {
        width: auto;
    }
    .detail-jobs-board .wrap>.wrapper+.container {
        width: 100%;
    }
    .job-types-term ul li {
        display: inline-block;
        width: 48%;
        vertical-align: top;
        margin-bottom: 20px;
    }
    .job-types-term ul li:nth-child(odd) {
        margin-right: 2%;
    }
    .job-types-term ul li:nth-child(even) {
        margin-right: 0%;
    }
    .job-types2 ul li {
        display: inline-block;
        width: 48%;
        vertical-align: top;
        margin-bottom: 20px;
    }
    .job-types2 ul li:nth-child(odd) {
        margin-right: 2%;
    }
    .job-types2 ul li:nth-child(even) {
        margin-right: 0%;
    }
    .image-title {
        margin-top: 20px;
    }
    .widget-item+.widget-item {
        padding-left: 10px;
    }
    .widget-item {
        margin-bottom: 10px;
    }
    .description-block,
    .valueBlock {
        width: 100%;
        display: block;
        padding: 20px;
    }
    .description-block {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }
    .header-job-details .container {
        padding-left: 25px;
        padding-right: 25px;
    }
    .job-content-detail .job-blocks-content-body {
        margin-left: 20px;
        margin-right: 20px;
        flex-wrap: wrap;
        top: 110px;
    }
    .icons {
        text-align: left;
        margin-left: 70px;
        border-left: 1px solid #ccc;
        padding-left: 12px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .widget-body .widget-item:nth-child(3) {
        display: none;
    }
    .widget-body .widget-item {
        width: 50% !important;
    }
    .job-types-term ul li {
        display: inline-block;
        width: 48%;
        vertical-align: top;
        margin-bottom: 20px;
    }
    .job-types-term ul li:nth-child(odd) {
        margin-right: 2%;
    }
    .job-types-term ul li:nth-child(even) {
        margin-right: 0%;
    }
    .job-types2 ul li {
        display: inline-block;
        width: 48%;
        vertical-align: top;
        margin-bottom: 20px;
    }
    .job-types2 ul li:nth-child(odd) {
        margin-right: 2%;
    }
    .job-types2 ul li:nth-child(even) {
        margin-right: 0%;
    }
    .row-flex1 {
        flex-wrap: nowrap;
    }
}

@media (max-width: 500px) {
    .job-types-term ul li {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    .job-types2 ul li {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    .job-blocks-content.widget-item {
        padding-left: 0px;
        padding-right: 0px;
    }
    .header-job-details .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    .titleValue {
        font-size: 18px;
    }
    .icons>div {
        /* width: 30px;*/
        height: 30px;
    }
    .job-content-detail .job-blocks-content-body {
        margin-left: 0px;
        margin-right: 0px;
        flex-wrap: wrap;
        top: 85px;
    }
    .header-job-details .title {
        padding-top: 5px;
    }
}