/* HTML5 DECLARATIONS */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
dialog {
    display: block
}

audio[controls],
canvas,
video {
    display: inline-block;
    *display: inline;
    zoom: 1
}


/* BASE */

html {
    height: 100%;
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%
}


/* Force scrollbar in non-IE and Remove iOS text size adjust without disabling user zoom */

body {
    margin: 0;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    color: #666
}


/* Improve default text rendering, handling of kerning pairs and ligatures */


/* DEFAULT FONT SETTINGS */


/* 16px base font size with 150% (24px) friendly, unitless line height and margin for vertical rhythm */


/* Font-size percentage is based on 16px browser default size */

body,
button,
input,
select,
textarea {
    font: 100% 'Lato', sans-serif;
    *font-size: 1em;
    color: #555
}


/* IE7 and older can't resize px based text */

p,
blockquote,
q,
pre,
address,
hr,
code,
samp,
dl,
ol,
ul,
form,
table,
fieldset,
menu,
img {
    margin: 0 0 1.5em;
    padding: 0;
    text-align: justify;
}


/* TYPOGRAPHY */


/* Composed to a scale of 12px, 14px, 16px, 18px, 21px, 24px, 36px, 48px, 60px and 72px */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    color: #444;
}

h1 {
    margin: 0;
    font-size: 3.75em;
    line-height: 1.2em;
    margin-bottom: 0.4em
}


/* 60px / 72px */

h2 {
    margin: 0;
    font-size: 3em;
    line-height: 1em;
    margin-bottom: 0.5em
}


/* 48px / 48px */

h3 {
    margin: 0;
    font-size: 2.25em;
    line-height: 1.3333333333333333333333333333333em;
    margin-bottom: 0.6667em
}


/* 36px / 48px */

h4 {
    margin: 0;
    font-size: 1.5em;
    line-height: 1em;
    margin-bottom: 1em
}


/* 24px / 24px */

h5 {
    margin: 0;
    font-size: 1.3125em;
    line-height: 1.1428571428571428571428571428571em;
    margin-bottom: 1.1428571428571428571428571428571em
}


/* 21px / 24px */

h6 {
    margin: 0;
    font-size: 1.125em;
    line-height: 1.3333333333333333333333333333333em;
    margin-bottom: 1.3333333333333333333333333333333em
}


/* 18px / 24px */

p,
ul,
blockquote,
pre,
td,
th,
label {
    margin: 0;
    font-size: 1em;
    line-height: 1.5em;
    margin-bottom: 1.5em;
    text-align: justify;
}


/* 16px / 24px */

small,
p.small {
    margin: 0;
    font-size: 0.875em;
    line-height: 1.7142857142857142857142857142857em;
    margin-bottom: 1.7142857142857142857142857142857em;
    text-align: justify;
}


/* 14px / 24px */


/* CODE */

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word
}


/* Allow line wrapping of 'pre' */

pre,
code,
kbd,
samp {
    font-size: 1em;
    line-height: 1.5em;
    margin-bottom: 1.5em;
    font-family: Menlo, Consolas, 'DejaVu Sans Mono', Monaco, monospace
}


/* TABLES */

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1.5em
}

th {
    text-align: left
}

tr,
th,
td {
    padding-right: 1.5em;
    border-bottom: 0 solid #333
}


/* FORMS */

form {
    margin: 0
}

fieldset {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto;
    vertical-align: top
}

legend {
    *margin-left: -.75em
}

button,
input,
select,
textarea {
    vertical-align: baseline;
    *vertical-align: middle
}


/* IE7 and older */

button,
input {
    line-height: normal;
    *overflow: visible
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}


/* QUOTES */

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none
}

blockquote,
q,
cite {
    font-style: italic
}

blockquote {
    padding-left: 1.5em;
    border-left: 3px solid #ccc
}

blockquote > p {
    padding: 0
}


/* LISTS */

ul,
ol {
    list-style-position: inside;
    padding: 0
}

li ul,
li ol {
    margin: 0 1.5em
}

dl dd {
    margin-left: 1.5em
}

dt {
    font-family: Futura, "Century Gothic", AppleGothic, sans-serif
}


/* HYPERLINKS */

