/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* remember to define focus styles! */
:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/***********************************************
    general
***********************************************/
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}
/***********************************************
    body, headings
***********************************************/
html {
    overflow-y: scroll;
	background-color: #202020;
}

body {
    font-family: 'Ubuntu', arial, serif;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    color: #38A3D9;
}

h2 {
    font-size: 18px;
    font-weight: bold;
    color: #FAFAFA;
    padding: 5px; 
}

h3 {
    font-size: 14px;
    font-weight: bold;
    color: #FAFAFA;
    padding: 10px;
}

h4 {
    font-size: 14px;
    font-weight: normal;
    color: #FAFAFA;
    padding: 8px 0 8px 20px;
}

h4 span {
    unicode-bidi:bidi-override; 
    direction: rtl;
}

h4 a {
    text-decoration: none;
    color: #FAFAFA;
}
/***********************************************
    header
***********************************************/
#header {
    width: 960px;
    min-height: 197px;
    margin: 0 auto;
}

#logo {
    float: left;
}

#social {
    padding: 10px 10px;
    float: right;
}

#social li {
    float: right;
    clear: right;
}

#sidebar-mobile {
	display: none;
}

/***********************************************
    menu
***********************************************/
#menu-container, #footer-container {
    background: #191919;
    width: 100%;
    opacity:0.9;
    filter:alpha(opacity=90);
    border-top: 1px solid #000;
    border-bottom: 1px solid #353535;
}

#menu, #footer {
    padding: 0 10px;
    overflow: hidden;
    width: 940px;
    margin: 0 auto;
}

#menu li a {
    float: left;
    padding: 5px 0;
    width: 70px;
    text-align: center;
    text-decoration: none;
    color: white;
    font-family: Tahoma, serif;
    font-weight: bold;
    font-size: 12px;
}

#menu a:hover, #social li:hover {
    color: #38a3d9;	
    -webkit-transform:  scale(0.95);
    -moz-transform:  scale(0.95);
    -o-transform:  scale(0.95);
    -o-transform-origin: center;
    -ms-transform:  scale(0.95);
    transform:  scale(0.95);
}

#menu img {
    float: left;
    padding: 0 0 2px 11px;
    margin: auto;
    clear: both;
}

/***********************************************
    content
***********************************************/
#content-wrapper {
    width: 100%;
}

#content-container {
    width: 960px;
    margin: 10px auto;
    overflow: hidden;
    clear: both;
}

#content, #sidebar {
    float: left;
    background: #191919;
    margin-left: 10px;
    margin-right: 10px;
    border: 1px solid #000;
    border-right: 1px solid #353535;
    border-bottom: 1px solid #353535;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    min-height: 452px;
}

#content {
    width: 70%;
}

#content h1,#content p {
    padding: 5px 20px;
}

#content h1 {
    padding-top: 20px;
}

#content p {
    color: #FAFAFA;
    font-size: 13px;
    line-height: 19px;
}

#skills {
    padding: 30px;
}

#skills li {
    float: left;
    clear: both;
    padding: 5px;
    min-height: 90px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #111;
}

#skills li:first-child {
    border-top: none;
}

#skills li:last-child {
    border-bottom: none;
    padding-bottom: 20px;
}

.skill-picture {
    float: left;
    padding: 2px;
}

.skill-definition {
    display: inline;
    padding: 10px 0;
    float: left;
    clear: right;
    font-size: 12px;
    width: 481px;
}

.skill-definition p {
    vertical-align: middle;
}

.skill-definition span, #references span {
    color: #38A3D9;
}

.reference-picture {
    float: left;
    padding: 0 0 10px 0;
    position:relative;
    border-top: 1px solid #191919;
    border-right: 1px solid #191919;
    border-left: 1px solid #191919;
    -webkit-box-shadow: 0 0 12px rgba(1, 1, 1, 0.5);
    -moz-box-shadow:0 0 12px rgba(1, 1, 1, 0.5);
    box-shadow:0 0 12px rgba(1, 1, 1, 0.5);
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=7, Direction=180, Color='#000000')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=7, Direction=180, Color='#000000');
}

