*{
    -webkit-box-sizing: border-box!important;
    -moz-box-sizing: border-box!important;
    box-sizing: border-box!important;
}
* p:empty{
     display: none !important;
 }

.stButton .stFb, .stButton .stTwbutton, .stButton .stMainServices,.stButton .stButton_gradient{
    height: auto !important;
}
img{
    height: auto!important;
    max-width: 100%!important;
}

.cfx:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0
}

html[xmlns] .cfx {
    display: block
}

* html .cfx {
    height: 1%
}

#totalContainer.width_1{
    max-width: 96%;
    position: relative;
    width: 1038px;
    margin: 10px auto;
    
}

#rwd,#t_menu{
    display: none;
}

#navigation-primary .megamenu-1,#secondary-menu{
    display: block;
}
#navigation-primary li:nth-child(7):hover .mega, #navigation-primary li:nth-child(7) .mega.open,
#navigation-primary li:last-child:hover .mega, #navigation-primary li:last-child .mega.open{
    left: auto;
    right: 0;
}
@media screen and (max-width: 1100px) {
    .grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12{
        margin-left: 1%;
        margin-right: 1%;
    }
    .container_12 .grid_8{
        width: 62.81%
    }
    .container_12 .grid_4{
        width: 30.44%;
    }
    .content p iframe{
        width: 100% !important;
    }
    #sidebar-second .center_{
        text-align: center;
    }
    #sidebar-second .form-text.required,#sidebar-second  #edit-submitted-phone-number{
        width: 100%;
    }
    img[src="http://www.rebeccashouse.org/sites/default/files/arrow.gif"]{
        display: none;
    }
}
@media screen and (max-width: 1024px) {
    .stButton{
        margin-bottom: 5px !important;
    }
    #navigation-primary,#navigation-secondary{
        height: auto;
    }
    #navigation-primary > ul > li > a, #navigation-primary > ul > li > h2 > a{
        padding: 0 5px;
    }
    #navigation-primary .megamenu-1{
        display: none ;
    }
    #rwd{
        display: block;
        width: 100%;
        float: left;
        z-index: 999;
        background: #aacd74;
        cursor: pointer;
    }
    #rwd .tooglemenu{
        width: 100%;
        display: block;
        color: #fff;
        text-transform: uppercase;
        text-decoration: none;
        font-size: 24px;
        padding: 10px 15px;
        line-height: 1;
    }
    #rwd > .tooglemenu span{
        position: relative;
        float: right;
        width: 32px;
        height: 32px;
    }

    #rwd .tooglemenu > span::before{
        background: none repeat scroll 0 0 #fff;
        box-shadow: 0 20px 0 0 #fff, 0 10px 0 0 #fff;
        content: "";
        height: 3px;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

    #rwd ul{
        display: block;
        background: #fff;
    }
    #navigation-primary #rwd li{
        line-height: 1;
        position: relative;
    }
    #navigation-primary #rwd li a{
        display: block;
        text-decoration: none;
        color: #677bcb;
        padding: 10px 35px 10px 15px;
        text-transform: uppercase;
        font-size: 16px;
    }
    #navigation-primary #rwd li li a{
        font-size: 14px;
    }
    #navigation-primary #rwd li a + span{
        background: #f97e05;
        height: 36px;
        line-height: 36px;
        position: absolute;
        right: 0;
        text-align: center;
        top: 0;
        width: 36px;
        z-index: 8041;
    }
    #navigation-primary #rwd li a + span:before{
        content: '+';
        font-size: 30px;
        color: #fff;
    }
    #navigation-primary #rwd li a + span.active:before{
        content: '-';
    }
    #navigation-primary #rwd li div{
        top: 0;
        display: block;
        position: static;
        width: 100%;
        padding: 0;
    }
    .borderradius div.mega{
        background: none;
        border: 3px solid #f97e05;
        border-right: none;
        border-left:none ;
        border-radius: 0;
    }
    .closepanel{
        display: none !important;
    }
    #navigation-primary h3, #navigation-primary li.menu-section-title > a{
        font-weight: normal;
    }
    #navigation-primary ul.megamenu-section{
        margin: 0;
    }
    #header-images{
        height: auto;
    }
    img.slide{
        position: static!important;
    }

    #contentWrapper,#pageBorder{
        float: left;
        width: 100%;
    }
    .field.field-name-field-image.field-type-image.field-label-hidden{
        float: left;
        width: 100%;
        text-align: center;
    }
    .field.field-name-field-image.field-type-image.field-label-hidden .field-items .field-item.odd{
        display: inline-block;
    }
    .field.field-name-field-image.field-type-image.field-label-hidden .field-items .field-item.even{
        display: inline-block;
    }
    #secondary-menu{
        display: none;
    }
    #navigation-secondary ul{
        margin-left: 0;
    }
    #t_menu{
        cursor: pointer;
        display: block;
        height: 40px;
        color: #FFF;
        font-size: 22px;
        position: relative;
        padding-left: 5px;
        text-transform: uppercase;
    }
    #t_menu:after{
        background: none repeat scroll 0 0 #fff;
        border-radius: 50%;
        box-shadow: 0 18px 0 0 #fff, 0 9px 0 0 #fff;
        content: "";
        height: 5px;
        position: absolute;
        right: 5px;
        top: 8px;
        width: 5px;
    }
    #navigation-secondary li{
        width: 100%;
        margin: 0;
        text-transform: uppercase;
    }
    #navigation-secondary li::after{
        content: '';
    }
    #navigation-secondary a{
        display: block;
    }
}
/*=================*/

