 custom template */
html, body {
   height: 100%;
   font-family:verdana,arial,sans-serif;
   color:#000;
}

table, body {
  font-size: 14px;
}

body{
  padding-top:103px;
  background: url(../../images/bg2.gif) repeat-x left top, #3f0000;
  color:#000;
}

.nav {
   font-family:Arial,sans-serif;
   font-size:13px;
}

a {
  color:#000;
}

a:hover {
  text-decoration:none;
}

hr {
  border-color:#dedede;
}

table.full-width-table {
  table-layout: fixed;
  width: 100%;
}

.wrapper, .row {
   margin-left:0;
   margin-right:0;
}

.wrapper:before, .wrapper:after,
.column:before, .column:after {
    content: "";
    display: table;
}

.wrapper:after,
.column:after {
    clear: both;
}

.column {
    /*height: 100%;*/
    overflow: initial;
    *zoom:1;
}

.column .padding {
    padding: 65px 20px 20px 20px;
}

/*.padding-top65{padding-top: 65px; margin-left: 227px;}*/

.full{
	padding-top:70px;
}

.box {
  	bottom: 0; /* increase for footer use */
    left: 0;
    /*position: fixed;*/
    right: 0;
    top: 0;
  /*
    background-image:url('/assets/example/bg_suburb.jpg');
    background-size:cover;
    background-attachment:fixed;
  */
}

.divider {
	margin-top:32px;
}

.navbar {
    border-width:0;
	  background-color:#930000;
    color:#ffffff;
    font-family:arial,sans-serif;
    top:0;
    position:static;
    width:inherit;
}

.navbar li > a,.navbar-toggle  {
  color: #FFFFCD;
  margin-top: -4px;
}

.navbar .dropdown-menu li a {color:#930000;}
.navbar .dropdown-menu li > a {
	padding-left:30px;
	display:inline-block;
	}

.navbar li>a:hover, .navbar li>a:focus, .navbar .open, .navbar .open>a, .navbar .open>a:hover, .navbar .open>a:focus {
   background-color:#930000;
   color:#fff;
}

#thenoti.dropdown-menu, #users-dropdown-list.dropdown-menu {
  width:300px;
  border: #930000 solid 1px;
  max-height: calc(70vh - 45px);
  overflow: auto;
  padding-top: 1px;
}

#users-dropdown-list.dropdown-menu{
  width:auto;
}

#users-dropdown-list .open-chatbox{
  display: inline-block;
  padding: 0px 4px;
}

#users-dropdown-list .open-chatbox img{
  margin-top: -2px;
  width: 16px;
}

#top-users-menu .open-chatbox{
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
  border-right: 2px solid #DDD;
}


#top-users-menu .open-chatbox img{
  width: 51px;
  margin-top: -5px;
}

#top-users-menu .user-list-username{
  font-size: 20px;
  text-decoration: underline;
}

#top-msgdirect-menu .message_dropdown_item{
  font-size:16px;
}

#users-dropdown-list a{
  width:100%;
  padding-left:6px;
}

#main {
   padding-left:0;
   padding-right:0;
}

#main .img-circle {
   margin-top:18px;
   height:70px;
   width:70px;
}

/*#sidebar {    
	/*padding-top:55px;*/
	/* position: fixed; */ /* Fixed Sidebar (stay in place on scroll) */
    /*z-index: 1; /* Stay on top */
    /*top: 0; /* Stay at the top */
    /*left: 0;    
    overflow-x: hidden; /* Disable horizontal scroll */
	/*float:left;
}*/

/*#sidebar, #sidebar a, #sidebar-footer a {
    color:#1d2129;
    background-color:transparent;
	text-shadow:0 0 0px #000000;
    padding-left:5px;
	font-size:14px;
}*/

@media(max-width: 767px){

  body{
    padding-top: 44px;
  }

  #sidebar.col-xs-1{
    width:auto;
  }
  .main-wrap #sidebar{
    position:fixed;
    margin-top: 50px;
    z-index: 1;
    padding-right: 0;
  }

  #sidebar.active{
    width: 203px;
  }
}

#sidebar .nav li{
  padding:1px;
  color:#FFFFCD;
}

#sidebar .nav li:not(.main-menu-category):hover,#sidebar #lg-menu .active {
  background-color: #3f0000 !important;
  border-radius: 2px;
}

#sidebar .nav li:not(.main-menu-category) a:hover,#sidebar #lg-menu a.active{
  background: none !important;
}

