@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,500,600,700');
body,
.slide-caption h2,
.section-heading h2.shl-1,
#highlights-slider .item-content h3,
#development-goals-slider .item-content h3,
#home-resources-slider h3,
.slide-caption a.slide_more,
.slide-caption p,
li.menu-item a.nav-link,
li.menu-item.active>a.nav-link {
    font-family: 'Raleway', sans-serif !important;
}



.iframe-videos .small .col-md-6, .iframe-videos .large .col-md-12 {
    padding: 0 !important;
    line-height: 0;
}

.iframe-videos .small iframe {
    height: 200px;
}

.iframe-videos .large iframe {
    height: 600px;
}

.iframe-videos .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.iframe-videos .overlay:hover,
.iframe-videos .overlay:active,
.iframe-videos .overlay:focus,
 {
    opacity: 0;
    z-index: -1;
}

.iframe-videos .col-md-6:nth-child(even) .overlay {
    background-color: rgba(0, 0, 0, 0.9);
}

.iframe-videos .col-md-6:nth-child(odd) .overlay {
    background-color: rgba(14, 72, 43, 0.9);
}

.iframe-videos .overlay .video-play {
    background: url(https://www.renoassistance.ca/wp-content/themes/renoassistance/fahad/images/homepage/playsvg.svg);
    top: 50%;
    z-index: 99;
    height: 50px;
    width: 50px;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    background-repeat: no-repeat;
}

.iframe-videos .overlay h3 {
    top: 20%;
    z-index: 99;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    background-repeat: no-repeat;
    left: 0;
    right: 0;
    margin: auto;
    color: #fff;
    display: inline-block;
    text-align: center;
}




.text-to-speach {
    position: fixed;
    bottom: 0;
    z-index: 999;
    height: auto;
    right: 40px;
}

.text-to-speach button {
    max-width: 100%;
    -webkit-appearance: media-controls-background;
    color: #fff;
    background-color: #2d523c;
    border-color: #2d523c;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    border: 5px solid #fff !important;
}

#menu-menu-1 > li.menu-item > a.nav-link {
    font-weight: 500 !important;
}


label  {
    width: 100%;
}

form label {
    width: auto;
}

.navbar-brand img {
    max-width: 125px;
}

body #masthead .navbar-nav>li.current_page_item>a:hover {
    color: #000 !important;
}

.pdfemb-poweredby {
    display: none !important;
}

.header-search {
    display: inline-block;
}

.social-media a {
    line-height: 40px;
    cursor: pointer;
}

.hide {
    display: none;
}

div.pdfemb-viewer {
    border: 0 !important;
    box-shadow: 5px 5px 10px #eee !important;
}

.table-container {
    max-height: 500px;
    overflow: auto;
}

body div.pdfemb-toolbar {
    padding: 7px 10px;
}

body div.pdfemb-loadingmsg {
    text-align: center;
    padding: 5px;
    background-color: #2d523c;
    color: #fff;
    padding: 20px;
}

body div.pdfemb-toolbar div {
    color: #fff;
}

a {
    color: #2d523c;
    -webkit-transition: display 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    transition: all 0.3s ease;
}


.btn-primary {
    color: #fff;
    background-color: #2d523c;
    border-color: #2d523c;
}

.btn-primary:hover,
.btn-primary:active {
    color: #2d523c;
    background-color: #fff;
    border-color: #2d523c;
}

section {
    position: relative;
}

table:not(#tbl-election-history) {
     border-color: #fff;
     box-shadow: 5px 5px 10px #eee;
     width: 100% !important;
     border-collapse: collapse;
     border: 0;
}

table:not(#tbl-election-history) th {
    background: #2d523c;
    color: #fff;
    padding: 15px .75rem;
}

table:not(#tbl-election-history) td, table th {
    padding: .75rem;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

table:not(#tbl-election-history) th a {
    text-decoration: underline;
    color: #fff;
    font-weight: 600;
}

.table-container::-webkit-scrollbar {
    width: 1em;
}
 
.table-container::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.8);
    background-color:rgb(45, 82, 60);
}
 
.table-container::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 15px rgb(45, 82, 60);
  background-color: #ffffff;
  outline: 3px solid #fff;
  border-radius:100px;
}

table.quiz tr a {
    display: inline-block;
    margin: 15px 0;
    line-height: 22px;
    word-break: break-word;
}

/* posts bottom navigation */

.navigation.post-navigation {
    padding-top: 1.875rem;
    border-top: 1px solid #404040;
    margin-top: 50px;
    display: block;
}

.post-navigation .nav-previous a, .post-navigation .nav-next a {
    border: 1px solid #2c523b;
    border-radius: 0.938rem;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 0;
    box-shadow: 0px 0px 10px #ddd;
}

.post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover {
    background: #2c523b none repeat scroll 0 0;
    color: #fff;
}

.list-group-item {
    background-color: #f6f6f6;
}

.header-top-bar .container-fluid {
    position: relative;
}

.navbar-nav {
    padding: 0 30px;
    margin: auto;
}

.navbar-nav a {
    text-align: center;
}

