/*
Theme Name: Seos Portfolio
Theme URI: https://seosthemes.com/seos-portfolio/
Author: SEOS - Tsvetomir Tsvetanov
Author URI: https://seosthemes.com/
Description: Description: Seos Portfolio is the 2016 HTML5 theme, multi-purpose theme with a responsive 2 column layout. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone,tablet, laptop, or desktop computer. Customizer - header image, background image, background color, home page featured image and read more button, home page responsive boxes, over 600 font awesome icons, custom CSS. To learn more about the theme please see theme homepage.
Version: 1.13
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seos-portfolio
Tags: one-column, two-columns, right-sidebar, grid-layout, flexible-header, full-width-template, buddypress, custom-background, custom-header, custom-logo, custom-menu, custom-colors, editor-style, featured-image-header, featured-images, microformats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, blog, photography, portfolio
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Header
# Links
# Navigation
# Content
# Accessibility
# Alignments
# Clearings
# Widgets
# Posts and pages
# Asides
# Footer
# Comments
# Infinite scroll
# Media
# Captions
# Galleries
# Media Screen
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dashed;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

h1 {
	font-size: 31px;
}

h2 {
	font-size: 22px;
}

h3 {
	font-size: 22px;
}

h4 {
	font-size: 18px;
}

h5,
h6 {
	font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: #510000;
	font-family: 'Oswald', sans-serif;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

.entry-content p {
	font-size: 13px;
}

blockquote {
	margin: 0 0.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dashed #C0C0C0;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
	    height: 100%;
  	width: 100%;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */    height: 100%;
  	width: 100%;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
 q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
	background: #F0F0F0;
	display: inline-block;
	border-left: 4px solid #888;
	padding: 4px;
    font-style: italic;
	word-wrap: break-word;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;

}

table td {
	border: 1px solid #888888;
	padding: 5px;
}

article {
	color: #333333;
	word-wrap:break-word;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #C64F00;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: #fff;
	line-height: 1;
	padding: .6em 1em .4em;

}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 15px 17px rgba(255, 255, 255, 0.6), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(174, 29, 29, 0.9), inset 0 2px 5px rgba(174, 29, 29, 0.9);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	padding: 3px;
	background: #F7F7F7;
}

textarea {
	padding-left: 3px;
	width: 100%;
	background: #F7F7F7;
	max-width: 760px;
}

.search-form {
	position: relative;
	width: 100%;
}
	
.search-form .search-submit{
	padding: 5px;
	font-size: 17px;
	position: absolute;
	border: 1px solid #C64F00;
}

.search-field {
	padding: 3px;
    width: 90%;
	float: left;
}

form input[type="submit"] {
	font-size: 17px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 1px solid #C64F00;
}

.comment-form {
	border: 1px solid #ccc;
	padding: 10px;
}

.comment-form input{
    width: 100%;
	padding: 8px;
}

.comment-form label {
	text-align: left;
	width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#page {
    height: 100%;
  	width: 100%;
}

.site-header {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
    height: 100%;
  	width: 100%;
	font-family: 'Lobster', cursive;
	color: #FFFFFF;
	text-align: center;
}

.site-branding {
    text-align: center;
}

.site-description, .site-branding p {
	color: #fff;
	margin: 0 !important;
	font-family: 'Lobster', cursive;
}

.rgba {
	width:100%;
    max-height: 100%;
	display: block;
    background-color: rgba(33, 12, 0, 0.8);
    -moz-box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
    -webkit-box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
    box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
    color: #fff;
	
}

.site-branding h1,
.site-title a {
	font-size: 52px !important;
	line-height: 80px;
	color: #F95F00;
	font-family: 'Lobster', cursive;
	margin-top: 20px;
	margin: 0;
}

.site-header .site-title  a {
	color: #F95F00 !important;
}
 
.site-header .site-title  a:hover, .site-header p a:hover  {
	color: #FF813D !important;
}
 
.seos-header {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 50%;
}

