
:root{
    --main-color: #5975B9;
    --menu-color: #8ECEF5;
    --background-color: #fff;
    --menu-border: #ff8d3d;
    --footer-color: #333533;
    --theme-bg: #fff;
    --theme-text: #212529;
}

[data-theme="dark"] {
    --main-color: #161625;
    --menu-color: #818cab;
    --background-color: #161625;
    --menu-border: #161625;
    --footer-color: #818cab;
    --theme-bg: #212529;
    --theme-text: #fff;
}

html {
    font-size: 62.5%;
}
body {
    height: 100vh; /* Make sure it covers the full viewport height */
    background:
            linear-gradient(to bottom, rgba(255, 255, 255, 0) 80%, white 100%), /* Gradient fade */
            url('../../../images/header-01.jpg') no-repeat center top; /* Background image */
    background-size: 100% 50%; /* Image covers half the height */
    background-repeat: no-repeat; /* Prevent repeating */
    /*background-color: var(--background-color);*/
    font-family: Rubik, sans-serif;
    margin-top: 2rem;
}
h1,h2,h3,h4,h5 {
    color: #777;
}

.employee-img {
    height: 60px!important;
    border-radius: 15px;
}
.romania-logo {
    max-height: 120px;
    float: right;
}
/* Lightbox (cbox) Settings */
#cboxTitle {
    font-size: 14px;
}


.secondary-block {
	display: flex;
	height: auto;
	max-width: 100%;
	background-color: transparent!important;
	justify-content: center;
	transition: .2s;
	margin: 30px 0;
}

.secondary-block-element {
	background: white;
	/*margin: 10px;*/
	padding: 20px;
    background-color: var(--theme-bg);
    box-shadow: 15px 14px 38px 0px rgba(0,0,0,0.1);
	text-align: center;
	transition: .2s;
	color: var(--theme-text);
}

.secondary-block-element:hover {
	transform:translateY( -15px);
	background-color: white;
	transition: .2s;
	color: white!important;
}

.secondary-block-element:hover a {
	color: var(--theme-text)!important;
}

.secondary-block-element:hover i {
	color: var(--theme-text)!important;
}

.secondary-block-element a {
	text-decoration: none;
	color: var(--theme-text);
}

.secondary-block-element div {
	margin-left: auto;
	margin-right: auto;
}

.main-block .townhall-name {
	float: right;
	margin-top: auto;
	margin-bottom: auto;
	margin-right: 20px;
	align-items: center;
	text-decoration: none;
}

.main-icon {
	font-size: 50px;
	margin-bottom: 10px;
}

/*
* Forms
*/

