/* Begin Typography & Colors */

@media screen and (max-device-width: 800px) {
    html {
         background: url(polina.jpg) transparent no-repeat center center fixed;
    }
    #bgvid {
        display: none;
    }
}

	#gallery-1 {
		margin: auto;
	}
	#gallery-1 .gallery-item {
		float: left;
		margin-top: 10px;
		text-align: center;
		width: 33%;
	}
	#gallery-1 img {
		border: 0px solid #cfcfcf;
	}
	#gallery-1 .gallery-caption {
		margin-left: 0;
	}

body {
    background: none repeat scroll 0 0 #FFFFFF;
    color: #333333;
    font-family: Roboto, Helvetica, Arial, Sans-Serif;
    font-size: 62.5%;
    text-align: left;
}
#page {
    text-align: left;
}

#content {
    font-size: 1.2em;
}
.widecolumn .entry p {
    font-size: 1.05em;
}
.narrowcolumn .entry, .widecolumn .entry {
    line-height: 1.4em;
	font-size: 1.4em;
}
.widecolumn {
    line-height: 1.6em;
}
.narrowcolumn .postmetadata {
    font-size: 0.9em;
}
.alt {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
    border-top: 1px solid #EEEEEE;
}
#footer {
    background: none repeat scroll 0 0 #FFFFFF;
    border: medium none;
}
small {
    font-family: Arial,Helvetica,Sans-Serif;
    font-size: 0.9em;
    line-height: 1.5em;
}
#content h2 {
    font-family: Arial,Helvetica,Sans-Serif;
}
h1, h2, h3 {
    font-family: Arial,Helvetica,Sans-Serif;
    font-weight: bold;
}
#headerimg h1 {
    font-size: 4em;
}
#headerimg .description {
    font-size: 1.2em;
}
h1, h2 {
    color: #333333;
}
h2.pagetitle {
    font-size: 1.6em;
}

.title {
color: #333333;
font-size: 24px;
}

.info {
color: #333333;
font-size: 18px;
}

#sidebar h2 {
    font-family: Arial,Helvetica,Sans-Serif;
    font-size: 1.2em;
}

h3 {
    color: #333333;
    font-size: 1.3em;
}
h1, h1 a, h1 a:hover, h1 a:visited {
    color: #333333;
    text-decoration: none;
}
h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
    color: #333333;
}
h2 a, h2 a:visited, h3, h3 a, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
    color: #333333;
    text-decoration: none;
}
#sidebar h2 {
    color: #333333;
}
h2 a:hover, h3 a:hover {
    color: #666666;
    text-decoration: none;
}
.entry p a:visited {
    color: #666666;
}
.commentlist li, #commentform input, #commentform textarea {
    font-family: Arial,Helvetica,Sans-Serif;
    font-size: 1em;
    line-height: 1.4em;
}
.commentlist li {
    font-weight: bold;
}
.commentlist li .avatar {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #EEEEEE;
    float: right;
    padding: 2px;
}
.commentlist cite, .commentlist cite a {
    font-size: 1.1em;
    font-style: normal;
    font-weight: bold;
}
.commentlist p {
    font-weight: normal;
    line-height: 1.5em;
    text-transform: none;
}
#commentform p {
    font-family: Arial,Helvetica,Sans-Serif;
}
.commentmetadata {
    font-weight: normal;
}
#sidebar {
    font-size: 14px;
}

#sidebar a {
    font-weight: normal;
}

#sidebar a:hover {
    color: #666666;
}


#sidebar ul {
    margin: 20px 10px 50px 0;
    padding: 0;
    text-align: right;
}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
    color: #333333;
}
code {
    font: 1.1em 'Courier New',Courier,Fixed;
}
acronym, abbr, span.caps {
    font-size: 0.9em;
    letter-spacing: 0.07em;
}
a {
    color: #666666;
    font-weight: bold;
    text-decoration: none;
}
a:hover {
    color: #666666;
    font-weight: bold;
    text-decoration: underline;
}
a:visited {
    color: #666666;
    font-weight: bold;
    text-decoration: none;
}
#wp-calendar #prev a, #wp-calendar #next a {
    font-size: 9pt;
}
#wp-calendar a {
    text-decoration: none;
}
#wp-calendar caption {
    font: bold 1.3em 'Lucida Grande',Verdana,Arial,Sans-Serif;
}
#wp-calendar th {
    font-style: normal;
    text-transform: capitalize;
}
/* End Typography & Colors */

