/* CSS REWRITE FOR CKAN */

/*IMPORTS*/

@import url('https://fonts.googleapis.com/css2?family=Titillium+Web&display=swap');

/* PROPERTIES */
:root {
  --account-background-color: #2a2c3f; 
  --masthead-background-color: #00263e;
  --search-red-color: #da1414;
  --search-title-color: #455b71;
  --search-placeholder-gray: #b7b7b7;
  --footer-background-blue: #005575;
  --main-gray: #eceff1;
  --link-blue: #0065cb;
  --badge-blue: #0066b3;
  --orange: #F30;
  --dark-blue: #002742;

  --font-family: "Titillium Web",Arial,sans-serif;

  /* BODY TEXT */
  --font-size-regular: 14px;        /* 16px */
  --font-size-medium: 2rem;         /* 32px */
  --font-size-large: 3rem;

  /* weigth*/
  --font-weight-medium: 600;
  --font-weight-normal: normal;
  --font-weight-bold: bold;

}


/* GLOBAL RULES */
body, html, h1, h2, h3, h4, h5, h6, p, a, span, div {
    font-family: var(--font-family) !important;
}

html{
    font-size: var(--font-size-regular) !important;
}

p {
    font-size: var(--font-size-regular) !important;
}

body{
    background: #eceff1 !important;
}

.secondary{
    position: relative;
    float: left;
    width: 20%;
    z-index: auto !important;
}

a{
    font-size: var(--font-size-regular) !important;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
    min-width: 0 !important;
}

.container-fluid-custom{
    margin-right: auto;
    margin-left: auto;
    max-width: 1184px;
}

@media (min-width: 992px) {
    .modal-lg {
        width: 90vw !important; 
    }
}

.modal{
    z-index: 10500 !important;
}

.badge{
    border: 1px solid var(--badge-blue);
    display: block;
    line-height: 1.25em;
    margin: 4px 0;
    padding: 2px 6px;
    position: relative;
    border-radius: 4px;
    background-color: var(--orange);
}

.media-item > img.media-image{
    align-self: flex-start;
}

.media-grid > .media-item {
    min-height: 170px;
}

.module-resource{
    z-index: auto;
}




/* home page */
.custom-background{
    background-color: white !important;
}

.account-masthead {
    background-color: var(--account-background-color) !important;
}

.user-image{
    border-radius: 15px;
}

.right-block{
    display: flex;
    align-items: center;
}

.right-block li{
    margin: 0.5rem;
}

.right-block li a{
    color: #fff;
}


/* LOGGED IN */
.logged-in-account-header{
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #fafafa;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
}


.logged-in-account-header div .div-loggedin li a{
    color: #777;
}
.logged-in-account-header div .div-loggedin li{
    padding: 10px 15px 10px;
}

.logged-in-account-header div .div-loggedin li .dropdown-toggle:after{
    border: solid #777;
    border-width: 0 2px 2px 0;
}

.logged-in-account-header div .div-loggedin .dropdown li{
    padding: 0;
}

.loggedin-navbar-mobile{
    display: none;
}

.collapse{
    margin: 0.5rem;
}

.collapse .navbar-mobile{
    display: flex;
    flex-direction: column;
}

.collapse .navbar-mobile .dropdown .dropdown-menu{
    position: relative;
    float: none;
    box-shadow: none;
}

.collapse .navbar-mobile .dropdown a{
    width: 100%;
}

.collapsing{
    margin: 0.5rem;
}

.collapsing .navbar-mobile{
    display: flex;
    flex-direction: column;
}

.collapsing .navbar-mobile .dropdown .dropdown-menu{
    position: relative;
    float: none;
    box-shadow: none;
}

.collapsing .navbar-mobile .dropdown a{
    width: 100%;
}


/* modal account */
.link-nav{
    margin-left: 10px;
    padding-top: 1.1em;
    margin-bottom: 20px;
}

.link-profilo.active{
    background-color: #F30;
    color: white;
    font-size: 15px;
    font-weight: normal;
    margin: 0;
    padding: 10px 10px 11px;
    border-radius: 4px;
    text-decoration: none;
}

.link-profilo:hover{
    background-color: #00263e;
    color: white;
        text-decoration: none;

}

.link-profilo{
    font-size: 15px;
    font-weight: normal;
    margin: 0;
    padding: 10px 10px 11px;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
}

.editor .editor-info-block{
    width: fit-content;
}

#user-edit-form{
    width: 60%;
}

.form-account-div{
    display: flex;
    justify-content: space-between;
}

.profile-info{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 15px;
    padding-bottom: 10px;
}

.profile-info p{
    margin: 0;
    margin-left: 10px;
}

.profile-info-changes{
    width: 20%;
    background: #fcfcfc;
    height: fit-content;
    border: 1px solid #d1d1d1;
    border-width: 0 0 0 1px;
    padding-top: 0;
    box-shadow: -3px 0 2px -2px whitesmoke;
    padding-right: 15px;
    padding-bottom: 19px;
    font-size: 14px;
}

.navigator{
    list-style: none;
    padding: 0;
}

.navigator .info-li{
    padding-left: 15px;
    border: solid #DDD;
    border-width: 1px 0;
    background: #f3f3f3;
    font-size: 14px;
    font-weight: 200;
    text-transform: none;

}

.navigator li{
    line-height: 27px;
}

.navigator li a {
    color: #F30;
    font-weight: 200;
    padding: 3px 15px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    display: flex;
}

.navigator li a.active{
    background: #003554;
    color: white;
}
.navigator li a.active:hover{
    background: #003554;
    color: white;
    text-decoration: none;
}