.form-control, .input-group-text {
    border-color: #5777BB;
}
.form-control {
    background: -moz-linear-gradient(top, #feffff 0%, #fbfafb 100%);
    background: -webkit-linear-gradient(top, #feffff 0%,#fbfafb 100%);
    background: linear-gradient(to bottom, #feffff 0%,#fbfafb 100%);
}
.form-control:focus {
    border-color: #5777BB;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px #5777BB;
}
.input-group-text {
    background-color: #82C8F4;
    color:#fff;
}

/*
* Navbar
*/

.header {
    background-color: var(--main-color);
    padding: 1.5rem;
    min-height: 150px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.header .townhall-brand {
    display: flex;
    align-items: center;
}
.header .townhall-brand .logo {
    max-height: 120px;
}

.header .townhall-brand h1 a {
    color: #fff;
}
.header .townhall-brand h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-left: 2rem;
}
.header .townhall-brand h1 span {
    font-weight: normal;
    color: #fff;
    display:block;
    font-size: 2.5rem;
}

.navbar-container {
    position: relative;
    /*border-top: 1px solid var(--menu-border);
    border-bottom: 6px solid var(--menu-border);*/
    padding: 1px 0 5px 0;
    z-index: 9999;
    background: rgb(186,222,242); /* Old browsers */
    background: -moz-linear-gradient(top, var(--menu-border) 0%, var(--menu-border) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, var(--menu-border) 0%, var(--menu-border) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, var(--menu-border) 0%, var(--menu-border) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#badef2', endColorstr='#8ecef5',GradientType=0 );*/
}
.navbar {
    padding: 0;
    z-index: 100;
}
.navbar-toggler {
    border: none;
    font-size: 2.6rem;
}
.navbar-toggler i {
    color: #fff;
    cursor: pointer;
}
.navbar .nav-item .nav-link {
    margin-right: 2rem;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}
.navbar .nav-item .nav-link {
    color: white;
    font-size: 1.4rem; /* riginal 1.6*/
    font-weight: normal;
    padding: 1.2rem .7rem;
}
.navbar .nav-item .nav-link:hover, .lang-select:hover {
    background-color: rgba(255,255,255,.8);
}

.map {
    margin: 0 0;
}
.map iframe {
    border: none;
}
/*
* Main navigation
*/
.nav-main .lang-select img {
    width: 34px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #F0DAB0;
    margin-top: 6px;
}
.nav-main .lang-select img:hover {
    border-color: #dededa;
}

/*
* Nav Pills
*/
.nav-pills {
    margin-bottom: 1rem;
}
.nav-pills .nav-item .nav-link {
    border-bottom: 3px solid #aaa;
    padding-left: 3rem;
    padding-right: 3rem;
    border-radius: 0 0 3px 3px;
}
.nav-pills .nav-item .nav-link.active {
    color: #fff;
    font-weight: bold;
    background-color: #5876BA;
    border-color: #5876BA;
}
.nav-pills .nav-item .nav-link:hover {
    background-color: rgba(100,100,100,.1);
}
.nav-pills .nav-item:not(:last-child) {
    margin-right: 1.5rem;
}
.nav-item form.search {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}
.nav-item form.search input[name=q] {
    font-size: 1.4rem;
    min-width: 180px;
}

/*
* Main cointainer
*/
.main-container {
    padding:0;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.75);
    -moz-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.75);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.75);
    border-radius: 6px;
}
.content-wrapper {
    display: flex; 
    width: 100%;
    align-items: stretch;
    padding: 0;
    margin-bottom: 15px;
}
/*
* Sidebar & Secondary Menu
*/
.sidebar {
    background: var(--main-color);
    min-width: 265px;
    max-width: 265px;
    padding: 0;
}
.sidebar.active {
    margin-left: 0;
}
#secondary-nav {
    font-size: 1.7rem;
    padding: 2rem 0;
}
#secondary-nav a {
    color: #fff;
    display: block;
    padding: .5rem 1rem .5rem 1.8rem;
    transition: all 0.2s ease-in-out;
}
#secondary-nav > ul > li > a {
    background: linear-gradient(0deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 100%);
    border-bottom: 1px solid rgba(255,255,255,.12);
    border-bottom-left-radius: 15px;
}
#secondary-nav a:hover  {
    text-decoration: none;
    
}
#secondary-nav ul > li > a {
}
#secondary-nav ul > li > a:hover {
    color: #000;
}
#secondary-nav ul > li > ul a {
    padding-left: 3rem;
    font-size: 1.3rem;
}
#secondary-nav ul > li > ul a:hover {
    background-color: rgba(255,255,255,.7);
    color: var(--main-color);
}
@media (max-width: 768px) {
    .sidebar {
        display: none;;
    }
    .sidebar.active {
        margin-left: 0;
    }
    #language-bar {
        margin-left: 0!important;
    }
}

/*
* Footer
*/

footer {
    /*border-top: 8px solid var(--menu-border);*/
    color:#CCC;
    padding: 3rem 1rem;
    font-size: 1.2rem;
    text-align: center;
    background-color: var(--footer-color);
}
footer a {
    color: #f2f2f2;
}
footer img.inline {
    margin-top: .4rem;
}

@media (max-width: 767px) {
    .main-container {
        margin: 0 !important;
        padding: 0;
    }
}
  
/*
* Page content
*/

