/*HTML*/
textarea{
  max-height: 500px;
  max-width: 100%;
  min-width: 100%;
  min-height: 70px;
}


/* sidebar */
.nav-pills>li>a{
  border-radius: 0;
  color: black;
}
.logo_sidebar{
  width: 100%;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover{
  background-color: #f00500;
}
#searchResultUser{
  overflow: auto;
}

/*overall content */
th{
  text-align: center;
}
.admin-container {
    margin-top: 5%;
}
hr{
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #ddd;
}
table{
    margin-top: 25px;
}

.table-responsive{
    overflow-x: unset;
}

.search_btn{
   text-align: right;
}
.sidebar{
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0), 0 9px 26px 0 rgba(0, 0, 0, 0.14);
    padding: 25px;
    background-color: white;
    top: 100px;
    position: sticky;
}
.content{
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0), 0 9px 26px 0 rgba(0, 0, 0, 0.14);
    padding: 25px;
    background-color: #f9f6f2;
    margin-top: 30px;
}
.modal-content{
  border-radius: 0;
}
.modal-dialog {
display: inline-block;
text-align: left;
vertical-align: middle;
}
.loader {
border: 8px solid #f3f3f3;
border-radius: 50%;
border-top: 8px solid #f00500;
width: 80px;
height: 80px;
-webkit-animation: spin 1s linear infinite; /* Safari */
animation: spin 1.5s linear infinite;
margin:auto;
margin-top: 5%;
}


/* User Tab */
.btn_delete{
    background-color: transparent;
    color: #f00500;
    font-size: 15px;
    font-weight: bold;
    padding-top: 4px;
    transition: .5s;
} 
.btn_delete:hover{
    background-color: #f00500;
    color: white;
    transition: .5s;
}

.profilform{
	margin-bottom:0;
}
.btn_grey_edit{
    border: 0 !important;
}
.glyphicon-trash{
  top:3px;
}

.modal {
  text-align: center;
}
/*Project Tab*/
.details_img{
  width: 100%;
}

.btn_admin_danger{
  background-color: transparent;
  color: #7d6969;
  border-color: #7d6969;
  font-size: 15px;
  font-weight: bold;
  border: 1.5px solid;
  padding-top: 4px;
  transition: .5s;
}
.btn_admin_danger:hover{
  background-color: #7d6969;
  color: white;
  border-color: #7d6969;
  transition: .5s;
}

/* Project Details */

#modalGallery .modal-footer{
  text-align: center;
  padding: 0;
}

#modalGallery .modal_img_item img{
  margin:auto;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover{
  background-color: #f00500 !important;
  border-color: unset !important;
  color: white !important;
}
.pagination>li>a{
  border: unset !important;
}
.pagination>li>a, .pagination>li>span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: 2px;
  line-height: 1.42857143;
  color: unset;
  text-decoration: none;
  background-color: unset;
  border: unset;
}

/* custom checkbox*/

/* Customize the label (the container) */
.checkbox_container {
    display: block;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .checkbox_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    height: 18px;
    width: 18px;
    background-color: buttonface;
  }
  
  /* On mouse-over, add a grey background color */
  .checkbox_container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .checkbox_container input:checked ~ .checkmark {
    background-color: #f00500;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .checkbox_container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .checkbox_container .checkmark:after {
    left: 5px;
    top: 1px;
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}


/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (max-width:992px){
  .search_btn{
      text-align: center;
   }
   .sidebar{
      top: 0px;
      position: unset;
   }
   .logo_sidebar{
    width: unset;
  }
  .search_btn{
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
@media screen and (max-width:400px){
   .logo_sidebar{
    width: 100%;
  }
}
.gallery-item{
  height: 200px;
  max-height: 200px;
  margin-bottom: 20px;
  overflow: hidden;
}
.link-gallery img{
  position: absolute;
  width: 150%;
}
@media screen and (max-width:360px){
  .logo img{
   width: 100%;
 }
 .logo{
  padding-left: 10px;
  padding-right: 10px;
 }
}

@media screen and (max-width:1199px) and (min-width:992px){
  .logo img{
   width: 100%;
 }
 .logo{
  padding-left: 10px;
  padding-right: 10px;
 }
}
