/*
Theme Name: dmp
Version: 1.0.5
Author: fw | webtooltime.com
Author URI: https://webtooltime.com/
*/

/* Resets */
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}.table,table{border-collapse:collapse;border-spacing:0}
/* /resets */

html,
body {
    height: 100%;
	margin: 0;    
}

*,
*::before,
*::after,
html {
    -webkit-appearance: none;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
/*
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    -o-transition: all 0.35s;
    transition: all 0.35s;
 */
}

body {
    margin: 0;
    padding: 0;
    font-family: Georgia, serif;
    font-weight: 300;
    font-size: 1em;
    line-height: 1.5em;
    background-color: #fff;
    color: #222;
    text-transform: lowercase;
}


.screen-reader-text,
.assistive-text {
    display: none;
}

hr {
    height: 1px;
    background: transparent;
    border: none;
    border-bottom: 3px solid #c6bdb6;
	width: 150px;
	margin: 20px auto 35px;
}

hr.padding {
    background-color: transparent;
    border: none;
    padding: 20px 0;
}

/* Positioning */
.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter,
.center {
    margin: auto;
    text-align: center;
}

.alignnone {
    float: none;
    display: block;
}

.ta-left {
    text-align: left !important;
}

.ta-right {
    text-align: right !important;
}

.ta-center,
.center {
    text-align: center !important;
}

