/*
Theme Name: MindFreedom International
Author: J.F. Web Development
Author URI: https://jfwebdev.com/
Description: Built for MindFreedom using The7 parent theme.
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/


/*--------------------- ALL PAGES------------------------*/

@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900');

/*Adjust button in nav*/
.mini-widgets {
    padding-right: 15px!important;
}


/*Get Beaver builder to fit on all pages*/
.fl-builder #main {
    padding-top: 0;
    padding-bottom: 0;
}
.fl-builder #main .wf-wrap {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/*WP Block Button Stylings*/
a.wp-block-button__link {
    background-color: #018fe7;
}

a.wp-block-button__link:hover {
    background-color: #0A46AA;
}



/*Add to any share icons ONLY FOR SMALL SCREENS*/

.a2a_floating_style.a2a_default_style { 
    display: flex; 
}

/*
@media screen and (max-width: 980px)  {
.a2a_floating_style {
	width:100%;
}
}
*/


/*--- create responsive youtube videos -----*/
/* Makes YouTube videos inside this div be responsive*/
.youtube-responsive-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.youtube-responsive-container iframe,
.youtube-responsive-container object,
.youtube-responsive-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.single-width iframe {
    margin: 0 25%;
}




/*------------------ GRAVITY FORMS -------------------*/

/* Makes placeholder text darker for Gravity Forms*/
::-webkit-input-placeholder { /* Chrome */
  color: #1E1F22 !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #1E1F22 !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #1E1F22 !important;
  opacity: 1 !important;
}
:-moz-placeholder { /* Firefox 4 - 18 */
  color: #1E1F22 !important;
  opacity: 1 !important;
}


/*adjusts margins/padding around fields in gravity form for mail subscribe list*/

#field_1_1, #field_1_3, #field_1_4, #field_1_5, .gform_footer {
    margin-top:0px!important;
}

#field_1_3, #field_1_5 {
    padding-right:0px;
}

/*Hide Labels for Mailing List Form*/
#gform_fields_1 .gfield_label {
    display: none;
}

/*Subscribe List Button*/
.home .gform_button, .sidebar .gform_button{
    width:100%!important;
    text-transform:uppercase!important;
    font-size:1.5em!important;
}

/*Black font for form*/
.home .ginput_container input.medium, .sidebar .ginput_container input.medium, #input_1_6_3, #input_1_6_6 {
    color: #000000;
}

/*Sizing the fields*/
.home .ginput_container, .sidebar .ginput_container {
    width: 100%!important;
}
.home .ginput_container input, .sidebar .ginput_container input {
    width: 100%!important;
}
.home .gfield, .sidebar .gfield {
    padding-right: 0px!important;
}

/*Adjusts the Donation Form field for "|Donation Amount" so it matches the position of the "Which Campaign do you want to donate to" field*/
@media only screen and (min-width: 642px) {
    #input_2_20 {
      margin-top: 23px;
    }
}


#input_1_6_6_container, #input_1_6_3_container  {
	padding-right:5px;
}


#gform_confirmation_wrapper_1 {
	background-color:#0A46AA;
}

/*----------- Bold Titles on Join/Donation page----*/
#gform_fields_2 .gfield_label {
    font-weight:bold;
}


/*----------- Bold Titles on Shield Registration page----*/
#gform_fields_3 .gfield_label {
    font-weight:bold;
}



/*-------------- Caldera Forms -----------------*/

.mailing-list-submit-button, .mailing-list-submit-button .btn {
	width: 100%!important;
	font-size:1.3em!important;
}


/*Change alert background color ON MAILING LIST only*/
.caldera-grid[data-cf-form-id="CF5e5447a518984"] .alert-success {
	background-color: #0A46AA!important;
	
}
.caldera-grid[data-cf-form-id="CF5e5447a518984"] .alert-success h3{
	color: white!important;
	
}


/*Adding a $ to the donation field*/
#fld_583116_1-wrap {
  position: relative;
}
#fld_583116_1-wrap::before {
  content: '$';
  position: absolute;
  top: 35px;
  left: 5px;
}


/*------------------------------ HOME PAGE -------------------------------*/

/*Gradient Background for Mail Subscribe Row*/