.navigator li a:hover {
    background: #e5f5fc;
    color: #009ae5;
    text-decoration: none;
}


/* account */
.account-header{
    background-color: #2a2c3f;
}

.user-icon{
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 14px;
    margin: 0 7px 0 10px;
}

.user-icon .head {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 5px;
    position: relative;
    left: 9px;
    top: 5px;
}

.user-icon .body {
    width: 14px;
    height: 7px;
    background: #000;
    position: relative;
    left: 6px;
    top: 7px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    display: inline-block;
    margin: 0 1em 1em 0;
}

/* text */
.user-text{
    padding-left: 0.5rem;
    border-left: 1px solid;
}

.right-block .dropdown{
    padding: 10px 14px;
}

.right-block .dropdown a{
    color: white;
}

.right-block .dropdown a:hover{
    text-decoration: none;
}


.right-block .dropdown .dropdown-menu li a{
    color: #000;
}

.area-riservata-link{
    color: white;
}

.area-riservata-link:hover{
    color: white;
}




/* Hide Bootstrap's default caret */
.dropdown-toggle .caret {
  display: none;
}

/* Add your custom arrow */
.dropdown-toggle:after {
    margin-bottom: 5px;
    vertical-align: middle;
    border: solid #fff; /* color of arrow */
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transition: transform .3s ease-in-out;
    content: " ";
    margin-left: 10px;
}

.dropdown.open .dropdown-toggle:after {
    transform: rotate(-135deg); /* points up */
    -webkit-transform: rotate(-135deg);
}

/* MOBILE VIEW */
.navbar-mobile .dropdown .dropdown-toggle:after {
    margin-bottom: 5px;
    vertical-align: middle;
    border: solid #000; /* color of arrow */
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transition: transform .3s ease-in-out;
    content: " ";
    margin-left: 10px;
}

.navbar-mobile .dropdown.open .dropdown-toggle:after {
    transform: rotate(-135deg); /* points up */
    -webkit-transform: rotate(-135deg);
}


.navbar{
    margin-bottom: 0 !important;
}

.navbar.navbar-static-top.masthead.masthead-navbar{
    padding: 0 !important;
    max-height: 53px;
}

.masthead .nav > li > a{
    font-size: 16px !important;
    padding: 0.5rem !important;
}

.masthead .nav > li{
    padding: 15.82px 20px;
    max-height: 53px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.masthead .nav li:first-child{
    padding-left: 0;
}

#bs-example-navbar-collapse-1 > ul > li:nth-child(1) > a{
    padding-left: 0 !important;
}


/* logo header */
.logo-nav{
    height: 180px;
} 

.box-line-bottom {
    border-bottom: 1px solid #fff;
    height: 180px;
    display: flex;
    align-items: center;
    background-color: #00263e;

}


.box-line-bottom > .container-fluid-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.left-logo img {
    max-width: 100%;
    height: 65px;
}

.center-logo{
    margin-left: 20px;
}

.center-logo a {
    display: flex;
    align-items: flex-start;
    width: 100%;
    overflow: hidden;
}

.center-logo a img {
    width: 80%;
}

.center-logo a img:last-child {
    margin-left: 20px;
    width: 45%;
}

.box-line-bottom .right-logo {
    padding: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    width: auto;
    justify-content: center;
}

.right-logo img {
    padding: 0 5px;
    height: 70px !important;
}

.right-logo .lines{
    display: none;
}


/* verticali account masthead */
.top-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}


.left-block .top-nav{
    list-style: none;
    display: flex;
    flex-direction: row;
    padding: 0;
    margin-bottom: 0;
}


.top-nav li:first-child {
    padding-left: 0;
}

.top-nav li {
    display: inline-block;
    list-style-type: none;
    border-right: 1px solid #00263e;
    padding: 10px;
}

.top-nav li a{
    color: white !important;
}

.top-nav li a:hover{
    text-decoration: none;
}

.masthead{
    background: var(--masthead-background-color) !important; 
}

/* .masthead-navbar{
    border-top: 2px white solid !important;
} */

/* body > header:nth-child(3) > div{
    padding-top: 2rem !important;
} */

.masthead-navbar .container{
    display: flex !important;
    flex-direction: row !important;
    max-height: 53px;
    padding: 0;
}

.masthead-navbar .container .navbar .container-fluid{
    height: 100%;
    display: flex;
    align-items: center;
}

.masthead .navigation .nav-pills li a:hover{
    background-color: none !important;
}

.navbar-nav > li:hover > a,
.navbar-nav > li > a:focus {
    background-color: transparent !important;
}


/* .navbar-nav > li > a {
    font-size: var(--font-size-medium);
}*/


.dropdown-menu > li > a{
    font-size: 16px !important;
}

.dropdown-menu{
    z-index: 10000 !important;
    top: 95%;
}

.account-masthead .account ul li a{
    color: white !important;
}

.account-masthead .account .dropdown-menu li a{
    color: black !important;
}

.account-masthead .account .dropdown-menu li:hover a{
    background-color: white !important;
    color: black !important;
}

.area-riservata-link{
    font-weight: normal !important;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    color: #19191a;
    border: none;
}

/* test dropdown menu */


/* The white triangle */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;         /* places it above the dropdown */
  left: 24px;        /* adjust to align with trigger */
  width: 16px;
  height: 16px;
  background: #fff;  /* same as dropdown background */
  transform: rotate(45deg);
  border-top-left-radius: 4px;
  z-index: 10;
}

/* Optional shadow/border effect */
.dropdown-menu::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 24px;
  width: 16px;
  height: 16px;
  background: rgba(0,0,0,.1); /* shadow */
  transform: rotate(45deg);
  border-top-left-radius: 4px;
  z-index: 9;
}

