/*
Theme Name: Young Voices
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Young Voices Theme
Author: MainTask
Author URI: https://www.maintask.pro
Template: Divi
Version: 1.0.1
*/


/*** WEB FONTS ***/
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;900&display=swap'); 

@font-face {
	font-family: 'Helvetica Neue';
	src: url(fonts/HelveticaNeueLTStd-Lt.woff) format('woff');
	font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Helvetica Neue';
	src: url(fonts/HelveticaNeueLTStd-Bd.woff) format('woff');
	font-weight: bold;
    font-style: normal;
}
@font-face {
	font-family: 'Helvetica Neue';
	src: url(fonts/HelveticaNeueLTStd-Md.woff) format('woff');
	font-weight: 500;
    font-style: normal;
}
@font-face {
	font-family: 'Helvetica Neue';
	src: url(fonts/HelveticaNeueLTStd-Md.woff) format('woff');
	font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Eina01';
    src: url('fonts/subset-Eina01-SemiBold.woff2') format('woff2'),
    url('fonts/subset-Eina01-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Eina01';
    src: url('fonts/subset-Eina01-Regular.woff2') format('woff2'),
    url('fonts/subset-Eina01-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Eina01';
    src: url('fonts/subset-Eina01-Bold.woff2') format('woff2'),
    url('fonts/subset-Eina01-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Publico';
    src: url('fonts/subset-Publico-LightItalic.woff2') format('woff2'),
    url('fonts/subset-Publico-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Publico';
    src: url('fonts/subset-Publico-Medium.woff2') format('woff2'),
    url('fonts/subset-Publico-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Publico Roman';
    src: url('fonts/subset-Publico-Italic.woff2') format('woff2'),
    url('fonts/subset-Publico-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Publico';
    src: url('fonts/subset-Publico-Bold.woff2') format('woff2'),
    url('fonts/subset-Publico-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Publico';
    src: url('fonts/subset-Publico-Black.woff2') format('woff2'),
    url('fonts/subset-Publico-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Publico Roman';
    src: url('fonts/subset-Publico-Roman.woff2') format('woff2'),
    url('fonts/subset-Publico-Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Publico';
    src: url('fonts/subset-Publico-Extrabold.woff2') format('woff2'),
    url('fonts/subset-Publico-Extrabold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Publico';
    src: url('fonts/subset-Publico-BoldItalic.woff2') format('woff2'),
    url('fonts/subset-Publico-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Publico';
    src: url('fonts/subset-Publico-Light.woff2') format('woff2'),
    url('fonts/subset-Publico-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Publico';
    src: url('fonts/subset-Publico-MediumItalic.woff2') format('woff2'),
    url('fonts/subset-Publico-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Publico';
    src: url('fonts/subset-Publico-BlackItalic.woff2') format('woff2'),
    url('fonts/subset-Publico-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Publico';
    src: url('fonts/subset-Publico-ExtraboldItalic.woff2') format('woff2'),
    url('fonts/subset-Publico-ExtraboldItalic.woff') format('woff');
    font-weight: 800;
    font-style: italic;
}

body,
input,
select {
    font-family: 'Helvetica Neue';
    color: #565555;
	font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Crimson Pro', serif;
    color: #565555;
}


h3 {
    font-family: 'Crimson Pro', serif;
    color: #f6764d;
    line-height: 1.2;
    text-align: center;
}

h4 {
    font-family: 'Crimson Pro', serif;
    font-weight: bold;
    text-transform: uppercase;
}

h4 {
    font-family: 'Crimson Pro', serif;
    font-weight: 500;
}


/* Headers */

.et_pb_column_1_3 h1,
.et_pb_column_1_4 h1,
h1 {
    font-size: 36px;
}

.et_pb_column_1_3 h2,
.et_pb_column_1_4 h2 {
    font-size: 30px;
}

.et_pb_column_1_3 h3,
.et_pb_column_1_4 h3 {
    font-size: 26px;
}

.et_pb_column_1_3 h4,
.et_pb_column_1_4 h4 {
    font-size: 18px;
}

.et_pb_column_1_3 h5,
.et_pb_column_1_4 h5 {
    font-size: 16px;
}

.et_pb_column_1_3 h6,
.et_pb_column_1_4 h6 {
    font-size: 15px;
}

.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none;
}


/*** GLOBAL ***/
#top-menu-nav .nav li ul.sub-menu {
	border-color: rgb(254,86,121);
}
#top-menu-nav .nav li ul.sub-menu li a, .et-fixed-header #top-menu li ul.sub-menu li a {
	color: #565555 !important;
}

.zigzag svg {
    width: 100%;
}

.white {
    color: white;
}

.focus {
    font-size: 1.6em;
    font-weight: lighter;
}

.flex-aligned {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.page-header .header-content {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header .header-content h1 {
    align-self: flex-end;
    text-align: center;
    font-size: 48px;
    padding-bottom: 20px;
}

.orangesvg {
    width: 0px;
    height: 0px;
}

/*** HOMEPAGE HEADER ***/

#et-top-navigation {
    font-weight: 600;
    font-size: 16px;
}

#et_top_search {
    margin-top: 0;
}

span.et_close_search_field:after {
    line-height: 0.8;
}

h1.main-headline {
    text-align: center;
    font-size: 4.5em;
	font-weight: 900;
}

h4.main-title {
    text-align: center;
    padding-bottom: 25px;
    padding-left: 5px;
    letter-spacing: 0.6em;
}

.et_mobile_menu li a {
    color: black;
}

#logo {
    max-height: 80%;
	vertical-align: baseline;
}

.et-fixed-header #logo {
    /* content: url(https://maintask.pro/projects/youngvoices/wp-content/uploads/2018/06/Logo-yv-2.png); */
    max-height: 100%; 
}

.et-fixed-header {
    background-image: -webkit-gradient(linear, 0 11, 170.5 0, color-stop(0.011, #fd5876), to(#f57b46)) !important;
    background-image: -webkit-linear-gradient(3.6913859864512233deg, #fd5876 1.1%, #f57b46) !important;
    background-image: -moz-linear-gradient(3.6913859864512233deg, #fd5876 1.1%, #f57b46) !important;
    background-image: -o-linear-gradient(3.6913859864512233deg, #fd5876 1.1%, #f57b46) !important;
    background-image: linear-gradient(86.30861401354878deg, #fd5876 1.1%, #f57b46) !important;
}

header#main-header {
    background-color: transparent;
    box-shadow: none !important;
}

header#main-header:hover {
    background-color: transparent;
}

div#page-container {
    padding-top: 0px !important;
}

.underline {
    background-repeat: no-repeat;
}

.underline-orangeLine {
    background-image: url("https://maintask.pro/projects/youngvoices/wp-content/uploads/2018/06/underline.png");
    background-position: center 100%;
    background-size: 68% 9px;
}

#et-main-area {
    overflow: hidden;
}

.logo_container .zigzag {
    width: 80px;
    position: relative;
    top: -30px;
    left: 15px;
}

.et-fixed-header .logo_container .zigzag {
    display: none;
}


/*** ADVOCATES SLIDER ***/

.flex-aligned .et_pb_column_4 {
    align-self: flex-end;
}


/*** WHAT WE DO ***/

.whatwedo .et_pb_slide .et_pb_slide_title {}

.whatwedo .et_pb_slide .et_pb_slide_content {}



/*** FEATURED BLOG POSTS ***/

.featured-articles div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.featured-articles .et_pb_post {
    margin: 10px;
    background: #ebebeb;
    width: 30%;
    flex: 1 0 250px;
}

.featured-articles .et_pb_post .post-content,
.featured-articles .et_pb_post h3.entry-title {
    padding: 0 25px 5px;
}

.featured-articles .et_pb_post .post-content {
    font-size: 16px;
    padding-bottom: 20px;
}


/*** NEWSLETTER ***/

.et_pb_newsletter_form {
    width: 100%;
}

.et_pb_newsletter_description {
    display: none;
}

.et_pb_signup_0 {
    max-width: 100% !important;
}

.et_pb_newsletter .et_pb_newsletter_fields {
    flex-wrap: wrap;
    justify-content: flex-start;
}

.et_pb_newsletter .et_pb_newsletter_field {
    width: 400px;
}

.et_pb_newsletter_form p.et_pb_newsletter_field {
    padding-bottom: 0;
}

.et_pb_newsletter .et_pb_newsletter_button_wrap {
    width: 200px;
}

.et_pb_newsletter .et_pb_newsletter_button_wrap a {
    padding: 10px 20px 6px;
    font-weight: 500;
    border: 2px solid transparent;
    border-radius: 0px 0px 0px 0px;
}

.et_pb_newsletter .et_pb_newsletter_field input {
    padding: 10px 30px;
}

.et_pb_newsletter .et_pb_newsletter_form .et_pb_contact_field_half,
.et_pb_newsletter .et_pb_newsletter_form .et_pb_contact_field_half,
.et_pb_newsletter .et_pb_newsletter_fields>* {
    flex-basis: auto;
}

.et_pb_module .et_pb_button:hover,
.et_pb_button:hover {
    padding: 10px 20px 6px;
}





/*** PUBLISHED IN SLIDER ***/

.published-in-slider .image-slider {
    display: inline-block;
    vertical-align: middle;
    width: 12%;
    padding: 50px 10px 0;
    margin: 0 10px;
}

.published-in-slider .et_pb_slide {
    padding: 0;
}

.published-in-slider .et_pb_container {
    width: 100%;
    margin: 0 auto;
    max-width: none;
}

.published-in-slider .et_pb_slide_description {
    padding: 5%;
}

.published-in-slider .et-pb-controllers {
    display: none;
}








/*** ACHIEVEMENTS ***/

.achievements .achievements-item {
    font-family: 'Helvetica Neue';
    font-weight: 500;
    padding: 0 10px;
}

.achievements .achievements-item h4.title {
    text-transform: none;
    padding: 0 25px;
}








/*** FOOTER ***/

#footer-bottom {
    background: #707070;
}

#footer-bottom #footer-info,
#footer-bottom #footer-info a {
    color: white;
}









/*** UNCATEGORIZED ***/

.hide-slider-content .et_pb_slide_title {
    visibility: hidden;
}

.hide-slider-content .et_pb_slide_content {
    visibility: hidden;
}

.hide-slider-content .et_pb_slide_wrapper {
    visibility: hidden;
}

.hide-slider-content .et-pb-arrow-prev {
    color: black !important;
}

.hide-slider-content .et-pb-arrow-next {
    color: black !important;
}

.hide-slider-content .et_pb_button {
    visibility: hidden;
}

.mobile_menu_bar:before,
.mobile_menu_bar:after {
    color: white;
}

#et_search_icon:hover,
.et-social-icon a:hover,
.comment-reply-link,
.form-submit .et_pb_button,
.entry-summary p.price ins,
.wp-pagenavi span.current,
.wp-pagenavi a:hover,
.et_password_protected_form .et_submit_button,
.nav-single a,
.posted_in a,
#top-menu li.current-menu-ancestor>a,
#top-menu li.current-menu-item>a,
.bottom-nav li.current-menu-item>a,
.footer-widget h4 {
    color: #f86b5a;
}

.et_header_style_centered .mobile_nav .select_page,
.et_header_style_split .mobile_nav .select_page,
.et_nav_text_color_light #top-menu>li>a,
.et_nav_text_color_dark #top-menu>li>a,
#top-menu a,
.et_mobile_menu li a,
.et_nav_text_color_light .et_mobile_menu li a,
.et_nav_text_color_dark .et_mobile_menu li a,
#et_search_icon:before,
.et_search_form_container input,
span.et_close_search_field:after,
#et-top-navigation .et-cart-info {
    color: inherit;
}

.et_mobile_menu {
    border-top: 5px solid #f86b5a;
    background: rgba(0, 0, 0, 0.8);
}

a {
    color: #f86b5a;
}



/*** ABOUT PAGE ***/

.about-team img {
    max-width: none;
    bottom: 56px;
}

.about-slider .et_pb_slide {
    background: transparent !important;
}

.about-slider .et_pb_container {
    height: auto !important;
}

.about-slider .et_pb_slide_image {
    width: 20%;
}

.about-slider .et_pb_slide_description {
    padding: 0px 6%;
    width: 80%;
}

.about-slider .et_pb_slide_description p {
    font-size: 16px;
}

.about-slider .et_pb_slide_description h3 {
    text-align: left;
}



/*** TABLETS AND BELOW ***/

@media all and (max-width: 980px) {

    .published-in-slider .image-slider {
        width: 30%;
    }

    h1.main-headline {
        font-size: 3.5em;
    }

    .about-team img {
        max-width: 100%;
    }
}





.search .menu-item a,
.single .menu-item a {
    color: black !important;
}

.search #et-main-area,
.single #et-main-area {
    margin-top: 120px;
}

.single-advocate #main-content .container {
    padding-top: 0;
}

.track {
	position: absolute;
	left: -5000px;
}




/***
****
****
**** OLD SLIDER CODE



.section-slider-giulio {
    background-image: -webkit-gradient(linear, 0 0, 955.5 21, from(#f3803f), to(#f86d59)) !important;
    background-image: -webkit-linear-gradient(358.7409547928247deg, #f3803f, #f86d59) !important;
    background-image: -moz-linear-gradient(358.7409547928247deg, #f3803f, #f86d59) !important;
    background-image: -o-linear-gradient(358.7409547928247deg, #f3803f, #f86d59) !important;
    background-image: linear-gradient(91.25904520717529deg, #f3803f, #f86d59) !important;
}
.section-slider-giulio .et_pb_slide {
    margin: 0 auto;
    padding: 0 0;
    width: 100%;
}

.section-slider-giulio .et_pb_slide_description {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
}

.section-slider-giulio .et_pb_container {
    width: 100%;
    margin: 0 auto;
    display: block;
    max-width: none;
}

.section-slider-giulio .et_pb_slider_container_inner {
    display: block;
    width: 100%;
}

*/


/*** 
****
****
**** FOR DELETION - DOESN'T SEEM TO DO ANYTHING ***/


/*

.diagonal-shadow-slider::before,
.diagonal-shadow-slider::after {
    position: absolute;
    content: '';
    pointer-events: none;
} 
 
.diagonal-shadow-slider {
    z-index: 99;
    padding-top: 6em;
    background: #2072a7;
}
 
.diagonal-shadow-slider::before, 
.diagonal-shadow-slider::after {
    top: 0;
    left: -25%;
    z-index: -1;
    width: 150%;
    height: 350%;
    background: inherit;
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

*/


/* Hides all the items that float over the right margin */


/*.diagonal-shadow::before,
.diagonal-shadow::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.diagonal-shadow {
    z-index: 99;
    padding-top: 6em;
    background: #2072a7;
}

.diagonal-shadow::before,
.diagonal-shadow::after {
    top: 0;
    left: -25%;
    z-index: -1;
    width: 150%;
    height: 155%;
    background: inherit;
    -webkit-transform: rotate(+2deg);
    transform: rotate(+2deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}*/


/*.diagonal-shadow-left::before,
.diagonal-shadow-left::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.diagonal-shadow-left {
    z-index: 99;
    padding-top: 6em;
    background: #2072a7;
}

.diagonal-shadow-left::before,
.diagonal-shadow-left::after {
    top: -100px;
    left: -25%;
    z-index: -1;
    width: 150%;
    height: 75%;
    background: inherit;
    -webkit-transform: rotate(+2deg);
    transform: rotate(+2deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}*/


/*.diagonal-shadow::before {
    height: 50%;
    background: #535353;
    -webkit-transform: rotate(-3deg);
    transform: rotate(-3deg);
    -webkit-transform-origin: 3% 0;
    transform-origin: 3% 0;
}*/


/*.diagonal-shadow-mixed::before,
.diagonal-shadow-mixed::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.diagonal-shadow-mixed {
    z-index: 99;
    padding-top: 6em;
    background: #2072a7;
}

.diagonal-shadow-mixed::before {
    top: -100px;
    left: -25%;
    z-index: -1;
    width: 150%;
    height: 75%;
    background: inherit;
    -webkit-transform: rotate(+2deg);
    transform: rotate(+2deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

.diagonal-shadow-mixed::after {
    top: 70px;
    left: -25%;
    z-index: -1;
    width: 150%;
    height: 75%;
    background: inherit;
    -webkit-transform: rotate(-1.5deg);
    transform: rotate(-1.5deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}*/


/*.diagonal-shadow-bottomright::before,
.diagonal-shadow-bottomright::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.diagonal-shadow-bottomright {
    z-index: 99;
    padding-top: 6em;
    background: #2072a7;
}

.diagonal-shadow-bottomright::before,
.diagonal-shadow-bottomright::after {
    top: 150px;
    left: -25%;
    z-index: -1;
    width: 150%;
    height: 75%;
    background: inherit;
    -webkit-transform: rotate(+2deg);
    transform: rotate(+2deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}*/