.home-mailing-subscribe-row {
    background-image: -webkit-linear-gradient(-40deg, #0a46aa 50%, #073174 50%);
}


/*Adjust color of testimonials header*/
.home .fl-testimonials-heading {
    color: white;
}


/* Styling boxes for NEWS on home page*/
.fl-post-grid .fl-post-grid-title {
    text-align:center;
    text-transform:capitalize;
}

.fl-post-grid .fl-post-grid-more {
    color:#018FE7;
    width:100%;
    text-align:center;
    text-transform:capitalize;
    border-top:1px black solid;
    padding-top:10px;
    font-weight:bold;
}


/*Testimonial section*/
@media only screen and (max-width: 767px) {
	.fl-testimonial tr td{
		display: block !important;
	}
}
.fl-testimonial tr td:first-child{
	width: 124px;
}
/*Change color of testimonials button*/
.home-testimonials .fa-chevron-circle-left {
    color: #018FE7;
}
.home-testimonials .fa-chevron-circle-right {
    color: #018FE7;
}


/*------------------------- KNOWLEDGEBASE ---------------------------------*/

/*Styles the 'definition list' and 'definition details'*/
.knowledgebase-list {
    padding-left:30px;
}
.knowledgebase-list dd {
    padding-left:30px;
}



/*----------------------------- RESOURCES------------------------*/

/*adjust padding of list links*/
.resources-list-home {
   padding-left:15%;
}



/*------------------------------------ SIDEBAR ----------------------------*/

/*Gravity Form*/
#sidebar .gform_widget .widget-title {
    background-color: #073174;
    color: white;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
	font-size:2em;
}
#sidebar .gform_widget .gform_wrapper {
    background-color: #0A46AA;
    color: white;
    text-align: center;
    margin-top: 0px;
    padding: 20px;
}
#sidebar .gform_widget .gform_description {
    font-weight:700;
}
#sidebar .gform_widget .gform_button {
    width:100%!important;
    text-transform:uppercase!important;
    font-size:1.5em!important;
}



/*Add padding to right side of sidebar*/
@media screen and (min-width: 990px) {
.sidebar-divider-vertical.sidebar-right .sidebar {
    padding-right: 30px;
}
}


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

/*Centers the "Donate Button" */
#footer #media_image-3 img {
    margin: auto;
}

/*(Icons in footer contact info)*/
.textwidget .contact-title:before{
font-family: "dashicons";
content: "\f230";
color: #FFFFFF;
display: inline-block;
-webkit-font-smoothing: antialiased;
/*font: normal 20px/1;*/
vertical-align: top;
margin-right: 5px;
margin-right: 0.5rem;
}
.textwidget .phone:before{
	content: "\f525";
}
.textwidget .email:before{
content: "\f466";
}


/*Name/address/phone info*/
#footer .textwidget p {
    color:white;
    padding-left:32px;
}

/*Center the "Donate" in the Footer*/
#media_image-3{
	text-align: center;
}





