/* 
 Theme Name:     RI-Corp
 Author:         Reconnaissance-Intl
 Author URI:     Philippe Sudan
 Template:       Divi
 Version:        1
 Description:   A Child Theme built using the elegantmarketplace.com Child theme maker
Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 5.4.1
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 
:root{
    --ri-main-color:#307fe2;
    --main-dark-color:#4d4f53;
    --main-light-color:#c21dac;
    --main-light-gray:#eeeeee;
    --main-event-color: #a695a1;
    --main-black: #4d4f53;
}
/* Allow for the fixed header */
#page-container {
    padding-top:71px;
    }

.et_pb_row.et_pb_row_0_tb_header.et_pb_row--with-menu, .et_pb_row.et_pb_row_1_tb_footer{
    max-width: 1440px !important;
}

.et_mobile_menu .first-level > a {
    background-color: transparent;
    position: relative;
    }
    .et_mobile_menu .first-level > a:after {
    font-family: 'ETmodules';
    content: '\4c';
    font-weight: normal;
    position: absolute;
    font-size: 16px;
    top: 13px;
    right: 10px;
    }
    .et_mobile_menu .first-level > .icon-switch:after{
    content: '\4d';
    }
    .second-level {
    display: none;
    }
    .reveal-items {
    display: block;
    }
    .et_mobile_menu {
    margin-top: 20px;
    }

/* Place the anchor above to allow for the fixed header
use: <a class="anchor" id="myanchor"></a>   */
a.anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}
 
/*** Hide Sidebar ***/
#sidebar {display:none;}
 
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}


/* Menu bar icon styling */
ul#menu-primary i.fas,ul#menu-primary i.fab {
    margin-top: -10px;
}

.welcome-blurb{
    display: flex;
    justify-content: space-between;
}

/* Increase width of drop-down menus */
@media screen and (min-width: 981px) {
    .sub-menu {
        min-width: 380px;
    }
    .et-menu li li a {
        width: 350px;
        /* Extra - Reduce padding on list items */
        padding: 5px 12px;
        }
    }

   

/* Read more... section - add up-down icon */    
    .srv_button1.closed:after {content:"\33";}
    .srv_button1.opened:after{content:"\32";}
    .srv_button2.closed:after {content:"\33";}
    .srv_button2.opened:after{content:"\32";}
    .srv_button4.closed:after {content:"\33";}
    .srv_button4.opened:after{content:"\32";}

/* Expand toggle on hover */

.et_pb_toggle.et_pb_module.et_pb_accordion_item.et_pb_toggle_close{
    transition: all 0.2s;
}    
.et_pb_toggle.et_pb_module.et_pb_accordion_item.et_pb_toggle_close:hover{
    transform: scaleX(1.03) scaleY(1.03)!important;
}    

.et_pb_toggle.et_pb_module.et_pb_accordion_item.et_pb_toggle_close:hover > h5{
    color: var(--main-light-color) !important;
}

/* - Change the bullet on list item with a fontawesome character >> */
  
  .site-bullet ul li {
    color: var(--main-black); 
    /* set color of list item text */
  
    list-style: none; 
    margin: 0 0 0 1em;
    /* Give the bullet room on the left hand side */
    padding: 0;
    position: relative;
    margin-bottom:.5em;
  }
  
    .site-bullet ul li::before {
    color: var(--main-color);  
    /* color of bullet or square */
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    content: "\f0a4"; 
    /* Fontawesome icon to precede the list item */
    display: inline-block;
    font-size: 1em; 
    /* use em or % */ 
    left: -1.7em; 
    /* use em, line up bullet flush with left hand side */
    position: absolute;
    /* Set the bullet positioned absolutely top left */
    top: 0em; 
    /* use em or % */
      
  }

/* Follow-US icon hover color */
a.social:hover{
    color: var(--main-light-color);
}

/* Homepage Press Release */

.home-post-grid-item{
    display:grid;
    
}

