/*
Theme Name: Christina Spyropoulou Photography theme
Author: in8
Author Email: info@in8.gr
Description: Custom Theme for christinaspyropoulou.com
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: christinaspyropoulou-theme
Domain Path: /languages/
Tags:

Custom theme created for christinaspyropoulou.com website.

*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
html {
    overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
    -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
    background: #FFFFFF;
    text-align: left;
    font-size: 14px;
    color: #4b4b4d;
    font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
caption, th, td {
    font-weight: normal;
    text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
a:focus,
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
    outline: 0;
}
a img {
    border: 0;
}
/* Headings */
h1 {
    font-size: 185%;
    font-weight: normal;
    line-height: 1.25em;
}
h2 {
    font-size: 20px;
    line-height: 1.25em;
    margin: 1.3em 0 0.4em;
}
h3 {
    font-size: 20px;
    font-weight: bold;
    color: #622280;
    line-height: 1.25em;
    margin: -2px 0 10px;
}
h5, h6 {
    color: #000;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1.2em;
}
h5 {
    font-size: 14px;
    padding: 8px 0;
}
h6 {
    font-size: 16px;
    padding: 10px 0 16px;
}
h1.entry-title {
    font-size: 18px;
    color: #4b4b4d;
    text-transform: uppercase;
    padding: 48px 0;
}
h1.entry-title a{
    display: block;
    color: #9c9e9f;
    margin-bottom: 12px;
}
h1.entry-title a:hover{
    color: #4b4b4d;
}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

