/*
Theme Name: Photorific
Theme URI: http://www.cadengrant.me/themes/photorific
*/

HEADER, FOOTER, p, time {
    display: block
}

HEADER, FOOTER, hgroup {
    clear: both
}

form, input {
    margin: 0
}

ul {
    padding: 0;
    list-style-type: none
}

label {
    display: inline-block
}

input {
    padding: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0
}

th, td, form, label {
    vertical-align: top
}

article {
    position: relative
}

a {
    color: #000
}

a:link {
    text-decoration: none
}

figure {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin: 0
}

a > figure {
    display: block
}

img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box
}

a img {
    display: block;
    cursor: pointer
}

video {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box
}

input, textarea, select {
    outline: none
}

input[type=submit] {
    line-height: normal !important
}

iframe {
    display: block;
    max-width: 100%;
    border: none
}

BODY {
    position: relative;
    width: 100%;
    min-width: 304px;
    margin: 0;
    padding: 0;
    word-wrap: break-word
}

/* ################################################################
# RESET
################################################################ */
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1.0;
    letter-spacing: -1px;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}

body {
    font-family: Arial;
    font-size: 12px;
    height: 100%;
    color: #727272;
    overflow: none;
}

p {
    font-family: Arial;
    font-size: 12px;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 18px;
    color: #727272;
}

h1, h2, h3, h4, h5, h6 {
    color: #000;
}

pre {
    margin: 10px 0 10px 0;
    line-height: 22px;
    padding: 0 0 0 15px;
    background-image: url('images/pre.gif');
    border: 1px solid #e7e7e7;
    overflow: auto;
}

/* ################################################################
# HEADER STYLING
################################################################ */

#background_image img {
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1024px;

    /* Set up proportionate scaling */
    width: 100%;
    height: auto;

    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;
    z-index: -999;
}

#header {
    display: none;
    z-index: 200;
    opacity: 0.8;
    top: 45px;
    left: 2% !important;
    width: 255px;
    position: fixed;
}

@media only screen and (max-width: 768px) {
    #header {
        margin-top: 5px;
        width: 100%;
        position: static;
    }
}

#header_top {
    height: 6px;
    width: 100%;
    background: url(images/bordertop.png) repeat-x;
}

#header_content {
    padding: 1px 0 0;
    background-color: #000;
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

#header_bottom {
    display: block;
    height: 6px;
    width: 100%;
    background: url(images/borderbottom.png) repeat-x;
}

#header, #header p {
    color: #868686;
}

#logo {
    width: 235px;
    padding: 15px 0 10px 20px
}

#sitename {
    width: 300px;
    margin: 10px 0 25px 0;
    padding-left: 20px;
}

#sitename a {
    text-transform: uppercase;
    color: #fff;
    font-size: 36px;
}

#search input {
    border: 0px;
    padding: 7px 0 7px 10px;
    color: #666666;
    font-style: italic;
    background: #262626 url(images/search.png) no-repeat right;
    width: 203px;
}

#search {
    opacity: 0.9;
    padding: 22px 0 20px 20px;
}

#search input[type=submit] {
    display: none;
}

#sf-menu ul {
    width: 21.2em;
    line-height: 1;
    font-size: 12px;
    letter-spacing: normal;

}

#sf-menu ul li {
    position: relative;
    list-style: none;
    padding: 8px 18px 8px 18px;
    border-bottom: 1px solid #191919;
    background: url(images/plus.png) no-repeat right;
    line-height: 1;
    letter-spacing: normal;
}

#sf-menu ul li {
    display: block;
    line-height: 1;
    letter-spacing: normal;
}

#sf-menu ul li ul {
    position: absolute;
    margin: 20px 0 0 224px;
    width: 18em;
    background-color: #000;
    border-color: transparent;
    z-index: 99999;
    line-height: 1;
}

#sf-menu ul li a {
    text-transform: uppercase;
    border: none;
    line-height: 1;
}

#sf-menu ul li a:active {
    outline: none;
    line-height: 1;
}

#sf-menu ul li a strong {
    font-size: 18px;
    color: #fff;
    display: block;
    z-index: 300;
    line-height: 1;
}

#sf-menu ul li a span {
    clear: left;
    font-size: 14px;
    color: #a0a0a0;
    margin-left: -3px;
}

#sf-menu ul li ul li {
    padding: 0 15px;
    border: none;
    background: none;
}

#sf-menu ul li ul {
    padding: 15px 0;
    border: 1px solid #191919;
    line-height: 1;
}

