/*
Theme Name: ma
Theme URI: 
Description: 
Version: 
Author: ma
Author URI: 
Tags:  Blue
License: GNU General Public License
License URI: license.txt
*/

/*
Please DO NOT edit this file, but add your styles in custom.css file.
Style.css is the main file of our Blocked theme and includes all classes, but all classes do NOT include colors and other type of unique attributes for our set of SHEMES. You can find them in folder color/css/name_of_sheme.
*/

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}

.video-wrapper {
	position: relative;
	z-index: 9;	
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.video-wrapper iframe {
	position: absolute;
		z-index: 9;	
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.blank-line {
	height: 2px;
}

.none {
    display: none;
}

audio,
canvas,
video {
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

audio:not([controls]) {
	display: none;
}

img {
	border: none;
}

section img {
	max-width: 100%;
	height: auto;
}

section {
	padding-bottom: 20px;
}
	
ul, ol {
    padding: 0;
    margin: 0;
}
* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
/* WordPress Wrapping Text Around Images */

img.alignright  { float:right; margin:0 0 1em 1em }
img.alignleft { float:left; margin:0 1em 1em 0 }
img.aligncenter { display: block; margin-left: auto; margin-right: auto }
.alignright { float:right; }
.alignleft { float:left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto }

/* List styles */
.list-default, .list-number, .list-square, .list-circle, .list-arrow {
    padding: 0 0 0 15px;
    margin: 0;
}

.list-default li, .list-number li, .list-square li, .list-circle li, .list-arrow li, section ul li {
    padding: 0 0 8px 8px;
}

.list-default {
    list-style: url(images/bullet_arrow_small.png);
}

.list-square {
    list-style: square;
}

.list-circle {
    list-style: disc;
}

.list-arrow {
    list-style: url(images/list_arrow.png);
}

section ul {
	margin: 0 0 0 15px;	
}

*:focus {
	outline: none;	
}

/* CSS3 animations */
.social-icons a img, .pricing-table-footer a, .responsive-on-demand, .responsive-on-demand-selected, .button, .icon-hover, button {
	transition: opacity 0.2s ease;
        -webkit-transition: opacity 0.2s ease;
        -moz-transition: opacity 0.2s ease;
		-o-transition: opacity 0.2s ease;
}

a {
	cursor: pointer;
}

a.icon .wrapper.default, a.icon .wrapper.circle, a.icon .wrapper.square, a.icon .wrapper.diamond {
	transition: background-image 0.2s ease;
        -webkit-transition: background-image 0.2s ease;
        -moz-transition: background-image 0.2s ease;
		-o-transition: background-image 0.2s ease;
}

.lb-next, .lb-prev {
	transition: none;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
		-ms-text-size-adjust: 100%;
	position: relative;
}

.clearfix {
	*zoom: 1;
	clear: both;
}

.clearfix:before,
.clearfix:after {
	display: table;
	line-height: 0;
	content: "";
}

.clearfix:after {
	clear: both;
}

.left {
float: left; 
box-sizing: border-box; 
}

.right {
	float: right;	
	box-sizing: border-box;
}

.main-wrapper {
	width: 1000px;
	margin: 0 auto;
	position: relative;
}

body, textarea {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5em;
	background-color: #ffffff;
}
.main-wrapper .a2{
	text-align: center; 
	font-size: 20px; 
	line-height: 1.8em; 
	margin: 35px 0 50px 0; 
	color: #333333;
}
/* Buttons */
.button, #wpmem_login input[type="submit"], #wpmem_reg input[type="submit"] {
	display:table;
    position: relative;
    font-size: 14px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
    border-radius: 4px;
        -moz-box-shadow: 1px 1px 2px #888;
        -webkit-box-shadow: 1px 1px 2px 0px #888;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, .14);
    text-shadow: rgba(0, 0, 0, .31) 0 -1px 1px;
    text-align: center;
    border: none;
    width: auto;
    cursor: pointer;
    opacity: 1;
    line-height: 30px;
    margin: 0 0 -10px 0;
}

.button:before, #wpmem_login input[type="submit"]:before, #wpmem_reg input[type="submit"]:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height:  8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-style: solid none none none;
    border-radius: 4px;
    -webkit-border-radius: 4px;
}

.button:after, #wpmem_login input[type="submit"]:after, #wpmem_reg input[type="submit"]:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height:  5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-style: none none solid none;
    border-radius: 4px;
    -webkit-border-radius: 4px;
}

