/* 
    Document   : override
    Created on : <date>
    Author     : <author>
    Description:
        This is where any of your application specific styles should be included
*/

.demo-page-content-marea {
    /*background: rgba(76, 175, 80, 0.4); 252, 103, 1*/

    border-radius: 3px;
    border: 1px solid #d6dfe6;
    margin: 10px;
    min-height: 100vh;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    box-shadow: 0 0 1rem rgba(0,0,0,0.5);
}
.demo-page-content-marea2 {
    /*background: rgba(76, 175, 80, 0.4); 252, 103, 1*/

    border-radius: 3px;
    border: 1px solid #d6dfe6;
    margin: 10px;
    min-height: 100%;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 10px;
    box-shadow: 0 0 1rem rgba(0,0,0,0.5);
}
.demo-page-content-area {
    background: #ffffff;
    border-radius: 3px;
    border: 1px solid #d6dfe6;
    margin: 10px;
    min-height: 100%;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
}

.demo-icon-sprite {
  display: inline-block;
  width: 16px;
  height: 16px;
  line-height: 1;
  overflow: hidden;
  direction: ltr;
  text-align: center;
  -moz-box-sizing: content-box;
  box-sizing: content-box; }
  .demo-icon-sprite:before {
    display: inline-block;
    -moz-box-sizing: content-box;
    box-sizing: content-box; }

.demo-icon-sprite:before {
  content: url("images/demo-small-icons_454545_256x240.png"); }

.oj-enabled .demo-icon-sprite:before {
  content: url("images/demo-small-icons_454545_256x240.png"); }

.oj-hover .demo-icon-sprite:before {
  content: url("images/demo-small-icons_0572ce_256x240.png"); }

.oj-active .demo-icon-sprite:before {
    content: url("images/demo-small-icons_ffffff_256x240.png");}


/* positioning */
.demo-icon-compass:before {
  margin: -32px 0 0 0; 
}

.demo-icon-search:before {
    margin: -32px 0 0 -16px;
}
.whitetext{
    color: white;
   
}
/* This is to prevent the flash of unstyled content before the composite properties have been setup. */
demo-card:not(.oj-complete) {
  visibility: hidden;
}

demo-card {
  display: block;
  width: 200px;
  height: 200px;
  perspective: 800px;
  margin: 10px;
  box-sizing: border-box;
  cursor: pointer;
}

demo-card h2,
demo-card h5,
demo-card .demo-card-text,
demo-card .demo-card-avatar {
  color: #fff;
  padding: 0;
}

/* To ensure your classes are scoped correctly, we recommend scoping classes and prefixing class names with the composite name. */
demo-card .demo-card-front-side, 
demo-card .demo-card-back-side {
  position: absolute;
  height: 100%;
  width: 100%;
  background-size: cover;
  border-radius: 5px;
  background-color: rgb(38, 125, 179);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-sizing: border-box;
}

demo-card .demo-card-front-side {
  /* Specify a background-image url to provide an image for the front of the card. */
  text-align: center;
  padding-top: 30px;
  transform: rotateY(0deg);
  z-index: 0;
}

demo-card .demo-card-back-side {  
  padding-left: 15px;
  padding-right: 15px;
  transform: rotateY(180deg);
  z-index: -1;
}

demo-card .demo-card-inner-back-side {
  /* IE11 workaround to show back side */
  -ms-transform: rotateY(180deg);
}

demo-card .demo-card-flip-container {
  position: absolute;
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .25);
  border-radius: 5px;
}

demo-card .demo-card-flip-container.demo-card-flipped {
  transform: rotateY(180deg);
}

demo-card .demo-card-flip-container.demo-card-flipped .demo-card-back-side {
  /* IE11 workaround to show back side */
  -ms-transform: rotateY(360deg);
  z-index: 0;
}

demo-card .demo-card-avatar {
  margin: auto;
}

 .demo-container
  {
    position: relative;
    width: 100%;
    height: 320px;
  }
  
  .demo-panel
  {
    height: calc(100% - 40px);
  }
  
  .demo-page
  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 10px;
    box-sizing: border-box;
    overflow: auto;
    background-color: white;
  }
  
    .files{

display: grid;

grid-template-columns: repeat(auto-fill, minmax(16px, 1fr));

grid-auto-rows: 1;

grid-gap: 1rem;

} 
 .scards {

display: grid;

grid-template-columns: 2;

grid-auto-rows: auto;

grid-gap: 1rem;

}
  
   .cards {

display: grid;

grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));

grid-auto-rows: auto;

grid-gap: 1rem;

}  
 .cardaa {

display: grid;

grid-template-columns: repeat(2, minmax(40px, 1fr));

grid-auto-rows: auto;

grid-gap: 1rem;

}
   .cards3 {

display: grid;

grid-template-columns: 2;

grid-auto-rows: 1;


grid-gap: 1rem;

}  

 .countercards {

display: grid;

grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));

grid-auto-rows: auto;

grid-gap: 1rem;

}
      .card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 5px; /* 5px rounded corners */
  
}

.cardwidth{
      width: 150px;
}
.cardwidth2{
      width: 250px;
}
.cardwidthAll{
      width: 100%;
}
/* Add rounded corners to the top left and the top right corner of the image */
img {
  border-radius: 5px 5px 0 0;
}
/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Add some padding inside the card container */
.container {
  padding: 2px 16px;
}

.bg-img {
  background-size: cover;
  min-height: 180px;
  background-position: center;
  background-color: #ccc;
}

.content {
  padding: 15px;

}

button {
  background-color: transparent;
  border: 1px solid #2196F3;
  padding: .5rem 1rem;
  cursor: pointer;
  border-radius: .25rem;
}

.button2 {
  background-color: transparent;
  border: 1px solid #2196F3;
  padding: .5rem 1rem;
  cursor: pointer;
  border-radius: .25rem;
}