/*
	Theme Name: Human Rights Tracker - EHRC Theme
	Theme URI:
	Description:
	Template:
	Version: 1.1.3
	Author: Sam Mathias
*/

h1 {
    /*font-size: 3rem;*/
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.625rem;
}

h4 {
    font-size: 1.375rem;
}

.results-container a,
.type-un_recommendation a,
.type-un_recommendation button,
.type-government_action a,
.type-government_action button,
.type-progress_assessment a,
.type-progress_assessment button,
.type-un_treaty a,
.type-un_treaty button,
.wp-block-column a,
.main-content a {
    text-decoration: underline !important;
}

.results-container a:hover,
.type-un_recommendation a:hover,
.type-un_recommendation button:hover,
.type-government_action a:hover,
.type-government_action button:hover,
.type-progress_assessment a:hover,
.type-progress_assessment button:hover,
.type-un_treaty a:hover,
.type-un_treaty button:hover,
.wp-block-column a {}

body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #3D3A3B;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    cursor: pointer;
}

.brand-header {
    background-color: #fff;
}

.skip-link {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

.brand-header {
    padding: 20px 0;
}

.brand-header .logo img {
    max-width: 100%;
}

.brand-header .btn-search .icon {
    top: 3px;
    right: -5px;
    font-size: 22px;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.hidden-offscreen {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}

.input-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
}

.input-group-btn:last-child>.btn,
.input-group-btn:last-child>.btn-group {
    z-index: 2;
    /*margin-left: -1px;*/
}

.icon-search:before {
    content: "\e90f";
}

.navbar-dark.bg-dark {
    background-color: #e3e6eb !important;
}

.navbar-nav .dropdown-menu {
    margin-top: -2px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: #CCA3CC 2px solid;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.navbar-nav>li>.dropdown-menu a {
    font-weight: normal;
}

.navbar-dark li.dropdown>a {
    position: relative;
    margin-right: 0;
}

.navbar-dark li>a {
    border-bottom: 0;
}

.navbar-dark li.dropdown span.caret {
    float: right;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}

.navbar-dark li.dropdown span.caret i {
    position: relative;
    top: 46%;
    transform: translate(0%, -50%);
}

.navbar-dark li.dropdown span.collapsed-caret,
.navbar-dark li.dropdown span.uncollapsed-caret {
    background-color: #7dcac7;
    float: right;
    width: 50px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    border-left: 1px solid #3D3A3B;
}

.navbar-dark li.dropdown span.collapsed-caret i,
.navbar-dark li.dropdown span.uncollapsed-caret i {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
}

ul.navbar-nav li.dropdown:hover>ul.dropdown-menu {
    /*display: block;*/
}

.navbar-dark .dropdown-menu li.current-menu-item,
.navbar-dark .dropdown-menu li.current-menu-item:hover,
.navbar-dark .dropdown-menu li.current-menu-item:focus {
    background-color: #7dcac7;
}

.navbar-dark .dropdown-menu li.current-menu-item a,
.navbar-dark .dropdown-menu li.current-menu-item:hover a,
.navbar-dark .dropdown-menu li.current-menu-item:focus a {
    color: #000 !important;
    font-weight: bold;
}

.navbar-dark .dropdown-menu li:hover,
.navbar-dark .dropdown-menu li:focus {
    color: #000 !important;
    background-color: #7dcac7;
}

.navbar-dark .navbar-nav>li>a {
    color: #0b4e60 !important;
    border-bottom: transparent 7px solid;
}

.navbar-dark .dropdown-menu li:hover a,
.navbar-dark .dropdown-menu li:focus a {
    color: #000 !important;
    background-color: #7dcac7;
}

.navbar-dark .navbar-nav>.active>a,
.navbar-dark .navbar-nav>.active>a:hover,
.navbar-dark .navbar-nav>.active>a:focus,
.navbar-dark .navbar-nav>li>a:hover,
.navbar-dark .navbar-nav>li>a:focus {
    color: #782180 !important;
    border-bottom: #782180 7px solid;
    background-color: transparent;
}

.navbar-dark .dropdown-menu>li>a {
    color: #364546 !important;
}

ul li:hover>ul,
ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}