.masthead .navbar-collapse{
    padding: 0;
}


/* RICERCA */
.btn-search-custom{
    background-color: red !important;
    color: #fff;
    text-transform: capitalize;
    cursor: pointer;
    width: 6rem !important;
    height: 2rem !important;
    font-weight: var(--font-weight-medium) !important;
    right: 0 !important;
    margin-top: 0 !important;
    margin: 1rem !important;
    margin-bottom: 0 !important;
}

.btn-search-custom:hover{
    background-color: var(--search-red-color) !important;
}

.homepage .module-search{
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 1.5rem !important;
}

.box{
    -webkit-box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.00) !important;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.00) !important;
    border: 0px !important;
}

.homepage .module-search .module-content .heading{
    text-align: center !important;
}

.search-title-div{
    background-color: var(--search-title-color) !important;
    padding: 1rem;
}

.homepage .module-search .search-giant{
    padding: 10px 20px;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end;
    justify-content: space-evenly;
}

.homepage .module-search .module-content{
    background-color: white !important;
    padding: 0 !important;

}

.homepage .module-search .search-giant input{
    border-color: transparent !important;
    box-shadow: none !important;

}

.homepage .module-search .search-giant .input-div{
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--search-placeholder-gray) !important;
    border-radius: 4px;
    width: 80%;
    margin-left: 1rem;
    margin-bottom: 9px;
}

.homepage .module-search .search-giant .fa-search{
    color: var(--search-placeholder-gray);
    font-size: 16px;
    -webkit-transform: scaleX(-1);
}

.search-form .search-input .btn-search-custom{
    position: relative !important;
    font-size: var(--font-size-regular) !important;
    margin-bottom: 9px !important;
}

body > div.account-masthead > div > nav > ul > li.dropdown.open > ul > li > a {
    color: black !important;
    /* font-size: var(--font-size-medium) !important; */
    font-weight: normal !important;
}

body > div.account-masthead > div > nav > ul > li.dropdown.open > ul > li > a:hover {
    background-color: transparent !important;
}

body > div.account-masthead > div > nav > ul > li.dropdown > a{
    /* font-size: var(--font-size-medium) !important; */
    font-weight: normal !important;

}

.masthead .nav > li > a, .masthead .nav > li > a:focus, .masthead .nav > li > a:hover, .masthead .nav > .active > a, .masthead .nav > .active > a:hover, .masthead .nav > .active > a:focus{
    background-color: transparent !important;
}


/* CATEGORIE HOME PAGE */
.categories{
    position: relative;
    top: -270px;
    margin-bottom: -250px;
    display: flex;
    flex-direction: row;
    background: #fff;
    padding: 25px;
    border-radius: 30px;
    justify-content: space-between;
    margin-top: 1rem;
}

.categories-wrapper{
    display: flex;
    flex-direction: column;
}

.categories-home-title{
    text-align: left;
    padding-bottom: 15px;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

.categories-elenco-div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.categories-ul{
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    margin-right: 40px;
    justify-content: space-between;
}

.categories-ul li{
    width: 30%;
    height: auto !important;
    margin-bottom: 0;
    min-width: 250px;
    min-height: 110px;
    text-align: unset;
    float: left;
    margin: 0 10px 10px 0;
}

.taxonomy-term{
    background-position: -535px -0;
    background-size: 400%;
    position: relative;
    border: 1px solid transparent;
    background-color: #eceff1;
    background-image: url(/circle.svg);
    height: 100px;
    background-repeat: no-repeat;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 2px 1px 8px 0 rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 2px 1px 8px 0 rgba(0,0,0,0.16);
    box-shadow: 2px 1px 8px 0 rgba(0, 0, 0, 0.16);
    padding: 10px;
    display: flex;
    flex-direction: initial;
    flex-direction: row;
    align-items: center;
    align-content: left;
    align-content: space-between;
    height: 95px;
    /* overflow: hidden; */
    min-width: 240px;
    min-height: 110px;
}

.taxonomy-term:hover{
    border-color:  transparent;
    background-color: #ce182a;
    background-image: url(/circle-inside.svg);
}

.taxonomy-term:hover::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    border-width: 0 30px 30px 0;
    border-style: solid;
    border-color: #f9f9f9 #f9f9f9 #a30b1a #a30b1a;
    background: #f9f9f9;
    display: block;
    width: 0;
    -webkit-box-shadow: 5px -2px 5px 1px #f9f9f9;
    -moz-box-shadow: 5px -2px 5px 1px #f9f9f9;
    box-shadow: 5px -2px 5px 1px #f9f9f9;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-left-radius: 5px;
}

.clearfix:after {
    display: table;
    content: "";
    line-height: 0;
}

.clearfix:after {
    clear: both;
}


.taxonomy-term:hover a {
    text-decoration: underline;
    color: white;
}

.taxonomy-term:hover svg{
    fill: white;
}

.taxonomy-term a span{
    display: none;
}

.taxonomy-term:hover a span{
    display: inline-flex;
}

.group-left svg{
    height: 50px;
    width: 50px;
}

.group-right h4{
    /* font-size: 1.5rem; */
    line-height: 22px;
    font-weight: bold;
    color: #666;
    margin: 1rem;
}

.group-right h4 a {
    text-decoration: none;
    color: #002742;
}

/* POPULAR TAGS */
.popular-tags{
    background-color: #eceff1 !important;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.portlet-content{
    padding: 12px 10px 10px;
}

/*TAG AWESOME CLOUD*/
#tagCloud {
    box-shadow: 2px 1px 8px 0 rgba(0, 0, 0, 0.16);
    padding: 10px;
    border-radius: 5px;
    width: 250px;
    height: 506px !important;
}