.page-content {
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    color: var(--theme-text);
    background: var(--theme-bg);
    padding:0 24px 24px 24px;
    font-size: 14px;
    border-left: 8px solid #f2f2f2;
}
.page-content .list-group .monitor-heading a{
    color: #fff!important;
}
.page-content .list-group .list-group-item a{
    color: #212529;
}
.page-content p {
    word-wrap: break-word;
}
.page-content h1 {
    font-size: 32px;
    font-weight: normal;
    margin: 10px 0 1.2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 12px 0rem;
    color: var(--theme-text);
}
.page-content h2 {
    font-size: 22px;
    font-weight: normal;
    margin: 1.2rem 0 1.2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: .5rem 0;
    color: var(--theme-text);
}
.page-content h3 {
    font-size: 21px;
    font-weight: normal;
    margin: 1.2rem 0 1.2rem 0;
}
.page-content h4 {
    font-size: 17px;
    font-weight: normal;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: .5rem 0;
}
.page-content h2 i {
    color: #82C8F4;
}
.page-content h1 span {
}
.page-content a {
   
}
.page-content a:hover {
    color: #000;
    text-decoration: none;
}
.page-content img {
    max-width: 100%;
    height: auto;
}
.page-content .breadcrumbs {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.page-content .standard-page-image {
    position: relative;
    height: 300px;
    margin: 0 0 1rem 0px;
    overflow: hidden;
}
.page-content .standard-page-image img {
    width: 100%;
    position: absolute;
    top: -50%;
    z-index: 1;
    -webkit-filter: contrast(113%) brightness(117%) saturate(115%);
    filter: contrast(113%) brightness(117%) saturate(115%);
}
a.badge.badge-primary {
    background-color: #82C8F4;
    font-weight: normal;
}
ul.related-pages {
    border-left: 4px solid #E8BC65;
    padding: 2rem 0 2rem 1rem;
    margin: 0 0 1.5rem 0;
}
h5.related-pages {
    font-size: 1.5rem;
    color: #E8BC65;
}
ul.related-pages li {
    padding: .2rem 0;
}
div.related-files {
    background-color: #FDF7EA;
    padding: 20px;
    border-radius: 10px;
}
div.related-files h5 {
    font-size: 2rem;
    color: #777;
}
div.related-files ul {
    padding: 0rem 0 0rem 0rem;
    margin: 0 0 2rem 0;
    font-size: 1.4rem;
}
div.related-files ul li {
    padding: .2rem 0;
}
div.related-files ul li i {
    color: #CFAE66;
}
dl.contact {}
dl.contact dt {
    margin-top: .5rem;
    font-size: 1.2rem;
}

/* Search */
#search .results .result {
    margin: 0 0 1.5rem 0;
}
#search .results .result h6 {
    font-size: 1.5rem;
}
#search .results .result .text {
    font-size: 1.3rem;
}
#search .search-keywords {
    margin: 0 0 1.5rem 0;
}
#search .results .result mark {
    background-color: #d1edfc;
    border-radius: 2px;
}

