/*
Theme Name: Szondy Máté
Author: Snail&Vogel
Version: 1.0
*/

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
dialog,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
font,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
hr,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
main,
mark,
menu,
meter,
nav,
object,
ol,
output,
p,
pre,
progress,
q,
rp,
rt,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video,
xmp {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 100%;
}

html,
body {
  height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}

p,
dl,
hr,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
pre,
table,
address,
fieldset,
figure {
  margin-bottom: 20px;
}

b,
strong {
  font-weight: bold;
}

img {
  color: transparent;
  font-size: 0;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}

ul,
ol {
  list-style: none;
}

li {
  display: list-item;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td,
caption {
  font-weight: normal;
  vertical-align: top;
  text-align: left;
}

q {
  quotes: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

sub,
sup,
small {
  font-size: 75%;
}

sub,
sup {
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

svg {
  overflow: hidden;
}

body {
  font: 100% 'Open Sans', Arial, "Liberation Sans", FreeSans, sans-serif;

}

p {
	  line-height:1.5em;
}
.card p {
	line-height:inherit;
}

pre,
code {
  font-family: "DejaVu Sans Mono", Monaco, Consolas, monospace;
}

hr {
  border: 0 #cccccc solid;
  border-top-width: 1px;
  clear: both;
  height: 0;
}

h1 {
  font-size: 5.125em;
  font-family: 'Damion', cursive;
  font-weight:400;
}

h2 {
	font-size: 1.313em;
	font: 'Open Sans', Arial, "Liberation Sans", FreeSans, sans-serif;
	font-weight:400;
}

h3 {
  font-size: 1.5em;
  font-family:'Open Sans Condensed', Arial, sans-serif;
  text-transform:uppercase;
  margin-bottom:10px;
}

h4 {
  font-size: 1.75em;
  font-family:'Open Sans Condensed', Arial, sans-serif;
  text-transform:uppercase;
  color: #425d70;
  margin-bottom:10px;
  margin-top:40px;
}

h5 {
  color: #425d70;
  font-size:1.313em;
  margin-bottom:5px;

}

ul {
  list-style: disc;
}

li {
  margin-left: 30px;
}

.centered {
	text-align:center;
}



body {
  color: #333333;
  background: #bac7d1;

}

a {
  color: #b43e54;

}
a:hover {
  text-decoration: underline;
}
nav a{
  text-decoration: none;
}

header span a {
font-family: 'Open Sans Condensed', sans-serif;	
color:#fff;

padding-top: 10px;
	font-size:1em;
	overflow:hidden;
	float:left;

}

header span a:hover{
	text-decoration:none;
}

nav {

	position:fixed;
	background: url(images/bg.png);
	width:100%;
}

nav li {
	padding: 0 2em;
	margin-left:0;
}

nav li, nav ul a {
display:inline-block;
color:#fff;
text-transform:uppercase;
font-size:0.875em;
	height: 3em;
	line-height:3em;

}
nav li:hover, nav li a:hover {
	background:#42789e;
	text-decoration:none;
}

nav ul {
float:right;
margin-bottom:0;
}

.example-block {
  background: #eeeeee;
  font-size: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 10px 0;
  text-align: center;
}

.grid-container {
    padding-bottom: 25px;
}

.grid-container > hr {
  margin-left: 10px;
  margin-right: 10px;
}

div[class*="push-"] section {
  background: #ddeecc;
}

div[class*="pull-"] section {
  background: #ffccdd;
}

.dynamic-px-width {
  display: block;
}

.hero {
	color: #fff;
	background: #231a11 url(images/szondy_mate.jpg) no-repeat center;
	height: 486px;
}

.hero h1 {
padding-top:2em;

}

.head_bg {
	background: #231a11;
}

.features {
	background:url(images/featbg.jpg) repeat-x;
	background-size:cover;
	color:#FFFFFF;
	padding-top: 10px;
}

.on-white {
	background: #fff;
}

button, .btn, .btn-disabled {
	background:#b53149;
	color:#fff;
	padding: 1em;
	border-radius:5px;
	moz-border-radius:5px;
	border:none;
	font-size:1em;
	letter-spacing:0.01em;
        cursor: pointer;
}

button:hover, .btn:hover {
		background:#d02c4a;
}

.btn-disabled, .btn-disabled:hover {
  background: #efefef;
  color: #777;
  cursor: not-allowed;
}

.card {
padding-top: 0!important;
}

.card span {
	display:block;
	font-size:0.813em;
        margin-top: -72px;
}

.card div {
	background: #fff;
	border:#e9e8e9 thick solid;
	text-align:center;
	font-size: 1.311em;
	width: 100%;
	margin: 0 auto;
	line-height:3.7em;
	height:4em;

}

.grid-100 article {

	max-width:880px;
	padding:20px;
	margin: 0 auto;
	
}

.books figure img {
max-width:210px;
height:auto;
margin:0 auto;
display:block;
}

.skill, .past {
	font-size: 0.875em;
}


.skill div b, .past div b{
	float:left;
}
.skill div span{
	margin-left: 4em;
	display:block;
	margin-top: 0.5em;
}

.past div span{
	margin-left: 6em;
	display:block;
	margin-top: 0.5em;
}

.textarea,
.textfield, .form-control {
    height: 36px;
    width: 92%;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 16px;
    padding: 0 4%;
    -moz-box-shadow: inset 0px 2px 2px #e6e4e4;
    -webkit-box-shadow: inset 0px 2px 2px #e6e4e4;
    box-shadow: inset 0px 2px 2px #e6e4e4;
    outline: none;
}

.textfield:focus, .form-control:focus {
    outline: none;
}

footer {
	background: #241b12;
        float: left;
        width: 100%;
        padding-bottom: 100px;
}
footer h4 {
	color:#fff;
}

footer section {
    width: 62%;
    margin: 0 auto;
}

footer label {
    color: #fff;
    float: left;
    font-family: 'Open Sans Condensed', Arial, sans-serif;
    font-weight: 400;
}

footer label.error {
    margin-top: -10px;
    margin-bottom: 20px;
    float: left;
    width: 100%;
    color: #BAC7D1;
}

footer input[type=text],
footer textarea {
    clear: both;
    float: left;
    margin-top: 5px;
}

footer .textarea {
    height: 150px;
    padding-top: 15px;
    resize: none;
}

footer .email-cont {
    float: left;
    width: 48%;
}

footer .name-cont {
    float: right;
    width: 48%;
}

footer button {
    clear: both;
    float: left;
}

.contact-message {
    float: left;
    color: #BAC7D1;
    line-height: 52px;
    margin-left: 20px;
    font-family: 'Open Sans Condensed', Arial, sans-serif;
    display: none;
}

#contact-form {
    margin-top: 35px;
}

.spinner {
    float: left;
    margin-top: 14px;
    margin-left: 14px;
    display: none;
}

@media screen and (min-width: 100px) and (max-width: 900px)
{
    .hero {
            min-height: 400px;
            height: auto;
            background-size: cover;


    }

    .hero h1 {
    padding-top:2em;
    font-size:4em;

    }

    .hero h2 {
            font-size:1em;

    }

    .hide-at-900 {
            display:none;
    }

    nav {

            position:relative;
            background: #425d70;
            width:100%;
            text-align:center;
    }

    nav span a{
            display:block;
            text-align:center;
            float:none;
            font-size:2em;
    }

    nav li, nav li a {
            background:#243847;
            text-decoration:none;
            border-radius:4px;
            margin: 5px;
    }
}

@media screen and (max-width: 900px) {
    
    .services-tab li {
        width: 100%;
        -webkit-border-top-left-radius: 0px !important;
        -webkit-border-top-right-radius: 0px !important;
        -moz-border-radius-topleft: 0px !important;
        -moz-border-radius-topright: 0px !important;
        border-top-left-radius: 0px !important;
        border-top-right-radius: 0px !important;
        border-bottom: 1px solid;
    }
}

@media screen and (max-width: 768px) {
    
    footer section {
        width: 90%;
    }
    
    footer .name-cont,
    footer .email-cont {
        width: 100%;
        float: none;
    }
}

/*Animations*/

button:hover, nav li:hover, a:hover {
	transition: all 0.2s linear;
-webkit-transition: all all 0.2s linear ease-out;
-moz-transition: all all 0.2s linear ease-out;
-o-transition: all all 0.2s linear ease-out;
transition: all all 0.2s linear ease-out;
}
	
	
.services-content section {
    display: none;
}

.services-tab ul {
    margin: 0;
    padding: 0;
}

.services-tab li {
    float: left;
    list-style-type: none;
    margin-left: 0;
    margin-right: 10px;
    height: 50px;
    line-height: 50px;
    background: #e4e9ed;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.services-tab li.active {
    background: #fff;
}

.services-tab li.active a {
    color: #b43e54;
}

.services-tab li a {
    text-decoration: none;
    padding: 0 20px;
    font-size: 1.313em;
    font-family: 'Open Sans Condensed', Arial, sans-serif;
    text-transform: uppercase;
    color: #425d70;
}

.books {
    margin-bottom: 20px;
}