@import url("../maps/style_global.css");

.evaluation-graph__item.bar.bar--overall {
    height: 22px !important;
    padding-bottom: 27px !important;
}

.popupModal .cmo-graph__item__text {
    /*
    text-align: left !important;
	width: 156px !important;
	*/
    padding-bottom: 5px;
}

.popupModal .cat-box-title h2 {
    font-size: 18px;
}

/*.popupModal .cmo-graph__item--false.index-cmo .cmo-graph__status:after, .cmo-graph__item--true.index-cmo .cmo-graph__status:after {
    width: 33px;
    height: 33px;
    position: absolute;
    right: 0px;
    top: 60px !important;
    font-size: 2rem;
    color: white;
    border-radius: 50%;
    padding: 1px;
}
*/
.popupModal .groupe_cmo1 {
    text-align: center;
}

.popup {
    background: rgba(100, 100, 100, 0.5);
    position: fixed;
    display: none;
    z-index: 5000;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.popup .popupModal {
    height: auto;
    max-width: 800px;
    width: 70%;
    position: fixed;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    background: #FFFFFF;
    padding: 1px;
    z-index: 5001;
    border: 5px solid rgb(244, 243, 240);
    border-radius: 10px;
    box-shadow: 0px 0px 15px 0px rgba(#000000, 0.4);

}

div.name {
    display: inline-block;
    background-color: rgb(190, 0, 0);
    text-align: center;
    color: #fff;
    width: 100%;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    /*
	height: 52px;
    margin-top: 0px;
    padding-top: 15px;
	*/
}

.btn-close {
    position: absolute;
    right: 3px;
    top: 3px;
    transition: all .4s ease;
    background: #FFF;
    padding: 7px 8px;
    font-size: 15px;
    color: #000;
    opacity: 1;
    border: 1px solid #413b3b;
}

.btn-close:hover {
    background: #FFF;
}

span.namecom {
    text-align: center;
    /*font-weight: 300;*/
    font-size: 24px;
}

span.namegov {
    float: left;
    padding-left: 10px;
    font-size: 20px;
    padding-top: 4px;
}

.one_fifth.index-cmo {
    padding-top: 0px !important;

}

h4.bar__legend {
    line-height: 1.9 !important;
    padding-left: 14px !important;
    color: #000;
    font-size: .8rem;
    margin-top: 0;
}

.bar__threshold {
    height: 22px !important;
    border-left: 1px solid rgba(0, 0, 0, 0.6) !important;
    padding-left: 6px;
    position: relative !important;
    left: 70% !important;
    text-align: left !important;
    display: block;
}

.popup-desc {
    color: #c5c1c1;
    font-size: 16px;

}

a.more-link.link-gov {
    font-family: Droid Sans;
    float: right;
    margin-bottom: 2px;
    margin-right: 2px;
}

.popupModal a.more-link.btnCmoEp {

    margin-top: 13px;
}

text.bar__legend__gouvernance {
    padding-left: 24px;
    position: absolute;
    z-index: 999;
    top: 5px;
    color: #fff;
    font-weight: bold;
}

.bar__value:after {
    left: 0 !important;
}

p.one_half {
    padding-left: 7px;
    padding-top: 7px;

}

.popupModal .cat-box {
    margin-bottom: -10px;
}

.popupModal .cat-box-title {
    padding: 2px 0;
}


.popupModal .cat-box-title .stripe-line {
    margin-top: 4px !important;
}

.cmo-result h2 {
    font-size: 27px;
}

.city-page__cmo .one_fifth {
    width: 16.8%;
}

.popupModal .cmo-result h3 {
    text-align: center !important;
    margin-top: 0px !important;
}

.one_fifth.index-cmo {
    padding-top: 1px !important;

}

.popupModal .large-2.columns img.tie-appear {
    max-width: 50px !important;
    margin-top: 0px !important

}

.popupModal .cmo-result h2 {
    margin-right: 0px;
    font-size: 16px;
    text-transform: uppercase;
    text-align: left;
    margin-top: 15px;
    margin-left: 12px;
}

.popupModal .cmo-result h5 {
    margin-right: 0px;
    font-size: 12px;
    text-transform: uppercase;
    text-align: left;
    margin-top: 15px;
    margin-left: 12px;
}


.chart-finance #container {
    height: 300px !important;
    margin-top: 0px;
    overflow: visible;
}

nav#main-nav {
    z-index: -1;
}

.bar--overall .bar__container {
    height: 22px !important;
}

.bar--overall .bar__value {
    height: 22px !important;

}