.button:hover, #wpmem_login input[type="submit"]:hover {
    opacity: 0.9;
}

.button.large {
    font-size: 14px;
    padding: 10px 40px;    
}

.button.medium {
    font-size: 14px;
    padding: 7px 25px;    
}

.button.small {
    font-size: 11px;
    padding: 3px 20px;    
}

a {
    text-decoration: none;	
	transition: opacity 0.2s ease, color .3s;
        
    -webkit-transition: opacity 0.2s ease, color .3s,background-color 0.2s;
        -moz-transition: opacity 0.2s ease, color .3s;
		-o-transition: opacity 0.2s ease, color .3s;
}

.gallery-item img, .gallery-item a:before {
	transition: opacity 0.2s ease;
        -webkit-transition: opacity 0.2s ease;
        -moz-transition: opacity 0.2s ease;
		-o-transition: opacity 0.2s ease;	
}

/* Content layout */
.content-half, .content-third, .content-two-third, .content-quarter, .content-two-quarter, .content-three-quarter {
    float: left;
    position: relative;
    margin: 0 8% 0 0;
}

.content-half h1:first-child, .content-half h2:first-child, .content-half h3:first-child,
.content-half h4:first-child, .content-half h5:first-child {
	margin-top: 0;
}

.content-third h1:first-child, .content-third h2:first-child, .content-third h3:first-child,
.content-third h4:first-child, .content-third h5:first-child {
	margin-top: 0;
}


.content-two-third h1:first-child, .content-two-third h2:first-child, .content-two-third h3:first-child,
.content-two-third h4:first-child, .content-two-third h5:first-child {
	margin-top: 0;
}

.content-quarter h1:first-child, .content-quarter h2:first-child, .content-quarter h3:first-child,
.content-quarter h4:first-child, .content-quarter h5:first-child {
	margin-top: 0;
}

.content-two-quarter h1:first-child, .content-two-quarter h2:first-child, .content-two-quarter h3:first-child,
.content-two-quarter h4:first-child, .content-two-quarter h5:first-child {
	margin-top: 0;
}

.content-three-quarter h1:first-child, .content-three-quarter h2:first-child, .content-three-quarter h3:first-child,
.content-three-quarter h4:first-child, .content-three-quarter h5:first-child {
	margin-top: 0;
}

.content-half {
    width: 46%;
}

.content-two-third {
    width: 64%;
}

.content-third {
    width: 28%;
}

.content-quarter {
    width: 19%;
}

.content-two-quarter {
    width: 46%;
}

.content-three-quarter {
    width: 73%;
}


.content-half img, .content-two-third img, .content-third img, .content-quarter img, .content-two-quarter img, .content-three-quarter img {
    max-width: 100%;
    height: auto;
}

.last {
    margin: 0;
    clear: right;
}

.error_title {
	font-size: 190px;
	line-height: 150px;
	display: inline;
}

.error_sub_title {
	color: #2e2e2e;
	font-size: 24px;
	text-transform: none;
	font-weight: 400;
	display: inline;
	margin-left: 20px;
}

.error_text_large {
	margin: 40px 0 0 0;
	color: #000;
	font-size: 18px;
	font-weight: 400;
	text-transform: none;
}

.error_text {
	margin: 20px 0 0 0;
	color: #000;
	text-transform: none;
	font-weight: 400;
	font-size: 14px;
	line-height: 35px;
}

h1, h2, h3, h4, h5 {
    /*text-transform: uppercase;*/
}

h1 {
	line-height: 32px;
}

h2 {
	line-height: 26px;
}

h3 {
	line-height: 22px;
}

/* Progress shortcode */
.progress-wrapper {
    width: 100%;
    position: relative;
    border: 1px solid #eaeaea;
    border-style: none none solid none;
    margin: 0 0 11px 0;
    padding: 0 0 1px 0;
}

