/*
Theme Name:  sirgeorgemartin
Theme URI:   https://sirgeorgemartintrust.org.uk/
Description: Making a difference in West & North Yorkshire
Author:      WP Servicedesk
Author URI:  http://wpservicedesk.com/
Version:     1.0.0
Tags:        light, dark, full-columns, responsive-layout, accessibility-ready
Text Domain: Sir George Martin Trust
*/

body
{
    width: 100%;
    float: left;
    margin: 0;
    padding: 0;
    height: auto;
    font-family: 'Avenir Next LT Pro Regular';
    max-width: 100%;
}
.wrapper
{
    width: 100%;
    float: left;
    margin: 0;
    padding: 0;
    height: auto;
    overflow: hidden;
}
.padding
{
    padding: 0;
}
a,
button,
img
 {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.padding_left
{
    padding: 0 0 0 50px !important;
}
.padding_right
{
    padding: 0 50px 0 0 !important;
}

/*
Header CSS
================================================================
*/

.header_top
{
    background: #042c69;
}
.logo img
{
    display: flex;
    margin: 0 auto;
}
.main_menu ul
{
    padding: 0;
    margin: 45px 0;
    font-family: 'Avenir Next LT Pro Ultra Light';
    text-align: center;
    display: flex;
    justify-content: center;
}
.main_menu ul li
{
    list-style: none;
    width: auto;
    float: left;
    margin: 0;
    padding: 0;
    height: auto;
    font-size: 26px;
    
}
.main_menu ul li a
{
    color: #fff;
    padding: 0 14px;
    text-decoration: none !important;
}
.current_page_item a
{
    font-family: 'Avenir Next LT Pro Bold';
}
.apply
{
    text-align: center;
    background: #6089c8;
    display: flex;
    justify-content: center;
    align-items: center;
}
.apply a
{
    font-size: 29px;
    color: #fff;
    text-transform: uppercase;
    font-family: "Avenir-Heavy";
    word-break: break-word;
    text-decoration: none !important;
}

/*
Banner CSS
================================================================
*/

.banner
{
   float: left;
    width: 100%;
    padding: 350px 0 0 0;
}
.banner_text
{
    width: 906px;
    margin: 0 auto -30px auto;
    color: #fff;
    background: rgba(5, 49, 97, 0.7);
    padding: 25px 0;
    position: relative;
}
.banner_text h1
{
    font-size: 60px;
    font-family: 'Playfair Display', serif;
}
.banner_text h2
{
    font-size: 48px;
    font-family: "Avenir-Roman";
}

/*
Footer CSS
================================================================
*/

.footer_main
{
    background: #eaeaea;
    padding: 30px 0;
    float: left;
    width: 100%;
}
.footer_left h3
{
    color:#042c69;
    font-size: 38px;
    font-family: "Avenir-Heavy";
}
.footer_left a
{
    color:#042c69;
    width: 100%;
    float: left;
    font-family: 'AvenirMedium';
    font-size: 26px;
}
.footer_right
{
    padding: 35px 0 0;
}
.socail_links i
{
    font-size: 35px;
    background: #042a69;
    color: #fff;
    padding: 4px 7px;
    border-radius: 5px;
    margin: 0 0 15px 0;
}

.footer_right span
{
    font-family: "Avenir-Heavy";
    font-size: 26px;
    color:#042c69;
}
.number
{
    font-family: 'AvenirMedium' !important;
}
/*
Main Content
===============================================================
*/

.main-content
{
    float: left;
    width: 100%;
    margin: 0;
    padding: 50px 0 0 0;
    height: auto;
}
.main-content a
{
    color: #042a69;
    font-weight: bold;
}
.main-content p
{
    font-size: 26px;
    color: #042c69;
    font-family: 'AvenirMedium';
}
.who_heading_cat p
{
	background: url(/sirgeorgemartin/wp-content/uploads/2019/06/tick-1.png);
    padding: 0 93px;
    background-size: contain;
    background-repeat: no-repeat;
}
.who_heading_give p
{
	background: url(/sirgeorgemartin/wp-content/uploads/2019/06/cross.png);
    padding: 0 50px;
    background-size: contain;
    background-repeat: no-repeat;
}
.who_give h2
{
    color: #fff;
    font-size: 36px;
    font-family: 'AvenirLTStdBlack';
    padding: 0 90px;
    margin: 25px 0;
}
.who_give p
{
    font-family: 'AvenirLTStdBlack';
    color: #fff;
    padding: 0 90px;
    margin: 25px 0;
}
.who_give a
{
    font-family: 'Avenir Next LT Pro Regular';
    margin: 25px 0;
    display: flex;
    color: #fff;
}
.apply_section
{
    background: url('/sirgeorgemartin/wp-content/uploads/2019/06/edit.png');
    background-position: 420px 45px;
    background-repeat: no-repeat;
}
.apply_section h3
{
    font-family: 'AvenirLTStdBlack';
    font-size: 48px;
    color: #042c69
}
.apply_section h2
{
    font-family: 'AvenirMedium';
    color: #042c69;
    font-size: 30px;
}

/*
Inner Page
==========================================================
*/

.inner_banner
{
    height: 350px;
}
.inner_banner .inner_head_text 
{
    color: #fff;
    margin: 150px 0;
    display: inline-block;
    height: 100%;
    background: rgba(5, 49, 97, 0.7);
    padding: 20px 0;
}
.inner_banner .inner_head_text h1
{
    font-family: 'Playfair Display', serif;
    font-size: 60px;
}
.border_left
{
    border-left: 5px solid #042a69;
    padding: 0 20px;
}
.person_text h3
{
  color: #042a69;
  font-family: 'AvenirLTStdBlack';
  font-size: 36px;
}
.person_text p
{
    font-size: 24px;
}
.page-id-51 .main-content ,.page-id-80 .main-content ,.page-id-156 .main-content
{
    background: #f9f9f9;

}
.person_name p
{
    font-size: 18px;
    padding: 0 20px;
    margin-bottom: 100px !important;
}

/*
Who TO Given Page
============================================================
*/

.blue_list ul
{
    margin: 0;
    padding: 0 40px;
}
.blue_list ul li
{
    font-size: 26px;
    color: #042a69;
}

.white_list p
{
    color: #fff;
}
.white_list ul
{
    margin: 0;
    padding: 0 40px;
}
.white_list ul li
{
    font-size: 26px;
    color: #fff;
}

.white_list a
{
  color: #fff;
  text-decoration: none !important;
  border-bottom: 1px solid #fff; 
}

/*
Recent Recipients
=========================================================
*/

.recent_recipients_title
{
    font-size: 26px;
    font-family: 'AvenirMedium';
    color: #042c69;
    padding: 15px 0 0 0;
    display: inline-block;
    width: 100%;
}
.recent_recipients_location
{
    font-size: 19px;
    font-family: 'AvenirLTStdBlack';
    color: #042c69;
    padding: 0 0 15px 0;
    display: inline-block;
    width: 100%;
}
.recent_recipients_div p
{
    font-size: 15px;
    font-family: 'AvenirMedium';
    color: #042c69;
}
.recent_recipients_thumb img
{
        width: 100%;
    height: 250px;
    object-fit: cover;
}
.slick-next:before, .slick-prev:before {
    font-size: 0 !important;
}
.recent_recipients .slick-prev {
    left: -55px !important;
    width: 40px !important;
    height: 43px !important;
    background: url(./assets/img/prev-arrow.png) !important;
    background-repeat: no-repeat !important;
    font-size: 0 !important;
  }
  .recent_recipients .slick-next {
    right: -55px !important;
    width: 40px !important;
    height: 43px !important;
    background: url(./assets/img/next-arrow.png) !important;
    background-repeat: no-repeat !important;
    font-size: 0 !important;
  }

/*
The Trustees
==================================================================
*/

.trustees_div
{
    margin: 0 0 35px 0;
}
.blog_main_inner
{
    background: #fff;
    padding: 0 0 25px 0;
}
.blog_main_inner img
{
    width: 100%;
    height: auto;
}
.blog_title
{
    font-size: 26px;
    font-family: 'AvenirMedium';
    color: #042c69;
    padding: 15px 0 0 0;
    display: inline-block;
    width: 100%;
    text-align: center;
}
.designation
{
    text-align: center;
    padding: 0 0 20px 0;
}
.designation,.modal-title
{
    font-size: 18px;
    font-family: 'AvenirMedium';
    color: #042c69;
    padding: 0 0 10px 0;
    display: inline-block;
    width: 100%;
    font-weight: bold;
}
.blog_link
{
   text-decoration: none !important;
    border: 2px solid #042a69;
    padding: 5px 15px;
}
.modal-dialog {
    margin-top: 100px;
}
.modal-content .modal-header .close 
{
    position: absolute;
    top: 0px;
    right: 16px;
    background: #042a69 !important;
    opacity: 1;
    box-shadow: none;
    text-shadow: none;
    color: #fff !important;
    font-size: 50px;
    z-index: 999;
    width: 68px;
    height: 68px;
    text-align: center !important;
    line-height: 0 !important;
    margin-top: 0 !important;
}
.modal-content  p
{
    font-size: 18px;
    color: #042c69;
    font-family: 'AvenirMedium';
}

#loginform #wppb-submit
{
    background: #042a69;
    color: #fff;
    border: none;
    margin: 0 auto;
    display: flex;
    padding: 5px 50px;
}
#loginform 
{
    background: #fff;
    padding: 35px;
    border: 1px solid #eee;
}

.logout_btn 
{
    text-align: center;
}
.logout_btn a
{
    background: #6089c8;
    color: #fff;
    font-size: 26px;
    padding: 15px 35px;
    text-decoration: none !important;
}
.dataTables_wrapper
{
    font-family: 'AvenirMedium' !important;
}
.not-found
{
    text-align: center;
    padding: 100px 0;
}

.btn-not
{
    float: left;
    width: 100%;
    margin: 25px 0;
}
.btn-not a
{
    background: #042a69;
    color: #fff;
    font-size: 26px;
    padding: 15px 35px;
    text-decoration: none !important;
    margin: 15px 0;
}
.hidden-menu
{
	    font-size: 15px;
    font-family: 'AvenirMedium';
    color: #042c69;
    padding: 10px 0 0 0;
}
.morecontent span {
    display: none;
}
.morelink {
    display: block;
}
.hidden-menu
{
	    font-size: 15px;
    font-family: AvenirMedium;
    color: rgb(4, 44, 105);
    padding: 10px 0px 0px;
    float: left;
}
#show-hidden-menu
{
	    width: 100px;
    background: #042c69;
    float: left;
    clear: both;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 3px;
	cursor: pointer;
}

/*
Blog
=================================
*/
.blog_div
{
    padding: 0 0 20px 0;
}
.newsimg img
{
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.case_studies_content p
{
    text-align: center;
    font-size: 20px;
}
.case_readmore
{
    text-align: center;
    font-weight: bold;
    font-size: 26px;
}

/*** How to donate *******/

.donate-text-section .donate-text h2{
    font-size: 40px;
    color: #042a69;
    font-family: 'AvenirLTStdBlack';
}

.donate-text-section .donate-text h2 strong{
    color: #618cd0;
}

.donate-two-col .donate-two-col-content h2{
    color: white;
    font-family: 'AvenirMedium';
}

.donate-two-col .donate-two-col-content p{
    color: white;
}

.donate-two-col .donate-two-col-content .vc_column-inner{
    justify-content: center;
    padding: 20px 85px !important;
}

.donate-two-col .donate-two-col-content button{
    background-color: #5f86c7 !important;
    border-color: #5f86c7 !important;
    font-size: 22px !important;
    font-weight: bolder;
}

.donate-two-col .donate-two-col-img .wpb_single_image{
    margin-bottom: 0 !important;
}

.donate-two-col .donate-two-col-img .vc_column-inner{
    justify-content: center;
}

.donate-two-col .donate-two-col-img .wpb_single_image figure{
    width: 100%;
}

.donate-two-col .donate-two-col-img .wpb_single_image figure .vc_single_image-wrapper{
    width: 100%;
}

.donate-two-col .donate-two-col-img .wpb_single_image figure .vc_single_image-wrapper img{
    width: 100%;
    object-fit: cover;
}

.donation-content{
    padding-top: 40px;
    padding-bottom: 30px;
}

.donation-content .donation-content-text h2,
.donation-content .donation-content-text h3{
    color: #042a69;
    font-family: 'AvenirMedium';
    font-weight: bolder !important;
}

.donation-content .donation-content-text p{
    color: #042a69;
}

.donation-bg-content h2{
    color: white;
    font-family: 'AvenirMedium';
    font-weight: bolder !important;
    margin-bottom: 30px;
}

.donation-link p a{
    color: white;
    font-size: 40px;
}

@media screen and (min-width: 1900px) 
{	.banner{padding: 500px 0 0 0;}
	.banner_text{margin: 0 auto 30px auto;}
	.boxes img{width:400px;}
	.apply_section{background-position: 676px 45px;}
}
@media only screen and (min-width : 960px) and (max-width : 1280px) {
	.apply_section {background-position:365px 45px;}
    .donate-two-col .donate-two-col-content .vc_column-inner{ padding: 20px 60px !important; }
    .donate-text-section .donate-text h2{ font-size: 32px; }  
    .donation-link p a{ font-size: 32px; }  
}
@media only screen and (min-width : 1281px) and (max-width : 1300px) {
	.apply_section {background-position:495px 45px;}
}
@media screen and (min-width: 320px) and (max-width: 480px)
{
	.logo{padding:15px 0;}
	.banner_text{width:100%;}
	.banner{padding: 134px 0 0 0;}
	.banner_text h1{font-size:30px;}
	.banner_text h2{padding: 5px;font-size: 25px;}
	.padding_right,.padding_left{padding: 0 15px !important;}
	.who_give p,.who_give h2,.white_list ul{padding: 0 20px;}
	.footer_left a{font-size: 22px;}
	.footer_right {padding: 35px 18px;text-align: left !important;}
	
	.inner_banner .inner_head_text h1{font-size: 35px;}
	.who_heading_cat p,.who_heading_give p{background-size: 35px;padding: 0 0 0 43px;}
	.blue_list ul{padding: 0 20px;}
	.blue_list ul li{font-size: 22px;}
	.blog_div{border-bottom: 3px solid #6089c8;margin-bottom: 20px;}
	.site-main p{margin: 15px 0;}
    .donate-two-col .donate-two-col-content .vc_column-inner{ padding: 30px 15px !important; }
    .donate-text-section .donate-text h2{ font-size: 22px; }
    .donation-link p a{ font-size: 22px; }
}
@media screen and (min-width: 481px) and (max-width: 640px)
{
	.logo{padding:15px 0;}
	.banner_text{width:100%;}
	.banner{padding: 250px 0 0 0;}
	.banner_text h1{font-size:30px;}
	.banner_text h2{padding: 5px;font-size: 25px;}
	.padding_right,.padding_left{padding: 0 15px !important;}
	.who_give p,.who_give h2,.white_list ul{padding: 0 20px;}
	.main-content{padding:0;}
	.blog_div{border-bottom: 3px solid #6089c8;margin-bottom: 20px;}
	.site-main p{margin: 15px 0;}
    .donate-two-col .donate-two-col-content .vc_column-inner{ padding: 40px 20px!important; }
    .donate-text-section .donate-text h2{ font-size: 28px; }
    .donation-link p a{ font-size: 28px; }
}
@media screen and (min-width: 641px) and (max-width: 767px)
{
	.logo{padding:15px 0;}
	.banner_text{width:100%;}
	.banner{padding: 250px 0 0 0;}
	.banner_text h1{font-size:30px;}
	.banner_text h2{padding: 5px;font-size: 25px;}
	.padding_right,.padding_left{padding: 0 15px !important;}
	.who_give p,.who_give h2,.white_list ul{padding: 0 20px;}
	.main-content{padding:0;}
	.blog_div{border-bottom: 3px solid #6089c8;margin-bottom: 20px;}
	.site-main p{margin: 15px 0;}
    .donate-two-col .donate-two-col-content .vc_column-inner{ padding: 40px 20px !important; }
    .donate-text-section .donate-text h2{ font-size: 32px; }
    .donation-link p a{ font-size: 32px; }
}
@media screen and (min-width:768px) and (max-width:991px)
{
	.logo,.apply{max-width: 100%;flex: 1;}
	.banner_text{width:100%;}
	.padding_left,.padding_right{padding: 0 0 0 0px !important;}
	.footer_left{flex: 1;max-width: 100%;}
	.footer_right{flex:1;}
	.who_heading_cat p{padding: 0 0 0 90px;background-size: 70px;}
	.blue_list ul,.white_list ul{padding: 0 10px;}
	.apply_section{background-position: 100px 42px;}
	.recent_recipients_location{font-size:13px;}
    .donate-two-col .donate-two-col-content .vc_column-inner{ padding: 20px 30px !important; }
    .donate-text-section .donate-text h2{ font-size: 32px; }
    .donation-link p a{ font-size: 32px; }
}
@media screen and (min-width:992px) and (max-width:1030px)
{
	.main_menu ul li{font-size: 19px;}
	.main_menu ul li a{padding: 0 10px;}
	.apply_section{background-position: 250px 42px;}
    .donate-two-col .donate-two-col-content .vc_column-inner{ padding: 20px 40px !important; }
    .donate-text-section .donate-text h2{ font-size: 32px; }
    .donation-link p a{ font-size: 32px; }
}