.nav {
    padding-left: 0 !important;
    margin-bottom: 0;
    list-style: none;
    width: 26%;
    float: right;
    overflow-y: initial !important;
    margin-top: -15px !important;
    margin-right: -10px !important;
    background-color: #d0d0d0;
}
h1.headline-h1 {
    color: #1e289c;
}

.headline_line {
    width: 100%;
    display: block;
    -webkit-margin-before: 0.5em;
    -webkit-margin-after: 0.5em;
    -webkit-margin-start: auto;
    -webkit-margin-end: auto;
    border-style: inset;
    border-width: 1px;
    margin: -11px 0 2px 0;
    height: 2px;
    background-color: #1e289c
}
.nav-stacked > li {
    float: none;
}

.nav-pills > li {
    float: left;
}

.nav > li {
    position: relative;
    display: block;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}
a {
    color: #428bca;
    text-decoration: none;
}
.nav:before, .nav:after {
    display: table;
    content: " ";
}
.tab-content {
    width: 70%;
}
.tab-content > .tab-pane, .pill-content > .pill-pane {
    display: none;
}
.tab-content > .active, .pill-content > .active {
    display: block;
}

.tab-content .date {
    float: right;
    color: #0a001f;
    font-style: bold;
}

.tab-content .slogan {
    float: left;
    font-style: italic;
}

.tab-content .bar {
    height: 23px;
    line-height: 23px;
    color: grey;
}
.nav-pills > li + li {
    margin-left: 2px;
}


.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    position: relative;
    background: #58585A;
    height: 30px;
}
.nav-pills > li.active > a {
    color: white !important;
    padding-right: 10px !important;
}
.nav-stacked > li + li {
    margin-left: 0;
}

.nav-stacked > li {
    float: none;
}

.nav > li > a:hover, .nav > li > a:focus {
    text-decoration: none;
    background-color: #eeeeee;
}
.nav > li.active::after {
    border-color: rgba(136, 183, 213, 0);
    border-right-color: #88b7d5;
    border-width: 20px;
    margin-top: -45px;
}

.nav > li.active::after,
.nav > li.active::before {
    right: 100%;
    top: 111%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-right-color: #58585A;
    border-width: 31px;
    margin-top: -69px;
}


li > a:hover, li > a:active {
    color: #ffffff;
}
p a:hover, li a:hover, pre a:hover, p a:active, li a:active, pre a:active {
    color: #000;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 16px 2px 16px 10px !important;
    margin: 0 !important;
    height: 30px;
    color: #FFFFFF;
    background-color: #B2B2B2;
}

.nav > li {
    border-bottom: none !important;
}

.nav-pills > ul > li > a {
    padding: 0 !important;
    margin: 0 !important;
}

@media (min-width: 980px){
    .min-h-200 {
        min-height: 200px !important;
    }
}

.pad-t-0 {
    padding-top: 0px !important;
}

.pad-b-0 {
    padding-bottom: 0px !important;
}
.pad-b-5 {
    padding-bottom: 5px !important;
}

.pad-t-0 {
    padding-right: 0px !important;
}

.pad-t-0 {
    padding-left: 0px !important;
}

.pad-tb-0 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.pad-lr-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.min-h-290 {
    min-height: 320px;
}
.min-h-180 {
    min-height: 180px !important;
}
.min-h-210 {
    min-height: 210px !important;
}
.min-h-205 {
    min-height: 205px !important;
}
.min-h-225 {
    min-height: 225px !important
}
.min-h-230 {
    min-height: 230px !important;
}
.min-h-243 {
    min-height: 243px !important;
}
.min-h-330 {
    min-height: 330px;
}
.w-76 {
    width:76% !important;
}
.w-100 {
    width:100% !important;
}
.bg-f0f0f0 {
    background-color: #f0f0f0;
}
.m-h-280 {
    max-height: 280px !important;
}
.headline-body {
    min-height: 218px !important;
}
.float-right {
    float: right !important;
}

.float-left {
    float: left !important;
}
.width-80-p {
    width: 80% !important;
}

.width-10-p {
    width: 10% !important;
}

.font-25 {
    font-size: 25px !important;
}

.pad-tb-10 {
    padding: 10px 10px !important;
}

@media (max-width: 979px) {
    .main-mobile {
        width: 100% !important;
    }
    .hide-on-mobile {
        display: none;
    }
}
@media (min-width: 980px){
    .main-mobile {
        width: 739px !important;
    }
}

.main-middle {
    max-width: 956px;
    width: 956px;
    padding: 12px;
    border-bottom: 4px solid white;
    background-color: #d0d0d0
}
.read-more {
    color: #ffffff !important;
    position: relative;
    display: block;
    padding: 12px 23px 12px !important;
    margin: 0 !important;
    height: 15px;
    background-color: #334875;
    width: 20%;
}
.read-more:hover {
    color: #ffffff !important;
    background-color: #334875 !important;
}

.twitter-card ul {
    margin-bottom: 0px !important;
    max-height: 300px !important;
    max-width: 216px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    min-height: 235px !important;
    margin-right: 6px;
}
.twitter-tweet {
    min-width: 0px !important;
}