.progress {
    text-transform: uppercase;
    max-width: 100%;
    color: #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 15px;
    font-size: 12px;    
}
.content table, entry-content table{
	border-collapse:collapse;
	border:0px;
}
.content table, .content table tr td,
.entry-content table, .entry-content table tr td{
    border-collapse: collapse;
    border:1px solid #cccccc;
	font-size: 12px;
	padding:5px;
	line-height: 1.5em;
}
/* Quote */
/*blockquote, .quote-right, .quote-left {
	position: relative;
	color: #848484;
	font-style: normal;
	padding: 5px 20px;
	background: #eeeeee;
	margin: 10px;
    -webkit-border-radius: 15px;
       -moz-border-radius: 15px;
   	        border-radius: 15px;
	font-size: 15px;
	line-height: 1.8em;
}
.main-content{
	margin-top:120px;
}
*/
#logo {
	/* margin: 19px 0 0 0; */	
	float: left;
}

nav {
	margin: 0px 0 0 0;
}

nav li	{
	display: block;
	float: left;
	margin: 0 0 0 0px; 
	padding: 0;
	position: relative;
}

nav li a  {
    display: block;
    /* height: 30px; */
    line-height: 50px;
    padding: 24px 12px 44px 12px;
	font-size: 15px;
/*	color:#00548E;*/
    color:#2d4a5d;
	text-decoration: none;
	/*text-transform: uppercase;*/
}

nav li:hover {
 }
nav li a:hover:before  {
	height: 60px;
	padding: 0;
	margin: 0;
	width: 1px;
	position: absolute;
		left: 0;
		bottom: 7px;
}

nav li a:hover:after {
	height: 100px;
	padding: 0;
	margin: 0;
	width: 0px;
	position: absolute;
		right: 0;
		bottom: 7px;
		z-index: 9;
}
nav ul ul {
	display: none;
	padding: 0;
	background: #f0f0f0;
	border: 1px solid #ebebeb;
	position: absolute;
		top: 97px;
		left: 0px;
		z-index: 99999;
}

nav ul ul ul {
	border: none;	
	background: #f0f0f0;
}

nav ul ul li {
	float: none;
	width: 225px;
	margin: 0;
	background: #F0F0F0;
	background-image: -ms-linear-gradient(top, #F0F0F0, #F0F0F0);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=0, startColorstr=#F0F0F0, endColorstr=#F0F0F0)";
}

nav ul ul li:hover {
	background: #F0F0F0;
	background-image: -ms-linear-gradient(top, #F0F0F0, #F0F0F0);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=0, startColorstr=#F0F0F0, endColorstr=#F0F0F0)";
}

nav ul ul li a:before, nav ul ul li a:after {
	display: none;
		background-image: none;
		-ms-filter: none;
}

nav ul ul li:nth-child(n+2):before {
	content: "";
	border: 1px solid #e7e7e7;
	border-style: solid none none none;
	width: 85%;
	background: #f0f0f0;
	margin: 0 auto;
	display: block;	
	height: 1px;
}

nav ul ul li a { 
	font-size: 12px;
	text-transform: none;
	padding: 14px 47px 0;
	line-height:14px;
	color: #666666 !important;
	background: #f0f0f0;
}

nav ul ul li a:hover {
	background: #f0f0f0;
}

nav ul ul li.has-sub-menu:after {
	content: "";
	position: absolute;
		top: 17px;
		right: -1px;
		z-index: 9;
	width: 2px;
	height: 19px;
}

nav ul li:hover > ul {
	display: block;
}

nav ul ul li ul {
	z-index: 9;
	left: 221px; 
	top: 0;
	border: 1px solid #f0f0f0;
}

/* Mobile menu */
.mobile-menu {
	cursor: pointer;
	display: none;
	background: #fff;
	border: 1px solid #ececec;
	width: 100%;
	font-size: 15px;
		font-weight: bold;
	padding: 12px 20px;	
}


/* Breadcrumbs */
.breadcrumbs {
	width: 100%;
	text-align: left;
        
	margin: 0;
	background: #f3f3f3;
	padding: 10px 0;
}
.breadcrumbs ,
.breadcrumbs a {
	color: #ABABAB;
	font-size: 12px;
	line-height: 14px;
}

.breadcrumbs a:hover {
	color: #3399cc;	
}

.breadcrumbs-arrow, .box .next, .box .previous {
    vertical-align: middle;
    margin: 0 14px;
}

.box .previous {
    margin: 0 14px 0 0;
}

.box {
    /* width: 100%; */
    /* padding: 18px 0; */
    /* border: 1px solid #eaeaea; */
    /* background: #f7f7f7; */
	
    /* margin-bottom:20px; */	
}

#filters, .portfolio-pagination div {
    margin: 0 20px;
}

#filters li {
    float: left;
    list-style: none;
}