.navbar-toggler {
    position: relative;
    padding: 0;
    border: none;
    border-radius: 0;
    color: #0b4e60 !important;
    font-weight: normal;
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.site-content {
    padding: 0 15px 0;
    background-color: #fff;
}

.home .site-content {
    background-color: #e3e6eb;
}

.site-content a {
    color: #0b4e60 !important;
}

.single-un_recommendation .site-content,
.single-government_action .site-content,
.single-progress_assessment .site-content {
    padding-top: 15px !important;
}

.search-header {
    padding-top: 14px;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    color: #3D3A3B !important;
}

.input-group.search-group {
    display: flex;
}

.header-form .input-group {
    margin-top: 4px;
    border: #364546 solid 1px;
}

.header-form .input-group .input-group-btn {
    width: 74px;
}

.treaty-cycle {
    position: relative;
}

.cycle-image {
    position: absolute;
    width: 50%;
    left: 0;
    margin-left: -50%;
    top: 0;
}


/*Large devices (desktops, 992px and up)*/

@media (max-width: 992px) {
    .home .wp-block-columns .wp-block-column .wp-block-image img {
        height: 150px !important;
    }

    .home .wp-block-columns {
        flex-direction: column;
    }

    .home .wp-block-columns .wp-block-column {
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .search-group label {
        width: 100%;
    }

    .navbar {
        margin-left: -15px;
        margin-right: 0;
        padding-bottom: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {

    .header-form .input-group-btn,
    .header-form .form-control,
    .header-form .btn-search {
        height: 30px !important;
    }

    .header-form {
        padding-top: 0;
    }

    .brand-header .logo img {
        max-width: 190px;
    }

    .home .site-content .home-header {
        padding: 40px 20px !important;
    }

    .home-title {
        margin-left: 0 !important;
    }

    .stages {
        margin-top: 20px;
        padding-top: 300px;
    }

    .cycle-image {
        position: absolute;
        width: 100%;
        top: -20px;
        left: 50%;
        margin-left: -50%;
    }

    .stage-name h3 {
        width: 90%;
    }
}

@media (max-width: 576px) {

    .title-container h1,
    .home-header h1 {
        font-size: 1.6em;
    }

    .navbar-dark .navbar-nav>li>a:hover,
    .navbar-dark .navbar-nav>li>a:focus {
        border-bottom: none;
        background-color: #7dcac7 !important;
        color: #782180 !important;
    }

    .navbar-dark .navbar-nav>li.dropdown ul>li {
        padding: 5px 22px;
    }

    .navbar-dark .navbar-nav>li>a {
        border-bottom: none !important;
        margin: 0;
        padding: 12px 22px;
    }

    .header-form {
        margin-top: -3px;
    }

    .navbar {
        margin-left: -15px;
        padding-bottom: 0;
    }

    .brand-header .logo img {
        max-width: 150px;
    }

    .navbar .navbar-toggler {
        margin-right: 15px;
    }

    .navbar-collapse {
        border-top: 1px solid #f0f0f0;
    }

    .entry-title {
        font-size: 2rem;
    }

    .home-header {
        padding: 40px 15px !important;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    .wp-block-column {
        flex-grow: 0;
        flex-basis: 100%;
    }

    .home .wp-block-columns .wp-block-column {
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

@media (min-width: 769px) and (max-width: 781px) {
    .wp-block-column {
        flex-grow: 0;
        flex-basis: 30%;
    }

    .home .wp-block-columns .wp-block-column {
        margin-right: 1.666666% !important;
        margin-left: 1.666666% !important;
    }
}

.navbar {
    font-weight: bold;
}

.brand-header .btn-search {
    background: #fff url(./img/btn-search.svg) 0 0;
    padding: 0;
    background-position: 0 -116px;
    width: 100%;
    height: 55px;
    border: none;
    margin: 0;
    border-radius: 0;
}

.brand-header .btn-search:hover,
.brand-header .btn-search:focus,
.brand-header .btn-search:active {
    background-position: 0 -58px
}

.brand-header .btn-search:hover .fas,
.brand-header .btn-search:focus .fas,
.brand-header .btn-search:active .fas {
    color: #fff
}

.brand-header .btn-search .fas {
    position: relative;
    top: 1px;
    right: -4px;
    font-size: 20px;
    color: #000
}

@media (min-width:768px) {
    .brand-header .btn-search {
        background-position: 0 -116px;
        width: 74px;
        height: 55px
    }

    .brand-header .btn-search:hover,
    .brand-header .btn-search:focus {
        background-position: 0 -193px
    }

    .brand-header .btn-search:hover .fas,
    .brand-header .btn-search:focus .fas {
        color: #fff
    }

    .brand-header .btn-search .fas {
        top: 3px;
        right: -5px;
        font-size: 22px;
        color: #000
    }
}

.input-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
    display: table-cell;
    vertical-align: middle;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    height: 55px;
    margin-bottom: 0;
    display: table-cell;
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #1e495c;
    margin-top: 10px;
    /*font-weight: 300;*/
}

h1,
h2,
h3,
h1 span,
h2 span,
h3 span {
    /*font-weight: 300;*/
    font-family: "Roboto Slab", serif;
}

hr.data {
    height: 3px;
    border: none;
    color: #7dcac7;
    background-color: #7dcac7;
    width: 20%;
}

.comma:not(:empty):not(:last-child):after {
    content: ", ";
}

.input-group .form-control.search-box {
    border-radius: 4px 0 0 4px;
    border: 1px solid rgb(108, 117, 125);
    border-right: 0;
    width: 80%;
}

.search-btn {
    height: 55px;
}

.container {
    max-width: 100%;
}

.app-c-option-select {
    margin-bottom: 0;
    border-bottom: 2px solid #f3f4f4;
}

.container.filters .row:last-child .app-c-option-select {
    border-bottom: 0;
}

.options-container {
    height: 100%;
    overflow-y: hidden;
    padding: 5px;
    margin-top: -4px;
    background-color: #fff;
}

.options-container li {
    list-style: none;
}

.js-container-head {
    width: 100%;
    text-align: left;
    border: 0;
    background-color: #ffffff;
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
}

.js-container-head i.fas {
    float: right;
    font-size: 2em;
}

.parent-term i.fas {
    position: absolute;
    right: 5px;
    bottom: 30%;
    display: block;
}

.govuk-date-input__input {
    height: 2rem !important;
}

.govuk-date-input {
    padding: 0 30px;
}

.govuk-date-input__label {
    font-size: 1rem !important;
}

.js-container-head[aria-expanded="true"] .fa-caret-down,
.js-container-head[aria-expanded="false"] .fa-caret-up {
    display: none;
}

.option-select-label {
    font-size: 0.55rem;
    display: table;
    width: 100%;
}

.option-select-label>h3 {
    float: left;
    color: #000000 !important;
    margin: 5px 0;
    padding: 5px;
    width: 95%;
}

.option-select-label span {
    display: table-cell;
    vertical-align: middle;
}

.option-select-label i {
    color: #0b4e60;
}

.gem-c-checkboxes__list {
    padding: 0 30px 10px;
}

.gem-c-checkbox {
    display: table !important;
    width: 100%;
}

.gem-c-checkbox .toggle-filter-children {
    position: relative;
    border: 0;
    background: none;
}

.gem-c-checkbox input,
.gem-c-checkbox label,
.gem-c-checkbox button,
.gem-c-checkbox span {
    display: table-cell;
    vertical-align: middle;
    width: 5%;
}

.gem-c-checkbox label {
    width: 90%;
    font-size: 1rem;
}

.gem-c-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    background: 0;
    border: 0;
}

.gem-c-checkbox input[type="checkbox"]:focus:before {
    outline: 1px dotted;
    outline: 5px auto -webkit-focus-ring-color;
}

.gem-c-checkbox input[type="checkbox"]:before {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #808080;
    content: "";
    background: #FFF;
    cursor: pointer;
}

.gem-c-checkbox input[type="checkbox"]:after {
    position: relative;
    display: block;
    left: 1px;
    top: -17px;
    width: 16px;
    height: 16px;
    border-width: 1px;
    border-style: solid;
    border-color: #B3B3B3 #dcddde #dcddde #B3B3B3;
    content: "";
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.gem-c-checkbox input[type="checkbox"]:checked:after {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAABldJREFUeJztnU1oHGUch3/vf6PEggjV9uAHam0LxW78AAt+gaBWREiy2S2IHoIUvFTFgwhePHr0ZO1Re17IzCYKtpK0VRRBqJRqW0QU8aCVktb6VczO//WQjW43sx+zO/POZOb3HOfzhefh3WR3512AEEIIIYQQQgghhBBCCCGEEEIIIYQQkh9M2gMggzE7Ozt++fLlp1X1MWPMdmPMJmvtRWPMN9baI77vfwbARr0uA8g4+/btKzWbzVdU9Q0R2dLj0DMAXvc878Mo12cAGaZWq20OgsAH8GiE094ZGxt7tV6vB4McXBpuaCRparXaliAIjgF4IOKpe5rN5s6JiQn/zJkzfV8SGEAGaclfBFAe5nxjzG5V3VEul/tGwAAyxqjy2ygHQbC9XC43ekUgI96ExEiM8gEAxpjnms3m++jxtx5ngIwQt/w2Jnbt2mXOnTt3PGwn/wvIAAnKBwCoqorI/Z7nnercx5eAlElaPgCIiAB4M2wfZ4AUcSF/DVVdAbC10Whcat/OGSAlXMoHABG5RkQeXrfdxc3J1biW38bOzg0MwDEpyoe1dlPnNgbgkDTlA4Ax5mLnNgbgiLTlA4Ax5uvObQzAAVmQr6q/lUqlLzq3M4CEyYL8Fofr9fo/nRsZQIJkSP4lVX0rbAcDSIgMybfW2v0LCwvnw3YygATIkHwAeNn3/bluO/lWcMxkTP5Lnucd7HUAA4iRjSYfYACxsRHlAwwgFjaqfIABjMxGlg8wgJHY6PIBBjA0eZAPMIChyIt8gAFEJk/yAQYQibzJBxjAwORRPsAABiKv8gEG0Jc8ywcYQE/yLh9gAF0pgnyAAYRSFPlADAHMzs6OLy8v3zA+Pv5nvV7/I45BpUmR5ANDBlCtVu9T1RdVda+I3Nl2nfOqekxEDnue91F8w3RDxuQf8Dzv3aRvEimAWq22eWVl5aCIPDvA4Z9ba1/wff/bIcfmlCLKByIEMD09fZe19qiIbItw/d8BTHuetxR9aO4oqnxgwABa8o+LyK1Rb6Cqf4vIlOd5H0cfXvIUWT4wQACjyF8jqxEUXT7QJ4CZmZlt1trjAG4b9UZZi4DyV+n6XECtVrslCIIlxCAfAETkOlVtVCqVJ+O43ihQ/v+EzgCt9Wk/BfBg3DdU1SsiMpnWTED5VxM6A6ysrOxHAvIBQETGVXU+jZmA8tcTGoC19rVEb5pCBJQfzroAKpXKPSKyI/EbO4yA8ruzLgBr7R5nN3cQAeX3Juwl4GanA0gwAsrvz7oAjDHOPyJei2B6enpvXNek/MEImwF+dj4KrEZgrW3EEQHlD05YAF86H0WLOCKg/GiETfemUql8D+AOx2P5D1W9YoyZ8n3/aJTzMiTfYvXLHJmWD4TPABbA264H0s4wMwHlD0foG0HLy8uHrLVfuR5MO2sRzMzMPNXvWMofntAATpw40QyCoKqqv7geUDsiMh4Egd8rAsofja6fBi4sLPwwNjb2hKr+6nJAnfSKgPJHp+///NVq9e5ms7kkIltdDKgbqnqlVCpNz83NHQEoPy4GetMnaxGIyEnKj4eB3/XLUgQAfnLxgVUfNrx8IOLXwlsRHOvzI8ZFIBfygSEeDGEE+ZEPDP9kUFEjyJV8YIRnAwsYQe7kAyM+HFqpVHar6lIBIsilfCCGp4MLEEFu5QMxrQ+Q4whyLR+IcYGIHEaQe/lAzCuETE1NlQEs5iCCQsgHElgiJgcRWGvtAd/3D6U9EBck8gXQDRxBoeQDCf1oVKPROA3gcQAXkrh+QhROPpDwKmFTU1NlEVkCcFOS94mBQsoHHCwTtwEiKKx8wNE6gRmOoNDyAYcLRWYwgsLLBxz+cmij0TgtIln5w5DyWzh/DrBarU6o6iLSmwkov41U1gpOMQLK7yC1xaJTiIDyQ0h1tfBWBEsAbkz4VpTfhdSXi3cQAeX3IPUAgEQjoPw+ZCIAIJEIKH8AMhMAsLpCGYBFjB4B5Q9IpgIAYomA8iOQuQCAkSKg/Ig4eys4Cp7nnTLGPALguwin/WWtfZ7yo1FKewDdOHv27IVyufyeqoqq3muMubbLodZa6wdBUJ2fn//E6SBzQCZfAjqZnJy8vlQqPWOtfQjA7QDGjDG/ADhpjPlgbm7ux5SHSAghhBBCCCGEEEIIIYQQQgghhBBCCCEZ4F8Pcz6gOFdmMQAAAABJRU5ErkJggg==');
    background-size: contain;
}

.gem-c-checkbox input[type="checkbox"]:indeterminate:after {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAIhJREFUeJzt0sENgDAMBMFA/z2HHsB5oJ0p4GTJuxYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwyjWwsQc2eO/TD++pK/gnAcQJIE4AcQKIE0CcAOIEECeAOAHECSBOAHECiBNAnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADnkApCgBIC8a3TQAAAAASUVORK5CYII=');
    background-size: contain;
}

.gem-c-checkbox input[type="checkbox"]:disabled:after {
    -webkit-filter: opacity(0.4);
}

.gem-c-checkboxes__list-item .toggle-filter-children[aria-expanded="true"] .fa-caret-down,
.gem-c-checkboxes__list-item .toggle-filter-children[aria-expanded="false"] .fa-caret-up {
    display: none;
}

.gem-c-checkboxes__list-item .toggle-filter-children {
    margin: 0;
    padding: 5px 10px;
    width: 20px;
}

.gem-c-checkboxes__list-item .toggle-filter-children.disabled-dropdown {
    width: 100%;
}

.gem-c-checkboxes__list-item .toggle-filter-children.disabled-dropdown label {
    text-align: left;
    display: inline-block;
    float: left;
}

.gem-c-checkboxes__list-item .fas {
    position: relative !important;
}

.gem-c-checkboxes {
    margin-bottom: 0 !important;
}

.govuk-checkboxes {
    margin-bottom: 0;
}

.container.filter-buttons {
    padding: 10px 0;
}

#reset-search {
    width: 45%;
    float: left;
}

#search-button {
    width: 45%;
    float: right;
}

.search-filter-button {
    padding: 10px;
    background-color: #ffffff;
    border: 0;
    border-bottom: 2px solid #7dcac7;
    font-size: 1rem;
}

.results-container {
    border-bottom: 2px solid #7dcac7;
}

#timelineOuter {
    position: relative;
}

.post-results.loading:after,
#timelineOuter.loading:after {
    content: '';
    position: absolute;
    background-color: #f8f8f8;
    background-image: url('./img/loading.gif');
    background-repeat: no-repeat;
    background-position: top;
    background-position-y: 70px;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    padding-top: 70px;
}

.loading .input-group,
.loading .input-group-append {
    display: none;
}

.search-result {
    margin-bottom: 30px;
}

.search-result p {
    margin-bottom: 10px;
}

.search-result h4,
.search-result h3 {
    color: #0b4e60 !important;
    font-size: 1.2em !important;
}

.title-container,
.home-header {
    padding: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.title-container {
    height: 350px;
    padding: 30px;
}

.type-un_treaty .title-container {
    height: auto;
    min-height: 350px;
}

.title-container .post-type-icon {
    margin-top: 20px;
    font-size: 1rem !important;
}

.home .site-content {
    padding: 0 0 15px 0;
}

.home .site-content .home-header {
    max-width: 100%;
    padding: 40px 0;
}

.home .wp-block-columns {
    margin-top: 20px;
}

.home .wp-block-columns .wp-block-column h2 {
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    padding-left: 45px;
    font-size: 0.9rem;
}

.home .site-content .home-header .home-title {
    background-color: #7dcac7;
    padding: 20px 20px 11px;
    margin-left: 15px;
}

.home-title p {
    color: #000;
    padding: 10px 0;
    margin-bottom: 0;
}

.home-header h1 {
    width: 80%;
}

.wp-block-image img {
    object-fit: cover;
    height: 160px;
    width: 100%;
}

.title-container h1,
.home-header h1 {
    color: #ffffff;
    display: inline;
    line-height: 1.6em;
}

.title-container h1 span,
.home-header h1 span {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background-color: #0b4e60;
    padding: 3px 7px;
}

.home .wp-block-columns .wp-block-column {
    background-color: #ffffff;
}

.home .wp-block-columns .wp-block-column>p {
    padding: 5px 20px;
    font-size: 1.1rem;
}

.home .wp-block-columns .wp-block-column:not(:first-child),
.wp-block-column:nth-child(2n) {
    margin-left: 10px;
}

.home .wp-block-columns .wp-block-column:not(:last-child) {
    margin-right: 10px;
}

.home .wp-block-columns .wp-block-column span.block-header {
    display: block;
    padding: 10px 0 15px 15px;
}

.home .wp-block-columns .wp-block-column .wp-block-image img {
    height: 200px;
    overflow: hidden;
}

.home .wp-block-columns .wp-block-column span.block-header h2 {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.2rem;
}

.home .wp-block-columns .wp-block-column:first-child {
    border-bottom: 2px solid #782180;
}

.home .wp-block-columns .wp-block-column:first-child span.block-header {
    background-color: #782180;
}

.home .wp-block-columns .wp-block-column:first-child span.block-header h2 {
    color: #ffffff;
    background-image: url(./img/ehrc-logo-no-text-white.svg);
    background-color: #782180;
    text-decoration-color: #ffffff;
    text-decoration: underline;
}

.home .wp-block-columns .wp-block-column:nth-child(2) {
    border-bottom: 2px solid #ddde45;
}

.home .wp-block-columns .wp-block-column:nth-child(2) span.block-header {
    background-color: #ddde45;
}

.home .wp-block-columns .wp-block-column:nth-child(2) span.block-header h2 {
    background-image: url(./img/ehrc-logo-no-text-black.svg);
    background-color: #ddde45;
    text-decoration-color: #000000;
    text-decoration: underline;
}

.home .wp-block-columns .wp-block-column:last-child {
    border-bottom: 2px solid #ffa526;
    margin-right: 0;
}

.home .wp-block-columns .wp-block-column:last-child span.block-header {
    background-color: #ffa526;
}

.home .wp-block-columns .wp-block-column:last-child span.block-header h2 {
    background-image: url(./img/ehrc-logo-no-text-black.svg);
    background-color: #ffa526;
    text-decoration-color: #000000;
    text-decoration: underline;
}

@media print {
    .container {
        max-width: 100% !important;
    }

    .filters .gem-c-checkboxes__list-item,
    .filters .govuk-date-input {
        display: none;
    }

    .filters .gem-c-checkboxes__list-item.selected,
    .filters .govuk-date-input.selected {
        display: block
    }

    .filters .govuk-hint {
        display: none;
    }

    .post-results {
        margin-top: 0 !important;
    }

    .toggle-filter-children {
        display: none !important;
    }

    .post-results {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    .navbar {
        display: block;
    }

    a[href]:after {
        content: none !important;
    }

    .col-lg-4,
    .col-lg-8 {
        max-width: 100%;
        width: 100%;
    }

    .options-container.collapse,
    .child-terms.collapse {
        display: block;
        height: 100% !important;
    }

    .row {
        display: block;
    }

    h2,
    p {
        display: block;
    }

    .toggle-button {
        display: none;
    }

    button[date-toggle=collapse] {
        display: none;
    }

    .collapse {
        display: block !important;
    }

    .treaty-cycle .cycle-image-container {
        display: inline-block !important;
    }

    .treaty-cycle .row {
        display: flex !important;
    }

    #language_switcher {
        display: none;
    }

    .app-c-option-select,
    .search-result,
    li,
    a,
    .entry-meta-category-tag,
    .entry-meta-related-posts {
        -webkit-column-break-inside: avoid;
        column-break-inside: avoid;
    }

    .search-results .option-select-label .fas {
        display: none !important;
    }
}

.post-type-icon {
    display: inline-block;
    background-color: #7dcac6;
    color: #000;
    padding: 2px 5px 2px 27px;
    margin: 0;
    position: relative;
}

.post-progress {
    display: inline-block;
    background-color: #e8e8e8;
    padding: 2px 15px 2px 4px;
    margin: 15px 0 0 0;
}

.post-type-icon i,
.post-progress i {
    margin: 0 4px;
}

hr {
    /*width: 10%; text-align: left; margin-left: 0;
    border-color: #AF1685;
    border-width: 4px;*/
    margin-top: 30px;
    margin-bottom: 30px;
}

.ehrc-boxes {
    width: 60px;
    margin-bottom: 20px;
}

.site-content h2,
.site-content h3,
.site-content h4 {
    font-weight: 600;
    color: #1e495c;
    font-size: 1.2rem;
    margin-top: 6px;
}

.site-content h4 {
    font-size: 1rem;
    font-family: "Roboto", serif;
}

.site-content .sidebar {
    background-color: #f1f1f1;
    padding-top: 15px;
}

.site-content .main-content {
    padding-top: 0;
}

.treaty-status-image {
    width: 100%;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.cycle-image {
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    max-height: 90%;
    min-height: 300px;
}

.no-bg {
    background-image: none !important;
}

.collapse.cycle-image {
    display: none !important;
}

.collapse.show.cycle-image {
    display: block !important;
}

.cycle-image.collapsing.hidden {
    display: none;
}

.cycle-image span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    height: 90px;
    margin: auto;
    font-size: 60px;
    color: #1e495c;
}

.cycle-6_0 {
    background-image: url(./img/treaty-segments/6_0.png);
}

.cycle-6_1 {
    background-image: url(./img/treaty-segments/6_1.png);
}

.cycle-6_2 {
    background-image: url(./img/treaty-segments/6_2.png);
}

.cycle-6_3 {
    background-image: url(./img/treaty-segments/6_3.png);
}

.cycle-6_4 {
    background-image: url(./img/treaty-segments/6_4.png);
}

.cycle-6_5 {
    background-image: url(./img/treaty-segments/6_5.png);
}

.cycle-6_6 {
    background-image: url(./img/treaty-segments/6_6.png);
}

.cycle-4_0 {
    background-image: url(./img/treaty-segments/4_0.png);
}

.cycle-4_1 {
    background-image: url(./img/treaty-segments/4_1.png);
}

.cycle-4_2 {
    background-image: url(./img/treaty-segments/4_2.png);
}

.cycle-4_3 {
    background-image: url(./img/treaty-segments/4_3.png);
}

.cycle-4_4 {
    background-image: url(./img/treaty-segments/4_4.png);
}

.treaty-cycle .row:first-child {
    padding-top: 20px;
    padding-bottom: 20px;
}

.treaty-cycle {
    padding-left: 0;
    background-color: #ffffff;
    border-bottom: 2px solid #7dcac7;
    border-top: 2px solid #7dcac7;
    margin-bottom: 20px;
    padding: 15px 35px 0;
    min-height: 375px;
}

.treaty-cycle .stages a.stage-name>span>h3 {
    display: inline-block;
    margin-top: 0;
    font-size: 1.2rem;
}

.stage-details {
    z-index: 50;
    position: relative;
}

.stage-details>span {
    padding-bottom: 1rem;
    display: block;
}

.stage-details>span>ul {
    margin-bottom: 0;
}

.treaty-cycle .stages a.stage-name>span>span {
    float: right;
    position: absolute;
    right: 25px;
}

.treaty-cycle .stages a.stage-name:after {
    content: ' ';
    clear: both;
}

.treaty-cycle .stages a.stage-name[aria-expanded="true"] {
    background-color: #e3e6eb;
}

.static-cycle .stages a.stage-name[aria-expanded="true"] {
    background-color: #e3e6eb;
    color: #000;
}

.static-cycle .stages a.stage-name.current {
    background-color: #7dcac7;
}

.treaty-cycle .stages a.stage-name[aria-expanded="true"] .fas,
.treaty-cycle .stages a.stage-name[aria-expanded="true"] h3 {
    color: #000;
}

.static-cycle .stages a.stage-name[aria-expanded="true"] .fas,
.static-cycle .stages a.stage-name[aria-expanded="true"] h3 {
    color: #000;
}

.static-cycle .stages a.stage-name.current h3,
.static-cycle .stages a.stage-name.current .fas {
    color: #000;
}

.treaty-cycle .stages a.stage-name[aria-expanded="true"] .fa-caret-down,
.treaty-cycle .stages a.stage-name[aria-expanded="false"] .fa-caret-up {
    display: none;
}

.treaty-cycle .stages a.stage-name .fas {
    font-size: 1.4rem;
}

.treaty-overview .treaty-status {
    margin: 10px 0 20px;
}

.treaty-overview .treaty-status h3 {
    text-align: center;
    display: block;
    height: 100px;
    color: #0b4e60;
}

.header-icon {
    padding-left: 35px;
}

.click-to-expand {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0 0 10px;
    color: #0b4e60;
    font-size: 1.1875rem;
}

.header-icon::before {
    margin-left: -35px;
    content: '';
    width: 30px;
    height: 25px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
}

.icon-info::before {
    background-image: url(./img/info.png);
}

.icon-comments::before {
    background-image: url(./img/comments.png);
}

.treaty-cycle .stages .stage-name {
    margin: 0;
    padding: 13px 10px 7px;
    display: block;
    margin-bottom: 10px;
    margin-top: -10px;
    z-index: 999;
    position: relative;
}

.treaty-cycle .stages .stage-name.current {
    font-weight: bold;
}

.content-container {
    padding-right: 0;
    padding-left: 0;
    margin-top: 20px;
    padding-bottom: 30px;
}

.column-view .container {
    background-color: #ffffff;
    padding: 20px;
    border-bottom: 2px solid #7dcac7;
    border-top: 2px solid #7dcac7;
    padding-bottom: 0;
}

#menu-footer-menu,
#menu-footer-menu-welsh {
    column-count: 2;
    list-style: none;
    padding-left: 0;
}

#menu-footer-menu li,
#menu-footer-menu-welsh li {
    -webkit-column-break-inside: avoid;
    column-break-inside: avoid;
}

#menu-footer-menu li>a,
#menu-footer-menu-welsh li>a {
    text-decoration: underline;
    color: #fff;
    font-size: 0.9rem;
}