.navbar .navbar-nav .nav-link {
    line-height: 1;
}

.navbar-nav {
    height: 100px;
}

li.menu-item {
    margin: 0;
    line-height: 0;
    display: flex;
}

#footer-widget {
    padding: 60px 0;
    padding-left: 100px !important;
    padding-right: 100px !important;
}

#footer-widget li.menu-item {
    line-height: 22px;
}

#footer-widget section {
    padding: 0 !important;
}

#footer-widget img {
    display: inline;
    width: 90px;
}

#footer-widget span img {
    max-width: 150px !important;
}

li.menu-item:after {
    right: 0;
}

#single-page-header h2.slide_heading {
    background: none;
    border: 1px solid #fff;
    line-height: 40px;
}

.light-bg {
    background: #fff !important;
}

.slider-item {
    max-height: 500px;
}

.overlay {
    position: relative;
    transition:all 0.3s ease;
    cursor: pointer;
}

.overlay::after {
    content: "";
    background-color: #000;
    opacity: 0.7;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    transition:all 0.3s ease;
}

.overlay:hover:after {
    opacity: 0.5;
    box-shadow: 7px 7px 10px #000;
}

#sigle-main-content {
    padding-bottom: 100px;
}

#sigle-main-content section {
    padding: 0;
}

#sigle-main-content h2 {
    position: relative;
    padding-bottom: 0.5em;
}

#sigle-main-content .item-block {
    height: auto;
}

#sigle-main-content h2:after {
    content: "";
    width: 50px;
    height: 3px;
    background-color: #2d523c;
    position: absolute;
    left: 0;
    bottom: 0px;
}

.slide-overlay {
    background-image: url(../imgs/title-bg.png);
}

.slide-caption a.slide_more {
    max-width: 140px;
}

.widget-title {
    text-transform: uppercase;
}

#single-header .tooShort {
    margin-bottom: 30px;
}

#footer-widget li.menu-item a.nav-link {
    color: #fff !important;
    padding: 2px 0;
}

#footer-widget li.menu-item a.nav-link:hover {
    color: #000 !important;
}

#footer-widget li.menu-item {
    margin: 0 !important;
}

#footer-widget li.menu-item:after {
    background-color: transparent;
}


/*Homepage Section Backgrounds */

#elections:before,
#democraticinstitutions:before,
#politicalparties:before,
#politicalparties#home-media-galery:before,
#development-goals:before,
#home-media-galery:before,
#know-your-rights:before,
#blogs-news:before  {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    background-attachment: fixed;
}

h2.shl-1 {
    position: relative;
    padding-bottom: 10px;
    font-size: 22px;
}

.section-heading {
    padding-bottom: 10px;
    padding-top: 10px;
}

.section-heading h2.shl-1 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    display: inline;
}

h2.shl-1::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #bbb;
    line-height: 12px;
}

.dark-bg h2.shl-1::after {
    background-color: #fff;
}

.mc4wp-form-fields input {
    padding: 10px 12px;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.mc4wp-form-fields input[type="email"] {
    margin-right: 3px;
    width: 65%;
}

.mc4wp-form-fields input[type="submit"] {
    font-weight: bold;
}

.mc4wp-form-fields ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #fff;
    font-weight: 200;
}

.mc4wp-form-fields ::-moz-placeholder {
    /* Firefox 19+ */
    color: #fff;
    font-weight: 200;
}

.mc4wp-form-fields :-ms-input-placeholder {
    /* IE 10+ */
    color: #fff;
    font-weight: 200;
}

.mc4wp-form-fields :-moz-placeholder {
    /* Firefox 18- */
    color: #fff;
    font-weight: 200;
}


/* Modifications after meeting */

.slider-nav {
    display: none;
}

.item-block {
    max-width: none;
}

#know-your-rights-slider {
    max-width: none !important;
}

.front-page .item-block {
    margin-bottom: 40px;
}

#galleryContainer {
    max-width: none;
}

.view {
    text-align: right;
    width: 100%;
    float: right;
}

.viewall {
    z-index: 3;
    padding: 7px 17px;
    background-color: #2d523c;
    float: right;
    margin-top: 30px;
    color: #212529;
    font-size: 17px;
}

.dark-bg .viewall {
    background-color: #fff;
    color: #2d523c;
    border-radius: 5px;
}

#elections-slider .item-block {
    height: auto !important;
}

.item-content a.readmore {
    font-size: 12px;
    text-transform: none;
}

.item-content h3 {
    line-height: 1;
}


/*news section*/

#blogs-news:before {
    background-image: url('../imgs/general-resource-back.png');
}

#blogs-news {
    padding: 100px 0 100px;
    position: relative;
    background-color: #e5e6e6 !important;
}

#blogs-news .section-heading {
    text-align: left;
}

#blogs-news h2.shl-1::after {
    right: auto;
    left: 0;
}

#blogs-news .section-heading {
    margin-bottom: 20px !important;
}

#blogs-news ul {
    list-style-type: none;
    padding-left: 0;
}

#blogs-news ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