/*
* Home
*/
#home-carousel {
    height: 36rem;
    width: auto;
    overflow:hidden;
}
#home-carousel .carousel-inner {
    display: flex;
    background: #90CFF5;
    height: 100%;
    align-items: center;
}
#home-carousel .carousel-inner .carousel-item.active {
    display: flex;
    height: 36rem;
    align-items: center;
}
#home-carousel .carousel-inner img {
    margin: 0 auto;
    max-width: 100% !important;
    max-height: 36rem !important ;
}
#home .main-text {
    margin: 1rem 0 0 0;
}
#home .main-text img {
    margin: 0 1rem 0 1rem;
}
#home-carousel .stripe {
    background-color:rgba(0,0,0,.32);
    position:absolute;
    top:65%;
    left:0;right:0;
}
#home-carousel .stripe h2 {
    font-family: 'Courgette', cursive;
    font-size: 46px;
    color:#fff;
    padding: .8rem 1.7rem;
    text-shadow:3px 4px 5px rgba(0,0,0,.5);
    text-align: right;
    background:-webkit-gradient(radial, -47 63, 0, 220 -257, 465, from(rgba(255,2550,255,.25)), to(rgba(0,0,0,.4)))
}
#home h2 {
    margin-top: 0;
}
#home .normal-image {
    -webkit-filter: contrast(110%) brightness(125%) saturate(112%);
    filter: contrast(113%) brightness(117%) saturate(115%);
}
#home .homepage-box {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
    margin-bottom: 1.2rem;
}
#home .homepage-box h5 {
    border-bottom: 8px solid var(--menu-border);
    padding: .35rem;
    font-size: 14px;
    font-weight: bold;
    background-color: var(--main-color);
}
#home .homepage-box h5 a {
    color: #fff!important;
}
#home .homepage-box .text {
    padding: 1rem;
    font-size: 1.3rem;
}
#home .homepage-box .more {
    display: block;
    font-size: smaller;
    text-align: center;
    padding-bottom: 1.25rem;
}
#home .news .item {
    margin: 0 0 1em 0;
    border-bottom: 1px dotted lightgrey;
}
#home .news .item h4 {
    font-size: 16px;
}
#home .news .item span {
    display: block;
    font-size: smaller;
    color: #888;
    margin-bottom: .5rem;
}
#home .news .item .excerpt {
    font-size: 13px;
    margin-bottom: .5rem;
}

/*
* Standard Page
*/
#standard .videos .video {
    margin-bottom: 1.5rem;
}

/*
* Townhall structure
*/

#structure .department {
    margin-bottom: 1.5rem;
}
section#structure .departments dl {
    margin-bottom: 0px;
    font-size: 1.3rem;
}
#structure dl dt {
    padding-left: 3rem !important;
}

section#structure .employee .photo {
    background-color: #fff;
    padding: .5rem .5rem 1rem .5rem;
    border: 1px solid #AAA;
    margin: 0 0 1rem 1rem;
}
section#structure .statement {
    font-size: smaller;
    margin:0 0 .4rem 0;
}
 section#structure .statement label {
     background-color: #3E8CBB;
     color: #fff;
     padding: 3px 5px;
     border-radius: 4px;
     text-align: center;
     width: 4em;
     margin: 0 .8rem 0 0;
 }
 section#structure .statement label.hide {
     visibility: hidden;
 }

/*
* News
*/
section#news {

}
section#news .news-list {

}
section#news .news-list .item {
    margin: 0 0 1.2rem 0;
}
section#news .news-list .item a {
    font-size: 1.4rem;
}
section#news .news-list .item span {
    display: block;
    font-size: smaller;
    color: #888;
}

/*
* Civil Status
*/
#civil-status table.items {
    margin-top: 1.5rem;
}
#civil-status table.items .names {
    width: 50%;
}
#civil-status table.items .date {
    color: #777;
}
#civil-status table.items .fas.fa-heart {
    color: #d83148;
    opacity: .35;
}
#civil-status table.items tr.description td {
    font-size: 1.3rem;
}
#civil-status .download, #civil-status .more {
    text-align: center;
} 
   
/*
* Buttons
*/
.btn {
    border-radius: 0;
    padding:.6rem 1.8rem;
    font-weight:bold;
    color: #000;
    font-size: 1.5rem;
}
.accbtn {
    padding: .4rem 1rem;
}
.btn i {
    color: #D7F0FF;
}
.btn-submit {
    background-color: #5876BA;
    border-bottom: 3px solid #000;
}

.g-recaptcha {
    margin-bottom:1rem;
}

/*
* Statements
*/
#statements .years {
    margin-bottom: 1rem;
}
#statements .years .nav-item {
    margin-right: .5rem;
}
#statements .years .nav-item:last-child {
    margin-right: 0;
}
#statements .years li .nav-link {
    border: 1px solid #5876BA;
}
#statements .years li .nav-link:hover {
    background-color: #82C8F4;
}
#statements .years li .nav-link.active {
    background-color: #5876BA;
}
#statements .statements h6 {
    font-size: 1.2rem;
    color:#777;
}
#statements .statement {
    font-size: 1.3rem;
}

