/*Theme Name: Avada Child Theme

Description: Child theme for Avada

Author: GSSI

Author URI: http://graphicallyspeaking.ca

Template: Avada

*/



/* Links Underlined */



#wrapper .post-content a, #wrapper .post-content a:hover{

text-decoration:underline;

}



.tab-link {text-decoration: none !important; }

.toggle a {text-decoration: none !important; }

.fusion-button {text-decoration: none !important; }

a.fusion-social-network-icon {text-decoration: none !important; }

h4.fusion-rollover-title a {text-decoration: none !important; }

.fusion-portfolio-content h2 a {text-decoration: none !important; }


@media screen and (max-width: 1020px){
    body .fusion-logo a{
        margin-top:15px;
    }
}



/* 1024 one line menu */
@media screen and (max-width: 1200px){
    body .fusion-logo a{
        max-width: 200px;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1280px){



  #wrapper .fusion-main-menu > ul > li > a {

    font-size: 15px;

  }
  body .fusion-main-menu > ul > li > a{
    padding-left:12px;
    padding-right:12px;
  }

}
@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: landscape){
    body .fusion-main-menu > ul > li {
        padding-right: 0px;
    }
}



#tsml{

margin-bottom:30px;

}

body #tsml #meetings .results #table-wrapper{

margin:0;

}









/*----------

MOBILE MENU

------------*/



#wrapper .fusion-mobile-menu-icons a {

    font-size: 25px;

    text-align: center;

    margin: 12px -10px 0 0;

    width:60px;

    height: 60px;

}



#wrapper .fusion-mobile-menu-icons a:before {

    display:block;

    margin-right: -5px;

}



#wrapper .fusion-mobile-menu-icons a:after {

    content:"MENU"!important;

font-family: 'Roboto', arial, sans-serif;

font-weight: 400; 

    font-size: 16px;

color: #fff;

display: block;

    

}



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

    .fusion-header .fusion-logo{

        max-width: 75%;

    }

}





/************************************

Header

************************************/
@media screen and (max-width:800px){
    body .fusion-contact-info{
        padding: 10px 30px;
    }
}



.fusion-contact-info > a{

    line-height: 38px;

    display: inline-block;

    padding: 0 18px;

}



    .fusion-contact-info .fusion-header-separator{

        display: none;

    }

    body .fusion-contact-info .fusion-button{
        background: #7bbc0a;
        color: #fff;
    }
    body .fusion-contact-info .fusion-button .fusion-button-text{
        color: #fff;
    }



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

    .fusion-header-wrapper .fusion-mobile-menu-design-modern .fusion-alignleft{

        display: none;

    }

    .fusion-header-wrapper .fusion-contact-info .fusion-button-wrapper.fusion-alignright{

        display: inline-block;

        width: auto;

        margin: 12px 0;

    }

}



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

    .fusion-header-wrapper .fusion-contact-info .fusion-button-wrapper.fusion-alignright{

        margin-top:0;

    }

}



/*** hide volunteer link on desktop ****/

@media all and (min-width: 1023px){

    #menu-item-203{

        display: none;

    }

}







/************************************

Events List

************************************/



.tribe-events-list-widget .widget-title,

.tribe-events-list-widget .tribe-events-widget-link,

.tribe-events-list-widget .tribe-events-event-image{

    display: none;

}



/*********************
Home
*************************/
@media screen and (max-width:640px){
    .home .tsml_next_meetings tbody tr{
        display: none;
    }
    .home .tsml_next_meetings tbody tr:nth-child(-n+5){
        display: table-row;
    }
}



/***********************
Footer
************************/
@media screen and (max-width:800px){
    body .fusion-footer-widget-area{
        padding-bottom:0;
    }
    body .fusion-footer .fusion-columns .fusion-column{
        margin:0;
    }
    body .fusion-footer .fusion-columns .fusion-column > *{
        margin:0 0 30px 0;
    }
}