.seos-header .seos-header-animation {
	width: 150px;
	line-height: 40px;
	background-color: rgba(34, 34, 34, 0.9);
    -moz-box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
    -webkit-box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
    box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
	border: 4px solid #333333;
	text-align: center;
	margin: 0 auto;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

.seos-header-animation1 {
	width: 150px;
	top: 80%;
	line-height: 40px;
	background-color: rgba(34, 34, 34, 0.9);
    -moz-box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
    -webkit-box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
    box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
	-webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
	border: 4px solid #333333;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

.animated-seos-header1:hover, .seos-header .seos-header-animation:hover {
	background: #C64F00;
	cursor: pointer;
	border: 4px solid #351200;
}

.fa {
	color: #872A00;
}

.seos-home {
	vertical-align: top;
	width: 97.2%;
	padding: 20px;
	display: inline-block;
	margin: 0 auto;
	text-align: left;
}

.seos-home img {
	height: 200px;
	padding: 6px;
	border: 1px solid #E2E2E2;
	background-color: #f1f1f1;
}

.entry-meta {
	padding: 5px;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a {
	color: #A03D00;
}

a:hover,
a:focus,
a:active {
	color: #FF813D;
	text-decoration: none;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
nav {
	padding: 0 40px 0 40px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

nav ul {
	display: inline-table;	
	position: relative;
	list-style: none;
	color: #FFFFFF;
	z-index: 999999;
}

nav ul ul {
	display: none;
	
}

nav ul li:hover > ul {
	display: block;
	-webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

@keyframes nav ul li:hover > ul {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

nav ul li:hover > ul {
	-webkit-backface-visibility: visible !important;
	backface-visibility: visible !important;
	-webkit-animation-name: flipInX;
	animation-name: flipInX;
}

nav ul:after {
	content: "";
	clear: both;
	display: block;
}

nav ul li {
	float: left;
	text-align: left;
	margin: 5px;
}

nav ul li a:hover {
	color: #FF813D !important;
}

nav ul li:hover {
	-webkit-transition: all 0.4s linear 0s;
	-moz-transition: all 0.4s linear 0s;
	-o-transition: all 0.4s linear 0s;
	transition: all 0.4s linear 0s;
}

nav ul li:hover a {
	-webkit-transition: all 0.4s linear 0s;
	-moz-transition: all 0.4s linear 0s;
	-o-transition: all 0.4s linear 0s;
	transition: all 0.4s linear 0s;
}
	
nav ul li a {
	display: block; 
	padding: 10px;
	font-size: 20px;
	color: #F95F00 !important;
	text-decoration: none;
	font-family: 'Oswald', sans-serif;
}
	
nav ul ul {
    min-width: 150px;
	position: absolute;
	border-radius: 0px;
	padding: 0;
	margin-left: 0;
	z-index: 9999;
}

nav ul ul li {
	position: relative;
	float: none;
	min-width: 150px;
	font-size: 16px;
	z-index: 9999;
	text-align: left;
	margin: 0;

}

nav ul ul li a {
	opacity: 0.9;
	letter-spacing: 2px;
	font-size: 14px;
	background: #351200;
	border-left: 1px solid #0A0200;
	border-top: 1px solid #631D00;
	border-bottom: 1px solid #0A0200;
	-webkit-transition: all 0.6s linear 0s;
	-moz-transition: all 0.6s linear 0s;
	-o-transition: all 0.6s linear 0s;
	transition: all 0.6s linear 0s;
}
	
nav ul ul li a:hover {
	opacity: 1;
	background: #210C00;
	-webkit-transition: all 0.4s linear 0s;
	-moz-transition: all 0.4s linear 0s;
	-o-transition: all 0.4s linear 0s;
	transition: all 0.4s linear 0s;

}

nav ul ul ul {
	position: absolute; 
	left: 100%;
	top: 0;
	min-width: 150px;
}

nav:after {
	content: ""; clear: both; display: block;
}

.menu, .menu ul {
	padding: 0;
	margin: 0;
}

nav li > a:after {
    padding-left: 10px;
    color: #AF4600;
    content: ' ›';
}

nav li > a:hover:after {
    color: #AF4600;
    content: ' ›';
}

nav li > a:only-child:after {
    content: '';
}

@media screen and (max-width: 1000px) {
	.nav-ico ul{
		display: none;
    }
	
	#menu-icon {
		width: 100%;
		height: 44px;
		display: block;
    }

	nav .nav-ico {
		width: 100%;
		padding:0;
		margin: 0;
    }
	
	.nav-ico:hover ul,
	.nav-ico:hover ul li,
	.nav-ico:hover ul ul,
	.nav-ico:hover ul ul li {
		display: block;
		position: relative;
		border: none;
		float: none;
		width: 100%;
		text-align: left;
		left: 0;
		background: #4C1D00;
    }

	nav ul li a, 
	nav ul li, 
	nav ul ul li a {
		border: none;
    }

	nav a:hover {
		color: #2B9BC4;
		-webkit-transition: all 0.4s linear 0s;
		-moz-transition: all 0.4s linear 0s;
		-o-transition: all 0.4s linear 0s;
		transition: all 0.4s linear 0s;
    }

	.menu-button {
		background: #FFFFFF;
		border: 1px solid #FFFFFF;
		border-radius: 2px;
		margin: 8px 0 0 10px;
		width: 40px;
		height: 4px;	
		display: block;
    }
	
	nav ul li {
		margin: 0;
    }
	
}

/*--------------------------------------------------------------
#Content 
--------------------------------------------------------------*/
main {
   width: 100%;
   height: 100%;
}

.fa {
	color: #872A00;
}

#content {
	margin-bottom: 60px;
	margin-top: 60px;
	padding: 10px;
}

#content #primary {
	float: right;
	width: 76%;
	padding: 20px 0 20px 20px;
}

#content #primary main {
	padding: 10px;
	width: 100%;
}

#content #primary .sp-home {
	text-align: center;
	padding: 10px;
	width: 100%;
}

#content #secondary {
	float: left;
	width: 24%;
	padding: 0 10px 10px 10px;
	margin: 20px 0 20px 0;
}

#content #secondary .widget-title  {
	padding: 5px;
}