#lg-menu.visible-xs{
    position: fixed;
    top: 50px;
    left: 20px;
    background: #FFF;
    padding: 10px;
}

.navbar-header{
	flex: 0 0 100%;
	text-align: center;
	float:none;
}

.navbar .navbar-brand.logo {
  padding:6px 3px 3px 3px;
  display: inline-block;
  height:28px;
  float:none;
  margin:4px 9px;
  margin-right:2px;
  margin-left:15px;
  font-size:20px;
  font-weight:700;
  text-align:center;
  text-decoration:none;
  /*text-shadow:0 0 1px;*/
  border-radius:2px;
}

.navbar .navbar-brand.logo:hover,.navbar .navbar-brand.logo:active,.navbar .navbar-brand.logo:visited{
  color: #FFF;
}
#sidebar-footer {
  background-color:#e9eaed;
  position:absolute;
  bottom:5px;
  padding:5px;
}
#footer {
  margin-bottom:20px;
}

/* bootstrap overrides */

h1,h2,h3 {
   font-weight:800;
}

.navbar-toggle, .close {
	outline:0;
}

.navbar-toggle .icon-bar {
	background-color: #fff;
}

.label-primary,.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus  {
  background-color: #930000;
  color:#fffffe;
}

.btn-primary{
  border: #930000 1px solid;
  background: transparent;
  color: #930000;
}

.btn-primary:hover,.btn-primary:active,.btn-primary:focus{
  background-color:#930000 !important;
  border-color: rgba(199, 58, 179, 0.64) !important;
  outline:none;
}

.btn-white{
  border: #FEFEFE 1px solid;
  background: #FEFEFE;
  color: #930000;
}

.btn-white:hover,.btn-white:active,.btn-white:focus{
  border: #FAFAFA 1px solid;
  background: #FAFAFA;
  outline:none;
}

.btn-default {
    color:#666666;
    text-shadow:0 0 1px rgba(0,0,0,.3);
}
.form-control {
	
}

.well{
  overflow-wrap: break-word;
}

.panel textarea, .well textarea, textarea.form-control
{
   resize: none; margin-bottom: 10px;
}
  
#postwallimagebutton {
  margin-right: 10px;
}

.badge{
   color:#3B0A99;
   background-color:#fff;
}
.badge:hover, .badge-inverse{
   background-color:#3B0A99;
   color:#fff;
}
    
.jumbotron {
  background-color:transparent;
}
.label-default {
  background-color:#dddddd;
}
.page-header {
  margin-top: 55px;
  padding-top: 9px;
  border-top:1px solid #eeeeee;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:2px;
}

.panel-default .panel-heading {
  background-color:#f9fafb;
  color:#555555;
}

.col-sm-9.full {
    width: 100%;
}

.modal-header, .modal-footer {
	background-color:#f2f2f2;
    font-weight:800;
    font-size:12px;
}

.modal-footer i, .well i {
    font-size:20px;
    color:#c0c0c0;
}

.modal-body {
	padding:0px;
}

.modal-body textarea.form-control
{
   resize: none;
   border:0;
   box-shadow:0 0 0;
}

small.text-muted {
  font-family:courier,courier-new,monospace;
}

/* adjust the contents on smaller devices */
@media (max-width: 768px) {

  .column .padding {
    padding: 7px;
  }

  .full{
	padding-top:20px;
  }

  .navbar {
    top:0;
    width:100%;
    position:fixed;
  }

}


/*
 * off canvas sidebar
 * --------------------------------------------------
 */
@media screen and (max-width: 768px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
	  /*background-color:#ffffff;*/
  }

  .row-offcanvas-left.active {
    /*left: 33%;*/
  }

  .row-offcanvas-left.active .sidebar-offcanvas {
    left: -33%;
    position: absolute;
    top: 0;
    width: 33%;
    margin-left: 0px;
  }

  #sidebar, #sidebar a, #sidebar-footer a {
    padding-left:3px;
  }

  /*#lg-menu .active {
    background-color:#e9eaed;
	}*/

 /* .padding-top65 {
	margin-left:7%;
	overflow:initial;
	width:auto;
  }*/

  .col-xs-11 {
    width: 100%;
	}

  .panel-default img{width:100%}
  .panel-body img{width:auto}
}


/* Start Text and Image upload for wall */
.fileupload-buttonbar .btn, .fileupload-buttonbar .toggle {
    margin-bottom: 5px;
}
.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}
.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}
.fileinput-button i {
	font-size: 14px;
	color:#ffffff!important;
}