/************************
Content page
**************************/
body .fusion-page-title-row{
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}
@media screen and (max-width:800px){
    .page-id-10 .fusion-page-title-bar{
        display: none;
    }
    body .fusion-content-boxes .content-wrapper-background{
        padding: 30px;
    }

    body .fusion-button-wrapper{
        margin:0;
        display: block;
        float: none;
    }
    body .fusion-button-wrapper + .fusion-button-wrapper{
        margin-top:15px;
    }
}

/************************
Events page
**************************/
@media screen and (max-width:800px){
    body .fusion-events-before-title{
        margin-bottom:30px;
    }
    body .tribe-events-list .fusion-events-before-title{
        height: auto;
    }
    body #tribe-events-bar{
        margin-bottom:30px;
    }
    body.tribe-mobile #main{
        padding-top:0 !important;
    }
    body .tribe-events-list-separator-month{
        margin:30px 0;
    }
    body #tribe-events .tribe-events-list .type-tribe_events{
        margin:30px 0;
    }
}


/************************
Newsletter
**************************/


#mc4wp_form_widget-2{}
    #mc4wp_form_widget-2 .widget-title{
        text-transform: none;
        font-size: 18px;
        font-weight: bold;
        margin-bottom:10px;
    }

    #mc4wp_form_widget-2 p{

        margin-top:0;
    }

    #mc4wp_form_widget-2 input{
        max-width: 268px;
    }

    #mc4wp_form_widget-2 input[type='submit']{
        display: inline-block;
        position: relative;
        outline: 0;
        zoom: 1;
       
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        padding: 13px 29px;
        line-height: 17px;
        font-size: 14px;
        font-family: 'Lato';
        font-weight: 700;
        color:#fff;
        letter-spacing: 0px;
        cursor: pointer;
        border-width: 1px;
        border: 1px solid #fff;
        background: transparent;

        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all .2s;
        transition: all .2s;
    }
        #mc4wp_form_widget-2 input[type='submit']:hover{
            background: rgba(0,0,0,0.63);
        }


.fusion-button:not(.custom):focus, .fusion-button:not(.custom):active {
    background: rgba(0,0,0,0.63);
}

.fusion-button:not(.custom):focus .fusion-button-text, .fusion-button:not(.custom):focus i, .fusion-button:not(.custom):active .fusion-button-text, .fusion-button:not(.custom):active {
    color: #ffffff;
}

.post-type-archive #tsml {
	width: 100%;
}



/*-------- Donation form ------ */

#nf-form-2-cont {
    padding: 20px 0 50px;
}
.post-content #nf-form-2-cont .field-wrap.html-wrap p{
    margin: auto;
    padding: 10px 0;
    font-size: 21px;
}

#nf-form-2-cont form {
    box-shadow: 1px 1px 11px 0px rgba(0,0,0,0.35);
}

#nf-form-2-cont .nf-field-element, #nf-form-2-cont .nf-form-content{
    padding: 0 15px;
}

#nf-form-2-cont .nf-form-content .label-above .nf-field-label{
    padding: 0 15px;
}
#nf-form-2-cont  .nf-form-content, #nf-form-2-cont .nf-multi-cell .nf-cell{
    padding: 0;
}

#nf-form-2-cont  .nf-form-fields-required {
    font-size: 18px;
    padding: 20px;;
    color:  #1F4883;
    position: relative;
}

#nf-form-2-cont  .nf-form-fields-required:after {
    color: #1F4883;
    content: ".";
    
}
#nf-form-2-cont .nf-field-element > ul {
    display: flex;
    flex-wrap: wrap;
}


