body.templates-page section.templates div.template {
    display: inline-block;
    /*width: 20%;*/
    /*float: left;*/
}

body.templates-page section.templates {
    /*background-image: url('/img/templates-cover.png');
    background-repeat: repeat;
    background-size: 20%;*/
    padding: 30px 0;
    margin-top: 15px;
}

body.my-designs-page,
body.discover-page,
body.profile-page,
body.templates-page {
    background-color: #fff;
    /* background-image: url('/img/bg-pattern.png');
    background-repeat: repeat; */
    /*background-size: 80%;*/
}

body.dashboard-page {
    background-color: #F0F4F8;
    background-color: #fdfdfd;
    background-color: #f7fbff;
    font-family: 'Lato', sans-serif;
}

h1.page-title {
    color: #5c6b73;
    margin-top: 60px;
    margin-bottom: 50px;
}
h3.page-sub {
    color: #90999e;
    position: relative;
    top: -25px;
}

body.my-designs-page .footer-pin-button {
    width: 60px;
    height: 60px;
    top: 120px;
    right: 45px;
}
body.my-designs-page .footer-pin-button:before {
    left: 20px;
    top: 13px;
    font-size: 26px;
}

body.templates-page div.template {
    /*width: 25%;*/
    /*float: left;*/
    padding: 0
}
body.templates-page div.template > div.inner {
    padding: 15px;
}
body.templates-page .footer-pin-button {
    display: none;
}
body.templates-page div.template > div.inner > div.template-item  {
    box-shadow: 0 1px 4px 0 rgba(0,0,0,.15);
    background-color: #fff;
    border-radius: 8px;
}
body.templates-page div.template > div.inner > div.template-item > div.top > a > img {
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    /*border-radius: 8px;*/
    /*box-shadow: 3px 3px 5px rgba(0,0,0,.15);*/
}

div.template-item > div.caption {
    padding: 12px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: hidden;
    background-color: rgba(0,0,0,.03);
    /*display: none;*/
}


div.template-item > div.caption > span.type {
    padding: 3px 9px;
    font-size: 12px;
    border: 1px solid #62C9D8;
    color: #62C9D8;
    float: left;
    display: inline-block;
    border-radius: 4px;
}
div.template-item > div.top {
    position: relative;
}
div.template-item > div.top > div.overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
div.template-item:hover > div.top > div.overlay {
	display: block;
}

/*div.pin:hover > div.inner > div.cotton > a > img.image {
    filter: blur(3px);
}*/


div.template-item:hover > div.top > div.overlay .overlay-link {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.45);
	/*cursor: zoom-in;*/
	display: block;
	z-index: 99;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
div.template-item:hover > div.top > div.overlay .overlay-edit-btn {
    width: 100px;
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 50px 15px 0;
    color: #fff;
    font-size: 20px;
    background-repeat: no-repeat;
    background-image: url(../icon-edit-pencil.html);
    background-size: 34px auto;
    background-position: center 1px;
    z-index: 102;
    text-decoration: none;
}
div.template-item:hover > div.top > div.overlay .overlay-edit-btn .icon-edit {
    background-repeat: no-repeat;
    background-image: url(../icon-edit-pencil.html);
    background-size: 34px auto;
    background-position: center;
    width: 34px;
    height: 34px;
}



/*body.templates-page section.templates {
    position: relative;
    padding: 100px 0;
    height: 110%;
    background: #4CA1AF;
    background: -webkit-linear-gradient(to bottom, #C4E0E5, #4CA1AF);
    background: linear-gradient(to bottom, #C4E0E5, #4CA1AF);
}

body.templates-page {
    padding-top: 0;
}

body.templates-page .navbar {
    border-bottom: 0;
    background: rgba(0,0,0,.4);
}
body.templates-page .container-fluid .row,
body.templates-page .container-fluid {
    height: 110%;
}


body.templates-page section.templates .bg {
    background-image: url('/img/wall.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    filter: blur(5px);
    opacity: .5;
}


body.templates-page div.templates-dir {
    background-color: #f5f5f5;
    border-radius:8px;
    margin-top: -30%;
    padding: 20px;
    box-shadow: 0 0 5px rgba(0,0,0,.15);
}*/