#blogs-news ul a {
    color: #2d523c;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

#blogs-news ul span {
    font-size: 12px;
    font-style: italic;
    display: block;
}

#blogs-news .viewall {
    background-color: transparent;
    font-size: 12px;
    text-decoration: underline;
    overflow: hidden;
    margin-top: 0;
    position: absolute;
    right: 0;
    bottom: -15px;
}

#blogs-news .content {
    font-size: 13px;
}


#blogs-news .new-item.col-md-3::after {
    content: "";
    background-image: url(../imgs/seperator.jpg);
    position: absolute;
    width: 2px;
    height: 90px;
    top: 75px;
    right: 30px;
}

#blogs-news .new-item:last-of-type {
    padding-right: 0;
}

.new-item:last-of-type .col-md-3::after {
    background-image: none;
}

.news .category {
    display: inline-block !important;
    width: 60px;
    height: 60px;
    background-color: #2d523c;
    color: #fff;
    padding: 20px 8px;
    border-radius: 5px;
    font-style: normal !important;
    text-align: center;
    vertical-align: top;
}

.news .inner {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    max-width: 80%;
}

.material-card {
    transition: all .3s cubic-bezier(.25,.8,.25,1);
    border-bottom: 1px solid #eee;
    box-shadow: none;
}

.ticker,
.ticker-wrapper.has-js,
.ticker-title,
.ticker-content,
.ticker-swipe {
    background-color: #FFD667!important
}

body .ticker-content {
    color: #007cb6;
    line-height: unset;
}

.ticker {
    width: 100% !important;
    margin: auto !important;
    height: 33px !important;
}

.ticker-wrapper.has-js {
    margin: auto !important;
    max-width: 1400px;
    width: auto !important;
}

.ticker-title {
    color: #333 !important;
}


/*general css*/

h3 span {
    vertical-align: middle;
    line-height: 22px !important;
    display: inline-block;
}


/*election*/

/*.timeline {
    max-width: 1140px;
    margin: auto;
    height: 550px;
    position: relative;
}

.timeline .election {
    z-index: 3;
}

.timeline .election a {
    width: 180px;
    background-color: #000;
    margin: 10px 0;
    height: 180px;
    text-align: center;
    display: inline-block;
    padding: 10px;
    line-height: 160px;
    vertical-align: middle;
    border-radius: 50%;
    z-index: 3;
}


.timeline .one a,
.timeline .two a,
.timeline .three a,
.timeline .four a {
    -webkit-animation-timing-function: ease-out;
    animation-name: one;
    animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
     -webkit-animation-timing-function: ease-out;
}

.timeline .five a,
.timeline .six a,
.timeline .seven a,
.timeline .eight a {
    -webkit-animation-timing-function: ease-out;
    animation-name: two;
    animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
     -webkit-animation-timing-function: ease-out;
}

.timeline .election a:hover {
    transform: scale(1.1);
    background-color: #FFD667 !important;
    box-shadow: 5px 14px 10px #585858;
}

.timeline img {
    display: block;
    max-width: 40px;
    text-align: center;
    margin: auto;
    margin-bottom: 10px;
}

.timeline .row1 {
    margin-left: 25%;
}

.timeline .row1,
.timeline .row2 {
    height: 350px;
    position: relative;
    width: 700px;
}

.timeline .row2 {
    top: -150px;
}

.timeline h3 {
    line-height: 115px;
    font-weight: 400;
}

.timeline h3 span {
    line-height: 22px;
    vertical-align: middle;
    line-height: 22px !important;
    display: inline-block;
    padding: 0 10px;
}

.timeline .one,
.timeline .two,
.timeline .three,
.timeline .four,
.timeline .five,
.timeline .six,
.timeline .seven,
.timeline .eight 
{
    position: absolute;
}*/

/*.timeline a {
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-transition: display 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    transition: all 0.3s ease;
    box-shadow: 5px 14px 10px #8e8b8b;     
}

.timeline .election a {
    width: 180px;
    background-color: #000;
    margin: 10px 0;
    height: 180px;
    text-align: center;
    display: inline-block;
    padding: 10px;
    line-height: 160px;
    vertical-align: middle;
    border-radius: 50%;
    z-index: 3;
}

.timeline .one.election a,
.timeline .two.election a,
.timeline .three.election a,
.timeline .four.election a 
{
    background-color: #2d523c;
}

.timeline .five.election a,
.timeline .six.election a,
.timeline .seven.election a,
.timeline .eight.election a 
{
    background-color: #333;
}*/

/*.timeline .one,
.timeline .four,
.timeline .six,
.timeline .seven 
{
    bottom: 0;
}

.timeline .two,
.timeline .three,
.timeline .five,
.timeline .eight 
{
    top: 0;
}

.timeline .one,
.timeline .five {
    left: 0;
}

.timeline .four,
.timeline .eight {
    right: 0%;   
}

.timeline .two,
.timeline .six {
    left: 25%;
}

.timeline .three,
.timeline .seven {
    left: 55%;
}*/

#elections {
    padding: 50px 0 !important;
}

