/********************** --- BASE LAYOUT --- ********************/

.navbar {
    background-color: #fefefe;
    background-image: url('../images/header-bg.png');
    background-repeat: no-repeat;
    background-position: top left;
    height: 100px;
    margin-bottom: 0;
}

.mainarea {
    padding-right: 5px;
    padding-left: 5px;
    margin-top: 2px;
    overflow: hidden;
}

.subnav {
    padding-left: 0;
    padding-right: 0;
}

.welcome-element {
    display: inline-block;
}

.main-header {
    background-image: url('../images/header-rne.png');
    background-size: 100% 100%;
    height: 230px;
}

@media screen and (max-width: 1200px) {
    .main-header {
        height: 170px;
    }
}

@media screen and (max-width: 991px) {
    .main-header {
        height: 150px;
    }
}

@media screen and (max-width: 767px) {
    .main-header {
        height: 120px;
    }
}

@media screen and (max-width: 500px) {
    .main-header {
        height: 100px;
    }
}

@media screen and (max-width: 400px) {
    .main-header {
        height: 80px;
    }
}

#brandTitleSmall {
    float: right;
}

#brandTitleSmall a {
    margin-top: 5px;
    float: right;
    color: white;
    font-size: 26px;
    padding-right: 5px;
    padding-bottom: 0;
    height: 40px;
}

#brandTitle a {
    padding-top: 70px;
    color: white;
    font-size: 26px;
    float: right;
}

.sitename-small-shortname {
    display: none;
}

.breadcrumb {
    color: #777777;
}

.breadcrumb .active {
    font-weight: bold;
}

.total-counter {
    padding: 5px;
    background-color: #f3f3f3;
    margin-bottom: 5px;
    margin-left: 0;
    margin-right: 0;
}

.total-label {
    margin-top: 10px;
    font-weight: bold;
}

@media screen and (max-width: 610px) {
    .sitename-small-fullname {
        margin-top: -10px !important;
        font-size: 16px !important;
        width: 150px;
    }
}

@media screen and (max-width: 375px) {
    .sitename-small-fullname {
        margin-top: -10px !important;
        font-size: 14px !important;
        width: 135px;
    }
}

@media screen and (max-width: 358px) {
    .sitename-small-fullname {
        margin-top: -10px !important;
        font-size: 14px !important;
        width: 125px;
    }
}

#brandTitleLarge a {
    padding-top: 70px;
    color: white;
    padding-left: 300px;
    font-size: 30px;
}

@media screen and (max-width: 768px) {
    #brandTitle a {
        font-size: 24px;
        float: right;
    }

    #brandTitle {
        float: right;
    }
}

@media screen and (max-width: 480px) {
    #brandTitle {
        display: none;
    }
}

.home-button {
    background-color: #0079be;
    /*float: right;*/
    /*margin-left: 15px;*/
    /*margin-right: 5px;*/
    /*margin-top: 15px;*/
    float: left;
    margin-left: 10px;
    margin-top: 10%;
}

.side-active {
    background-color: #005a99 !important;
}

.home-button .icon-bar {
    background-color: white !important;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #0079be;
}

#footer {
    margin-top: 20px;
    color: #fff;
}

#footer a {
    color: #fff;
}

#footer span {
    white-space: nowrap;
    /*margin: 0 5px;*/
}

#footer .left-footer {
    background: rgba(0, 0, 0, 0) url("/images/hg-cnue-footer.jpg") repeat-x scroll 0 0;
    float: left;
    /*line-height: 1.5em;*/
    min-height: 71px;
}

#footer .right-footer {
    background: transparent url("/images/hg-cnue-footer.jpg") repeat-x scroll 0 0;
    float: left;
    min-height: 71px;
}

#footer .right-footer #euFlag {
    float: left;
    margin-right: 15px;
}

#footer h3 {
    font-size: 14px;
    margin-top: 10px;
}

#footer h4 {
    font-size: 12px;
}

#footer h3 + h4 {
    margin-top: -6px;
}

#footer h4 + h4 {
    margin-top: -5px;
}

#footer .just-number {
    font-size: 80%;
}

@media only screen and (max-width: 1200px) {
    #footer h3 {
        font-size: 12px;
    }

    #footer h4 {
        font-size: 10px;
    }
}

@media only screen and (max-width: 992px) {
    #footer h3 {
        font-size: 11px;
        margin-top: 5px;
    }

    #footer h4 {
        font-size: 10px;
    }
}

@media only screen and (max-width: 767px) {
    #footer h3 {
        font-size: 11px;
    }

    #footer h4 {
        font-size: 10px;
    }

    #footer .right-footer #euFlag {
        margin: 15px 15px 0 0;
        width: 60px;
    }

    #footer .right-footer #euFlag img {
        width: 60px;
    }
}