.box span {
/*    margin: 0 5px;*/
}

.box a {
    cursor: pointer;
}

.box a, .box span {
    color: #000;
}


.thumbnail {
    cursor: pointer;
    position: relative;
}

.portfolio-thumbnails-hover {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    background: #000;
    position: absolute;
        top: 0px;
        left: 0px;
    width: 117px;
    height: 117px;
    -webkit-transition-duration: 0.2s;
     -moz-transition-duration: 0.2s;
      -ms-transition-duration: 0.2s;
       -o-transition-duration: 0.2s;
          transition-duration: 0.2s;
}

/* Blog */
ul.page-numbers {
    padding:  0 0 20px 5px;
}

ul.page-numbers li {
    list-style: none;
    float: left;
}

ul.page-numbers li a:hover {
    color: #8E8E8E;
}

ul.page-numbers li .current {
    cursor: default;
}

ul.page-numbers li:after {
    content: "/";
    margin: 0 10px;
}

ul.page-numbers li:last-of-type:after, ul.page-numbers li.last-pagination:after {
    content: "";
    margin: 0;
}

ul.page-numbers .next {
    margin: 0;
}

.blog {
    position: relative;
}

.loop-page .blog:first-of-type h2 {
	margin-top: 0
}


/* No image post */
.no-image-post {
    display: block;
    margin-bottom:30px;
    background:#f4f4f4;
    padding-right:20px;
}

.no-image-post .post-date-comments3, .no-image-post header {
    display: table-cell;
    vertical-align: middle
}

.no-image-post .post-date-comments3 {
    width: 90px;
}

.post-date-comments3 div {
    padding: 5px 0 0 0;
    height: 69px;
}

.post-date-comments3 a, .post-date-comments3 div {
    float: left;
}

.post-date-comments a:after, .post-date-comments3 a:after {
    content: "";
    position: absolute;
        bottom: -18px;
        right: 0px;
    background: transparent;
    border-style:solid;
    border-width:9px;
    width:0;
    height:0;
}

.post-date-comments a:before, .post-date-comments3 a:before {
    content: "";
    position: absolute;
        bottom: -18px;
        left: 0px;
    width: 53px;
    height: 18px;
}
.post_title{
	font-size:15px;
}
.post_date{
	font-weight:bold;
}
.blog h2 a {
	display: block;
	font-size: 16px;
    text-transform: uppercase;
    margin:  20px 0 20px 0;
}

.blog h2.article-text-only a {
    margin:  0px 0 5px 0;
    display: block;
}

div.hr {
    border: 1px solid #ebebeb;
    border-style: solid none;
    height: 2px;
    margin: 50px 0 70px 0;
}

article div.hr {
    margin: 10px 0 70px 0;
}

.blog {
    line-height: 1.8em;
}

aside .sbg_title, aside .widget-title {
    margin: 35px 0 10px 0;
    margin-top: 0;
    border-bottom: 1px dotted #ccc;
}

.widget-container ul{
    padding:0 10px 20px 10px;
}
.widget-title ul li{
    padding-bottom:10px;
}
.widget_search{
	margin-bottom:20px;
}
.widget_search form{
	margin-left:10px;
}
aside li:first-child .sbg_title, aside li:first-child .widget-title {
    margin-top: 0;
}

.blog footer {
    margin: 40px 0 0 0;
    color: #505050;    
}

section .blog footer span {
    float: right;
}

.tags-author a, .bypostauthor {
    color: #000;
}

.tags-author a:hover {
    color: #505050; 
}