.feature-img-parent{
    position: relative;
    transition: all 0.2s;
}
.feature-img-parent:hover{
    transform: scaleX(1.1) scaleY(1.1)!important;
    
}
.feature-img-date{
	background-color: var(--main-dark-color);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 0px 10px;
    position: absolute;
        right: 0;
        bottom: 32px;    
}
.home-post-grid-item h2.article-title{
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 24px;
}
hr.grid-item{
    margin-top: 20px;
    margin-bottom: 30px;
}

.article-title a{
    font-weight: 500;
}
.article-title a:hover{
  font-weight: 500;
  color: var(--main-light-color);
}

@media (min-width: 768px) {
    .home-post-grid-item{
        display:grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 30px;
    }
    
}

@media (min-width: 981px) {
    .home-post-grid-item{
        display:grid;
        grid-template-columns: 300px 1fr;
        column-gap: 30px;
    }
    .feature-img-date{
        
        position: absolute;
        right: 0;
        bottom: 32px;
    }
}  

/* Homepage Upcoming Events */

.event-grid{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1%;
}
@media (min-width: 650px) {
    .event-grid{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 5%;
        row-gap: 4%;
    }
}
@media (min-width: 981px) {
    .event-grid{
        grid-template-columns: repeat(3, 1fr);
        column-gap: 5%;
        row-gap: 10%;
    }
}
.event-item{
    display: grid;
    grid-template-rows: 1fr 20px;
    
    background-color: var(--main-light-gray);
    padding: 1%;
    border: ridge 6px var(--main-event-color);
    box-shadow: 6px 6px 18px 0px rgba(0,0,0,0.5);
    transition: all 0.2s;
}

.event-item p{
    color: var(--main-dark-color);
}
.event-item:hover{
    transform: scaleX(1.1) scaleY(1.1)!important;
    cursor: pointer;
    color: var(--main-light-color);
}
.event-item-content:hover > h3{
    color: var(--main-light-color) !important;
}
.event-item-content{
    text-align: center;
    padding: 3%;
}
p.event-type{
    font-size: 13px;
}
.event-item-content h3 {
    font-weight: 600;
}

p.event-date{
    padding-bottom: 5px;
       
}
.country-flag {
    height: 50px;
}

/* Tweeter Feed Customisation */
    #ctf {
        border: solid 1px lightgrey;
        margin-bottom: 40px;
        margin-top: 10px;
    }

/* Toolset Button Styling  */
    
    .toolset-button{
        cursor: pointer;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        padding: .4em .7em .4em .7em;
        line-height: 1.7em;
        border: 2px solid var(--main-light-color);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -moz-transition: all 0.2s;
        -webkit-transition: all 0.2s;
        transition: all 0.2s;
        position: relative;
        
     }
    a.toolset-button {
        
        border: 2px solid var(--main-light-color); /* change border color here */
        color: var(--main-light-color) !important; /* change font color here */
        display: inline-block;
        align-self: center;
        justify-self: center;
    }
    a.toolset-button:hover{
        background-color: rgba(0,0,0,.05);
        border: 2px solid transparent; /* change border color on hover here */
        padding: .4em 2em .4em .7em !important;
    }
    a.toolset-button:after {
        font-family: 'ETmodules';
        opacity: 0;
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        line-height: 1em;
        content: "\35";
        position: absolute;
        margin-top: 0.4em;
        padding-right: .5em;
        -moz-transition: all 0.2s;
        -webkit-transition: all 0.2s;
        transition: all 0.2s;
    }
    a.toolset-button:hover:after{
        opacity:1;
        display: block!important;
        font-family: 'ETmodules';
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        right: 0px;
        top: 5px;
        margin-left: 0;
    }
    @media only screen and (max-width: 550px) {
        .toolset-button{
        padding: .4em .7em .1em .7em;
        
    }
        a.toolset-button:hover{
        padding: .4em 2em .1em .7em !important;
        }
    }

/* Single post and sidebar styling */  
    .pr-sidebar-item{
        display:grid;
        grid-template-columns: 100px 1fr;
        column-gap: 15px;
        
        }
        p.article-date{
            font-size: 14px;
        }
        .pr-sidebar-item img{
            transition: all 0.2s;
        }
        .pr-sidebar-item img:hover{
            transform: scaleX(1.1) scaleY(1.1)!important;

        }