#menu-footer-menu li>a:hover,
#menu-footer-menu li>a:focus,
#menu-footer-menu-welsh li>a:hover,
#menu-footer-menu-welsh li>a:focus {
    color: #CCA3CC;
    text-decoration: underline;
}

footer {
    background: #0b4e60;
    color: #fff;
    padding: 0 0 20px;
}

footer .search-cta,
footer .print-cta {
    margin-bottom: 40px;
}

footer .search-cta i {
    margin-right: 5px;
}

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 0;
}

.col-lg-4.sidebar {
    padding-bottom: 10px;
}

.sidebar .entry-meta {
    border-bottom: 2px solid #7dcac7;
}

.entry-meta-category-tag:last-child {
    border-bottom: 0;
}

.entry-meta-category-tag {
    margin-top: 0;
    border-bottom: 2px solid #f3f4f4;
}

.entry-meta-category-tag h4 {
    margin-top: 2px;
    font-size: 1.1365rem;
    margin-bottom: 0px;
}

.entry-meta-category-tag .js-auto-height-inner a {
    display: block;
    margin-bottom: 4px;
}

.entry-meta-category-tag .js-auto-height-inner a:not(:first-child) {
    margin-top: 4px;
}

.entry-meta-category-tag .option-select-label {
    padding: 5px;
}