@media only screen and (min-width: 320px) and  (max-width: 760px) {
    nav#main-nav {
        z-index: -1;
    }

    .popup .popupModal {
        max-width: 800px;
        width: 90%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .entry {
        text-align: center;
    }

    div.map-row-12 h1.list-gov {
        display: inline-flex;
    }

    .entry .index-cmo h3 {
        font-size: 12px !important;
        margin-top: 5px;
    }

    /*.popupModal .cmo-graph__item__text{*/
    /*width: 0 !important;*/
    /*}*/
    .cmo-graph__image-wrapper {
        max-height: 50px !important;
        max-width: 50px !important;
        padding: 0 !important;
    }

    .chart-finance #container {
        height: 232px;
        margin-bottom: -70px;
    }

    a#detail {
        position: relative;
    }

    .cmo-graph__item--false.index-cmo .cmo-graph__status:after, .cmo-graph__item--true.index-cmo .cmo-graph__status:after {
        width: auto !important;
        height: auto !important;
        position: absolute;
        right: 0;
        top: 31px !important;
        font-size: 1rem !important;
        color: white;
        border-radius: 50%;
        padding: 1px;
    }

    .cat-box-title h2 {
        font-size: 15px;
        padding-top: 4px;
    }

    .popupModal .cmo-result h2 {
        margin-right: 0px !important;
        font-size: 12px !important;
        text-transform: uppercase;
        text-align: center;
    }

    span.namecom {
        text-align: center;
        font-weight: 300;
        font-size: 12px;
    }

    span.namegov {
        float: left;
        padding-left: 10px;
        font-size: 10px;
    }

    .content .entry #login-form p {
        display: inline-grid;
    }

    .cat-box-title {
        padding: 0 !important;
    }

    .one_fifth.index-cmo {
        padding-top: 2px !important;
    }

    .cat-box-title .stripe-line {
        margin-top: 9px !important;
    }

    text.bar__legend__gouvernance {
        font-weight: normal;
    }

    .large-2.columns img.tie-appear {
        max-width: 40px !important;
        margin-top: 6px !important;
    }

    .cmo-result h2 {
        margin-right: 0px !important;
        font-size: 16px !important;
        margin-top: 15px !important;
        text-transform: uppercase;
        text-align: center;
    }

    .groupe_cmo1, .groupe_cmo2 {
        display: inline-flex;
    }

    .bar__threshold {
        right: 30% !important;
        left: 0% !important;
        visibility: visible !important;
        border-right: 1px solid rgba(0, 0, 0, 0.6) !important;
        border-left: 0px !important;
        padding-right: 6px !important;
        position: absolute !important;
        text-align: right !important;
    }

    .popupModal a.more-link.btnBudget {
        margin-top: 0px;
    }

    .popupModal a.more-link.btnCmoEp {
        margin-top: 0;
    }
}

@media only screen and (max-width: 360px) {
    .popup .popupModal {
        overflow-y: scroll !important;
        height: 550px !important;
    }
}

@media only screen and (max-width: 320px) {
    .popup .popupModal {
        overflow-y: scroll !important;
        height: 550px !important;
    }

    .entry .index-cmo h3 {
        font-size: 14px;
        margin-top: 0px;
    }
}

@media only screen and (max-width: 768px) {
    .popupModal .cat-box-title h2 {
        font-size: 12px;
    }

    #scrolexemple {
        height: 100% !important;
        overflow-y: auto !important;
    }

    .top-links-container {
        display: ruby !important;
    }

    .top-header {
        display: none !important;
    }

    .top-header-ministere {
        padding: 0px !important;
    }

    .top-links-item {
        border-left: 0px solid #EEE !important;
    }

    .logo-rep-tunisie {
        height: 54px !important;
    }
    a.repunlique-tunisie {
        color: #FFF !important;
    }
}

@media only screen and (min-width: 600px) and (width: 1024px) {

    .bar__threshold {
        border-left: 1px solid rgba(0, 0, 0, 0.6) !important;
        padding-left: 6px;
        position: relative !important;
        left: 70% !important;
        text-align: left !important;
        display: block;

    }

    .popupModal a.more-link.btnCmoEp {
        width: 107px;
        margin-top: 0px;
    }

    .popupModal {
        height: 85% !important;
        overflow-y: auto !important;
        overflow-x: hidden;
    }
}

@media only screen and (max-width: 330px) {
    .div.map-row-12 {
        width: 100%;
    }
}

@media only screen and (min-width: 700px) and  (max-width: 1024px) {
    .evaluation-graph__item.bar.bar--overall {
        margin-top: -5px;
    }
}

.top-header-ministere {
    width: 100%;
    max-width: none;
    padding: 0 30px;
}