*{
	margin: 0;
	padding: 0;
}

/*****************************************
                 MY UNDERSTAND CODE
*****************************************/
/*some demo css*/

/*for background fontawesome icon*/
/*p:before{
	font-family: fontawesome;
	content: "\f19c";
}*/


/*for bootstrap menu hover code*/
.dropdown:hover .dropdown-menu {
    display: block;
 }

 /*for background fixed*/
/*.background_class {
 	min-height: 500px;
    background-image: url();
    background-attachment: fixed;
    background-position: center center;*/
    /*background-position: 100% auto;*/
/*    background-repeat: no-repeat;
    background-size: cover;
}*/

/*****************************************
                 MY UNDERSTAND CODE
*****************************************/



/*****************************************
                 isotop code
*****************************************/
* { box-sizing: border-box; }

body {
  font-family: sans-serif;
}

/* ---- button ---- */

.button {
  display: inline-block;
  padding: 0.5em 1.0em;
  background: #EEE;
  border: none;
  color: #222;
  font-family: sans-serif;
  font-size: 16px;
  text-shadow: 0 1px white;
  cursor: pointer;
}

.button:hover {
  background-color: #8CF;
  text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  color: #222;
}

.button:active,
.button.is-checked {
  background-color: #28F;
}

.button.is-checked {
  color: white;
}

.button:active {
  /*box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);*/
}

/* ---- button-group ---- */

.button-group {
    text-align: center;
  margin-bottom: 20px;
}

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  /*float: left;*/
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child { /*border-radius: 0.5em 0 0 0.5em;*/ }
.button-group .button:last-child { /*border-radius: 0 0.5em 0.5em 0;*/ }

/* ---- isotope ---- */

.grid {
  
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .element-item ---- */

.element-item {
  position: relative;
  float: left;
  width: 24%;
  margin: 5px;
  padding: 10px;
}

.element-item img {
  width: 100%;
}