a {
    text-decoration: none;
    color: #4595BD;
    -webkit-transition: color 0.1s linear, border 0.1s linear, opacity 0.1s linear, background-color 0.1s linear;
    -moz-transition: color 0.1s linear, border 0.1s linear, opacity 0.1s linear, background-color 0.1s linear;
    -ms-transition: color 0.1s linear, border 0.1s linear, opacity 0.1s linear, background-color 0.1s linear;
    -o-transition: color 0.1s linear, border 0.1s linear, opacity 0.1s linear, background-color 0.1s linear;
    transition: color 0.1s linear, border 0.1s linear, opacity 0.1s linear, background-color 0.1s linear;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
    border: none;
    color: #137CBD
}


/* MEDIA */

figure {
    margin: 0
}

img,
object,
embed,
video {
    max-width: 100%;
    _width: 100%
}


/* Fluid images */

img {
    border: 0;
    -ms-interpolation-mode: bicubic
}


/* Improve IE's resizing of images */

svg:not(:root) {
    overflow: hidden
}


/* Correct IE9 overflow */


/* ABBREVIATION */

abbr[title],
dfn[title] {
    border-bottom: 1px dotted #333;
    cursor: help
}


/* MARKED/INSERTED/DELETED AND SELECTED TEXT */

ins,
mark {
    text-decoration: none
}

mark {
    background: #c47529
}

ins {
    background: #d49855
}

del {
    text-decoration: line-through
}

::-moz-selection {
    background: #4595BD;
    color: #fff;
    text-shadow: none
}


/* selected text */

::selection {
    background: #4595BD;
    color: #fff;
    text-shadow: none
}


/* selected text */


/* OTHERS */

strong,
b,
dt {
    font-weight: bold
}

dfn {
    font-style: italic
}

var,
address {
    font-style: normal
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}


/* Position 'sub' and 'sup' without affecting line-height */

sup {
    top: -0.5em
}


/* Move superscripted text up */

sub {
    bottom: -0.25em
}


/* Move subscripted text down */

span.amp {
    font-family: Adobe Caslon Pro, Baskerville, "Goudy Old Style", "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 110%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}


/* Best available ampersand */


/* MICRO CLEARFIX HACK */

.cf:before,
.cf:after {
    content: "";
    display: table
}


/* For modern browsers */

.cf:after {
    clear: both
}

.cf {
    zoom: 1
}


/* For IE 6/7 (trigger hasLayout) */


/* DEFAULT MOBILE STYLE */

body {
    width: 92%;
    margin: 0 auto
}


/* Center page without wrapper */


/* column grid */

.g1,
.g2,
.g3 {
    display: block;
    position: relative;
    margin-left: 1%;
    margin-right: 1%
}


/* 1 column grid */

.g1,
.g2,
.g3 {
    width: 98.0%
}


/* Wrapper */

.main {
    padding-top: 50px;
    max-width: 1220px;
}

.wrapper {
    margin: 0 auto;
}


/* Utility */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.clear {
    clear: both;
}

.bg-fixed {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.clearfix:after {
    content: ".";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.no-list {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.break {
    padding-bottom: 1em;
    clear: both;
}


/* Backgrounds */

.bg-1 {
    background-image: url('../images/floor.jpg');
}


/* Header */

#header {
    margin-bottom: 2em;
}

#header #logo {
    text-align: center;
    display: none;
}

#header h4 {
    margin-bottom: 0px;
}

#header .visible {
    opacity: 1;
}


/* Tabs */

.etabs {
    margin: 0;
    padding: 0px;
    text-align: center;
}

.etabs li span {
    display: none;
}

#tab-data-wrap {
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #f1f1f1;
    box-shadow: 0px 6px #137CBD;
    border-radius: 0px 0px 4px 4px;
}

.tab {
    display: inline-block;
    zoom: 1;
    *display: inline;
    background: #fff;
    border: solid 1px #f1f1f1;
    border-bottom: 0px;
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    margin-right: 10px;
}

.tab a {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    padding: 2px 10px;
    outline: none;
    color: #888;
    text-decoration: none;
}

.tab a:hover {
    text-decoration: none;
}

.tab.active {
    background: #fff;
    position: relative;
    top: 1px;
    border-color: #f1f1f1;
    border-bottom: none;
}

.tab a.active {
    padding-top: 10px;
    color: #4595BD;
}

.tab a i {
    font-size: 16px;
    margin-right: 0px;
}


/* INFO */

.info-wrap {}


/* Photo */

.photo {
    float: left;
    height: 240px;
    width: 200px;
    margin-right: 20px;
    overflow: hidden;
}