.tags-author, .post-date-comments2 {
    color: #000;
    font-weight: normal;
    margin: 0 0 20px 0;
}

.blog-no-sidebar .tags-author {
	display: block;
	width: 100%;
}

.sticky {
	
}

/* Sidebars */
.sidebar {
    width: 250px;
}

.sidebar-right, .sidebar-two-right {
    float: right;
    
    margin-top: 40px;
}

.sidebar-left, .sidebar-two-left {
    float: left;
    margin: 0 37px 0 0
    
}

.blog .wp-post-image {
    position: relative;
}

.blog .wp-post-image img, .blog .wp-post-image {
    width: 100%;
    height: auto;
    display: none
}

 .blog-four-column .video-wrapper, .blog-three-column .video-wrapper,  .blog-two-column .video-wrapper {
 	padding:  0 0 8px 0;
 }

.blog-no-sidebar .video-wrapper iframe, .blog-no-sidebar .video-wrapper {
	width: 495px;
	height: 337px;
	float: left;
	padding: 0 0 10px 0;
}

.blog-four-column .wp-post-image img, .blog-four-column .blog .wp-post-image, .blog-four-column .video-wrapper {
	height: 140px;
}

.blog-three-column .wp-post-image img, .blog-three-column .blog .wp-post-image, .blog-three-column .video-wrapper {
	height: 190px;
}

.blog-two-column .wp-post-image img, .blog-two-column .blog .wp-post-image, .blog-two-column .video-wrapper iframe, .blog-two-column .video-wrapper {
	height: 337px;
}

.blog .wp-post-image img:first-of-type, .blog .wp-post-image {
    display: inline-block;
}

/* Blog with two columns */
.blog-two-column article {
    width: 450px;
    float: left;
}

.blog-two-column article {
    padding-right: 40px;
}

.blog-two-column article:nth-of-type(2n) {
    padding: 0;
}

/* Blog with three columns */
.column-hr {
    width: 100%;
    height: 1px;
    float: left;
}

.blog-three-column article {
    width: 286px;
    float: left;
}

.blog-three-column article {
    padding-right: 41px;
}

.blog-three-column article:nth-of-type(3n) {
    padding: 0;
}

/* Blog with four columns */
.blog-four-column article {
    width: 212px;
    float: left;
}

.blog-four-column article {
    padding-right: 30px;
}

.blog-four-column article:nth-of-type(4n) {
    padding: 0 0 0 2px;
}

/* Blog with no sidebar */
.blog-no-sidebar .wp-post-image {
    width: 495px;
    height: 337px;
}

.blog-no-sidebar .blog-main {
    width: 390px;
    margin: 0 0 0 46px;
    float: right;
}

.blog-no-sidebar h2 {
    margin: 0 0 10px 0;
}

.tags-author {
    margin: 0 0 30px 0;
    float: left;
}

/* Social icons */
.addthis_toolbox {
    margin: 0 0 0 20px;
    height: 20px;
}

.addthis_button_tweet {
    width: 90px
}

.addthis_button_facebook_like iframe, .addthis_button_facebook_like {
    width: 120px !important;
}

/* Blog with one sidebar */
.blog-one-sidebar {
    width: 700px;
    float: left;
}

/* Blog with two sidebars */
.blog-two-sidebar {
    width: 402px;
    float: left;
}

/* Classes for sidebar widgets */
aside li {
    list-style: none
;
    padding: 3px 0;
}

aside h2, aside h3 {
    font-size: 15px;
}

/* Sidebar search */
.screen-reader-text {
    display: none;
}

#searchform div {
    position: relative;
}

#s {
   border: 1px solid #ccc;
   width: 100%;
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
   display: block;
   font-size: 12px;
   padding: 7px 10px;
 
   border-radius: 5px;
   outline: 0;
}

#searchsubmit {
    display: none;
    cursor: pointer;
    position: absolute;
        top: 5px;
        right: 5px;
    width: 33px;
    height: 23px;
    border: none;
    background: url(images/search.png);
    padding: 0;
    margin: 0
}

/* Sidebar menu */
.sidebar-menu ul li {
    border: 1px solid #ebebeb;
    border-style: solid none none none;    
}