.tt-uc {
	text-transform: uppercase !important;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.clear {
    clear: both;
}

img.alignleft,
iframe.alignleft,
.wp-caption.alignleft {
    margin: 10px 15px 10px 0;
}

img.alignright,
iframe.alignright,
.wp-caption.alignright {
    margin: 10px 0px 10px 15px;
}


/* Lists */
ul { list-style-type: square; color: #b61f28; }
ol { list-style-type: decimal; }

ul, ol { padding: 0 0 0 20px; margin: 0 0 15px; }
li { padding-left: 5px; color: #575756; }

@media all and (max-width: 900px) {
	ul, ol {
		position: relative;
		left: 17px;
	}
}


/* mobile only */
.mobile-only {
    display: none;
}

@media all and (max-width: 414px) {
    .mobile-only {
        display: block;
    }
}



/* Captions */
.wp-caption .wp-caption-text,
.gallery-caption {
    margin: 0;
    padding: 0;
    font-weight: 300;
    font-size: 0.875em;
}

.wp-caption .wp-caption-text {
    margin-top: -7px;
}

.wp-caption {
    background: transparent;
    max-width: 100%;
    padding: 3px;
    margin: 0 0 15px;
    text-align: center;
    background: #f5f5f5;
}

.wp-caption img {
    padding: 2px;
}

@media all and (max-width: 900px) {
	.blocks-gallery-grid {
		position: relative;
		left: 0;
	}
}



/* Images and Backgrounds */

.bg-full {
    /* The image used */
    background-image: url('img/bg-home.jpg');

    /* Full height */
    height: 50%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    margin-bottom: 3rem;
}
.home .bg-full {
    height: 100%;
}



/* Text Styling */
small {
    font-size: 0.875em;
}

strong,
.b,
.bold {
    font-weight: 600;
}

em,
i {
    font-style: oblique;
}


/* Colors */
.black {
    color: #000 !important;
}
.blue {
    color: #1379ba !important;
}
.red {
	color: #b61f29 !important;
}


/* Tables */
.table {
    display: table;
}

.table .row {
    display: table-row;
}

.table .cell {
    display: table-cell;
}


/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.title,
.headline,
.comment-reply-title {
    display: block;
    margin: 25px 0;
    font-family: Trebuchet MS, Tahoma, Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -1px;
    color: #8f7f7f;
}

.title.small,
.headline.small {
    font-weight: 600;
}

.title,
.headline,
.comment-reply-title {
    margin-bottom: 60px;
    font-weight: 400;
    text-align: center;
}

.subline {
	color: #b61f29 !important;
	text-transform: uppercase;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
a.title,
.title a,
a.headline,
.headline a {
    text-decoration: none;
}

p+h1,
p+h2,
p+h4,
p+h5,
p+h6,
p+.title {
    margin-top: 25px;
}


@media all and (max-width: 560px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .title,
    .headline,
    .comment-reply-title {
        font-size: 21px;
        line-height: 27px;
    }
}


/* Hyperlinks */
a {
    color: #528ed2;
    text-decoration: none;
}

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


/* Buttons */
button:hover {
    cursor: pointer;
}

.btn {
    padding: .8rem 2rem;
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px;
    margin: .4rem auto;
    white-space: normal;
    -webkit-transition: all .3s ease-in-out, -webkit-box-shadow 2s ease-in-out;
    transition: all .3s ease-in-out, -webkit-box-shadow 2s ease-in-out;
    -o-transition: all .3s ease-in-out, box-shadow 2s ease-in-out;
    transition: all .3s ease-in-out, box-shadow 2s ease-in-out;
    transition: all .3s ease-in-out, box-shadow 2s ease-in-out, -webkit-box-shadow 2s ease-in-out;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    word-break: break-word;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    display: -webkit-inline-flex;

    text-decoration: none;
    border: none;
}
.btn::after {
	content: " »";
	padding-left: 10px;
}

.btn-primary, .wpcf7-submit {
    color: #fff;
    background-color: #b61f29;
    border: none;
	font-weight: 600;
}

.btn-primary:hover, .wpcf7-submit:hover {
    color: #fff;
    background-color: #75141a;
    border: none;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

.btn-form {
    margin: 1rem 0;
}



/* Forms */
form {
    width: 100%;
    max-width: 800px;
    margin: 0;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    background: #f3f4f5;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
}

form input {
    margin: .5rem 0;
}

form input[type=checkbox] {
    width: 16px;
    height: 16px;
    margin-right: .5rem;
    -webkit-appearance: checkbox;
}

form input[type=submit]:hover,
form input[type=submit]:active {
    cursor: pointer;
    background-color: #b61f29;
    border-color: #b61f29;
    color: #fff;
}

div.wpcf7 {
	margin-bottom: 30px;
}

div.wpcf7 .wpcf7-submit:disabled {
    background-color: #b61f29;
    border-color: #b61f29;
    color: #fff;
}

label span.event-type {
	display: block;
	margin-top: 8px;
}

form.wpcf7-form textarea {
	margin: 8px auto 15px;
}

.wpcf7-acceptance:hover, form.wpcf7-form select:hover, .wpcf7-date:hover {
	cursor: pointer;
}

form input.wpcf7-not-valid, form textarea.wpcf7-not-valid, div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
	border-color: #b61f29;
	border-width: 3px;
}

form input.wpcf7-not-valid, form textarea.wpcf7-not-valid {
	background: url('img/icons/required.png') no-repeat top right;
}


span.wpcf7-not-valid-tip {
	color: #b61f29;
}
div.wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output {
	background-color: #1FB6AC;
	color: #fff;	
}


.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output, div.wpcf7-response-output {
	margin: 0 auto;
	padding: 50px 0;
	border: none;
	font-weight: 700;
	font-size: 30px;
	line-height: 40px;
	text-align: center;
}

span.wpcf7-list-item {
	margin: 1em 0 0 1em !important;
}

.field-input {
    display: block;
    width: 100%;
}

form textarea {
    margin: 20px auto;
}


/* Structure */

/* Header */
header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 10px 15px;
}

.scrolled header {
	position: fixed;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 8px #c8c8c8;
}

body.admin-bar header {
    top: 30px;
}


/* Logo */
header .site-logo {
    position: relative;
    top: 5px;
    margin-right: 20px;
}

header .site-logo img {
    display: none;
}
header .site-logo {
    display: inline-block;
    width: 212px;
    height: 28px;
    background: transparent url('img/logo-dmp.png') no-repeat center center;
}

.scrolled header .site-logo {
    background: none;
    width: auto;
    height: auto;
}
.scrolled header .site-logo img {
    display: inline-block;
}


/* Navigation */
nav {
    display: inline-block;
}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
nav ul li {
    display: inline-block;
    padding: 0;
    margin-right: 15px;
    font-weight: 600;
}

/* Header Navigation */
header nav ul li {
    font-family: Trebuchet MS, Tahoma, Helvetica, Arial, sans-serif;
    font-size: 24px;
    text-transform: lowercase;
}
header nav a {
    color: #b7b7b7;
}
header nav a:hover, header nav .current-menu-item a {
    color: #8f7f7f;
}

.scrolled header nav a {
    color: #c6bdb6;
}
.scrolled header nav a:hover, .scrolled header nav .current-menu-item a {
    color: #8f7f7f;
}

/* Footer Navigation */
footer nav ul li {
    margin: 0 0 0 15px;
}
footer a {
    color: #fff;
    font-weight: 400;
    text-shadow: none;
}
footer a:hover, footer nav .current-menu-item a {
    color: #f0f0f0;
}






/* content */

main {
    margin: 15px auto;
}
main h1 {
    position: static;
    top: unset;
    left: unset;
    color: #222;
    font-size: 30px;
}

main p, main ul, main ol, main h2, main h3, main h4, main h5, main h6, body.home main h1
{
    text-transform: lowercase;
}

.inner,
main p, main ul, main ol, main h2, main h3, main h4, main h5, main h6, body.home main h1,
.wp-block-image, .wp-block-gallery,
.wp-block-buttons,
main h1,
footer .legal
{
    max-width: 760px;
    padding: 0 20px;
    margin: 0 auto 2rem;
}


@media all and (max-width: 900px) {
	main {
		max-width: 90%;
	}
}
@media all and (max-width: 640px) {
	main h1 {
		font-size: 46px;
		line-height: 54px;
	}
}



header .inner {
    margin-bottom: 0;
}

.wp-block-image,
.wp-block-gallery,
.blocks-gallery-grid
{
    max-width: 960px;
}
.wp-block-image img {
    height: auto;
}
.blocks-gallery-grid.columns-3 .blocks-gallery-image, .blocks-gallery-grid.columns-3 .blocks-gallery-item, .wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item
{
    margin-right: 0;
    padding: 0;
}
.blocks-gallery-item {
    padding: 0;
}
.wp-block-image figcaption {
    text-align: center;
}


.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption
{
    display: none;
    font-size: 21px;
    font-family: Georgia;
    background: linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,.3) 70%,transparent);
    top: 0;
    bottom: unset;
    padding-top: 1em;
}


.blocks-gallery-grid .blocks-gallery-image:hover figcaption,
.blocks-gallery-grid .blocks-gallery-item:hover figcaption,
.wp-block-gallery .blocks-gallery-image:hover figcaption,
.wp-block-gallery .blocks-gallery-item:hover figcaption
{
    display: block;
}



footer {
    margin-top: 3rem;
    padding: 3rem 3rem .5rem;
    background-color: #222;
    color: #f0f0f0;
    font-family: Georgia;    
}
footer .legal {
	font-size: 1.1rem;
	line-height: 1.75rem;
	text-align: left;
}
footer .design {
	margin-top: 3rem;
	text-align: right;
}
footer .design a {
	color: #999;
}