/* Styling of All resources archive page */

    .pagination.clearfix {
        display: none;
    }
    input.wpv-submit-trigger.js-wpv-submit-trigger.btn {
        border: solid 2px var(--main-light-color) !important;
        color: var(--main-light-color);
        background-color: white !important;
    }
    input.wpv-submit-trigger.js-wpv-submit-trigger.btn:hover{
        border: solid 2px var(--main-light-color) !important;
        color: white;
        background-color: var(--main-light-color) !important;
    }

    .page-item.active .page-link {
        background-color:var(--main-light-color) !important;
        border-color: var(--main-light-color) !important;
    }

    .page-link {
        color: var(--main-light-color);
    }

    .form-group .form-control{
        width:50%;
    }

    .btn-info {
    margin-top: 10px;
    color: var(--main-black);
    background-color: #dcdcdc;
    border-color: #dcdcdc;
    }
    .btn-info:hover {
    color: #fff;
    background-color: var(--main-light-color);
    border-color: var(--main-light-color);
    }

    .archive p.article-date{
        font-size: 15px;
        font-weight: 500;
        padding-bottom: 5px;
    }
    .archive h3, .form-group h3{
        font-size: 24px;
    }
    .archive h3 a:hover{
        color: var(--main-light-color)
    }
    hr.articles{
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .single-article img{
        transition: all 0.2s;
    }
    .single-article img:hover{
        transform: scaleX(1.1) scaleY(1.1)!important;
    }


/* Event blurb styling */

.event-blurb img{
    height:200px;
    max-height: 200px;
}

/* Meet the team - styling */

.team-member-grid{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 20px;
}

.team-member-item{
    display: grid;
    grid-template-columns: 75px 1fr;
    
    background-color: var(--main-light-gray);
    padding: 1% 1% 0 1%;
    border: ridge 2px var(--main-event-color);
    box-shadow: 6px 6px 18px 0px rgba(0,0,0,0.5);
    transition: all 0.2s;
}

p.email-address{
    font-size: 14px;
}
@media (min-width: 768px) {
    .team-member-grid{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 5px;
        row-gap: 20px;
    }
    .team-member-item{
         grid-template-columns: 80px 1fr;
         padding: 2% 2% 0 2%;
    }
    p.email-address{
        font-size: 16px;
    }
}
@media (min-width: 981px) {
    .team-member-grid{
        grid-template-columns: repeat(3, 1fr);
        column-gap: 20px;
        row-gap: 20px;
    }
    .team-member-item{
        grid-template-columns: 85px 1fr;
        padding: 2% 2% 0 2%;
   }
    .team-member-item:hover{
        transform: scaleX(1.1) scaleY(1.1)!important;
    }
   
}

.team-member-item p{
    color: var(--main-dark-color);
}
.team-member-item h3 {
    font-weight: 500;
}
.team-member-item:hover{
    
    cursor: pointer;
    color: var(--main-light-color);
}
.team-member-item:hover > div h3{
    color: var(--main-light-color) !important;
}

p.role{
    padding-bottom: 5px;
    line-height: 1em;
       
}

div#et-main-area div#main-content{
   
        background-image: url(/wp-content/uploads/2020/06/core-pattern.svg);

}
/* Single team member styling */
    .single-member-grid{
        padding: 0 5% 40px 5%;      
        display: grid;
        grid-template-columns: 1fr 4fr;
        column-gap: 2%;
    }

    .single-member-left{
        text-align: right;
    }

