/*
Theme Name: Elevation Design
Description: Elevation Design theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */

/* fix issues with the WP admin bar messing with sticky/absolute header items */
body.admin-bar #branding-wrap{ top: 28px; }
body.admin-bar #wrapper{ margin-top: 145px; }

td {
	vertical-align: top;
}

a {
	color: var(--main);
	text-decoration: underline;
	outline: none;
    text-decoration-color: var(--main);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

a:hover {
	color: var(--third);
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a {
	line-height: 120%;
    color: var(--third);
}

h1 {
	font-size: 2.4em;
	margin-top: 0;
}

h2 {
	font-size: 2.0em;
}

h3 {
	font-size: 1.6em;
}

h4 {
    font-size: 1.4em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #eee;
	color: #eee;
	margin: 30px 0;
    clear: both;
}



/* Content                                          */
/* ------------------------------------------------ */
.content {
	padding: 30px 0 50px 0;
	overflow: hidden;
	font-size: 1.1em;
	min-height: 200px;
    clear: both;
}

.content, .content p, .content li {
	line-height: 160%;
}

.content img {
	max-width: 100%;
	height: auto;
}

.content a {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.readmore, input[type="submit"], .readmore a {
	background: var(--main);
	color: #fff;
	padding: 6px 38px;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	line-height: 100%;
	border: 0;
	cursor: pointer;
}

input[type="submit"] {
    padding: 16px 38px;
}

.readmore:hover, input[type="submit"]:hover, .readmore:hover a {
	background: var(--third);
	color: #fff;
}


.readmore, .content a, input[type="submit"] {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

p.readmore {
    padding: 0;
}

/*.onecolpic {
    display: none;
}

.twocolpic {
    display: block;
}*/

.wp-block-columns {
    margin: 0 -30px;
}

/* Add horiztonal breathing room between individual columns. */
.wp-block-column {
    padding: 0 30px;
}

.wp-block-columns {
    padding-bottom: 80px;
}

.wp-block-columns img {
    width: 100%;
    height: auto;
}

/* Columns                                          */
/* ------------------------------------------------ */
.columns-container {
    margin: 0 -30px;
    overflow: hidden;
}

.column-half {
    box-sizing: border-box;
    padding: 30px;
}

.column-half {
    width: 50%;
    margin: 0 0 40px 0;
    float: left;
}

.column-half:nth-child(2n+1) {
    clear: both;
}

.column-twothirds {
    width: 66.333%;
    margin: 0 0 40px 0;
    float: left;
}

.column-third {
    width: 33.333%;
    margin: 0 0 40px 0;
    float: left;
}

.column-quarter {
    width: 25%;
    margin: 0 0 40px 0;
    float: left;
}

.column-half img, .column-twothirds img, .column-third img {
    width: 100%;
    height: auto;
}

.column-half h2, .column-half h2 p {
    margin: 0;
    padding: 0;
}

/*.columns-container .column-half:nth-of-type(2n+1) {
    clear: both;
    background: red;
}*/

.clearfix {
    clear: both;
}

input, select, textarea {
    background-color: #fff;
    padding: 10px;
    border: none;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #5e5d5d;
}

input:not([type="submit"]), textarea, select {
    width: 96%;
}

input:focus, input[type="checkbox"]:focus, select:focus, textarea:focus {
    outline: 2px solid var(--main);
}

.wpcf7-form p > label {
    line-height: 220%;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footerpic {
    clear: both;
    height: 620px;
    padding: 60px 0 20px 0;
}

.footerpic-text {
    max-width: 60%;
    color: var(--third);
    font-size: 44px;
    line-height: 120%;
    font-weight: bold;
}

footer {
	padding: 60px 0;
	background: var(--third);
    overflow: hidden;
}

footer a, footer, footer p {
	color: #fff;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

footer ul {
    list-style-type: none;
    margin: 12px 0;
    padding: 0;
}

footer li {
    padding-bottom: 10px;
}

a.scrollup {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    text-indent: -9999px;
    background: url(images/top.svg) no-repeat;
    background-size: 100%;
    opacity: 0.7;
}

#copyright {
    opacity: 0.3;
    font-size: smaller;
}

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (max-width: 1500px) {
    #footerpic {
        height: 400px;
    }
}

@media screen and (max-width: 1000px) {
    .footerpic-text {
        max-width: 80%;
        font-size: 34px;
    }
}

@media screen and (max-width: 800px) {
    .column-half {
        width: auto;
        float: none;
        margin: 0 0 30px 0;
        padding: 0 30px 20px 30px;
    }

    .swap-direction {
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
        }

    #footerpic {
        height: 300px;
    }
}

@media screen and (max-width: 600px) {
    .footerpic-text {
        max-width: 100%;
        font-size: 30px;
    }
}

/* iOS */
@media screen and (max-width: 380px) {

}


/* WP Common Styles */
figure {
    display: table;
}

.wp-block-image figcaption {
    display: table-caption;
    caption-side: bottom;
    margin-top: -10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

figure.wp-block-image {
    margin-left: 0;
    margin-right: 0;
}

figure.wp-block-image img {
    max-width: none !important;
}

.wp-caption {
    width: 100% !important;
}

.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}

.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}

.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}

.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}

.wp-caption {
   margin-right: 5px;
}

.wp-caption img {
	padding-bottom: 5px;
}

.alignleft, .alignright {
	margin-bottom: 20px;
}

.aligncenter, dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}


@media screen and (max-width: 600px) {
    img.alignleft, img.alignright {
        float: none;
        display: block;
        margin: 20px auto;
    }
}