#sf-menu ul li ul li a {
    color: #fff;
    line-height: 1;
}

#sf-menu ul li ul li a span {
    display: none;
    line-height: 1;
}

#sf-menu ul li ul li ul {
    position: absolute;
    margin: -1px 0 0 195px;
    line-height: 1;
}

/* end nav styling */


.sidebar_divider {
    height: 1px;
    display: block;
    clear: both;
    background-color: #191919;
    width: 255px;
}

#mainpage {
    height: 100%;
    padding: 49px 0 6px 0;
}

.homepage-intro {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0 3% 82px;
    padding: 22px 26px 18px;
    background: rgba(0, 0, 0, 0.78);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.photorific-initial-hero {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1000;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-intro h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 34px;
    line-height: 1.05;
}

.homepage-intro p {
    margin-bottom: 16px;
    color: #eee;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0;
}

.homepage-intro-links li {
    display: inline-block;
    margin: 0 14px 8px 0;
    padding: 0;
}

.homepage-intro-links a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

.homepage-intro-links a:hover,
.homepage-intro-links a:focus {
    color: #ddd;
}

@media only screen and (max-width: 768px) {
    #mainpage {
        padding: 6px 0 6px 0;
    }

    .homepage-intro {
        margin: 8px 12px 82px;
        padding: 18px 18px 12px;
    }

    .homepage-intro h1 {
        font-size: 28px;
    }
}

.post_thumbnail {
    position: relative;
}

.post_thumbnail h2 {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 10px;
    margin-right: 15px;
    background-color: #111;
    padding: 5px 5px 0;
    display: inline-block;
    font-size: 24px;
    line-height: 12px;
}

#page li h2 {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 10px;
    margin-right: 15px;
    background-color: #111;
    padding: 5px 5px 0;
    display: inline-block;
    font-size: 24px;
    line-height: 12px;
}

#page li p {
    margin: 90px 20px 0 10px;
    color: #888;
}

#content {
    width: 70%;
    float: left;
    padding: 0 30px 0 20px;
}

@media only screen and (max-width: 1024px) {
    #content {
        width: 60%;
    }
}

#content ul, #content ol {
    margin: 10px;
}

/*
Changed by PS
*/

#content ul li {
    padding: 6px, 6px, 6px, 6px;
}

#content ol li {
    padding: 6px, 6px, 6px, 6px;

}

/*
End of change by PS
*/


#content a {
    text-decoration: underline;
    color: #74002c;
}

#content a:hover {
    color: #000;
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
    margin-bottom: 5px;
}

#sidebar {
    float: left;
    width: 30%;
    padding: 0 10px 0 10px;
    border-left: 1px dotted #ddd;
    border-bottom: 1px dotted #ddd;
}

@media only screen and (max-width: 1024px) {
    #sidebar {
        width: 40%;
    }
}

@media only screen and (max-width: 768px) {
    #mainpage > .page > #content,
    #mainpage > .page > #sidebar {
        float: none;
        clear: both;
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    #mainpage > .page > #content {
        padding: 0 20px;
    }

    #mainpage > .page > #sidebar {
        padding: 20px 20px 40px;
        border-top: 1px dotted #ddd;
        border-left: 0;
    }
}

#sidebar ul li {
    list-style: none;
    padding: 0 0 0 0px;

}

#sidebar ul li a {
    padding: 0 0 0 0px;


}

#content .blog_post h2 {
    font-size: 40px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.metaInfo {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
}

.metaInfo a {
    color: #74002c;
}

.metaInfo a:hover {
    color: #555;
}

.post_meta {
    font-size: 16px;
    text-transform: uppercase;
    color: #232323;
    width: 210px;
    margin: 0 10px;
}

.post_meta a {
    color: #bbb;
}

#mainpage > .page {
    float: left;
    overflow: hidden;
    width: 94%;
    max-width: 860px;
    margin-left: 3%;
    padding: 0 0 40px 0;
    background-color: #fff;
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.blog_post .post_thumbnail {
    margin-bottom: 20px;
}

.blog_post {
    margin: 20px 0 40px 0;
}

.blog_post p {

}

.fullwidth_content {
    overflow: hidden;
    padding: 10px 25px 0 25px;
    display: block;
}

/* Gallery styling */
#gallery h1 {
    margin: 0px 0px 0px 0px;
}


#gallery {
    padding-bottom: 8px;
}