@media screen and (min-width:640px){
	#nf-form-2-cont #nf-field-6-wrap ul li, #nf-form-2-cont #nf-field-16-wrap ul li, #nf-form-2-cont #nf-field-27-wrap ul li, #nf-form-2-cont #nf-field-35-wrap ul li {
    	width: 31%;
    	margin-right: 10px !important;
	}
}
@media screen and (max-width:639px){
	#nf-form-2-cont #nf-field-6-wrap ul li, #nf-form-2-cont #nf-field-16-wrap ul li, #nf-form-2-cont #nf-field-27-wrap ul li, #nf-form-2-cont #nf-field-35-wrap ul li {
		width: 50%;
	}
	#nf-form-2-cont #nf-field-6-wrap ul li label, #nf-form-2-cont #nf-field-16-wrap ul li label, #nf-form-2-cont #nf-field-27-wrap ul li label, #nf-form-2-cont #nf-field-35-wrap ul li label{
		margin-left:0 !important;
	}
}


#nf-form-2-cont .listradio-wrap .nf-field-element label{
    padding: 15px;
    text-align: center;
}


#nf-form-2-cont .nf-checked-label:after {
    display: none;
}

#nf-form-2-cont .nf-mp-body .listradio-wrap .nf-field-element label:after, #nf-form-2-cont .listradio-wrap .nf-field-element label.nf-checked-label:before{
    display: none;
}

#nf-form-2-cont .nf-checked-label{
    box-shadow: 0px 0px 0px 2px #80c900;
    font-weight: 600;

}

#nf-form-2-cont #nf-field-5-wrap, #nf-form-2-cont #nf-field-22-wrap,#nf-form-2-cont #nf-field-34-wrap {
    background-color: #1f487cdd;
    color: #fff;
}

#nf-form-2-cont #nf-field-5-wrap span, #nf-form-2-cont #nf-field-22-wrap span,#nf-form-2-cont #nf-field-34-wrap span {
    font-size: 21px !important;
}

#nf-form-2-cont .nf-error.field-wrap .nf-field-element:after{
    right: 15px;
}

#nf-form-2-cont .nf-error-msg.nf-error-required-error, #nf-form-2-cont .nf-field-description, #nf-field-15-wrap {
    padding: 0 15px;
}

#nf-form-2-cont .nf-form-content label {
    font-size: 16px;
}

#nf-form-2-cont #nf-label-field-9-0, #nf-form-2-cont #nf-label-field-74-0, #nf-form-2-cont #nf-label-field-8-0, #nf-form-2-cont #nf-label-field-13-0,#nf-form-2-cont #nf-label-field-19{
    box-shadow: none;
    font-weight: 400;
}

#nf-form-2-cont .nf-row:nth-child(8) .nf-cell:nth-child(2), #nf-form-2-cont .nf-row:nth-child(9) .nf-cell:nth-child(2) {
    display: none;
}
#nf-form-2-cont .nf-form-content input:not([type=button]) {
    border-radius: 3px;
    padding-left: 30px;
}

#nf-form-2-cont .nf-field-description p {
    font-size: 16px;
}

#nf-form-2-cont #nf-field-20-wrap > .nf-field-element:before{
    color: rgb(150, 150, 150);
    font-family: FontAwesome;
    font-size: 20px;
    content: "\f155";
    position: absolute;
    top: 1px;
    left: 25px;
    bottom: 1px;
    height: 48px;
    line-height: 47px;
    text-align: center;
    transition: all .5s;
}

/* .field-wrap.listcheckbox-wrap.list-wrap.list-checkbox-wrap {
    background: #ddd;
} */

#nf-form-2-cont #nf-field-74-wrap, #nf-form-2-cont #nf-field-9-wrap, #nf-form-2-cont #nf-field-8-wrap, #nf-form-2-cont #nf-field-13-wrap{
    padding: 20px 0;
}

#nf-form-2-cont #nf-field-7-container {
    margin-bottom: -5px;
}

#nf-form-2-cont #nf-field-7-container span {
    font-weight: 600;
}


#nf-form-2-cont input::-webkit-outer-spin-button,
#nf-form-2-cont input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.post-content #nf-form-2-cont #nf-field-112-wrap.field-wrap.html-wrap p {
    font-size: 16px;
}