/*---------------------------------*/

.container-fluid {
    width: 100%;
    padding-right: 6px;
    padding-left: 6px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0px !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-end;
}
.aligningcenter, div.aligningcenter {
    display: block;
    margin: 5px 5px 5px auto !important;
}

.navbar-brandName {
    float: left;
    height: 50px;
    padding: 30px 45px;
    font-size: 50px !important;
    line-height: 20px;
}

.navbar-brandName a{
	color:#822433 !important;
}

@media (max-width: 767px) {
    .custom-header .it-brand-wrapper h2 a{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        color: #822433;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-decoration: none;
        float: left;
        font-size: 20px;
        /* line-height: 38px; */
        /* font-weight: 600; */
        margin-right: -25px;
        margin-left: -10px;
        margin-top: auto;
    }
}

/*_____menu bar in small devices______ */

.show-menu-main {
    color: #822433;
    top: -175px;
    left: 340px;
    position: absolute;
  /*  background-color: #ffffff;*/
}
@media screen and (max-width: 767px){
.show-menu-main{
    position: absolute;
   /* top: -140px;
    left: 0px;*/
    bottom: auto;
    right: auto;
    width: 50px;
    height: 50px;
    padding: 0;
    font-size: 0;
    z-index: 1000001;
	  display: none;
}
}
@media screen and (max-width: 767px){
#show-menu-main[type="checkbox"]:checked ~ .show-menu-main:after {
    content: "\2715";
    position: fixed;
    top: 65px;
    left: -10px;
    width: 60px;
}
}
@media screen and (max-width: 767px){
.show-menu-main:after {
    left: 0;
    top: 50px;
    width: 100%;
    font-size: 1.75rem;
    border: 1px solid #333;
    background: ghostwhite;
}
}
/* */




/*______ Header section __ */
#header-collabora, .content-container {
  background-color: #ffffff;
  color: #333333;
}

/* header part */
#content{
/* 	margin-top: 200px; */
}
/*________________________ */
/*clearfix*/
	
	.clearfix::after, .dl-horizontal dd::after, .container::after, .container-fluid::after, .row::after, .form-horizontal .form-group::after, .btn-toolbar::after, .btn-group-vertical > .btn-group::after, .nav::after, .navbar::after, .navbar-header::after, .navbar-collapse::after, .pager::after, .panel-body::after, .modal-footer::after {
  clear: both;
}
	
.clearfix::before, .clearfix::after, .dl-horizontal dd::before, .dl-horizontal dd::after, .container::before, .container::after, .container-fluid::before, .container-fluid::after, .row::before, .row::after, .form-horizontal .form-group::before, .form-horizontal .form-group::after, .btn-toolbar::before, .btn-toolbar::after, .btn-group-vertical > .btn-group::before, .btn-group-vertical > .btn-group::after, .nav::before, .nav::after, .navbar::before, .navbar::after, .navbar-header::before, .navbar-header::after, .navbar-collapse::before, .navbar-collapse::after, .pager::before, .pager::after, .panel-body::before, .panel-body::after, .modal-footer::before, .modal-footer::after {
  display: table;
  content: " ";
}



/*___  PRE- Header ___________*/

.it-header-slim-wrapper {
  background-color: #ffffff;
  margin-left: 30px;
  min-height: 50px;
}

/*
 Header site title display:none in small screens with max-width:500px */
@media (max-width: 500px){
	h2.no_toc {
    /* display: inline-block; */
    margin-left: 40px;
    margin-top: 10px;
	color:#822433 !important;
}
}

.it-header-slim-wrapper {
    background-color: #ffffff;
    margin-left: 30px;
    min-height: 50px;
    display: contents;
}

/*  site label in small screen*/
@media (min-width: 310px){
	.it-brand-text a h2 {
    width:0;
    margin-left:-25px
}
}

/* center header log,brandname in small screen line by line(brand name is below the logo-sapienza )*/
.navbar-brand {
    float: left;
    height: 50px;
    padding: 30px 15px;
    font-size: 18px;
    line-height: 20px;
}

@media screen and (max-width: 767px){
.it-brand-wrapper h2 {
    margin: 0px;
    padding-top: 0;
    font-size: 16px;
    line-height: 20px;
    height: auto;
    margin-left: 40px;
    word-spacing: 2px;
}
}
@media screen and (max-width: 767px){
.it-brand-wrapper {
    width: auto;
}
}
@media only screen and (max-width: 767px){
header .logo {
    margin-bottom: 10px;
}
}
header .logo {
    margin: 10px 0 18px;
}
.pull-left {
    float: left!important;
}
.pull-left {
    /* float: left; */
}


@media (max-width: 767px){
.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #822433;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    float: left;
    font-size: 20px;
    /* line-height: 38px; */
    /* font-weight: 600; */
    margin-right: -25px;
    margin-left: -10px;
    margin-top: auto;
}
}

/*___Main Header Nav menu on Hover ___*/

/* center header log,brandname in small screen line by line(brand name is below the logo-sapienza )*/
.navbar-brand {
    float: left;
    height: 50px;
    padding: 30px 15px;
    font-size: 18px;
    line-height: 20px;
}

