/* 
 Theme Name:     IES C&I
 Author:         Bobby Dixon
 Author URI:      
 Template:       Divi
 Version:        1.0 
*/

/*--------------------------------  FONT STYLES  -------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400 !important;

}

body {
    font-weight: 300;

}

#page-container {
    overflow: hidden !important;
}

 

/*--------------------------------  ACCENT LINES  --------------------------------------*/
/*-- SHORT CENTER --*/
hr.short {
    width: 75px;
    color: #666666;
    background-color: #666666;
    height: 1px;
    border: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

/*-- SHORT LEFT ALIGN --*/
hr.short-left {
    width: 50px;
    color: #BB133E;
    background-color: #BB133E;
    height: 2px;
    border: 0;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 0;
}

/*-- LONG --*/
hr.long {
    width: 100%;
    color: #666666;
    background-color: #666666;
    height: 1px;
    border: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

/*-- LONG WHITE--*/
hr.long-white {
    width: 100%;
    color: #ffffff;
    background-color: #ffffff;
    height: 1px;
    border: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

/*--------------------------------  SLIDER  --------------------------------------*/
.et-pb-controllers {
    position: absolute;
    z-index: 10;
    width: 100%;
    text-align: center;
    margin-bottom: 0%;
}

.et-pb-controllers a {
    display: inline-block;
    width: 6%;
    height: 4px;
    margin-right: 3px;
}

.et-pb-controllers .et-pb-active-control {
    background-color: #BC133E !important;
}

@media (max-width: 960) {
    .et-pb-controllers {
        margin-bottom: 0px !important;
    }
}

/*--- CENTER CONTENT VERTICALLY ---*/
.et_pb_slider .et_pb_container {
    height: 100%;
}

/*--------------------------------  ON-HOVER ANIMATION  -------------------------------------- */
.accent {
    padding: 30px;
    transition: all 0.3s ease-in-out;
}

.accent:hover {
    -webkit-box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.1);
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.1);
    -webkit-transform: translate(0, -5px);
}

/*--------------------------------  ON-HOVER ANIMATION LINE  -------------------------------------- */
.accent_underline {
    transition: all 0.4s ease-in-out;
}

.accent_underline::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #BB133E;
    transition: width .4s;
}

.accent_underline:hover {
    -webkit-transform: translate(0, -5px);
}

.accent_underline:hover::after {
    width: 100%;
}

/*--------------------------------  COLORED FONT-AWESOME ICONS  --------------------------------------*/
.fa {
    color: #BC133E
}

/*--------------------------------  GRID BLOG POST  --------------------------------------*/
.et_pb_blog_grid .et_pb_post {
    border: none;
    border-radius: 4px;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.et_pb_blog_grid .et_pb_post:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    -webkit-transform: translate(0, -5px);
}

/*--------------------------------  POST SIDEBAR  --------------------------------------*/
.widgettitle {
    color: #000000;
    border-bottom: solid 2px #000000;
    margin-bottom: 25px;
}

.et_pb_widget ul li {
    background-color: #eeeeee;
    padding: 10px;
}

.et_pb_widget ul li::hover {
    background-color: #ffffff;
    padding: 10px;
}

/*-------------------------------- VERTICAL ALIGN ------------------------------*/
.verticalAlign {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/*-------------------------------- FILTERABLE PORTFOLIO ------------------------------*/
/*Filters*/

.custom_portfolio.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    margin: 0 0px auto auto !important;
    border: none;
    border-bottom: 2px solid #cccccc;
    border-radius: 0px;
    padding: 10px 10px !important;
}

.custom_portfolio.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active {
    color: #BB133E;
    background-color: transparent;
    border-bottom: 2px solid #BB133E;
}

.custom_portfolio.et_pb_filterable_portfolio_0.et_pb_filterable_portfolio .post-meta {
    display: none;
}


/*-------------------------------- NAVIGATION ACCENT LINE ON HOVER ------------------------------*/

#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
}

#top-menu li a:before {
    content: "";
    position: absolute;
    z-index: -2;
    left: 0;
    right: 100%;
    bottom: 50%;
    background: #BB133E;
    height: 2px;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

#top-menu li a:hover {
    opacity: 1 !important;
}

#top-menu li a:hover:before {
    right: 0;
}

#top-menu li li a:before {
    bottom: 10%;
}
 