/* mobile */
@media only screen and (max-width: 480px) {
    #footer .left-footer h3 {
        font-size: 13px;
    }

    #footer .left-footer h4 {
        font-size: 10px;
    }

    #footer .right-footer h3 {
        font-size: 12px;
    }

    #footer .right-footer h4 {
        font-size: 9px;
    }
}

@media only screen and (max-width: 320px) {
    #footer .left-footer h3 {
        font-size: 12px;
    }

    #footer .left-footer h4 {
        font-size: 10px;
    }

    #footer .right-footer h3 {
        font-size: 12px;
    }

    #footer .right-footer h4 {
        font-size: 9px;
    }

    #footer .right-footer #euFlag {
        margin: 20px 15px 0 0;
        width: 60px;
    }
}

/******************************* GENERAL */

.section-header {
    background-color: #337ab7;
    padding: 2px;
    color: white;
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

mark {
    background: lightskyblue;
    color: black;
    /*background-color: #a94442;*/
    /*color: white;*/
    /*font-weight: bold;*/
}

.currentLanguage {
    padding: 0 5px;
}

.video-iframe {
    height: 0;
    padding-bottom: 56.2%;
    margin-bottom: 20px;
    position: relative;
}

.video-iframe iframe {
    width: 100%;
    height: 100%;
    position: absolute;
}

.social-media-button {
    margin-top: -10px;
    margin-left: 10px;
    margin-bottom: 10px;
}

/****************************** NOTIFICATIONS */

.notification-unread .panel-body {
    font-weight: bold;
}

/****************************** ENQUIRIES */

.enquiry-content {
    margin-top: 20px;
}

.enquiry {
    cursor: pointer;
}

.enquiry:hover, .enquiry:focus {
    background-color: #ebf0f5;
}

#replyPanel label {
    vertical-align: top;
}

#replyPanel textarea {
    width: 100%;
    height: 150px;
}

#archiveDialog textarea {
    width: 100%;
    height: 150px;
}

/******************************* FORUMS */

.forum {
    cursor: pointer;
}

.forum:hover, .forum:focus {
    background-color: #ebf0f5;
}

.forum-thread {
    cursor: pointer;
    margin-bottom: 2px;
    margin-top: 2px;
    background-color: #fefefe;
}

.forum-content-title {
    font-size: larger;
}

.forum-content-title:hover {
    text-decoration: underline;
}

.forum-info-panel {
    cursor: pointer;
}

.forum-info-panel:hover, .forum-info-panel:focus {
    background-color: #2e6b99 !important;
}

.forum-info-title {
    font-weight: bold;
    font-size: larger;
}

.forum-info-title:hover {
    text-decoration: underline;
}

.forum-info-details {
    font-size: smaller;
}

/**/

.thread-info-panel {
    cursor: pointer;
    margin-bottom: 5px;
}

.thread-info-panel:hover, .thread-info-panel:focus {
    background-color: #2e6b99 !important;
}

.thread-info-title {
    font-weight: bold;
}

.thread-info-title:hover {
    text-decoration: underline;
}

.thread-info-title-search {
    font-weight: bold;
}

.thread-info-details {
    font-size: smaller;
}

.thread-info-details-search {
    font-size: smaller;
}

/**/

.thread-content {
    font-weight: bold;
}

.thread-content:hover {
    text-decoration: underline;
}


.thread-content-details {
    font-size: smaller;
}

/**/

.post-content {
    border-left: 1px solid #e3e3e3;
    margin-left: -1px;
}

.post-content-search {
}

.post-content-details {
    font-size: smaller;
    color: #888;
    border-bottom: 1px solid #e3e3e3;
    width: 100%;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.post-content-details-search {
    font-size: smaller;
    color: #888;
    border-top: 1px solid #e3e3e3;
    width: 100%;
    padding-top: 5px;
    margin-top: 10px;
}

.post-content-body {
    width: 100%;
    margin-bottom: 5px;
}

.post-reported {
    font-size: xx-small;
    background-color: red;
}

.post-user-icon {
    font-size: 3em;
    color: #959595;
}

.post-user-info-part {
    padding: 5px;
    text-align: center;
    border-right: 1px solid #e3e3e3;
    /*width: 86px;*/
}

.forum-post {
    margin-top: 2px;
    margin-bottom: 2px;
}

/************************ CHECKLIST **********************/

#pnlChecklist {
    margin-top: 20px;
    padding-left: 20px;
}

.checklist-flags {
    width: 160px;
    text-align: center;
    padding: 0 5px 7px;
}

.checklist-flags:hover {
    background-color: #e3e3e3;
    cursor: pointer;
}

.checklist-flags-selected {
    background-color: #e3e3e3;
}

.checklist-flags-active {
    background-color: #e3e3e3;
}