/*--------------------------- Home Hero Circle----------------------- */
       
    .banner-event {
        max-width: 570px;
        position: relative;
        font-family: 'Lato', sans-serif !important;
    }

    .banner-event-img {
        max-width: 220px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
    }

    .banner-event-text {
        position: relative;
        z-index: 1;
        width: 473px;
        height: 474px;
        background-color: #073174;
        border-radius: 50%;
        float: right;
        text-align: center;
        margin-top: 70px;
        padding: 40px;
    }

    .banner-event h1 {
        color: #f9f9f9;
        font-size: 41px !important;
        font-weight: 900;
        text-transform: capitalize;
        font-size: 41px;
        letter-spacing: 1.49px;
        font-family: 'Lato', sans-serif !important;
		margin-bottom: 0;
    }

    .banner-event h2 {
        color: #f9f9f9;
        font-size: 33px !important;
        font-weight: 900;
        text-transform: capitalize;
        font-size: 41px;
        letter-spacing: 1.19px;
        font-family: 'Lato', sans-serif !important;
    }

    .banner-event h3 {}

    .banner-event h4 {
        margin-top: 50px;
        color: #f9f9f9;
        font-size: 19px;
        font-weight: 900;
        line-height: 27.32px;
        text-transform: capitalize;
        letter-spacing: 0.52px;
        margin-bottom: 25px;
    }

    .banner-event h5 {
        color: #f9f9f9;
        font-size: 17px;
        font-weight: 400;
        line-height: 36.21px;
        letter-spacing: 0.35px;
        margin-bottom: 15px;
        margin-top: 0;
    }

    .banner-event h6 {}

    .banner-event-p {
        color: #f9f9f9;
        font-size: 16px;
        font-weight: 400;
        line-height: 20.97px;
        letter-spacing: 1.72px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }

    .banner-event-a {
        color: #f9f9f9;
        font-size: 19px;
        font-weight: 900;
        line-height: 1;
        text-transform: uppercase;
        letter-spacing: 0.31px;
        border-bottom: 2px solid #f9f9f9;
        text-decoration: none;
    }
    .banner-event a:hover {
    	color: #ddd;
    	border-bottom: 2px solid #ddd;
    }
    .banner-event-a{
    	margin: 0 !important;
    }


    @media only screen and (max-width: 1920px) {

      .banner-event-img {
          max-width: 190px;
          position: absolute;
          top: -10px;
          left: -70px;
          z-index: 10;
      }
        .banner-event-text {
            width: 400px;
            height: 400px;
            margin-top: 60px;
            padding: 10px;
        }

        .banner-event {
            max-width: 380px;
        }

        .banner-event h1 {
            font-size: 32px !important;
            margin: 0;
      line-height: 1 !important;
        }

        .banner-event h2 {
            font-size: 26px !important;
            margin: 0;
        line-height: 1.2;
        }

        .banner-event h4 {
            font-size: 20px;
            margin-bottom: 0;
            margin-top: 70px;
        }

        .banner-event h5 {
          font-size: 20px;
          margin-bottom: 10px;
        }

        .banner-event p {
            font-size: 17px;
            margin-bottom: 0;
            max-width: 280px;
            margin-left: auto;
          margin-right: auto;
        }

        .banner-event a {
            font-size: 17px;
          letter-spacing: 1;
          display: inline-block;
        }

    }

    @media only screen and (max-width: 1200px) {
        .banner-event-img {
            max-width: 145px;
        }

        .banner-event-text {
            width: 315px;
            height: 315px;
            margin-top: 50px;
            padding: 10px;
        }

        .banner-event {
            max-width: 380px;
        }

        .banner-event h1 {
            font-size: 25px !important;
            margin: 0;
			line-height: 1 !important;
        }

        .banner-event h2 {
            font-size: 22px !important;
            margin: 0;
			line-height: 1;
        }

        .banner-event h4 {
            font-size: 15px;
            margin-bottom: 0;
            margin-top: 40px;
        }

        .banner-event h5 {
        	margin-bottom: 10px;
        }

        .banner-event p {
            font-size: 13px;
            margin-bottom: 0;
            max-width: 280px;
        }

        .banner-event a {
            font-size: 13px;
			letter-spacing: 1;
        }
    }

    @media only screen and (max-width: 600px) {
        .banner-event-img {
            max-width: 145px;
        }

        .banner-event-text {
            width: 315px;
            height: 315px;
            margin-top: 80px;
            padding: 10px;
        }

        .banner-event {
            max-width: 340px;
        }
		 .banner-event-img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
    }
    }







/*-------------------------------- ALTERNATIVE PROVIDER PAGE------------------------------*/
.field-container .field-content .newpost .inner_newpost {
    display: inline-block;
}

.postid-149 .post-149 .post-thumbnail {
    float: right;
}
.field-container .field-content .newpost .l_name {
    font-weight: 700;
    font-size: 35px;
}


.field-container .field-content .newpost a{ 
  text-decoration:none;
}

.field-content {
    font-weight: 600;
    line-height: 25px;
}

@media only screen and (max-width: 375px) {
  
  .postid-149 .post-149 .post-thumbnail {
    float: left;
}
}
.fl-slideshow-image img{
/* 	width: 100% !important;
	max-width: 100% !important; */
/* 	left: unset;
	right: 0; */
}


/*---------------- Accessibility Icon --------------*/

.userway.userway_p5 {
	bottom: 40px!important;
}

.uwy.userway_p5 .uai {
    bottom: 10px!important;
    left: 10px!important;
}

 @media only screen and (max-width: 600px) {
        .uwy.userway_p5 .uai {
            width: 40px;
        }