/*
 Theme Name:   Hawthorn Child
 Description:  Hawthorn Child Theme
 Template:     hawthorn
 Text Domain:  hawthorn-child
*/

.post-entry h2, .entry-content h2, .comment-text h2, .entry-summary h2 {
    font-size: 28px;
    font-weight: 400;
    margin-top: 48px;
}

.post-entry h3, .entry-content h3, .comment-text h3, .entry-summary h3 {
    font-size: 22px;
    font-weight: 400;
    margin-top: 48px;
}

.post-entry h4, .entry-content h4, .comment-text h4, .entry-summary h4 {
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 32px;
}

.page-id-163 .post-entry h3,
.page-id-214 .post-entry h3 {
    margin-top: 0;
}

#post-175 .post-entry h3:first-of-type,
#post-203 .post-entry h3:first-of-type {
    margin-top: 0;
}

#logo img {
    width: 100%;
    max-width: 420px;
}

.vcard.author .fn {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

aside#sidebar .widget {
    float: left;
    width: 100%;
}

aside#sidebar .about-widget {
    text-align: center;
    float: left;
    width: 100%;
}

aside#sidebar .about-widget .about-autograph {
    float: left;
    width: 100%;
    padding: 2px 0 0;
}

aside#sidebar .about-widget .about-autograph img {
    max-width: 85%;
}

.footer-text a {
    color: #aaa;
    font-family: "Barlow", sans-serif;
    font-weight: normal;
    font-style: italic;
    font-size: 14px;
    margin-left: 28px;
    float: right;
}

.footer-text {
    padding: 20px 0 30px;
}

.footer-text a:hover {
    text-decoration: underline;
}

#footer-bottom .sp-container {
    background: #000000;
}

.post-meta {
    height: auto !important;
}

.post-meta .sp-row .sp-col-6 {
    width: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sp-container.content {
    margin-bottom: 28px;
}

.feat-item {
    background-color: transparent !important;
}

.feat-content {
    background-color: #040404;
}

.bxslider > div {
    opacity: 1 !important;
}

.wpcf7 p {
    color: #555;
}

input[type=submit] {
    color: #555;
}

.wpcf7 textarea {
    min-width: 240px;
    min-height: 162px;
}

.wpcf7 input {
    max-width: 380px;
    width: 100%;
}

.widget_categories ul li {
    float: left;
    margin-bottom: 4px;
}

.widget_categories ul li:after {
    content: ",";
    float: left;
    margin-right: 2px;
}

.widget_categories ul > li:last-of-type:after {
    display: none;
}

.widget_categories ul li a {
    float: left;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    border: 2px solid #f79400;
}

div.wpcf7-response-output {
    padding: 0.2em 1em 0.4em;
}

.hawthorn-pagination a {
    border: 1px solid #333;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 13px 18px;
    color: #040404;
    margin-top: 10px;
    -o-transition: .16s;
    -ms-transition: .16s;
    -moz-transition: .16s;
    -webkit-transition: .16s;
    transition: .16s;
    display: block;
    background: #fff;
    box-shadow: 0px 0px 30px 5px rgba(158,158,158,0.1);
}

.widget.widget_polylang ul li {
    float: left;
    width: 50%;
    text-align: center;
}

.widget.widget_polylang ul li img {
    margin-bottom: 3px;
    margin-right: 10px;
    margin-left: 0px !important;
}

.slicknav_nav li.lang-item {
    float: left;
    width: 50%;
    text-align: center;
}

.slicknav_nav li.lang-item img {
    margin-bottom: 3px;
    margin-right: 10px;
    margin-left: 0px !important;
}

#navigation #nav-wrapper li.lang-item {
    display: none;
}

.desktop-flags-container {
    position: relative;
}

.desktop-flags {
    position: absolute;
    top: 0;
    right: 20px;
}

.desktop-flags li {
    float: left;
    padding: 20px 8px;
}

span.uppernum {
    font-size: 11px;
    vertical-align: super;
    line-height: 0px;
}

article a {
    word-break: break-word;
}

body.home #main.fullwidth .post.normal {
    margin-bottom: 0;
}

body.home #main.fullwidth .normal .post-header {
    padding: 45px 22px 5px;
}

body.home #main.fullwidth .normal .post-header h2 {
    font-size: 37px;
    letter-spacing: .5px;
    color: #000;
    font-weight: 400;
}

#footer-bottom {
    display: none;
}

.wpcf7-form > p:nth-of-type(1) {
    float: left;
    width: 50%;
    padding-right: 15px;
}

.wpcf7-form > p:nth-of-type(2) {
    float: left;
    width: 50%;
    padding-left: 15px;
}

.wpcf7-form > p:nth-of-type(1) input,
.wpcf7-form > p:nth-of-type(2) input {
    max-width: 100%;
}

.wpcf7-form > p:nth-of-type(3) {
    float: left;
    width: 100%;
}

.wpcf7-form > p:nth-of-type(3) input {
    max-width: 100%;
}

@media only screen and (max-width: 942px) {

    .post-pagination {
        margin-bottom: 40px;
    }

    .hawthorn-pagination {
        margin-top: 0;
        margin-bottom: 60px;
    }

    .desktop-flags-container {
        display: none;
    }

}

@media only screen and (max-width: 942px) and (min-width: 767px) {

    #main {
        margin-bottom: 0px !important;
    }

    #header-mobile-wrapper {
        padding-top: 52px !important;
    }

}

@media only screen and (max-width: 766px) {

	#main {
	    margin-bottom: 0px !important;
	}

    .wpcf7-form > p:nth-of-type(1),
    .wpcf7-form > p:nth-of-type(2) {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }

}