.entry-meta-category-tag .categories-view {
    background-color: #ffffff;
    padding: 0 12px 10px;
}

.entry-meta-related-posts {
    background: #fff;
    margin-bottom: 10px;
    border-bottom: 2px solid #7dcac7;
}

.entry-meta-related-posts .js-container-head {
    background: #20495c;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.entry-meta-related-posts .js-container-head h3 {
    color: #fff !important;
}

.entry-meta-related-posts .related-content {
    padding: 10px;
}

.entry-meta-related-posts .related-content li {
    padding-bottom: 10px;
}

.entry-meta-related-posts .js-container-head .option-select-label .angle {
    background-color: #7dcac6;
    display: block;
    /* height: 100%; */
    width: 81px;
    position: absolute;
    right: -43px;
    height: 100px;
    top: -26px;
    transform: rotate(-70deg);
}

.entry-meta-related-posts .js-container-head .option-select-label span.icon {
    background-color: #7dcac6;
    display: block;
    /* height: 100%; */
    width: 40px;
    position: absolute;
    right: 0;
    height: 43px;
    top: 0;
}

.entry-meta-related-posts .js-container-head .option-select-label i {
    color: #000;
    width: 100%;
    height: 100%;
    text-align: center;
    margin-top: 13px;
}

.entry-meta-related-posts h3 {
    font-size: 1rem;
    position: relative;
}

