@import url("base.css");
@import url("font-awesome.min.css");
 
/*
[Master Stylesheet]
Project: Pembrooke

[Table of contents]
1. WordPress Core
2. Header
3. Menu
4. Footer
5. Content

*/

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
    clear: both;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
    clear: both;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

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

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 0 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

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

.dn {
    display: none;
}

body {
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 20px;
	color:#666;
	opacity:0;
    background: #ffffff;
	transition:opacity 0.2ms;
	-webkit-transition:opacity 0.2ms;
}

body.page_loaded {
	opacity:1;
}

body,
html {
    overflow-x: hidden !important;
}

::-webkit-input-placeholder {
    opacity: 1 !important;
}

:-moz-placeholder {
    opacity: 1 !important;
}

::-moz-placeholder {
    opacity: 1 !important;
}

:-ms-input-placeholder {
    opacity: 1 !important;
}

a, input, select, textarea {
    vertical-align: top;
    outline: none !important;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

textarea {
    resize: none;
}

body.admin-bar {
    padding-top: 0;
}

.site_container {
    position: relative;
}

p {
    margin: 0 0 18px 0;
    padding: 0;
}

a {
    color: #4f4f4f;
    outline: none;
    text-decoration: none;
    -webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: none;
}

p > a:hover {
    color: #4f4f4f;
}

img {
    vertical-align: top;
    outline: none;
    max-width: 100%;
    height: auto;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

iframe {
    max-width: 100%;
}

.fleft {
    float: left;
}

.fright {
    float: right;
}

.clear {
    clear: both;
    height: 0;
    font-size: 0
}

ul.nolist, .sidepanel ul, footer ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

ul.nolist li, footer li, .sidepanel li {
    list-style: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td, table th {
    padding: 7px;
    text-align: center;
    border: 1px solid #cecece;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    width: auto;
    height: 40px;
    margin: 0 7px 10px 0;
    padding: 8px 12px;
    line-height: 20px;
    font-size: 13px;
    color: #979797;
    box-shadow: none;
    border: 2px solid #f4f4f4;
    border-radius: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input[type="submit"] {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 10px 20px;
    height: 40px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 20px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.5px;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    -webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
    background-color: #4f4f4f;
}

.sticky {
}

.commentlist .bypostauthor {
}

.gallery-caption {
}

/* Header */
header {
	position:relative;
	padding-top:1px;
	padding-bottom:1px;
}

header:before{
	content:'';
	position:absolute;
	z-index:3;
	left:0;
	top:0;
	display:none;
	width:100%;
	height:100%;
	background-color:rgba(21,21,21,0.4);
}

header .menu-wrap {
    position: absolute;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100%;
}

/* if header type 2, 3, 4 */
header.header_type2 .menu-wrap .container,
header.header_type3 .menu-wrap .container,
header.header_type4 .menu-wrap .container {
	border-bottom:1px solid rgba(255,255,255,0.2);
}

.secline_wrap {
	position: absolute;
    z-index: 4000;
    left: 0;
    top: 49px;
    width: 100%;
}


/* Logo */
.logo a {
    display: block;
    margin: 0 auto;
}

/* if header type 2 */
header .logo-wrap {
	position:relative;
	z-index:10;
}

.header_type2 .logo-wrap {
	position:absolute;
	z-index:10;
	left:50%;
	top:0;
	width:auto;
	transform:translateX(-50%);
	-webkit-transform:translateX(-50%);
}
.header_type2 .logo {
	padding:19px 0 18px;
	text-align:center;
}
.header_type2 .logo a {
	max-height:80px;
}
.header_type2 .logo img {
	max-height:80px;
}

/* if header type 3 */
.header_type3 .logo {
	padding:19px 0 18px;
}
.header_type3 .logo a {
	max-height:80px;
	max-width:160px;
}
.header_type3 .logo img {
	max-height:80px;
}

/* if header type 4 */
.header_type4 .logo {
	padding:19px 0 18px;
}
.header_type4 .logo a {
	max-height:80px;
}
.header_type4 .logo img {
	max-height:80px;
}

/* Header social */
header .gt3_socials_wrap {
    margin-top: 16px;
    margin-bottom: 14px;
}

.gt3_socials a {
    margin-left: 14px;
}

.gt3_socials a:first-child {
    margin-left: 0;
}

.gt3_socials i {
    font-size: 15px;
	color:#fff;
	transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
}

.gt3_socials a:hover i {
    opacity: 0.7;
}

/* if header type 2 */
header.header_type2 .gt3_socials_wrap,
header.header_type3 .gt3_socials_wrap {
	margin-top:49px;
	margin-bottom:48px;
}

header.header_type2 .gt3_socials,
header.header_type3 .gt3_socials {
	float:left;
	transition:opacity 200ms;
	-webkit-transition:opacity 200ms;
}
header.header_type2 .open .gt3_socials,
header.header_type3 .open .gt3_socials {
	opacity:0;
}

/* if header type 4 */
header.header_type4 .gt3_socials_wrap {
	margin-top:14px;
	margin-bottom:14px;
}


/* Header Slogan */
.header_slogan {
	padding-top:14px;
	padding-bottom:13px;
	color:#fff;
}


/* Header search */
.header_search_wrap {
	position:relative;
	float:right;
	margin-left:35px;
	margin-top:1px;
}
.header_search_wrap i {
	position:relative;
	z-index:4;
	display:block;
	width:18px;
	height:18px;
	text-align:right;
	line-height:18px;
	font-size:15px;
	color:#fff;
	cursor:pointer;
}
.header_search_wrap form {
	position:absolute;
	z-index:-1;
	top:0;
	right:0;
	width:375px;
	opacity:0;
	transition:opacity 200ms;
	-webkit-transition:opacity 200ms;
}
.open .header_search_wrap form {
	z-index:10;
	opacity:1;
}
.header_search_wrap input[type="text"] {
	margin:0;
	padding:0;
	width:100%;
	height:18px;
	border:0;
	line-height:18px;
	color:#fff;
	background:none;
}

.header_search_wrap input::-webkit-input-placeholder {color:#fff;}
.header_search_wrap input::-moz-placeholder          {color:#fff;}
.header_search_wrap input:-moz-placeholder           {color:#fff;}
.header_search_wrap input:-ms-input-placeholder      {color:#fff;}

.header_search_wrap input[type="submit"] {
	position:absolute;
	z-index:3;
	top:0;
	right:0;
	margin:0;
	padding:0;
	width:18px;
	height:18px;
	opacity:0;
}
.open .header_search_wrap input[type="submit"] {
	z-index:5;
}

/* if header type 3 */
header.header_type3 .header_search_wrap form {
	width:200px;
}

/* if header type 4 */
.header_type4 .header_search_wrap {
	margin-top:50px;
}

/* Header Title */
.header_title_wrap {
	position:relative;
	z-index:10;
	width:640px;
	margin:0 auto;
	text-align:center;
	color:#fff;
	letter-spacing:0.5px;
}

.header_title_wrap h2 {
	margin:0 0 26px;
	line-height:42px;
	font-size:23px;
	color:#fff;
}

.header_title_wrap p {
	margin:0;
}

.header_title_wrap .entry-title-divider {
	margin-bottom:25px;
}
.header_title_wrap .entry-title-divider span {
	background-color:#fff;
}


/* Menu */
header .menu li {
    position: relative;
}

header .menu > li {
    display: inline-block;
    vertical-align: top;
    margin-right: 30px;
    padding: 13px 0;
}

header .menu li a {
    font-weight:700;
	font-size: 13px;
    line-height: 24px;
	color:#fff;
}

header .sub-menu {
    visibility: hidden;
    position: absolute;
    padding: 22px 0 5px;
    top: 40px;
    left: 50%;
    margin-left: -95px;
    width: 190px;
    opacity: 0;
    border-top: 2px solid transparent;

    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

header .menu li:hover > .sub-menu {
    visibility: visible;
    z-index: 30000;
    top: 50px;
    opacity: 1;
}

header .sub-menu:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 0;
    margin-left: -5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 4px solid red;
}

header .sub-menu li {
    display: block;
    margin-bottom: 9px;
}

header li a i.fa {
    display: none;
}

header .sub-menu li.menu-item-has-children > a i {
    margin-left: 12px;
    display: inline-block;
    position: relative;
    top: 1px;
}

header .menu li .sub-menu a {
    display: block;
    padding: 0 20px;
	font-weight:400;
    font-size: 13px;
    line-height: 20px;
    color: #979797;
}

header .sub-menu .sub-menu {
    left: 100%;
    margin-left: 0;
    top: -24px !important;
}

/* if header type 2, 3 */
header.header_type2 .menu,
header.header_type3 .menu {
	padding-top:34px;
	padding-bottom:33px;
}

header.header_type2 .menu > li,
header.header_type3 .menu > li {
	margin-right:36px;
}

/* if header type 4 */
header.header_type4 .menu-menu-container{
	transition:opacity 200ms;
	-webkit-transition:opacity 200ms;
}
header.header_type4 .open .menu-menu-container{
	opacity:0;
}
header.header_type4 .menu {
	padding-top:34px;
}
header.header_type4 .menu > li {
	margin-right:0;
	margin-left:36px;
}


/* Footer Menu */
.footer_menu li {
    display: inline-block;
    vertical-align: top;
}

.footer_menu li:after {
    content: '/';
    padding: 0 15px;
    line-height: 24px;
}

.footer_menu li:last-child:after {
    display: none;
}

.footer_menu li a {
    line-height: 24px;
    font-size: 13px;
}

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

.footer_menu li a i {
    display: none;
}

/* Page 404 */
.error404 .tiny_contentarea {
    border-bottom: none;
    text-align: center;
    margin-bottom: 100px;
	margin-top:50px;
    padding-bottom: 0;
}

.error404 h1 {
    margin: 0 0 50px;
    line-height: 164px;
    font-size: 300px;
}

.error404 h2 {
    margin: 0 0 27px;
    line-height: 30px;
    font-size: 30px;
}

.error404 .entry-title-divider {
    margin-bottom: 22px;
}

.error404 p {
    margin-bottom: 25px;
}

.error404 input[type="text"] {
    display: inline-block;
    vertical-align: top;
    width: 467px;
    margin: 0 5px 10px 0;
}

button:focus, .stand_slide:focus, input:focus {
    outline: 0;
}


/* Footer */
footer {
    position:relative;
	margin-top: 39px;
    padding: 0;
}

footer:before{
	content:'';
	position:absolute;
	z-index:3;
	left:0;
	top:0;
	display:none;
	width:100%;
	height:100%;
	background-color:rgba(21,21,21,0.4);
}


/* Footer Sidebar */
footer .footer_sidebar {
	position:relative;
	z-index:10;
	padding:50px 0 0;
}

footer .row > div {
	margin-bottom: 25px;
}

footer .row > div > .sidepanel {
	margin:0 0 25px;
}

footer .sidepanel .title {
    margin: 0 0 20px;
	line-height:20px;
}


/* Copyright */
footer .copyblock {
	position:relative;
	z-index:10;
}
.copyblock .container {
	padding-top: 15px;
	border-top:1px solid rgba(255,255,255,0.2);
}

.copyblock .span6 {
	margin-bottom:0;
	padding-bottom:15px;
}

.flickr-feed li {
    display: inline-block;
    width: 21%;
    height: auto;
    margin-left: 4%;
    margin-bottom: 4%;
}

.flickr-feed li img {
    transition: 0.3s all;
}

.flickr-feed li:hover img {
    opacity: 0.7;
}

.flickr_widget_wrapper {
    margin-left: -4%;
    padding-left: 2px;
}

#wp-calendar {
    width: 100%;
}

#wp-calendar td {
    text-align: center;
    line-height: 20px;
}

/* Content */

.content {
    padding-top: 50px;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 30px;
    line-height: 30px;
}

h2 {
    font-size: 26px;
    line-height: 26px;
}

h3 {
    font-size: 20px;
    line-height: 20px;
}

h4 {
    font-size: 18px;
    line-height: 18px;
}

h5 {
    font-size: 16px;
    line-height: 16px;
}

h6 {
    font-size: 13px;
    line-height: 13px;
}

.entry-title {
    margin-bottom: 8px;
    text-align: center;
}

.entry-title h1 {
    margin: 0 0 26px;
}

.entry-title-divider {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 0 auto;
    height: 5px;
}

.entry-title-divider:before,
.entry-title-divider:after {
    content: '';
    position: absolute;
    top: 2px;
    width: 40px;
    height: 1px;
    background-color: #f4f4f4;
}

.entry-title-divider:before {
    left: -48px;
}

.entry-title-divider:after {
    right: -48px;
}

.entry-title-divider span {
    display: inline-block;
    vertical-align: top;
    width: 5px;
    height: 5px;
    margin: 0 3px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

blockquote {
    margin: 16px 0;
    padding: 1px 0 1px 18px;
    border-left: 6px solid #e5e5e5;
}

blockquote p:last-child {
	margin-bottom:0 !important;
}

.dropcap {
    display: inline-block;
    float: left;
    font-size: 54px;
    font-weight: 700;
    height: auto;
    line-height: 46px;
    margin: 3px 17px 0 0;
    padding: 0;
    text-transform: uppercase;
    vertical-align: top;
    width: auto;
}

.tiny_contentarea ol {
    padding-left: 23px;
}

.tiny_contentarea ul, .tiny_contentarea ol {
    padding-left: 50px;
}

.tiny_contentarea ul ul, .tiny_contentarea ol ol, .tiny_contentarea ul ol, .tiny_contentarea ol ul {
    padding-left: 25px;
    margin-top: 8px;
}

.tiny_contentarea li {
    margin-bottom: 8px;
}

pre {
    word-wrap: break-word;
    white-space: pre-wrap;
}

.tac {
    text-align: center;
}

.tar {
    text-align: right;
}

.post_featured_image {
    text-align: center;
    margin-bottom: 40px;
}

.postformats_cont {
    overflow:hidden;
	text-align: center;
    margin-bottom: 25px;
}

.blog_grid_style .postformats_cont.gt3_pf_audio iframe {
    height: 170px !important;
}

.post_meta {
    padding-bottom: 16px;
    text-align: center;
    line-height: 24px;
    font-size: 11px;
    color: #969696;
}

.post_meta a {
    color: #969696;
}

.meta_dib {
    display: inline-block;
    vertical-align: top;
}

.meta_dib:after {
    content: "/";
    padding: 0 12px;
}

.meta_dib:last-child:after {
    display: none;
}

.page .tiny_contentarea {
    margin-bottom: 0;
    border-bottom: none;
}

.page .tiny_contentarea p {
    margin-bottom: 10px;
}

.tiny_contentarea p:last-child {
    margin-bottom: 0;
}

.tiny_contentarea {
    padding-bottom: 35px;
}

.tiny_contentarea:after {
    content: "";
    display: block;
    clear: both;
}

.post_bottom {
    margin-bottom: 34px;
    border-bottom: 2px solid #f4f4f4;
}

/* Single Post tags list */
.single_post_tags_list {
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 30px;
    font-size: 13px;
    color: #4f4f4f;
    letter-spacing: 0.5px;
}

.single_post_tags_list a {
    display: inline-block;
    vertical-align: top;
    margin: 0 0 10px 10px;
    padding: 0 10px;
    text-transform: none;
    font-weight: 400;
    color: #666;
    background-color: #f4f4f4;
}

.single_post_tags_list a:hover {
    color: #fff;
}

/* Single Post likes */
.single_post_likes {
    margin-bottom: 40px;
}

.already_liked .fa-heart {
    color: #f04d4e;
}

.gt3_likes i {
    font-size: 16px;
}

.gt3_likes {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 30px;
    font-size: 13px;
    color: #4f4f4f;
    letter-spacing: 0.5px;
}

.gt3_add_like {
    cursor: pointer;
}

/* Single Post Share */
.share_block {
    margin-bottom: 36px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f4f4f4;
}

.share_block h5 {
    margin: 0 0 23px;
    line-height: 24px;
    font-size: 15px;
}

.share_block a {
    display: inline-block;
    vertical-align: top;
    width: 40px;
    height: 40px;
    margin: 0 10px;
}

.share_block a i {
    display: block;
    text-align: center;
    line-height: 36px;
    font-size: 15px;
    color: #979797;
    border: 2px solid #f4f4f4;
    border-radius: 50%;

    -webkit-transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.share_block a:hover i {
    color: #fff;
}

.share_block a:hover .fa-facebook-square {
    background-color: #5567a9;
    border-color: #5567a9;
}

.share_block a:hover .fa-twitter-square {
    background-color: #61abea;
    border-color: #61abea;
}

.share_block a:hover .fa-google-plus-square {
    background-color: #be4a39;
    border-color: #be4a39;
}

.share_block a:hover .fa-pinterest-square {
    background-color: #cb2027;
    border-color: #cb2027;
}

#comments {
    clear: both;
}

#respond {
    margin-bottom: 41px;
}

/* Single Post Pagination */
.single_post_pagin {
    margin-bottom: 35px;
}

.single_post_pagin a {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 18px;
    font-size: 13px;
    color: #4f4f4f;
    letter-spacing: 0.5px;
}

.single_post_pagin a i {
    display: inline-block;
    vertical-align: top;
    line-height: 18px;
    font-size: 15px;
}

.single_post_pagin .fleft a i {
    padding-right: 8px;
}

.single_post_pagin .fright a i {
    padding-left: 8px;
}

/* Featured Posts */
.featured_items {
    margin-bottom: 26px;
}

.featured_items .post_excerpt p {
    margin-bottom: 0;
}

.featured_items .post_excerpt {
    text-align: center;
}

.featured_items_img {
    display: block;
    margin-bottom: 21px;
}

.featured_items .entry-title {
    margin-bottom: 0;
}

.featured_items .entry-title h1 {
    margin: 0 0 12px;
    font-size: 20px;
}

.featured_items .post_meta {
    padding-bottom: 11px;
}

/* Single Post comments */
.postcomment {
    margin: 0 0 21px;
    line-height: 30px;
    font-size: 18px;
}

ul.commentlist {
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}

ul.commentlist ul {
    padding-left: 30px;
}

ul.children {
    list-style: none;
    margin: 0;
}

.stand_comment {
    margin-bottom: 34px;
    min-height: 60px;
}

.stand_comment {
    position: relative;
}

.stand_comment .thiscommentbody {
    padding-left: 70px;
}

.stand_comment .thiscommentbody p {
    margin-bottom: 14px;
    line-height: 22px;
}

.stand_comment .commentava {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.stand_comment .commentava img {
    border-radius: 50%;
}

.comment_info {
    padding-bottom: 9px;
}

.comment_info span,
.comment_info .comment-reply-link {
    display: inline-block;
    vertical-align: top;
    padding: 0 20px 0 0;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 22px;
    font-size: 13px;
    color: #4f4f4f;
    letter-spacing: 0.5px;
}

.comment-edit-link {
    text-transform: none;
    font-weight: 400;
    color: #666;
}

.comment-reply-link i {
    padding-right: 6px;
}

/* Single Post comment form */
.comment .comment-respond {
    padding-bottom: 40px;
}

.comment-reply-title {
    margin: 0 0 16px;
    line-height: 30px;
    font-size: 18px;
}

.comment-notes {
    margin-bottom: 15px;
}

.comment-form textarea {
    min-height: 130px;
}

.logged-in-as {
    margin-bottom: 14px;
}

#commentform input[type="text"],
#commentform textarea {
    width: 100%;
    margin-bottom: 10px;
}

input[type="text"]#author,
input[type="text"]#email {
    display: inline-block;
    vertical-align: top;
    width: 49.35%;
}

input[type="text"]#author {
    margin-right: 3px;
}

input[type="text"]#email {
    margin-left: 4px;
    margin-right: 0;
}

.comment-form .submit {
    font-size: 13px;
    line-height: 18px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    padding: 9px 22px;
    transition: all 0.3s;
}

.comment-form .form-submit {
    margin-bottom: 6px;
}

.left-sidebar-block {
    float: left;
    margin-left: 0 !important;
}

.span3.right-sidebar-block,
.span3.left-sidebar-block {
    width: 300px;
}

.content_block.span9 {
    width: 830px;
}

.left_sidebar .content_block {
    float: right;
}

/* Sidebar */
.content .sidepanel {
    padding-bottom: 27px;
}

.widget_text img {
    margin-bottom: 5px;
}

.widget_text p:last-child {
    margin-bottom: 0;
}

.content .sidepanel:first-child .title {
    margin-top: -7px;
}

.content .sidepanel .title {
    margin: 0 0 22px;
    text-align: center;
    font-size: 13px;
    line-height: 24px;
}

.content .sidepanel select {
    max-width: 100%;
}

.widget_rss .rsswidget {
    display: inline-block;
    vertical-align: top;
    margin: 0 2px;
}

.widget_rss .rsswidget img {
    vertical-align: middle;
}

.widget_rss li {
    margin-bottom: 20px;
}

.widget_rss li:last-child {
    margin-bottom: 0;
}

.widget_rss cite {
    text-align: right;
    display: inline-block;
    width: 100%;
}

/* Widget Search */
.widget_search .search_form {
    position: relative;
    margin-bottom: 0;
}

.widget_search .search_form:before {
    content: '\f002';
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    font-family: 'FontAwesome';
    text-align: center;
    line-height: 40px;
    color: #979797;
}

.widget_search input::-webkit-input-placeholder {
    color: transparent;
}

.widget_search input:-moz-placeholder {
    color: transparent;
}

.widget_search input::-moz-placeholder {
    color: transparent;
}

.widget_search input:-ms-input-placeholder {
    color: transparent;
}

.widget_search input[type=submit] {
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    opacity: 0;
}

.widget_search input[type=text] {
    width: 100%;
    margin-bottom: 5px;
    padding-right: 40px;
}

body.search-no-results .widget_search input[type=text] {
    width: 100% !important;
    margin: 0 !important;
}

/* Widget Posts */
.sidepanel.widget_posts {
    padding-bottom: 13px;
}

.recent_posts_content {
    position: relative;
    min-height: 60px;
    padding-bottom: 20px;
}

.with_img .recent_posts_content {
    padding-left: 80px;
}

.recent_posts_content img {
    position: absolute;
    top: 0;
    left: 0;
}

.recent_posts_title {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 5px;
    font-weight: 700;
    line-height: 20px;
}

.recent_posts_info {
    line-height: 20px;
    font-size: 11px;
}

footer .sidepanel.widget_posts {
	margin-bottom:30px;
	padding-bottom:0;
}

.wp-caption-text {
    text-align: center;
    margin: 7px 0;
}

.sidepanel select {
    width: 100%;
    padding: 5px;
}

/* Widget listing */
.content .widget_categories .title,
.content .widget_archive .title,
.content .widget_pages .title,
.content .widget_meta .title,
.content .widget_recent_comments .title,
.content .widget_recent_entries .title,
.content .widget_nav_menu .title {
    margin-bottom: 16px;
}

.content .widget_categories li:before,
.content .widget_archive li:before,
.content .widget_pages li:before,
.content .widget_meta li:before,
.content .widget_recent_comments li:before,
.content .widget_recent_entries li:before,
.content .widget_nav_menu li:before {
    content: '-';
    display: inline-block;
    padding-right: 8px;
}

.content .widget_categories li,
.content .widget_archive li,
.content .widget_pages li,
.content .widget_meta li,
.content .widget_recent_comments li,
.content .widget_recent_entries li,
.content .widget_nav_menu li {
    margin-bottom: 10px;
}

.content .widget_categories li:last-child,
.content .widget_archive li:last-child,
.content .widget_pages li:last-child,
.content .widget_meta li:last-child,
.content .widget_recent_comments li:last-child,
.content .widget_recent_entries li:last-child,
.content .widget_nav_menu li:last-child {
    margin-bottom: 0;
}

/* Widget Menu */
.widget_nav_menu .sub-menu {
    margin-top: 7px;
    padding-left: 10px;
}

.widget_nav_menu ul > li:last-child {
    margin-bottom: 0;
}

/* Widget Tags */
.content .sidepanel.widget_tag_cloud {
    padding-bottom: 30px;
}

.widget_tag_cloud a {
    display: inline-block;
    vertical-align: top;
    margin: 0 7px 10px 0;
    padding: 5px 10px;
    line-height: 20px;
    font-size: 13px !important;
    color: #666;
    background-color: #f4f4f4;

    -webkit-transition: color 0.2s, background-color 0.2s;
    transition: color 0.2s, background-color 0.2s;
}

.widget_tag_cloud a:hover {
    color: #fff;
}

/* Widget Mailchimp */
.mc_form_inside label {
    display: none;
}

.mc_form_inside .mc_input {
    background-color: transparent !important;
    border: 2px solid #979797 !important;
    margin-top: 0;
}

footer .mc_form_inside .mc_input {
    color: #ffffff;
}

.widget_mailchimpsf_widget #mc_mv_FNAME,
.widget_mailchimpsf_widget #mc_mv_LNAME,
#mc-indicates-required {
    display:none !important;
}

.widget_mailchimpsf_widget form {
	position:relative;
}

.widget_mailchimpsf_widget form input[type="text"] {
	width:100%;
	margin:0;
	padding-top:0;
	padding-bottom:0;
}

.widget_mailchimpsf_widget form .mc_signup_submit {
	position:absolute;
	bottom:0;
	right:0;
}

.widget_mailchimpsf_widget form #mc_signup_submit {
	width:auto;
	margin:0;
}


/* Single Quote, Link format */
.single-format-link .entry-title,
.single-format-quote .entry-title {
    display: none;
}

.gt3_pf_quote,
.gt3_pf_link {
    position: relative;
    margin-bottom: 22px;
    padding: 41px 50px 46px;
    text-align: left;
}

.single-format-link .featured_items .entry-title,
.single-format-quote .featured_items .entry-title {
    display: block;
}

.gt3_pf_quote .pformat-top-cont,
.gt3_pf_link .pformat-top-cont {
    position: relative;
    z-index: 4;
}

.gt3_pf_quote .single_featured_bg_image,
.gt3_pf_link .single_featured_bg_image {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #f4f4f4;
    background-size: cover;
    background-position: center center;
}

.gt3_pf_quote .single_featured_bg_image:before,
.gt3_pf_link .single_featured_bg_image:before {
    content: '';
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 21, 21, 0.5);
}