.reference-picture img {
	max-width: 100%;
}

.reference-definition {
    float: left;
    width: 290px;
}

.reference-definition p {
    padding: 10px;
}

.reference-definition a {
    color: #38A3D9;
}

.reference-skills {
    float: left;
    clear: both;
}

#references, #references li, .reference-skill {
    overflow: hidden;
}

#references {
    padding: 10px;
}

#references li {
    padding: 20px;
    float: left;
    border-top: 1px solid #333;
    border-bottom: 1px solid #111;
}

#references li:first-child {
    border-top: none;
}

#references li:last-child {
    border-bottom: none;
    padding-bottom: 20px;
}

.contact-picture {
    vertical-align: middle;
}

/***********************************************
    sidebar
***********************************************/

#sidebar {
    width: 25%;
}

#sidebar ul li,
#sidebar-mobile ul li {
    padding-bottom: 15px;
    color: #FAFAFA;
    font-size: 12px;
    text-align: center;
}

#sidebar li:last-child {
    padding-bottom: 20px;
}

#sidebar span .blue, .notice span {
    color: #38A3D9;
}

.headshot {
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -webkit-box-shadow: 0 0 12px rgba(1, 1, 1, 0.8) ;
    -moz-box-shadow:0 0 12px rgba(1, 1, 1, 0.8);
    box-shadow:0 0 12px rgba(1, 1, 1, 0.8);
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=7, Direction=180, Color='#000000')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=7, Direction=180, Color='#000000');
	display: block;
    margin-left: auto;
    margin-right: auto;
}

/***********************************************
    footer
***********************************************/

#footer-container {
    min-height: 30px;
}

#footer p, #footer a, #sidebar a, #content a {
    text-decoration: none;
	text-align: left;
    color: #FAFAFA;
    font-size: 13px;
    padding-top: 8px;
    line-height: 17px;
}

#footer a:hover, #sidebar a, #content a {
    color: #38a3d9;
}

#footer p.what-could-this-be {
	font-size: 12px;
	color: #5F5C5C;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/***********************************************
    simplex
***********************************************/

textarea {
    float: left;
    clear: both;
    padding: 5px;
    margin: 10px 20px;
    width: 400px;
    max-width: 620px;
    height: 250px;
    max-height: 400px;
    background: #202020;
    border: none;
    color: white;
}

#simplex-form input[type="button"] {
    float: left;
    clear: both;
    margin: 20px;
    padding: 3px;
    width: 80px;
    height: 28px;
}

#autor {
    text-decoration:none;
    color: #38a3d9;
}

@media all and (max-width: 960px) {

    #logo {
        float: none;
        margin: 0 auto;
    }

    #menu {
        width: 370px;
        margin: 0 auto;
    }

    #footer {
        width: auto;
    }

    #menu ul li {
        float: left;
    }
	
	#content  {
		width: 90%;
	}
	
    #content-wrapper, #header {
        width: 100%;
    }

    #content-container {
        width: 100%;
        margin: 10px auto;
    }

    #content {
        float: none;
        margin: 0 auto;
    }

    #sidebar {
        display: none;
    }
    
    .skill-picture {
        width: 88px;
    }
    
    .skill-definition {
        float: left;
        display: block;
        width: 64%;
        padding: 0;
    }
    
}

@media all and (max-width: 645px) {
    
    #skills p, #references p {
        font-size: 13px;
    }
    
    #header, #logo {
        display: none;
    }

    #content {
        width: 90%;
    }

    #references li {
        padding: 0;
    }

    #references .reference-definition p {
        padding: 2px 0;
    }

    .reference-picture, .reference-definition {
        float: left;
        margin: 10px;
    }

    .reference-definition {
		float: left;
        margin-top: 10px;
		width: 100%;
    }

    #references {
        margin: 0 auto;
    }
	
	#sidebar-mobile {
		display: block;
	}
	
}