#gallery ul {
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 1024px) {
    #gallery ul {
        text-align: center;
    }
}

#gallery li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog_post #gallery ul.gallery-two-column li {
    width: 380px;
    display: inline-block;
    padding-right: 20px;
    padding-top: 10px;
}

.blog_post #gallery ul.gallery-three-column li {
    width: 250px;
    display: inline-block;
    padding-right: 10px;
    padding-top: 10px;
}

.blog_post #gallery ul.gallery-four-column li {
    width: 190px;
    display: inline-block;
    padding-top: 10px;
}


/* Comment Styling */
#comments {
    overflow: hidden;
}

#comments ul {
    list-style-type: none;
    margin: 0;
}

#comments ul li {
    list-style: none;
}

.commentlist {
    margin: 0;
}

ul.commentlist {
    margin: 0;
}

.commentlist li {
    margin: 0;
    border-top: 1px solid #ccc;
    padding: 0;
    list-style: none;
    list-style-type: none;
}

.commentlist li .comment_wrap {
    overflow: visible;
    padding: 20px 0;
    position: relative;
}

.gravatar {
    float: left;
}

.gravatar img {
    height: 60px;
    width: 60px;
}

.comment_content {
    min-height: 80px;
    padding-left: 20px;
    position: relative;
    overflow: hidden;
}

#comments .commentlist li ul li {
    margin-left: 40px;
}

.nocomments {
    text-align: center;
    margin: 0;
    padding: 0;
}

.comment_author {
    font-size: 11px;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
}

.comment_author span {
    display: none;
}

.comment_time {
    float: right;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.comment_text {
    clear: both;
    padding-top: 5px;
    overflow: hidden;
}

.comment_text p {
    margin: 10px 0 20px 0;
}

.comments_navigation {
    margin-top: 20px;
    clear: both;
    overflow: hidden;
}

.comments_navigation .nav_previous {
    float: left;
}

.comments_navigation .nav_next {
    float: right;
}

#respond {
    margin-top: 20px;
}

#respond #comment {
}

#comments label {
    padding-left: 6px;
    opacity: 0.75;
}

.cancel_comment_reply {
    margin-bottom: 6px;
}

.l-submit {
    background-color: #ddd;
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    margin: 0 0 10px;
    padding: 6px 10px;
}

.l-submit {
    color: #fff;
}

a:hover .l-submit {
    color: #b5000;
}

.textfield {
    width: 213px;
    height: 31px;
    border: 0;
    padding: 0;
    background-repeat: no-repeat;
    margin: 0 8px 0 0;
    border: 1px solid #ddd;
    background: #eee;
}

.textarea {
    width: 100%;
    max-width: 450px;
    height: 125px;
    padding: 0;
    margin: 0 0 10px 0;
    border: 0;
    background-repeat: no-repeat;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #eee;
}

.l-input {
    width: 70%;
    max-width: 300px;
    height: 31px;
    margin: 0 0 20px;
    border: 1px solid #ddd;
    background: #eee;
}

#contact,
#contact form,
#contact fieldset {
    width: 100%;
    max-width: 100%;
}

#contact .l-input,
#contact .textarea {
    width: 100%;
    max-width: 450px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#contact .l-submit {
    color: #333;
    margin: 15px 0 0;
}

/*
.fullwidth_content p, .fullwidth_content h1, .fullwidth_content h2, .fullwidth_content h3, .fullwidth_content h4, .fullwidth_content h5,
.fullwidth_content h6, .fullwidth_content ul, .fullwidth_content ol, .fullwidth_content pre */
#footer {
    position: fixed;
    text-align: right;
    bottom: 0;
    right: 0;
    padding: 15px 15px 15px;
    background-color: #000;
    opacity: 0.7;
    width: 100%;
    color: #fff;
    padding-left: 50px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

#footer a {
    color: #fff;
}


/******** WP PAGE NAVIGATION **********/
#content-fullwidth-portfolio .wp-pagenavi {
    margin: 10px 0 30px 20px;
}

.portfolio_content {
    padding: 0 20px 0 20px;
}

.wp-pagenavi {
    z-index: 200;
    clear: both;
    border-top: 1px;
    border-bottom: 1px;
    border-left: 0px;
    border-right: 0px;
    border-color: #ddd;
    border-style: solid;
    font-weight: bold;
    padding: 10px;
    margin: 0 0 12px 0;
    font-size: 15px;
}

.wp-pagenavi a, .wp-pagenavi .current {
    padding: 9px 8px;
    background-color: #111;
}