@media screen and (max-width: 767px){
.it-brand-wrapper h2 {
    margin: 0;
    padding-top: 0;
    font-size: 16px;
    line-height: 20px;
    height: auto;
    margin-left: 40px;
    word-spacing: 2px;
}
}
@media screen and (max-width: 767px){
.it-brand-wrapper {
    width: auto;
}
}
@media only screen and (max-width: 767px)
header .logo {
    margin-bottom: 10px;
}
header .logo {
    margin: 10px 0 18px;
}
.pull-left {
    float: left!important;
}
.pull-left {
    /* float: left; */
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #822433 !important ;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
	float: left;
	font-size: 35px;
    line-height: 38px;
    font-weight: 600;
	margin: -10px;
}

@media (max-width: 767px){
.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #822433;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    float: left;
    font-size: 20px;
    /* line-height: 38px; */
    /* font-weight: 600; */
    margin-right: -25px;
    margin-left: -10px;
    margin-top: auto;
}
}
#header {
	background-color: #fff;
/*	color: #fff;*/
}

#menu-item-588.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.menu-item-home.menu-item-588:hover {
  color: #ffffff;
  background-color: #822433;
}
#menu-item-593.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.menu-item-home.menu-item-593:hover {
  color: #ffffff;
  background-color: #822433;
}
#menu-item-41.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-41:hover {
  background-color: #822433;
}

#menu-item-245.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-245:hover {
  color: #ffffff;
  background-color: #822433;
}

#menu-item-141.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-141:hover {
  color: #ffffff;
  background-color: #822433;
}

#menu-item-36.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-36:hover {
  color: #ffffff;
  background-color: #822433;
}

#menu-item-39.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-39:hover {
  color: #ffffff;
  background-color: #822433;
}

#menu-item-37.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-37:hover {
  color: #ffffff;
  background-color: #822433;
}

#menu-item-40.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-40:hover {
  color: #ffffff;
  background-color: #822433;
}

#menu-item-650.menu-item.menu-item-type-post_type.menu-item-object-post.menu-item-650 {
  padding-bottom: 10px;
  margin-bottom: 10px;
}

#menu-item-650.menu-item.menu-item-type-post_type.menu-item-object-post.menu-item-650:hover {
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: #ffffff;
  background-color: #822433;
}

/*_____menu bar in small devices______ */

.show-menu-main {
    color: #822433;
    top: -175px;
    left: 340px;
    position: absolute;
  /*  background-color: #ffffff;*/
}
@media screen and (max-width: 767px){
.show-menu-main {
    position: absolute;
   /* top: -140px;
    left: 0px;*/
    bottom: auto;
    right: auto;
    width: 50px;
    height: 50px;
    padding: 0;
    font-size: 0;
    z-index: 1000001;
	  display: none;
}
}
@media screen and (max-width: 767px){
#show-menu-main[type="checkbox"]:checked ~ .show-menu-main:after {
    content: "\2715";
    position: fixed;
    top: 65px;
    left: -10px;
    width: 60px;
}
}
@media screen and (max-width: 767px){
.show-menu-main:after {
    left: 0;
    top: 50px;
    width: 100%;
    font-size: 1.75rem;
    border: 1px solid #333;
    background: ghostwhite;
}
}

/* code for responsive menubar for small screens  */

.admin-bar #wprmenu_menu_ul {
  position: relative;
  z-index: 9999;
  overflow: hidden;
  padding: 0px 0;
}
	
 @media only screen and (max-width: 768px){ 
	 #wprmenu_bar .menu_title a { 
		 font-size: 23px; 
		 font-weight: normal; 
	 }
}
#wprmenu_bar .menu_title a { 
	display: inline-block; 
	position: relative;
	top: 0px; 
}
@media only screen and (max-width: 768px){ 
	#wprmenu_bar { 
		background-color: #fff; 
		border-bottom: 1px solid #822433;
	} 
}
@media only screen and (max-width: 768px){
	.wprm-wrapper {
		overflow: scroll;
		cursor: pointer;
	}
} 
@media only screen and (max-width: 768px){
	#wprmenu_bar {
		height: 46px !important;
	}
} 
@media only screen and (max-width: 768px){
	#mg-wprm-wrap div.wpr_search { 
		margin-top: 4px;
	}
}
#mg-wprm-wrap div.wpr_search { 
	padding: 5px;
	padding-right: 5px;
} 
.wpr_search .wpr-search-field {
	padding: 5px !important;
	border: 2px solid #822433;
	max-width: 103%; 
	height: 38px;
	outline: 0; 
}
div#mg-wprm-wrap form.wpr-search-form button.wpr_submit { 
	position: absolute; 
	top: 26px;
	right: -10px; 
	background-color: #822433; 
	color: #ffffff;
	width: 35px; 
	height: 35px;
	padding: 0 0px;
	border: none;
}

/* Center Header Logo and Name Adjustment */
@media (min-width: 992px)
.it-header-center-wrapper .it-header-center-content-wrapper {
    padding-left: 18px;
    padding-right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
} 

