/* simple reset */
html,body,div,object,h1,h2,h3,h4,h5,h6,p,a,img,ul,li{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}


body {
    background: #fff;
    color: #000;
    font-family: 'Arimo', sans-serif;
    padding: 35px 0 60px;
    width: 290px;
    margin: 0 auto;
}

.title, .thumbs {
    width: 290px;
    transition: all 300ms ease;
}

a {
    text-decoration: none;
    font-weight: 600;
}

a:link {
    color: #000;
}

a:visited {
    color: #000;
}

a:hover {
    color: #555;
}

a:focus {
    color: #333;
}

a:active {
    color: rgb(255, 180, 80);
}

p {
     margin-bottom: 20px;
     text-align: justify;
     font-size: 14px;
     line-height: 1.2;
}

.title {
    font-size: 22px;
    color: #000;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3px;
}

.thumbs {
    height: 864px;
    margin: 0 auto;
}

.thumbs {
    font-size: 0;
}

.thumbs a {
    position: relative;
    display: inline-block;
}

.thumbs a:hover > .captionx {
    opacity: 1;
    height: 54px;
    top: 0;
    padding-top: 42px;
}

.captionx {
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: #ccc;
    font-size: 10px;
    width: 100%;
    height: 0;
    text-align: center;
    opacity: 0;
    top: 50px;
    transition: all 300ms ease-in-out;
}

.imageresize {
    width: 145px;
    height: 96px;
    transition: all 300ms ease;
}

.floatleft {
    float: left;
    margin-right: 9px;
}

.email {
    font-weight: normal;
    font-size: 14px;
}

.burger {
    margin-top: -6px;
    padding-top: 10px;
    padding-left: 30px;
    width: 18px;
}

.burger:hover {
    opacity: 0.65;
}

.sb-slidebar {
    background: #F3F3F3;
    color: #eee;
    max-width: 250px;
    padding: 30px;
    font-family: 'Arimo', sans-serif;
}

.sb-slidebar img {
    margin: 30px 0 4px;
    display: block;
}

.sb-slidebar p {
    /*font-size: 1em;
    text-align: left; */
    font-size: 0.9em;
    text-align: left;
    margin-bottom: 10px;
    color: #000;
    max-width: 170px;
}

.sb-slidebar a {
    color: rgb(255, 240, 200);
    margin-top:10px;
 }

.sb-slidebar a:link {
    margin-top: 20px;
    color: rgb(255, 240, 200);
    color: rgb(0,0,0);
    text-transform: uppercase;
    font-size: 14px;
}

.sb-slidebar a:visited {
    color: rgb(255, 240, 200);
    color: #777;
}

.sb-slidebar a:hover {
    color: rgb(255, 200, 150);
    color: #444;
}

.sb-slidebar a:focus {
    color: rgb(255, 200, 150);
    color: #444;
}

.sb-slidebar a:active {
    color: rgb(255, 180, 80);
    color: #555;
}

.sb-toggle-left {
    float: left;
}

.sb-toggle-right {
    float: right;
}

.sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close {
    cursor: pointer;
}

img.mfp-img {
    padding: 0;
}

.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}


@media only screen and (min-width: 384px) {
    body {
        padding: 35px 0 60px;
    }

    body, .title, .thumbs {
        width: 343px;
    }

    /* .title {
        margin-left: auto;
        margin-right: auto;
    } */

    .thumbs {
        height: 1017px;
        /* margin: 0 auto; */
    }

    .thumbs a:hover > .captionx {
        height: 68px;
        padding-top: 45px;
    }
    
    
    .captionx {
        font-size: 12px;
        /* top: 113px; */
        top: 60px;
    }

    .imageresize {
        width: 171px;
        height: 113px;
    }
}

@media only screen and (min-width: 551px) {
    body {
        padding: 73px 0 100px;
    }

    body, .title, .thumbs {
        width: 513px;
    }

    .thumbs {
        height: 678px;
    }

    .sb-slidebar img {
        margin: 68px 0 4px;
    }
}

@media only screen and (min-width: 641px) {
    img.mfp-img {
        padding: 40px 0;
    }
}

@media only screen and (min-width: 1024px) {
    body {
        padding: 102px 0 120px;
    }

    .title {
        font-size: 14px;
    }

    .burger {
        width: 12px;
        margin-top: -13px;
        padding-top: 15px;
    }

    .thumbs {
        height: 678px;
    }

    .sb-slidebar img {
        margin: 89px 0 4px;
    }
}