.popular-tags h2{
    border: 0;
    color: #333;
    font-weight: bold;
    font-size: 30px !important;
    padding-bottom: 15px;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

/* siti tematici */
.siti-tematici{
    display: none;
    margin-top: 6rem;
}

.siti-tematici h2{
    font-size: 30px !important;
    font-weight: var(--font-weight-medium) !important;
}

.elenco-siti{
    display: flex;
    justify-content: space-between;
}

.sito{
    border-radius: 5px;
    display: flex;
    align-items: center;
    align-content: space-between;
    padding: 15px 15px;
    margin: 0 0 20px 0;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    box-shadow: 6px 7px 7px 0 rgba(0, 0, 0, 0.16);
}

.sito a {
    color: #fff !important;
}

.image-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 25px;
    margin-right: 20px;
    width: 43px;
    height: 43px;
}

.image-wrapper img{
    max-width: 100%;
    width: auto;
    height: auto;
    vertical-align: middle;
    border: 0;
}


/* Data graph */
.data-graph{
    display: none;
    margin: 2rem;
}

.data-graph h2{
    font-size: 30px;
    padding-bottom: 1rem;
    font-weight: lighter !important;
    border-bottom: 1px black solid;
}

.item-wrapper {
    width: auto;
    max-width: initial;
    float: none;
    height: auto;
    border: 1px solid #eceff1;
    box-shadow: 2px 1px 8px 0 rgba(0, 0, 0, 0.16);
    height: 460px;
}
.img-wrapper {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 300px;
}
.bottom-info {
    padding: 20px 15px;
}

/* FOOTER */
footer{
    display: block;
    background-color: #eceff1;
    padding-top: 2px;
}

footer .footer-top{
    display: flex;
    width: 500px;
    margin: 0 auto;
    background: white;
    height: 50px;
    border-radius: 30px 30px 0 0;
    margin-top: 1.5rem;
}

footer .footer-loghi {
    display: flex;
    flex: 1 0 auto;
}

footer .footer-loghi ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    list-style-type: none;
    justify-content: space-evenly;
}

footer .footer-bottom{
    height: auto;
    padding: 2rem;
    background-color: var(--masthead-background-color);
    color: white !important;
}

footer .footer-bottom a{
    color:white;
}

.footer-images{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.footer-images-left{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-items: flex-start;
}

.footer-images-left .logo-regione{
    height: 49px;
    margin-right: 1rem;
}

.footer-images-right{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.col-wrapper{
    display: flex;
    border-bottom: 1px white solid;
}

.col-wrapper div{
    width: 33%;
    padding-right: 25px;
}

.col-wrapper div ul{
    padding: 0;
    list-style-type: none;

}

.footer-navigate li{
    padding: 7px 0;
}

.center-title{
    border-bottom: 1px white solid;
}

.footer-social ul{
    display: flex;
}

.footer-social ul li{
    margin: 0.5rem;
}

.footer-social ul li i{
    color: var(--masthead-background-color) !important;
}

.footer-social ul li .fa-lg{
    line-height: normal !important;
}

.icon-wrapper{
    background-color: white;
    padding: 0.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    border-radius: 50%;
    width: 35px !important;
    height: 35px !important;
}

footer .footer-notes {
    display: flex;
    justify-content: space-between;
}


.clearfix:before, .clearfix:after {
    display: table;
    content: "";
    line-height: 0;
}
.clearfix:after {
    clear: both;
}
.clearfix:before, .clearfix:after {
    display: table;
    content: "";
    line-height: 0;
}



/* BACKGROUND MAIN */
@media (min-width: 768px) {
    .main {
        /* height: 100vh !important; */
        background: white !important;
    }
}

/* BACKGROUND SEARCH MEDIA QUERY*/ 
@media (min-width: 768px) {
    .hero {
        height: 449px !important;
        background: url(/home.jpg) !important;
        background-position: top !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        padding: 0;
    }
}

/* MAIN DIV MEDIA QUERY */
@media (min-width: 992px) {
    .homepage [role=main] {
        padding: 0px 0 !important;
    }
}

.container-fluid-custom{
    max-width: 1184px;
    padding-right: 24px;
    padding-left: 24px;
    margin-right: auto;
    margin-left: auto;
}

.header-logos{
    display: flex;
}


/* MOBILE VIEW */
#sidebar {
  position: fixed;
  top: 0;
  width: 250px;
  height: 100%;
  background: #fff;
  color: #fff;
  transition: left 0.3s ease;
  z-index: 100001; /* higher than CKAN navbar */
  display: none;
  overflow-y: hidden;
}
#sidebar.active { display: flex; width: 100vw; justify-content: space-between;}
#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1030;
}

.custom-btn{
    background: transparent;
    border: 0px transparent;
    display: none;
    color: white;
}