@media screen and (max-width: 960px) {
    #search div.region #block-block-12 .content > p,#search div.region #block-block-12 .content div p{
        display: none;
    }
    #search div.region #block-block-12 .content div {
        font-size: 23px!important;
        height: auto!important;
        margin-bottom: 0!important;
    }
    .sharethis-buttons{
        text-align: center;
    }

}
/*=================*/

@media screen and (max-width: 767px) {
    h1,h2{
        font-size: 22px !important;
    }
    h3,h4{
        font-size: 18px;
    }
    #top{
        height: auto;
        text-align: center;
    }

    #logo-container {
        height: auto;
        margin-right: 0;
        width: auto;
        float: none;
        display: inline-block;
    }
    #search{
        position: static;
        display: inline-block;
    }
    .container_12 .grid_8{
        width: 100%;
        margin: 0;
        padding: 10px;
    }
    #sidebar-second{
        width: 100%;
        margin: 0;
        padding: 10px;
    }

    .nodecontent h2{
        text-align: center;
    }
    .content p iframe{
        height: 300px !important;
    }

    #footer{
        padding-bottom: 0;
        width: 100%;
        text-align: center;
    }
    #bottomUtility{
        position: static;
    }
    .rteright{
        text-align: center!important;
    }
    #footer p{
        margin: 0;
    }
    #footer #block-block-13{
        margin-bottom: 0;
    }
    #footer .content div{
        text-align: center;
        width: 100%;
    }
    #footer img[src="http://www.rebeccashouse.org/sites/images/green-arrow.png"]{
        display: none;
    }

}
/*=================*/

@media screen and (max-width: 640px) {
    #footer .content div div{
        font-size: 18px !important;
        line-height: 22px !important;
        height: auto !important;
    }
    #cboxCurrent,#cboxTitle{
        display: none !important;
    }
    .teaser-title > a{
        line-height: 20px;
        font-size: 16px !important;
        text-align: center;
        display: block;
    }
    .not-front h1{
        font-size: 18px !important;
        text-align: center !important;
        line-height: 22px!important;
    }
    .teaser-readmore{
        display: block;
        position: static !important;
    }
}
/*=================*/

@media screen and (max-width: 481px) {
    #logo{
        width: 96%;
    }
    #search img[src="http://www.rebeccashouse.org/sites/images/green-arrow.png"]{
        display: none;}
    #search .content div div{
        float: none!important;
        display: inline-block !important;
    }
    #page-title{
        text-align: center;
    }
    .node-container p img{
        margin: 10px auto !important;
        float: none !important;
        display: block;
    }
    #footer .content > div{
        margin-top: 20px;
    }

    #footer .content div >div{
        display: none;
    }
    img.slide{
        height: 150px!important;
    }

    #webform-client-form-137 #edit-client_name-draggable-wrapper input#edit-submitted-client-name,
    #webform-client-form-137 #edit-date_of_birth-draggable-wrapper input#edit-submitted-date-of-birth,
    #webform-client-form-137 #edit-client_address-draggable-wrapper textarea#edit-submitted-client-address,
    #webform-client-form-137 #edit-presenting_problem-draggable-wrapper textarea#edit-submitted-presenting-problem,
    #webform-client-form-137 #edit-prior_treatment-draggable-wrapper textarea#edit-submitted-prior-treatment,
    #webform-client-form-137 #edit-insurance_company_name-draggable-wrapper input#edit-submitted-insurance-company-name,
    #webform-client-form-137 #edit-name_of_insured-draggable-wrapper input#edit-submitted-name-of-insured,
    #webform-client-form-137 #markup_element_skePJ7qbXO,
    #webform-client-form-137 #edit-insureds_date_of_birth-draggable-wrapper input#edit-submitted-insureds-date-of-birth,
    #webform-client-form-137 #edit-insured_employer_and_occupation-draggable-wrapper input#edit-submitted-insured-employer-and-occupation,
    #webform-client-form-137 #edit-id-draggable-wrapper input#edit-submitted-id,
    #webform-client-form-137 #edit-provider_customer_number-draggable-wrapper input#edit-submitted-provider-customer-number,
    #webform-client-form-137 #edit-contact_persons_name-draggable-wrapper input#edit-submitted-contact-persons-name,
    #webform-client-form-137 #edit-contact_tel_number-draggable-wrapper input#edit-submitted-contact-tel-number,
    #webform-client-form-137 #edit-leave_voicemail-draggable-wrapper input#edit-submitted-leave-voicemail,
    #webform-client-form-137 #markup_element_4g8kkwIHax
    {
        width: 100% !important;
    }
    #webform-client-form-137{
        overflow-x: hidden !important;
    }
    #webform-client-form-137 #markup_element_skePJ7qbXO{
        left: 0 !important;
    }
    .webform-container-inline div, .webform-container-inline div.form-item{
        display: block;
    }
    #webform-client-form-137 #edit-submit-draggable-wrapper{
        top: 1085px !important;
    }
}