.checklist-content {
    margin-top: 10px;
    margin-bottom: 10px;
}

.checklist-content h1 {
    font-weight: bold;
    font-size: 18px;
    background-color: #ebf0f5;
    padding: 5px;
}

.checklist-content h2 {
    font-weight: bold;
    font-size: 16px;
    background-color: #ebf0f5;
    padding: 5px;

}

.checklist-content h3 {
    font-weight: bold;
    font-size: 15px;
    background-color: #ebf0f5;
    padding: 5px;
}

.checklist-content p {
    font-size: 14px;
    margin-left: 5px;
}

.checklist-last-modified {
    font-size: 10px;
    margin-top: 20px;
    margin-left: 20px;
}

/************************ HANDBOOKS **********************/

#pnlHandbook {
    margin-top: 20px;
    padding-left: 20px;
}

.handbook-last-modified {
    font-size: 10px;
    margin-top: 20px;
    margin-left: 20px;
}

/*************************** AUTHENTICATION MAP ************************/

.am-legend {
    border: solid 1px;
    padding: 10px;
    background-color: #fafafa;
    font-size: 13px;
}

.am-legend-list {
    font-size: 12px;
    list-style-type: none;
    margin-bottom: 0;
}

.am-legend-list > li > em {
    display: inline-block;
    width: 15px;
}

#pnlAuthenticationMap td {
    border: 1px solid black;
}

#pnlAuthenticationMap table td, #pnlAuthenticationMap table th  {
    padding: 5px;
}

.am-header td {
    border: 1px solid black;
}

.am-header {
    font-weight: bold;
    background-color: #067fc4;
    color: white;
}

.am-category {
    background-color: #ebf0f5;
    font-weight: bold;
    font-size: 1.2em;
}

/******************** LEGISLATIVE OBSERVER **************************/

#pnlObserver, #pnlDomains {
    margin-left: 15px;
    margin-right: 15px;
}

#pnlObserver > div, #pnlDomains > div {
    background-color: #fafafa;
    margin-bottom: 15px;
    padding: 5px;
}

#pnlNoState {
    margin-top: 20px;
    width: 100%;
    font-weight: bold;
}

#pnlState {
    /*font-size: 12px;*/
}

#pnlState h3 {
    font-weight: bold;
    font-size: 15px;
    background-color: #ebf0f5;
    padding: 5px;
}

#pnlState p {
    margin-left: 5px;
}

/* Hacks */

/*@media all and (max-width: 768px) {*/
    .post-content .btn {
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }
/*}*/

.ekko-lightbox-nav-overlay a {
    opacity: 1 !important;
}

.empty-button-menu {
    height: 50px;
}

/* we mark substrings, do not want left/right padding */
mark, .mark {
    padding: 0.2em 0 !important;
}

.checkbox-after-label {
    margin-left: 0 !important;
}

#formCrosscheckContent label {
    display: inline !important;
    font-weight: normal !important;
}

#formCrosscheck input {
    /*margin-top: 2px;*/
    /*margin-bottom: 2px;*/
}

#formCrosscheckContent input[type="checkbox"] {
    margin-left: 2px;
    margin-right: 2px;
}

#formCrosscheckContent button, #formCrosscheckContent input, #formCrosscheckContent select, #formCrosscheckContent textarea {
    line-height: normal;
}

#formCrosscheckContent textarea {
    resize: none;
}

#formCrosscheck td.narrowCell {
    white-space: nowrap;
    width: 1%;
    padding-left: 2px;
    padding-right: 2px;
}

#formCrosscheck td.halfCell {
    width: 50%;
}

#formCrosscheck table.nonFluid {
    width: auto !important;
}

/*********************** Survey ************************/

.survey-question-answer {
    margin-bottom: 10px;
}

.survey-question {
    font-weight: bold;
    /*margin-bottom: 5px;*/
}

.survey-answer label {
    /*font-size: smaller;*/
}

.survey-section-title {
    font-size: larger;
    font-weight: bold;
    background-color: #f3f3f3;
}

/*********************** Homepage **********************/

#home-more-news {
    margin-bottom: 20px;
}

#home-alpha-ol {
    list-style-type: lower-alpha;
}

.news-document-list {
    margin-top: 10px;
}

/*********************** STATISTICS ********************/

.graph-panel {
    margin-top: 20px;
}

/*********************** UTILS *************************/

.white-space-pre {
    white-space: pre-wrap;
}

.hideContent {
    overflow: hidden;
    height: 85px;
}

/********************** REGISTER ***************************/

.subheader-message {
    background-color: #337ab7;
    padding: 2px;
    color: white;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
}

.subheader-message a {
    font-weight: bold;
    color: white;
}

/*******************  VIDEO *************************/

.video-container {
    padding: 2px;
    background-color: gray
}