.sidebar-menu ul li a.selected-link {
    margin-left: 5px;
}

.sidebar-menu ul li:first-of-type {
    border: none;
}

aside .menu li a {
	color: #727271;
}

aside .menu li.current-menu-item a {
	cursor: default;
}

/* Sidebar categories */
.cat-item, aside .menu li {
    margin: 0 0 0 0px;
    /*border: 1px solid #ebebeb;
    border-style: none none solid none;
	*/
}

.cat-item:last-of-type, aside .menu li:last-of-type {
    border: none;
}

.cat-item a:before, .quotes article span:before, .testimonial span:before, .sidebar-menu ul a:before, aside .menu li a:before {
    /*content: url(images/bullet_arrow_small.png);
    margin: 0 10px 0 0;*/
}

.cat-item a, .sidebar-menu ul li a, aside .menu li a {
    display:  block;
    /*padding: 7px 0 6px 0;*/
    -webkit-transition: margin .2s linear;
    -moz-transition: margin .2s linear;
    -ms-transition: margin .2s linear;
    -o-transition: margin .2s linear;
    transition: margin .2s linear;
	color:#021f7a;
	-moz-transition:color 0.2s;
	-ms-transition:color 0.2s;
	-o-transition:color 0.2s;
	-webkit-transition:color 0.2s;
	transition:color 0.2s;
}

.cat-item a:hover, .sidebar-menu ul li a:hover, aside .menu li a:hover, aside .menu li.current-menu-item a {
    /*margin-left: 5px;*/
	color:#0084DF;
}

input[type="button"], input[type="submit"] {
    border: 0px;
    font-size: 16px;
    background: url(images/reply_arrow.png) 0 8px no-repeat;
    padding: 0 0 0 25px;
    margin: 30px 0 0 20px;
    cursor: pointer;
}

.form-element-wrap {
	margin: 23px 0 0 0;
	width: 100%;
	position: relative;
}

.contact-form form-element-wrap:first-child {
	margin-top: 0
}

#comment-form, .contact-form {
    padding: 0 0 0 48px;
    position: relative;
}

#comment-form:before, .contact-form:before {
    content: "";
    position: absolute;
        top: 0;
        left: 0px;
    border: 1px solid #ebebeb;
    border-style: none solid;
    width: 2px;
    height: 100%;
}

.form-buttons {
    float: right;
    margin-bottom: 40px;
}

textarea {
    max-width: 98%;
    width: 98%;
    padding: 1%;
    height: 182px;
    margin: 0 0 -5px 0;
}

textarea, input[type="text"], input[type="email"], .contact-form select, section input[type="password"] {
	border: 1px solid #ececec;
	outline: 1px solid #ccc;
}

input:focus, textarea:focus, isindex:focus, keygen:focus, select:focus {
	outline-offset: 0px;

}

section input[type="text"], .contact-form textarea, .contact-form input[type="email"], .contact-form input[type="text"], .contact-form select, section input[type="password"] {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 7px 10px;
    margin: 0;
    max-width: 100%;
    color: #727272;
}

select {
	cursor: pointer;
}

.form-submit #submit {
    display: none;
}


/* Tabs shortcode */
.tabs-menu {
	width: 100%;
	margin: 0
}

.tabs-menu li {
    float: left;
    padding: 12px 39px;
    list-style: none;
    background: #f3f3f3;
    border: 1px solid #eaeaea;
    border-style: solid solid none none;
    text-align: center;
    color: #a8a8a8;
    font-size: 12px;
    position: relative;
}

.tabs-menu li:hover {
    cursor: pointer;
    color: #454545;
}

.tabs-menu li .tab-over {
    display: none;
}

.tabs-menu li.selected-tab-menu .tab-over  {
    transition: all 1s ease-in; 
    color: #454545;
    background: #fff;
    border: 1px solid #eaeaea;
    border-style: solid none none solid;
    padding: 15px 32px 12px 37px;
    position: absolute;
        top: -3px;
        left: -1px;
        z-index: 15;
    display: block;
}

