/*
Theme Name: O2
Theme URI: https://vivathemes.com/wordpress-theme/o2/
Description: Professional WordPress Theme
Author: Viva Themes
Author URI: https://vivathemes.com
Version: 2.3
Tags: two-column, business
*/

*{margin:0; padding:0;}

body,html{
  height:100%;
  min-height: 100%;
}

body {
	background: #404040;
	color: #333;
	font-family: open sans, arial, helvetica, tahoma, sans-serif;
	font-size: 13px;
	margin:0;
	padding:0;
	line-height: 200%;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
}

h1 {
	font-size: 26px;
	color: #333;
	margin-top: 20px;
	text-transform: none;
	font-weight: normal;
	line-height: 28px;
	font-family: 'Lato', arial, helvetica;
}

h2 {
	color: #333;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: normal;
	font-size: 22px;
	line-height: 22px;
	font-family: 'Lato', arial, helvetica;
}

h3 {
	color: #333;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: normal;
	font-size: 20px;
	line-height: 22px;
	font-family: 'Lato', arial, helvetica;
}

h4 {
	color: #333;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: normal;
	font-size: 16px;
	line-height: 22px;
	font-family: 'Lato', arial, helvetica;
}

h5 {
	color: #333;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: normal;
	font-size: 12px;
	line-height: 22px;
	font-family: 'Lato', arial, helvetica;
}

p { margin-top: 10px; }

img {
	border: none; padding:0;
}

img a {
	border:none;
}

img.left {
	float: left; border: none; padding: 6px 0 0 0;
}

img.right {
	float: right; border: none; padding: 0 0 0 6px;
	}

blockquote {
	border-left:1px solid #ccc;
	margin:15px;
	padding:0 12px 0 12px;
	font-style: italic;
}

code{
	font-family:"Courier New", Courier, monospace;
}


/* links */

a {
	color: #333;
	text-decoration: underline;
}

a:hover {
	color: #333;
	text-decoration: none;
}

/* container */

#container {
	width: 100%;
	overflow: hidden;
	float: left;
	clear: left;
	min-height: 100%;
}

/* header */

#header {
  	max-width: 1040px;
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
}

#logo {
	width: 30%;
	float:left;
	height: auto;
	margin: 0;
}

#logo a {
	color: #fff;
}

#logo h1 a,
#logo h1 {
	font-weight: 700;
	font-size: 28px;
	margin-top: 40px;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	font-family: 'Lato', arial, helvetica, sans-serif;
}

/* search */

#searchbox {
	height: 21px;
	margin-top: 30px;
	float: left;
	width: 152px;
}

#searchform {
	padding:0;
	margin:0;
	width: 152px;
	height: 21px;
	float: left;
}

#searchform input#s {
	margin:0;
	padding: 0;
	color: #666;
	width: 148px;
	border: solid 1px #ccc;
	font-size: 10px;
	padding-left: 2px;
	height: 15px;
	padding-top: 2px;
	padding-bottom: 2px;
	background: #fff url(images/searchicon.png) no-repeat right;
}

#searchform input#searchsubmit {
	display: none;
}

#header h2 {
	display: none;
}

/* Main Menu */

#mainmenu {
	width: 65%;
	height: 30px;
	float: right;
	margin-top: 40px;
	border-bottom: solid 1px #eaeaea;
}

.mainnav {
	margin: 0;
	padding: 0;
	list-style: none;
	float: right;
}

.mainnav * {
	margin: 0;
	padding: 0;
	list-style: none;
}


.mainnav ul {
	position: absolute;
	top: -999em;
	display: none;
}

.mainnav li {
	float: left;
	position: relative;
	z-index: 999;
	line-height: 30px;
	margin-left: 30px;
}

.mainnav a {
	display: block;
	font-size: 12px;
	line-height: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	padding-right: 20px;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	font-family: 'Lato', arial, helvetica;
	font-weight: 700;
	-webkit-transition: all 0.7s ease;
  	-moz-transition:    all 0.7s ease;
  	-ms-transition:     all 0.7s ease;
  	-o-transition:      all 0.7s ease;
}

.mainnav li:hover a,
.mainnav li.current-menu-item a{
	text-decoration: none;
}

.mainnav li a:hover {
	color: #fff;
}

.mainnav li:hover {
	text-decoration: none;
}

.mainnav ul li{
	width: 150px;
}

.mainnav li:hover ul,
ul.mainnav li.sfHover ul {
	left: -10px;
	top: 25px;
	padding-top: 5px;
	width: 150px;
	padding-bottom: 13px;

}

.mainnav li:hover li ul,
.mainnav li.sfHover li ul {
	top: -999em;
}

