*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    height: 100%;
    box-shadow: 0px 0px 130px 36px #000 inset;
    -webkit-font-smoothing: antialiased;
}
::selection {
    color: #111;
    background: #ddd;
}
::-moz-selection {
    color: #111;
    background: #ddd;
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #888;
    background: #DDD;
    background: url(../img/background/dark_wood_x.jpg);
}
.portText {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2em;
    text-align: left;
    font-size: 1.5vh
}
.book {
    z-index: 3;
    width: 40%;
    height: 90%;
    max-height: 800px;
    box-shadow: 3px 1px 9px #000;
}
.content-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
#page-corner {
    z-index: 21;
    position: absolute;
    height: 50px;
    right: 0px;
    bottom: 0px;
    -webkit-backface-visibility: hidden;
    -moz-transition: height 0.2s ease-out;
    -webkit-transition: height 0.2s ease-out;
    -o-transition: height 0.2s ease-out;
    transition: height 0.2s ease-out;
}
#page-corner:hover {
    height: 70px;
}

/******  Small Book Intro *******/

.intro-wrapper {
    position: absolute;
    display: block;
    height: 200px;
    width: 320px;
    right: 5px;
    z-index: 1;
}
.intro-content {
    color: #FFF;
    opacity: .8;
}
.intro-content h1 {
    font-size: 2.2em;
    opacity: .9;
    font-weight: lighter;
    line-height: 5px;
    font-family: "Alegreya Sans", Arial, Helvetica, sans-serif;
    font-style: italic;
    margin: 0px 0px 40px 0px;
}
.intro-content p {
    opacity: .5;
    margin-top: 15px;
    color: #FFF;
}
.intro-content a {
    text-decoration: underline;
    color: #FFF;
}
#aline {
    display: block;
    height: 1px;
    width: 400px;
    background: #FFF;
    margin-left: -200px;
    margin-top: -5px;
    opacity: .2;
}

/* Cover Page Button */

.btn {
    font-family: inherit;
    background: none;
    cursor: pointer;
    padding: 4px 40px;
    line-height: 1.2em;
    display: inline-block;
    letter-spacing: 1px;
    position: relative;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 2px;
    opacity: .5;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.btn:after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 0;
    top: 50%;
    left: 50%;
    background: #fff;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.btn:hover,
.btn:active,
.btn:active:focus {
    color: #222;
    outline: none;
}
.btn:hover:after {
    height: 260%;
}
.btn:active:after {
    height: 400%;
}
#phone-menu {
    display: none;
}

/* Page 1 */

.container {
    padding: 40px;
}
.content-title {
    display: block;
    width: 100%;
    position: relative;
}

/* Title style 1 */

.content-title.title-1 {
    margin-top: 20px;
    margin-bottom: 50px;
}
.content-title.title-1:after {
    content: "";
    display: block;
    height: 6px;
    width: 100%;
    background-color: #FFF;
    position: absolute;
    top: 1em;
    margin-top: -3px;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    z-index: 0;
}
.content-title.title-1 h2 {
    font-size: 1.6em;
    font-family: 'Oswald', sans-serif;
    color: #333;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    background: #fff;
    display: table;
    margin: auto;
    padding: 0px 36px;
}
.content-title.title-1 h2>.char1 {
    font-size: 1em;
    font-weight: 100;
}

/* Title style 2 */

.content-title.title-2 h2 {
    position: relative;
    z-index: 1;
    background: #fff;
    display: table;
    padding: 0px 20px 0px 10px;
    /*    font-family: 'Poppins', sans-serif;*/
    font-size: 10px;
}
.content-title.title-2:after {
    content: "";
    display: block;
    height: 6px;
    width: 100%;
    background-color: #FFF;
    position: absolute;
    top: 2em;
    margin-top: -3px;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    z-index: 0;
}
.content-title.title-2 {
    text-align: left;
}

/* Title style 3 */

.content-title.title-3 {
    margin-top: 30px;
    margin-bottom: 20px;
}
.content-title.title-3:after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background-color: #DDD;
    position: absolute;
    top: .6em;
    z-index: 0;
}
.content-title.title-3 h3 {
    font-size: 1.2em;
    font-family: 'Oswald', sans-serif;
    color: #333;
    position: relative;
    z-index: 1;
    background: #fff;
    display: table;
    padding: 0px 10px;
    text-transform: uppercase;
}

/* Timeline style */