/* Dashboard Checkbox Filter Widget */
.control-group {
}
.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
    cursor: pointer;
    padding-top: 5px;
}
.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.control__indicator {
    position: absolute;
    top: 5px;
    left: 0;
    height: 15px;
    width: 15px;
    border: 1px solid;
}
.control--radio .control__indicator {
    border-radius: 50%;
}
.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: #e8e8e8;
}
.control input:checked ~ .control__indicator {
    background: #e8e8e8;
}
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
    background: #e8e8e8;
}
.control input:disabled ~ .control__indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}
.control__indicator:after {
    content: '';
    position: absolute;
    display: none;
}
.control input:checked ~ .control__indicator:after {
    display: block;
}
.control--checkbox .control__indicator:after {
    left: 6px;
    top: -3px;
    width: 4px;
    height: 15px;
    border: solid #9e9d9d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    z-index: 99999;
}
.control--checkbox input:disabled ~ .control__indicator:after {
    border-color: #7b7b7b;
}

.pdf {
    background-size: 100% 100%;
    background-image: url(../../img/icons_logos/profile/pdf_small.gif);
    height: 18px;
    width: 18px;
}

.welcome h1 {
    font-family: Roboto Regular;
    font-size: 34px;
}
.dynamic-block-wrapper p a {
    font-size: 13pt;
    font-family: Roboto;
    font-style: italic;
}

@media (max-width: 979px) and (min-width: 768px){
    .section-logo {
        margin-left: 0 !important;
    }
    .section-logo img {
        height: 104px !important;
        margin-left: 0 !important;
    }
    .header_right .slogan {
        /*margin: 76px 14px 0 0 !important;*/
        color: white;
        font-size: 21px;
        font-style: italic;
        font-weight: 300;
        font-family: Arial, sans-serif;
        display: inline-block;
        margin: 95px 30px 0 0;
    }
}
@media (max-width: 945px) {
    #footer_content .inline {
        width: 80% !important;
    }
}
@media (max-width: 792px) and (min-width: 768px) {
    .header_right .slogan {
        /*font-size: 23px !important;*/
        color: white;
        font-size: 21px;
        font-style: italic;
        font-weight: 300;
        font-family: Arial, sans-serif;
        display: inline-block;
        margin: 95px 30px 0 0;
    }
}
.dynamic-block-wrapper p a {
    color: #ffffff !important;
    position: relative;
    display: block;
    padding: 12px 23px 12px !important;
    margin: 0 !important;
    height: 15px;
    background-color: #929292;
    width: 75%;
}
.dynamic-block-wrapper p a:hover {
    color: #ffffff !important;
    background-color: #9a9a9a;
}
.timeline-Footer {
    display: none !important;
}

#footer_content {
    margin: auto;
    width: 85%;
}
#footer_content .inline {
    margin: auto;
    color: white !important;
    width: 61%;
}

#footer_content .copy {
    color: white !important;
    transform: translate(8%, 0%);
    line-height: 0px;
    margin: 15px 0 0 0 !important;
    padding: 0 !important;
}

footer {

    position: relative !important;
    width: 100%;
    /*bottom: 0; */
    height: 153px;
    box-shadow: none !important;
    background: #001a53 !important;
    z-index: 110;
}
#footer_content nav {
    padding-top: 3px;
    display: inline-block !important;
    width: 100% !important;
}
#footer_content .line {
    border-bottom: 1px solid white;
}
.logo-pad {
    padding-top: 11px;
    padding-left: 10px;
}
.col-1 {
    text-align: center;
    width: 33%;
    display: inline-block;
}
.col-1 p {
    color: white;
    padding-left: 15px;
    margin-top: -20px;
    margin-bottom: 21px;
}
.line-row {
    padding: 0 !important;
}
.sponsor-footer-logo {
    padding-right: 15px;
}
.sponsor-footer-social {
    padding-right: 15px;
    width: 22%;
    padding-bottom: 3px;
}
.sponsor-footer-juta {
    width: 19%;
}
.sponsor-footer-cserve {
    width: 30%;
}
.pull-right {
    float: right;
}
.sponsor-footer-fpi {
    width: 27%;
}

footer nav ul li:not(:last-child) {
    -webkit-box-shadow: 10px 0px 0px -9px #ffffff;
    -moz-box-shadow: 10px 0px 0px -9px #ffffff;
    box-shadow: 10px 0px 0px -9px #ffffff;
}
footer nav ul li a {
    line-height: 34px !important;
    /*padding-left: 10px;*/
    /*padding-right: 13px;*/
}
footer nav ul li {
    padding-left: 4px;
    padding-right: 4px;
}
@media (max-width: 840px) {
    .twitter-div {
        display: none;
    }
    .headline-body {
        width: 100% !important;
    }
}
@media (max-width: 767px) {
    #footer_content .inline {
        margin: auto;
        color: white !important;
        width: 100%;
    }
    #footer_content {
        margin: auto;
        width: 95%;
    }
    .sponsor-footer-logo {
        padding-right: 5px;
        width: 25%;
    }
    .col-1 {
        text-align: center;
        width: 30%;
        display: inline-block;
    }
    footer {
        height: 250px;
    }
    .col-1 p {
        padding-left: 1px;
        word-wrap: break-word;
    }
}