/*-------------------------------- LINK HOVER ON IMAGE - LIGHT ------------------------------*/
a.linkline {
    text-decoration: none;
    position: relative;
    color: #ffffff;
    padding-bottom: 10px !important;
    letter-spacing: 2px;
    font-weight: 400;
}

a.linkline:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    border-bottom: 2px solid #cccccc;
    transition: 0.4s;
}

a.linkline:hover {
    -moz-transition: all .4s ease-in;
    -o-transition: all .4s ease-in;
    -webkit-transition: all .4s ease-in;
    transition: all .4s ease-in;
    color: #cccccc;
}

a.linkline:hover:after {
    width: 100%;
    color: #cccccc;
}

/* ---- Media Queries --- */
@media screen and (max-width: 480px) {
    a.linkline {
        letter-spacing: 0px !important;
    }
}

/*-------------------------------- LINK HOVER ON IMAGE - DARK ------------------------------*/
a.linkline-dark {
    text-decoration: none;
    position: relative;
    color: #BB133E;
    padding-bottom: 10px;
    letter-spacing: 2px;
    font-weight: 400;
}

a.linkline-dark:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    border-bottom: 2px solid #BB133E;
    transition: 0.4s;
}

a.linkline-dark:hover {
    -moz-transition: all .4s ease-in;
    -o-transition: all .4s ease-in;
    -webkit-transition: all .4s ease-in;
    transition: all .4s ease-in;
    color: #666666;
}

a.linkline-dark:hover:after {
    width: 100%;
    color: #666666;
}

/* ---- Media Queries --- */
@media screen and (max-width: 480px) {
    a.linkline-dark {
        letter-spacing: 0px !important;
    }
}

/*-------------------------------- SECTION BACKGROUND OVERLAY  ------------------------------*/
.darkOverlay::before {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .6);
}

/* IF USING PARALLAX */
.darkOverlay .et_parallax_bg:before,
.darkOverlay:before {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .6);
}

/*-------------------------------- AWARDS TABLE  ------------------------------*/
.awardTable {
    border-top: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: auto;
}

.awardTable tr {
    border-top: 1px solid #ddd;
    padding: .35em;
}

.awardTable td {
    padding: .625em;
    text-align: left;
}

@media screen and (max-width: 600px) {
    .awardTable {
        border: 0;
    }
    .awardTable tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }
    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }
    .awardTable td:before {
        /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        padding-right: 5px;
    }
    .awardTable td:last-child {
        border-bottom: 0;
    }
}

/*-------------------------------- FULL WIDTH HEADER FIX INTERNET EXPLORER ------------------------------*/
.ie .header-content-container.bottom {
    margin-top: 80vh;
}

/*-------------------------------- PROJECT MAPS  ------------------------------*/
.projectMap figure {
    display: table;
    margin: 0px;
    width: 100%;
}

.projectMap img {
    vertical-align: top;
    width: 100%;
}

.projectMap figcaption {
    background: #44697D;
    color: #ffffff;
    padding: 10px 10px 10px 30px;
    margin: -40px 0px 0px 0px;
    position: relative;
}

/*-------------------------------- FULL WIDTH CTA  ------------------------------*/
.fullwidth-cta {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.fullwidth-cta:hover {
    background: #324D5C;
}

/*-------------------------------- FOOTER WIDGETS  ------------------------------*/
#footer-widgets {
    padding: 12% 0 7% 0;
}

/*-------------------------------- MOBILE STACKING ORDER ------------------------------*/
@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
    
.fifth-on-mobile {
-webkit-order: 5;
order: 5;
}
    
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
} 
}

/*-------------------------------- PROJECT GRID  ------------------------------*/
.project-grid {
    padding: 225px 50px 50px 0px !important;
    display: inline-block;
    height: 100%;
    width: 100%;
}

/*-------------------------------- LOCATION GRID  ------------------------------*/
.location-grid {
    padding: 225px 50px 50px 0px !important;
    display: inline-block;
    height: 100%;
    width: 100%;
}

/*-------------------------------- BUTTON COLOR  ------------------------------*/
.et_pb_bg_layout_light.et_pb_module.et_pb_button {
    color: #ffffff;
}

.et_pb_video_0 .et_pb_video_play::before {
    content: url(http://234.69e.myftpupload.com/wp-content/uploads/2017/09/iesci-video-play-icon-white.png);
}