.entry-meta-related-posts h3 span.fas {
    margin-right: 3px;
}

.related-content {
    list-style: none;
    padding-left: 0;
}

.container.filters {
    padding: 0;
    border-bottom: 2px solid #7dcac7;
    margin-top: 13px;
}

.govuk-hint {
    font-style: italic;
}

.content-container .progress-assessment {
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    background: #20495c;
}

.content-container .progress-assessment h3 {
    display: table-cell;
    vertical-align: middle;
    display: inline-block;
}

.content-container .progress-assessment i {
    margin-right: 6px;
    display: inline-block;
}

.heading-font {
    font-weight: normal !important;
}


/*Small devices (landscape phones, 576px and up)*/

@media (min-width: 576px) {
    .navbar-dark .navbar-nav>li>a {
        padding-right: 25px;
        padding-left: 25px;
    }

    .dropdown>a>span:after {
        content: "\f0d7";
        font-style: normal;
        margin: 0px 0px 0px 10px;
        text-decoration: none;
        font-family: "Font Awesome 5 Free";
    }

    .navbar-expand-sm .navbar-nav>.nav-item>a {
        padding-right: 20px;
        padding-left: 20px;
    }

    .menu-item a {
        height: 100%;
    }
}


/*Small devices (landscape phones, 576px and up)*/


/*Medium devices (tablets, 768px and up)*/

@media (min-width: 768px) {
    .brand-header .logo img {
        max-width: 249px;
        max-height: 62px;
    }

    .col-lg-4.sidebar {
        margin-top: -15px;
    }

    .spacer {
        flex: 0 0 4.333333%;
        max-width: 4.333333%;
    }
}


/*Large devices (desktops, 992px and up)*/

@media (min-width: 992px) {
    .navbar-collapse {
        border-top: none;
    }

    /*.nav>li>a {
        position: relative;
        display: block;
        padding: 10px 15px;
    }

    .navbar-nav>li>a {
        padding-top: 16px;
        padding-bottom: 11px;
    }*/
    .post-results {
        padding: 15px;
        margin-left: 4%;
        -ms-flex: 0 0 62.666667%;
        flex: 0 0 62.666667%;
        max-width: 62.666667%;
        margin-top: -19px;
    }

    #navbarSupportedContent {
        margin-bottom: -9px;
    }

    .container {
        max-width: 960px;
    }
}


/*Extra large devices (large desktops, 1200px and up)*/

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

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 22px 0;
    border-radius: 4px
}

.pagination>li {
    display: inline
}

.pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.4;
    text-decoration: none;
    color: #0b4e60;
    background-color: #fff;
    margin-left: -1px;
    border-bottom: 3px solid #e3e6eb;
    font-size: 1rem;
}

.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>li>span:hover,
.pagination>li>span:focus {
    z-index: 2;
    color: #782180 !important;
    background-color: #e3e6eb;
    border-color: #782180;
    font-weight: bold;
}

.pagination>li>a.current:hover,
.pagination>li>a.current:focus,
.pagination>li>span.current:hover,
.pagination>li>span.current:focus {
    z-index: 3;
    color: #0b4e60;
    background-color: #e3e6eb;
    border-color: #782180;
    cursor: default
}

.pagination>li>span.current,
.pagination>li>a.current {
    color: #000;
    border-color: #782180;
}

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

.treaty-status a {
    display: block;
}


/*.logo {
    display: table;
}

.logo img {
    border-right: 2px solid white;
    padding-right: 12px;
}

.logo h1 {
    display: table-cell;
    font-size: 2rem;
    color: white;
    font-family: "nta", Arial, sans-serif;
    line-height: 2rem;
    vertical-align: middle;
    padding-left: 15px;
}*/

.search-cta,
.print-cta {
    width: 100%;
    background-color: #7dcac7;
}

.search-cta .container,
.print-cta .container {
    padding: 15px;
}

.search-cta .container,
.print-cta .container {
    color: #000;
    font-weight: bold;
}

.site-content #searchForm .govuk-hint {
    padding-left: 7px;
    font-size: 1rem;
}

.no-of-results {
    color: #000000 !important;
    margin-top: 20px;
    /*font-size: 1.2em !important;*/
}

.results-spacer {
    margin-top: 10px;
    margin-bottom: 10px;
}

.results-container {
    background-color: #ffffff;
    padding: 15px;
    margin-top: 12px;
}

#footer .menu-footer-menu-container>ul>li>a,
#footer .menu-footer-menu-welsh-container>ul>li>a {
    padding-left: 0;
}

.menu-footer-menu-container a.nav-link,
.menu-footer-menu-welsh-container a.nav-link {
    display: block;
    padding-top: 0;
    padding-bottom: 10px;
}

#footer .col-md-6:last-child {
    padding-left: 0;
}

.grey-icon,
.orange-icon,
.light-green-icon,
.dark-green-icon,
.light-red-icon,
.dark-red-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    color: white;
}

.grey-icon {
    background-color: #7a7a7a;
}

.orange-icon {
    background-color: #FA9917;
}

.light-green-icon {
    background-color: #2AC940;
}

.dark-green-icon {
    background-color: #1A8428;
}

.light-red-icon {
    background-color: #FF5F58;
}

.dark-red-icon {
    background-color: #C63E37;
}

.assessment-icon,
.action-icon,
.recommendation-icon,
.treaty-icon {
    width: 20px;
    height: 16px;
    background-size: contain;
    display: inline-block;
    background-repeat: no-repeat;
    top: 4px;
    position: absolute;
    left: 1px;
}

.assessment-icon {
    background-image: url('./img/types/assessment.png');
}

.action-icon {
    background-image: url('./img/types/action.png');
}

.recommendation-icon {
    background-image: url('./img/types/recommendation.png');
}

.treaty-icon {
    background-image: url('./img/types/treaty.png');
}

.assessment-icon-pink,
.action-icon-pink,
.recommendation-icon-pink,
.treaty-icon-pink {
    width: 20px;
    height: 16px;
    background-size: contain;
    display: inline-block;
    background-repeat: no-repeat;
    top: 1px;
    position: absolute;
    left: 1px;
}

.assessment-icon-pink {
    background-image: url('./img/types/assessment-pink.png');
}

.action-icon-pink {
    background-image: url('./img/types/action-pink.png');
}

.recommendation-icon-pink {
    background-image: url('./img/types/recommendation-pink.png');
}

.treaty-icon-pink {
    background-image: url('./img/types/treaty-pink.png');
}

.page .main-content {
    padding: 0;
    font-size: 1.1875rem;
}

.main-content li {
    font-size: 1rem;
}

.single-un_treaty .main-content {
    font-size: 1.1875rem
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .wp-block-image {
        background-size: cover;
        background-position: center center;
    }

    .wp-block-image img {
        opacity: 0;
    }

    .wp-block-columns {
        flex-direction: row !important;
    }

    #menu-footer-menu li,
    #menu-footer-menu-welsh li {
        overflow: hidden;
    }

    #language_switcher {
        margin: 3px 0 0 13px;
    }

    .gem-c-checkboxes__list-item .toggle-filter-children {
        padding: 5px 1px 5px 10px;
    }

    #un_bodies-cerd,
    #un_bodies-cerd:after,
    #un_bodies-cerd:before {
        outline: 3px solid #ffa526;
    }

    #un_bodies-iccpr,
    #un_bodies-iccpr:after,
    #un_bodies-iccpr:before {
        outline: 3px solid #ddde45;
    }

    #un_bodies-icescr,
    #un_bodies-icescr:after,
    #un_bodies-icescr:before {
        outline: 3px solid #782180;
    }

    #un_bodies-cedaw,
    #un_bodies-cedaw:after,
    #un_bodies-cedaw:before {
        outline: 3px solid #7a042d;
    }

    #un_bodies-cat,
    #un_bodies-cat:after,
    #un_bodies-cat:before {
        outline: 3px solid #7dcac7;
    }

    #un_bodies-crc,
    #un_bodies-crc:after,
    #un_bodies-crc:before {
        outline: 3px solid #f4aacc;
    }

    #un_bodies-crpd,
    #un_bodies-crpd:after,
    #un_bodies-crpd:before {
        outline: 3px solid #182857;
    }

    #un_bodies-upr,
    #un_bodies-upr:after,
    #un_bodies-upr:before {
        outline: 3px solid #7ccef4;
    }

    #un_bodies-special-procedures,
    #un_bodies-special-procedures:after,
    #un_bodies-special-procedures:before {
        outline: 3px solid #000000;
    }

    .modal_box .inner-container {
        height: 60%;
    }
}

