/*
Theme Name: Ri Charitable Child
Theme URI: http://wp.rivertheme.com/ri-charitable/
Description: Child theme of Charitable 
Author: River theme
Author URI: https://rivertheme.com
Template: ri-charitable
Version: 1.0.0
*/


/*site colors are: #001CED (blue) #00319C , #F08012 (orange) #F29704, #1D3345 (grey) #334550 , //fist value is normal color , second is after render*/

/**fail theme ui doesnt make it easy for changes ,so just start customizations through css**/
#logo{
	padding-top: 16px;
	padding-bottom: 16px;
}
@media (min-width: 992px){.site-branding {width: 33%!important;}}/*control for logo width and height*/
@media (min-width: 992px){#main-navigation {width: 66%!important;}}/*control for logo width and height*/
.is-sticky #logo .logo-sticky {visibility: hidden!important;}/*the sticky menu was buggy for bigger images*/




#main-navigation #menu-main-menu > li > a, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link, 
#main-navigation .menu > ul > li > a {
    line-height: 134px!important;}/*control for vertical position of primary menu links*/
#mega-menu-wrap-primary #mega-menu-primary > li > ul.mega-sub-menu, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu {top:auto!important;}

#mega-menu-wrap-primary #mega-menu-primary{text-align: right!important;}/*stick the menu to the right*/

.home .pagination{display: none;}/*hide the blog pagination which was impossible from ui menu for rit blog*/

/*********registration form customizing********/

.se-registration-wrapper > .wpb_wrapper > p {display: none;}/*removes stupid label after plugin form*/

.espresso_confirm_registration:nth-child(3) input{display: none;}/*remove first from the cloned confirm boxes*/
/*.espresso_confirm_registration:nth-child(4){display: none;}/*remove first from the cloned confirm boxes*/

/*.event-data-display #event_espresso_attendee_verify .event_espresso_value {color:red!important;}*/
/*.event-data-display{display: none;}*/
#address_information-1467626338 .event_form_field:nth-child(4){display: none;}
.event-data-display #event_espresso_attendee_verify .event_espresso_value a{visibility:hidden!important;}/*remove edit link from first confirm form*/
/*.espresso_confirm_registration:nth-child(3){background: #F7B64B!important;}/*change the bgcolor from the second one */
/**********************************************/

.home .breadcrumbs div.container{text-align: center;}
.home #home-name{  
  font-size: 18px;
  color: #334550;
}

.slicknav_btn {
    margin-top: 24px!important;
}/*change the vertical pos. from the mobile menu button*/




/*for the header-primary-static text area in theme customize remove the buttom: <a href="http://192.168.1.213/wordpress/ri-charitable/our-causes/" class="rit-button rit-button-accent">donate now</a>*/

/***COLOR CONTROLS******COLOR CONTROLS******COLOR CONTROLS******COLOR CONTROLS******COLOR CONTROLS******COLOR CONTROLS******COLOR CONTROLS***/
.rit-title-blog{color:#333333!important;}
.rit-news-inner h2 a{color:#333333!important;}
.rit-news-inner h2:hover a{color:#F29704!important;}


.entry-content p{color:#333333!important;}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link {
  color:#00319C!important;}
#header-top{color:#334550!important;}
#header-top a{color:#334550!important;}
#header-top a:hover{color:#F29704!important;}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus
{color:#00319C!important;}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus
{color:#00319C!important;}
.tparrows.rit-navigation:hover{
  background-color: #F29704!important;
  border-color: #F29704 !important;/*border color cannot be overwritten...*/
  }/*overwrite some colors,primarily done for slideshow*/
.rit-navigation .tp-bullet{background-color:#F29704!important;}
.rit-navigation .tp-bullet:hover,.rit-navigation .tp-bullet.selected{background-color:#fff!important;}

#footer-center {background-color: #1e323e!important;}
#footer-center a:hover {
  color: #F29704!important;}
#footer-center a{
  color: #999999!important;}
#coppy-right {
  background-color: #112633!important;
  color: #999999!important;
}
#coppy-right a{color:#999999!important;}
#coppy-right a:hover, #coppy-right p i {
  color: #F29704!important;
}
.site-footer .rit-social ul li a:hover {
  border-color: #F29704!important;
}

.breadcrumbs a:hover, .woocommerce-breadcrumb a:hover {
  color: #00319C!important;
}


.entry-content input[name="confirm2"]{
  border: solid 1px #c77405 !important;
  color: #c77405!important;
}/**espresso event color changes -- also can change theme from wp ui**/
/***COLOR CONTROLS******COLOR CONTROLS******COLOR CONTROLS******COLOR CONTROLS******COLOR CONTROLS******COLOR CONTROLS******COLOR CONTROLS***/  

/********responsiveness*********/
@media only screen and (max-width: 1025px){
  #logo , #logo-retina{padding-bottom: 0px!important;}
  #logo img , #logo-retina img{max-width: 120%;}
}

@media only screen and (max-width: 769px){
  #logo , #logo-retina{padding-top:20px!important;}
  #logo img , #logo-retina img{max-width: 200%;}
}
@media only screen and (max-width: 428px){
  #logo-retina,#logo{
    max-width: 80%;
    padding-top: 8px!important;
    padding-bottom: 8px!important;
    margin: auto;
    float: none;
    text-align: center;
  }
  #logo img , #logo-retina img{max-width: 100%;}
  .header-inner{
    min-height: 62px!important;
    height: auto!important;
  }
  .header-top-right{
    top: 14px;
    position: relative;
  } 

#header-top > .container > .row {display: flex;}
#header-top > .container > .row > div {flex-basis: 50%;padding: 0px;}
#header-top > .container > .row .rit-search{padding-left: 0px;}
.header-top-left-static{padding-top: 12px;}

.breadcrumbs{font-size: 12px;}

.slicknav_btn{
  position: absolute;
  top: 38%;
  margin-top: 0!important;}
}


/********responsiveness*********/