#elections-slider .row .item-block:nth-child(odd) .election {
    background-color: #2c523b;
}

#elections-slider .row .item-block:nth-child(even) .election {
    background-color: #fdd566;
}

#elections {
    position: relative;
    background: #fff;
}
#elections:before {
    background-image: url(/wp-content/uploads/2018/06/faisal-masjjid-white-1.png) !important;
}

#elections .section-heading{
    margin-bottom: 0px;
}
#elections-slider.owl-carousel .owl-item {
    opacity: .5;
}

#elections-slider.owl-carousel .owl-item.active {
    opacity: 1;
}

#elections-slider .owl-stage {
    padding-left: 0 !important;
}

.item-block{
    margin-bottom: 30px;
}
#elections-slider .item-content {
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    padding: 10px;
    color: #fff;
}
#elections-slider .owl-item:nth-child(even) .item-content{
    background: rgba(73, 73, 73, 0.7);
}
#elections-slider .owl-item:nth-child(odd) .item-content{
    background: rgba(45, 82, 60, 0.7);
}

.election {
    height: 160px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
}

.election h3 {
    font-size: 18px !important;
}

.election.overlay::after {
    content: "";
    background-color: #2c523b;
    opacity: 1;
    border-radius: 5px;
}

.election.overlay:hover:after {
    box-shadow: 7px 7px 10px #2c523b;
    background-color: #2c523b;
    opacity: 1;
}

#content .election {
    height: 180px;
    margin-bottom: 20px;
    background-color: #2c523b;
    opacity: 1;
    border-radius: 5px;
}

#content .election:nth-child(odd),
#content .election:nth-child(odd) {
    left: 0 !important;
    right: auto !important;
}

#content .election h3 {
    line-height: 150px;
}

.election {
    text-decoration: none;
    -webkit-transition: display 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    transition: all 0.3s ease;
}

.election:hover {    
    transform: scale(1.05);
}

.election h3 {
    color: #fff;
    text-align: center;
    position: absolute;
    vertical-align: middle;
    display: inline-block;
    font-size: 18px;
    font-weight: 100;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    z-index: 1;
    line-height: 159px;
    padding: 0 20px;
}

.election a {
    color: #fff;
}


#elections-slider .row .item-block:nth-child(odd) .election {
    background-color: #2c523b;
    border: 10px solid #396c4d;
    /* border: 10px solid #dedede; */
    box-shadow: 5px 5px 10px #396c4d;
}

#elections-slider .row .item-block:nth-child(even) .election {
    background-color: #333;
    border: 10px solid #474747;
    /* border-radius: 5px 5px 5px; */
    box-shadow: 5px 5px 10px #474747;
}

#elections {
    position: relative;
    background: #fff;
}
#elections:before {
    background-image: url(/wp-content/uploads/2018/06/faisal-masjjid-white-1.png) !important;
}

#elections .section-heading{
    margin-bottom: 0px;
}
#elections-slider.owl-carousel .owl-item {
    opacity: .5;
}

#elections-slider.owl-carousel .owl-item.active {
    opacity: 1;
}

#elections-slider .owl-stage {
    padding-left: 0 !important;
}

.item-block{
    margin-bottom: 30px;
}
#elections-slider .item-content {
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    padding: 10px;
    color: #fff;
}
#elections-slider .owl-item:nth-child(even) .item-content{
    background: rgba(73, 73, 73, 0.7);
}
#elections-slider .owl-item:nth-child(odd) .item-content{
    background: rgba(45, 82, 60, 0.7);
}

.election {
    height: 160px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
}

.election h3 {
    font-size: 18px !important;
}

.election.overlay::after {
    content: "";
    background-color: #2c523b;
    opacity: 1;
    border-radius: 5px;
}

.election.overlay:hover:after {
    box-shadow: 7px 7px 10px #2c523b;
    background-color: #2c523b;
    opacity: 1;
}

#content .election {
    height: 261px;
    margin-bottom: 90px;
    background-color: #2c523b;
    opacity: 1;
    border-radius: 50%;
    max-width: 190px;
    max-height: 190px;
    margin-bottom: 25px;
}

#content .election:nth-child(odd),
#content .election:nth-child(odd) {
    left: 0 !important;
    right: auto !important;
}

#content .election h3 {
    line-height: 170px !important;
    font-weight: 500;
}

.election h3 {
    color: #fff;
    text-align: center;
    position: absolute;
    vertical-align: middle;
    display: inline-block;
    font-size: 18px;
    font-weight: 100;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    z-index: 1;
    line-height: 159px;
    padding: 0 20px;
}

.election a {
    color: #fff;
    border-radius: 50%;
}

.election a:hover {
    text-decoration: none;
}

.panel {
    padding: 30px;
    background-color: #F4F4F5;
    margin-bottom: 30px;
    border-radius: 5px;
}

.panel h2 {
    margin-top: 5px;
}

.panel .details {
    margin-top: 20px;
    display: block;
    color: #212529;
}

.panel .cover {
    max-width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
    position: relative;
}

