div:not(.slick-track):not(.slick-list), ul, li, a:not(.bx-next):not(.bx-prev){
    transition: .2s;
}

.top_links li:nth-child(2) a:before {
    content: "\f270";
}

/*zoom*/
.pg_img_div img:hover, .image-button:hover, .mosaicflow__item:hover
{
    transform: scale(1.03);
    transition: all ease-out .1s;
}

/* last column wasn't having padding and thefore ending up wider */
@media (min-width: 767px){
    .content_body .section_subcontent:last-child {
        padding-right: 15px;
    }
}

.content_body{
    padding-right: 0;
    padding-left: 0;
}

#img_div{
    margin: 0;
    padding: 10px;
}

/* stop weird formatting in a table*/
#maincontent td p {
    font-size: inherit;
}

/* top links / instagram */
.top_links li:nth-child(1) a:before {
    content: "\f16d";
}

/* buttons */
.image-button{
    border-radius: 3px;
}

.image-button:hover{
    filter: brightness(85%);
}
input[type="button"]:hover, 
input[type="submit"]:hover, 
input.action-button:hover, 
#maincontent.member_sections a.inner_button:hover, 
.inner_button:hover,
.contact_form input.submit:hover,
input[type="button"]:active, 
input[type="submit"]:active, 
input.action-button:active, 
.inner_button:active,
.contact_form input.submit:active,
.button:active,
#eventslider .event_info > p a:hover,
.contact_form button.g-recaptcha:hover {
    background-color: #367fa9 !important;
    border-color: #204d74;
}

input[type="button"], 
input[type="submit"], 
input.action-button, 
#maincontent.member_sections a.inner_button,
.inner_button,
.contact_form input.submit,
.button,
#eventslider .event_info > p a,
.contact_form button.g-recaptcha {
    background-color: #3c8dbc !important;
    border-color: #367fa9;
    text-transform: none;
    border-radius: 3px !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    color: #fff !important;
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    height: inherit;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    font-family: inherit;
}

/* make buttons default to right side instead of left */
.button, :not(fieldset) > input[type="button"], 
:not(fieldset) > input[type="submit"],
:not(fieldset) > input.action-button, 
.contact_form input.submit,
.contact_form button.g-recaptcha {
    float: right;
}

#maincontent a.button {
    text-decoration: none;
}

/* hide shul cloud black header*/
#header {
    background: initial;
    margin-bottom: -34px;
    z-index: 999;
    position: relative;
}
#header, #header a {
    color:#000;
}

/* navbar styling */
#nav_section .selected_nav > a, #nav_section .subchild_selected > a  {
    color: #007ebf;
}

#nav_section > li > ul {
    box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.2);
    border-top: solid 1px black;
}


#nav_section li ul li{
    border: 1px solid #e7e7e7;
}

/* general headings */
#maincontent:not(.member_sections) h1, 
#maincontent:not(.member_sections) h2, 
#maincontent:not(.member_sections) h3, 
#maincontent:not(.member_sections) h4,  
#maincontent:not(.member_sections) h5,  
#maincontent:not(.member_sections) h6 {
    font-family: 'Merriweather', serif;
    color: #3D75A3; 
    /*color: #235b89; - exact color from YIW above is 10% lighter */
}

#maincontent:not(.member_sections) h2.content_title:not(:empty) {
    text-align: left;
    border-bottom: 1px solid #484644;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

#maincontent:not(.member_sections) h4 {
    font-size: 22px;
}

hr {
    margin-top:10px;
}


/* custom slider 
http://kenwheeler.github.io/slick/ */
.custom-slider img{
    height: 150px !important;
    padding-right: 5px;
}

.custom-slider {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: solid 1px black;;
}

.slick-track {
    max-width: initial;
}

/* photo gallery */
#maincontent.default UL LI.pg_img_div {
    padding-left: 0;
    list-style-type: none;
}

.pg_img_div img {
    max-height: 150px;
    min-height: 150px;
    object-fit: cover;
    padding: 0;
}

#gia_head {
    background-color: inherit;
}

.mosaicflow__item img{
    padding: 2px;
}

/* contact form */
form.contact_form{
    max-width: 400px;
}
.fck_widget_contact {
    max-width: inherit;
}

.contact_form label {
    text-align: left;
    margin-bottom: inherit;
    font-family: inherit;
    font-size: inherit;
}

/* homepage */
.home .featured_article {
    padding: 20px 0;
}

.home #maincontent {
    padding-top: 0px
}


/* event panel*/
.fck_widget_event_slider {
    padding: 0;
}

#maincontent .home_event_panel .events_slider, #maincontent .home_event_panel .events_slider li{
    padding: 0;
    margin: 0;
}

#maincontent .home_event_panel .events_slider li{
    width: auto;
}

#maincontent .home_event_panel .bx-prev{
    left: 0px;
}

#maincontent .home_event_panel .bx-next{
    right: 0px;
}

.home_event_panel p, #eventslider .event_info > strong a, #eventslider .event_info > span, #eventslider .event_info > strong {
    display: none;
}

#eventslider .picture_link img{
    width: 100% !important;
}

#eventslider a.picture_link {
    height: auto;
}

.bx-viewport {
    height: auto !important;
}

/* rabbis */
.yiw-photo img, .pg_img_div img {
    border-radius: 3px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
    min-width: 100px;
}

/* zmanim */
table.calendar tr:hover {
    background: inherit;
}

table.calendar th {
    text-transform: inherit;
    background: inherit;
}

table.calendar th.month_header {
    width: 47%;
    text-align: center;
}