#targetOuter{	
	position:relative;
    text-align: center;
    margin-top: 20px;
    width: 100%;
    height: auto;
	border-radius: 4px;
	display:none;
}
.btnSubmit {
    background-color: #565656;
    border-radius: 4px;
    padding: 6px 12px;
    border: #333 1px solid;
    color: #FFFFFF;
	cursor:pointer;
	margin-top:10px;
}

.upload-preview {border-radius:4px;}
#body-overlay {background-color: rgba(0, 0, 0, 0.6);z-index: 999;position: fixed;left: 0;top: 0;width: 100%;height: 100%;display: none;}
#body-overlay div {position:absolute;left:50%;top:50%;margin-top:-32px;margin-left:-32px;}
.user-info {color: #365899;font-weight: 600;}  
.submit-date-time {
  position: relative;
  color:#616770;
  font-size: 12px;
}
.panel-image-title {padding:15px 15px 0 15px;}
.panel-image-bottom {padding:0 15px 15px 15px;}
.post-links span{top:2px}
.post-likes { font-size: 13px;}
/* End Text and Image upload for wall */

/* Start comment box for wall */
.comment-bottom .mytext{
    border:0;padding:5px;background:#fff;font-size: 13px;
}
.comment-bottom .text{
    width:100%;display:flex;flex-direction:column;
}
.comment-bottom .text > p:first-of-type{
    width:100%;margin-top:0;margin-bottom:auto;line-height: 13px;font-size: 12px;
}
.comment-bottom .text > p:last-of-type{
    width:100%;text-align:right;color:silver;margin-bottom:-7px;margin-top:auto;
}
.comment-bottom .text-l{
    position: absolute; right:5px; bottom:6px;padding-right:10px;
}        

.comment-bottom .avatar{
    display:flex;
    justify-content:center;
    align-items:center;
    width:45px;
    float:left;
    padding-right:10px;
}
.comment-bottom .macro{
    margin-top:5px;width:78%;border-radius:8px;padding:7px;
}

.comment-bottom .msj{
    position: relative; background:#eff1f3; float: left;
}
.comment-bottom .comment-delete {
    display: inline-block; margin-top: 7px; padding: 5px 10px; font-size: 13px;
}

.comment-bottom .frame{
  background:#ffffff;
  height:auto;
  overflow-y: auto;
  padding:0;
  position: relative;
}
.comment-bottom .frame > div:last-of-type{
    position:relative;bottom:0px;width:100%;display:flex;
}
.comment-bottom  div:nth-child(2) > span{
    background: #e0e0de;padding: 10px;font-size: 21px;border-radius: 50%;cursor:pointer;
}
.comment-bottom > div > div > div > div.msj-rta.macro{
	margin:auto;
    margin-left:1%;
}
.comment-bottom ul {
    width:100%;
    max-height: 365px;
    list-style-type: none;
    padding:0px;
    position:relative;
    bottom:47px;
    display:flex;
    flex-direction: column;
    top:0;
}
          
.comment-bottom .user-photo img{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 7px;
}
.comment-bottom .user-info {padding: 0 5px 0 0;}

.comment-bottom input:focus{
    outline: none;
}        
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #d4d4d4;
}
::-moz-placeholder { /* Firefox 19+ */
    color: #d4d4d4;
}
:-ms-input-placeholder { /* IE 10+ */
    color: #d4d4d4;
}
:-moz-placeholder { /* Firefox 18- */
    color: #d4d4d4;
}

.comment-bottom .img-circle {
	margin-top: 0px!important;
	height: 45px!important;
    width: 45px!important;
}
.comment-bottom .glyphicon:empty {width: 2em;}
.comment-bottom .inputmsg {
  margin:auto;
  border: 1px solid #ccc;
  background-color: #fff;
  margin-right:0px;
  width: 87%;
  float: left;
}

.comment-bottom .inputmsg:after{border:none;}

ul.activity-list {
  list-style: none;
  padding-left: 0;
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

ul.profile-list {
  list-style: none;
  padding-left: 0;
}

.left-content {
  float: left;
}

.right-content {
  float: right;
}

a.profile-picture {
  display: block;
  width: 100px;
  height: 100px;
}

a.profile-picture img {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 768px) {
  ul.activity-list,
  ul.activity-list {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
  }
}

.main-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

#sidebar {
  padding-left: 0;
  padding-right: 0;
  /*max-height: 100vh;*/
}

