/**
 * Grid container
 */
#main {
	margin-top: 9em;
}
#tiles {
  list-style-type: none;
  position: relative; /** Needed to ensure items are laid out relative to this container **/
  margin: 0;
  padding: 0;
}
#tiles li:hover img{
	opacity:0.8;
}
/**
 * Grid items
 */
#tiles li {
 	width: 280px;
	background-color: #ffffff;
	border: 1px solid #dedede;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	display: none;
	cursor: pointer;
	border-radius: 0.2em;
}
#tiles li img{
	border-top-left-radius:0.2em;
	border-top-right-radius:0.2em;
}
#tiles li.inactive {
  visibility: hidden;
  opacity: 0;
}

#tiles li img {
 	display: block;
}

/**
 * Grid item text
 */

footer {
  text-align: center;

}

footer a {
  color: #435DC5;
  text-decoration: none;
}

/**
 * Progress bar for imagesLoaded
 */
.progress-bar {
  background-color: #0BC20B;
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 0;
  box-shadow: 0 1px 3px rgba(11, 194, 11, 0.2);
  -webkit-transition: width 0.3s ease-out;
     -moz-transition: width 0.3s ease-out;
       -o-transition: width 0.3s ease-out;
          transition: width 0.3s ease-out;
}

/**
 * Placerholder css
 */
.wookmark-placeholder {
          border-radius: 2px;
     -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  background-color: #eee;
  border: 1px solid #dedede;
  z-index: -1;
}

.example-tiles {
  position: relative; /** Needed to ensure items are laid out relative to this container **/
  margin: 0;
  padding: 0;
}

.example-tiles li {
  display: block;
  list-style-type: none;
  float: left;
  margin: 5px;
  -webkit-transition: all 0.3s ease-out;
     -moz-transition: all 0.3s ease-out;
       -o-transition: all 0.3s ease-out;
          transition: all 0.3s ease-out;
}

.example-tiles a,
.example-tiles a:hover {
  color: #555;
  background-color: #eee;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  width: 200px;
  height: 200px;
  font-size: 2em;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  padding: 5px 8px;
  border-radius: 3px;
}

.example-tiles a:hover {
  background-color: #ddd;
}
/*--media Quries for 640px-monitors-*/
@media only screen and (max-width:640px) and (min-width:480px) {
	#main {
		margin-top: 7em;
	}
}
/*--media Quries for 480px-monitors-*/
@media only screen and (max-width:480px) and (min-width:320px) {
	#main {
		margin-top: 9.5em;
	}
}
/*--media Quries for 320px-monitors-*/
@media only screen and (max-width:320px) and (min-width:240px) {
	#main {
		margin-top: 9em;
	}
	#tiles li {
		width: 266px;
	}
}



.modal {
 display:none;
 position:absolute;
 z-index:1000000
}
.modal-bg {
 background:#fff;
 opacity:.8;
 position:fixed;
 width:100%;
 height:100%;
 top:0;
 right:0;
 z-index:9999999
}
.modal-box {
 position:fixed;
 z-index:99999999;
 top:50%;
 right:50%;
 background:#fff;
 border-radius:4px;
 width:360px;
 height:280px;
 margin-top:-130px;
 margin-right:-180px;
 box-shadow:0 0 8px 0 rgba(0,0,0,.25);
 transition:.5s cubic-bezier(.2,1.12,.62,1.35);
 -webkit-backface-visibility:hidden;
 -moz-backface-visibility:hidden;
 backface-visibility:hidden;
 -webkit-transform:perspective(600) scale(.5) rotateX(-90deg);
 -moz-transform:perspective(600) scale(.5) rotateX(-90deg);
 transform:perspective(600) scale(.5) rotateX(-90deg);
 -webkit-transform-origin:center;
 -moz-transform-origin:center;
 transform-origin:center
}
.modal-title {
 position:relative;
 background:red;
 padding:5px 12px 9px;
 border-bottom:1px solid #01a1ce;
 color:#fff;
 font-size:17px;
 border-radius:4px 4px 0 0
}
.modal-content {
 padding:8px 12px;
 color:#fff
}
.modal-close {
 position:absolute;
 top:7px;
 left:7px;
 width:20px;
 height:20px;
 background:url(../images/close.png) center center no-repeat;
 cursor:pointer;
 transition:.3s
}
.modal-close:hover {
 background-color:rgba(255,255,255,.2);
 opacity:.5
}
.login-box {
 color:#000;
 font-size:13px
}
.login-desc {
 padding-bottom:8px
}
.login-box input[type=text],.login-box input[type=password] {
 width:100%;
 margin:6px 0;
 color:#000;
 background:#fff;
 border-radius:3px;
 border:0;
 padding:2px 8px 6px;
 border-bottom:1px solid #2b2b2b
}
.login-box label {
 display:inline-block;
 margin:6px 0
}
.login-box label input {
 margin-left:6px
}
.login-box input[type=submit] {
 background:red;
 color:#fff;
 border:0;
 padding:0 20px 5px;
 border-radius:4px;
 margin-top:8px;
 cursor:pointer
}
.login-box input[type=submit]:hover {
 background:#900
}
.login-box .left a {
 display:inline-block;
 color:red;
 margin-top:10px
}
.user-panel-box a {
 color:#000!important;
 font-size:13px
}
.user-panel-box .avatar {
 float:right;
 width:120px;
 text-align:center;
 margin-top:10px
}
.user-panel-box .user-info {
 float:right;
 width:210px;
 padding-top:10px
}
.user-panel-box .user-info li {
 list-style-type:none
}
.user-panel-box .user-info li a {
 color:#fff;
 display:block;
 padding:2px 6px 6px;
 background:red;
 border-radius:3px;
 margin-bottom:2px
}
.pages-arrows a,.pages-arrows span {
 width:auto;
 padding:2px 10px
}
.pages-arrows i {
 padding:2px 0 0
}
.section-main-title {
 color:#444;
 margin-bottom:12px;
 border-bottom:1px solid #ebebeb;
 padding-bottom:6px
}
