/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

/*----------FONTS----------*/

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
    font-family: 'proxima-nova-extra-condensed',sans-serif !important;
    font-weight: 600 !important;
    margin-top: 5px !important;
}

body {
    font-family: 'proxima-nova-extra-condensed',sans-serif !important;
    font-weight: 100 !important;
    font-size: 20px !important;
    letter-spacing: .01em !important;
	line-height: 1.5em !important;
}

h6, .h6 {
    font-weight: 300 !important;
    font-size: 120% !important;
    letter-spacing: .03em !important;
}

body p {
	line-height: 1.5em !important;
}

.x-text {
	line-height: 1.5em !important;
}

p {
	margin: 0 0 .6em !important;
}

.button-accordion .x-acc-content {
	border-color: #efefef !important;
	border-width: 2px !important;
	border-style: solid !important;
	padding: 0 !important;
}

.button-accordion .x-acc-content a {
	display: block;
	padding: 10px 15px;
}

.button-accordion .x-acc-content a:hover {
	background-color: #efefef;
}

/*----------NAV----------*/

ul#menu-main a {
    font-family: 'proxima-nova-extra-condensed',sans-serif !important;
    font-weight: 500 !important;
}

.x-navbar .desktop .sub-menu li > a {
	font-size: 1.3em !important;
}

.x-navbar .mobile .sub-menu li a {
    font-size: 15px !important;
}

.x-navbar {
    position: absolute;
    width: 100%;
    margin-top: 0;
}

.x-btn-navbar {
    box-shadow: none !important;
}

.mobile ul.x-nav li {
    background-color: white !important;
}

/*----------BUTTONS----------*/

.x-btn, .button, [type="submit"] {
    font-size: 22px !important;
    padding: .43em 2em .3em !important;
    transition: all 0.15s ease-in !important;
    font-family: 'proxima-nova-extra-condensed',sans-serif !important;
    margin-bottom: 15px !important;
}

/*----------BANNER----------*/

.banner h1 {
    font-size: 450% !important;
}

.banner .large-txt {
    font-size: 150% !important;
    line-height: 1.3em !important;
}

/*----------GENERAL----------*/

.page-id-16 .x-btn {
    margin-right: 15px !important;
    margin-bottom: 15px !important;
}

img.full-image {
    margin-bottom: 0 !important;
    width: 100% !important;
}

.text-box {
    padding: 5% !important;
}

.white-txt {
    color: white !important;
}

.blue-bkgd {
    background-image: url('/wp-content/uploads/2017/06/BlueBackground.jpg') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/*----------FORM----------*/

body .gform_wrapper #gform_1 .top_label .gfield_label, body .gform_wrapper #gform_1 .ginput_complex label {
    display: none !important;
}

body #gform_1 textarea, body #gform_1 input[type="text"] {
    border: none !important;
}

body .gform_wrapper #gform_1 input[type=text], body .gform_wrapper #gform_1 textarea {
    font-size: 16px !important;
}

body .gform_wrapper #gform_1 .gform_footer input[type=submit] {
    color: white !important;
    border-color: white !important;
}

body .gform_wrapper #gform_1 .gform_footer input[type=submit]:hover {
    color: #464646 !important;
    border-color: #464646 !important;
}

.gform_wrapper .ginput_complex.ginput_container.has_first_name.no_middle_name.has_last_name span.name_first {
    margin-right: 2% !important;
}

.gform_wrapper .ginput_complex.ginput_container.has_first_name.no_middle_name.has_last_name span {
    width: 48% !important;
}

/* Newsletter Form */
.form--newsletter_wrapper .gform_body li.gfield + li.gfield {
    margin-top: .5em !important;
}
.form--newsletter_wrapper .gform_footer {
    margin-top: 1.5em;
}
.form--newsletter_wrapper .ginput_container_consent {
    display: flex;
    align-content: center;
}
.form--newsletter_wrapper .ginput_container_consent input {
    margin: 0 .5em 0 0 !important;
}
.form--newsletter_wrapper .gfield_consent_label {
    display: inline-block !important;
    margin: 0;
}
.form--newsletter_wrapper .gfield_required {
    color: darkred !important;
}
.form--newsletter_wrapper .gfield_label,
.form--newsletter_wrapper label {
    color: white !important;
}
.form--newsletter_wrapper .gform_button {
    color: white !important;
    border-color: white !important;
}
.form--newsletter_wrapper .gform_confirmation_message {
    color: white !important;
}

/*----------FOOTER----------*/

footer.x-colophon.bottom {
    padding: 0 !important;
}

footer.x-colophon.top {
    padding: 35px 0 20px;
    background-color: white;
}

footer.x-colophon.top .x-column:first-child:after {
	content: "&";
	display: block;
	position: absolute;
	right: -1%;
	top: 30%;
	font-size: 1.3em !important;
}

.x-colophon .widget {
	margin-top: .6em !important;
}

#media_image-2 img {
	max-width: 292px !important;
	width: 80% !important;
	margin: auto;
    text-align: center;
    display: block;
}

#media_image-3 img {
	margin: auto;
    text-align: center;
    display: block;
}

@media only screen and (max-width: 960px) {
	
	footer.x-colophon.top .x-column:first-child:after {
		right: 49% !important;
		top: inherit !important;
		bottom: -1.5em !important;
	}
	
	footer.x-colophon.top .x-column:first-child {
		margin-bottom: 2em !important;
	}
	
}

footer.x-colophon.top .x-container:before {
	content: "ACHIEVE Publishing is a division of:";
	display: block !important;
	text-align: center;
    margin-bottom: 1em;
    font-size: 1.3em;
	width: 100%;
}

footer img.wp-image-72 {
    margin-top: 10px !important;
}

footer img.wp-image-71 {
    padding: 10px 15px !important;
}

#media_image-3 img {
	 max-width: 236px !important;
    margin-bottom: -.4em;
    margin-top: -.5em;
}

#text-2, #text-3 {
	max-width: 460px;
    width: 100%;
    margin: auto;
}

/*----------RESPONSIVE----------*/

@media only screen and (max-width: 1000px) {
    
    .banner h1 {
        font-size: 330% !important;
    }
    
}

@media only screen and (max-width: 979px) {
    
    footer img {
        max-width: 50% !important;
    }
    
    footer {
        text-align: center !important;
    }
    
    .x-colophon.top .x-column .widget:first-child {
        margin-top: 1em !important;
    }
    
    footer.x-colophon.top {
        padding: 20px 0 !important;
    }
    
}

@media only screen and (max-width: 850px) {
    
    .banner h1 {
        font-size: 230% !important;
    }
    
    .banner .large-txt {
        font-size: 120% !important;
    }
    
    body div.about {
       padding: 25px 15px !important;
    }
    
    .text-box {
        padding: 35px 5% !important;
    }
    
}

@media only screen and (max-width: 767px) {
    
    .banner .book-image {
        max-width: 55% !important;
        margin-bottom: 0 !important;
    }
    
    .banner .x-2-5 {
        text-align: center !important;
    }
    
}

@media only screen and (max-width: 600px) {
    
    .x-btn, .button, [type="submit"] {
        width: 100% !important;
    }
    
}