#language_switcher {
    display: block;
    width: 50%;
    height: 36px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.4;
    color: #3D3A3B;
    background-color: #fff;
    background-image: none;
}

.pad-down {
    margin-top: 80px !important;
}

.search-cta a:hover .col-lg-12,
.print-cta a:hover .col-lg-12 {
    text-decoration: underline;
}

.search-cta a .col-lg-12,
.print-cta a .col-lg-12 {
    text-decoration: underline;
}


/*.search-cta a:focus .col-lg-12, .print-cta a:focus .col-lg-12 {
    outline: 2px solid grey;
}*/

table {
    border: 1px solid #ddd;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
}

table>thead>tr>th,
table>thead>tr>td,
table>tbody>tr>th,
table>tbody>tr>td,
table>tfoot>tr>th,
table>tfoot>tr>td {
    padding: 10px 8px;
}

table>thead>tr>th,
table>thead>tr>td,
table>tbody>tr>th,
table>tbody>tr>td,
table>tfoot>tr>th,
table>tfoot>tr>td,
table>thead>tr>th,
table>thead>tr>td,
table>tbody>tr>th,
table>tbody>tr>td,
table>tfoot>tr>th,
table>tfoot>tr>td {
    border: 1px solid #ddd;
}

table>thead>tr>th,
table>thead>tr>td {
    border-bottom-color: #1e495c;
    border-bottom-width: 2px;
}

#checkboxes-ehrc_progress_status label {
    padding-left: 36px;
}

i.fas.ehrc_progress_status-icons {
    position: absolute !important;
    width: 38px;
    padding: 1px 6px;
}

i.fas.ehrc_progress_status-icons::before {
    width: 100%;
    display: block;
    text-align: center;
    padding: 3px;
}

.fas.complete,
.fas.limited-data,
.fas.risk {
    color: #fff;
}

.progress-limited-data::before,
.fas.limited-data::before {
    /* question grey-icon */
    background-color: #b1b1b1;
    content: '\f071';
}

.sub-issue-progress {
    background-color: #e3e6eb;
}

.sub-issue-progress p {
    padding: 10px;
}

.oa-progress-complete {
    /* check dark-green-icon */
    background-color: #00413c !important;
    color: #fff;
}

.oa-progress-complete p a {
    color: #fff !important;
}

.oa-progress-good-progress {
    /* angle-double-right light-green-icon */
    background-color: #a1cc84 !important;
    color: #000;
}

.oa-progress-some-progress {
    /* angle-right orange-icon */
    background-color: #fff174 !important;
    color: #000;
}

.oa-progress-no-progress {
    /* minus light-red-icon */
    background-color: #ea3838 !important;
    color: #000;
}

.oa-progress-risk,
.oa-progress-regression {
    /* exclamation dark-red-icon */
    background-color: #7a042d !important;
    color: #fff;
}

.oa-progress-risk p a,
.oa-progress-regression p a {
    color: #fff !important;
}

.oa-progress-reserved {
    background-color: #3f2360;
    color: #fff;
}

.oa-progress-limited-data {
    /* question grey-icon */
    background-color: #b1b1b1 !important;
    color: #fff;
}

.oa-progress-reserved p a {
    color: #fff !important;
}

.sub-issue-progress .progress-assessment-icon {
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-size: 1.3em;
}

.sub-issue-progress {
    display: table;
    height: 130px;
    padding: 2px;
    background-clip: content-box;
}

.sub-issue-progress p {
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

.progress-assessment i::before,
.post-progress i::before {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
}

.updated {
    margin: 20px 0 0;
    color: #69696D;
    font-size: 1rem;
}


/* ED/PW - 2019/09/09Fixes for mobile view*/

@media (max-width: 480px) {

    /* shrink the font-size of the Language Selector so it still fits */
    #language_switcher {
        font-size: 14px;
        margin-left: 12px;
    }

    /* Ensure that list items on mobiles are the same size as the body text*/
    .main-content .content-container li {
        font-size: 1rem;
    }

    /* Padding at the top of the EXplore related tags "sidebar" is correct when it's no longer a sidebar */
    .col-lg-4.sidebar {
        padding-top: 15px;
    }

    /* Reset Search Filters button has the same sizing issues as the Language Selector */
    .search-filter-button {
        font-size: 14px;
    }

    /* Show Original UN Recommendation font-size*/
    button.click-to-expand {
        font-size: 1rem;
    }

    /* Options / General Comments Boxes need more space between tgem */
    .column-view {
        margin-bottom: 15px;
    }
}

.dropdown-menu:not(.show) {
    visibility: hidden !important;
    display: none;
}

.dropdown-menu.show {
    visibility: visible;
}

.nav-link[aria-expanded="true"] .collapsed-caret {
    display: none !important;
}

.nav-link[aria-expanded="false"] .uncollapsed-caret {
    display: none !important;
}


/* ED/PW - Breadcrumbs */

.fbc-page .fbc-wrap .fbc-items {
    width: 100%;
    background-color: #e3e6eb !important;
}

.search-header {
    Padding-top: 0px;
}

.entry-header.interactive-timeline,
.entry-header.report-a-broken-link {
    display: none;
}


/* TIMELINE */

#timelineContainer {
    position: relative;
    width: 90%;
    /*border: 1px solid rgb(108, 117, 125);*/
    padding-top: 37%;
    height: 0;
    margin: 0 auto;
}

#timelineContainer svg {
    position: absolute;
    left: 0;
    top: 0;
}

.timeline-item {
    cursor: pointer;
}

.colour-proc {
    fill: #000;
}

.colour-international-convention-on-the-elimination-of-all-forms-of-racial-discrimination-cerd {
    fill: #ffa526;
}

.colour-international-covenant-on-civil-and-political-rights-iccpr {
    fill: #ddde45;
}

.colour-international-covenant-on-economic-social-and-cultural-rights-icescr {
    fill: #782180;
}

.colour-convention-on-the-elimination-of-all-forms-of-discrimination-against-women-cedaw {
    fill: #7a042d;
}

.colour-convention-against-torture-and-other-cruel-inhuman-or-degrading-treatment-cat {
    fill: #7dcac7;
}

.colour-convention-on-the-rights-of-the-child-crc {
    fill: #f4aacc;
}

.colour-convention-on-the-rights-of-persons-with-disabilities-crpd {
    fill: #182857;
}

.colour-universal-periodic-review {
    fill: #7ccef4;
}

.treaty-badge.cerd {
    background-color: #ffa526;
}

.treaty-badge.iccpr {
    background-color: #ddde45;
}

.treaty-badge.icescr {
    background-color: #782180;
    color: #fff;
}

.treaty-badge.cedaw {
    background-color: #7a042d;
    color: #fff;
}

.treaty-badge.cat {
    background-color: #7dcac7;
}

.treaty-badge.crc {
    background-color: #f4aacc;
}

.treaty-badge.crpd {
    background-color: #182857;
    color: #fff;
}

.treaty-badge.upr {
    background-color: #7ccef4;
}

.treaty-badge.special-procedures {
    background-color: #222222;
    color: #ffffff;
}

.treaty-badge {
    display: inline-block;
    padding: 5px;
}

#un_bodies-cerd,
#un_bodies-cerd:after,
#un_bodies-cerd:before {
    border-width: 3px;
    border-color: #ffa526;
}

#un_bodies-iccpr,
#un_bodies-iccpr:after,
#un_bodies-iccpr:before {
    border-width: 3px;
    border-color: #ddde45;
}

#un_bodies-icescr,
#un_bodies-icescr:after,
#un_bodies-icescr:before {
    border-width: 3px;
    border-color: #782180;
}


#un_bodies-cedaw,
#un_bodies-cedaw:after,
#un_bodies-cedaw:before {
    border-width: 3px;
    border-color: #7a042d;
}


#un_bodies-cat,
#un_bodies-cat:after,
#un_bodies-cat:before {
    border-width: 3px;
    border-color: #7dcac7;
}

#un_bodies-crc,
#un_bodies-crc:after,
#un_bodies-crc:before {
    border-width: 3px;
    border-color: #f4aacc;
}

#un_bodies-crpd,
#un_bodies-crpd:after,
#un_bodies-crpd:before {
    border-width: 3px;
    border-color: #182857;
}