.main-wrap .middle-column {
  padding-left: 0;
  padding-right: 0;
  /*max-height: 100vh;*/
}

.main-wrap .right-column {
  padding-left: 0;
  padding-right: 0;
  /*max-height: 100vh;*/
}

.scrollable-column {
  /*overflow: hidden;
  max-height: 100vh;*/
}

.scrollable-column-content{
  padding-bottom: 100px;
}

.pb-60{
  padding-bottom:60px;
}

@media screen and (min-width: 1024px) {

  .full-content-left {
    max-width: 320px;
    min-width: 320px;
  }

  .full-content-right {
    max-width: 680px;
    min-width: 680px;
  }

  #main-fullwidth-content #sidebar {
    max-width: initial;
    min-width: initial;
    width: 100%;
  }

  #sidebar,
  .w200px {
    width:200px;
  }

  #main-fullwidth-content {
    max-width: 1000px;
    min-width: 1000px;
    padding: 0;
  }

  .w800px {
    max-width: 800px;
    min-width: 800px;
  }

  .main-wrap .middle-column {
    width: 600px;
  }

	#main-content.col-sm-10{
		width:800px;
	}


  .main-wrap .right-column {
    width: 200px;
  }
}

.w200px,
.w800px,
.full-content-right,
.full-content-left {
  float: left;
}

#main .navbar {
	min-height: 40px;
}

#main .navbar-form {
  margin-top: 3px;
  margin-bottom: 3px;
}

#main .navbar-collapse.in {
  background-color: #930000;
}

#main .navbar-toggle {
  margin: 0;
}

#main .navbar {
  margin-bottom: 10px;
  position: relative;
  flex-flow: row wrap;
}

/*::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}*/

/* Start comment box for wall */

/* === login.php === */

#pagelet_bluebar {
  background-color: #930000;
  /*background-image: linear-gradient(#ff1a1a, #ff9999 50%); */
  min-height: 42px;
  position: relative;
  z-index: 1;
}

.loggedout_menubar {
  margin: 0 auto;
  padding: 20px 0;
  width: 980px;
/*  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: space-between;
  -webkit-justify-content: space-between;*/
}

.new_account.loggedout_menubar{
  max-width: 400px;
}

.new_account.loggedout_menubar .header-text{
  margin-left:0px;
}

.new_account.loggedout_menubar font{
  display: block;
  margin-top: 10px;
}



.lfloat {
  float: left;
}

.rfloat {
  float: right;
}

.dycg_logo {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
}

.dycg_logo a,
.dycg_logo a:hover,
.dycg_logo a:focus {
  color: white;
}

.menu_login_container form {
  margin-bottom: 0;
}

.menu_login_container form input[type=submit] {
  background-color: #3399ff;
  border-color: #29487d;
  -webkit-appearance: none;
  outline: none;
  border: solid 1px #29487d;
  color: #fff;
}

.menu_login_container form input[type="text"],
.menu_login_container form input[type="password"] {
  border: 1px solid #bdc7d8;
  margin: 0;
  padding: 3px;
  -webkit-appearance: none;
  -webkit-border-radius: 0;
  border-color: #1d2a5b;
  margin: 0;
  width: 142px;
  background-color: white !important;
  -webkit-rtl-ordering: logical;
  cursor: text;
  font-size: 12px;
}

.menu_login_container label {
  font-size: 12px;
  font-weight: 400;
  color: #fff;
}

.input-wrapper {
  display: inline-block;
}

.input-wrapper label {
  display: block;
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  background-color: #fff !important;
}

.login_main_container {
  color: #FFFFCD;
  padding-top: 20px;
}

.login_main_container h2 {
  font-size: 36px;
  font-weight: 600;
}

.login_main_container p {
  font-size: 19px;
}

.login_main_container a {
  color: #FFFFCD;
}

.login_main_container a:hover,.login_main_container a:visited,.login_main_container a:active {
  color: rgba(255,255,205,0.8);
}

.login_main_container .btn {
  color: #510000 !important;
}

/* !== login.php === */

.imgs-grid-modal {
  z-index: 1001;
}

.grid-item-200 {
  width: 200px; height: 180px; padding-right: 5px; padding-bottom: 5px; display: inline-block;
}

.grid-item-300 img,
.grid-item-200 img,
.grid-image-100 img {
  width: 100%;
  height: 100%;
}

.grid-item-300 {
 height: 300px; padding-right: 5px; padding-bottom: 5px; display: inline-block;
}