/* MOBILE MEDIA QUERIES */
@media (max-width: 992px) {
    .navbar.navbar-static-top.masthead.masthead-navbar{
        display: none;
    }

    body > header.navbar.navbar-static-top.masthead.logo-nav > div > div:nth-child(1) > div.center-logo > a > img:nth-child(2){
        display: none;
    }

    .top-bar .left-block{
        display: none;
    }

    .custom-btn{
        display: block;
    }

    .logo-nav {
        height: 180px;
        display: flex;
        flex-direction: column;
    }

    .top-bar .account {
        margin-right: 0;
    }

    .top-bar{
        justify-content: flex-end;
    }

    .right-logo .lines {
        padding: 0;
        display: flex;
        height: 30px;
        flex-direction: column;
        justify-content: space-between;
        width: 20%;
    }

    .right-logo .lines div {
        border-top: 2px solid #fff;
    }

    .right-logo img {
        width: auto !important;
        height: 50px !important;
        max-width: none !important;
        max-height: none !important;
    }

    .container-fluid-custom{
        flex-direction: column;
    }

    .stripes-logo{
        display: none;
    }

     .left-logo {
        display: flex;
        align-items: flex-start;
        width: fit-content;
    }


    .left-logo img {
        height: auto;
    }

    .header-logos {
        align-items: center;
    }

    .box-line-bottom {
        height: 135px;
    }

    .box-line-bottom .right-logo {
        width: 100%;
        margin-top: 20px;
    }

    #menu-toggle .fa-lg{
        font-size: 2rem !important;
    }

    .box-mobile a img:first-child {
        display: block;
        margin-top: 2rem;
        margin-left: 2rem;
        height: 2rem;
    }

    .menu-mobile-right{
        background-color: var(--masthead-background-color);
        width: 20%;
        display: flex;
        flex-direction: column;
    }

    .select-dropdown {
        padding: 15.82px 25px;
    }

    #menu-toggle-close{
        margin-top: 2rem;
    }

    .menu-mobile-left ul li a{
        padding: 15.82px 2rem;
        color: black;
    }


    .menu-mobile-left ul li .dropdown-menu li{
        padding: 12px 1rem;
    }

    .menu-mobile-left ul li .dropdown-menu .divider {
        height: 1px;
        margin: 9px 0;
        overflow: hidden;
        background-color: black;
        padding: 0;
    }

    .menu-mobile-left .nav > li > a:hover {
        color: black;
        background-color: white !important;
        text-decoration: none;
    }

    /* main content */
    .categories{
        flex-direction: column;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .categories-ul{
        margin: 0;
        justify-content: center;
    }

    .categories-ul li{
        padding-bottom: 20px;
    }

    .hero {
        height: 449px !important;
        background: url(/home.jpg) !important;
        background-position: top !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
    }

    #tagCloud {
        box-shadow: 2px 1px 8px 0 rgba(0, 0, 0, 0.16);
        padding: 10px;
        border-radius: 5px;
        width: auto;
        height: 200px;
    }

    .siti-tematici{
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .elenco-siti{
        flex-direction: column;
    }

    .item-wrapper {
        width: auto;
        max-width: initial;
        float: none;
        height: auto;
    }

    .footer-social ul{
        flex-direction: column;
    }

    .footer-top{
        width: auto !important;
    }

    .footer-loghi li a img{
        width: 50%;
        height: 50%;
    }

    [role=main], .main{
        padding: 0;
    }

    .footer-bottom{
        padding: 0 !important;
    }

    .secondary{
        position: relative;
        width: auto;
    }

    .navbar-mobile .dropdown-menu{
        margin-top: 0 !important;
    }

    .navbar-mobile .dropdown-menu::before{
        display: none;
    }

    .navbar-mobile .dropdown-menu::after{
        display: none;
    }

    /* LOGGED IN MEDIA QUERY */
    .div-loggedin{
        display: none;
    }

    .logged-in-account-header{
        height: auto;
        padding: 1rem;
    }

    .logged-in-account-header .authed{
        width: 100%;
    }

    .loggedin-navbar-mobile{
        display: flex;
        justify-content: flex-end;
    }
    
    body > div.homepage.layout-1 > div:nth-child(2) > footer > div.footer-top > div > ul > li:nth-child(3) > img{
        width: 120px !important;
    }
    
    /* for account modal */
    .form-account-div{ 
        flex-direction: column-reverse;
    }

    .profile-info-changes{
        width: 100%;
    }

    #user-edit-form{
        width: 100%;
    }

    #user-edit-fieldset .form-group .form-control {
        width: 100% !important;
    }
    
    #password-edit-fieldset .form-group .form-control {
        width: 100% !important;
    }

    /* footer images */
    .footer-images{
        flex-direction: column;
    }
}
.main{
    background-color: var(--main-gray) !important;
}

.main .primary.custom{
    float: none;
}

.wrapper{
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    background-color: white !important;
    padding: 2rem !important;
    border-radius: 2rem !important;
    border: 0px transparent solid !important;
}

h1.page-title {
    font-size: var(--font-size-large);
    color: #00263e;
    font-weight: normal;
}

.fa.fa-rss-square{
    color: #FF8700 !important;
    font-size: var(--font-size-medium);
}

.media-item{
    display: flex;
    flex-direction: column;
    min-height: 270px;
}

.media-grid{
    background: #f6f6f6;
    border: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-right: 0;
    width: 100%;
}

/* customizzazione paginazione */

.pagination .active a{
    background-color: #00263e;
    border-color: #00263e;
}

.pagination .active a:hover{
    background-color: #00263e;
    border-color: #00263e;
}

.pagination li a{
    color: #00263e;
}
.dataset-list{
    padding: 0;
    box-shadow: 0 0 5px #ccc;
    border-radius: 20px;
}

.dataset-item{
    display: flex;
    padding: 1.5rem 0;
    margin: 0 1.5rem;
    border-bottom: 1px solid #ddd;
}

.dataset-group-div{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    margin: 1rem;
}

.dataset-group-image-div{
    width: 80px;
    height: 80px;
    border: solid 1px #dcdcdc;
    background-color: #fafafa;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.category-icon{
    height: 40px;
    width: auto;
}

.groups{
    margin: 10px 0;
    font-size: 16px !important;
    text-transform: uppercase;
    line-height: 22px;
    text-align: center;
}


.dataset-content{
    list-style: none outside none;
    box-sizing: border-box;
    font-size: 12px;
    flex-grow: 1;
    width: 600px;
}