@media (min-width: 992px)
.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a {
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-align: center;
    -ms-flex-align: center; 
    align-items: center;
	display: flex;
    width: 80%;
}
@media (min-width: 992px)
.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper {
    margin-left: -20px;
    width: 80%;
}
.it-brand-wrapper{
	width:80%;
}
.it-right-zone {
    width: 200px;
    height: 120px;
}

@media screen and (max-width: 767px){
.it-header-center-wrapper {
    /* padding-left: 50px; */
    margin-top: 45px !important;
}
}

/* Sticky header  */

/* small scrrens */
@media screen and (max-width: 767px){
    .it-header-wrapper.is-sticky .it-header-center-wrapper {
   margin-top: -97px;
 /* border-bottom: 2px solid #822433;*/
    }
    }

 /* large screens */
    @media (min-width: 992px){
    .it-header-wrapper.it-header-sticky.is-sticky .it-header-center-wrapper, .it-header-wrapper.it-header-sticky.is-sticky .it-header-slim-wrapper {
          display: block;
				margin-top: 60px;
        border-bottom: 1px solid #822433;
    }
    }
.it-header-wrapper.is-sticky .it-header-navbar-wrapper{
	  border-bottom: 2px solid #822433 !important;
}
/*
.it-header-wrapper.fixed-top.is-sticky{
    /* height: 200px; 
    border-bottom: 2px solid #822433 !important;
}
*/

#wprmenu_bar .menu_title a {
  display: inline-block;
  position: relative;
  top: 0px;
  text-decoration: none;
}
/*_______  CENTER Header _______*/

.it-header-center-wrapper {
  background-color: #ffffff;
  color: #822433;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a h2 {
  color: #822433;
}

.it-header-center-wrapper {
  margin: 0;
}

/*______  Header MENU NAV ____*/

.wp-block-search__inside-wrapper {
  display: inline-flex !important;
	border:1px solid black;
}
#menu-main-menu.nav {
  /* background-color: #822433;*/
  background-color: #ffffff;
}

/*nav bar full width */

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
  padding-right: 10px;
  margin: 10px 10px 0 5px;
  background-size: cover;
  height: 120px;
  width: 40%;
}

/* while debugging the excess center header nav and corrected logo height as well  */

.it-header-center-wrapper,
.it-header-navbar-wrapper,
.it-header-wrapper {
  background-color: #ffffff;
  height: auto;
  padding: 0;
}

/*_ Main Header Nav menu on Hover  _*/
#menu-item-39.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-39:hover {
  color: #ffffff;
  background-color: #822433;
}

#menu-item-40.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-40:hover {
  color: #ffffff;
  background-color: #822433;
}

#menu-item-588.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-588:hover {
  color: #ffffff;
  background-color: #822433;
}

#menu-item-593.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-593:hover {
  color: #ffffff;
  background-color: #822433;
}

#menu-item-1526.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-1526:hover {
  background-color: #822433;
}

/* secondary menu */

.menu-main .nav li ul {
  padding: 10px 0;
  background-color: #822433;
  border-radius: 4px;
	color:#333;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
}

/*_________Nav Menu icon open and close in small screens_______*/

/* Font of nav */
.nav li a {
  color: #333;
  font-weight: 300 !important;
  font-size: 1em !important;
}

.nav li a:hover {
  color: #fff !important;
  font-weight: 300 !important;
  font-size: 1em !important;
}

.menu-main .nav a {
  padding: 0px;
}

.nav li {
  padding: 15px 10px;
}
.menu-main .nav a {
    color: #333;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    /* padding: 0 15px; */
}
.menu-main .nav a:active{
    color: #333;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    /* padding: 0 15px; */
}


.menu-main .nav a:hover, .menu-main .nav a:active, .menu-main .nav li:hover > a, .menu-main .nav li:active > a, .menu-main .nav .focus > a, .menu-main .nav .current-menu-item > a, .menu-main .nav .current-menu-ancestor > a {
     color: #333; 
}

/*___  Main LOGO SAPIENZA _____*/

.it-brand-wrapper >img {
  display: block;
}

img {
  vertical-align: middle;
}

img,
a img {
  border: none;
}

#header .it-brand-wrapper	img {
/*   height: 100px; */
  width: auto;
  /* margin:  10px 0 18px; */
  margin: 0;
  color: #822433;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #fff;
    -webkit-box-align: center;
    -ms-flex-align: center;
    text-decoration: none;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
}
/* logo image set from center to starting with p:10px;*/
@media screen and (max-width: 767px){
.it-header-center-wrapper {
    padding-left: 10px;
    margin: 10px 0;
}
}
@media  screen and (max-width: 992px){
  div.collabora {
    width: 100%;
  }
}

/*modified by Khadeer */
/*
.it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
	position: relative;
	left: auto;
	top: auto;
	margin-top: auto;
	max-width: 1600px;
	min-width: 755px;
	padding-left:40x;
}
.it-header-center-wrapper, .it-header-navbar-wrapper, .it-header-wrapper {
    background-color: #ffffff;
    height: auto;
    padding: 0;
    max-width: 1600px;
    min-width: 755px;
} */
/*___ Header   ENDS ___ */