.grid-image-100 {
  width: 100px; height: 100px; padding-left: 10px; padding-bottom: 10px; display: inline-block;
}


div.profile-menu a {
  padding: 5px 10px;
  background: #000;
  color: #fff;
  display: inline-block;
  float: left;
}

div.scrollable-column div.panel {
  margin-bottom: 0;
}

.group-banner img {
  object-fit: cover;
  width: 100%;
}

.group-banner {
  max-width: 800px;
  max-height: 335px;
  overflow: hidden;
}

.profile-top-menu {
  margin-bottom: 20px;
}

.button_menu_selected {
    background-color: #cc99ff; 
    border: none;
    color: white;
    padding: 4px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.button_menu {
    background-color: Blue; /* blue */
    border: none;
    color: white;
    padding: 4px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}

.photo200{
  width: 200px;
}

.photo300{
  width: 300px;
}

.photo400{
  width: 400px;
  object-fit: cover;
}

.photo500{
  width: 500px;
  object-fit: cover;
}

.photolistegauche{
  width: 200px;

}

  /**** Chat Popup Layout******/
body{
 font-family: sans-serif;
}

.msg_box{
  position:fixed;
  right:10px;
  bottom:-5px;
  width:250px;
  background:white;
  border-radius:5px 5px 0px 0px;
}

.msg_head{ 
  background:black;
  color:white;
  padding:8px;
  font-weight:bold;
  cursor:pointer;
  border-radius:5px 5px 0px 0px;
}

.msg_body{
  background:white;
  height:200px;
  font-size:12px;
  padding:15px;
  overflow:auto;
  overflow-x: hidden;
}

.msg_input{
  width:100%;
  height: 55px;
  border: 1px solid white;
  border-top:1px solid #DDDDDD;
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;   
  box-sizing: border-box;  
}

.close{
  float:right;
  cursor:pointer;
  color: white;
  opacity: 1;
}

.minimize{
  float:right;
  cursor:pointer;
  padding-right:5px;
}

.msg-left{
 position:relative;
 background:#e2e2e2;
 padding:5px;
 min-height:10px;
 margin-bottom:5px;
 margin-right:10px;
 border-radius:5px;
 word-break: break-all;
}

.msg-right{
 background:#d4e7fa;
 padding:5px;
 min-height:15px;
 margin-bottom:5px;
 position:relative;
 margin-left:10px;
 border-radius:5px;
 word-break: break-all;
}
@media (max-width: 767px){
  body.mobile-overflow-hidden{
    /*overflow:hidden;*/
  }

  .msg_box{
    right:0;
    bottom:0;
    width: 100%;
    height: calc(100% - 34px);
  }

  .msg_box .msg_body{
    height: calc((var(--vh, 1vh)*100) - 128px);
  }
  .msg_footer.focused{
    width: 100%;
    position: fixed;
    top: 79px;
    background: #FFF;
    border-bottom: 1px solid #CCC;
  }

  .msg_footer.focused .emoticons-list{
    top: 36px;
    bottom:0;
  }

  .conversation-message{
    font-size: 16px;
  }

  .msg_head{
    padding-top: 12px;
    font-size: 18px;
  }

  .close{
    font-size: 26px;
    margin-top:-3px;
  }
}


/**** Slider Layout Popup *********/

#chat-sidebar{
  max-height: calc(100vh - 178px);
  overflow-y: scroll;
}

.online-users-list{
  display: none;
}
/*.third-column{
  display: none;
}*/
.sidebar-user-box {
  padding: 4px 2px 4px 0px;
  margin-bottom: 4px;
  font-size: 15px;
  font-family: Calibri;
  font-weight:bold;
  cursor:pointer;
}
.sidebar-user-box:hover {
  background-color:#930000;
}

.sidebar-user-box:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.sidebar-online{
  color:#56d25b;
}

.sidebar-user-box:hover .sidebar-online{
  color:#89ff82;
}

.slider-username{
     float:left;
     line-height:30px;
     margin-left:5px;
}
 #messenger-sidebar {
     padding-top: 10px;
}
 #messenger-user-box {
     padding: 4px;
     margin-bottom: 4px;
     font-size: 15px;
     font-family: Calibri;
     font-weight:bold;
     cursor:pointer;
}
 #messenger-user-box:hover {
     background-color:#999999 ;
}
 #messenger-user-box:after {
     content: ".";
     display: block;
     height: 0;
     clear: both;
     visibility: hidden;
}