/* Text elements */
p {
    font-style: normal;
    line-height: 1.4em;
    margin: 0 0 15px;
}
ol {
    list-style: decimal;
}
dt {
    font-weight: bold;
}
dd {
    margin: 0 1.5em 1.5em;
}
b, strong {
    font-weight: bold;
}
dfn, cite, em, i {
    font-style: italic;
    line-height: 1.4em;
}
blockquote {
    margin: 0 1.5em;
}
address {
    margin: 0 0 1.5em;
}
pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}
code, kbd, tt, var {
    font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
mark, ins {
    text-decoration: none;
}
sup,sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    bottom: 1ex;
}
sub {
    top: .5ex;
}
small {
    font-size: 75%;
}
big {
    font-size: 125%;
}
figure {
    margin: 0;
}
table {
    margin: 0 0 1.5em;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.9em;
}
th {
    font-weight: bold;
}
img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}
li {
    list-style: none inside;
}
button,input,select,textarea {
    font-size: 100%; /* Corrects font size not being inherited in all browsers */
    margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline; /* Improves appearance and consistency in all browsers */
    *vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,input {
    line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}

/* #Forms
================================================== */
input[type="text"], 
input[type="number"],
input[type="password"],
input[type="email"],
input[type="tel"],
textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #b3b3b3;
    padding: 6px;
    outline: none;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    font: 13px "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #555;
    width: 100%;
    margin: 0;
    max-width: 100%;
    display: block;
    background: #fff; 
    transition: border-color 0.2s linear, box-shadow 0.2s ease;
    -webkit-transition: border-color 0.2s linear, box-shadow 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none; 
    appearance: none;
}
input[type="number"] {
    padding: 5px;
}
input[type="text"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
input[type="email"]:hover, 
input[type="tel"]:hover, 
textarea:hover {
    border-color: rgb(138, 137, 138);
    -webkit-box-shadow: rgba(55, 55, 55, 0) 0px 0px 0px 1px;
    box-shadow: rgba(55, 55, 55, 0) 0px 0px 0px 1px;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="email"]:focus, 
input[type="tel"]:focus, 
textarea:focus {
    border-color: rgb(138, 137, 138);
    color: #333;
}
input[type="checkbox"] {
    display: inline; }
label span,
legend span {
    font-weight: normal;
    font-size: 13px; }
textarea {
    width: 100%;
    overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
    vertical-align: top; /* Improves readability and alignment in all browsers */
}

/* #Tables
================================================== */

table th{font-weight:700;background:#fff;text-align:left}
table th,table td{padding:10px}
table td,table th{border:1px solid #DCDCDC}

/* #Misc
================================================== */
.hidden { display: none; }
.remove{ color: #404040; }
.relative { position: relative; }
.right { float:right; position: relative; }
.left { float: left; }
.center { text-align: center; }
.relative { position: relative; }
.align_right { text-align:right }
.align_left { text-align: left; }
.container div.mobile_only, span.mobile_only { display:none; }
.no_border { border: none !important; }

.button.alternate {
    background: #96bd0d;
}
.button.alternate:hover {
    background: #622280;
}

a.button:active, 
button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.action_button:active, 
input.action_button[type="submit"]:active, 
input.action_button[type="button"]:active {
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}

/* Links */
a, a:visited {
    color: #4b4b4d;outline: 0 none;text-decoration: none;
    -moz-transition:all 400ms; -o-transition:all 400ms; -webkit-transition:all 400ms;transition:all 400ms;
}
a:hover,a:focus,a:active {
    color: #808080;
}

/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
    /*margin-bottom: 0.2em;*/
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}

/* Clearing */
.clear {clear: both}
.clear:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.fllt {float: left}
.flrt {float: right}
.noborder{border:none!important;}
.rightLast, li.rightLast > a{border-right:none!important}
.bottomLast{border-bottom:none!important}
.bold{font-weight:bold}

/* #Menu
================================================== */
#header{padding-top: 28px;}
#mobile-header {
    display: none;
    background: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    z-index: 1001;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/* $Common styles ================================================= */
.shadow-bg{
    background: url("images/shadow-bg.png") repeat-x scroll #fff;
}

#mobile-header a span, .search-close {
    color: #404040;
    display: block;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
    padding-bottom: 8px;
    position: relative;
}
/* =Media
----------------------------------------------- */

.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 1em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 1.2% auto 0;
    max-width: 98%;
}
.wp-caption-text {
    text-align: center;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

/* Make sure embeds and iframes fit their containers */
embed,iframe,object {
    max-width: 100%;
}

/* Search widget */
.wrapper {
    margin: 0 auto;
    width: 960px;
}
.entry-header {
    position: relative;
    height: 636px;
}
.clearfix:before {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}

/*
* Layout
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/
/* Table of Contents
==================================================
    #Base 960 Grid
    #Tablet (Portrait)
    #Mobile (Portrait)
    #Mobile (Landscape)
    #Clearing 
    #Media Queries */

/* #Base 1200 Grid
================================================== */

.container { position: relative; width: 1200px; margin: 0 auto;}
.column, .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px;}
.row { margin-bottom: 20px; }


/* Nested Column Classes */ 
.column.alpha, .columns.alpha               { margin-left: 0; }
.column.omega, .columns.omega               { margin-right: 0; }

/* Base Grid */ 
.container .one.column                      { width: 55px;  }
.container .two.columns                     { width: 130px; }
.container .twohalf.columns                 { width: 160px; }
.container .three.columns                   { width: 205px; }
.container .four.columns                    { width: 280px; }
.container .five.columns                    { width: 355px; }
.container .six.columns                     { width: 430px; }
.container .seven.columns                   { width: 505px; }
.container .eight.columns                   { width: 580px; }
.container .nine.columns                    { width: 655px; }
.container .ten.columns                     { width: 730px; }
.container .eleven.columns                  { width: 805px; }
.container .twelve.columns                  { width: 880px; }
.container .thirteen.columns                { width: 955px; }
.container .fourteen.columns                { width: 1030px; }
.container .fifteen.columns                 { width: 1105px; }
.container .sixteen.columns                 { width: 1180px; }

.container .one-third.column                { width: 386px; }
.container .two-thirds.column               { width: 780px; }
.container .one-fifth.column                { width: 220px; }


/* Offsets */ 
.container .offset-by-one                   { padding-left: 75px;  }
.container .offset-by-two                   { padding-left: 150px; }
.container .offset-by-three                 { padding-left: 225px; }
.container .offset-by-four                  { padding-left: 300px; }
.container .offset-by-five                  { padding-left: 375px; }
.container .offset-by-six                   { padding-left: 450px; }
.container .offset-by-seven                 { padding-left: 525px; }
.container .offset-by-eight                 { padding-left: 600px; }
.container .offset-by-nine                  { padding-left: 675px; }
.container .offset-by-ten                   { padding-left: 750px; }
.container .offset-by-eleven                { padding-left: 825px; }
.container .offset-by-twelve                { padding-left: 900px; }
.container .offset-by-thirteen              { padding-left: 975px; }
.container .offset-by-fourteen              { padding-left: 1050px; }
.container .offset-by-fifteen               { padding-left: 1125px; }

.content {padding-top: 30px}
.main-content{padding: 18px 5px 0 0;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;font-weight: 300;}
.page .main-content{padding: 20px 35px 0 10px;}
.main-content p{line-height: 1.65em;}

/* #Base 960 Grid
================================================== */

@media only screen and (min-width: 960px) and (max-width: 1199px) {
    .container                                  { position: relative; width: 960px; margin: 0 auto; padding: 0; }
    .container .column,
    .container .columns                         { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
    .row                                        { margin-bottom: 20px; }

    /* Nested Column Classes */
    .column.alpha, .columns.alpha               { margin-left: 0; }
    .column.omega, .columns.omega               { margin-right: 0; }

    /* Base Grid */
    .container .one.column,
    .container .one.columns                     { width: 40px;  }
    .container .two.columns                     { width: 100px; }
    .container .twohalf.columns                 { width: 125px; }
    .container .three.columns                   { width: 160px; }
    .container .four.columns                    { width: 220px; }
    .container .five.columns                    { width: 280px; }
    .container .six.columns                     { width: 340px; }
    .container .seven.columns                   { width: 400px; }
    .container .eight.columns                   { width: 460px; }
    .container .nine.columns                    { width: 520px; }
    .container .ten.columns                     { width: 580px; }
    .container .eleven.columns                  { width: 640px; }
    .container .twelve.columns                  { width: 700px; }
    .container .thirteen.columns                { width: 760px; }
    .container .fourteen.columns                { width: 820px; }
    .container .fifteen.columns                 { width: 880px; }
    .container .sixteen.columns                 { width: 940px; }

    .container .one-third.column                { width: 300px; }
    .container .two-thirds.column               { width: 620px; }
    .container .one-fifth.column                { width: 172px; }

    /* Offsets */
    .container .offset-by-one                   { padding-left: 60px;  }
    .container .offset-by-two                   { padding-left: 120px; }
    .container .offset-by-three                 { padding-left: 180px; }
    .container .offset-by-four                  { padding-left: 240px; }
    .container .offset-by-five                  { padding-left: 300px; }
    .container .offset-by-six                   { padding-left: 360px; }
    .container .offset-by-seven                 { padding-left: 420px; }
    .container .offset-by-eight                 { padding-left: 480px; }
    .container .offset-by-nine                  { padding-left: 540px; }
    .container .offset-by-ten                   { padding-left: 600px; }
    .container .offset-by-eleven                { padding-left: 660px; }
    .container .offset-by-twelve                { padding-left: 720px; }
    .container .offset-by-thirteen              { padding-left: 780px; }
    .container .offset-by-fourteen              { padding-left: 840px; }
    .container .offset-by-fifteen               { padding-left: 900px; }
}


/* #Clearing
================================================== */

/* Self Clearing Goodness */
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

/* Use clearfix class on parent to clear nested columns,
or wrap each row of columns in a <div class="row"> */
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0; }
.row:after,
.clearfix:after {
    clear: both; }
.row,
.clearfix {
    zoom: 1; }

/* You can also use a <br class="clear" /> to clear columns */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

/* #Site Styles
================================================== */
.logo a {
    margin: 0;
    padding-top: 0px;
    display:block;
}

/* #Footer
================================================== */
.footer {
    border-top: 1px solid #b3b3b3;
    margin-top: 30px;
    color: #808080;
    font-size: 10px;
    line-height: 1.5em;
    padding: 12px 0 0;
}
.footer ul {
    list-style: none;
    padding:0;
    margin:0;
}
.footer li { 
    display: inline;
}
.footer a {
    color: #7b7c7e;
}
.footer a:hover {
    color: #4b4b4d;
}
.footer .omega {
    text-align: right;
}
.footer .omega div{
    float: right;
}
.footer .omega .textwidget{
    width: 100px;
}
.copyright{padding-bottom: 24px;}
#footerMenu {
    font-size: 14px;
    line-height: 1.7em;
    margin-right: 50px;
    text-transform: uppercase;
}
.page-404 {
    font-size: 1.2em;
    text-align: center;
}
.page-404 #intro-404 {
    font-size: 46px;
    font-weight: normal;
    line-height: 1.3em;
    padding: 82px 0 28px;
}
#intro-404-body{font-size: 1.2em}
#search-form-404 {
    margin: 40px auto 0;
    width: 40%;
    background: none repeat scroll 0 0 #fafafa;
    border-top: 1px solid #e7e7e7;
    padding: 50px 40px 20px;
}
#search-form-404 .search-form{
    float: none;
    width: 100%;
}
#search-form-404 .search-form .searchfield {
    height: 52px;
    padding: 6px 10px;
}
#search-form-404 .search-form .search-submit{right: 10px;top: 16px;}
.no-results{padding: 0 40px 0 10px;font-size: 1.1em}