#un_bodies-upr,
#un_bodies-upr:after,
#un_bodies-upr:before {
    border-width: 3px;
    border-color: #7ccef4;
}

#un_bodies-special-procedures,
#un_bodies-special-procedures:after,
#un_bodies-special-procedures:before {
    border-width: 3px;
    border-color: #000000;
}

.arrow_box {
    position: absolute;
    background: #ffffff;
    border: 2px solid #e3e6eb;
    transform-origin: 20% 100%;
    padding: 5px;
    bottom: 26%;
    margin-left: -20px;
    width: 400px;
    display: none;
    z-index: 100;
}

.arrow_box.front {
    z-index: 110;
}

.item-open {
    display: none;
}

.arrow_box.show,
.item-open.show {
    display: block !important;
}

.arrow_box:after,
.arrow_box:before {
    top: 100%;
    left: 20px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #ffffff;
    border-width: 17px;
    margin-left: -17px;
}

.arrow_box:before {
    border-color: rgba(227, 230, 235, 0);
    border-top-color: #e3e6eb;
    border-width: 20px;
    margin-left: -20px;
}

.item-title {
    font-weight: bold;
}

#timelineNext {
    float: right;
}

#timelineNext,
#timelinePrevious {
    display: inline-block;
    position: relative;
}

#timelineNext i.fas,
#timelinePrevious i.fas {
    font-size: 2em;
}

#timelineNext span,
#timelinePrevious span {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 200px;
}

#timelineNext span {
    margin: 0 5px 0 0;
    right: 13px;
    text-align: right;
}

#timelinePrevious span {
    margin: 0 0 0 5px;
}

ol.breadcrumb {
    background: none !important;
    margin-bottom: 0 !important;
    padding-left: 0;
}

ol.breadcrumb li.breadcrumb-item a {
    text-decoration: underline;
}

ol.breadcrumb li.breadcrumb-item a:visited {
    color: #782180 !important;
}

.breadcrumb-item.active {
    color: #364546;
}

.icons-pink {
    margin-top: 6px;
}

#timelineForm .results-container,
#timelineForm .govuk-hint {
    font-size: 1rem;
}

#timelineForm .govuk-hint {
    padding-left: 10px;
}

.hr-title {
    color: #1e495c !important;
}

.progress-assessment-page .search-filter-button {
    width: 100% !important;
}

.opa-page.post-progress {
    background-color: #fff;
    width: 100%;
    margin-top: 1px;
    margin-left: -8px;
    position: relative;
    display: block;
    border: 0;
    text-align: left;
}

.opa-page.post-progress .fas::before {
    border-radius: 0;
    padding: 5px;
    height: auto;
    width: 30px;
}

.sub-issue-progress {
    display: none;
}

.sub-issue-progress.show {
    display: table !important;
}

.sub-issue-progress .progress-risk,
.sub-issue-progress .progress-regression,
.sub-issue-progress .progress-limited-data,
.sub-issue-progress .progress-complete {
    font-size: 1.1rem;
    right: 8px;
    bottom: 10px;
}

.sub-issue-progress .progress-assessment-icon i::before {
    font-size: 0.7em;
    margin-right: 7px;
}

.type-progress_assessment .progress-assessment {
    display: flex;
    overflow: hidden;
}

.type-progress_assessment .progress-assessment .row {
    flex: 1;
}

.type-progress_assessment .progress-assessment h3 {
    margin-bottom: 2px;
}

.type-progress_assessment .progress-assessment h3,
.type-progress_assessment .progress-assessment p,
.type-progress_assessment .progress-assessment p a,
.type-progress_assessment .progress-assessment p a:visited {
    color: #ffffff;
}

.type-progress_assessment .progress-assessment .progress-banner-icon {
    overflow: hidden;
    width: 130px;
    position: relative;
    float: left;
    display: block;
}

.progress-data {
    flex: 1;
    float: left;
    margin-right: 20px;
}

.progress-data p {
    margin-bottom: 5px;
}

.type-progress_assessment .progress-assessment .progress-banner-icon i {
    z-index: 150;
    color: white;
    position: absolute;
    height: 100%;
    background-color: transparent;
    width: 60%;
    text-align: center;
    transform: translate(0%, 25%);
}

.type-progress_assessment .progress-assessment .progress-banner-icon i::before {
    font-size: 2rem;
    height: 100%;
    background: transparent;
    line-height: 2rem;
}


.type-progress_assessment .progress-assessment>.row>.fas::before {
    z-index: 100;
    display: block;
}

.type-progress_assessment .progress-assessment .inner-box {
    display: block;
    position: absolute;
    height: 200%;
    width: 100%;
    top: -60%;
    transform: rotate(25deg);
    left: -30%;
}

.progress-complete .inner-box {
    /* check dark-green-icon */
    background-color: #00413c;
}

.progress-good-progress .inner-box {
    /* angle-double-right light-green-icon */
    background-color: #a1cc84;
}

.progress-limited-data .inner-box {
    /* question grey-icon */
    background-color: #b1b1b1;
}

.progress-no-progress .inner-box {
    /* minus light-red-icon */
    background-color: #ea3838;
}

.progress-risk .inner-box,
.progress-regression .inner-box {
    /* exclamation dark-red-icon */
    background-color: #7a042d;
}

.progress-some-progress .inner-box {
    /* angle-right orange-icon */
    background-color: #fff174;
}

.progress-reserved .inner-box {
    background-color: #3f2360;
}

.page-categories-header {
    margin-top: 20px !important;
}

.visuallyhidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

span:focus,
li:focus,
a:focus,
input:focus,
button:focus,
select:focus {
    outline: 2px solid #f90 !important;
    display: inline-block;
}

.print-cta a,
.search-cta a,
.nav-link:focus,
.menu-item-has-children:focus {
    display: block !important;
}

.modal_box .arrow {
    border: solid grey;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 15px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    bottom: 15px;
    position: absolute;
    background-color: #FFFFFF;
}

.modal-container {
    top: 0;
    display: block;
    position: relative;
    height: 100%;
    width: 99%;
    margin: 0 auto;
}

.modal_box {
    position: absolute;
    bottom: 35%;
    width: 100%;
    height: 65%;
    display: none;
}

.modal_box .inner-container {
    position: absolute;
    width: 100%;
    bottom: 30px;
    background-color: white;
    padding: 32px 20px 20px;
    border: 2px solid grey;
    max-height: 72%;
    display: flex;
}

.modal_box.show {
    display: block !important;
}

.modal_box .item-title {
    display: inline-block;
    font-size: 1.2rem;
    margin-left: 7px;
}

.close-modal {
    position: absolute;
    right: 17px;
    top: 5px;
    cursor: pointer;
}

.close-modal i.fas {
    display: block;
    background-color: #9d9f9d;
    width: 1.2em;
    height: 1.2em;
    text-align: center;
    border-radius: 50%;
    line-height: 1.2em;
    font-size: 1em;
    border: 1px solid grey;
}

#mobile_message.show,
#mobile_message {
    display: none !important;
}

@media only screen and (max-width: 600px) and (orientation:portrait) {
    #mobile_message.show {
        display: block !important;
    }

    .modal_box {
        position: absolute;
        bottom: 20%;
        width: 100%;
        height: 65%;
        display: none;
    }

    .modal_box .inner-container {
        position: absolute;
        width: 100%;
        bottom: 30px;
        background-color: white;
        padding: 10px;
        border: 1px solid grey;
        max-height: 72%;
        display: flex;
    }

    .modal_box .inner-container h3,
    .modal_box .inner-container a,
    .modal_box .inner-container .item-title,
    .modal_box .inner-container .treaty-badge {
        font-size: 0.5em !important;
    }
}

#mobile_message {
    position: absolute;
    bottom: 20%;
    width: 100%;
    height: 65%;
}

#mobile_message .inner-container {
    position: absolute;
    width: 100%;
    bottom: 30px;
    background-color: white;
    padding: 10px;
    border: 1px solid grey;
    max-height: 72%;
    display: flex;
}

.govuk-radios__input {
    height: 28px !important;
    width: 28px !important;
}

.govuk-radios__input+.govuk-radios__label::before {
    width: 28px !important;
    height: 28px !important;
}

.govuk-radios__input+.govuk-radios__label::after {
    top: 6px !important;
    left: 6px !important;
    border-width: 8px !important;
}

.govuk-radios__label {
    padding-top: 2px !important;
    padding-left: 1px !important;
}