.tabs-menu li.selected-tab-menu .tab-over:after {
    content: "";
    position: absolute;
        bottom: 0px;
        right: -13px;
    background: #fff;
    width: 20px;
    height: 1px;
}

.tabs-menu li.selected-tab-menu:before {
    content: "";
    position: absolute;
        top: -3px;
        right: -4px;
        z-index: 19;
    background: none;
    padding: 0;
    width: 0;
    height: 0;
    border-color: transparent transparent #838383 #838383;
    border-style:solid;
    border-width:7px;
}

.tabs-menu li.selected-tab-menu:after {
    content: "";
    position: absolute;
        top: 11px;
        right: -5px;
        z-index: 9;
    background: #fff;
    border: 1px solid #eaeaea;
    border-style: none solid none none;
    width: 22px;
    height:60px;
}

.tabs-menu li:last-of-type.selected-tab-menu:before {
    border-color: #fff #fff #838383 #838383;
}

.tabs-menu li:first-of-type .tab-over {
    left: 0px;
}

.tabs-menu li:first-of-type {
    border-style: solid solid none solid;
}

.tabs-menu li.selected-tab-menu {
    border-style: solid none none none;
}

.tabs-wrapper {
    padding: 21px 15px;
    border: 1px solid #eaeaea;
    background: #fff;
    box-sizing: border-box;
    	-webkit-box-sizing: border-box;
    	-moz-box-sizing: border-box;
    width: 100%;
    position: relative;
    z-index: 10;
}

.tab {
    display: none;
}

.tab:first-of-type {
    display: block;
}


/* Popular/recent/comments widget */

aside .tabs {
	line-height: 20px;
	margin: 40px 0 0 0; 	
}

aside .tabs-menu li {
    padding: 3px 20px 3px 22px; 
}

aside .tabs-menu li.selected-tab-menu:before {
    top: -3px;
	right: -1px;
    border-width: 6px;
    z-index: 300;
}

aside .tabs-menu li.selected-tab-menu:after {
	z-index: 300;
	top: 9px;
	right: -1px;
	height: 25px;
}

aside .tabs-menu li:first-of-type.selected-tab-menu .tab-over:after {
	right: -11px;
}

aside .tabs-menu li.selected-tab-menu .tab-over:after {
	right: -11px;
}

.popular .wp-post-image img, .popular .wp-post-image, .recent .wp-post-image img, .recent .wp-post-image, .comments-widget img {
    width: 48px;
    height: 48px;
}

aside .tabs-menu li:last-of-type.selected-tab-menu:before { 
	border-color: #fff #fff #838383 #838383;
}

.popular-comments-tab, .popular-comments-tab-hover {
    background: url(images/recent_comments.png) no-repeat;
	width: 18px;
	height: 16px;
	margin: 0 auto;
	margin-bottom: 4px;
}

.popular-comments-tab-hover {
	background: url(images/recent_comments.png) 0 16px;	
}

aside .tabs-menu li {
    padding: 7px 20px 7px 22px;
}

aside .tabs-menu li:first-of-type {
	border-style: solid none none solid;
    padding: 7px 21px 7px 21px;
}

aside .tabs-menu li.selected-tab-menu:first-of-type {
	border-style: solid none none none;
}

aside .tabs-menu li:last-of-type {
	padding: 7px 21px 7px 21px;
}

aside .tabs-menu li.selected-tab-menu:last-of-type {
	padding: 7px 21px 7px 21px;
}

aside .tabs-menu li.selected-tab-menu .tab-over  {
    padding: 7px 13px 10px 18px;
}

aside .tabs-menu li.comments-widget {
    padding: 7px 10px;
}

/* Popular posts */
aside .tab.popular .image, aside .tab.recent .image, aside .tab.comments-widget .image {
	float: left;
	margin: 0 10px 0 0;
}

aside .tab.popular p, aside .tab.recent p {
	padding: 0;
	margin: 0 0 4px 0;
	height: 32px;
	overflow: hidden;
}

aside .tab.comments-widget p {
	padding: 0;
	margin: 0 0 4px 0;
}

aside .tab.popular .post:hover, aside .tab.recent .post:hover, aside .tab.comments-widget .post:hover {
	color: #454545;
}
 