.book-timeline {
    list-style: none;
    position: relative;
    -webkit-padding-start: 0px;
    padding: 0px 10px 0px 10px;
    margin-bottom: 80px;
}
.book-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #ddd;
    left: 23%;
    margin-top: 10px;
    margin-left: 9px;
}
.book-timeline > li {
    position: relative;
}
.book-timeline > li .time-data {
    display: block;
    position: absolute;
    color: #999;
    font-size: 1.1em;
    font-family: 'Marvel', Verdana, Geneva, sans-serif;
    padding: 4px 8px;
    border: 1px dashed #ddd;
    border-radius: 4px;
}
.book-timeline > li .time-dot {
    display: block;
    height: 8px;
    width: 8px;
    margin-top: 10px;
    padding-right: 3px;
    background-color: #FFF;
    position: absolute;
    left: 23%;
    border-radius: 50%;
    border: 1px solid #DDD;
}
.book-timeline > li .time-block {
    margin: 0 0 30px 30%;
    position: relative;
}
.book-timeline > li .time-block h4 {
    font-weight: 600;
    -webkit-margin-after: 0em;
    -webkit-margin-after: .6em;
    color: #666;
}
.book-timeline > li .time-block h5 {
    margin-top: 0px;
    color: #aaa;
    margin-bottom: 0px;
}
.book-timeline > li .time-block h4 span {
    font-size: .9em;
    margin-left: 10px;
    color: #999;
}

/* Page 2 */

.skill-wrapper {
    margin-bottom: 50px;
}
.skill-units {
    padding: 10px 20px 20px 20px;
}
.skill-units span {
    font-size: 1em;
    font-weight: 600;
    color: #666;
}
.progress-bar {
    display: block;
    height: 3px;
    width: 100%;
    background: #eee;
    margin-top: 5px;
}
.progress-bar .bar-percent {
    display: block;
    width: 6%;
    height: 100%;
    background-color: #bbb;
}
.some-intro {
    padding: 0 20px 20px 20px;
}
.download-wrapper {
    width: 100%;
    padding: 10px 0 50px 0;
    text-align: center;
}
.btn.btn-2 {
    border: none;
    font-size: 1em;
    padding: 5px 30px;
    border: 1px solid #888;
    color: #333;
    border-radius: 2px;
    opacity: .6;
    overflow: hidden;
    margin: auto;
}
.btn.btn-2:after {
    background: #999;
}
.btn.btn-2:hover,
.btn.btn-2:active,
.btn.btn-2:active:focus {
    opacity: .7;
    color: #fff;
    outline: none;
}
.btn.btn-2:hover:after {
    height: 360%;
}
.btn.btn-2:active:after {
    height: 460%;
}

/* Services */

.services-wrapper .services-item {
    display: table;
    padding: 15px 30px 15px 10px;
}
.services-wrapper .services-item i {
    float: left;
    display: block;
    width: 16%;
    font-size: 2.5em;
    text-align: center;
    color: #bbb;
}
.services-wrapper .services-item p {
    display: block;
    width: 80%;
    float: right;
    -webkit-margin-before: 0;
    color: #888;
}
.services-wrapper .services-item p>span {
    color: #666;
    font-weight: 600;
    line-height: 1.6;
}

/* Testimonials */

.testimonials-wrapper .testimonials-item {
    display: table;
    margin-bottom: 36px;
    margin-left: 10px;
    margin-right: 30px;
    border-bottom: dashed #DDD 1px;
}
.testimonials-wrapper .testimonials-item img {
    float: left;
    display: block;
    width: 18%;
    text-align: center;
    margin-top: 5px;
    margin-left: 10px;
}
.testimonial {
    display: block;
    width: 76%;
    float: right;
}
.testimonial p {
    margin-top: 0;
}
.testimonial h4 {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}
.testimonial h4>span {
    color: #888;
    font-size: .9em;
    font-style: italic;
}

/* Clients */

ul.logo-slider {
    display: table;
    width: 100%;
    height: auto;
    padding-bottom: 20px;
}
ul.logo-slider li {
    width: 50%;
    display: block;
    float: left;
    margin-bottom: 10px;
}
ul.logo-slider li > img {
    display: block;
    position: relative;
    width: auto;
    max-width: 100%;
    height: auto;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    opacity: .68;
    -webkit-filter: grayscale(1);
}
ul.logo-slider li > img:hover {
    opacity: 1;
    -webkit-filter: grayscale(0);
}