.postformats_cont.gt3_pf_link a.title_link,
.postformats_cont.gt3_pf_quote a.title_link {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
}

.pformat-quote-author {
    margin: 0;
    text-transform: none;
    font-weight: 400;
    line-height: 20px;
    font-size: 16px;
    color: #fff;
    letter-spacing: 0;
}

.main_color_text_hover {
    transition: color 0.3s;
}

a.post_format_link_href {
    word-wrap: break-word;
}

a.post_format_link_href:hover {
    color: #fff;
}

.postformats_cont.gt3_pf_link .entry-title-pformat,
.postformats_cont.gt3_pf_quote .entry-title-pformat {
    margin: 0 0 17px;
    font-size: 30px;
    line-height: 40px;
    color: #fff;
}

.postformats_cont.gt3_pf_link a.post_format_link_href,
.postformats_cont.gt3_pf_quote a.post_format_link_href {
    font-size: 16px;
}

.postformats_cont.gt3_pf_link a.post_format_link_href:before,
.postformats_cont.gt3_pf_quote a.post_format_link_href:before {
	display:none !important;
}

.postformats_cont.gt3_pf_quote .pformat-top-cont {
    min-height: 62px;
}

.right_sidebar .post_featured_image, .left_sidebar .post_featured_image {
    margin-top: 0;
}