/* Slideshow Stuff*/
.slideshow { height: 100%; }
.slideshow .cycle-pager { position: absolute; bottom: 0; width: 100%; z-index: 900; text-align: center; font-size: 48px; }
.slideshow .cycle-pager span { cursor: pointer !important; color: white; font-family: Helvetica, Arial, sans-serif; padding: 10px; -webkit-transition: color 0.2s; transition: color 0.2s; }
.slideshow .cycle-pager span:hover { color: black; }
.slideshow .slide { width: 100%; height: 100%; }
.slideshow .full-width-image { width: 100%; height: 100%; position: absolute; left: 0; top: 0; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }
.slideshow .container { height: 100%; position: relative; }
.slideshow .caption { position: absolute; right: 0; bottom: 100px; width: 495px; }
.slideshow .caption a { background: black; color: white; display: block; padding: 6px 12px; }
.slideshow .caption h2 { font-size: 22px; padding-bottom: 6px; }
.slideshow .caption h2:only-child { padding-bottom: 0; }
.slideshow .caption p { font-style: italic; }

/* End Slideshow */


/* Begin Structure */
body {
    margin: 0;
    padding: 0;
}
#page {
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

#header {
    display: block;
    height: 75px;
    padding: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 2;
}

.header-space {
    height: 0px;
    background: #FFFFFF;
}

.header-container {
    margin: 0 auto;
    padding: 0;
    width: 1140px;
}


.header-menu {
    float: left;
    height: 65px;
    margin-top: 0;
    padding-top: 25px;
    text-align: right;
    width: 700px;
}


.header-logo {
    float: left;
    height: 90px;
    margin-right: 50px;
    padding-left: 10px;
    text-align: left;
    width: 350px;
}
#background-container {
    margin: 0;
    padding: 0;
}

#background-caption {
    color: #fff;
    font-family: lato,arial,sans-serif;
    font-size: 18px;
    padding: 75px;
    position: relative;
    text-align: right;
    top: 425px;
}

#background-spacer {
    float: left;
    height: 625px;
    margin: 0;
    min-height: 100%;
    min-width: 100%;
    padding: 0;
    width: 100%;
}

video#bgvid { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url(http://www.dbamorin.com/img/dbamorin-bg.jpg) no-repeat;
    background-size: cover; 
}


#sidebar {
    background-color: transparent;
    float: left;
    margin: 0 auto;
    padding: 0 5px 0 75px;
    position: fixed;
	width: 150px;
}
#sidebar form {
    margin: 0;
}
#sidebar-title {
    background-color: #FFFFFF;
    float: left;
    height: 185px;
    margin: 0 0 0 50px;
    padding: 0 0 5px 5px;
    width: 150px;
}

#content {
    display: block;
    float: left;
    margin-left: 450px;
    padding: 0;
    width: 900px;
}
.narrowcolumn {
    display: inline;
}
.narrowcolumn .excerptblock {
    display: inline;
    float: left;
    height: 405px;
    margin: 2px;
    padding: 0 15px;
    width: 250px;
}

.narrowcolumn .excerptblock img{
    border-radius: 20px;
}

.narrowcolumn .excerptblock .excerpttext {
    display: inline;
    float: left;
    font-size: 11px;
    margin: 10px 2px 2px;
    padding: 0 2px;
    width: 250px;
}
.widecolumn {
    display: inline;
    margin: 5px 0 0 5px;
    padding: 0 0 5px 5px;
    width: 775px;
}
.post {
    margin: 0;
    text-align: justify;
    width: 800px;
}
.post hr {
    display: block;
}
.widecolumn .post {
    margin: 0;
}