.wp-pagenavi a {
    font-weight: bold;
    /*color: #fff;*/
}

.wp-pagenavi .current {
    font-weight: bold;
    color: #777;
}

#content .wp-pagenavi a {
    /*color: #fff;*/
}

/*********************************************
PORTFOLIO STYLING
*********************************************/
.portfolioItem {
    clear: both;
}

/**** one column ****/
.portfolioImage {
    float: left;
    width: 520px;
    padding: 30px 0 0 20px;
}

.portfolioDesc {
    float: left;
    width: 380px;
    padding: 30px 20px 0 20px;
}

.portfolioDesc h3 {
    margin-top: 0px;
}

#content-fullwidth-portfolio ul {
    letter-spacing: -4px; /* remvoe the gap */
    word-spacing: -4px; /* remvoe the gap */
    overflow: hidden;
    list-style-type: none;
    margin: 10px 10px 0 10px;
    padding: 0;
    display: block;
}

@media only screen and (max-width: 1024px) {
    #content-fullwidth-portfolio ul {
        text-align: center;
    }
}

#content-fullwidth-portfolio ul li {
    letter-spacing: normal; /* remvoe the gap */
    word-spacing: normal; /* remvoe the gap */
    display: -moz-inline-box; /* mozilla only */
    display: inline-block; /* for browsers that support display:inline-block*/
    vertical-align: top;
    overflow: hidden;
    padding: 0;
    position: relative;
}

ul.two-column h2, ul.three-column h2, ul.four-column h2 {
    margin: 0px 0 0px;
    line-height: 1.2;

}

.one-column .portfolio_desc h2, h1, h3, h4, h5 {
    margin: 20px 0 0 0;
    color: #74002c;
}

.one-column {
    padding: 20px 0 5px 0;
}

.one-column .portfolio_thumbnail {
    float: left;
    margin: 10px 0 0 30px;
    width: 84%;
    max-width: 520px;
}

.two-column > * {
    width: 84% !important;
    max-width: 520px !important;
}

.one-column .portfolio_desc {
    width: 240px;
    float: left;
    margin: 0 0 0 30px;
}

.blog_post .portfolio_thumbnail {
    margin-bottom: 20px;
}

ul.two-column {
    list-style: none;
    clear: both;
}

ul.two-column li {
    width: 100%;
    max-width: 380px !important;
    margin-left: 15px;
    margin-right: 15px;
}

ul.two-column li .portfolioImage {
    width: 465px;
    height: 210px;
    overflow: hidden;
    margin: 0;
    position: relative;
}

ul.two-column li .portfolioImage img {
    position: absolute;
    top: 0;
    left: 0;
}

ul.two-column li h3 {
    margin: 22px 0 13px;
}

ul.three-column {
    list-style: none;
    clear: both;
    margin: 30px 0 0 0;
}

ul.three-column li {
    width: 250px;
    margin-left: 12.5px;
    margin-right: 12.5px;
    margin-top: 20px;
}

ul.three-column li .portfolioImage {
    width: 300px;
    height: 140px;
    overflow: hidden;
    margin: 0;
    position: relative;
}

ul.three-column li .portfolioImage img {
    position: absolute;
    top: 0;
    left: 0;
}

ul.three-column li h3 {
    margin: 22px 0 13px;
}

ul.four-column {
    list-style: none;
    clear: both;
}

ul.four-column li {
    width: 190px;
    margin-left: 9.5px;
    margin-right: 9.5px
}

ul.four-column li .portfolioImage {
    width: 216px;
    height: 110px;
    overflow: hidden;
    margin: 0;
    position: relative;
}

ul.four-column li .portfolioImage img {
    position: absolute;
    top: 0;
    left: 0;
}

ul.four-column li h3 {
    margin: 22px 0 13px;
    color: #000000;
    font-size: 20px;
}

ul.four-column li p {
    margin-bottom: 0
}

.portfolio_thumbnail {
    margin: 0px 0 0 0;
}

/********* SIDEBAR STYLING *********/
#sidebar ul {
    margin-bottom: 0px;
}

#sidebar ul li {
    border-bottom: 1px solid #ddd;

}

#sidebar a {
    font color: #333;

}

#sidebar a:hover {
    color: #74002c;
}

#sidebar h3 {
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 0px;
}


/********* TEXT STYLING *********/
h1, h3, h4, h5, h6 {
    margin-top: 20px;
    text-transform: uppercase;


}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 28px;
    margin-top: 0px;
    text-transform: uppercase;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #74002c;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: #000;
}

