/*

 Theme Name:   Divi Child

 Theme URI:    http://example.com/twenty-fifteen-child/

 Description:  Divi Child super theme

 Author:       John Doe

 Author URI:   http://example.com

 Template:     Divi

 Version:      1.0.0

 License:      GNU General Public License v2 or later

 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 Tags:         Responsive

 Text Domain:  divi-child

*/

/*** 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;
}
}

/*Team*/


.wpm_6310_team_style_1_designation, .wpm_6310_team_style_1_title{
    background-color:rgba(0, 0, 0, 0.4)!important;
    text-align: left;
}

.wpm_6310_team_style_1_title{
    bottom: 36px!important;
}

/*Videos*/

.et_pb_portfolio_grid_items {
    font-size: 14px;
    line-height: 1.3em;
}

.et_pb_portfolio_item p{
    margin-top:10px;
}
/* THREE COLUMN PORTFOLIO GRID LAYOUT */

@media only screen and ( min-width: 768px ) {

.three-column-grid .et_pb_grid_item {
width: 32% !important;
margin: 0 2% 35px 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n) {
margin-right: 0 !important;
}

.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
clear: left;
}

.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
clear: unset !important;
}

}

.et_mobile_menu li a{
    font-size: 16px;
}

.et_mobile_menu li.current-menu-item a{
    color: #fff;
}

.menu-item-77 a{
    padding: 15px 20px;
    padding-bottom: 15px!important;
    border-radius: 10px;
    color: #fff!important;
    background-color: #002C6D;
}

.et-fixed-header #top-menu .menu-item-77 a{
    color: #fff!important;
}

.archive #left-area, .blog #left-area{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.archive .et_pb_post, .blog .et_pb_post{
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 25px;
    width: 29.3%;
    margin:2%;
}

.archive .et_pb_post:first-of-type, .archive .pagination, .blog .et_pb_post:first-of-type, .blog .pagination{
    width: 100%;
}

.archive .et_pb_post .entry-title, .blog .et_pb_post .entry-title{
    font-size: 20px;
    text-transform: initial;
}

@media only screen and (max-width: 1100px) {
    #top-menu-nav {
        display: none;
    }
    #et_mobile_nav_menu {
        display: block;
    }

    .home .et_pb_column_1{
        padding-top: 100px;
    }
}

@media only screen and (max-width:980px){
    h1, h1.et_pb_contact_main_title, .et_pb_title_container h1{
        font-size: 34px!important;
    }

    .archive .et_pb_post, .blog .et_pb_post{
        width: 46%;
    }
}
@media screen and (max-width:767px){
    .wpm_6310_team_style_1{
        max-width: 70%;
        margin-left: 15%;
    }
}

@media screen and (max-width:599px){
    .wpm_6310_team_style_1{
        max-width: 100%;
        margin-left: 0;
    }

    .archive .et_pb_post, .blog .et_pb_post{
        width: 100%;
    }
}