.narrowcolumn .postmetadata {
    float: right;
    margin-bottom: 100px;
    padding-top: 5px;
    position: relative;
    right: 0;
    top: 0;
}

.widecolumn .postmetadata {
    margin: 30px 0;
}
.widecolumn .smallattachment {
    float: left;
    margin: 5px 5px 5px 0;
    width: 128px;
}
.widecolumn .attachment {
    margin: 5px 0;
}
.postmetadata {
    clear: both;
}


.postmetadata li {
    border: 2px solid #666666;
    display: inline;
    font-size: 10px;
    list-style-type: none;
    margin-left: 25px;
    padding: 3px 7px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.postmetadata li a, a:hover{
    text-decoration: none;
    font-weight: normal;
}

.clear {
    clear: both;
}

#footer {
    bottom: 0;
    display: block;
    height: 0px;
    padding: 0;
    position: fixed;
    width: 100%;
    z-index: 2;
}

.footer-container {
    margin: 0 auto;
    padding: 0;
    width: 1140px;
}


.footer-menu {
    float: left;
    height: 65px;
    padding-top: 20px;
    width: 1140px;
}

#footer p {
    margin: 0;
    padding: 0;
}

/* End Structure */



/*	Begin Headers */
h1 {
    margin: 0;
    padding-top: 70px;
}
h2 {
    margin: 5px 0 0;
}
h2.pagetitle {
    margin-top: 30px;
}
#sidebar h2 {
    margin: 5px 0 0;
    padding: 0;
}
h3 {
    margin: 30px 0 0;
    padding: 0;
}
h3.comments {
    margin: 40px auto 20px;
    padding: 0;
}

/* End Headers */



/* Begin Images */
p img {
    max-width: 100%;
    padding: 0;
}
img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignright {
    display: inline;
    margin: 0 0 2px 7px;
    padding: 4px;
}
img.alignleft {
    display: inline;
    margin: 0 7px 2px 0;
    padding: 4px;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}

/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html > body .entry ul {
    line-height: 1em;
    list-style: none outside none;
    margin-left: 0;
    padding: 0 0 0 10px;
    text-indent: -10px;
}
html > body .entry li {
    margin: 7px 0 8px 10px;
}
.entry ul li:before, #sidebar ul ul li:before {
    content: "» ";
}
.entry ol {
    margin: 0;
    padding: 0 0 0 35px;
}
.entry ol li {
    margin: 0;
    padding: 0;
}
.postmetadata ul, .postmetadata li {
    display: inline;
    list-style-image: none;
    list-style-type: none;
}
#header .header-menu ul {
	margin: 0; 
	padding: 0; 
	list-style-type: none; 
	list-style-image: none;
}
#header .header-menu li {
    display: inline;
    padding: 0 0 0 75px;
}

#header .header-menu li a{
    background: #FFFFFF;
    text-decoration: none;
    font-style: italic;
    text-transform: uppercase;
    padding: 0 5px;
}

#header .header-menu li a:hover{
    background: #FFFFFF;
    text-decoration: none;
    font-style: italic;
    text-transform: uppercase;
    padding: 0 5px;
}

#footer .footer-menu ul {
    margin: 0; 
    padding: 0; 
    list-style-type: none; 
    list-style-image: none;
}

#footer .footer-menu li {
    display: inline;
    padding: 0 0 0 65px;
}

#footer .footer-menu li a{
    background: #FFFFFF;
    text-decoration: none;
    font-style: italic;
    text-transform: uppercase;
    padding: 0 5px;
}

#footer .footer-menu li a:hover{
    background: #FFFFFF;
    text-decoration: none;
    font-style: italic;
    text-transform: uppercase;
    padding: 0 5px;
}
#sidebar ul ol {
    margin: 0;
    padding: 0;
}