#page li h2 a {
    color: #ffffff;
}

.divider {
    width: 100%;
    height: 1px;
    display: block;
    clear: both;
    margin: 0 0 20px 0;
}

/* widget styling */
#flickr, #flickr .wrap {
    width: 240px;
}

#flickr .wrap img {
    float: left;
    margin: 0 5px 5px 0;
}

ul .thumbnail-list {
    margin: 0;
    padding: 0;
}

#sidebar .thumbnail-list li {
    background-image: none;
    padding: 5px 0 7px 0;
}

.thumbnail-list li {
    padding: 0;
    background-image: none;
    display: block;
    clear: both;
}

#sidebar .thumbnail-list li a {
    padding: 0;
}

.thumbnail-list li img {
    float: left;
    border: 4px solid #eaeaea;
    margin: 0 8px 0 0;
}

.date {
    line-height: 18px;
    color: #999;
}

.clearboth {
    clear: both;
}

.tagcloud a {
    padding: 7px;
    background: #eee;
    border-radius: 4px;
    margin: 4px;
    display: inline-block;
    font-size: 13px !important;
}

/*************
COLUMN SHORTCODES
**************/
.one_half, .one_third, .two_third, .three_fourth, .one_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth {
    position: relative;
    margin-right: 4%;
    float: left;
}

.one_half {
    width: 48%;
    float: left;
}

.one_third {
    width: 30.6666%;
    float: left;
}

.two_third {
    width: 65.3332%;
    float: left;
}

.one_fourth {
    width: 22%;
    float: left;
}

.two_fourth {
    width: 48%;
    float: left;
}

.three_fourth {
    width: 74%;
    float: left;
}

.one_fifth {
    width: 16.8%;
    float: left;
}

.two_fifth {
    width: 37.6%;
    float: left;
}

.three_fifth {
    width: 58.4%;
    float: left;
}

.four_fifth {
    width: 79.2%;
    float: left;
}

.one_sixth {
    width: 13.3333%;
    float: left;
}

.two_sixth {
    width: 30.6666%;
    float: left;
}

.three_sixth {
    width: 47.9998%;
    float: left;
}

.four_sixth {
    width: 65.3332%;
    float: left;
}

.five_sixth {
    width: 82.6665%;
    float: left;
}

.last {
    margin-right: 0 !important;
    clear: right;
}

/* shortcodes */

.error {
    background: #f7c5c5;
    color: #a86f6f;
    border: 1px solid #ce8484;
    margin: 5px 0 5px 0;
    padding: 10px;
    display: block;
}

.success {
    background: #dff7c3;
    color: #5a9038;
    border: 1px solid #bbdb95;
    margin: 5px 0 5px 0;
    padding: 10px;
    display: block;
}

.info {
    background: #d4edf9;
    color: #5a8e9f;
    border: 1px solid #abd2ee;
    margin: 5px 0 5px 0;
    padding: 10px;
    display: block;
}

.note {
    background: #f7f9d4;
    color: #a5830e;
    border: 1px solid #cfc993;
    margin: 5px 0 5px 0;
    padding: 10px;
    display: block;
}

.info .icon, .error .icon, .success .icon, .note .icon {
    float: left;
    margin: -1px 8px 0 0;
}

.dropcap {
    font-size: 24px;
    float: left;
    overflow: hidden;
    color: #ffffff;
    line-height: 40px;
    width: 40px;
    font-weight: bold;
    text-align: center;
    background-image: url('images/dropcap.png');
    margin: 6px 8px 1px 0;
    background-repeat: no-repeat;
}

.dropcap2 {
    font-size: 28px;
    float: left;
    overflow: hidden;
    line-height: 35px;
    width: 30px;
    font-weight: bold;
    text-align: center;
    margin: 0 8px -4px 0;
}

.highlight_yellow {
    background: #edff56;
    display: inline-block;
    padding: 3px 5px;
}

.highlight_black {
    background: #000;
    display: inline-block;
    padding: 3px 5px;
    color: #ffffff;
}

.highlight_lightgrey {
    background: #f8f8f8;
    display: inline-block;
    padding: 3px 5px;
}

.highlight_grey {
    background: #dddddd;
    display: inline-block;
    padding: 3px 5px;
}

blockquote {
    font-size: 14px;
    font-family: Georgia;
    background-image: url(images/blockquote.png);
    background-repeat: no-repeat;
    margin: 0;
    padding-left: 36px;
}