/**** Isotope Filtering ****/

.isotope-item {
    z-index: 2;
}
.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}
.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -ms-transition-property: -ms-transform, opacity;
    -o-transition-property: -o-transform, opacity;
    transition-property: transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
    -ms-transition-duration: 0s;
    -o-transition-duration: 0s;
    transition-duration: 0s;
}

/* Portfolio */

#portfolio-container {
    width: 100%;
    height: auto;
    margin: auto;
    display: table;
    margin-bottom: 50px;
}
.portfolio-filters {
    padding-left: 0%;
    display: table;
    margin: auto;
    width: auto;
    margin-bottom: 30px;
}
.portfolio-filters li {
    list-style: none;
    float: left;
    text-transform: uppercase;
    margin-right: 20px;
    cursor: pointer;
    color: #888;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.portfolio-filters li:hover {
    color: #333;
}
.portfolio-filters li.active {
    color: #666;
    text-decoration: underline;
}
#portfolio-container .portfolio-item {
    width: 50%;
    float: left;
    max-height: 180px;
    position: relative;
    overflow: hidden;
}
.portfolio-item {
    padding: 5px
}
.portfolio-item .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    visibility: hidden;
    color: #fff;
    background: #111;
    opacity: 0;
    padding: 20px;
    padding-top: 160px;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.portfolio-item .mask:hover {
    padding-top: 20px;
}
.portfolio-item .mask > a > h4 {
    margin-top: 0px;
    margin-bottom: 10px;
    color: #fff;
}
.portfolio-item .mask > a > p {
    color: #ccc;
    line-height: 1.2em;
}
.portfolio-item .mask > a {
    color: #CCC;
    font-size: .9em;
    opacity: .7;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.portfolio-item .mask > a.fancybox,
.portfolio-item .mask > a.fancybox-media {
    display: block;
    cursor: crosshair;
    width: 100%;
    height: 80px;
    overflow: hidden;
}
.portfolio-item .mask > a:hover {
    opacity: 1;
}
.portfolio-item .mask > a.more:hover {
    text-decoration: underline;
}
.portfolio-item .mask > a > i {
    font-size: .9em;
    margin-right: 5px;
}
#portfolio-container .portfolio-item img {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
#portfolio-container .portfolio-item:hover img {
    -webkit-transform: rotate(9deg) scale(1.2, 1.2);
}
#portfolio-container .portfolio-item:hover .mask {
    visibility: visible;
    opacity: .8;
}

/* Blog Archive */

.blogcate-list {
    width: 40%;
    margin-left: 5%;
    float: left;
}
.blogcate-list h3 {
    text-transform: uppercase;
    color: #777;
    font-weight: 100;
}
.blogcate-list ul {
    list-style-type: circle;
    color: #aaa;
    padding-left: 20px;
}
.blogcate-list ul li {
    font-size: .9em;
    line-height: 1.5em;
}

/* Blogs */

.blog-wrapper {
    width: 90%;
    margin: auto;
}
.blog-item {
    margin-bottom: 50px;
}
.blog-item img {
    display: block;
    position: relative;
    width: auto;
    max-width: 100%;
    height: auto;
}
.blog-item a {
    color: #666;
}
.blog-item h3 {
    margin-bottom: .4em;
}
.blog-item .blog-tags {
    font-size: .9em;
    color: #999;
}
.blog-item .blog-tags span {
    margin-right: 25px;
    padding-left: 8px;
    position: relative;
}
.blog-item .blog-tags span:before {
    content: "|";
    position: absolute;
    left: -2px;
}
.blog-item a.read-more {
    display: block;
    position: relative;
    font-style: italic;
    color: #999;
    font-size: .9em;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.blog-item a:hover {
    text-decoration: underline;
    color: #666;
}
.blog-item a.read-more:after {
    content: '';
    position: absolute;
    right: 0%;
    height: 1px;
    width: 75%;
    background: #eee;
    margin-top: 10px;
    z-index: 1;
}

/* Contact info */

#contact-info {
    margin-left: 5%;
    position: relative;
    font-size: 14px;
}
#contact-info:before {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #eee;
}
#contact-info tbody {
    margin-left: 10px;
}
table > tbody > tr {
    line-height: 2em;
}
table > tbody > tr > td {
    color: #888;
}
table > tbody > tr > td.td-title {
    width: 30%;
    color: #999;
}