.panel a img {
    -webkit-transition: display 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    transition: all 0.3s ease;
    width: 100%;
}

.pabel a:hover {
    text-decoration: none;
}

.panel a:hover img {
    transform: scale(1.1);
}

.panel .category {
    position: absolute;
    left: 15px;
    top: 25px;
    padding: 5px 10px;
    z-index: 3;
    background-color: #2d523c;
    color: #fff;
    border-radius: 5px;
}

/* democratic institutions */

.box {
    width: 100%;
    height: 200px;
    background-color: #000;
    line-height: 210px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    display: inline-block;
    cursor: pointer;
}

.box:hover {
    transform: scale(1.05);
    -webkit-transition: display 1s ease-in-out;
        -moz-transition: opacity 1s ease-in-out;
        -o-transition: opacity 1s ease-in-out;
        transition: opacity 1s ease-in-out;
        transition: all 0.3s ease;
    border-radius: 5px;
}

.box .inner {
    line-height: 22px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
}

.box .fas {
    font-size: 40px;
    margin-bottom: 15px;
}

.box .inner h3 {
    margin: 0;
    font-size: 22px;
}

.box .inner h3 a {
    color: #fff;
    font-weight: 400;
}

.box a:hover {
    text-decoration: none;
    transform: scale(1.05);
}

.box.one {
    background-color: #f25f67;
}

.box.two {
    background-color: #49637c;
}

.box.three {
    background-color: #a78a7a;
}

#democraticinstitutions {
    position: relative;
    background: #414040;
}

#democraticinstitutions:before {
    background-image: url('../imgs/your-right-back.png');
}

#democraticinstitutions .section-heading {
    margin-bottom: 0px;
}

#democraticinstitutions-slider.owl-carousel .owl-item {
    opacity: .5;
}

#democraticinstitutions-slider.owl-carousel .owl-item.active {
    opacity: 1;
}

#democraticinstitutions .owl-stage {
    padding-left: 0 !important;
}

#democraticinstitutions-slider .item-block img {
    height: 209px;
}

#democraticinstitutions-slider .item-block {
    height: 235px;
}
#democraticinstitutions-slider.col-md-6 .item-block {
    height: 435px;
}

#democraticinstitutions-slider .item-content {
    position: absolute;
    right: 0;
    left: 0;
    width: 80% !important;
    margin: auto;
    height: auto !important;
    bottom: 0 !important;
    padding: 10px;
    color: #fff;
}

#democraticinstitutions-slider .item-content h3 {
    padding: 9px 0;
    text-align: center;
    margin: 0;
    line-height: 1;
}

.block-overlay {
    width: 100%;
    height: 210px;
    background-color: #2d523c;
}


/*legal*/

.legal {
    width: 100%;
    height: 466px;
    background-image: url(/wp-content/themes/pakvoter/imgs/legal.png);
    background-image: no-repeat;
    background-repeat: no-repeat;
    background-size: 100%;
}


/*political parties*/

#politicalparties {
    position: relative;
    background: #f3f3f3;
}

/*#politicalparties:before  {
    background-image: url(../imgs/hilights-back.png);
}*/

#politicalparties .section-heading {
    margin-bottom: 0px;
}

#politicalparties-slider.owl-carousel .owl-item {
    opacity: .5;
}

#politicalparties-slider.owl-carousel .owl-item.active {
    opacity: 1;
}

#politicalparties .owl-stage {
    padding-left: 0 !important;
}

#highlights-slider .item-content h3,
#development-goals-slider .item-content h3,
#home-resources-slider h3 {
    font-weight: normal;
}

.item-block img {
    width: 100% !important;
    height: auto !important;
}

.item-content {
    position: absolute;
    right: 0;
    background: #fff;
    width: 540px !important;
    height: 220px !important;
    bottom: 0px !important;
    padding: 10px 15px;
    -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .5);
    border-top-left-radius: 0;
}

#sigle-main-content #politicalparties-slider .item-content {
    width: 500px !important;
    bottom: -70px !important;
}

.new-item {
    margin-bottom: 50px;
}


/*sdg */


#development-goals {
    position: relative;
    background: #e5e6e6;
}
#development-goals:before{
    background-image: url(/wp-content/themes/pakvoter/imgs/development-back.png);
}
#development-goals .section-heading{
    margin-bottom: 0px;
}

#development-goals-slider.owl-carousel .owl-item {
    opacity: .5;
}

#development-goals-slider.owl-carousel .owl-item.active {
    opacity: 1;
}

#development-goals .owl-stage {
    padding-left: 0 !important;
}

.sdg {
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    background-color: #8dd8f8;
    margin-bottom: 50px;
}

.sdg.one {
    background-image: url(/wp-content/uploads/2018/06/Untitled-eng.png);
}

.sdg.two {
    background-image: url(/wp-content/uploads/2018/06/Untitled-8.png);
}

.sdg h3 {
    position: absolute;
    color: #fff;
    margin: 0;
    z-index: 3;
    bottom: 0;
    padding: 10px 20px;
    background-color: #2d2d2d;
    width: 100%;
    font-size: 18px;
    font-weight: normal;
}