blockquote.block {
    margin: 5px 0 30px 0;
    background-position: 0 15px;
    display: block;
}

blockquote.block cite {
    font-size: 12px;
    color: #999;
    margin: 10px 0 10px 0;
}

blockquote.alignleft {
    margin: 10px 30px 10px 0;
    width: 250px;
    float: left;

}

blockquote.alignright {
    margin: 10px 0 10px 30px;
    width: 250px;
    float: right;
}

.imageleft {
    margin: 4px 15px 5px 0;
    float: left;
    display: block;
}

.imageright {
    margin: 4px 0 5px 15px;
    float: right;
    display: block;
}

.button {
    display: inline-block;
    border-radius: 4px;
    margin: 2px 0 2px;
}

#content a.button, #sidebar a.button {
    color: #fff;
}

#content a.b_white, #sidebar a.b_white {
    color: #333;
}

.b_small {
    padding: 4px 9px;
    font-size: 12px;
}

.b_medium {
    padding: 6px 12px;
    font-size: 14px;
}

.b_large {
    padding: 7px 14px 9px;
    font-size: 18px;
}

.b_black {
    background-image: url(images/blackbutton.png);
    border: 1px solid #000;
}

.b_gray {
    background-image: url(images/graybutton.png);
    border: 1px solid #555;
}

.b_blue {
    background-image: url(images/bluebutton.png);
    border: 1px solid #00719b;
}

.b_green {
    background-image: url(images/greenbutton.png);
    border: 1px solid #6c8d06;
}

.b_pink {
    background-image: url(images/pinkbutton.png);
    border: 1px solid #c44c5a;
}

.b_orange {
    background-image: url(images/orangebutton.png);
    border: 1px solid #e87500;
}

.b_white {
    background-image: url(images/whitebutton.png);
    border: 1px solid #999;
}


/*
PS Changes

*/

body li {
    padding-bottom: 6px;
    line-height: 1.5;
}

#mainpage > .page #content li,
#mainpage > .page .fullwidth_content li {
    list-style-type: disc;
}

ul.error_messages {
    color: #F00;
}

ul.error_messages li {
    padding: 0px 0px 0px 0px;
}

div.tagcloud {
    margin-top: 10px;
}

ul.children {
    border-top: solid 2px #DDD;
}

.navbar {
    z-index: 10000;
    margin-top: 2px;
    opacity: 0.9;
    border: none;
}

.navbar-nav ul {
    border: none;
    list-style: none;
}

.navbar-nav li {
    padding: 0;
}

.navbar-nav ul.sub-menu {
    display: none;
    padding: 0 0 6px 15px;
}

.navbar-nav .menu-item-has-children > a:before {
    position: absolute;
    right: 32px;
    content: "\BB";
}

.navbar-nav ul.sub-menu li {
    padding: 6px 0;
}

.navbar-nav a {
    color: #9d9d9d;
    padding: 6px 15px !important;
}

.navbar-nav a:hover {
    color: #fff;
    text-decoration: none;
}

div.reg_rss-output {
    padding: 1.025em 0 !important;
}

@media only screen and (max-width: 768px) {
    #supersized {
        padding: 0 500px;
    }
}

@media only screen and (max-width: 800px) {
    #supersized {
        padding: 0 800px;
    }
}

.thumbnail {
    border: none;
}

#cboxLoadedContent {
    overflow: hidden !important;
}

@media only screen and (min-width: 769px) {
    .container-fluid > .row > div:first-child {
        max-width: 300px;
    }
}

@media only screen and (max-width: 768px) {
    .wp-showcase {
        text-align: center;
    }
}

.wp-showcase li {
    margin: 0 5px 10px 5px !important;
}

.fullwidth_content .wp-showcase li {
    width: 190px;
}

.four-column img {
    height: 110px;
}

.contact_form {
    width: 100%;
    margin-bottom: 5px;
}

.PageNotFoundUl li {
    margin-left: 20px;
}

.PageNotFoundUl li a {
    text-decoration: none !important;
    color: #727272 !important;
}

.gallery_categories_tag_cloud {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
}

.gallery_categories_tag_cloud::after {
    content: "";
    flex: auto;
}

.OfferCategory {
    margin: 0 18px;
}

.removeunderline {
    text-decoration: none !important;
}

div#content-fullwidth-portfolio > h1 {
margin-left: 20px;
}

}