/*
* Videos
*/
#videos .videos .video {
    margin-bottom: 1.6rem;
}

/*
* Visitors Counter
*/
#visitors-counter {
    border: 1px solid #5876BA;
    display: block;
    width:12rem;
    height: 6.5rem;
    margin: 1rem auto;
    border-radius: 2px;
    padding: 1.38rem;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#80ffffff',GradientType=0 ); /* IE6-9 */
}
#visitors-counter:hover {
    text-decoration: none;
    border-color: #000;
}
#visitors-counter span {
    /* display: block; */
    vertical-align: middle;
}
#visitors-counter span.visitors-number {
    font-weight: bold;
    font-size: 13px;
}
#visitors canvas {
    margin-bottom: 1.5rem;
}

/*
* Pagination
*/
ul.pagination .page-item .page-link {
    border: 1px solid #fff;
    background-color: var(--main-color);
    color: #fff;
}
ul.pagination .page-item.active .page-link {
    background-color: var(--menu-color);
}
ul.pagination .page-item.disabled .page-link {
    background-color: #AAA;
    color: #fff;
}

/* new */

.btn-primary {
    background-color: var(--menu-color);
    border-color: var(--menu-color);
}

.active-menu {
    background-color: #F2F2F2;
    color: var(--main-color)!important;
}

.st-col {
    margin-top: auto;
    margin-bottom: auto;
}

.t-st {
    background-color: #F2F2F2;
    padding-top: 10px;
    padding-bottom: 10px;
}

.t-row {
    padding-top: 10px;
    padding-bottom: 10px;
}

#language-bar {
    margin-right: 0!important;
    margin-left: 15px;
}

/* Documente CL (documente...) */

ul.documents {
    list-style: none;
}
ul.documents li {
    margin-bottom: -1px;
    padding: .8rem 0 .8rem .5rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    overflow: auto;
}
ul.documents li:hover {
    background: #f2f3f4;
}
ul.documents li em.date {
    display: block;
    font-size: 12px;
    color: #555;
}
ul.documents li a.download {
    float: left;
    margin-top: -3px;
    font-size: 3rem;
    margin-right: 6px;
    color: var(--menu-color);
}
ul.documents li a.download:hover {
    color: var(--main-color);
}
#documents-tab.nav-tabs {
    border-color: var(--main-color);
}
#documents-tab .nav-link {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    font-size: 12px;
    background-color: #F1F2F4;
    border-color: #d6d6d6;
    border-bottom: 1px solid var(--main-color);
}
#documents-tab .nav-link.active {
    background-color: var(--main-color);
    color: #fff;
    font-weight: bold;
}

.home-img {
    padding: 25px;
}

#landsales .list-header {
    border-bottom: 1px solid var(--main-color);
    font-weight: bold;
    padding: 1em 0;
}
#landsales .item {
    padding: .5em 0;
    border-bottom: 1px solid #eee;
}
#landsales .item:hover {
    background-color: #eee;
}
.video-with-ratio {
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 56%;
}
.video-with-ratio iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.monitor-heading {
    background-color: var(--main-color)!important;
    border-color: var(--main-color)!important;
}

@media (min-width: 576px) and (max-width: 768px) {
    .container{
        max-width: 100%!important;
    }
}
.monitor-heading a{
    color: white;
}

.monitor-width {
    width: 39.6%;
}

@media (max-width: 768px) {
    .monitor-width {
        width: 100%;
    }
}
/*Simple css to style it like a toggle switch*/
.theme-switch-wrapper {
    display: flex;
    align-items: center;
  
    em {
      margin-left: 10px;
      font-size: 1rem;
    }
  }
  .theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
  }
  
  .theme-switch input {
    display:none;
  }
  
  .slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
  }
  
  .slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
  }
  
  input:checked + .slider {
    background-color: #66bb6a;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  