/*Resources*/

#home-media-galery {
    position: relative;
    background: #ffffff;
}
#home-media-galery:before{
    background-image: url(/wp-content/uploads/2018/06/Elections-background.jpg)!important;
}
#home-media-galery .section-heading{
    margin-bottom: 0px;
}
#content.site-content {
    padding-bottom: 0;
}

.resource {
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    border-radius: 5px;
}

.resource h3 {
    color: #fff;
    text-align: center;
    position: absolute;
    vertical-align: middle;
    display: inline-block;
    font-size: 22px;
    font-weight: 100;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    z-index: 1;
}

.resource.large {
    background-image: url(/wp-content/uploads/2018/06/2-4.png);
}

.resource.large,
.resource.large h3 {
    height: 500px;
    line-height: 500px;
}

.resource.small,
.resource.small h3 {
    height: 240px;
    margin-bottom: 20px;
    line-height: 270px;
    padding: 0 20px;
}

.resource h3 span {
    line-height: 25px !important;
    display: inline-block;
}

.resource h3 span img {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    margin: 0 auto 25px;
    max-width: 50px;
}

.resource a {
    color: #fff;
}


.resource.one {
    background-image: url(/wp-content/uploads/2018/06/2-4.png);
}

.resource.two {
    background-image: url(/wp-content/uploads/2018/06/3-4.png);
}

.resource.three {
    background-image: url(/wp-content/uploads/2018/06/4.png);
}

.resource.four {
    background-image: url(/wp-content/uploads/2018/06/5.png);
}

.resource {
    background-image: linear-gradient(to bottom, #2d533c, rgba(0, 0, 0, 0.4)) !important;
    background-color: #2d523c;
}


.resource::after{
    content: "";
    opacity: 0.05;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    -webkit-transition: display 1s ease-in-out;
        -moz-transition: opacity 1s ease-in-out;
        -o-transition: opacity 1s ease-in-out;
        transition: opacity 1s ease-in-out;
        transition: all 0.3s ease;
    background-image: url(/wp-content/themes/pakvoter/imgs/overlay.png);
    background-size: contain;
}

.resource:hover:after {
    opacity: 0.3;
    box-shadow: 7px 7px 10px #000;
}






/*New resources*/

.resource-new .category {
    padding: 5px 10px;
    background-color: #333;
    color: #fff;
    display: inline-block;
    padding-top: 5px;
    padding-top: 5px;
    border-radius: 5px;
    font-size: 12px;
    float: right;
}
.resource-new {
    background-color: #eee;
    margin-bottom: 10px;
    padding: 17px;
}
.resource-new h4 {
    margin: 0;
    line-height: 28px;
}

.resource-new .category a {
    color: #fff;
}

/*--------------------------------------- FAIZAN CSS ------------------------------------*/

.single-politicians-profile .col-md-4.image{
    text-align: center;
}

.single-politicians-profile .col-md-4.image img {
    min-width:  300px;
    margin:  auto;
}

.single-politicians-profile .col-md-8.details table tr td h4 {
    margin:  0;
}

.single-politicians-profile .col-md-8.details table tr td {
    padding: 8px 12px;
    border: 1px solid #eaeaea;
    background: #f3f3f3;
}

.single-politicians-profile .col-md-8.details table {
    height: 100%;
}

.pp-single.col-md-2 {
    background-color: #f3f2f2;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    padding: 8px;
    margin: 1.66667%;
}

.col-md-2.pp-single .image img {
    width: 100%;
    max-width: 150px;
    max-height: 200px;
}

.col-md-2.pp-single .title h4 {margin-top: 0px;margin-bottom: 0px;}

.col-md-2.pp-single .title a {
    vertical-align: middle;
    display: table-cell;
}

.col-md-2.pp-single .title {
    display: table;
    height: 51px;
    width: 100%;
    padding-top: 8px;
    text-align: center;
}

/* Newsletter */

.newsletter a {
    border: 2px solid #2d523c;
    margin-bottom: 40px;
    padding: 10px 20px;
    box-shadow: 10px 10px 10px #2d523c;
    background-color: #2d523c;
    color: #fff;
    border-radius: 10px;
    display: block;
    -webkit-transition: display 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    transition: all 0.3s ease;
    min-height: 185px;
}

.newsletter a:hover {
    box-shadow: 15px 15px 20px #2d523c;
}

.newsletter span {
    font-size: 13px;
    position: relative;
    top: -15px;
}

.newsletter span a, .newsletter h3 {
    color: #fff;
}

.newsletter .icon {
    color: #fff;;
    font-size: 30px;
    display: inline-block !important;
    vertical-align: middle;
}

/*--------------------------------------- FAIZAN CSS ------------------------------------*/



/* Zain CSS */

gggtable {
    text-align: center;
}

table tbody tr {
    background: #fff;
    color: #535353;
}

table tbody tr:nth-child(even) {
    background: #ededed;
}

table tbody tr p {
    margin-bottom: 0;
}

.header-socials {
    z-index: 5;
}

#elections-slider.owl-carousel .owl-item {
    opacity: 0 !important;
}

