/*
 Theme Name:     UPitt Dept of Med
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme for Dept of Med
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */


/* Make mega menu 2 columns  */
/* adjust width percent to adjust number of columns  */

#top-menu li.mega-menu > ul > li:nth-of-type(5n) {
clear: none;
}
#top-menu li.mega-menu > ul > li:nth-of-type(6n) {
clear: none;
}
#top-menu li.mega-menu > ul > li {
width: 50%;
margin: 0;
}




/*----- ADDING BORDER TOP TOP OF FOOTER ------*/

#main-footer {border-top: solid 3px #ffffff;}



 
 
/*------------------------------------------------*/
/*--------[GQ - LEFT ALIGN BLOG IMAGE]------------*/
/*------------------------------------------------*/
 
    .et_pb_posts .et_pb_post a img, 
    .archive .et_pb_post a img, 
    .search .et_pb_post a img {
            max-width: 210px!important;
            float: left;
            padding-right: 20px;}
 
    @media only screen and (max-width: 980px) {
        .et_pb_posts .et_pb_post a img, 
        .archive .et_pb_post a img, 
        .search .et_pb_post a img{
            float:none;
            max-width: 250px!important;}}



/*------------------------------*/
/*-----ADDING EXTRA COLUMNS-----*/
/*------------------------------*/



/*--- and for mobile ---*/

@media (max-width: 980px){
.ten-columns .et_pb_module {width: 20%;}
.nine-columns .et_pb_module {width: 33.3%;}
.eight-columns .et_pb_module {width: 25%;}
.seven-columns .et_pb_module {width: 25%;}
.six-columns .et_pb_module {width: 33.3%;}
.five-columns .et_pb_module {width: 33.3%;}
}
 
@media all and (max-width: 767px) {
.ten-columns .et_pb_module {width: 100%;}
.nine-columns .et_pb_module {width: 100%;}
.eight-columns .et_pb_module {width: 100%;}
.seven-columns .et_pb_module {width: 100%;}
.six-columns .et_pb_module {width: 100%;}
.five-columns .et_pb_module {width: 100%;}
}






/*------------------------------------------------*/
/*-----------------[CTA Menu Item]----------------*/
/*-----------------[by GenoQuiroz]----------------*/
/*------------------------------------------------*/
 
/* style the get started cta button */
            .srch-fac {border-radius: 0px;}
            .srch-fac a {color: #096ac8!important;}
            li.srch-fac {
                background-color:#cddae8; 
                font-weight: 700; 
                text-transform: uppercase; 
                text-align: center; 
                padding: 12px 13px 10px 10px!important;
            border-radius: 3px;
                -moz-transition: all 0.5s; 
                -webkit-transition: all 0.5s;
                transition: all 0.5s;}
            li.srch-fac:hover {background-color:#ffffff;}
 
/* fixed header button text color */
                 .et-fixed-header #top-menu .srch-fac a {
                        color: #096ac8!important;}
        .srch-fac li.current-menu-ancestor > a, .srch-fac li.current-menu-item > a {
                    color: #096ac8 !important;}
 
 
 
    @media only screen and (min-width : 981px) {
            li.srch-fac {height: 33px;}}


/* adding text next to hamberger menu on mobile*/

.mobile_nav::before { content:'MENU'; vertical-align:top; line-height:2.2em; }


	