table.zman_table {
    font-weight: inherit;
    margin-bottom: 60px;
}

#maincontent .form-actions {
    background-color: inherit;
}

/* inside members */
.member_sections div.section {
    background: inherit;
    border: 1px hsl(270,3%,65%) solid;
    border: 1px var(--primary-border) solid;
}

#maincontent.member_sections table {
    border:0;
}

#maincontent .table th{
    white-space: nowrap;
}

#maincontent.member_sections table td,
#maincontent.member_sections table td,
#maincontent .table td, #maincontent .table th,
table.zman_table tr td {
   border-top: 1px solid #dee2e6;
   padding: .75rem;
}

#maincontent .table tr th:first-of-type {
    text-align: right;
}

#maincontent.member_sections table thead th,
#maincontent.member_sections table thead tr.header td,
#maincontent .table thead th,
.zman_table th {
    border-bottom: 2px solid #dee2e6;
    padding: .75rem;
}

 #maincontent.member_sections tr td {
     background:inherit !important;
 }
 
.sub_tx {
    background: inherit !important;
}

/* My accounts home styling */
.account_menu_section_tile {
    border-width: 2px;
    background: inherit;
}

.account_menu_section_tile:hover{
    -webkit-transform: inherit;
    -ms-transform: inherit;
    transform: inherit;
}

.account_menu_section_description {
    text-align: center;
}

.account_menu_section_tile .account_menu_section_icon_wrapper {
    background: inherit;
}

.account_menu_section_tile:hover .account_menu_section_icon_wrapper {
    background: inherit;
    opactiy: .2
}

/*My Profile*/
#maincontent .form-group>label {
    text-align:inherit;
}

.KeyboardIconHelper::after {
    top: calc(-6px + 50%);
    text-shadow: inherit;
}

.account_org_switch_fixer, .helper_sub_text_fix, .parent_hebrew_names_sub_text_fix_member_edit, .password_sub_text_fix_member_edit{
    margin-left: inherit;
}

.tabcontent div.section>h3 {
    margin-top: 1em;
    margin-left: inherit;
}

.subscription_table .scale-x1_5 {
    margin: 5px;
}

/* campaign admin section */
.listing.pricing_table [name^=num_included] {
    width: 50px !important;
}

.listing.pricing_table [name^=ad_size] {
    width: 100px !important;
}

.listing.pricing_table [name^=price] {
    width: 90px !important;
}

.listing.pricing_table [name^=type] {
    width: 150px !important;
}

/* trying for general forms, specifically lulav*/
select {
    min-width: 60px;
}

/* payment form styling*/
#maincontent.user_dashboard .amount_cell .amount_cell_input {
    width: 80px;
}

/* form styling from https://adminlte.io/themes/AdminLTE/pages/forms/general.html */
#maincontent textarea[rows]{
    height: auto;
}

#maincontent.admin input[type="text"],
#maincontent.admin input[type="password"], 
#maincontent.admin input[type="datetime"],
#maincontent.admin input[type="datetime-local"], 
#maincontent.admin input[type="date"],
#maincontent.admin input[type="month"],
#maincontent.admin input[type="time"],
#maincontent.admin input[type="week"],
#maincontent.admin input[type="number"],
#maincontent.admin input[type="email"],
#maincontent.admin input[type="url"],
#maincontent.admin input[type="search"],
#maincontent.admin input[type="tel"],
#maincontent.admin input[type="color"],
#maincontent.admin textarea, 
#maincontent.admin select,
#maincontent .multi-part-select-area select {
    width: inherit;
}

/* form styling from https://adminlte.io/themes/AdminLTE/pages/forms/general.html */
#maincontent input[type="text"],
#maincontent input[type="password"], 
#maincontent input[type="datetime"],
#maincontent input[type="datetime-local"], 
#maincontent input[type="date"],
#maincontent input[type="month"],
#maincontent input[type="time"],
#maincontent input[type="week"],
#maincontent input[type="number"],
#maincontent input[type="email"],
#maincontent input[type="url"],
#maincontent input[type="search"],
#maincontent input[type="tel"],
#maincontent input[type="color"],
#maincontent textarea,
#maincontent select,
#maincontent input:not([type]),
#header_login_menu form.head_signin input {
    border-radius: 0;
    box-shadow: none;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d2d6de;
    text-align:left;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

#maincontent.member_sections .address_card_edit_area{
    height:auto !important;
}

#maincontent input[type="text"]:focus,
#maincontent input[type="password"]:focus,
#maincontent input[type="datetime"]:focus,
#maincontent input[type="datetime-local"]:focus, 
#maincontent input[type="date"]:focus,
#maincontent input[type="month"]:focus,
#maincontent input[type="time"]:focus,
#maincontent input[type="week"]:focus,
#maincontent input[type="number"]:focus,
#maincontent input[type="email"]:focus,
#maincontent input[type="url"]:focus,
#maincontent input[type="search"]:focus,
#maincontent input[type="tel"]:focus,
#maincontent input[type="color"]:focus,
#maincontent textarea:focus,
#maincontent select:focus,
#maincontent input:not([type]):focus,
#header_login_menu form.head_signin input:focus {
    border-color: #3c8dbc;
    box-shadow: none;
    outline: 0;
}

/* form unstyling shulcloud */
div.input-group-area{
    padding-right:0;
}

div.input-group-area{
    border:0;
}

@media (max-width: 570px){
    .footer_inner .content_body {
        display: none;
    }
}

.monetary_amount {
    width: 125px;
}

.allocation_amount.non_zero_payment.number-field {
    width: 80px !important;
}