/*-- Use For Custom Styling --*/

/* ===================================
Google font
====================================== */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:100,200,400,500,600,700,800');
@import url('https://fonts.googleapis.com/css?family=BenchNine:200,300,400,600,700,800');
html {
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    background-color: #f1f1f1;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px !important;
    color: #212121 !important;
    font-weight: 500;
}

hr.primary {
    max-width: 80px;
    border: 2px solid #00840b;
}

hr.white {
    max-width: 80px;
    border: 2px solid #ffffff;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}

.pd10 {
    padding: 10px;
}

.pd20 {
    padding: 20px;
}

.pd30 {
    padding: 30px;
}

.pd40 {
    padding: 40px;
}

.mb-4, .my-4 {
    margin-bottom: 1.5rem !important
}

.img-fluid {
    max-width: 100%;
    height: auto
}

.rounded {
    border-radius: .25rem !important
}

.rounded-circle {
    border-radius: 50% !important
}

.pd-section {
    padding: 0 10px 0 10px;
}

a {
    color: #212121;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

a:hover, a:focus {
    color: #00840b;
}

p {
    font-size: 15px !important;
    font-family: 'Open Sans', sans-serif !important;
    color: #212121 !important;
    line-height: 1.5 !important;
    font-weight: 500;
    text-align: justify !important;
}

ul {
    list-style: circle;
}

.text-primary {
    color: #a0522d !important;
}

.text-large {
    font-size: 18px;
}

.text-medium {
    font-size: 14px;
}

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

.font-weight-600 {
    font-weight: 600;
}

blockquote {
    color: #212121;
    font-size: inherit;
    border-left: 5px solid #ccc;
    padding: 0.5em 10px;
}

/*h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 600;
    color: #212121;
    padding: 0;
}*/

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    color: #212121;
    font-weight: 600;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

.line {
    position: relative;
}

.line:after {
    content: '';
    position: absolute;
    right: 0;
    border-right: 1px solid #cfc7c0;
    top: 0;
    bottom: 0;
}

.main-wrapper{
    background-color: #ffffff;
    border: 1px solid #eee;
    margin-top: 8px;
    /*-webkit-box-shadow: 0px 1px 10px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 1px 10px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 1px 10px rgba(50, 50, 50, 0.75);*/
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding: 0 0 0 0;
    width: 100%
}

@media (min-width:576px) {
    .container {
        max-width: 540px
    }
}

@media (min-width:768px) {
    .container {
        max-width: 720px
    }
}

@media (min-width:992px) {
    .container {
        max-width: 960px
    }
}

@media (min-width:1200px) {
    .container {
        max-width: 1200px
    }
}

/*========================================
Header & Navigation Menu
 =========================================*/

header {
    position: relative;
    width: 100%;
    z-index: 10000000000;
    background-color: #fff;
}

.top-bar {
    padding: 8px 0;
    background-color: #a0522d;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
}

.top-bar .top-list {
    margin-right: .5rem
}

.top-bar .top-list ul {
    margin-bottom: 0
}

.top-bar .top-list ul li {
    display: inline
}

.top-bar .top-list ul li>a {
    margin-right: .8rem;
    color: #fff;
}

.top-bar .top-list ul li>a:hover {
    color: #fafafa;
    text-decoration: none;
}

.top-bar i {
    color: #ffffff;
    font-size: 10px;
    font-weight: 400;
    margin-left: .875rem;
    padding: 6px 0;
}

.top-bar .socials i {
    font-size: 20px;
}

/*logo-bar */

.logo-bar {
    background: url(../img/Tanzania-flag.jpg) no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
    color: #fff;
    position: relative;
    z-index: 1
}

.logo-bar:before {
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, .3);
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0
}

.title {
    color: #f5f5f5;
    margin-bottom: 2rem;
    font-weight: 700
}

/*=====================================
Navigation menu
==================================== */

.main-navigation {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #ddd;
    border-bottom: 4px solid #a0522d;
    margin-top: 0;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu>li {
    display: inline-block;
    transition: 0.3s all ease-in-out;
    height: 60px;
    line-height: 60px;
    position: relative;
    padding: 0 20px;
}

.nav-menu>li::after, .nav-menu .current-menu-item::after {
    content: "";
    display: block;
    width: 100%;
    background: transparent;
    z-index: 101;
    transition: 0.6s all ease-in-out;
}

.nav-menu>li:hover::after, .nav-menu>.current-menu-item::after, .nav-menu>.current-menu-ancestor::after {
    text-decoration: none;
    display: block;
}

.nav-menu li:hover ul {
    opacity: 1;
    position: absolute;
}

.nav-menu>li a {
    display: block;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    color: #444444;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease 0s;
}

.nav-menu li>a i {
    margin-left: 5px;
}

.nav-menu>li a:hover, .nav-menu .current-menu-item>a {
    color: #1B5E20;
    text-decoration: none;
}

.nav-menu li ul.sub-menu {
    display: none;
    opacity: 1;
    transform: scaleY(1);
    visibility: visible;
}

.nav-menu li:hover>.sub-menu {
    display: block;
    margin: 0;
    list-style-type: none;
    border: 1px solid #e0e0e0;
    position: absolute;
    z-index: 101;
}

.nav-menu li:hover>.sub-menu li {
    position: relative;
    background: #ffffff;
    margin-left: -40px;
    border-top: none;
}

.nav-menu li .sub-menu li:first-child {
    border-top: 4px solid #a0522d;
}

.nav-menu li .sub-menu li:last-child {
    border-bottom: 0;
}

.nav-menu li:hover>.sub-menu li a {
    padding: 12px 20px;
    line-height: 14px;
    text-transform: none;
    transition: all 0.3s ease 0s;
    width: 250px;
    font-size: 12px;
    border-bottom: 1px solid #eee;
    font-weight: 600 !important;
    color: #424242;
}

.nav-menu li .sub-menu li a:hover {
    background: #0d7015;
    text-decoration: none;
    color: #ffffff;
}

.nav-menu li:hover>.sub-menu li .sub-menu {
    position: absolute;
    top: 0px;
    left: 250px;
    border-left: 0
}

.nav-menu li.menu-item-has-children {
    position: relative;
}

.nav-menu li.menu-item-has-children:before {
    font-family: FontAwesome;
    content: "\f107";
    position: absolute;
    right: 0;
    top: 0;
}

.nav-menu li .sub-menu li.menu-item-has-children:before {
    display: none;
}

.nav-menu li .sub-menu li.menu-item-has-children a:before {
    font-family: FontAwesome;
    content: "\f107";
    position: absolute;
    right: 2%;
    top: 30%;
}

/* sticky menu */

/* The sticky class is added to the navbar with JS when it reaches its scroll position */

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */

.sticky+.content {
    padding-top: 60px;
}

/* ------------------------------------
    02. Global Class
---------------------------------------*/

.sec-title h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 45px !important;
    color: #a0522d;
    margin-bottom: 0;
}

.sec-title h4 {
    font-size: 24px;
    color: #a0522d !important;
    line-height: 45px !important;
    text-transform: uppercase;
    font-weight: 700;
}

.readon {
    position: relative;
    display: inline-block;
    padding: 4px 10px;
    line-height: normal;
    background: #a0522d !important;
    color: #fff !important;
    transition: all 0.3s ease 0s;
    text-transform: uppercase;
    border-radius: 30px;
}

.readon:hover, .readon:focus {
    background: #21aa50;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

.readon.border {
    background: transparent;
    border: 1px solid #00840b;
    color: #fff !important;
}

.readon.border:hover {
    color: #fff;
    opacity: .8;
}

.readon.border.white {
    border-color: #fff;
    color: #fff;
}

.readon.border.white:hover {
    color: #4caf50;
    background: #fff;
}

.pt-10 {
    padding-top: 10px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-30 {
    padding-top: 30px;
}

.pt-45 {
    padding-top: 45px;
}

.pt-60 {
    padding-top: 60px;
}

.pt-70 {
    padding-top: 70px;
}

.pt-80 {
    padding-top: 80px;
}

.pt-100 {
    padding-top: 100px;
}

.pb-40 {
    padding-bottom: 40px;
}

.pb-45 {
    padding-bottom: 45px;
}

.pb-60 {
    padding-bottom: 60px;
}

.pb-70 {
    padding-bottom: 70px;
}

.pb-80 {
    padding-bottom: 80px;
}

.mt-5 {
    margin-top: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-45 {
    margin-top: 45px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-100 {
    margin-top: 100px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-45 {
    margin-bottom: 45px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-70 {
    margin-bottom: 70px;
}

.mr-25 {
    margin-right: 25px;
}

.mr-30 {
    margin-right: 30px;
}

.margin-remove {
    margin: 0 !important;
}

.display-table {
    display: table;
    height: 100%;
    width: 100%;
}

.display-table-cell {
    display: table-cell;
    vertical-align: middle;
}

.white-color {
    color: #fff !important;
}

/* ------------------------------------
    06. About Us
---------------------------------------*/
.sec-title h4, .exp-title, .rs-about .about-exp {
    color: #00840b !important;
}

.rs-about .wpb_wrapper p {
    color: #616161 !important;
    line-height: 32px !important;
    text-align: justify;
}

.rs-about .about-desc {
    font-size: 15px;
    line-height: 30px;
}

.rs-about .about-exp {
    padding: 20px 25px;
}

.rs-about .about-exp .exp-title {
    font-size: 100px;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 100px;
}

.rs-about .about-exp .exp-desc {
    font-size: 27px !important;
    line-height: 28px !important;
    margin-bottom: 0;
    color: #666 !important;
}

.rs-about .wpb_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----------------------------------
    07. Services
-------------------------------------*/

.rs-services-1 {
    width: 100%;
    padding: 10px 0 0 0;
}

.rs-services .services-item {
    padding: 20px 25px 60px;
    z-index: 10;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 36px;
}

.rs-services .services-item:hover .services-desc:after {
    background: #4caf50;
    width: 100px;
}

.rs-services .services-item:hover:after {
    opacity: 1;
}

.rs-services .services-icon {
    text-align: center;
    font-size: 64px;
    color: #a0522d;
}

.rs-services .services-title {
    text-align: center;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 16px;
    line-height: 1.1;
}

.rs-services h2.services-title a {
    color: #212121;
    font-weight: 700;
}

.rs-services h2.services-title a:hover {
    color: #212121;
    text-decoration: none;
}

.rs-services .services-desc {
    position: relative;
    font-size: 14px;
    color: #616161;
}

.rs-services .services-desc:after {
    content: '';
    position: absolute;
    left: 0;
    height: 2px;
    width: 50px;
    bottom: -32px;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

/* ----------------------------------
    08. Callto action
-------------------------------------*/

.rs-cta {
    padding: 60px 0 30px 0;
}

.rs-cta h2.custom_heading a {
    color: #fff;
    font-size: 36px;
    line-height: normal;
    font-weight: 800;
}

.rs-cta h2.custom_heading a:hover {
    color: #fff;
    text-decoration: none;
}

.rs-cta .vc_general.vc_cta3.vc_cta3-style-classic, .rs-cta .vc_general.vc_cta3.vc_cta3-style-custom {
    border: none !important;
    margin-top: 10px;
}

.rs-cta .vc_btn3-container a.vc_btn3-style-outline-custom {
    border-width: 2px !important;
    padding: 12px 30px !important;
    text-transform: uppercase;
    border-radius: 30px;
    background-color: #ffffff;
    border-color: #ffffff;
    color: #212121;
    font-weight: 600;
    font-size: 16px;
}

.rs-cta .vc_btn3-container a.vc_btn3-style-outline-custom:hover {
    text-decoration: none;
}

/* -----------------------
    12. Newsletter
--------------------------*/

.rs-newsletter {
    text-align: center;
    width: 100% !important;
    height: 100% !important;
    background-image: url("../img/Capture2.jpg");
    background-size: cover;
    background-position: center center;
}

.rs-newsletter .overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
}

.rs-newsletter h3 {
    font-size: 30px !important;
    text-align: center !important;
    font-weight: bold !important;
    margin-bottom: 22px !important;
    color: #ffffff !important;
}

.rs-newsletter p {
    text-align: center !important;
    font-size: 18px !important;
    margin-bottom: 16px !important;
    line-height: 30px !important;
    color: #fff !important;
}

.mc4wp-form {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-top: 15px;
}

.mc4wp-form input[type=submit] {
    position: absolute;
    top: 15px;
    right: 0;
    height: 48px;
    min-width: 200px;
    background-color: #00840b;
    border: 0;
    color: #fff;
    transition: all 0.3s ease 0s;
    text-transform: uppercase;
}

.mc4wp-form input[type=text], .mc4wp-form input[type=url], .mc4wp-form input[type=tel], .mc4wp-form input[type=number], .mc4wp-form input[type=email] {
    width: 100%;
    height: 48px;
    padding: 5px 20px;
    outline: none;
    color: #616161;
    background-color: #ffffff;
    border: 1px solid #ffffff;
}

.mc4wp-form ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #616161;
}

.mc4wp-form ::-moz-placeholder {
    /* Firefox 19+ */
    color: #616161;
}

.mc4wp-form :-ms-input-placeholder {
    /* IE 10+ */
    color: #616161;
}

.mc4wp-form :-moz-placeholder {
    /* Firefox 18- */
    color: #616161;
}

.mc4wp-form input[type="submit"]:hover, .wpcf7-form .wpcf7-submit:hover {
    opacity: 0.9;
}

/* ------------------------------------
    19. Counter up
  ---------------------------------------*/

.rs-counter {
    text-align: center;
    width: 100% !important;
    height: 100% !important;
    padding: 100px 0;
    background-image: url("../img/farmers-bg.jpg");
    background-size: cover;
    background-position: center center;
}

.rs-counter:before {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
}

.rs-counter-title {
    padding: 0 100px;
}

.rs-counter-title p {
    text-align: center !important;
    font-size: 18px !important;
    margin-bottom: 30px;
    color: #ffffff !important;
}

.counter-top-area {
    position: relative;
    text-align: center;
}

.counter-top-area .rs-counter-list {
    text-align: center;
}

.counter-top-area h2 {
    font-size: 40px;
    font-weight: 700;
    padding: 0;
    color: #ffffff;
    margin: 20px 0 10px;
}

.counter-top-area h3 {
    color: #cccccc;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 0;
    margin-left: 5px;
    font-size: 20px;
}

.counter-top-area .rs-count {
    padding: 0 0 25px 0;
}

.counter-top-area .rs-counter-list i {
    color: #00840b;
    display: inline-block;
    font-size: 60px;
}

.counter-top-area .rs-counter-list i:hover {
    color: #00840b;
}

/*=====================================
Page header
==================================== */

section {
    width: 100%;
}

.page-wrapper {
    min-height: 650px;
    height: auto;
    background-color: #ffffff;
    color: #212121;
}

.page-bg {
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    padding: 160px 0;
}

.bg-1 {
    width: 100% !important;
    height: 100% !important;
    background-image: url("../img/group_esrf.jpg");
}

.bg-2 {
    width: 100% !important;
    height: 100% !important;
    background-image: url("../img/kida-remarks.jpg");
}

.page-heading {
    background-color: #fafafa;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #eceef1;
    text-align: center;
    position: relative;
    padding: 10px 0 10px;
}

.page-heading:before {
    content: '';
    display: block !important;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.page-heading .page-title {
    float: left;
    text-align: left;
    width: 100%;
}

.page-heading .page-title h4{
    padding: 0 10px;
    position: relative;
}

.page-heading .page-title>ul {
    float: left;
    list-style: outside none none;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

.page-heading .page-title>ul li {
    color: #424242;
    font-weight: 600;
    display: inline-block;
    font-size: 14px;
    padding: 0 10px;
    position: relative;
}

.page-heading .page-title>ul li a {
    color: #a0522d;
}

.page-heading .page-title>ul li::before {
    content: "/";
    position: absolute;
    right: -2px;
    top: 1px;
}

.page-heading .page-title>ul li:last-child:before {
    display: none;
}

/*==================================================
Page content
===================================================*/

.page-content {
    width: 100%;
    left: 0;
    padding: 0 10px;
    margin: 20px 0 10px 0;
}

page-content ul {
    margin: 0;
    padding: 0;
}

.page-content ol {
    font-weight: 300;
    font-size: 15px !important;
    text-align: justify !important;
}

.page-content li {
    font-weight: 300;
    font-size: 15px !important;
    text-align: justify !important;
}

.page-content blockquote {
    font-weight: 300;
    text-align: justify !important;
}

.page-content img {
    display: block;
    width: 100%;
    padding: 0 10px 0 10px !important;
    object-fit: cover;
}

@media (max-width: 480px) {
    .page-content {
        width: 100%;
        left: 0;
        margin: 20px 0 10px 0;
    }
    .page-content img {
        display: block;
        width: 100%;
        padding: 0 4px 0 4px !important;
        object-fit: cover;
    }
}

/* when not active use specificity to override the !important on border-(color) */

.nav-tabs {
    border-bottom: 2px solid #E0E0E0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-tabs li.nav-item {
    border-radius: 0 !important;
}

.nav-tabs li.nav-item a {
    border-radius: 0;
    border: 0;
    font-size: 11px;
    font-weight: 600;
    color: #424242;
}

.nav-tabs li.nav-item a.active {
    color: #00840b;
    border-bottom: 2px solid #00840b;
}

.tab-content {
    margin: 0;
    padding: 0;
}

.tab-content .tab-pane {
    margin: 0;
    padding: 10px 0 10px 0;
}

.tab-content .tab-pane a {
    font-weight: 600;
    color: #1565c0;
}

/*cards */

.card {
    border-radius: 0 !important;
}

.card .card-header {
    width: 100%;
    border-radius: 0 !important;
    margin: 0;
    padding: 0;
    background-color: #00840b;
}

.card .min-height {
    min-height: 60px;
    height: auto;
}

.card .card-header h6 {
    font-size: 14px;
    padding: 4px 8px;
    line-height: 1.3 !important;
    margin: 0;
    text-align: left;
    color: #ffffff !important;
}

.card .card-header h6 a {
    text-decoration: none !important;
    color: inherit;
    transition: all .3s ease
}

.card .card-header h6 a:hover {
    color: #F5F5F5;
}

.card .card-body {
    margin: 0;
    padding: 0;
    border: 0;
}

.card .card-footer {
    border-radius: 0 !important;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    border: 0;
}

.card .card-footer a {
    float: left;
    font-size: 13px;
    font-weight: 600;
    padding: 0 8px 4px 8px;
    color: #616161;
}

.card .card-footer .readon {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    margin: 0 0 10px 5px;
    line-height: normal;
    background: #a0522d !important;
    color: #fff !important;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
    border-radius: 30px;
}

.card .card-footer .readon i.fa {
    font-size: 12px;
    font-weight: 600;
    padding: 0 0 0 6px;
}

.card .card-footer .readon:hover, .card .card-footer .readon:focus {
    background: #21aa50;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

.card .card-footer .readon.border {
    background: transparent;
    border: 1px solid #00840b;
    color: #fff !important;
}

.card .card-footer .readon.border:hover {
    color: #fff;
    opacity: .8;
}

.card .card-footer a.btn {
    font-size: 12px;
    font-weight: 500;
    padding: 8px;
    transition: color .2s linear;
    color: #ffffff;
}

.card .card-footer a .fa {
    font-size: 10px;
    vertical-align: middle;
    color: inherit;
}

.card .card-footer span {
    vertical-align: middle;
    line-height: 16px;
    font-weight: 600;
}

.card .card-footer a:hover {
    text-decoration: none
}

.item_wr {
    width: 100%;
    background-color: #ffffff !important;
    border: 1px solid #eeeff1;
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, .1) !important;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .1) !important;
    -webkit-transition: background-color .3s ease !important;
    transition: background-color .3s ease !important;
}

/*control image per size */

.item_wr .item_thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
}

.item_wr .thumbnail {
    width: 100%;
    height: 40vh;
}

.item_wr .thumbnail img {
    max-width: 100%;
    max-height: 100%;
    /*display: block;*/
    object-fit: cover;
}

/* Child Text Container */

.content_img div {
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    background: #00840b;
    color: white;
    font-family: inherit;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: visibility 0s, opacity 0.5s linear;
    transition: visibility 0s, opacity 0.5s linear;
}

/* Hover on Parent Container */

.content_img:hover {
    cursor: pointer;
}

.content_img:hover div {
    width: 100%;
    height: 100%;
    visibility: visible;
    opacity: 0.7;
}

span.middle {
    position: absolute;
    bottom: 20%;
    left: 10px;
    right: 10px;
    color: #ffffff;
    opacity: 1;
    font-weight: 500;
    font-size: 13px;
}

@media (max-width: 991px) {
    .item_wr .item_thumbnail img {
        display: block;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .item_wr .item_thumbnail img {
        display: block;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .item_wr .item_thumbnail img {
        display: block;
        width: 100%;
        height: 100%;
    }
}

.item_wr .item_thumbnail a {
    position: relative;
    display: block
}

.item_wr .item_thumbnail a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .6);
    transition: all .3s ease;
    z-index: 1;
    opacity: 0
}

.item_wr .content h6:after {
    display: none
}

.item_wr .content {
    padding: 4px 8px;
}

.item_wr .content h6 {
    padding: 0;
    font-size: 14px;
    line-height: 1.3;
    color: #424242 !important;
}

.item_wr .content h6 a {
    text-decoration: none !important;
    color: inherit;
    transition: all .3s ease
}

.item_wr .content h6 a:hover {
    color: #00840b;
}

.item_wr .content h6:after {
    display: none
}

.item_wr .content p {
    padding: 0;
    margin: 0;
    line-height: 20px;
    font-size: 13px !important;
    color: #616161 !important;
    text-align: justify;
}

.item_wr .content span {
    padding: 0;
    line-height: 12px;
    font-size: 12px !important;
    color: #616161 !important;
    text-align: left;
}

.item_wr .content .meta {
    padding: 0;
    margin: 0;
    list-style: none;
}

.item_wr .content .meta li {
    display: inline-block;
    margin: 0 0 2px;
    position: relative;
    font-size: 12px !important;
    color: #424242 !important;
    line-height: 18px;
}

.item_wr .content .meta li:last-child {
    float: right;
}

.item_wr .content .meta li .fa {
    position: absolute;
    top: 2px;
    left: 0;
    width: 14px;
    text-align: center;
    color: #00840b;
    font-size: 14px
}

.item_wr .content .stm-event__meta span.expired {
    font-weight: 600;
}

/*==================================================
 Director general
===================================================*/
.rs-dg-front {
    width: 100%;
    background-color: #f1f1f1;
    padding: 6px;
    height: 420px;
}

.rs-dg-img {
    text-align: center;
    padding: 2px;
    background-color: #ffffff;
}

.rs-dg-img > span{
    font-weight: 600;
    font-size: 13px;
}

.rs-dg-front h4 {
    font-size: 16px;
    padding: 10px 0 0 0;
    text-align: center;
    color: #0d7015;
}

.rs-dg-front h6 {
    text-align: center;
    font-size: 14px;
    color: #0d7015;
}

.rs-dg-front img.tpa-img-round {
    margin: auto;
    width: 100%;   
}

.rs-dg-front .welcom-intro {
    padding: 2px 5px;
}

/*==================================================
 Services
===================================================*/
.rs-services {
    width: 100%;
    background-color: #fff;
    padding: 6px;
    height: 420px;
}

.rs-services h5{
    text-align: left;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    color: #424242;
}

.rs-services ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rs-services li {
    margin-top: 6px;
    padding-top: 6px;
    line-height: 24px;
}

.rs-services li a {
    color: #424242;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.rs-services ul li a:hover, .footer ul li a:focus {
    color: #a0522d !important;
    text-decoration: none;
}

.rs-services ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    height: 5px;
    width: 5px;
    background-color: #a0522d;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

/*==================================================
 About centre
===================================================*/
.rs-about-centre {
    text-align: left;
    height: 420px;
    padding: 6px;
    background-color: #fff;
    border: 2px solid #eeeeee;
}

.rs-about-centre h5{
    text-align: left;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    color: #424242;
}

.rs-about-centre p{
    font-size: 14px !important;
    text-align: left !important;
    color: #616161 !important;
}

/*==================================================
 Carousel slide
===================================================*/
.carousel {
    position: relative;
    width: 100%;
    height: 420px;
    margin: 0;
    border: 2px solid #eeeeee;
    background-color: #f5f5f5;
    padding: 6px;
}

.carousel-item {
    width: 100% !important;
    height: 56vh;
}

.carousel-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover;
}

.carousel-caption {
    background: #3f3f3f !important;
    position: absolute;
    right: 0%;
    bottom: 0%;
    left: 0%;
    z-index: 10;
    padding: 10px;
    opacity: 0.9;
    color: #fff;
    text-align: left;
    text-shadow: none !important;
}

.carousel-caption h5 {
    color: #ffffff !important;
    font-size: 14px;
    text-align: justify;
}

.carousel-caption a {
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 767px) {
    .carousel-item {
        width: 100% !important;
        height: 360px;
    }
    .carousel-item img {
        width: 100% !important;
        height: 100% !important;
        background-size: cover;
        background-position: center;
        object-fit: cover;
    }
    .carousel-control-prev {
        visibility: hidden !important;
    }
    .carousel-control-next {
        visibility: hidden !important;
    }
    .carousel-caption h5 {
        padding: 6px;
        color: #ffffff !important;
        font-size: 10px !important;
        text-align: justify;
    }
}

@media only screen and (max-width: 480px) {
    .carousel-item {
        width: 100% !important;
        height: 180px;
    }
    .carousel-item img {
        width: 100% !important;
        height: 100% !important;
        background-size: cover;
        background-position: center;
        object-fit: cover;
    }
    .carousel-control-prev {
        visibility: hidden !important;
    }
    .carousel-control-next {
        visibility: hidden !important;
    }
    .carousel-caption {
        visibility: hidden !important;
    }
}

/*=====================================
  News
 ====================================*/

.posts_list>ul {
    padding: 0;
    margin: 0;
    list-style: none
}

.posts_list>ul>li {
    list-style: none;
    padding: 0 0 40px;
    margin: 0 0 49px;
    border-bottom: 1px solid #ddd
}

.posts_list>ul>li.sticky {
    background: #f2f2f2;
    padding: 40px
}

.posts_list>ul>li:last-child {
    padding-bottom: 50px;
    margin-bottom: 29px
}

.posts_list>ul>li h4 {
    padding-top: 0;
    font-weight: 600;
}

.posts_list>ul>li h4 a {
    padding-top: 0;
}

.posts_list>ul>li h4 a:hover {
    text-decoration: none !important;
}

.posts_list>ul.no-paginate>li:last-child {
    padding-bottom: 0;
    margin-bottom: 40px;
    border-bottom: none
}

.stm_post_info {
    position: relative;
    margin: 0 0 50px
}

.stm_post_info .post_thumbnail {
    position: relative;
    margin: 0 0 22px;
}

.stm_post_info .post_thumbnail img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.stm_post_info .post_excerpt {
    position: relative;
    margin: 0 0 28px
}

.stm_post_info .post_thumbnail {
    margin: 0
}

.stm_post_details {
    position: relative;
    margin: 0;
}

.stm_post_details ul {
    float: left;
    width: 70%;
    margin: 0;
    padding: 0
}

.stm_post_details ul li {
    position: relative;
    float: left;
    list-style: none;
    margin: 0 0 0 20px;
    padding: 0 0 0 21px;
    font-size: 13px !important;
}

.stm_post_details ul li:before {
    width: 1px;
    height: 12px;
    background: #ddd;
    position: absolute;
    left: 0;
    top: 3px
}

.stm_post_details ul li:first-child {
    margin: 0;
    padding: 0
}

.stm_post_details ul li:first-child:before {
    display: none
}

.stm_post_details ul li i {
    color: #00840b;
    font-size: 13px;
    vertical-align: baseline;
    margin: 0 5px 0 0
}

.stm_post_details .right-span {
    float: right;
    width: 30%;
    font-size: 13px !important;
    margin: -3px 0 0;
    text-align: right
}

.stm_post_details .right-span .fa {
    color: #00840b;
    font-size: 14px;
    margin: 0 8px 0 0
}

.stm_post_details .comments_num {
    float: right;
    width: 30%;
    font-size: 13px;
    margin: -3px 0 0;
    text-align: right
}

.stm_post_details .comments_num a {
    color: #777
}

.stm_post_details .comments_num .fa {
    color: #00840b;
    font-size: 16px;
    margin: 0 8px 0 0
}

.stm_post_details span {
    color: #212121;
}

.stm_post_details .download {
    float: right;
    width: 30%;
    font-size: 13px;
    margin: -3px 0 0;
    text-align: right
}

.stm_post_details img {
    max-width: 100%;
    height: auto;
    display: block
}

.stm_post_details ul li:before, ul.comment-list .children>li:before {
    content: ''
}

@media only screen and (max-width: 480px) {
    .posts_grid>ul>li {
        width: 100%
    }
    .posts_grid .post_date {
        display: inline-block
    }
    .stm_post_details .comments_num {
        clear: both;
        float: none;
        text-align: left;
        width: auto
    }
    .stm_post_details ul li.post_by, .stm_post_details ul li.post_cat, .stm_post_details ul li.post_date {
        margin: 0 0 10px
    }
    .page_404 strong {
        margin-top: 100px
    }
    .stm_post_details ul {
        width: auto
    }
    .our_partners .logo {
        float: none;
        margin: 0 0 30px;
        display: inline-block
    }
}

.post_bottom {
    margin: 20px 0 52px
}

.post_bottom .tags {
    font-size: 0
}

.post_bottom .tags a {
    display: inline-block;
    vertical-align: top;
    padding: 5px 8px 6px;
    font-size: 13px !important;
    color: #212121;
    border: 1px solid #ccc;
    margin: 0 6px 7px 0;
    text-decoration: none !important;
    text-transform: lowercase;
    transition: all .3s ease
}

.post_bottom .tags a:hover {
    background: #00840b;
    border-color: #00840b;
    color: #212121;
}

.post_bottom .share_buttons {
    white-space: nowrap;
    padding: 5px 0 0
}

.post_bottom .share_buttons .addtoany_header {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px 0 0;
    font-size: 11px;
    line-height: 1
}

.post_bottom .share_buttons label {
    font-size: 11px;
    color: #aaa;
    font-weight: 600;
    text-transform: uppercase;
    vertical-align: middle;
    display: inline-block;
    margin: 0 15px 0 0
}

.post_bottom .share_buttons .addtoany_list {
    display: inline-block;
    vertical-align: middle;
    margin: 0 -4px;
    line-height: 1 !important
}

.post_bottom .share_buttons .addtoany_list a {
    line-height: 1
}

.post_bottom .share_buttons .addtoany_list a span {
    vertical-align: middle
}

/*==================================================
Sidebar
=================================================*/

.sidebar-nav {}

.sidebar-nav h5 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.sidebar-nav ul li {
    border-bottom: 1px solid #eeeff1;
    background: #ffffff;
    margin: 0;
    padding: 0 23px 0 0;
}

.sidebar-nav ul li a {
    color: #212121;
    font-weight: 600;
    font-size: 13px;
    font-family: inherit;
    text-decoration: none !important;
    border-left: 5px solid transparent;
    display: inline-block;
    text-align: left;
    padding: 10px 0 10px 14px;
}

.sidebar-nav ul li.current-cat:hover>a, .sidebar-nav ul li.current-cat>a {
    border-left-color: #a0522d;
}

.sidebar-home {
    overflow: scroll;
    margin: 20px 0 20px;
    height: 250px !important;
    width: 100%;
}

.sidebar-home h6 {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
}

.sidebar-home .read_more {
    margin: 0;
}

.sidebar-home .read_more a {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: color .2s linear;
    color: #212121;
}

.sidebar-home .read_more a .stm_icon {
    margin: 0 0 0 5px;
    font-size: 18px;
    font-weight: 800;
    vertical-align: middle;
    color: #00840b
}

.sidebar-home .read_more a span {
    vertical-align: middle;
    line-height: 13px
}

.sidebar-home .read_more a:hover {
    color: #00840b;
    text-decoration: none
}

.latest-tweet {
    overflow: scroll;
    margin: 0 0 20px;
    height: 350px;
}

/*==================================================
Owl-carousel
=================================================*/

.owl-carousel {
    width: 100%;
}

.owl-carousel .partner {
    background: #ffffff;
    margin-bottom: 2px;
    padding: 20px 20px;
    width: 100%;
}

.owl-carousel .partner .img {
    width: auto;
    height: 80px;
}

.owl-carousel .owl-nav {
    border: 1px solid #818181;
    color: rgba(0, 0, 0, 0);
    position: relative;
    float: left;
    height: 33px;
    width: 33px;
}

.partner .img {
    width: auto;
    height: 80px;
}

/*=====================================
 Events
 =====================================*/

.event_lists {
    margin: 0;
}

.event_lists .no-event {
    margin-top: 20px;
}

.event_lists .no-event p {
    font-size: 14px;
    padding-bottom: 8px;
    padding-top: 8px;
}

.event_lists h5 {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 8px;
    padding-top: 8px;
    text-transform: uppercase;
}

.event_lists ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.event_lists ul li.item {
    width: 100%;
    display: inline-block;
    background-color: #ffffff !important;
    margin: 5px 0 5px 0;
    padding: 5px;
}

.upcoming {
    -webkit-animation: upcoming-event 2s infinite;
    /* Safari 4+ */
    -moz-animation: upcoming-event 2s infinite;
    /* Fx 5+ */
    -o-animation: upcoming-event 2s infinite;
    /* Opera 12+ */
    animation: upcoming-event 2s infinite;
    /* IE 10+, Fx 29+ */
}

@-webkit-keyframes upcoming-event {
    0%, 49% {
        background-color: #00840b;
    }
    50%, 100% {
        background-color: #B71C1C;
    }
}

.event-date {
    padding: 10px 30px 10px 30px;
    color: #ffffff;
    float: left;
    background: #00840b;
}

.event-date span {
    display: block;
    line-height: 1;
}

.event-date span.date-day {
    font-size: 28px;
    font-weight: 600;
}

.event-date span.date-month {
    font-size: 20px;
    font-weight: 600;
}

.event-date span.date-year {
    font-size: 18px;
    font-weight: 600;
    padding: 5px 0 0 0;
}

.event-info {
    margin-left: 100px;
    height: auto;
    padding-left: 10px;
}

.event-info h6 {
    padding: 0;
    font-size: 14px;
    line-height: 20px
}

.event-info h6 a {
    text-decoration: none !important;
    color: #424242;
    transition: all .3s ease
}

.event-info h6 a:hover {
    color: #00840b;
}

.event-info h6:after {
    display: none
}

.event-info p {
    line-height: 20px;
    font-size: 12px !important;
    color: #616161 !important;
    text-align: left;
}

.event-info>.paragraph p {
    line-height: 20px;
    font-size: 13px !important;
    color: #616161 !important;
    text-align: left;
}

.event_lists .read_more {
    margin-bottom: 20px !important;
}

.event_lists .read_more a {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: color .2s linear;
    color: #212121;
}

.event_lists .read_more a .stm_icon {
    margin: 0 0 2px 5px;
    font-size: 18px;
    font-weight: 800;
    vertical-align: middle;
    color: #00840b
}

.event_lists .read_more a span {
    vertical-align: middle;
    line-height: 13px
}

.event_lists .read_more a:hover {
    color: #00840b;
    text-decoration: none
}

/*=====================================
 News Lists
 =====================================*/

.news {
    margin: 0;
}

.news h5 {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 8px;
    padding-top: 8px;
    text-transform: uppercase;
}

.news-item {
    width: 100%;
    padding: 10px 0 0 0;
    background-color: #ffffff !important;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border: none;
}

.news-item .media-item {
    width: 100%;
}

/*control image per size */

.news-item .media-item img {
    width: 100%;
    height: 168px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .news-item .media-item img {
        display: block;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .news-item .media-item img {
        display: block;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .news-item .media-item img {
        display: block;
        width: 100%;
        height: 100%;
    }
}

.news-item .media-item a {
    position: relative;
    display: block
}

.news-item .media-item a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .6);
    transition: all .3s ease;
    z-index: 1;
    opacity: 0
}

.news-item .content {
    padding: 10px;
    font-size: 13px !important;
    transition: all .3s ease
}

/* for h3 title */

.news-item .content h3 {
    padding: 0;
    font-size: 16px;
    text-align: left;
    line-height: 24px;
    font-weight: 600;
    color: #212121 !important;
}

.news-item .content h3 a {
    color: inherit;
    transition: all .3s ease
}

.news-item .content h3 a:hover {
    color: #00840b;
    text-decoration: none !important;
}

.news-item .content h3:after {
    display: none
}

/* for h6 title */

.news-item .content h6 {
    padding: 0;
    font-size: 16px;
    text-align: left;
    line-height: 24px;
    color: #212121 !important;
}

.news-item .content h6 a {
    text-decoration: none !important;
    color: inherit;
    transition: all .3s ease
}

.news-item .content h6 a:hover {
    color: #a0522d;
}

.news-item .content h6:after {
    display: none
}

.news-item .content p {
    line-height: 20px;
    font-size: 14px !important;
    color: #424242 !important;
    text-align: justify;
}

.news-item .content .meta {
    padding: 0;
    margin: 0;
    list-style: none;
    bottom: 0 !important;
}

.news-item .content .meta li {
    display: inline-block;
    margin: 0 0 0 20px;
    padding: 0 0 0 20px;
    position: relative;
    line-height: 18px;
    font-size: 14px !important;
    font-weight: 500;
    color: #616161 !important;
    bottom: 0 !important;
}

.news-item .content .meta li:first-child {
    margin: 0;
}

.news-item .content .meta li:last-child {
    float: right;
}

.news-item .content .meta li .fa {
    position: absolute;
    top: 2px;
    left: 0;
    width: 14px;
    text-align: center;
    color: #a0522d;
    font-size: 14px
}

/* title_page */

.title-page {
    background-color: inherit;
    float: left;
    padding: 4px 20px 0 10px;
    text-transform: uppercase;
    width: 100%;
}

.title-page h5 {
    float: left;
    font-size: 20px;
    font-weight: 700;
}

.title-page h6 {
    float: right;
    font-size: 16px;
}

.title-page h6 a {
    color: #a0522d;
}

.title-page a .stm_icon {
    padding: 5px 0;
    font-size: 18px;
    font-weight: 800;
    vertical-align: middle;
    color: #a0522d;
}

.title-page a span {
    vertical-align: middle;
    line-height: 13px
}

.title-page a:hover {
    color: #a0522d;
    text-decoration: none
}

/*news lists */

.news_lists {
    margin: 0;
}

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

.news_lists .nothing p {
    font-size: 14px;
    padding-bottom: 8px;
    padding-top: 8px;
}

.news_lists h5 {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 8px;
    padding-top: 8px;
    text-transform: uppercase;
}

.news_lists ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news_lists ul li.item-wr {
    width: 100%;
    display: inline-block;
    background-color: #ffffff !important;
    margin: 5px 0 5px 0;
    padding: 5px;
}

.news_lists ul li.item-wr:hover {
    background: #eee;
    cursor: pointer;
}

.news_lists .thumbnail {
    float: left;
    margin: 2px 10px 2px 0;
    width: 120px;
    height: 90px;
}

.news_lists .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news_lists .content {
    margin-left: 10px !important;
    padding-left: 10px !important;
    height: auto;
}

.news_lists .content h6 {
    padding: 0;
    font-size: 14px;
    text-align: justify;
    line-height: 20px
}

.news_lists .content h6 a {
    text-decoration: none !important;
    color: #424242;
    transition: all .3s ease;
}

.news_lists .content h6 a:hover {
    color: #00840b;
}

.news_lists .content h6:after {
    display: none
}

.item-wr .content p {
    line-height: 20px;
    font-size: 13px !important;
    color: #616161 !important;
    text-align: left;
}

.item-wr .content .meta {
    padding: 0;
    margin: 0;
    list-style: none;
}

.item-wr .content .meta li {
    display: inline-block;
    position: relative;
    font-size: 12px;
}

.item-wr .content .meta li:last-child {
    float: right;
}

.news_lists .read_more {
    margin-top: 2px !important;
}

.news_lists .read_more a {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: color .2s linear;
    color: #212121;
}

.news_lists .read_more a .stm_icon {
    margin: 0 0 2px 5px;
    font-size: 18px;
    font-weight: 800;
    vertical-align: middle;
    color: #00840b
}

.news_lists .read_more a span {
    vertical-align: middle;
    line-height: 13px
}

.news_lists .read_more a:hover {
    color: #00840b;
    text-decoration: none
}

/*=================================================
Pagination
=================================================*/

ul.pagination {
    float: right;
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

ul.pagination>li {
    display: inline;
}

ul.pagination>li>a, ul.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

ul.pagination>li:first-child>a, ul.pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

ul.pagination>li:last-child>a, ul.pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

ul.pagination>li>a:hover, ul.pagination>li>span:hover, ul.pagination>li>a:focus, ul.pagination>li>span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

ul.pagination>.active>a, ul.pagination>.active>span, ul.pagination>.active>a:hover, ul.pagination>.active>span:hover, ul.pagination>.active>a:focus, ul.pagination>.active>span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #00840b;
    border-color: #00840b;
}

ul.pagination>.disabled>span, ul.pagination>.disabled>span:hover, ul.pagination>.disabled>span:focus, ul.pagination>.disabled>a, ul.pagination>.disabled>a:hover, ul.pagination>.disabled>a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

ul.pagination-lg>li>a, ul.pagination-lg>li>span {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
}

ul.pagination-lg>li:first-child>a, ul.pagination-lg>li:first-child>span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

ul.pagination-lg>li:last-child>a, ul.pagination-lg>li:last-child>span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

ul.pagination-sm>li>a, ul.pagination-sm>li>span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

ul.pagination-sm>li:first-child>a, ul.pagination-sm>li:first-child>span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

ul.pagination-sm>li:last-child>a, ul.pagination-sm>li:last-child>span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

/*==================================================
Footer
===================================================*/

.footer {
    background-color: #2f2f2f;
    color: #afb0b2;
}

.footer .footer-title {
    margin-bottom: 20px;
    padding-bottom: 5px;
    font-family: 'Open Sans', sans-serif !important;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
}

.footer .footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 1px;
    width: 50px;
    background-color: #a0522d;
}

.footer .footer-top {
    padding: 20px 0;
}

.footer p {
    font-size: 15px !important;
    margin: 0 0 26px;
    font-family: 'Open Sans', sans-serif !important;
    text-align: justify;
    color: #afb0b2 !important;
}

.footer strong {
    font-weight: 700 !important;
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer li {
    margin-top: 6px;
    padding-top: 6px;
    line-height: 24px;
}

.footer li a {
    color: #afb0b2;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer ul li a:hover, .footer ul li a:focus {
    color: #ffffff !important;
    text-decoration: none;
}

.footer ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    height: 5px;
    width: 5px;
    background-color: #a0522d;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* footer bottom */

.footer .footer-bottom {
    padding: 20px 0;
    border-top: 1px solid #555;
    font-size: 14px;
}

.footer .footer-bottom .copyright p {
    margin-bottom: 0;
}

.footer .footer-bottom .copyright a {
    color: #fff;
}

.footer .footer-bottom .copyright a:hover, .footer .footer-bottom .copyright a:focus {
    color: #afb0b2;
}

.footer .footer-bottom .footer-bottom-share {
    display: inline-block;
}

.footer .footer-bottom .footer-bottom-share ul {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
}

.footer .footer-bottom .footer-bottom-share ul li {
    list-style: none;
    display: inline-block;
}

.footer .footer-bottom .footer-bottom-share ul li+li {
    margin-left: 10px;
}

.footer .footer-bottom .footer-bottom-share ul li a {
    font-size: 15px;
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #a0522d;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease 0s;
    padding-left: 0;
}

.footer .footer-bottom .footer-bottom-share ul li a:hover {
    background-color: #a0522d;
    color: #fff;
}

.footer .footer-bottom .footer-bottom-share ul li a:after {
    background: none;
}

/** pure form  **/

.pure-form {
    width: 100%;
    margin: 10px 0 10px 0;
    padding: 10px;
}

.search-form {
    width: 100%;
    margin-bottom: 10px;
}

label {
    font-weight: 600;
    font-size: 12px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 1px !important;
    line-height: 1.25;
    color: #424242;
    background: #F5F5F5;
    font-size: 14px;
}

.red {
    color: #CC0000;
    ;
}

.form-control input[type=text], input[type=email], textarea {
    width: 100%;
    border-radius: 0 !important;
    height: 40px;
    line-height: 1;
    background: #F5F5F5;
    font-size: 14px;
}

select {
    width: 100%;
    border-radius: 0 !important;
    height: 40px;
    line-height: 1;
    background: #F5F5F5;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}