@media (max-width: 500px) {
    .col-1 {
        width: 30%;
    }
    footer {
        height: 250px;
    }
}
@media (max-width: 430px) {
    .sponsor-footer-logo {
        padding-right: 1px;
        width: 25%;
    }
    .col-1 {
        width: 25%;
    }
    footer {
        height: 320px;
    }
    .col-1 p {
        padding-left: 1px;
        word-wrap: break-word;
    }
}
@media (max-width: 979px){
    .mobile-button.menutrigger {
        left: 25px;
        top: 60px !important;
    }
    #footer_content .inline {
        width: 80% !important;
    }
    footer p.copy {
        transform: translate(2%, 0%) !important;
        line-height: 30px;
    }
    footer {
        padding-top: 10px;
        position: relative;
        bottom: auto;
        height: 145px !important;
    }
}
@media (max-width: 1000px) {
    #footer_content .inline {
        width: 82% !important;
    }
}
@media (min-width: 1200px){
    footer p.copy {
        transform: translate(17%, 0%) !important;
        line-height: 30px;
    }
}
@media (min-width: 1000px){
    footer p.copy {
        transform: translate(17%, 0%) !important;
        line-height: 30px;
    }
}
@media (max-width: 708px){
    footer p.copy {
        display: none;
    }
    footer nav ul li {
        font-size: 11px;
        padding-left: 2px;
        padding-right: 2px;
    }
    #footer_content .inline {
        width: 100% !important;
    }
    #footer_content {
        margin: auto;
        width: 98%;
    }
    #footer_content .inline {
        width: 98% !important;
    }
}
@media (max-width: 979px){
    footer {
        padding-top: 10px;
        position: relative;
        bottom: auto;
        height: 160px !important;
    }
    footer p.copy {
        transform: translate(9%, 0%) !important;
        line-height: 30px;
    }
}
@media (min-width: 979px){

    footer {
        height: 150px !important;
    }
}
@media (max-width: 947px){
    img.sponsor-footer-logo {
        width: 16%;
        padding-top: 11px;
        padding-bottom: 1px;
    }
}
@media (max-width: 736px){
    #footer_content .line .col-1 {
       display: none;
    }
    footer {
        max-height: 79px !important;;
    }
}
@media (max-width: 890px){
    footer nav ul li {
        font-size: 11px;
        padding-left: 2px;
        padding-right: 2px;
    }
    img.sponsor-footer-logo {
        width: 16%;
        padding-top: 11px;
        padding-bottom: 1px;
    }
    #footer_content {
        margin: auto;
        width: 98%;
    }
    footer {
        height: 160px !important;
    }
}
@media (max-width: 553px) {
    footer nav ul li {
        font-size: 11px;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
@media (max-width: 979px) {
    .headline-body {
        width: 100% !important;
    }
}
@media (max-width: 986px){
    #footer_content .inline {
        margin: auto;
        color: white !important;
        width: 55%;
        height: 36px;
    }
}
@media (max-width: 988px){
    #footer_content .inline {
        margin: auto;
        color: white !important;
        width: 75%;
        height: 36px;
    }
}
@media (min-width: 1000px){
    footer nav ul li {
        font-size: 11px !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
    img.sponsor-footer-logo {
        width: 16% !important;
        padding-top: 11px !important;
        padding-bottom: 1px !important;
    }
    img.sponsor-footer-social {
        width: 20% !important;
    }
    #footer_content {
        margin: auto !important;
        width: 95% !important;
    }
    footer {
        height: 170px !important;
    }
}
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 18px;
    max-height: 48px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding-top: 12px !important;
    padding-bottom: 18px !important;
}

@media (max-width: 559px) {
    .diary-blocks .half-block .block {
        border: 0.2em solid rgba(174, 174, 174, 0.53)  !important;
        width: 100% !important;
        margin: 5px auto 10px auto !important;
        height: 102px  !important;
        background-size: auto 152px !important;
        background-position: -2px -39px !important;
        background-repeat: no-repeat !important;
        background-blend-mode: color-dodge !important;
        background-color: rgba(186, 181, 181, 0.4) !important;
    }
}

.box-wrap .box-header {
    padding: 7px 10px !important;
}

.search_bar .advanced_filter_link {
    width: 29px;
    height: 24px;
    margin-top: 1px;
    background-size: 100% 100%;
    border: none;
    background-image: url("/static/img/advanced-search.png");
    /*mask: url(#mymask);
    -webkit-mask-box-image: url("/static/img/advanced-search.png");*/
}

.ui-icon-calendar-filter {
    background-size: 100% 100%;
    background-image: url(../../img/404-200.png);
    height: 18px;
    width: 18px;
    float: left;
    margin-right: 5px;
}