.dataset-heading a{
    color: var(--link-blue);
    font-size: var(--font-size-medium) !important;
    font-weight: bold;
}

.dataset-heading a:hover{
    color: black;
}

.created{
    color: #999;
    text-transform: uppercase;
    font-weight: bold;
}

.description p{
    font-weight: var(--font-weight-medium);
}

.info-dataset{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.info-dataset li{
    font-size: var(--font-size-regular) !important;
    color: #999;
    text-transform: uppercase;
    border-bottom: 1px solid #999;
    padding: 0.5rem 0;
}

.info-dataset li a{
    color: var(--link-blue);
}


/* SEARCH FORM */

.search-form {
    border-bottom: 2px solid #000;
    margin-bottom: 20px;
    padding-bottom: 0px;
}
.search-form .search-input {
    position: relative;
    margin-bottom: 20px;
}

.search-form .search-input.search-giant input {
    font-size: 16px;
    padding: 15px;
}

.search-form .search-input input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    width: 100%;
    height: auto;
}

.search-form .search-input button {
    cursor: pointer;
    display: block;
    position: absolute !important;
    top: 50%;
    margin-top: -10px;
    right: 10px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
}

/* FILTER LIST */

.pill {
    display: inline-block;
    background-color: #6f8890;
    color: #ffffff;
    padding: 2px 10px 1px 10px;
    margin-right: 5px;
    font-weight: normal;
    border-radius: 100px;
}

.pill a:hover{
    color: black;
}


/* ORDER BY FORM */
.search-form .control-order-by label {
    color: #898989 !important;
}

.search-form .control-order-by select{
    border-radius: 0px !important;
}


/* FACET LIST (FILTERS) */

.module-content{
    padding: 0 !important;
}

@media (min-width: 768px) {
    .wrapper:before {
        border-right: 1px solid transparent !important;
    }
}

.module-heading{
    text-transform: uppercase;
    border-bottom: 0px solid transparent;
    border-top: 0px solid transparent;
    font-size: var(--font-size-regular);
}

.module nav{
    background-color: #f6f6f6;
    text-transform: uppercase;
}

.module-footer{
    text-align: right;
}

.read-more{
    text-transform: uppercase;
    font-weight: normal !important;
}

.read-more:hover{
    text-decoration: none !important;
    opacity: 0.5 !important;
}

#content > div.row.wrapper > aside > div > div > section{
    margin-bottom: 1rem !important;
}

.item-label{
    color: var(--link-blue);
}

.nav-item.active > a > .item-label{
    color: white;
}

.nav-item.active > a:hover{
    background-color: #647A82 !important;
}


/* dataset focus */

.module-content .page-header{
    line-height: 20px;
    color: #333333;
    font-size: 13px;
    box-sizing: border-box;
    display: block;
    padding: 30px;
    border-bottom: 1px solid #dddddd;
    border-radius: 0 3px 0 0;
    margin: 0;
    padding-bottom: 0 !important;
    background-color: #ffffff !important;
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 0;
    margin-right: 25px;
}

.nav-tabs > li.active > a:hover{
    background-color: #eeeeee !important
}

.nav > li > a{
    color: #555555;
}

.nav > li > a:hover {
    color: var(--link-blue);
    background-color: #eeeeee !important;
    text-decoration: none;
}

.page-header{
    background-color: white;
}

.module-dati{
    list-style: none;
}

.module-dati > li{
    text-transform: uppercase;
    font-size: var(--font-size-regular) !important;
}

.secondary-dataset{
    float: right !important;
    margin-right: 2rem;
}

.primary-dataset{
    float: left !important;
}

#dataset-resources{
    background-color: #f6f6f6 !important;
    padding: 1.5rem !important;
}

#dataset-resources > h2{
    margin-top: 0 !important;
}

.resources div.ic {
    background: url(/ic-dataset-in.png) no-repeat top center;
    color: #5a8d00; /* migliorato contrasto rispetto a #94c21f */
    text-align: center;
    padding-top: 5rem; /* 80px */
    font-size: 0.94rem; /* 15px */
    font-weight: 600;
    line-height: 1.5; /* migliora leggibilità */
}

.resources li {
    border-bottom: 0.063rem solid #b3b3b3; /* 1px con contrasto più chiaro */
    overflow: hidden;
    padding: 0.63rem 0; /* 10px */
}

.resource-item {
    position: relative;
    padding: 0.63rem 0.63rem 0.63rem 3.75rem; /* 10px 10px 10px 60px */
    margin-bottom: 0; 
    border-radius: 0.19rem; /* 3px */
}

.resources li div {
    float: left;
    margin-right: 0.63rem; /* 10px */
    height: 6.25rem; /* 100px */
    width: 4.06rem; /* 65px */
    margin-top: 0 !important;
}


.resources div {
    text-transform: uppercase;
    overflow: hidden;
}

.resources a {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--link-blue);
}

@media (min-width: 768px) {
    .dataset-pg.wrapper:before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: auto !important;
        right: 0 !important;
        width: 25%;
        border-right: 1px solid #ddd;
        z-index: 1;
    }
}

.resources div.api {
    border-right: 1px solid #ccc;
}

.add-info{
    float: left;
    padding: 0 10px;
}

.add-info img {
    height: 1.8rem;
    width: auto;
}
.tags, .utilizzo, .rating {
    background: #f6f6f6;
    margin: 0.5rem 0;
    overflow: hidden;
    padding: 0.8rem;
}

.category-tags ul {
    list-style-type: none;
    margin: 0;
    padding: 1rem 0px 1rem 0px;
}

.category-icon-medium {
    height: 78px;
    width: 78px;
    float: left;
    margin-right: 1rem;
}