.govuk-radios__item {
    padding-left: 35px !important;
    margin-bottom: 0 !important;
}

.modal-inner-container {
    flex: 1;
    display: flex;
}

.modal-inner-content {
    overflow-y: scroll;
    width: 100%;
}

#menu-footer-menu a.nav-link {
    text-decoration: none !important;
}

#menu-footer-menu a.nav-link:hover,
#menu-footer-menu a.nav-link:focus {
    color: #fff !important;
    text-decoration: underline !important;
}

.modal-inner-content .item-title {
    margin-bottom: 0;
}

.fas.info::before {
    color: #3D3A3B;
    position: absolute;
    top: 0;
    right: 0;
}

#progressForm .govuk-hint {
    margin-left: 0;
}

.wpcf7-form-control-wrap input.wpcf7-form-control {
    font-family: "roboto", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.25;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    margin-top: 0;
    padding: 5px;
    border: 2px solid #0b0c0c;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.wpcf7-form-control-wrap textarea.wpcf7-form-control {
    font-family: "roboto", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.25;
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 40px;
    margin-bottom: 20px;
    padding: 5px;
    resize: vertical;
    border: 2px solid #0b0c0c;
    border-radius: 0;
    -webkit-appearance: none;
}

#progressForm .govuk-radios__item .govuk-radios__label {
    padding-bottom: 0;
    font-size: 1em;
}

#progressForm .govuk-radios__item {
    min-height: 32px;
}

.opa-filters legend {
    font-size: 1rem !important;
}

.opa-progress {
    padding: 5px 0;
    font-size: 1rem;
    width: 90%;
}

.modal-inner-content h3 {
    margin-bottom: 0;
}

.modal-international-convention-on-the-elimination-of-all-forms-of-racial-discrimination-cerd {
    border-color: #ffa526 !important;
}

.modal-international-covenant-on-civil-and-political-rights-iccpr {
    border-color: #ddde45 !important;
}

.modal-international-covenant-on-economic-social-and-cultural-rights-icescr {
    border-color: #782180 !important;
}

.modal-convention-on-the-elimination-of-all-forms-of-discrimination-against-women-cedaw {
    border-color: #f4aacc !important;
}

.modal-convention-against-torture-and-other-cruel-inhuman-or-degrading-treatment-cat {
    border-color: #7dcac7 !important;
}

.modal-convention-on-the-rights-of-the-child-crc {
    border-color: #7a042d !important;
}

.modal-convention-on-the-rights-of-persons-with-disabilities-crpd {
    border-color: #182857 !important;
}

.modal-universal-periodic-review {
    border-color: #7ccef4 !important;
}

.opa-results .hr-title {
    margin: 20px 0 6px;
}

.opa-results {
    margin-top: -10px;
}

input:invalid {
    border-color: red;
}

.icon-container {
    margin-top: 18px;
    display: inline-block !important;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
    height: 7px;
    -webkit-overflow-scrolling: auto;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
    -webkit-overflow-scrolling: touch
}

svg text.current-date {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

#search_box_label {
    width: 100%;
}

.wp-block-column a:focus {
    display: block;
}

.main-content ul {
    font-size: 1em;
    color: #0b0c0c;
}

/*---- new changes ----*/


.single-progress_assessment .updated {
    margin-top: 20px;
}

.single-progress_assessment .type-progress_assessment .progress-assessment .progress-banner-icon i {
    background-color: transparent !important;
}


#menu-footer-menu-welsh li>a {
    text-decoration: none;
}

#menu-footer-menu li>a:hover,
#menu-footer-menu li>a:focus,
#menu-footer-menu-welsh li>a:hover,
#menu-footer-menu-welsh li>a:focus {
    color: #fff;
    text-decoration: underline;
}

/*--- boxes ehrc ---*/

.row--10 {
    margin: 0 -10px;
}

.row--10>div {
    padding: 0 10px;
}

.boxes-ehrc-group-col {
    margin-bottom: 20px;
}

.boxes-ehrc-group {

    margin-top: 20px;
    margin-bottom: 0;
}

.box-ehrc {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.box-ehrc .box-ehrc-title {
    padding: 10px 0 15px 15px;
}

.box-ehrc .box-ehrc-title h2 {
    text-decoration: underline;
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.2rem;
    padding-left: 45px;
}

.box-ehrc.purple {
    border-bottom: 2px solid #782180;
}

.box-ehrc.purple .box-ehrc-title h2 {
    color: #ffffff;
    background-image: url(./img/ehrc-logo-no-text-white.svg);
    background-color: #782180;
}

.box-ehrc.purple .box-ehrc-title {

    background-color: #782180;
}

.box-ehrc.yellow {
    border-bottom: 2px solid #ddde45;
}

.box-ehrc.yellow .box-ehrc-title h2 {
    background-image: url(./img/ehrc-logo-no-text-black.svg);
    background-color: #ddde45;
}

.box-ehrc.yellow .box-ehrc-title {

    background-color: #ddde45;
}

.box-ehrc.orange {
    border-bottom: 2px solid #ffa526;
}

.box-ehrc.orange .box-ehrc-title h2 {
    background-image: url(./img/ehrc-logo-no-text-black.svg);
    background-color: #ffa526;
}

.box-ehrc.orange .box-ehrc-title {

    background-color: #ffa526;
}

.box-ehrc.darkgreen {
    border-bottom: 2px solid #0b4e60;
}

.box-ehrc.darkgreen .box-ehrc-title h2 {
    background-image: url(./img/ehrc-logo-no-text-white.svg);
    background-color: #0b4e60;
    color: #fff;
}

.box-ehrc.darkgreen .box-ehrc-title {

    background-color: #0b4e60;
}

.box-ehrc.lightgreen {
    border-bottom: 2px solid #7dcac7;
}

.box-ehrc.lightgreen .box-ehrc-title h2 {
    background-image: url(./img/ehrc-logo-no-text-black.svg);
    background-color: #7dcac7;
    color: #000;
}

.box-ehrc.lightgreen .box-ehrc-title {

    background-color: #7dcac7;
}


.box-ehrc .box-link {

    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    font-size: 0;
}

.box-ehrc .box-ehrc-textarea {
    background-color: #fff;
    padding: 20px;
    padding-bottom: 5px;
    height: 100%;
}

.page .box-ehrc .box-ehrc-textarea {
    background-color: #e3e6eb;
}

.home .box-ehrc .box-ehrc-textarea {
    background-color: #fff;
}

.box-ehrc .box-ehrc-textarea p {
    font-size: 1.1rem;

}

.box-ehrc .box-ehrc-image {

    overflow: hidden;
}

.box-ehrc .box-ehrc-image img {
    height: 200px;
    overflow: hidden;
    object-fit: cover;
    width: 100%;
    max-width: 100%;
    display: block;
}


/*---- third level menu ----*/

.navbar-nav ul .submenu-third-level>ul {
    display: block;
    width: 235px;
    left: initial;
    right: -235px;
    top: 0;
    transition: 150ms all;
}

.navbar-nav ul .submenu-third-level:hover>ul ,.navbar-nav ul .submenu-third-level:focus-within>ul  {

    opacity: 1;
    visibility: visible !important;
    transition: 150ms all;


}

.navbar-nav ul .submenu-third-level:hover>ul li a, .navbar-nav ul .submenu-third-level:focus>ul li a {
    background-color: #fff;
}

.navbar-nav ul .submenu-third-level:hover>ul li a:hover, .navbar-nav ul .submenu-third-level:focus-within>ul li a:focus {
    background-color: #7dcac7;
}

.navbar-nav ul .submenu-third-level>a>span:first-child:after {
    content: "\f0da";
    font-weight: 700;

}
@media (max-width: 992px) {
    .navbar-nav ul .submenu-third-level>ul {
        left: initial;
        right: 0;
        top: inherit;
    }
}


@media (max-width: 576px) {

    .navbar-nav ul .submenu-third-level>ul {
        display: block;
        width: 100%;
        left: initial;
        right: 0;
        top: 0;
        position: relative;
        opacity: 1;
        visibility: visible !important;
        margin: 10px 0;
    }

    .navbar-nav ul .submenu-third-level >ul li {
    
    }

    .navbar-nav ul .submenu-third-level>ul li a {
      
    }
    .navbar-nav ul .submenu-third-level>a>span:first-child:after{
        content:none;
    }
    .navbar-nav ul .submenu-third-level .collapsed-caret,
    .navbar-nav ul .submenu-third-level .uncollapsed-caret {
        display: none !important;
    }
}