.photo img {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
}

.info {}

.info h2,
#header h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: .3em;
}

.info h4,
#header h4 {
    color: #999;
}


/* Contact */

.main-links {}

.main-links ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

.main-links ul li {
    border-bottom: 1px solid #F1F1F1;
    padding: 10px 0;
}

.main-links ul li a {
    font-size: 14px;
}


/* Contact-info */

.contact-info {}

.contact-info i {}


/* Icon Styling */

.contact-info i {
    color: #333;
    font-size: 46px;
}


/* Item Box */

.item-box {
    padding: 6px 6px 6px 10px;
    border: 1px solid #f1f1f1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.item-box i {
    float: left;
    margin-right: 12px;
}

.item-box:hover {
    background-color: #D8D6D6;
    color: #137CBD;
}

.item-box i.icon-envelope {}

.item-box .item-data {
    margin-top: 6px;
}

.item-box .item-data h3 {
    line-height: 1em;
    margin: 3px 0px 0px 0px;
    font-size: 1em;
}

.item-box .item-data p {
    margin: 0px;
    font-size: 12px;
    color: #999;
}

.text-center {
    text-align: center;
    font-weight: bold;
}


/* WorkExperience */

.work li {
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 2em;
}

.work li span {
    float: right;
}

.work li h5 {
    float: left;
}

.work li p {
    clear: both;
}

.simple li {
    border-bottom: none;
    margin-bottom: 0;
}

.simple,
.summary {
    list-style-image: url('../images/pencil.png');
}


/* Portfolio */

.image {
    position: relative;
}

.image img {
    margin: 0px;
    width: 100%;
}

.hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
    margin-bottom: 15px;
}

.hovereffect a {
    color: #fff;
}

.hovereffect .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    background-color: rgba(75, 75, 75, 0.52);
    -webkit-transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
    transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
}

.hovereffect:hover .overlay {
    background-color: rgba(48, 152, 157, 0.4);
}

.hovereffect img {
    display: block;
    position: relative;
    vertical-align: middle;
    margin: 0;
    height: 330px;
}

.hovereffect h2 {
    text-transform: uppercase;
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    -webkit-transform: translateY(45px);
    -ms-transform: translateY(45px);
    transform: translateY(45px);
    -webkit-transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
    transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
}

.hovereffect:hover h2 {
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transform: translateY(5px);
}

.hovereffect:focus h2 {
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transform: translateY(5px);
}

.hovereffect a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #fff;
    background-color: transparent;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
    transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
    font-weight: normal;
    margin: -52px 0 0 0;
    padding: 35% 30%;
}