/* #Contact form
================================================== */
#contact_inputs_wrapper {padding-top: 20px;}
#contact_inputs_wrapper .contact-submit {background: #808080;border: 1px solid #808080;color: #ffffff;cursor: pointer;font-size: 13px;letter-spacing: 1px;margin: 8px 0 0 70px;padding: 6px 42px;transition: color 300ms ease 0s, background-color 300ms ease 0s, opacity 300ms ease 0s;width: auto;}
#contact_inputs_wrapper .contact-submit:active,#contact_inputs_wrapper .contact-submit:hover{background: #545454;border-color: #545454}
#contact_inputs_wrapper label {color: #808080;display: block;float: left;font-size: 1.15em;margin-top: 6px;width: 70px;}
#contact_inputs_wrapper input, #contact_inputs_wrapper textarea {border: 1px solid #b3b3b3;margin: 5px 0 10px;padding: 3px;width: 402px}
#contact_inputs_wrapper input:focus, #contact_inputs_wrapper textarea:focus {-moz-box-shadow:3px 2px 4px rgba(0, 0, 0, 0.4); -webkit-box-shadow:3px 2px 4px rgba(0, 0, 0, 0.4); box-shadow: 3px 2px 4px rgba(0, 0, 0, 0.4)}
#contact_inputs_wrapper input{height: 34px}
#contact_inputs_wrapper textarea {height: 125px;margin-top: 3px;resize: none}