.category-tags li{
    font-size: var(--font-size-regular);
    text-transform: uppercase;
}

.additional-info h3{
    color: var(--link-blue);
    font-weight: var(--font-weight-normal);
}

.category-tags li a{
    color: var(--link-blue);
}

.license a{
    color: var(--link-blue);
}

.info-dataset ul{
    list-style: none;
    padding: 0;
}

.info-dataset ul li{
    border-bottom: 1px solid #999;
    padding: 5px 0;
}

.info-dataset li.sendmail a:after {
    content: url(/ic-sendmail.png);
    margin-left: 5px;
}

.info-dataset li span{
    color: #000;
}

.social-link{
    color: var(--link-blue) !important;
}

.social{
    background-color: #f6f6f6;
}

.nav-simple > li{
        border-bottom: 1px dotted #dddddd;
}

.module-content small{
    font-size: var(--font-size-regular);
}

.module-content small a{
    color: var(--link-blue);
}

@media (min-width: 768px) {
    .wrapper:before {
        z-index: auto !important;
    }
}


/* MOBILE VIEW */

@media (max-width: 992px) {
    .dataset-item{
        flex-direction: column;
        align-items: center;
    }

    .dataset-content{
        width: auto;
    }

    #content{
        margin-right: 24px;
        margin-left: 24px;
    }

    .toolbar .breadcrumb a {
        color: #505050;
    }

    .toolbar .breadcrumb .active a {
        color: #505050;
        font-weight: bold;
    }

    .actions ul{
        padding: 0;
    }

    .actions ul li .btn-success{
        margin-top: 0.5rem;
    }

    #downloadModal .modal-dialog .modal-footer{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .cc-link-ref a{
        word-wrap: break-word;
    }
}
/*API PAGE*/
.description-div p{
    padding: 0 0 2rem;
}

.description-div p a{
    font-weight: var(--font-weight-medium);
    color: #002742;
}

/*contact forms*/
.description-div h2{
    font-weight: var(--font-weight-normal);
    color: #333 !important;
    font-size: 24px !important;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

.form-control{
    width: 50% !important;
}

.btn-primary{
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #006dcc;
    background-image: linear-gradient(to bottom,#08c,#04c);
    background-repeat: repeat-x;
}

.btn-primary:hover{
    background-color: #006dcc;
}

/*feed page*/
.container-custom h2{
    color: #333 !important;
    font-size: 24px !important;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}


.opendata_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem; /* spazio tra gli elementi */
    list-style: none;
    padding: 0;
    margin: 0;
}

.opendata_list li {
    padding: 0.5rem;
}

.opendata_list li a {
    text-decoration: none;
    gap: 0.25rem;
}

.opandata_list li a img{
    width: 30px;
    height: 30px;
}

/*sparql code boxes*/
.content-box-code{
    border: solid 1px #e0dede;
    background-color: #fcfcfc;
    padding: 24px;
    overflow-x: scroll;
}

.code-title-div{
    justify-content: space-between;
    display: flex;
    margin-top: 48px;
    margin-bottom: 1rem;
}

.code-title-div h3{
    margin: 0;
}

/* segnala un app */
.basic-page{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.title-custom{
    font-weight: bold !important;
}

.basic-page .wrapper{
    min-height: auto;
}

.basic-page .wrapper::before{
    display: none;
}

.basic-page h2{
    color: #333 !important;
    font-size: 24px !important;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;    
    margin-top: 30px !important;
    margin-bottom: 20px !important;
    font-weight: var(--font-weight-normal);
}

/* NEWS */

.news-card h3{
    margin-bottom: 20px;
    padding-bottom: 15px;
    margin-top: 30px;
}

.news-card h3 a{
    color: #00263e !important;
    font-size: 24px !important;
    font-weight: var(--font-weight-normal);
}

.news-card p{
    padding: 0 0 20px;
}

.data-autore{
    margin: 0 0 20px;
    border-bottom: 1px solid #999;
    padding: 0 !important;
}

.other-news{
    margin: .1em;
    font-size: 16px;
    color: #f30 !important;
    border-bottom: 1px solid #c8c9ca;
    margin-bottom: 1em;
}

#news-detail h2{
    color: #333 !important;
    font-size: 24px !important;
    border-bottom: none;
    padding-bottom: 15px;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
    font-weight: lighter;
}

#news-detail p{
    padding: 0 0 20px;   
}

#pagination {
    display: flex;
    margin: 1em 0;
    flex-direction: row;
    justify-content: space-between;
}

#per-page{
    width: 100% !important;
}

#pagination select {
    margin: 10px 0 5px;
    padding: 5px;
}

#results-info{
    margin-top: 10px;
    margin-left: 10px;
}