/* Contact Form 7 */
.wpcf7-form {
    margin-bottom: -4px;
}

.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;
    margin-bottom: 0;
}

.wpcf7-form input[type="submit"] {
    width: auto;
}

.wpcf7-form span.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 10px;
}

.wpcf7-form span.wpcf7-form-control-wrap.your-name,
.wpcf7-form span.wpcf7-form-control-wrap.your-email {
    display: inline-block;
    vertical-align: top;
    width: 49.55%;
}

.wpcf7-form span.wpcf7-form-control-wrap.your-name {
    margin-right: 10px;
}

.wpcf7-response-output {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 7px !important;
    width: 97% !important;
    padding: 10px 1.5% !important;
}

/* Blog Posts List */
.stand_post {
    margin-bottom: 40px;
    padding-bottom: 35px;
    text-align: center;
    border-bottom: 2px solid #f4f4f4;
}

.stand_post .post_excerpt p {
    margin-bottom: 0;
}

.stand_post .post_meta {
    padding-bottom: 16px;
}

.stand_post .entry-title a {
    display: block;
}

.stand_post .entry-title h1 {
    line-height: 30px;
    font-size: 26px;

    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.gt3_pf_quote hr, .gt3_pf_link hr {
    border: none;
    border-bottom: 1px solid #666666;
    margin-top: 30px;
    margin-bottom: 25px;
}

.gt3_pf_quote .post_meta, .gt3_pf_quote .post_meta a, .gt3_pf_link .post_meta, .gt3_pf_link .post_meta a {
    color: #ffffff;
    font-size: 13px;
}

.gt3_pf_quote .tiny_contentarea, .gt3_pf_link .tiny_contentarea {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.gt3_pf_quote .the_category, .gt3_pf_link .the_category {
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Blog Posts grid */
.blog_grid_style{
	padding-bottom:35px;
}

.blog_grid_style .span6 .stand_post,
.blog_grid_style .span4 .stand_post,
.posts_container .row:last-child .span12 .stand_post {
    margin-bottom: 35px;
    padding-bottom: 0;
    border-bottom: 0;
}

.blog_grid_style .stand_post .entry-title {
    margin: 0;
}

.blog_grid_style .stand_post .entry-title h1 {
    margin: 0 0 15px;
    font-size: 20px;
}

.blog_grid_style .stand_post .post_meta {
    padding-bottom: 9px;
}

/* Blog Posts masonry */

/* Pagination */
ul.pagerblock {
    position: relative;
    clear: both;
    margin-top: -5px;
    text-align: center;
}

.pagerblock li {
    display: inline-block;
    vertical-align: top;
    margin: 0 8px;
}

.pagerblock li a {
    display: block;
    padding: 0;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    line-height: 18px;
    color: #4f4f4f;
    letter-spacing: 0.5px;
}

.pagerblock li a.current {
    cursor: default;
}

.pagerblock li.newer_posts,
.pagerblock li.older_posts {
    position: absolute;
    top: 0;
}

.blog_grid_style .pagerblock li.newer_posts,
.masonry .pagerblock li.newer_posts,
.blog_grid_style .pagerblock li.older_posts,
.masonry .pagerblock li.older_posts {
    top: 40px;
}

.pagerblock li.newer_posts {
    left: 0;
}

.pagerblock li.older_posts {
    right: 0;
}

.pagerblock li a i {
    display: inline-block;
    vertical-align: top;
    line-height: 18px;
}

.pagerblock li.newer_posts a i {
    margin-right: 9px;
}

.pagerblock li.older_posts a i {
    margin-left: 9px;
}

.blog_grid_style .comment-respond {
    margin-top: 35px;
}

.blog_grid_style .pagerblock {
    border-top: 2px solid #f4f4f4;
    padding-top: 40px;
}

.blog_grid_style .postformats_cont {
    margin-bottom: 20px;
}

.postformats_cont a {
	position:relative;
	display:block;
}

.postformats_cont a:before {
	content: '';
	position: absolute;
	z-index:2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.3);
	-webkit-transition: -webkit-transform 0.6s;
	transition: transform 0.6s;
	-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-120%,0);
	transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-120%,0);
}