#elections-slider.owl-carousel .item-block img {
    height: 135px
}

#elections-slider.owl-carousel .owl-item.active {
    opacity: 1 !important;
}

.slider-nav .lnb-prev {
    margin-right: 5px;
}

.slider-nav .lnb-next {
    margin-right: 42px;
}

#know-your-rights:before {
    background-image: url(../imgs/election-back.png) !important;
}

#know-your-rights-slider .item-block {
    max-width: 100% !important;
}

#know-your-rights-slider .item-block img {
    display: block;
    width: 100%;
    margin: 0 auto;
    height: 100% !important;
    position: relative;
    top: -25px;
}

#highlights-slider .item-content h3,
#development-goals-slider .item-content h3,
#home-resources-slider h3 {
    font-size: 12px;
    color: #0a0a0a;
    font-weight: 600;
    margin-top: 10px;
    position: relative;
}

#highlights-slider .item-content h3:after,
#development-goals-slider .item-content h3:after,
#home-resources-slider h3:after {
    content: "";
    position: absolute;
    left: 0;
    width: 20%;
    height: 2px;
    background: #0a0a0a;
    bottom: -7px;
}

#highlights-slider .item-content p,
#development-goals-slider .item-content p,
#home-resources-slider .item-content p {
    color: #1c3526;
    font-size: 12px;
    font-weight: 400;
}

#highlights-slider  .item-content,
#development-goals-slider .item-content,
#home-resources-slider .item-content {
    height: 310px;
}

#highlights-slider .item-block,
#development-goals-slider .item-block,
#home-resources-slider .item-block {
    position: relative;
    max-width: 272px;
    height: 438px;
}

.item-content a.readmore {
    background: #434343;
    border: 1px solid #434343;
    text-transform: capitalize;
}

#know-your-rights-slider {
    max-width: 865px
}

.header-socials {
    right: 42px;
}

/*#footer-widget {
    background-image: url(/wp-content/uploads/2018/06/footer-bg.png);
    background-size: cover;
}*/

#footer-widget {
    position: relative;
    background: #9e9e9ec7 !important; /*444444 bg changed to reveal logos*/
    color: #fff;
}

#footer-widget .container {
    z-index: 2;
}

#footer-widget a:hover {
    background-color: transparent !important;
    text-decoration: underline !important;
    color: inherit !important;
}

.footer-band {
    background: #2b2b2b;
}


/*.section-heading h2.shl-2 {
    position: relative;;
}

.section-heading h2.shl-2:before {
    content: "";
    position: absolute;
    width: 60px;
    height: 2px;
    background: #2d523c;
    left: 60px;
    top: 11px;
}

.dark-bg .section-heading h2.shl-2:before {
    background: #fff;
}*/

#content section:not(#blogs-news) .section-heading {
    float: right;
}

#content section:not(#blogs-news) .section-heading h2.shl-1 {
    display: table-caption;
}

.legal-section {
    position: relative;
    width: 100%;
    display: block;
    margin: 0 auto;
    list-style-type: none;
    padding-left: 0;
}

.legal-section li {
    width: 20%;
    height: 100%;
    display: inline-block;
    position: relative;
}

.holder {
    width: 120%;
    height: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    display: block;
}

.holder img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.legal-section .row .sec-row:nth-child(3) {
    margin-right: -60px;
    margin-left: -60px;
}

.legal-section .icon {
    position: absolute;
    top: 3%;
    left: 2px;
    right: 0;
    padding: 52%;
    width: 120%;
    text-align: center;

}

.legal-section .sec-row:first-child .icon {
    left: 22%;
    padding-right: 16px;
    width: 73%;
}

.legal-section .sec-row:last-child .icon {
    left: 23%;
    top: 14px;
    padding-left: 16px;
    width: 73%
}

.legal-section .sec-row:first-child .tagline {
    margin-left: 42%;
}

.legal-section .sec-row:last-child .tagline {
    margin-right: 43%;
}

.legal-section .sec-row .icon img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}


.col-half-offset {
    margin-left:4.166666667%
}

.sec-row {
    padding-left: 0;
    padding-right: 0;
    position: relative;
    margin-top: 0px;
    margin-bottom: 15px;
}

.sec-row:nth-child(3) img {
    max-width: 90%;
    margin-top: 33px;
}

.legal-section .sec-row img {
    -webkit-transition: display 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    transition: all 0.3s ease;
}

.legal-section .sec-row img.hover {
    display: none;
}

.legal-section .sec-row:hover img.nohover {
    display: none;
}

.legal-section .sec-row:hover img.hover {
    display: block;
}

.legal-section .sec-row .tagline {
    width: 50%;
    text-align: center;
    display: block;
    margin: 0 auto;
    margin-top: 21px;
}

.legal-section .sec-row .tagline a {
    color: #212529;
}

/* Pagination */

.pagination_top {
    overflow: hidden;
    padding-top: 1.875rem;
    border-top: 1px solid #999;
    margin-top: 20px;
    display: block;
}