.pagination-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pagination-info{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.centered-video{
    display: flex;
    justify-content: center;
}

.container-rating{
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.rating-div{
    background: #f6f6f6;
    margin: 5px 0;
    overflow: hidden;
    padding: 10px;
}

.star-off-png{
    font-size: 12px !important;
}

.star-on-png{
    font-size: 12px !important;
}


/* STATISTICHE PAGE */

.stats-content{
    padding: 12px 10px 10px;
}

.button-paginator {
    overflow: visible;
    margin-bottom: 20px;
    color: #777;
}

.button-paginator-inner {
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #fafafa;
    background-image: linear-gradient(to bottom,#fff,#f2f2f2);
    background-repeat: repeat-x;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
    box-shadow: 0 1px 4px rgba(0,0,0,0.065);
}

.list-buttons{
    position: relative;
    left: 0;
    display: block;
    float: left;
    margin: 0 10px 0 0;
    list-style: none;
    padding: 0;
}

.list-buttons li{
    float: left;
}

.list-buttons > li > a {
    float: none;
    padding: 10px 15px 10px;
    color: #777;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    display: block;
}

.list-buttons > li > a:hover{
    color: #f30;
}

.list-buttons > li > .active{
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
}

/* GRAFICI */
#myChart{
    background: white;
}

/* PAGINE GESTIONE */
.header-custom-gestione{
    background-color: #00263e;
}

.navbar-inner{
    display: flex;
    justify-content: space-between;
}

.navbar-inner-content{
    display: flex;
    color: white;
    align-items: center;
    padding: 10px 20px 10px 0;
}

.home-icon{
    margin: 0 15px;
}

.navbar-inner-content a i{
    color: white;
}

.navbar-inner-content h1{
    font-size: 20px !important;
    display: flex;
    margin: 0;
}

.navbar-inner-content ul{
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
}

.navbar-inner-content h1 div a{
    color: white;
    font-size: 20px !important;
    padding-right: 5px;
}

.navbar-inner-content .dropdown .dropdown-toggle{
    padding: 10px;
    color: white;
}

/* SIDEBAR MENU FOR GESTIONE */

/* Sidebar styling */
.sidebar {
    position: absolute;
    width:23.07692%;
    color: #ecf0f1;
    overflow-y: auto;
    background: #fcfcfc;
    border-right: 1px solid #d3d3d3;
    padding: 15px 0 0;
    height: 100%;
}
.sidebar-header {
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
.sidebar-search {
    padding: 10px 15px;
}
.sidebar-search input {
    border: none;
    color: #fff;
    width: 100% !important;
}
.sidebar-search ::after{
    background: url(/search_panel_icon.png) no-repeat 0 50%;
    color: #d4d4d4;
    content: '';
    display: block;
    font-size: 0;
    height: 18px;
    margin-left: 8px;
    margin-top: 6px;
    position: absolute;
    top: 0;
    width: 27px;
}
.sidebar-search input:focus {
    color: #fff;
    box-shadow: none;
}
.panel-group {
    margin-bottom: 0;
}
.panel {
    background-color: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
    margin-top: 0;
}
.panel-heading {
    padding: 0;
    border: 1px solid #e5e5e5;
    box-shadow: -3px 0 2px -2px whitesmoke;
}
.panel-title a {
    display: block;
    color: #999;
    padding: 12px 20px;
    font-weight: 500;
    text-decoration: none;
}

.panel-title i {
    margin-right: 10px;
}
.panel-body {
    padding: 0;
}
.panel-body a {
    display: block;
    color: #F30;
    padding: 10px 35px;
    text-decoration: none;
    font-size: 90%;
}
.panel-body a:hover {
    background: #e5f5fc;
    color: #009ae5;
}
.no-results {
    color: #b0bec5;
    padding: 10px 20px;
    display: none;
    font-size: 12px;
}
.content {
    margin-left: 23.07692%;
    padding: 30px;
    background-color: white;
}

.panel-group .panel + .panel {
    margin-top: 0 !important;
  }



/* MAIN PAGE CONTENT GESTIONE */
.navbar-inner-members{
    min-height: 47px;
    background-color: #003554;
    padding-left: 20px;
    padding-right: 20px;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.navbar-inner-members>li>a{
    padding: 10px 15px 10px;
    color: white;
}

.navbar-inner-members>li>a:hover{
    color: #F30;
    text-decoration: none;
}

.navbar-inner-members>li>a:hover:after{
    border: solid #F30;
    border-width: 0 2px 2px 0;
}


.navbar-inner-members .dropdown .dropdown-menu{
    margin: 15px 0 0 !important;
}


.navbar-inner-members .dropdown .dropdown-menu li:hover a{
    background-color: #0db5e7 !important;
    color: white;
}

#dropdownMenuAzioni::after{
    display: none !important;
}

#dropdownMenuAzioni .caret{
    display: inline-block !important;
}

#tabellaUtenti{
    margin-top: 2rem;
}

.tab-content{
    display: block !important;
}

.table-div{
    margin-top: 2rem;
}

/* gestione datasets */
.navbar-inner-datasets{
    min-height: 47px;
    background-color: #003554;
    padding-left: 20px;
    padding-right: 20px;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.navbar-inner-datasets > li > h2{
    color: white;
    margin-bottom: 20px;
}

.btn-new-dataset{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.navbar-g-right .dropdown .dropdown-menu{
    margin-top: 1rem;
    right: 0;
    left: auto;
}

.navbar-g-right .dropdown .dropdown-menu::after{
    right: 24px;
    left: auto;
}

.navbar-g-right .dropdown .dropdown-menu::before{
    right: 24px;
    left: auto;
}

.navbar-g-right .dropdown .dropdown-menu li a i{
    color: black;
}

.navbar-g-right .dropdown .dropdown-menu li a:hover{
    border-radius: 4px;
}
.login-left{
    width: 50%;
    border-right: 1px solid #ccc;
    float: left;
}

.container-custom .container{
    padding: 0;
}

@media (min-width: 768px) {
    .form-actions {
        text-align: left;
    }
}

/* @media (max-width: 940px) {
    .container{
        width: 100%;
        max-width: 940px;
    }
} */

@media (max-width: 992px) {
    .login-left{
        width: 100%;
        border-right: none;
    }
    
    .login-left form{
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding-left: 3rem;
        padding-right: 3rem;
        text-align: center;
    }
    
    .login-left .form-control{
        width: 100% !important;
    }
    
    .login-left .form-group{
        margin-bottom: 10px;
    }
    
    .login-left h4{
        text-align: center;
    }
    
    
}