/*
Theme Name: Azadeh Razaghdoost
Theme URI: http://www.azadehrazaghdoost.com
Author: Hamid Shavarean
Author URI: http://www.hamidshavarean.com/
Version: 1.0
License: MIT License http://hamidshavarean.mit-license.org/
*/

@import 'css/reset.css';
@import 'css/font-awesome.min.css';

/* Body */
html {margin:0; padding:0;}
body {cursor:default; margin:0; padding:0; overflow-x:hidden; font-family: 'ERASN'; color:#1d1d1d; -webkit-tap-highlight-color:rgba(0,0,0,0); background:#e3deda; -webkit-background-size:contain; -moz-background-size: contain; -o-background-size: contain; background-size:contain;}
::selection {color:#FFF;background:#6F6F6E;/* Safari */}
::-moz-selection {color:#FFF;background:#6F6F6E;/* Firefox */}
blockquote {color:#1d1d1d; font-style:italic;}
b, strong {color:black; font-family: 'erasdemi';}
a {text-decoration:none; color:black;}
a:hover {text-decoration:none; color:#4b7359;}
/* Fonts */
@font-face {
	font-family: 'erasdemi';
	src: url('fonts/erasdemi.eot');
	src: local('☺'), url('fonts/erasdemi.woff') format('woff'), url('fonts/erasdemi.ttf') format('truetype'), url('fonts/erasdemi.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'ERASN';
	src: url('fonts/ERASN.eot');
	src: local('☺'), url('fonts/ERASN.woff') format('woff'), url('fonts/ERASN.ttf') format('truetype'), url('fonts/ERASN.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}



.container {max-width:575px;}
footer {position:absolute; font-size:.75em; text-align:center; max-width:575px; bottom:1.5em;}
.azadehrazaghdoost {text-transform:uppercase; font-size:3em; letter-spacing: .01em; width:100%; text-align:center; margin-top:.3em;}
.title {font-size: 1.5em; line-height:0; color:#677827;}
.txts {font-size: .8em; color:#6F6F6E; text-align:justify; padding:1em;}
.current-menu-item a, .current-menu-parent a {color:#4b7359 !important;}
.attachment-thumbnail {width:auto; height:auto; margin-left:4px; margin-right:4px; margin-bottom:4px;}
.gallery-item {margin-top:0 !important; width:auto !important; display:block;}
.about {margin-top:2em; padding-left:10px; padding-right:10px; margin-bottom:2em;}
.about p {text-align:justify; background:rgba(227,222,218,.8);}
.email {font-size:1.5em; text-align:center;}
.contact {text-align:center; margin-top:2em; padding-left:10px; padding-right:10px; margin-bottom:2em;}
.contacti, .news img, .newstm img {width:100%; height:auto;}
.works {text-align:center; margin-bottom:1.5em;}
.works img {border:1px solid rgba(0,0,0,.5) !important;}
.works li {list-style-type:decimal;}
.downloadcv {padding: .4em; border: 1px solid black; font-size: 1em; font-family: 'erasdemi'; background: black; color: white;}
.downloadcv:hover {background:#e3dfdb;}
#gallery-1 {width: 100%; text-align:center;}
.gallery br {
display:none;
}

.gallery:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
.gallery-caption {visibility:hidden; display:none; opacity:0;}

/* Header */
header {width: 100%;padding-bottom:0em;z-index:99;}

nav ul {list-style: none; text-align: center;margin:.1em 0 0 0;padding: 0;transition:max-height .25s linear; font-family: 'erasdemi'; text-transform:uppercase;}

nav ul li {display: inline-block;padding: 0 .2em 0 .5em; border-left:.16em solid #4c4c4c; transition:visibility .25s linear; font-size:1em;}

nav ul li:first-child {padding: 0 .2em 0 0; border-left:0px solid #4c4c4c;}

nav ul li:last-child {padding: 0 0 0 .5em;}

nav ul a {text-decoration:none; color:black;}

nav ul a:hover, a .current {color:#4b7359 !important;}.menu .navbar-handle {position:absolute;font-size:1.2em;top:1em;right:.4em;z-index:999;}

.navbar-checkbox {display:none;}

.navbar-handle {display:none;opacity: 0;cursor:pointer;position:relative;font-size:45px;padding:.5em 0;height:0;width:1.7em;background:url(img/menu.svg) no-repeat;}


/* Landscape iPhone */
@media (max-width: 630px) {
	
.container header {padding-bottom:0;}
.azadehrazaghdoost {font-size:2.3em; line-height:.9em; margin-top:.5em;}
.email {font-size:1.2em;}
	
.menu ul {max-height:0;overflow:hidden;margin-top:1em;}

.menu li {visibility:hidden;display:block;border:none;text-align:center;}

.menu ul li, .menu ul li:first-child {padding:0 0 .6em 0;}
	
.menu ul li:last-child {padding-bottom:.6em;}
	
.menu .navbar-handle {display:block;opacity: 1;animation: close .3s ease;-moz-animation: close .3s ease;-webkit-animation: close .3s ease;-ms-animation: close .3s ease;width:2.0625em;height:1.1875em;}

#navbar-checkbox:checked + .menu ul {max-height:18.75em;}

#navbar-checkbox:checked + .menu li {visibility:visible;}

#navbar-checkbox:checked + .menu .navbar-handle {background:url(img/close.svg) no-repeat; animation: open .3s ease; -moz-animation: open .3s ease; -webkit-animation: open .3s ease; -ms-animation: open .3s ease;}

}