.pagination {
    margin-left: auto;
    float: right;
}


.nav-links a, .news-archive-pagination a, .page-numbers.current {
    color: #2c523b;
    padding: 5px 13px;
    border: 1px solid;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.page-numbers.current {
    color: #fff;
    background-color: #2c523b;
    border-color: #2c523b;
}


@media only screen and (min-width: 680px) {
   .legal-section .sec-row {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media only screen and (min-width: 1080px) {
   .legal-section .sec-row {
        flex: 0 0 20%;
        max-width: 20%
    }
}

@media only screen and (max-width: 1080px) {
   .legal-section .sec-row {
        flex: 0 0 20%;
        max-width: 20%
    }
    .sec-row:nth-child(3) img {
        margin-top: 22px;
    }

    .legal-section .sec-row .far {
        font-size: 3.5rem !important;
    }
}

@media only screen and (max-width: 1200px) {
    .legal-section .sec-row {
         flex: 0 0 22%;
         max-width: 22%
     }
}

@media only screen and (max-width: 774px) {
    .legal-section .sec-row .icon img {
        max-width: 50px;
    }
}

@media only screen and (max-width: 1467px) and (min-width: 1220px) { 
    .sec-row:nth-child(3) img {
        margin-top: 27px;
    }

    .legal-section .row .sec-row:nth-child(3) {
        margin-right: -40px;
        margin-left: -40px;
    }

    .legal-section .sec-row:nth-child(3) .icon {
        top: 12px;
    }

}


@media only screen and (max-width: 679px) {
    .legal-section .sec-row {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #footer-widget {
        padding-top: 70px !important;
    }

    .legal-section .sec-row:nth-child(3) {
        margin-left: 55px !important;
    }

    .legal-section .sec-row:nth-child(5) {
        margin-left: 115px !important;
    }

}

@media only screen and (max-width: 480px) {
    .legal-section .sec-row {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 50px;
    }

    .legal-section .sec-row {
        margin-left: -45px !important;
        margin-right: 0 !important;
    }

    .legal-section .sec-row:nth-child(1) {
        margin-left: -45px !important;
    }

    .legal-section .sec-row:nth-child(3) {
        margin-left: -45px !important;
    }

    .legal-section .sec-row:nth-child(5) {
        margin-left: 0 !important;
    }

    .legal-section .sec-row:first-child .icon {
       right: 0;
       left: 66px;
       top: -37px;
       width: 68%;
    }

    .legal-section .icon {
        width: 115%;
        top: -35px;
    }

    .legal-section .sec-row:nth-child(3) .icon {
        top: -35px;
    }

    .legal-section .sec-row:last-child .icon {
        left: 130px;
        top: -39px;
        width: 68%;
    }

    #footer-widget {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}



/*Responsive CSS*/

@media (min-width: 1460px) {
    .page-template-template-front-page .container {
        max-width: 1400px;
    }
}

@media (max-width: 1000px) {
    .shl-1 {
        display: inline !important;
        text-align: left !important;
        max-width: none !important;
        float: none !important;
    }
}


@media (max-width: 768px)  {
    section {
        padding: 50px 0;
    }

    .section-heading {
        text-align: left;
    }

    #content section .section-heading {
        float: none !important;
        margin-bottom: 15px;
        text-align: left;
    }

    #democraticinstitutions-slider .item-content {
        bottom: 20px !important;
    }

    .item-content {
        max-width: calc(100% - 5%);
        height: 235px !important;
    }

    .resource {
        margin-bottom: 50px;
    }

    #blogs-news {
        padding: 0;
    }

    #blogs-news .viewall {
        right: 0px;
    }

    #elections {
        max-height: 1000px !important;
    }

    .timeline {
        max-width: 275px !important;
        margin: auto;
        height: 665px !important;
    }

    .timeline .row1 {
        margin-left: 0;
    }

    body .timeline .row1, body .timeline .row2 {
        width: 100% !important;
        height: 350px !important;
        position: relative;
    }

    body .timeline .row1 {
        margin-bottom: 10px !important;
    }
    .timeline .two, .timeline .six {
        right: 0;
    }
    .timeline .row2 {
        top: -60px;
    }
    #content .election {
        height: 500px;
        width: 100%;
    }

    #content .election:nth-child(even),
    #content .election:nth-child(even) {
        right: 0 !important;
        left: auto !important;
    }

    #content .election:nth-child(odd),
    #content .election:nth-child(odd) {
        left: 0 !important;
        right: auto !important;
    }

    #content .election.one {
        top: 0;
    }

    #content .election.two,
    #content .election.six {
        top: 75px;
    }

    #content .election.three,
    #content .election.seven {
        top: 150px;
    }

    .timeline .four,
    .timeline .eight {
        bottom: 0 !important;
        top: auto !important;
    }
    

    #footer-widget {
        padding: 50px 0;
    }

    #footer-widget section {
        padding: 0;
    }

    .footer-band {
        margin-top: 0;
    }
}



#footer-widget {
    background: #bec7c1 !important; /*444444 bg changed to reveal logos*/
}