#sidebar ul li {
    line-height: 0.9em;
    list-style-image: none;
    list-style-type: none;
    margin-bottom: 15px;
}


#sidebar ul p, #sidebar ul select {
    margin: 5px 0 8px;
}
#sidebar ul ul, #sidebar ul ol {
    margin: 5px 0 0 10px;
}
#sidebar ul ul ul, #sidebar ul ol {
    margin: 0 0 0 10px;
}
ol li, #sidebar ul ol li {
    list-style: decimal outside none;
}
#sidebar ul ul li, #sidebar ul ol li {
    margin: 3px 0 0;
    padding: 0;
}
ul ul li {
    margin-left: 0;
    padding-left: 10px;
    text-indent: -10px;
}

/* End Entry Lists */



/* Begin Form Elements */
#searchform {
    margin: 2px auto;
    padding: 5px 3px;
}
#sidebar #searchform #s {
    height: 10px;
    padding: 2px;
    width: 100px;
}
#sidebar #searchsubmit {
    cursor: pointer;
    padding: 1px;
}
.entry form {
    text-align: left;
}
select {
    width: 130px;
}
#commentform input {
    margin: 5px 5px 1px 0;
    padding: 2px;
    width: 170px;
}
#commentform textarea {
    padding: 2px;
    width: 100%;
}
#commentform #submit {
    cursor: pointer;
    float: right;
    margin: 0;
}
input, textarea {
    background-color: #FFFFFF;
    border: 1px solid #999999;
    color: #2B2B2B;
    font-family: Arial,Helvetica,Sans-Serif;
    font-size: 1em;
    font-weight: normal;
}
#searchsubmit {
    cursor: pointer;
    text-decoration: none;
}
/* End Form Elements */




/* Begin Comments*/
.alt {
    margin: 0;
    padding: 10px;
}
.commentlist {
    padding: 0;
    text-align: justify;
}
.commentlist li {
    list-style: none outside none;
    margin: 15px 0 3px;
    padding: 5px 10px 3px;
}
.commentlist p {
    margin: 10px 5px 10px 0;
}
#commentform p {
    margin: 5px 0;
}
.nocomments {
    margin: 0;
    padding: 0;
}
.commentmetadata {
    display: block;
    margin: 0;
}
/* End Comments */


/* Begin Calendar */
#wp-calendar_wrap {
    text-align: left;
}
#wp-calendar {
    empty-cells: show;
    margin: 10px 0 0;
    text-align: left;
    width: 155px;
}
#wp-calendar #next a {
    padding-right: 10px;
    text-align: right;
}
#wp-calendar #prev a {
    padding-left: 10px;
    text-align: left;
}
#wp-calendar a {
    display: block;
}
#wp-calendar caption {
    text-align: left;
    width: 100%;
}
#wp-calendar td {
    padding: 3px 0;
}
#wp-calendar td.pad:hover {
    background-color: #FFFFFF;
}
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
    cursor: help;
}
acronym, abbr {
    border-bottom: 1px dashed #EEEEEE;
}
blockquote {
    border-left: 5px solid #EEEEEE;
    font-weight: bold;
    margin: 15px 30px 0 10px;
    padding-left: 20px;
}
blockquote cite {
    display: block;
    margin: 5px 0 0;
}
.center {
}
.hidden {
    display: none;
}
hr {
    display: none;
}
a img {
    border: none;
}
.navigation {
    display: block;
    margin-bottom: 60px;
    margin-top: 10px;
}
.current-cat a, .current-cat a:active, .current-cat a:link, .current-cat a:visited, .current-cat a:hover, .current_page_item a, .current_page_item a:active, .current_page_item a:link, .current_page_item a:visited, .current_page_item a:hover {
    background: none repeat scroll 0 0 #666666;
    padding: 2px;
    color: #FFFFFF;
}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter, div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    background-color: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 3px 3px 3px 3px;
    margin: 10px;
    padding-top: 4px;
}
.wp-caption img {
    border: 0 none;
    margin: 0 5px;
    padding: 0;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}/* End captions */