.sidebar-user-box img,.sender_img img{
  width:35px;
  height:35px;
  border-radius:50%;
  float:left;
}

.slider-username{
  float:left;
  line-height:30px;
  margin-left:5px;
}





/**** Changes made by Rafael J., the freelance developer ****/

.nav .caret, .nav a:hover .caret {
  border-top-color: #fefefe;
  border-bottom-color: #fefefe;
}

.nav .open>a .caret, .nav .open>a:hover .caret, .nav .open>a:focus .caret {
  border-top-color: #fefefe;
  border-bottom-color: #fefefe;
}

.collapse{
  display: none !important;
}

.navbar-collapse{
  background-color: #930000;
}

#toggle-left-menu{
  float:left;
}

#top-left-menu li{
  padding-left:15px;
}

#top-right-menu .nav li a{
  font-size:24px;
}

.contest-winners-link{
  display: inline-block;
}

@media(min-width: 768px){
  #top-right-menu .navbar-nav{
    height: 40px;
  }

  #top-right-menu .nav li a{
    font-size:inherit;
  }

  #main .navbar-collapse.collapse#top-left-menu{
    display: none !important;
  }

  #main .navbar-static-top {
    position:fixed;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width:992px){
  .home-contest-image-container{
    height: 92px;
    overflow: hidden;
  }
}

#file-input-albums{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

#image-upload-progress-bar{
  width:100%;
  height: 8px;
  background: #DDD;
  display: none;
}

#image-upload-progress-bar .current-progress{
  width: 0px;
  height: 8px;
  background: #77dd77;
}


.wallpost-username-and-date{
  margin:0 0 10px 10px;
}

.wallpost-post{
  margin-bottom: 10px;
}

.wallpost .full-grid img{
  margin:0 auto;
}

.delete-wallpost{
  cursor: pointer;
}

.delete-wallpost:hover{
  opacity:0.7;
}

.wallpost-plus-images{
  display: table;
  width: 100%;
  height: 100px;
  text-align: center;
  background: #757575;
}

.wallpost-plus-images:active,.wallpost-plus-images:hover,.wallpost-plus-images:visited,.wallpost-plus-images:link{
  text-decoration: none !important;
}

.wallpost-plus-images h4{
  vertical-align: middle;
  display: table-cell;
  color: #FFF;
  font-size: 2rem;
}

.tooltip-inner{
  background-color:#282828;
  border-radius: 3px;
}

.wallpost .tooltip{
  opacity:1 !important;
  top: -3px !important;
}

.wallpost .tooltip ul{
  list-style: none;
  text-align: left;
  padding:0;
  margin:0;
}

.wallpost .tooltip .tooltip-arrow{
  border-width: 5px 5px 0 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-top-color:#282828;
  bottom: -5px;
  margin-top: 0;
  margin-bottom: 0;
}


#userImage{
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
}

.comment-send{
  cursor: pointer;
  padding: 10px 0px 10px 20px;
  float: left;
  width: 12%;
}

@media (min-width:1024px){
  .comment-send{
    display: none;
  }
}

.comments-count{
  float:right;
}

.likes-count{
  float:left;
}

.user-photo,.username-and-comment{
  float: left;
}

.username-and-comment{
  display: block;
  max-width: 82%;
  margin-bottom: 10px;
  margin-top: 9px;
}

@media (max-width: 598px){
  .username-and-comment{
    max-width: 79%;
  }
}

.post-btn{
  height: 35px;
  line-height: 35px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: Helvetica, Arial, sans-serif;
  border-radius: 2px;
}

.post-btn:hover{
  background: #f2f3f5;
}

.post-btn a,.post-btn a:hover{
  color: #616770;
}

.ma-photo-panel{
  padding: 10px 0;
}

.ma-photo-rotate-btn{
  margin-bottom: 10px;
}

.search-box{
  max-width:360px;
}

#sidebar{
  overflow:hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  padding-right: 10px;
}

#sidebar ul li a{
  text-overflow: ellipsis;
  font-size:13px;
  color:#FFFFCD;
  padding:5px 0 5px 6px;
}

.nav.xs-left-menu li.active{
  border: #2a6496 1px solid;
  border-radius: 2px;
  padding:0px;
}

.xs-toggle-left-menu{
    padding: 10px;
    background: #fff;
}

.xs-left-menu-column{
    padding-left: 16px;
    padding-top: 10px;
}