.mainnav li li:hover ul,
ul.mainnav li li.sfHover ul {
	left: 150px;
	top: -5px;
}

.mainnav li:hover ul,
.mainnav li li:hover ul {
	top: -999em;
}

.mainnav li li {
	display: block;
	padding: 0px;
	height: auto !important;
	border-bottom: solid 1px #eaeaea;
	margin: 0;
	background: #f7f7f7;
	line-height: 30px;
}

.mainnav li li a:link,
.mainnav li li a:visited {
	display: block;
	height: auto !important;
	text-transform: none;
    color: #666;
	font-weight: normal;
	font-size: 12px;
	border: none;
	margin: 0;
	padding: 0;
	margin-left: 15px;
}

.mainnav li li a:hover {
	color: #000 !important;
}

.select-menu {display: none;}


/* content */

#contentwrapper {
	max-width: 1040px;
	clear: both;
	margin: 0 auto;
	padding-top: 100px;
	margin-bottom: 10px;
	padding-bottom: 40px;
	overflow: hidden;
	padding-left: 15px;
	padding-right: 15px;
}

#contentport {
	float:left;
	width: 100%;
}

.attachment-mainthumb {
	margin:0;
	padding:0;
	width: 41%;
	float: left;
	padding: 4%;
	background: url(images/whitetrans.png);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	margin-bottom: 20px;
}

.post {
	margin:0;
	padding:0;
	width: 41%;
	float: right;
	padding: 4%;
	background: url(images/whitetrans.png);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	margin-bottom: 20px;
}

.postfull {
	margin:0;
	padding:0;
	width: 92%;
	float: right;
	padding: 4%;
	background: url(images/whitetrans.png);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	margin-bottom: 20px;
}

.blogpost {
	float:left;
	clear: left;
	width: 100%;
}

.entry {
	clear: left;
	float: left;
	width: 100%;
}

#portfoliopage {
	margin:0;
	padding:0;
	width: 41%;
	float: right;
	padding: 4%;
	background: url(images/whitetrans.png);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	margin-bottom: 20px;
}


#contentport .type-portfolio {
	width: 41%;
	float: left;
	padding: 4%;
	margin-bottom: 20px;
	background: url(images/whitetrans.png);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}

#contentport .even {
	float: right;
}

#contentport .attachment-mainthumb {
	margin:0;
	padding:0;
	width: 100%;
	float: left;
	background: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

h1.entry-title,
h2.entry-title {
	margin:0;
	padding: 0;
	line-height: 115%;
	margin-bottom: 15px;
	font-weight: 400;
	background: url(images/line.png) bottom center no-repeat;
	color: #333;
	padding-bottom: 10px;
	text-transform: uppercase;
	font-family: 'Lato', arial, helvetica;
	font-size: 50px;
	text-decoration: none;
	text-align: center;
}

h2.entry-title a {
	text-decoration: none;
	color: #333;
}

h1.entry-title {

}

h2.pagetitle {
	display: none;
}

#contentport h2.entry-title {
	margin: 0;
	padding: 0;
	margin-top: -50px;
	background: none;
	height: 50px;
	line-height: 50px;
	font-size: 20px;
	text-align: left;
	padding-left: 5%;
	background: url(images/slider/transparent.png);
	width: 95%;
	float: left;
	clear: left;
}

#contentport h2.entry-title a {
	color: #fff;
	font-family: 'Lato', arial, helvetica, tahoma, sans-serif;
	display: block;
}

.post ul {}

.post li {
	margin-left: 15px;
}

.entry p {
	margin: 8px 0;
}

.mdata {
	width: 100%;
	float: left;
	clear: left;
	background: url(images/line.png) no-repeat top center;
	margin: 0;
	padding: 0;
	height: 12px;
	margin-top: 10px;
	padding-top: 5px;
	font-size: 12px;
}

a.more-link {
	font-style: normal;
	text-transform: none;
	text-decoration: none;
	width: 50%;
	float: left;
}

a.more-link:hover {
	text-decoration: underline;
}

#timestamp {
	width: 50%;
	float: left;
	text-align: right;
}

.navigation {
	font-size:8pt;
	width:100%;
	float:left;
	margin:0;
	padding:0;
	overflow:hidden;
}

.alignleft a {
	float:left;
	margin:25px 0;
}

.alignright a {
	float:right;
	margin:25px 0;
}


/* comments */


#commentform {
	margin:0;
	padding:0;
}

#commentform p {
}

#commentform a {
	text-decoration: none;
	line-height: 14pt;
}

#commentform h3 {
	font-size: 10pt;
	font-weight: bold;
	color: #666;
	margin:0;
	padding:0;
}

#comment {
	width:80%;
}

