/*
Theme Name: NORVEST Sub-Site Theme
Author URI: https://vibrantbrands.com/
Description: A custom theme for NORVEST by Vibrant Brands
Version: 1.0
Text Domain: nyspia
*/


/*

font-family: 'Merriweather', serif;
700

font-family: 'Roboto', sans-serif;
400 | 400i | 700

*/

*{box-sizing:border-box;}
html,body{
    margin:0;
    font-family: 'Roboto', sans-serif;
}
h1,h2,h3,h4,h5,h6{
    font-family: 'Merriweather', serif;
    font-weight:700;
}

main a:not(.wp-block-button__link,wp-element-button) {
    color: #000000;
}

main a:not(.wp-block-button__link,wp-element-button):hover {
    color: #008745;
}
img{
    max-width:100%;
}
.wrapper{
    margin: 0 auto;
    max-width:1080px;
    width:100%;
    padding: 0 40px;
}

/* header */
header{
    height:150px;
    background-color:#aaa;
}
header .wrapper{
    display:flex;
    justify-content: space-between;
}
.header_button_space{
    flex: 1 0 1%;
    display:flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;
}
.header_button{
    background: #333;
    color: #fff;
    padding: 12px 18px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}
.header_button_space:last-child{
    align-items: flex-end;
}
.header_logo_space{
    flex: 0 0 200px;
    margin: 0 40px;
}
.header_logo img{
    position:relative;
    top:50px;
}


@media(max-width:700px){

    main h1{
        font-size: 27px;
        margin: 0 0 30px 0;
    }
    header{
        height:auto;
    }
    header .wrapper{
        padding-top:20px;
        flex-direction:column;
    }
    .header_logo img{
        width:200px;
        top: 30px;
    }
    .header_logo_space{
        flex: 0 0 auto;
        order:3;
        margin:0;
        height: 130px;
        text-align: center;
    }
    .header_button_space{
        align-items: center !important;
    }
    .header_button_space .header_button{
        margin: 10px 0;
    }
    .header_button_space:first-child{order: 1;}
    .header_button_space:last-child{order: 2;}

}

main{
    min-height: 100vh;
    background:#fff;
    padding: 150px 0 0 0;
}
main h1{
    text-align: center;
}
main p{
    line-height:1.6em;
}
.wp-block-buttons{
    display:flex;
    justify-content: center;
    margin: 60px 0;
}
a.wp-block-button__link{
    margin: 10px;
    background: #333;
    color: #fff;
    padding: 12px 18px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}


footer{
    margin: 50px 0;
    text-align: center;
}
footer p{
    padding: 15px;
    border-radius:4px;
    display:inline-block;
    background:rgba(0,0,0,0.2);
    font-size:14px;
    color:#eee;
}
footer p a{
    text-decoration: none;
    color:#eee;
}

.wpcf7 {
	width:960px;
	margin:0 auto;
	max-width:90%;
	padding-bottom:20px;
}
.row{
	display:block;
	width:100%;
}
.row:after{
	content: "";
    display: table;
    clear: both;
}
.row .col-sm-12{
	width:100%;
	float:none;
}
.row .col-sm-6{
	width:48%;
	float:left;
}
.row .col-sm-6:first-child{
	width:48%;
	margin-right:2%;
}
.wpcf7 input, .wpcf7 textarea
{
	width:100%;
	padding:11px 14px 9px;
	border:1px solid #ccd0d9;
}
.wpcf7-form-control-wrap,.wpcf7 p,.wpcf7 span{
	width:100%;
}
.wpcf7 span.wpcf7-spinner{
	width:24px;
	position:absolute;
}
.wpcf7 input[type="submit"]{
	width:auto;
	background-color: #2685c6;
  border: 1px solid #2685c6;
  color:#FFFFFF;
}

span.required{
	font-weight:bold;
	color:RED;

}
.wpcf7 textarea {
  font-family: 'Roboto', sans-serif;
}

@media screen and (max-width: 600px) {
	.row .col-sm-6{
		width:100%;
		margin-right:0px;
		float:none;
	}
	.row .col-sm-12,.row .col-12{
	width:100%!important;
	float:none!important;
	margin-right:0px!important;
	}
	.col-phone{
	margin-bottom:30px;
	}
}