.main-wrap .middle-column,.main-wrap .right-column{
  /*overflow:hidden;*/
  padding-bottom: 100px;
}

@media (max-width: 1024px){
  #sidebar{
    overflow: visible;
  }

.main-wrap .middle-column,.main-wrap .right-column{
    overflow: visible;
  }

  .box{
    position:relative;
  }

  #main .navbar.navbar-static-top{
    position: fixed;
  }

  .scrollable-column{
    overflow: visible;
  }
}

.main-wrap .middle-column{
  padding-right: 10px;
}

#thenoti{
  padding:0;
}

#noti ul .message_row{
  padding: 6px 30px 6px 12px;
}



#noti ul li{
  color:#930000;
}
#noti ul li:hover{
  background-color: #930000;
  color: #fff;

}

#noti #thenoti li a:hover, #noti #thenoti li a:focus, #noti #thenoti li a{
  padding:0 !important;
  display: block;
  background:none;
  color:inherit;
  float:none;
}

#noti ul li:last-child{
  padding:8px 12px;
}

.sender_img{
  float:left;
  margin-right: 12px;
}

.new-messages-count{
    display: inline-block;
    text-align: center;
}

.btn .new-messages-count{
  background: #FFF;
}

.btn-danger .new-messages-count{
    color: #d9534f;
}

.btn-primary .new-messages-count{
  color: #3B0A99;
}

#MessageEventsLink, #users-dropdown-link{
  padding-top: 10px;
}

#toggle-msgdirect-menu, #toggle-users-menu{
  padding: 5px 0;
  float: none;
}

.fbk-like-icon{
  background: #FFF;
  color:#930000;
}

.new-messages-count, #users-dropdown-link .btn, #toggle-users-menu .btn{
  padding: 3px 8px;
}

.message_event_right{
  float:right;
  text-align: right;
}

.message_event_right .message_hasnew{
    color: #fa090b;
}

.bold{
  font-weight: bold;
}

#main.messenger-main .navbar{
  margin-bottom: 0;
}

#conversation-list-container{
    height: 100%;
    overflow-y: scroll;
}

#conversation-list{
    list-style:none;
    padding:0;
}

#conversation-list li img{
    float:none;
}

#conversation-list li{
    padding: 6px 30px 6px 12px;
}



#conversation-list li{
    color:#000;
}

#conversation-list li:hover,#conversation-list li.active{
    background-color: #f2f2f2;
}

#conversation-list li a,#conversation-list li a:hover, #conversation-list li a:focus, #conversation-list li a:active{
    display: block;
    color:inherit;
    text-decoration:none;
}

#conversation-list li .conversation-photo{
    float:left;
    margin-right: 12px;
}

#conversation-list li .conversation-details{
    float:left;
}

#conversation-list li .conversation-details .conversation-last-message{
    color: #999;
}

.has-new-messages{
  color: #fa090b;
}

#messenger-wrap{
    max-width:100%;
}

#current-other-username{
  padding:15px 0 14px 5px;
  border-bottom: 1px solid #b2b2b2;
  display: none;
}

.messenger-contentdiv.before-load{
  overflow-y:hidden;
}

.messenger-contentdiv{
    padding:15px;
    overflow-y: scroll;
}

.messenger-contentdiv.margin-top-0{
  margin-top: 0;
}

#message-input-footer{
    border-top: 1px solid #b2b2b2;
    height: 49px;
    padding-left: 9px;
    padding-top: 10px;
    display: none;
}
#message-input-footer textarea{
    width:99%;
    border:none;
    resize: none
}

#message-input-footer textarea:focus{
    outline:none;
}

.conversation-img img{
    border-radius:50%;
    float: none;
    width: 28px;
    height: 28px;
}

.conversation-img{
    float:left;
}

.conversation-item{
    margin: 1px 0;
}

.conversation-message{
    border-radius:1.3em;
    background:#f1f0f0;
    color:#000;
    padding: 6px 12px;
    margin-left: 7px;
    display: inline-block;
}

.conversation-item.conversation-own-message .conversation-message{
    float:right;
    background: #930000;
    color:#FFF;
}

.conversation-item.conversation-own-message .conversation-img{
    display: none;
} 

.conversation-list-col{
  padding:0;
  border-right: 1px solid #b2b2b2;
  border-left: 1px solid #b2b2b2;
}

.messages-col{
  padding:0;
  border-right: 1px solid #b2b2b2;
}
/**** Right Chat List ****/

#chat-header{
  display:none;
}