#author, #email, #url, #comment {
	font-size: 11px;
	margin:5px 5px 0 0;
	padding:12px 16px;
	background: #fff;
	border: none;
}

#author, #email, #url {
	height:16px;
}

#submit {
	margin:5px 5px 0 0;
	cursor:pointer;
	color: #333;
	padding: 12px 16px;
	background: #fff;
	border: none;
}

#comments {
	margin:0;
	padding:0;
}

#respond h3,
h3#comments {
	color: #333;
	font-size: 16px;
	margin-bottom: 2px;
	clear: left;
	text-transform: uppercase;
	font-weight: normal;
	padding-top: 20px;
}


.reply a.comment-reply-link {
	background: #fff;
	font-size: 11px;
	border: none;
	padding:0;
	color: #333;
	padding: 4px 7px;
}

.reply a.comment-reply-link:hover,
#submit:hover {
	color: #fff;
	background: #333;
}

ol.commentlist {
	list-style-type: none;
	margin:0;
	padding:0;
	float:left;
	margin-top: 15px;
}

.avatar {
	float:left;
	margin: 10px 20px 0 0;
}

ol.commentlist li {
	background: url(images/line.png) no-repeat center bottom;
	margin: 0;
	padding: 20px;
	padding-left: 0;
	list-style-type:none;
	float: left;
    max-width: 500px;
	margin-bottom: 20px;
}

ol.commentlist ul li {
    border: none;
    padding: 20px;
	max-width: 440px;
	padding-bottom: 0;
	padding-right: 0;
	background: none;
}

ol.commentlist li.alt {

}

ol.commentlist li p {
	margin: 6px 0 6px 0;
	padding: 0 12px 0 0;
	line-height: 14pt;
}

ol.commentlist a {
	text-decoration: none;
}

cite {
	font-family: arial, verdana, tahoma;
	font-size: 9pt;
	font-weight: bold;
	font-style: normal;
	}

cite a {
	color: #666;
	text-decoration: none;
	border-bottom: 1px dotted #666;
}

/* misc */

img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	padding-left: 2px;
}

img,
img[class*="align"],
img[class*="wp-image-"] {
   max-width: 100%;
   height: auto;
}

.alignright {
	float: right;
}

.alignleft {
	float: left
}

.alignleft a {
	float:left;
	margin:25px 0;
}

.alignright a {
	float:right;
	margin:25px 0;
}

.alignleft a {
	margin: 5px;
}

.alignright img {
        padding: 4px;
        margin: 0 0 2px 7px;
        display: inline;
}

.alignright a {
        float:right;
        margin: 0 ;
}

.wp-caption {
   	border: 1px solid #ddd;
   	text-align: center;
   	background-color: #f3f3f3;
   	margin: 0 10px 10px 0;
}

.wp-caption img a{
   	margin: 0;
   	padding: 0;
   	border: 0 none;
	margin: 0 auto;
}

p.wp-caption-text {
   	font-size: 11px;
   	line-height: 17px;
   	padding: 0 4px 5px;
   	margin: 0;
}

p { margin-top: 6px; }

#archivelist {
	float:left;
	margin-right: 0;

}

#archivelist ul li {
	list-style: none;
	line-height: 35px;
}

#archivelist ul {
	height: auto;
	margin-bottom: 30px;
}

#archivelist ul li a {
	color: #666;
	text-transform: uppercase;
}

#archivelist ul li a:hover {
	text-decoration: none;
}

ol {
	margin: 10px;
}

ul {
	margin: 5px;
}

/* footer */

#footer {

}


#footer a {

}

#copyinfo {

}

.slide-out-div {
      height: 10px;
	  line-height: 10px;
	  padding: 0;
	  margin: 0;
	  padding-top: 11px;
	  padding-bottom: 0;
      width: 440px;
      background: url(images/whitetrans.png);
	  text-align: center;
	  font-size: 12px;
}

.slide-out-div a {
	color: #333;
	text-decoration: none;
}

a.handle {
	background: url(images/credits.png) no-repeat;
	width: 90px;
	height: 33px;
	display: block;
}


@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px)  {

	html {
	    -webkit-text-size-adjust: none;
	}

	.post,
	.attachment-mainthumb,
	#contentport .type-portfolio {
		width: 90%;
		padding: 5%;
		float: left;
		clear: left;
	}

	#contentport h2.entry-title {
		font-size: 16px;
	}

	#socialize,
	.mainnav {display: none; }

	#mainmenu { border-bottom: none; }

	.select-menu {
		display: inline-block;
		width: 100%;
		float: right;
		clear: none;
	}

	h1.entry-title, h2.entry-title {
		font-size: 16px;
	}

	.pagination a.inactive, .pagination span { display: none; }
}