#content #secondary ul  {
	padding: 5px;
	margin:0;
	list-style-type: none;
}

#content #secondary ul li {
	padding: 10px 0 10px 0;
	margin:0;
	border-bottom: 1px dashed #C0C0C0;
	width: 100%;
}

.site-content {
	width: 1100px;
	margin: 0 auto;
	margin-top: 20px;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.seos-portfolio-boxes {

    color: #333333;
    width: 100%;
    text-align: center;
	padding: 40px 0 40px 0;
}

.seos-pf-slider {
	padding: 40px 0 60px 0;
}

.seos-portfolio-boxes .seos-box{
	vertical-align: top;
    width: 25%;
    padding: 20px;
    display: inline-block;
}

.seos-box h3 {
	margin-top: 30px;
	border-bottom: 1px dashed #333333;
	padding-bottom: 10px;
	color: #333333;
}

.seos-box img,
.seos-box .fa{
	font-size: 60px ;
	height: 80px;
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.seos-center img {
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
	width: 100%;
	height: 400px;
	position: relative;
}


.seos-box img:hover,
.seos-box .fa:hover{
    -webkit-transform: rotate(360deg) scale(1.4);
    -moz-transform: rotate(360deg) scale(1.4);
    -o-transform: rotate(360deg) scale(1.4);
    -ms-transform: rotate(360deg) scale(1.4);
    transform: rotate(360deg) scale(1.4);
    filter: FlipH;
    -ms-filter: "FlipH";
	-webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
	z-index: 99999;
}

.seos-center img:hover {
	-webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
	z-index: 99999;
}

.spf-read-more {
	position:absolute;
	top: 60%;
	text-align: center;
	width:100%;
	height: 40px;
	z-index:999999;
	opacity: 0.9;
}

.spf-read-more  {
	display: block;
	-webkit-animation-duration: 1s !important;
    animation-duration: 1s !important;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
	z-index: 111;
} 

@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

.spf-read-more1 {
	position:absolute;
	top: 52%;
	text-align: center;
	width:100%;
	height: 40px;
	z-index:999999;
	opacity: 0.9;
}

 .spf-read-more a, .spf-read-more1 a {
	padding: 10px;
	font-size: 24px;
	border: 1px solid #350F00;
    -moz-box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
    -webkit-box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
    box-shadow: inset 0 30px 30px -30px #828282, inset 0 -30px 30px -30px #828282;
	background-color: rgba(33, 12, 0, 0.8);
    color: #FFFFFF;
	-webkit-transition: all 0.4s linear 0s;
	-moz-transition: all 0.4s linear 0s;
	-o-transition: all 0.4s linear 0s;
	transition: all 0.4s linear 0s;
}

.spf-read-more a:hover,
.spf-read-more1 a:hover {
    color: #333333 !important;
    background-color: #fff;
	-webkit-transition: all 0.4s linear 0s;
	-moz-transition: all 0.4s linear 0s;
	-o-transition: all 0.4s linear 0s;
	transition: all 0.4s linear 0s;
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,

.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
	display: block;
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
	background: #eee;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.entry-title {
	padding: 10px 10px 10px 0;
}


.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
# Asides
--------------------------------------------------------------*/

.page-header {
	border-bottom: 1px dashed #111;
}
	
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

aside, aside ul li {
	word-wrap: break-word;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer-widgets {
	padding: 20px;
	vertical-align: top;
	width: 20.4%; 
	font-size: 14px;
	line-height: 20px;
	height: auto;
	text-align: left;
	word-wrap: break-word;
    margin: 0 auto;
	display: inline-block;
	text-align: center;
}

.footer-widgets .widget_rss ul li,
.footer-widgets  .widget_text p {
	color: #fff;
}

.footer-widgets .widget-title {
	color: #B7B7B7;
}

.site-infos {
    text-align: center;
	color: #C64F00;
	background: #111;
	padding: 10px;
}

.site-infos p {
	margin: 0;
    padding: 0;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.post-edit-link {
	display: block;
	padding:5px;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

#secondary .gallery {
	text-align: center;
	padding: 5px;
}

#secondary .gallery-item  {
	margin: 5px 5px 0;
    max-width: 28.9% !important;
	line-height: 15px !important;
}

#secondary .gallery-item:hover {
	opacity: 0.7;
} 

.footer-center .gallery {
	text-align: center;
	padding: 5px;
}

.footer-center .gallery-item  {
	margin: 5px 5px 0;
    max-width: 28.9% !important;
	line-height: 15px !important;
}

.footer-center .gallery-item:hover {
	opacity: 0.7;
} 

/*--------------------------------------------------------------
# Media Screen
--------------------------------------------------------------*/
@media screen and (max-width: 770px) {

	.seos-center img, .seos-box img {
		height: auto;
		background-size: contain;
	}
	
	.seos-portfolio-boxes .seos-box {
		width: 100%;	
	}
	
	.seos-box h3 {
		padding: 20px;
	}
	
	.footer-widgets {
		width: 100%; 
	}
	
	nav ul li:hover > ul {
		-webkit-backface-visibility: none !important;
		backface-visibility: none !important;
		-webkit-animation-name: none;
		animation-name: none;
	}

}

@media screen and (max-width: 1080px) {

	#content #primary, #content #secondary, main, body, #page, article, header, .site-content, section {
       	display: block;
		float: none;
		width: 100%;
		margin: 0 auto;
		padding: 0;
		text-align: center;
	}
	
	 form input{
		width: 100px;
       	display: block;
		float: none;
		text-align: center;
		margin: 0 auto;
		padding: 0;
	}
	
	.search-form .search-submit {
		position: relative;
	}
	
}