.hovereffect:hover a.info {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.hovereffect a.info:hover {
    box-shadow: 0 0 5px #fff;
}

.hovereffect:focus a.info {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.hovereffect a.info:focus {
    box-shadow: 0 0 5px #fff;
}


/* Icon Box */

.sny-icon {
    display: block;
    margin-bottom: 1em;
    text-align: center;
}

.sny-icon i {
    display: inline-block;
    font-size: 60px;
}

.sny-icon-content {
    text-align: center;
}

.sny-icon-content h4 {
    margin-bottom: 6px;
}

.sny-icon-content p {
    margin-bottom: 0px;
    text-align: center;
}


/* Buttons */

.btn {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 14px 20px;
    background: #4595BD;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif line-height: 1;
    *display: inline;
    *zoom: 1;
    position: relative;
    text-transform: uppercase;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.btn:hover {
    color: #ccc;
}


/* Labels */

.label {
    display: inline;
    padding: .25em .6em;
    font-size: 75%;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.label-info {
    background-color: #5bc0de;
}

.label-info[href]:hover,
.label-info[href]:focus {
    background-color: #31b0d5;
}

.label[href]:hover,
.label[href]:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.label-default {
    background-color: #999999;
}

.label-default[href]:hover,
.label-default[href]:focus {
    background-color: #808080;
}

.label-danger {
    background-color: #d9534f;
}

.label-danger[href]:hover,
.label-danger[href]:focus {
    background-color: #c9302c;
}

.label-success {
    background-color: #5cb85c;
}

.label-success[href]:hover,
.label-success[href]:focus {
    background-color: #449d44;
}

.label-warning {
    background-color: #f0ad4e;
}

.label-warning[href]:hover,
.label-warning[href]:focus {
    background-color: #ec971f;
}


/* Meters */

.meter {
    height: 24px;
    /* Can be anything */
    position: relative;
    border: 1px solid #f1f1f1;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 1em;
}

.meter > span {
    display: block;
    height: 100%;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.meter > span > span {
    margin-left: 4px;
    color: #fff;
}

.meter > span:after,
.animate > span > span {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, rgba(255, 255, 255, .2)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.75, rgba(255, 255, 255, .2)), color-stop(.75, transparent), to(transparent));
    background-image: -moz-linear-gradient( -45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    z-index: 1;
    -webkit-background-size: 50px 50px;
    -moz-background-size: 50px 50px;
    -webkit-animation: move 2s linear infinite;
    -webkit-border-top-right-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    -moz-border-radius-topright: 8px;
    -moz-border-radius-bottomright: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    -webkit-border-top-left-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}

.animate > span:after {
    display: none;
}

@-webkit-keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.emerald > span {
    background-color: #2ecc71;
}

.carrot > span {
    background-color: #e67e22;
}

.wisteria > span {
    background-color: #8e44ad;
}

.sunflower > span {
    background-color: #f1c40f;
}

.midnight > span {
    background-color: #2c3e50;
}

.pomengrate > span {
    background-color: #137CBD;
}

.asbestos > span {
    background-color: #7f8c8d;
}

.nostripes > span > span,
.nostripes > span:after {
    -webkit-animation: none;
    background-image: none;
}


/* Footer */

footer {
    text-align: center;
    margin-top: 2em;
    padding: 10px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0px 4px #ccc;
    color: #333;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

footer p {
    margin-bottom: 0px;
    text-align: center;
}


/* media Queries

FOLDING FLUID GRID
< 767px         - 1-Column Fluid Grid
768px - 1023px  - 2-Column Fluid Grid
> 1024px            - 3-Column Fluid Grid
Change widths as necessary
------------------------------------------- */


/* MOBILE PORTRAIT */

@media only screen and (min-width: 320px) {
    body {}
}


/* MOBILE LANDSCAPE */

@media only screen and (min-width: 480px) {
    body {}
}


/* SMALL TABLET */

@media only screen and (min-width: 600px) {
    body {}
    .etabs >li span {
        display: block;
    }
}


/* TABLET/NETBOOK */

@media only screen and (min-width: 768px) {
    body {}
    /* Sidebar */
    .sidebar {
        padding-left: 20px;
        border-left: 1px solid #f1f1f1;
    }
    /* COLUMN GRID */
    .g1,
    .g2,
    .g3 {
        display: inline;
        float: left
    }
    /* 2 COLUMN GRID */
    .g1 {
        width: 48.0%
    }
    .g2 {
        width: 48.0%
    }
    .g3 {
        width: 98.0%
    }
}


/* LANDSCAPE TABLET/NETBOOK/LAPTOP */

@media only screen and (min-width: 1024px) {
    body {}
    .etabs >li span {
        display: inline;
    }
    .tab a i {
        font-size: 16px;
        margin-right: 6px;
    }
    .tab a {
        padding: 10px 40px 10px 40px;
    }
    .tab a.active {
        padding-top: 20px;
    }
    /* 3 COLUMN GRID */
    .g1 {
        width: 31.333%;
        /*Temporary fix for spacing*/
        padding-top: 10px;
    }
    /* 3 COLUMN GRID */
    .img-g1 {
        width: 31.33%;
        /*Temporary fix for spacing*/
        padding-top: 10px;
    }
    .g2 {
        width: 64.667%;
    }
    .g3 {
        width: 98.0%
    }
}

@media only screen and (min-width: 1280px) {
    /* DESKTOP */
    body {}
}


/* WIDESCREEN */


/* Increased body size for legibility */

@media only screen and (min-width: 1400px) {
    body {}
    /* 18.5px / 28px */
}


/* PRINT */

@media print {
    * {
        background: transparent !important;
        color: black !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important
    }
    /* Black prints faster */
    a,
    a:visited {
        color: #444 !important;
        text-decoration: underline
    }
    a[href]:after {
        content: " (" attr(href) ")"
    }
    abbr[title]:after {
        content: " (" attr(title) ")"
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: ""
    }
    /* Don't print links for images, javascript or internal links */
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    /* Repeat header row at top of each printed page */
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3
    }
    h2,
    h3 {
        page-break-after: avoid
    }
}