/* Global footer  Styling - R logo size and position */
  .et_pb_blurb_0_tb_footer .et_pb_main_blurb_image .et_pb_image_wrap {
    margin-top: 8px;
    }
    .et_pb_blurb_position_left .et_pb_main_blurb_image, .et_pb_blurb_position_right .et_pb_main_blurb_image {
        width: 90px !important;
    }

    .fwidget.et_pb_widget.widget_nav_menu{
        margin-bottom: 20px;
        width:100%;
    }
    a.email-address:hover, .quick-links a:hover{
        color: var(--main-light-color) !important;
    }
    
    @media (min-width: 768px) {
        ul#menu-quick-links {
            display: grid;
            grid-template-columns: 1fr 1fr;
            column-gap: 10px;
            
        }
    }
        
    @media (min-width: 1280px) {
        ul#menu-quick-links {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            column-gap: 10px;
            
        }
    }
    
    ul#menu-quick-links li{
        margin-bottom: 0px;
    }

    .et_pb_widget_area_left {
        border-right: none;
        padding-right: none; 
    }


/* Add red play button on top of Video Popup */    
    .et_pb_text_inner a.vp-a,
    .et_pb_text_inner a.vp-s{
        position:relative;
        display:inline-block;
    }
    
    .et_pb_text_inner a.vp-a:before,
    .et_pb_text_inner a.vp-s:before{
        content:"";
        background:rgba(0, 0, 0, 0.3);
        position:absolute;
        width:100%;
        height:100%;
    }
    
    .et_pb_text_inner a.vp-a:after,
    .et_pb_text_inner a.vp-s:after{
        content:"";
        width:52px;
        height:52px;
        position:absolute;
        background-image:url('data:image/png;base64,iVBORw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/oMUFKkHTs/y6hvy73EZt20KHA9iKEkfK0KhomkJ+3auFALxqBh3lCawXuCMggcmE1f8hgTc90McXWZI0RaMM/J0wVrd2EEN+IkdNlyn/ruvWRIsNni9MpWI4gBZEqHNHL4lNdoTXQb/awScIr3popJUTBp7r9s9YPLraCFmKRxs4C/wmb60ipfHrXsaHAe5s0ZXDl9B69JFwuAGMGfiw10F9N4iwF9ibl1aR0vhhP+PDgLld9LjTwNasWkVKYQb4otE+QE8G7tyJFhw8B6zKoFikeBaBifZJn24MvEeQveCPhtUqUhp7BzU+pBze2VTwNj3GlRGnHDPw1TQnpB7f21HBeeCJtOdGCuUK+sTvP2lOSr1NnO1Z7qJCU8YV4DawK63xYQgHADBwhjg09Im91iblIrDfg6nOusu+LDbM9IxfNIIcBp7Pcp3I0BwBdg8y3u9G5kke0anXPwFPZ71WJBUngR0m42bUuczyCTwAvIt9IydSOGeBKQMfZ71QLptFW0Weoc/MUyQXzgJfycP4kJMDABidfXoKDU2RYjiJ3vk38rpgrtvFW6/cQUXeKvaMI8Czed35hSJgBPZ5MESqiuyTEN/KEpgWWPSgAUOVRYFp13bMhMBWgSseNGZo8r7AFtf2ywWBNQLHPGjUUORtqWIRD4E9AgseNLCvsiDwA9d2KhSBDQIzHjS2b3Ja9K2r6iM6SnhB4LoHDe9artu2CK+XnxXRvsErEuZC1Kxyx/726uX6tAhsFjjugVHKkuMS5006Edgk8IbocmbXRspblgReF110G+mFwLjAIanGQ6RF+1sS1+dHeiCwVnToeMEDQ6aVC1b3R123YyUQ2CjwksBVD4zbTa4K/FwCGs4FN/QQuAeYBKaA7fZvV7uc30JfxjxlZbZ5E8YQCM4B2hG4H12zOIU6wzjwWEFf9wG61cosavCZu7tuh0rwDpCEwCjqCOPAGLAOLfU2miCg1VPb5SZaU/ESavQ5U8Eqq/8HfV8DLAPs0V4AAAAASUVORK5CYII=');
        background-color:#fff;
        background-repeat: no-repeat;
        background-position: center;
        background-size:42px 42px;
        -moz-background-size:42px 42px;
        -o-background-size:42px 42px;
        -webkit-background-size:42px 42px;
        border-radius:50%;
        -moz-border-radius:50%;
        -webkit-border-radius:50%;
        margin:auto;
        top:0;
        left:0;
        bottom:0;
        right:0;
    }


    
      