aside .tab.popular .post, aside .tab.recent .post, aside .tab.comments-widget .post {
	font-size: 11px;
	border: 1px solid #ebebeb;
	border-style: none none solid none;
	padding: 20px 0;
	display: block;
	line-height: 16px;
}

aside .tab.comments-widget .comment-content {
	color: #c8c8c8;
}

aside .tab.popular .date, aside .tab.recent .date {
	color: #c8c8c8;
	font-style: italic;
}

aside .tab.popular .post:first-of-type, aside .tab.recent .post:first-of-type, aside .tab.comments-widget .post:first-of-type {
    padding: 0 0 20px 0;
}

aside .tab.popular .post:last-of-type, aside .tab.recent .post:last-of-type, aside .tab.comments-widget .post:last-of-type {
	border: none;
	padding: 20px 0 0 0;
}


.prefooter {
	height: 75px;
	background: #fff;
}

footer#site-footer {
    font-size: 12px;
    /* line-height: 26px; */
    padding: 0px 0 0 0;
}

.footer p, footer a, .footer {
    color: #fff;	
    
}
footer a:hover{
	color:#949494; 
}

.tweet_time {
    display: block;
    font-size:  11px;
    margin-bottom:  20px;
}

.footer p, footer a, .tweet_text {
	transition: color 0.2s ease;
        -webkit-transition: color 0.2s ease;
        -moz-transition: color 0.2s ease;
		-o-transition: color 0.2s ease;
}

footer#site-footer ul li {
    list-style: none;
    background: url(img/common/footer/footer_point.png) no-repeat left 3px;
    padding-left: 8px;
}

footer#site-footer ul li ul li {
    float: none
}


#thumbs {
   width: 179px; 
   margin-top: 14px; 
}

.social {
    height: 56px;
    width:  100%;
    margin: 0;
}

footer#site-footer .copyright {
    /* margin-top: 16px; */
    float: left;
}

#toTop {
	display:none;
	text-decoration:none;
	position:fixed;
	bottom:10px;
	right:10px;
	overflow:hidden;
	width:49px;
	height:51px;
	border:none;
	text-indent:100%;
        z-index: 999;
	transition: none;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
}

#toTopHover {
	width:40px;
	height:40px;
	display:block;
	overflow:hidden;
	float:left;
	-moz-opacity: 0;
	filter:alpha(opacity=0);
	background:url(img/common/PageTop_off.png) no-repeat left top;
}

#toTop:active, #toTop:focus {
	outline:none;
}



/* Latest posts shortcode */

.latest-post {
	float: left;
	width: 220px;
	height: 400px;
	margin: 0 20px 0 0;
}

.latest-post .responsive {
	display: none
}

.latest-post h3 {
	font-weight: 600;
}

.latest-post:nth-of-type(4n) {
	margin: 0;
}

.latest-post .read-more {
	float: right;
	margin: 5px 0 15px 0;
}

.latest-post .subheading {
	color: #505050;
}

.latest-post .subheading strong {
	color: #000
}

.latest-post .no-image {
	margin-top: 0;
}

.latest-post .video {
	margin-top: 35px;
}

.latest-post .video-wrapper iframe {
	height: 165px;
}


.caption iframe {
	border: 0px !important;
}


/* WooSlider */

.wooslider {
	margin: 0 !important;
	border: none!important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	-o-box-shadow: none !important;
	box-shadow: none !important;
}

body .wooslider .slide-content {
	margin: 0 !important;
	padding: 0 !important;
}

section ul li {
	padding: 0;
}

.list-arrow li {
	padding: 0 0 8px 8px;
}

.wooslider-direction-nav .wooslider-next {
	right: 0px !important; 
}

.wooslider-direction-nav .wooslider-prev {
	left: 0px !important; 
}


.search-pagination {
	margin-top: 40px;
}

.search-pagination .box {
	padding-left: 20px;	
}

.search .breadcrumbs {
	margin-bottom:  30px;
}
.content,
.entry-content{
	line-height: 1.9em;
	font-size: 16px;
	color: #6a6a6a;
}
.entry-content p,
.topic .content p,
.entry-content figure,
.topic .content figure {
    margin: 10px 0 20px;
}