.postformats_cont:hover a:before {
	-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,120%,0);
	transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,120%,0);
}

.postformats_cont img {
    width:35%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: scale3d(1.05,1.05,1);
	transform: scale3d(1.05,1.05,1);
}

.blog_grid_style .postformats_cont:hover img {
    -webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.blog_grid_style .postformats_cont.gt3_pf_quote .entry-title-pformat,
.blog_grid_style .postformats_cont.gt3_pf_link .entry-title-pformat {
    font-size: 20px;
    line-height: 30px;
}

.page-id-2 .tiny_contentarea {
    padding-bottom: 12px;
}

.page-id-2 footer {
    margin-top: 60px;
}

.masonry_style .help_class {
    padding: 0 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.masonry_style .help_class.span6 {
    margin-left: 0;
    width: 50%;
}

.masonry_style .help_class.span4 {
    margin-left: 0;
    width: 33.30%;
}

.masonry_style .row .help_class:first-child {
    margin-left: 0;
}

.masonry_style .stand_post {
    margin-bottom: 40px;
    min-height: 10px;
}

.masonry_style .content_block .posts_container {
    margin: 0 -15px;
    opacity: 0;
    transition: opacity 0.3s;
}

.blog .without_sidebar .entry-title {
    text-align: left;
}

.page-id-64 .entry-title {
    padding-bottom: 0;
}

.page-id-69 footer {
    margin-top: 48px;
}

.wpcf7-form textarea {
    height: 100px;
}

.page .entry-title {
    letter-spacing: 1px;
}

.slick-dots li:first-child {
    margin-left: 30px;
}

.mc_merge_var {
    margin-bottom: 0 !important;
}

.mc_merge_var input[type=text] {
    font-size: 13px;
}

.single .postformats_cont a img {
    opacity: 1 !important;
}

footer .tagcloud {
    margin-top: -2px;
}

.rounded_image_parent {
    background: transparent !important;
    display: inline-block !important;
    width: 100% !important;
    text-align: center !important;
}

.rounded_image_parent img.rounded_image {
    display: inline-block !important;
    opacity: 1 !important;
}

footer .tagcloud {
    position: relative;
    top: -1px;
}

.postformats_cont img {
    -webkit-backface-visibility: hidden;
}

dt {
    font-weight: bold;
    text-decoration: underline;
}

dd {
    margin: 0;
    padding: 0 0 0.5em 0;
}

dl.wp-caption {
    border: none
}

#wp-calendar td, #wp-calendar th {
    border: none !important;
}

.sidepanel .children {
    margin-top: 7px;
    padding-left: 10px;
}

.sidepanel .wp-caption {
    background: transparent;
    border: none;
}

a.retina_logo {
    display: none;
}

.mobile_menu_button {
    display: none;
}

.prelative {
    position: relative;
}

/* Instagram Block */
footer .footer_instagram_block {
	position:relative;
	z-index:10;
}

.jr-insta-thumb ul.thumbnails li a {
	overflow:hidden;
	display:block;
}

.jr-insta-thumb ul.thumbnails li a img {
    width:auto !important;
	height:auto !important;
	max-width:auto !important;
	max-height:auto !important;
	transition: transform 0.35s;
	-webkit-transition: -webkit-transform 0.35s;
}

.jr-insta-thumb ul.thumbnails li.widthB a img {
    width:auto !important;
    max-width:none !important;
	height:100% !important;
	max-height:100% !important;
}

.jr-insta-thumb ul.thumbnails li.heightB a img {
    width:100% !important;
    max-width:100% !important;
	height:auto !important;
	max-height:none !important;
}

.jr-insta-thumb ul.thumbnails li:hover img {
    -webkit-transform: scale3d(1.05,1.05,1);
	transform: scale3d(1.05,1.05,1);
}

footer .footer_sidebar .jr-insta-thumb ul.thumbnails li a img {
	-webkit-transition: none;
	transition: none;
	-webkit-transform: scale3d(1,1,1) !important;
	transform: scale3d(1,1,1) !important;
}

footer .footer_instagram_block .jr-insta-thumb ul {
	margin:0 !important;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails li {
    margin: 0;
}

body footer .footer_instagram_block .jr-insta-thumb ul.thumbnails li a {
    margin: 0;
	height:100%;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails.jr_col_1 li {
    width: 100% !important;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails.jr_col_2 li {
    width: 50% !important;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails.jr_col_3 li {
    width: 33.33% !important;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails.jr_col_4 li {
    width: 25% !important;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails.jr_col_5 li {
    width: 20% !important;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails.jr_col_6 li {
    width: 16.66% !important;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails.jr_col_7 li {
    width: 14.28% !important;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails.jr_col_8 li {
    width: 12.5% !important;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails.jr_col_9 li {
    width: 11.11% !important;
}

footer .footer_instagram_block .jr-insta-thumb ul.thumbnails.jr_col_10 li {
    width: 10% !important;
}

/* Instagram Carousel */
.owl-carousel .owl-stage-outer {
    height: 208px;
}

/* Search results */
body.search-no-results .search_form input[type="text"] {
    width: 280px;
    margin: 0 10px 10px 0;
}

/* 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. */
}

/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
    a.default_logo {
        display: none;
    }

    a.retina_logo {
        display: block;
    }

    .mobile_menu_button {
        background-image: url(../img/retina/mobile_icons.png);
        -webkit-background-size: 25px 18px;
        background-size: 25px 18px;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

/* Responsive */
@media only screen and (max-width: 1280px) {
    header .menu li:first-child .sub-menu {
        margin-left: -24px;
    }
}

@media only screen and (max-width: 1200px) {
    header.header_type2 .menu > li, header.header_type3 .menu > li {
		margin-right:20px;
	}
	
	.content_block.span9 {
        width: 680px;
    }

    .span3.right-sidebar-block, .span3.left-sidebar-block {
        width: 240px;
    }

    input#author[type="text"], input#email[type="text"] {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    input#email[type="text"] {
        margin-left: 0;
    }
}

@media only screen and (max-width: 1024px) {
    .slide_description {
        left: 15%;
        right: 15%;
    }

    .left_sidebar .content_block, .right_sidebar .content_block {
        width: 645px;
    }

    .row .span3.right-sidebar-block, .row .span3.left-sidebar-block {
        width: 255px;
    }

    .meta_dib:after {
        padding: 0 4px;
    }

    .post_meta {
        font-size: 10px;
        line-height: 18px;
    }
}

@media only screen and (max-width: 1023px) {
	
	header.header_type2 .menu > li, header.header_type3 .menu > li {
		margin-right:15px;
	}
	
	.header_search_wrap form {
		width:200px;
	}
	
    .slick-prev.slick-arrow {
        left: 15px;
    }

    .slick-next.slick-arrow {
        right: 15px;
    }

    .slide_description {
        left: 8%;
        right: 8%;
    }

    .postformats_cont.gt3_pf_link .entry-title-pformat, .postformats_cont.gt3_pf_quote .entry-title-pformat {
        word-wrap: break-word;
    }

    .blog_grid_style .postformats_cont.gt3_pf_quote .entry-title-pformat, .blog_grid_style .postformats_cont.gt3_pf_link .entry-title-pformat {
        font-size: 18px;
        line-height: 26px;
    }

    .gt3_pf_quote, .gt3_pf_link {
        padding: 30px 20px;
    }

    .wpcf7-form span.wpcf7-form-control-wrap.your-name, .wpcf7-form span.wpcf7-form-control-wrap.your-email {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

@media only screen and (max-width: 980px) {
    header.header_type2 .menu > li, header.header_type3 .menu > li {
		margin-right:10px;
	}
	
	.header_search_wrap {
		display:none;
	}
	
	.slide_description {
        left: 15%;
        right: 15%;
    }

    .left_sidebar .content_block, .right_sidebar .content_block {
        width: 504px;
    }

    .row .span3.right-sidebar-block, .row .span3.left-sidebar-block {
        width: 180px;
    }

    .meta_dib:after {
        padding: 0 4px;
    }

    .post_meta {
        font-size: 10px;
        line-height: 18px;
    }
	
	.footer_menu li:after {
		padding:0 10px;
	}
}

@media only screen and (min-width: 737px) and (max-width: 767px) {
    .site_container {
        margin: 0 20px;
    }

    header {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    header .menu-wrap {
        padding: 0 20px;
        width: auto;
        right: 0;
    }
	
	header.header_type4 .secline_wrap .container {
		padding-left:20px;
		padding-right:20px;
	}
	
	header.header_type4 .menu > li {
		margin-left:25px;
	}
	
    .left_sidebar .content_block, .right_sidebar .content_block {
        width: 100%;
    }

    .row .span3.right-sidebar-block, .row .span3.left-sidebar-block {
        width: 100%;
        margin: 0;
    }

    .top_slider_blog.top_slider_wide .container {
        width: 100%;
    }

    .slide_description h2 {
        font-size: 24px;
        line-height: 30px;
    }
	
	.header_title_wrap {
		width:auto;
		padding-left:20px;
		padding-right:20px;
	}
	
	footer .footer_sidebar, footer .copyblock {
		padding-left:20px;
		padding-right:20px;
	}
}

@media only screen and (max-width: 736px) {
    .site_container {
        margin: 0 20px;
    }

    .content_block {
        margin-bottom: 30px;
    }

    header {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    header .menu-wrap {
        padding: 0 20px;
        width: auto;
        right: 0;
    }
	
	header.header_type4 .secline_wrap .container {
		padding-left:20px;
		padding-right:20px;
	}
	
	.header_title_wrap {
		width:auto;
		padding-left:20px;
		padding-right:20px;
	}
	
	header.header_type4 .menu > li {
		margin-left:25px;
	}
	
    footer {
        margin-top: 40px;
    }
	
	footer .footer_sidebar, footer .copyblock {
		padding-left:20px;
		padding-right:20px;
	}
	
    .posts_container .row:last-child .stand_post {
        min-height: 460px;
    }

    footer .sidepanel .title {
        margin-top: 20px;
    }

    footer .recent_posts li:last-child div {
        padding-bottom: 0;
    }

    .left_sidebar .content_block, .right_sidebar .content_block {
        width: 100%;
    }

    .row .span3.right-sidebar-block, .row .span3.left-sidebar-block {
        width: 100%;
        margin: 0;
    }

    .top_slider_blog {
        margin-left: -20px;
        margin-right: -20px;
    }
	
	.top_slider_blog.container {
		margin-left:0;
		margin-right:0;
	}

    .top_slider_blog.top_slider_wide .container {
        width: 100%;
    }

    .slide_description h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .slide_description .post_excerpt {
        display: none;
    }

    .masonry_style .help_class.span6, .span6.masonry-brick, .masonry_style .help_class.span4 {
        width: 100%;
    }

    .postformats_cont.gt3_pf_video iframe {
        min-height: 220px;
    }

    .error404 input[type="text"] {
        width: 100%;
    }
}

@media only screen and (max-width: 667px) {
    header .menu {
        display: none;
        margin: 31px -20px 0;
        padding: 0 20px;
    }
	
	header.header_type1 .menu,
	header.header_type2 .menu {
		margin-top:48px;
	}
	
	header.header_type3 .menu {
		margin-top:80px;
		margin-left:0;
		margin-right:-20px;
	}
	
	header.header_type4 .menu {
        margin-top:81px;
    }
	
	header.header_type2 .menu-wrap .container {
		border-bottom:0;
	}
	
	.header_search_wrap {
		display:none;
	}
	
	header.header_type2 {
		min-height:130px;
	}
	
	.header_type2 .logo-wrap {
		top:25px;
	}
	
	header.header_type3 .gt3_socials_wrap {
		margin-right:40px;
	}
	
	.header_type1 .mobile_menu_button {
		position:absolute;
	}
	
	.header_type2 .mobile_menu_button {
		position:absolute;
	}
	
	.header_type3 .fright.prelative {
		position:absolute;
		top:35px;
		right:20px;
	}
	
	.header_type4 .fright.prelative {
		position:absolute;
		z-index:9999;
		top:35px;
		right:20px;
	}

    .active_mobile_menu header .menu {
        position: relative;
		z-index:9999;
        padding-top: 23px;
        padding-bottom: 8px;
        border-top: 2px solid transparent;
        background-color: #2c2c2c !important;
    }

    .active_mobile_menu header .menu:before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        width: 0;
        height: 0;
        margin-left: -5px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid red;
    }

    .mobile_menu_button {
        float:right;
		display: block;
        width: 25px;
        height: 18px;
        position: relative;
        top: 16px;
        left: 0;
        background-image: url(../img/mobile_icons.png);
        -webkit-background-size: 25px 18px;
        background-size: 25px 18px;
        background-position: center center;
        background-repeat: no-repeat;
        cursor: pointer;
    }

    header .gt3_socials {
        position: absolute;
        right: 20px;
        top: 0px;
        margin-top: 13px;
    }
	
	header.header_type3 .gt3_socials {
        position: relative;
        right: 0;
        top: 0;
        margin:0;
    }

    header .sub-menu {
        visibility: visible;
        opacity: 1;
        display: block;
        position: static;
        margin-left: 0 !important;
        padding: 0;
        background: none !important;
        border: 0;
    }

    header .sub-menu:before {
        display: none;
    }

    header .menu li {
        width: 100%;
        padding: 0;
    }

    header .menu > li {
        padding: 0 0 16px;
    }

    header .menu > li.menu-item-has-children {
        padding: 0 0 9px;
    }

    header li .sub-menu a {
        padding-left: 10% !important;
        width: 90% !important;
    }

    header .menu > li:last-child {
        padding-bottom: 15px;
    }
}

@media only screen and (min-width: 668px) {
    header .menu {
        display: block !important;
    }
}

/* Vertical iPhones */
@media only screen and (max-width: 414px) {
    h1 {
        font-size: 22px;
        line-height: 25px;
        word-wrap: break-word;
    }

    h2 {
        font-size: 20px;
        line-height: 23px;
        word-wrap: break-word;
    }

    h3 {
        font-size: 18px;
        line-height: 20px;
        word-wrap: break-word;
    }

    h4 {
        font-size: 17px;
        line-height: 19px;
        word-wrap: break-word;
    }
	
	header.header_type3 .gt3_socials_wrap {
		display:none;
	}
	
	header.header_type4 .menu-wrap .container {
		height:48px;
	}
	
	header.header_type4 .header_slogan {
		display:none;
	}
	
    .postformats_cont.gt3_pf_link .entry-title-pformat, .postformats_cont.gt3_pf_quote .entry-title-pformat {
        font-size: 20px;
        line-height: 30px;
    }

    .post_bottom .fright {
        clear: both;
        float: left;
        margin-top: 15px;
        margin-bottom: 15px;
    }
	
	.blog_grid_style .pagerblock {
		padding-bottom:40px;
	}
	
	.blog_grid_style .pagerblock li.newer_posts,
	.masonry .pagerblock li.newer_posts,
	.blog_grid_style .pagerblock li.older_posts,
	.masonry .pagerblock li.older_posts {
		top:73px;
	}
	
    iframe {
        height: auto;
    }
}

@media only screen and (max-width: 320px) {
    .logo a {
        max-width: 280px !important;
        height: auto !important;
    }

    .postformats_cont.gt3_pf_quote, .postformats_cont.gt3_pf_link {
        padding: 40px 50px 40px 50px;
    }

    .pformat-top-cont i {
        display: none;
    }

    .blog_grid_style .postformats_cont.gt3_pf_quote, .blog_grid_style .postformats_cont.gt3_pf_link {
        padding-top: 40px;
    }

    h1 {
        font-size: 19px !important;
        line-height: 24px !important;
    }

    h2 {
        font-size: 18px !important;
        line-height: 23px !important;
    }

    h3 {
        font-size: 17px !important;
        line-height: 22px !important;
    }

    h4 {
        font-size: 16px !important;
        line-height: 21px !important;
    }

    h5 {
        font-size: 15px !important;
        line-height: 20px !important;
    }

    h4 {
        font-size: 14px !important;
        line-height: 19px !important;
    }

    .error404 h1 {
        font-size: 180px !important;
        line-height: 90px !important;
    }

    .error404 h2 {
        font-size: 25px;
        margin-top: 20px;
    }

    .tiny_contentarea .search_form input[type=text] {
        width: 100%;
    }

    .tiny_contentarea .search_form input[type=submit] {
        display:block;
    }
}