#no-users-online{
  padding:15px;
}

/**** End of Right Chat List ****/

/**** Events ****/

.events-photo-link{
  display: block;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}

.events-photo-link .events-photo{
  margin: 0 auto;
}
/**** End of Events ****/

img {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.m-0{
  margin:0;
}

.mt-20{
  margin-top:20px;
}

.float-left{
  float:left;
}

.vote-rating-link{
	display: inline-block;
	width: 42px;
	height: 43px;
	border: 1px solid #999;
	margin-right: 10px;
	border-radius: 2px;
	font-size: 32px;
}

.vote-rating-link:last-child{
	margin-right:0;
}

#profile-picture-upload-form #btn-container{
  max-width: 500px;
  margin: 0 auto;
}

/**** Changes to navbar while on a tablet ****/
@media (min-width:768px) and (max-width:1023px){
  .search-box{
    max-width:20vw;
  }
  .nav>li>a{
    padding: 10px 6px;
  }
  .nav>li>a:not(.noti){
    line-height: 10px;
  }

  #top-right-menu .nav>li>a:not(#MessageEventsLink):not(#users-dropdown-link){
    line-height: 13px;
    padding-top: 18px;
  }
}

/**** Changes max height of middle and right columns in extra small resolutions ****/

@media (max-width: 767px){
  .main-wrap .middle-column, .main-wrap .right-column{
    /*max-height: 100%;*/
  }
}

/**** Changes made to profile.php ****/

.username-and-picture h2{
  font-weight: 600;
}

.main-profile-picture{
  max-width: 247px;
}

.user_image{
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.validation_image{
    max-width: 500px;
	max-height: 500px;
}

.alignleft {
	float: left;
}
.alignright {
	float: right;
}

.sectionphoto_image{
  width: 100px;
  height: 100px;
  object-fit: cover;
}

@media (max-width: 767px){
  .main-profile-picture{
    width:259px;
    height: 259px;
  }
}

#profile-top{
  padding-bottom: 10px;
}

/**** Chatbox ****/

.message-input-model {
  align-items: center;
  border-top: 1px solid #b2b2b2;
  height: 49px;
  padding-left: 9px;
  padding-top: 1px;
  display: flex;
  justify-content: space-between;
}

.image-input {
  display: none !important;
}

.image-upload-progress-bar {
  width: 100px;
  height: 8px;
  background: #DDD;
  position: absolute;
  right: 18px;
  bottom: 35px;
  display: none;
}

.image-upload-progress-bar .current-progress {
    width: 0px;
    height: 8px;
    background: #77dd77;
}

.message-input-textarea {
  width: 100%;
  border: none;
  resize: none;
  display: block;
  font-size: 16px;
  margin-right: 20px;
}

.message-input-textarea:focus{
  outline: none;
}

.image-upload-container {
  cursor: pointer;
  overflow: hidden;
}

.messenger-icons {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  margin-bottom: 2px;
}

.messenger-icons svg {
  fill: #4d525b;
}

.emoticons-list {
  width: 135px;
  position: absolute;
  right: 12px;
  bottom: 35px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.08), 0 2px 4px 0 rgba(0,0,0,.12);
  background: #fefefe;
}

.emoticon-button {
  cursor: pointer;
  margin-top: 2px;
}

.send-button {
  cursor: pointer;
}

/**** Concours ****/

.concours-title{
  font-size: 16px;
  display: block;
  word-break: break-all;
  text-align: center;
}

.concours-title.finished{
  color:red;
}

/**** End Concours ****/

/**** Favorites ****/

.favorites-photo-container{
	height:226px;
	overflow-y:hidden;
	margin-bottom: 10px;
}

/**** End Favorites ****/

/**** End of the changes made by Rafael J., the freelance developer ****/

.biginput40
{
	border: 1px solid #A52900;
	font-family: verdana;
	font-size: 40px;
	font-weight: normal;
}
.biginput30
{
	border: 1px solid #A52900;
	font-family: verdana;
	font-size: 30px;
	font-weight: normal;
}
.biginput20
{
	border: 1px solid #A52900;
	font-family: verdana;
	font-size: 20px;
	font-weight: normal;
}

@media (max-width: 505px){
  .panel-body select, .panel-body input{
    max-width: calc(100vw - 188px);
  }
}

.panel.panel-test{
  background-color: #3f0000;
  border: 1px solid #FFFFCD;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #FFFFCD;
}

.panel-test a{
  color:#FFFFCD;
}