/* Social icons */

ul.social {
    list-style: none;
    padding-left: 0px;
    display: table;
    margin-left: 5%;
    margin-top: 25px;
}
ul.social li {
    float: left;
    display: block;
    width: 2.5em;
}
ul.social a {
    width: 100%;
    height: 100%;
}
ul.social li i {
    font-size: 1.4em;
    line-height: 2em;
    color: #bbb;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
ul.social li i.fa-facebook:hover {
    color: #3c5fac;
}
ul.social li i.fa-twitter:hover {
    color: #5ec3df;
}
ul.social li i.fa-flickr:hover {
    color: #FF0084;
}
ul.social li i.fa-rrs:hover {
    color: #ff9900;
}
ul.social li i.fa-dribbble:hover {
    color: #EA4C89;
}
ul.social li i.fa-linkedin:hover {
    color: #2089b5;
}
ul.social li i.fa-google-plus:hover {
    color: #c63d2d;
}
ul.social li i.fa-youtube:hover {
    color: #c8312b;
}
ul.social li i.fa-pinterest:hover {
    color: #cb2027;
}
ul.social li i.fa-tumblr:hover {
    color: #2C4762;
}
ul.social li i.fa-github:hover {
    color: #000;
}
ul.social li i.fa-instagram:hover {
    color: #3f729b;
}
#map-wrapper {
    height: 100%;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    -moz-transition: opacity .5s;
    -webkit-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.fullpage-img {
    height: 100%;
    width: 100%;
}
.fullpage-img img {
    max-width: 100%;
}

/* Contact form */

h5.title-2.xxl {
    padding-bottom: 35px;
}
h5.title-2.xxl:before {
    content: '';
    position: absolute;
    left: -1%;
    height: 1px;
    width: 76%;
    background: #eee;
    margin-top: 8px;
    z-index: 1;
}
.contact-form {
    display: block;
    margin-left: 5%;
    margin-top: 30px;
    padding-bottom: 60px;
}
.contact-form input,
.contact-form textarea {
    padding: 10px;
    width: 95%;
    border: 1px solid #DDD;
}
.contact-form > p > label > input {
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.contact-form > p > label > input:focus,
.contact-form > p > label > textarea:focus {
    border: 1px solid #aaa;
}
.contact-form > p > label > input.error {
    border-color: #C00;
}
.contact-form > p > label >label.error {
    display: block;
    font-size: .8em;
    color: #900;
}
.btn.btn-3 {
    font-size: 1em;
    padding: 10px 30px;
    border: 1px solid #999;
    color: #333;
    border-radius: 2px;
    opacity: .6;
    overflow: hidden;
    background-color: #EEE;
    margin: auto;
}
.btn.btn-3:after {
    background: #999;
}
.btn.btn-3:hover,
.btn.btn-3:active,
.btn.btn-3:active:focus {
    opacity: .8;
    color: #fff;
    outline: none;
    background-color: #AAA;
}
.btn.btn-3:hover:after {
    height: 360%;
}
.btn.btn-3:active:after {
    height: 460%;
    position: absolute
}

/* Alert */

.alert {
    display: none;
    position: absolute;
    z-index: 9900;
    top: 70%;
    left: 50%;
    margin: -2em -2em;
    font-size: 1em;
    line-height: 4em;
    width: 4em;
    text-align: center;
    color: #fff;
    background: #000;
    background: rgba(0, 0, 0, .4);
    border-radius: 50%;
}
.alert:before {
    content: "Done";
}
.alert.error {
    background: #F30;
    background: rgba(180, 20, 0, .6);
}
.alert.error:before {
    content: "error";
}
.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 110px;
    height: 50px;
    margin-top: -25px;
    margin-left: -55px;
    overflow: hidden;
    z-index: 1104;
    display: none;
    background-color: #000;
    background-color: rgba(0, 0, 0, .8);
    border-radius: 4px;
}
img.ajax-loader {
    display: none;
    float: left;
    margin-top: 34px;
}
#resize-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 160px;
    margin-top: -80px;
    margin-left: -200px;
    z-index: 10000;
    display: none;
    text-align: center;
    background-color: #000;
    background-color: rgba(0, 0, 0, .36);
    border-radius: 4px;
    color: #fff;
}
.square {
    width: 150px;
    height: 150px;
    overflow: hidden;
}
.rightPic {
    width: 100%;
    height: auto;
}
