/********************************************
   AUTHOR:                          Erwin Aligam
   WEBSITE:                           http://www.styleshout.com/
        TEMPLATE NAME:                Envision
   TEMPLATE CODE:         S-0013
   VERSION:          1.1
        LAST MODIFIED     Nov-14-2007
 *******************************************/

/********************************************
   HTML ELEMENTS
********************************************/

/* Top Elements */
* { margin: 0; padding: 0; outline: 0 }

html {
        overflow-x:hidden;
        overflow-y:scroll;
}

body {
        background: #CCC;
        font: 80%/1.7em Verdana, Tahoma, arial, sans-serif;
        color: #555;
        text-align: center;
}

/* links */
a, a:visited {
        text-decoration: none;
        color: #2180BC;
        background: inherit;
}
a:hover {
        color: #88ac0b;
        background: inherit;
        text-decoration: underline;
}

/* headers */
h1, h2, h3 {
        font-family: 'Trebuchet MS', Tahoma, Sans-serif;
}
h1 {
        font-size: 150%;
        font-weight: normal;
        color: #006699;
}
h2 {
        font-size: 140%;
        text-transform: uppercase;
        color: #88ac0b;
}
h3 {
        font-size: 120%;
        color: #666666;
}

/* images */
img {
        background: #FFFFFF;
   border: 0px solid #FFFFFF;
        padding: 0px;
}
img.float-right {
  margin: 5px 0px 10px 10px;
}
img.float-left {
  margin: 5px 10px 10px 0px;
}

h1, h2, h3, p {
        padding: 10px;
        margin: 0;
}
ul, ol {
        margin: 5px 20px;
        padding: 0 20px;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;
}
acronym {
  cursor: help;
  border-bottom: 1px dotted #777;
}
blockquote {
        margin: 10px;
         padding: 0 0 0 28px;
   border: 1px solid #f2f2f2;
          background: #FAFAFA url(quote.gif) no-repeat 5px 5px;
}

/* start - table */
table {
        border-collapse: collapse;
        margin: 10px;
}
th strong {
        color: #fff;
}
th {
        background: #93BC0C;
        height: 29px;
        padding-left: 12px;
        padding-right: 12px;
        color: #FFF;
        text-align: left;
        border-left: 1px solid #B6D59A;
        border-bottom: solid 2px #FFF;
}
tr {
        height: 30px;
}
td {
        padding-left: 11px;
        padding-right: 11px;
        border-left: 1px solid #FFF;
        border-bottom: solid 1px #ffffff;
}
td.first,th.first {
        border-left: 0px;
}
tr.row-a {
        background: #F8F8F8;
}
tr.row-b {
        background: #EFEFEF;
}
/* end - table */

/* form elements */
form {
        margin:10px; padding: 0 5px;
        border: 1px solid #f2f2f2;
        background-color: #FAFAFA;
}
label {
        display:block;
        font-weight:bold;
        margin:5px 0;
}
input {
        padding:2px;
        border:1px solid #eee;
        font: normal 1em Verdana, sans-serif;
        color:#777;
}
textarea {
        width:400px;
        padding:2px;
        font: normal 1em Verdana, sans-serif;
        border:1px solid #eee;
        height:100px;
        display:block;
        color:#777;
}
input.button {
        font: bold 12px Arial, Sans-serif;
        height: 24px;
        margin: 0;
        padding: 2px 3px;
        color: #FFF;
        background: #8EB50C url(button-bg.jpg) repeat-x 0 0;
        border: none;
}



/********************************************
   LAYOUT
********************************************/
#wrap {
        width: 820px;
        background: #CCC url(content.jpg) repeat-y center top;
        margin: 0 auto;
        text-align: left;
}
#content-wrap {
        clear: both;
        width: 760px;
        padding: 0;
        margin: 10px auto;
}
#header {
        width: 819px;
        position: relative;
        height: 103px;
        background: #CCC url(header.jpg) no-repeat center top;
        padding: 0;
        color: #FFF;
}

/* header links */
#header #header-links {
        position: absolute;
        top: 20px; right: 20px;
        color: #C6DDEE;
        font-size: 10px;
}
#header #header-links a {
        color: #FFF;
        text-decoration: none;
}
#header #header-links a:hover {
        color: #D4E59F;
}

/* Menu */
#menu {
        clear: both;
        margin: 0 auto; padding: 0;
        background: url(menu.jpg) repeat-x 0 0;
        font: bold 12px/37px Verdana, Arial, Tahoma, Sans-serif;
        height: 37px;
        width: 780px;
}
#menu ul {
        float: left;
        list-style: none;
        margin:0; padding: 0;
}
#menu ul li {
        display: inline;
}
#menu ul li a {
        display: block;
        float: left;
        padding: 0 12px;
        color: #FFF;
        text-decoration: none;
}
#menu ul li.last a {
        padding-right: 20px;
}
#menu ul li a:hover {
        color: #D4E59F;
}
#menu ul li#current a {
        color: #D4E59F;
}

/* Main Column */
#main {
        float: left;
        width: 99%;
        padding: 0; margin: 5px 0 0 5px;
        display: inline;
}
#main h2 {
        margin-top: 10px;
        font: Bold 120% 'Trebuchet MS', Tahoma, Sans-serif;
        color: #555;
        padding: 5px 0 5px 10px;
        border-bottom: 1px solid #EFF0F1;
        text-transform: none;
}
#main h2 a {
        background: none;
        color: #88ac0b;
        text-decoration: none;
}

#main ul li {
        list-style-image: url(bullet.gif);
}

.post-footer {
        background-color: #FAFAFA;
        padding: 5px; margin: 20px 10px 10px 10px;
        border: 1px solid #f2f2f2;
        font-size: 95%;
}
.post-footer .date {
        background: url(clock.gif) no-repeat left center;
        padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
        background: url(comment.gif) no-repeat left center;
        padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
        background: url(page.gif) no-repeat left center;
        padding-left: 20px; margin: 0 10px 0 5px;
}

/* Footer */
#footer {
        color: #C6DDEE;
        background: #CCC url(footer.jpg) no-repeat center top;
        clear: both;
        width: 820px;
        height: 65px;
        text-align: center;
        font-size: 92%;
}
#footer a {
        color: #FFF;
        text-decoration: none;
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.clear { clear: both; }



/* Gallery stuff */
#gallery .item {
    position: relative;
}
#gallery .item img {
    display: block;
    margin: 0 auto;
}
#gallery .item .caption {
    display: block;
    text-align: center;
}
.md-gallery-thumbnails {}
.md-gallery-thumbnails div {
    display: inline-block;
    margin: 10px;
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}