/* #Social icons
================================================== */
.social-icons {
    max-width: 980px;
    margin: 0 auto;
}

.icon {
    float: left;
    height: 0;
    margin: 0 0 0 4%;
    padding-bottom: 21%;
    position: relative;
    width: 21%;
}
.icon:last-of-type {
    margin-right: 0;
}
.icon a {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 4px;
    background-color: #4b4a4d;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.icon a:hover {
    background-color: #808080;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.icon--facebook a:hover {background-color: #3b5998;}
.icon--twitter a:hover {background-color: #00aced;}
.icon--linkedin a:hover {background-color: #007fb1;}
.icon--instagram a:hover {background-color: #5c3d2e;}
.icon--flickr a:hover {background-color: #c9317d;}
.icon--facebook a {
    background-image: url('images/icons/facebook-128.png');
}
.icon--twitter a {
    background-image: url('images/icons/twitter-128.png');
}
.icon--linkedin a {
    background-image: url('images/icons/linkedin-128.png');
}
.icon--instagram a {
    background-image: url('images/icons/instagram-128.png');
}
.icon--flickr a {
    background-image: url('images/icons/flickr-128.png');
}

/* #Extras
================================================== */
.back-to-menu{position: absolute;bottom: 0;left: 0;}
.home-grid a, .portfolio-grid a{display: inline-block;position: relative;}
.home-grid a{margin: 20px 36px 5px 0;}
.img-mask {
    background: rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    color: #ffffff;
    font-size: 13px;
    width: 100%;
    height: 100%;
    max-height: 99%;
    left: 0;
    line-height: 1.1em;
    margin-top: 0;
    opacity: 1;
    padding: 44% 8% 0;
    position: absolute;
    text-align: left;
    text-transform: uppercase;
    top: 0;
    -webkit-transition: all .4s ease-out;
    transition: all .4s ease-out;
    -webkit-filter: blur(0);
    filter: blur(0);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}
.home-grid .img-mask {height: 190px;}
.home-grid .long .img-label {height: 121px;width: 100%;box-sizing: border-box;text-transform: uppercase;position: absolute;top: 0;left: 0;}
.portfolio-grid .img-mask {height: 630px;font-size: 18px;text-align: center;padding: 64% 8% 0;}
.long .img-label {padding: 13% 8% 0;text-align: center;}
a:hover .img-mask {
    opacity: 0;
    -webkit-filter: blur(25px);
    filter: blur(25px);
}
.frame{width: 100%; height: 630px; padding: 0;}
.frame ul{margin: 0;padding: 0;height: 100%;list-style: none;}
.frame ul li{display: block;float: left;margin: 0 30px 0 0;padding: 0;width: auto;height: 100%;position: relative;}
.scrollbar {
    margin: 0 0 1em 0;
    height: 2px;
    background: #ccc;
    line-height: 0;
}
.scrollbar .handle {
    width: 100px;
    height: 100%;
    background: #292a33;
    cursor: pointer;
}
.scrollbar .handle .mousearea {
    position: absolute;
    top: -9px;
    left: 0;
    width: 100%;
    height: 20px;
}
.image-gallery li .caption {
    margin-top: 5px;
    font-size: 14px;
}
.image-gallery li .caption {
    background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
    bottom: 0;
    color: #ffffff;
    display: block;
    font-size: 13px;
    font-style: italic;
    left: 0;
    margin: 4%;
    max-width: 100%;
    padding: 3% 4%;
    position: absolute;
}