/*
 Theme Name:   Cortex
 Theme URI:    https://cortex.b3multimedia.ie/
 Description:  Cortex | Premium Divi Child Theme
 Author:       B3 Multimedia Solutions
 Author URI:   https://www.b3multimedia.ie
 Template:     Divi
 Version:      1.2
 Text Domain:  cortex-child
*/
/* Mobile Menu Responsive Fix */
#et-info-phone {font-size: larger;}
@media (max-width: 1400px) {
.container.et_menu_container, #top-header .container {width: 95%;}
}
.et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {z-index: 9999;}
/* Mobile BG Overlay */
@media only screen and (max-width: 1200px) { 
    .cortex_img_overlay:before{content:"";display: block;height: 100%;position: absolute;top: 0;left: 0;width: 100%;background-color: rgba(255, 255, 255, 0.9);}
    .cortex_img_overlay_dark:before{content:"";display: block;height: 100%;position: absolute;top: 0;left: 0;width: 100%;background-color: rgba(27, 33, 58, 0.8);}
}
/* Widget Sidebar */
@media (max-width: 980px) {
    .et_pb_column .et_pb_widget {width: 100% !important;}
}
.widget_search input#searchsubmit {border: none !important;color: #fff !important;}
body .widget_search input#s,body .widget_search input#searchsubmit {height: 50px !important;}
.widget_search #searchsubmit {background-color: #0a0f25 !important;border-radius: 0 !important;}
.widget_search input#s {border: 1px solid #e5e5e5 !important;border-radius: 0px !important;}
/* Widget Category */
.widget_categories .widgettitle:before {
    content: '';
    z-index:1;
    position: absolute;
    left: 30px;
    top: 100%;
    border: 15px solid transparent;
    border-top-width: 13px;
    border-top-color: rgb(229, 229, 229);
}
.widget_categories ul li:hover a {color: #afa46e;}
.widget_categories .widgettitle {background: #e5e5e5;padding: 20px 30px;position: relative;}
.widget_categories ul li {margin-bottom: 0 !important;padding: 20px 30px;background-color: #f6f6f7;border-bottom: 0;position: relative;transition: .2s;}
.widget_categories ul li:hover {padding: 20px 40px;transition: .2s;}
.widget_categories ul li a:before {position: absolute;opacity: 0;font-weight: 100;left: 0;transition: .1s;font-family: 'ETmodules';content: "\24";font-size: 18px;}
.widget_categories ul li:hover a:before {opacity: 1;left: 15px;transition: .5s;}
/* RPWWT Widget */
.rpwwt-widget ul li:hover a {color: #afa46e;}
.rpwwt-widget .widgettitle {padding: 20px 30px;}
.rpwwt-widget {background-color: #f6f6f7;padding-bottom: 20px;}
.rpwwt-widget ul li {padding: 10px 20px 0 30px;margin-bottom: 0 !important;}
/* Widget Tags */
.tagcloud a {padding: 8px 20px !important;-webkit-border-radius: 0px !important;-moz-border-radius: 0px !important;border-radius: 0px !important;font-size: 13px !important;}
.tagcloud a:hover {background: rgb(177, 164, 103) !important;color:#fff !important;}
/* LAWYER PAGE */
.cortex_year {background-color: #1b213a;padding: 5px 10px;color: #fff !important;position: absolute;}
.cortex_experience p {padding-left: 70px;}
@media only screen and (max-width: 640px) {
    .cortex_year {display: inline-block;position: relative;}
    .cortex_experience p {padding-left: 0px; padding-top: 15px;}
}
.cortex_lawyer_box {overflow:hidden;}
.cortex_lawyer_box:hover .et_pb_image {transform: scale(1.05);transition: all .3s ease-in-out 0s;}
.cortex_lawyer_box .et_pb_image {
    -webkit-transform-origin: bottom;
    -moz-transform-origin: bottom;
    -ms-transform-origin: bottom;
    -o-transform-origin: bottom;
    transform-origin: bottom;
    transition: all .3s ease-in-out 0s;
}
/* Social Follow */
.cortex_social_follow_lawyer .et_pb_social_media_follow_network_0 a.icon,
.cortex_social_follow_lawyer .et_pb_social_media_follow_network_1 a.icon,
.cortex_social_follow_lawyer .et_pb_social_media_follow_network_2 a.icon,
.cortex_social_follow_lawyer .et_pb_social_media_follow_network_3 a.icon,
.cortex_social_follow_lawyer .et_pb_social_media_follow_network_4 a.icon {
    background-color: #ffffff30!important;
}
.cortex_social_follow_lawyer li a.icon {border-radius: 0px !important;width: 35px;height: 35px;transition: all .3s ease-in-out 0s;}
.cortex_social_follow_lawyer li a.icon::before {width: 35px;height: 35px;color: #dadbdf;line-height: 35px;box-shadow: 0 2px 20px rgba(11, 16, 36, 0.05);}
/* Social Hover */
.cortex_social_follow_lawyer li a.icon:hover {transform: translateY(-2px);transition: all .3s ease-in-out 0s;}
.cortex_social_follow_lawyer li a.icon:hover::before {color: #0e142b !important; background-color: #fff; transition: all .3s ease-in-out 0s;}
/* cortex KEN BURNS */
@media only screen and (min-width: 767px) {
    .cortexKenBurnsIn .et_parallax_bg {animation: cortexKenburnsIn 45s forwards;}
    .cortexKenBurnsOut .et_parallax_bg {animation: cortexKenburnsOut 45s forwards;}
}
@media only screen and (min-width: 767px) {
    .cortexKenBurnsSectionIn .et_parallax_bg {
        animation: cortexKenburnsIn 30s forwards;
        -webkit-animation: cortexKenburnsIn 30s forwards;
        -moz-animation: cortexKenburnsIn 30s forwards;
        -o-animation: cortexKenburnsIn 30s forwards;
        -ms-animation: cortexKenburnsIn 30s forwards;
    }
    .cortexKenBurnsSectionOut .et_parallax_bg {
        animation: cortexKenburnsIn 30s forwards;
        -webkit-animation: cortexKenburnsOut 30s forwards;
        -moz-animation: cortexKenburnsOut 30s forwards;
        -o-animation: cortexKenburnsOut 30s forwards;
        -ms-animation: cortexKenburnsOut 30s forwards;
    }
}
@keyframes cortexKenburnsIn {
    0% {
        opacity: 0;
        -ms-transform: scale3d(1, 1, 1) translate3d(0px, 100px, 0px);
        -webkit-transform: scale3d(1, 1, 1) translate3d(0px, 100px, 0px);
        transform: scale3d(1, 1, 1) translate3d(0px, 100px, 0px);
        -o-transform: scale3d(1, 1, 1) translate3d(0px, 100px, 0px);
        -moz-transform: scale3d(1, 1, 1) translate3d(0px, 100px, 0px);
        animation-timing-function: linear;
    }
    1% {
        opacity: 1;
    }
    100% {
        -ms-transform: scale3d(1.3, 1.3, 1.3) translate3d(-50px, 150px, 0px);
        -webkit-transform: scale3d(1.3, 1.3, 1.3) translate3d(-50px, 150px, 0px);
        transform: scale3d(1.3, 1.3, 1.3) translate3d(-50px, 150px, 0px);
        -o-transform: scale3d(1.3, 1.3, 1.3) translate3d(-50px, 150px, 0px);
        -moz-transform: scale3d(1.3, 1.3, 1.3) translate3d(-50px, 150px, 0px);
    }
}
@keyframes cortexKenburnsOut {
    0% {
        opacity: 0;
        -ms-transform: scale3d(1.3, 1.3, 1.3) translate3d(50px, -50px, 0px);
        -webkit-transform: scale3d(1.3, 1.3, 1.3) translate3d(50px, -50px, 0px);
        transform: scale3d(1.3, 1.3, 1.3) translate3d(50px, -50px, 0px);
        -o-transform: scale3d(1.3, 1.3, 1.3) translate3d(50px, -50px, 0px);
        -moz-transform: scale3d(1.3, 1.3, 1.3) translate3d(50px, -50px, 0px);
        animation-timing-function: linear;
    }
    1% {
        opacity: 1;
    }
    100% {
        -ms-transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0px);
        -webkit-transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0px);
        transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0px);
        -o-transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0px);
        -moz-transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0px);
    }
}


/* Peloader Styling */
.preloader {position: fixed;top: 0;left: 0;right: 0;bottom: 0;background-color: #fefefe;z-index: 9999999;height: 100%;width: 100%;overflow: hidden !important;}
.preloader .status {margin: -35px 0 0 -35px;position: absolute;left: 50%;top: 50%;background-repeat: no-repeat;background-position: center;-webkit-background-size: cover;background-size: cover;}
/* Contact Form */
.cortex_contact_form .et_pb_button {margin-right: 3%;}
.cortex_contact_form .et_pb_contact_right {display: inline-grid;}
.cortex_contact_form .input, .cortex_contact_form .input[type="checkbox"] + label i, .cortex_contact_form .input[type="radio"] + label i {background-color: #ffffff;}
.cortex_contact_form .et_pb_contact_form_container {color: #afa46f;}
.cortex_contact_form  .et_pb_contact_form_container input {padding: 20px 20px 20px 55px !important;}
.cortex_contact_form .et_contact_bottom_container .et_pb_contact_right p:before {display: none !important;}
.cortex_contact_form .et_pb_contact_form {margin-left: 0 !important;}
.cortex_contact_form p.et_pb_contact_field {padding: 1% 3% 3% 1% !important;margin-bottom: 0;}
.cortex_contact_form .et_pb_contact_form .et_contact_bottom_container {margin-top: 0 !important;width: 100%;}
#page-container .cortex_contact_form .et_pb_contact_form textarea::-webkit-input-placeholder,
#page-container .cortex_contact_form .et_pb_contact_form input::-webkit-input-placeholder {color: transparent !important;}
#page-container .cortex_contact_form .et_pb_contact_form textarea::-moz-placeholder,
#page-container .cortex_contact_form .et_pb_contact_form input::-moz-placeholder {color: transparent !important;}
#page-container .cortex_contact_form .et_pb_contact_form textarea:-ms-input-placeholder,
#page-container .cortex_contact_form .et_pb_contact_form input:-ms-input-placeholder {color: transparent !important;}
#page-container .cortex_contact_form .et_pb_contact_form textarea:-moz-placeholder,
#page-container .cortex_contact_form .et_pb_contact_form input:-moz-placeholder {color: transparent !important;}
.cortex_contact_form .et_pb_row:first-child .et_pb_promo_description p:last-child {line-height: 200%;}
.cortex_contact_form .et_pb_row:first-child .et_pb_promo_description p:last-child a {width: 85%;display: inline-block;}
.cortex_contact_form .et_pb_row:last-child .et_pb_promo p:last-child {padding-bottom: 0 !important;}
.cortex_contact_form .et_pb_row:last-child .et_pb_promo p {padding-bottom: 27px !important;}
.cortex_contact_form .et_pb_row:last-child .et_pb_text {float: right;margin-top: -92px;margin-right: 2vw;}
#page-container .cortex_contact_form p a:hover {opacity: 0.4;}
.cortex_contact_form .et_pb_contact_form_container .et_pb_contact_message {padding: 20px 55px !important;}
.cortex_contact_form .et_pb_contact_form_container .et-pb-contact-message ul {padding-bottom: 10px !important;}
.cortex_contact_form .et_pb_contact_form p textarea.et_contact_error ,.cortex_contact_form .et_pb_contact_form p input.et_contact_error {border: 1px solid #f00 !important;}
.cortex_contact_form .et_pb_contact_form p input.et_contact_error {margin-bottom: 5px !important;}
.cortex_contact_form .et_pb_contact_form p textarea.et_contact_error + label,.cortex_contact_form .et_pb_contact_form p input.et_contact_error + label {padding-left: 21px !important;}
.cortex_contact_form .et_pb_contact_form p:before {display: inline-block !important;font-family: "ETmodules" !important;margin: 0 !important;opacity: 1;font-size: 19px !important;
position: absolute;top: 25px;left: 25px;-webkit-transform: translate3d(-56px, 0, 0);transform: translate3d(-56px, 0, 0);transition: transform 0.3s;min-width: 20px;z-index: 1;}
.cortex_contact_form .et_pb_contact_form p.filled:before,
.cortex_contact_form .et_pb_contact_form p.focus:before {-webkit-transform: translate3d(0, 0, 0);transform: translate3d(0, 0, 0);}
.cortex_contact_form .et_pb_contact_form p:first-child::before {content: '\e08b' !important;}
.cortex_contact_form .et_pb_contact_form p:nth-child(2)::before {content: "\e076" !important;}
.cortex_contact_form .et_pb_contact_form p:nth-child(3)::before {content: "\e090" !important;}
.cortex_contact_form .et_pb_contact_form p:nth-child(4)::before {content: "\6a" !important;}
.cortex_contact_form .et_pb_contact_form p:nth-child(5)::before {content: "\e065" !important;}
.cortex_contact_form .et_pb_contact_form p[data-type="checkbox"]{margin: 0 0 20px !important;}
.cortex_contact_form .et_pb_contact_form p {position: relative;overflow: hidden;}
.cortex_contact_form .et_pb_contact_form p:not([data-type="checkbox"]) label {display: block !important;position: absolute;width: 100%;text-align: left;pointer-events: none;top: 27px;padding-left: 20px;color: #a7a7a7;font-size: 18px;font-weight: 400;transition: all 0.3s ease-in-out;}
.cortex_contact_form .et_pb_contact_form p.filled label,.cortex_contact_form .et_pb_contact_form p.focus label {opacity: 0;-webkit-transform: translate3d(120px, 0, 0);transform: translate3d(120px, 0, 0);}
.cortex_contact_form .et_contact_bottom_container .et_pb_contact_right input{padding: 18px 5px !important;text-align: center;}
@media only screen and (max-width: 767px) {
    .cortex_contact_form .et_pb_row:first-child .et_pb_contact_form_container {padding: 30px !important;}
    .cortex_contact_form .et_pb_contact_right {margin: 3%;}
}

/* PORTFOLIO & GALLERY */
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item h2, 
.cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2, 
.cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item h3 {opacity: 0 !important;transform: translateY(-80px);position: absolute;margin: auto; width: 100%; transition: all .6s ease-in-out;}
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item .post-meta,
.cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item .post-meta,
.cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item .et_pb_gallery_caption { opacity: 0 !important; transform: translateY(-80px); position: absolute; margin: auto; width: 100%; transition: all .6s ease-in-out;}
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item:hover h2,
.cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item:hover h2,
.cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item:hover h3 { opacity: 1 !important; transform: translateY(-150px); transition: all .6s ease-in-out;}
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item:hover .post-meta,
.cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item:hover .post-meta, 
.et_pb_gallery_grid .et_pb_gallery_item:hover .et_pb_gallery_caption { opacity: 1 !important; transform: translateY(-120px); transition: all .6s ease-in-out;}
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item:hover img,
.cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item:hover img,
.cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item:hover img,
.cortex_shop .woocommerce ul.products li.product:hover img {filter: brightness(40%) ; transition: all .6s ease-in-out; transform: scale(1.1);}
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item img, 
.cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item img, 
.cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item img, 
.cortex_shop .woocommerce .et_shop_image img {
    transition: all .6s ease-in-out;
}
.cortex_shop .woocommerce .et_shop_image img {
    -webkit-transform-origin: bottom;
    -moz-transform-origin: bottom;
    -ms-transform-origin: bottom;
    -o-transform-origin: bottom;
    transform-origin: bottom;
}
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item,
.cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item, 
.cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item,
.cortex_shop .woocommerce ul.products li.product {overflow: hidden;}
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item:hover h2:after, .cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item:hover h2:after, .cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item:hover h3:after { width: 100px; height: 1px; margin: 20px auto !important; background: #afa46e;display: block;
}
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item h2:after, .cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2:after, .cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item h3:after {content: ''; height: 1px; background: #afa46e; transition: width 1s ease; display: block; width: 0px;  margin: 20px auto !important;
}
.cortex_portfolio .et_pb_divider {margin: 0;}
/*Filters*/
.cortex_portfolio .et_pb_filterable_portfolio .et_pb_portfolio_filters ul{display:table !important;margin:0 auto !important;}
.cortex_portfolio .et_pb_filterable_portfolio .et_pb_portfolio_filters li a { border-bottom: 2px solid #e2e2e2 !important; border-left: none !important;  border-right: none !important;  border-top: none !important; color: #666; padding: 15px 25px;}
.cortex_portfolio .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active {color: #afa46e;border-bottom: 2px solid #afa46e !important;}
.cortex_portfolio .et_pb_filterable_portfolio .et_pb_portfolio_filters li:last-child a {border-radius: 0 !important;}
.cortex_portfolio .et_pb_filterable_portfolio .et_pb_portfolio_filters li:first-child a {border-radius: 0 !important;}

/* Flickering Firefox issue fix */
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item,
.cortex_gallery .et_pb_gallery_grid .et_pb_grid_item,
.cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item{
    will-change: transform;
}
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item img,
.cortex_gallery .et_pb_gallery_grid .et_pb_grid_item img,
.cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item img{backface-visibility: hidden;}
.cortex_gallery .et_pb_gallery_grid .et_pb_gallery_image {position: relative; border: 3px solid white; overflow: hidden;}
.cortex_gallery .et_pb_gallery .et_pb_gallery_image img {border-width: 0!important;}

/* Responsive */
@media only screen and (max-width: 1500px) {
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item:hover h2, .cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item:hover h2, .cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item:hover h3 {transform: translateY(-120px);}
}
@media only screen and (max-width: 1200px) {
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item h2, .cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item .post-meta {width: 47%;}
.cortex_gallery .et_pb_gallery_grid .et_pb_grid_item {width: 47% !important;clear: inherit;}

.cortex_gallery .et_pb_column .et_pb_grid_item {margin:0;}
}
@media only screen and (max-width: 980px) {
.cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item h3 {width: 47%;}
}
@media only screen and (max-width: 768px) {
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item h2, .cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item .post-meta, .cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item .post-meta {width: 50% !important;}
.cortex_gallery .et_pb_gallery_grid .et_pb_grid_item, .cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item {width: 100% !important;overflow: hidden;}
.cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item h3, .cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item .post-meta, .et_pb_gallery_grid .et_pb_gallery_item .et_pb_gallery_caption {width: 100% !important; font-size: 22px;}
.cortex_gallery .et_pb_gallery_grid img, .cortex_portfolio .et_pb_filterable_portfolio_grid img {width: 100%;}
.cortex_portfolio .et_pb_portfolio_filters li {width: 100% !important;}
}
@media only screen and (max-width: 480px) {
.cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item h2, .cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2, .cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item .post-meta {width: 100% !important;}
.cortex_portfolio .et_portfolio_image img {width: 100%;}
}
@media only screen and (min-width: 981px) and (max-width: 1200px) {
    .cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item:hover h2,
    .cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item:hover h2,
    .cortex_gallery .et_pb_gallery_grid .et_pb_gallery_item:hover h3 {
        opacity: 1 !important;
        transform: translateY(-120px);
        -webkit-transition: all .6s ease-in-out;
        -moz-transition: all .6s ease-in-out;
        transition: all .6s ease-in-out;
    }
    .cortex_portfolio .et_pb_portfolio_grid .et_pb_portfolio_item:hover .post-meta,
    .cortex_portfolio .et_pb_filterable_portfolio_grid .et_pb_portfolio_item:hover .post-meta, 
    .cortex_gallery .et_pb_gallery_item:hover .et_pb_gallery_caption {
        opacity: 1 !important;
        transform: translateY(-95px);
        -webkit-transition: all .6s ease-in-out;
        -moz-transition: all .6s ease-in-out;
        transition: all .6s ease-in-out;
    }
}
/*Our Works issue*/
.et_pb_filterable_portfolio .et_pb_portofolio_pagination{border-top: none;}

/* cortex Blog Custom */
.cortex-post-meta .et-pb-icon{font-size:12px;color:#afa46e;}
.cortex-post-meta .cortex_author {margin-right:10px;}
.cortex_date .cortexdate{display:block;color:#afa46e;font-size: 25px;font-weight: normal;}
.cortex_date{text-transform:uppercase;}
/* cortex Blog */
.single .et_pb_post {margin-bottom: 0px !important;}
.cortex_blog .et_pb_blog_grid .et_pb_image_container .published {
    z-index: 100;
    position: absolute;
    right: 0px;
    background: white;
    width: 70px;
    height: 70px;
    padding: 12px;
    box-sizing: border-box;
    color: black;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    top: 0;
    box-shadow: none;
    border-radius: 0;
}
.cortex_blog .et_pb_post {padding: 0 20px;border: none;}
.cortex_blog .entry-title {margin-top: -115px;position:relative;max-height: 45px;overflow: hidden;}
.cortex_blog .post-meta {position:relative;}
.cortex_blog .post-content {display:none;}
.cortex_blog { position: relative; }
.cortex_blog .et_pb_image_container:after {
    position: absolute;
    content: '';
    background: -moz-linear-gradient(top, rgba(0,0,0,0.1) 0%, #02141770 50%, #021417 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.1) 0%,#02141770 50%,#021417 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,#02141770 50%,#021417 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a000000', endColorstr='#cc021417',GradientType=0 );
    background-size: cover;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity:.8;
    transition: .3s ease all;
    cursor:pointer;
}

.cortex_blog article {margin-bottom: 100px!important; box-shadow: 0 0 40px 0px rgba(0,0,0,0.1);}
.cortex_blog .entry-title {margin-top: -108px; font-weight: 400;}
.cortex_date .cortexdate { font-weight: 600; font-size: 16px; margin-top: 8px;}
.cortex_blog .et_pb_post:hover .et_pb_image_container:after {opacity:1;transition: all .3s ease-in-out;}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
.cortex_blog .et_pb_blog_grid .et_pb_image_container .published {right:0px;top:0px;}
}
@media only screen and (max-width: 1350px) {
    .cortex_blog .entry-title {margin-top: -100px;}
}
@media only screen and (max-width: 768px) {
    .cortex_blog .et_pb_blog_grid .column { float: none ;}
    .cortex_blog .et_pb_blog_grid .column.size-1of1 .et_pb_post{margin-bottom: 20.5% !important;}
}
.cortex_blog .et_pb_blog_grid .et_pb_image_container .published {z-index: 100;position: absolute;right: 0px;background: white;width: 70px;height: 70px;padding: 12px;box-sizing: border-box;color: black;line-height: 1;font-weight: 700;text-align: center;top: 0;box-shadow: none;border-radius: 0;}/* More Link */
.more-link {
    font-size: 14px;
    transition: all .3s ease-in-out;
    text-transform: uppercase;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    display: inline-block;
    position: relative;
    opacity: 0.3;
}
.more-link:after {
    position: absolute;
    opacity: 0;
    font-weight: 100;
    right: 0;
    transition: 0.5s;
    font-family: 'ETmodules';
    content: "\24";
    font-size: 18px;
}
.more-link:hover:after {
        -webkit-animation: swing 1s ease;
        animation: swing 1s ease;
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
}
@-webkit-keyframes swing
{
    15%{-webkit-transform: translateX(5px);transform: translateX(5px);}
    30%{-webkit-transform: translateX(-5px);transform: translateX(-5px);} 
    50%{-webkit-transform: translateX(3px);transform: translateX(3px);}
    65%{-webkit-transform: translateX(-3px);transform: translateX(-3px);}
    80%{-webkit-transform: translateX(2px);transform: translateX(2px);}
    100%{-webkit-transform: translateX(0);transform: translateX(0);}
}
@keyframes swing
{
    15%{-webkit-transform: translateX(5px);transform: translateX(5px);}
    30%{-webkit-transform: translateX(-5px);transform: translateX(-5px);}
    50%{-webkit-transform: translateX(3px);transform: translateX(3px);}
    65%{-webkit-transform: translateX(-3px);transform: translateX(-3px);}
    80%{-webkit-transform: translateX(2px);transform: translateX(2px);}
    100%{-webkit-transform: translateX(0);transform: translateX(0);}
}
/* cortex Blog Grid */
.cortex_blog_grid .more-link {
    opacity: 1 !important;
    background: #dadbe0;
    color: #8e8e8e;
    padding: 8px 15px;
    margin-top: 20px;
    font-size: 13px;
}
.cortex_blog_grid .more-link:after {
    position: absolute;
    opacity: 0;
    font-weight: 100;
    right: 0;
    transition: 0.5s;
    font-family: 'ETmodules';
    content: "\24";
}
.cortex_blog_grid .et_pb_post:hover .more-link {padding: 8px 35px 8px 15px;background: #1a213c;color: #fff;}
.cortex_blog_grid .et_pb_post:hover .more-link:after {opacity: 1;right: 10px;}
/* Archive/Categories */
@media (min-width: 981px) {
.et_right_sidebar #sidebar {padding-left: 0px !important;}
#main-content .container:before {width: 0px !important;}
}


/* Secondary elements styling */
#top-header .et-social-icon a {padding:10px;background:rgba(255,255,255,0.05);border:1px rgba(255,255,255,0.1) solid;transition: all .3s ease-in-out;}
#top-header .et-social-icon a:before {font-size:80%!important;display:inline-block;transition: all .3s ease-in-out;transform-origin: bottom;}
#top-header .et-social-icons li {margin-left:2px;}
h1 mark, h2 mark, h3 mark, h4 mark, h5 mark, h6 mark {background:none;}
#top-header .et-social-icon a:hover {opacity:1;transform: translateY(-2px);background:transparent;}
#top-header .et-social-icon a:hover:before {transform: scale(1.2);}
#top-header .et-social-icons {margin-left:10px}

/* Primary nav links styling */
@media only screen and (min-width: 981px) {
    #et-top-navigation nav>ul>li>a {transition: all .3s ease-in-out;}
    #et-top-navigation nav>ul>li>a:hover {opacity:1;}
    #et-top-navigation nav>ul>li:not(.menu-item-has-children)>a:before {
        content:'';
        display:block;
        position:absolute;
        bottom:-1px;
        left:50%;
        right:50%;
        background:transparent;
        transition: all .3s ease-in-out;
    }
    .et-fixed-header #et-top-navigation nav>ul>li:not(.menu-item-has-children)>a:before {bottom:0;}
    #et-top-navigation nav>ul>li>a:hover:before {left:-5px;right:-5px;}
}
#top-menu li li a {width: 280px !important;}
/* Submenu Styling */
.nav li ul {
    border-top:none !important;
    padding:20px 0 !important;
    box-shadow: 0 0 80px rgba(50, 54, 58, 0.12) !important;
    width: 280px !important;
    border-radius: 3px;
    margin-top: -7px;
}
.nav li li {line-height: 1.6em !important;}
#top-menu li li {padding:0 !important;display:block;}
#top-menu li li a {padding:5px 15px 5px 20px;position:relative;transition: all .3s ease-in-out;display: block;width:100%;text-transform:none;}
#top-menu li li a:hover {padding-left:25px;background:transparent;opacity:1;}
#top-menu li li a:before {content:'';display:block;position:absolute;width:0;top:0;bottom:0;left:-10px;transition: all .3s ease-in-out;}
#top-menu li li a:before {left:0;}

@media (min-width: 980px) {
.sub-menu:after {
    content: '';
    display: block;
    position: absolute;
    left: 10%;
    top: -14px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    z-index: 1;
}
}
/* Secondary Heading Styling */
.secondary-heading h1,
.secondary-heading h2,
.secondary-heading h3,
.secondary-heading h4,
.secondary-heading h5,
.secondary-heading h6 {
    display:inline-block;
    position:relative;
}
.secondary-heading h1:after,
.secondary-heading h2:after,
.secondary-heading h3:after,
.secondary-heading h4:after,
.secondary-heading h5:after,
.secondary-heading h6:after {
    display:inline-block;
    content:'';
    width:100vw;
    position:absolute;
    top:7px;
    right:-10px;
    border-top:3px #eee dashed;
    margin-right:-100vw
}
.secondary-heading-parent {
    overflow:hidden;
}
@media (min-width:480px) {
    .secondary-heading.et_pb_text_align_right h1:after,
    .secondary-heading.et_pb_text_align_right h2:after,
    .secondary-heading.et_pb_text_align_right h3:after,
    .secondary-heading.et_pb_text_align_right h4:after,
    .secondary-heading.et_pb_text_align_right h5:after,
    .secondary-heading.et_pb_text_align_right h6:after {
        right:auto;
        left:-10px;
        margin-right:0; 
        margin-left:-100vw
    }
}


/* cortex Popup */
.mfp-wrap .mfp-close:active {top:0px;}
.white-popup .et_pb_section {padding-top: 0 !important; }
.white-popup .et_pb_section .et_pb_row {margin-top: 174px; /*background: #fff !important;*/}
.white-popup .mfp-close:active, .white-popup .mfp-close {opacity:1 !important;position: fixed !important; top: 0px !important; right: 0px;}
/*.white-popup .et_pb_contact {width: 95%;}*/
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a, .mfp-arrow-right:after, .mfp-arrow-right .mfp-a{line-height: 0.7em !important;}
.et_pb_post {position: relative;}
.header_fixin_mobile #main-header{position:fixed;}
.option_mobile_menu .et_mobile_nav_menu,.option_mobile_menu #et_mobile_nav_menu{display: block;}
.option_mobile_menu  #top-menu{display: none;}
@media only screen and (max-width: 480px) {
.white-popup .et_pb_section .et_pb_row {margin-top: 60px !important; /*background: #fff !important;*/}
}

/* Popup Code */
.mfp-fade.mfp-wrap.mfp-removing.cortex-mfp .mfp-content .cortex-popup .et_pb_row{opacity: 0;transform: scale(0.9);}
.mfp-fade.mfp-bg {opacity: 0;transition: all 0.3s ease-out;}
.mfp-fade .cortex-popup .et_pb_row {opacity: 0;transition: all 0.3s ease-in-out;transform: scale(0.9);}
.mfp-fade.mfp-ready .cortex-popup .et_pb_row {opacity: 1;transform: scale(1);}
.mfp-fade.mfp-ready.mfp-bg {opacity: 0.8;}
.mfp-fade.mfp-removing .cortex-popup .et_pb_row {transform: scale(0.8);opacity: 0;}
.mfp-fade.mfp-removing.mfp-bg {opacity: 0;}

/* 404 Page */
.container_cortex404{width:100%;max-width:100% !important;}
.container_cortex404 .cortex404 #left-area{padding-right: 0%;padding-bottom: 0px !important;}
.container_cortex404 .cortex404 .et_pb_post{margin-bottom: 0px !important;}
@media only screen and (min-width: 1101px) and (max-width: 1200px) {
#top-menu li { padding-right: 12px !important;}
}
@media only screen and (min-width: 981px) and (max-width: 1100px) {
#et_top_search {width: auto !important;margin-right:-25px !important;}
#et-top-navigation #et_search_icon:before {margin-top: 0px !important;}
}

/* cortex Blog List */
@media only screen and  (min-width:981px) {
.cortex_blog_list .entry-featured-image-url {width: 40.5%;margin-right: 4%;float: left;overflow: hidden;margin-bottom: 0px !important;}
.cortex_blog_list .entry-featured-image-url img{min-height:250px;}
.cortex_blog_list .post_info { width: 55%; float: left;margin-top: 30px;}
.cortex_blog_list article a.more-link {position: absolute;right: 0;bottom: 0;}
}
.cortex_blog_list .et_pb_post {background:#FFFFFF; box-shadow:0 10px 120px rgba(10, 15, 36, 0.08);}
.cortex_blog_list .cortex_blog_list_border {border-top: 10px solid #f6f6f7;border-left: 10px solid #f6f6f7;height: 50px;width: 50px;position: absolute;}
.cortex_blog_list .et_pb_post .entry-title a {margin-left: 25px;margin-top: 10px;margin-right: 25px;display: inline-block;}
.cortex_blog_list .et_pb_post .post-content {margin-right: 60px; margin-bottom: 30px;}
.cortex_blog_list article .entry-title {padding-bottom: 15px;}
.cortex_blog_list article a.more-link:after {opacity:1;position: relative;}
.cortex_blog_list article a.more-link {color: #adaeb2 !important;background-color: #e5e5e5 !important;padding: 15px;float: right;opacity:1; height: 50px;line-height: initial;width: 50px;float: right;opacity: 1;transform: translate(-10px, -10px);border-radius: 50%;}
.cortex_blog_list article:hover a.more-link {color: #fff !important;background-color: #0a0f25 !important;padding: 15px;float: right;opacity:1;}
.cortex_blog_list article a:hover.more-link:after{-webkit-animation: swing 1s ease;animation: swing 1s ease; -webkit-animation-iteration-count: 1;animation-iteration-count: 1;display:block;}
@media only screen and  (max-width:980px) {
.cortex_blog_list .post_info { padding:15px 25px;}
}

.cortex_blog_list .et_pb_post:hover {transform: scale(1.02);transition: all .3s ease-in-out;}
.cortex_blog_list .et_pb_post {transition: all .3s ease-in-out;}
.cortex_blog_list .cortex_blog_list_border {border-radius: 5px; margin-top: -13px;}
.cortex_blog_list .et_pb_post:hover a.more-link {line-height: initial;}
.rpwwt-widget {background-color: white!important;}
.widget_search input#s {border: 5px!important;box-shadow: 0 0 20px rgba(0,0,0,0.08)!important;}
.widget_search #searchsubmit {border-radius: 0 5px 5px 0 !important;}
.widget_categories .widgettitle {color: white;}
.widget_categories ul li {background-color: white!important;}
.et_pb_widget_area_left {border-right: 0!important;}

/* cortex Blog Grid */
.cortex_blog_grid  article:hover .entry-featured-image-url:after { opacity: 1; transform:translateY(-120px);}
.cortex_blog_grid  article .entry-featured-image-url:after {z-index:4;content: 'Read More';display: block;opacity: 0;position: absolute;color: #fff;transform: translateY(-80px);
transition: all .6s ease-in-out;width: 100%;font-size: 18px;text-align: center;}
.cortex_blog_grid article .entry-featured-image-url:after,.cortex_blog_grid article .entry-featured-image-url:before{ transition: all .6s ease-in-out;}
.cortex_blog_grid .et_pb_post:hover .entry-featured-image-url:before {z-index:4;height: 35px !important;transform:translateY(-30px)  !important;}
.cortex_blog_grid .et_pb_post .entry-featured-image-url:before {z-index:4;content: '';display: block;position: absolute;background-color: #fff;width: 1px;transform: translateY(-10px);left: 51%;height: 0;top: calc(100% - 60px);transition: all .6s ease-in-out;transition-delay: 0s;}
@media only screen and  (max-width:767px) {
.cortex_blog_grid .et_pb_post .entry-featured-image-url::before {transform: translateY(-100px);}
.cortex_blog_grid .et_pb_post:hover .entry-featured-image-url:before { transform: translateY(-120px) !important;}
.cortex_blog_grid article .entry-featured-image-url::after { transform: translateY(-130px);}
.cortex_blog_grid article:hover .entry-featured-image-url:after {transform: translateY(-220px);}
}
@media only screen and  (max-width:600px) {
.cortex_blog_grid .et_pb_post .entry-featured-image-url::before {transform: translateY(-50px);}
.cortex_blog_grid .et_pb_post:hover .entry-featured-image-url:before { transform: translateY(-60px) !important;}
.cortex_blog_grid article .entry-featured-image-url::after { transform: translateY(-70px);}
.cortex_blog_grid article:hover .entry-featured-image-url:after {transform: translateY(-160px);}
}
@media only screen and  (max-width:415px) {
.cortex_blog_grid .et_pb_post .entry-featured-image-url::before {transform: translateY(-20px);}
.cortex_blog_grid .et_pb_post:hover .entry-featured-image-url:before { transform: translateY(-30px) !important;}
.cortex_blog_grid article .entry-featured-image-url::after { transform: translateY(-50px);}
.cortex_blog_grid article:hover .entry-featured-image-url:after {transform: translateY(-130px);}
}

/* Single Post Nav */
.cortex_post_section.et_pb_section,.cortex_post_row.et_pb_row{padding:0; max-width: 1080px; margin:auto; width:100% !important;}
.cortex_post_row.et_pb_row {border-top: solid 1px #f2f2f2; padding-top:20px;}
.cortex_post_left{float: left;padding: 10px;border-radius: 100px;transition: all .3s ease;}
.cortex_post_left span strong,.cortex_post_right span strong{vertical-align: top;}
.cortex_post_right{float: right;padding: 10px;border-radius: 100px;transition: all .3s ease}
.cortex_post_right span,.cortex_post_left span{margin: 12px;line-height: 26px;vertical-align: top;transition: all .3s ease;}
.cortex_post_left:hover, .cortex_post_right:hover {background-color: whitesmoke;}
.cortex_post_left:hover span, .cortex_post_right:hover span { transition: all .3s ease;}
.cortex_post_left .et-pb-icon, .cortex_post_right .et-pb-icon {font-size: 26px !important;vertical-align: middle;}
@media screen and (max-width: 767px){
.cortex_post_left,.cortex_post_right{float:none;text-align:center;}
}
/*#commentform textarea, #commentform input[type="text"], #commentform input[type="email"], #commentform input[type="url"] {}*/

/* Author Box */
.cortex_author_row.et_pb_row{background: whitesmoke; max-width: 1080px;}
.cortex_author_section {padding: 20px 0 !important;}
.cortex_author_left{width:15%;float: left;text-align: center;margin-left:1%;margin-right:1%}
.cortex_author_right{width:78%;float: right;margin-right:5%}
@media screen and (max-width: 980px){
.cortex_author_left { margin-left: 5%; margin-right: 5%; }
.cortex_author_right { width: 70%;margin-right: 5%;}
.cortex_author_left img {border-radius: 200px; box-shadow: rgba(0,0,0,0.2);}
}

/* Blog Related Articles */
.et_pb_section_related_articles .et_pb_row {padding: 10px 0; width: 100% !important;}
.et_pb_section.et_pb_section_related_articles{padding:30px 0; max-width: 1080px; margin:30px auto;}
.related_articles_section  .et_pb_row{background-color: #ffffff;border-radius: 6px;box-shadow: 0 30px 150px rgba(0, 0, 0, 0.2);padding: 20px 50px;}
.related_articles_section h2 {color: #232323;font-size: 20px;font-weight: 700;}
.related_articles_section .et_pb_column.et_pb_column_1_3 a{color: #000000;}
.related_articles_section .et_pb_column.et_pb_column_layout_fullwidth a{color: #000000;}
.related_articles_section .et_pb_row .et_pb_column_1_3 {width: 30%; margin-right: 5%;}
.related_articles_section .et_pb_row_related_articles.et_pb_row .et_pb_column_1_3:last-child {margin-right: 0% !important;}
.related_img .et_social_media{display:none;}
.related_articles_section img {border-radius: 5px;-webkit-border-radius: 5px !important;opacity: 0.8;transform-origin: center bottom 0;transition: all 400ms ease 0s;box-shadow: 0 10px 100px rgb(225, 237, 249);min-height: 185px; vertical-align: unset !important; display: block;position: relative;overflow: hidden;}
.related_articles_section .et_pb_column.et_pb_column_1_3 {animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 0s normal none 1 running gridFadeIn;opacity: 1;margin-bottom:25px;   display: block;}
.related_articles_section .et_pb_column.et_pb_column_layout_fullwidth {animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 0s normal none 1 running gridFadeIn;opacity: 1;margin-bottom:25px;display: block;}
.related_articles_section .et_pb_column.et_pb_column_1_3 .related_div {background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.80) 100%) repeat scroll 0 0;text-shadow: 0 4px 10px rgba(7, 15, 27,0.4);bottom: 0;color: #ffffff;font-size: 16px;font-weight: 600;line-height: 20px;padding: 40px 15px 15px 15px;position: absolute;width: 100%;border-radius: 5px;}
.related_articles_section .et_pb_column.et_pb_column_layout_fullwidth .related_div {font-size: 20px;font-weight: 800;position: absolute; width: 100%;bottom: 10px; color: #FFFFFF; padding: 5px; line-height: 18px;}
.related_articles_section .et_pb_row_related_articles.et_pb_row{background-color: transparent;border-radius: 0;box-shadow: none;padding: 0;width:100% !important;}
.et_pb_row_related_articles .et_pb_column:hover img {transform: scale(1.05) !important;}
.related_img {overflow: hidden;border-radius: 5px;}
.et_pb_row_related_articles .et_pb_column:hover img {opacity: 1;transition: all 400ms ease 0s;}
@media only screen and (max-width: 980px) {
  .related_articles_section .et_pb_row_related_articles.et_pb_row .et_pb_column_1_3:first-child {margin-left: 0% !important;}
  .related_articles_section .et_pb_column.et_pb_column_1_3 {margin-bottom:50px;}
  .related_articles_section .et_pb_column.et_pb_column_1_3 .related_div {font-size: 15px; line-height: 18px;}
  .related_articles_section .et_pb_row_related_articles.et_pb_row .et_pb_column_1_3:last-child {margin-bottom:50px !important;}
  .related_articles_section h2 {margin-bottom:50px !important;}
}
@media only screen and (max-width: 540px) {
  .related_articles_section .et_pb_column.et_pb_column_1_3 .related_div {font-size: 14px; line-height: 18px;}
  .related_articles_section .et_pb_column.et_pb_column_layout_fullwidth .related_div {font-size: 14px; line-height: 18px;}
  .related_articles_section .et_pb_row {padding: 0 20px;}
}
@media only screen and  (max-width:1300px) {
    .cortex_post_section.et_pb_section, .et_pb_section_related_articles {width:80% !important;}
    .cortex_post_left, .cortex_post_right {width:100%;text-align: center;}
}

/* Add Subline on Menu */
span.sub-description {font-style: italic;font-size: small;opacity: .6;font-weight: 300;}

/* Grey CTA Responsive Fix */
@media only screen and  (max-width:980px) {
.cortex_grey_cta {background-color: #f6f6f7;}
}
/* Back To Top */
.et_pb_scroll_top.et-pb-icon {bottom: 70px !important;padding: 15px !important;border-radius: 0 !important;background: #1b213a !important;font-size: 22px !important;}
.et_pb_scroll_top:before {content: "\21" !important;}

/* MOBILE MENU */
#mobile_menu { display: block !important; min-height: 100vh; top: 0; border-top: none; padding-top: 80px; z-index: 9998; }
.mobile_nav.closed #mobile_menu {
 transform: rotateY(90deg); -webkit-transform: rotateY(90deg);
 transform-origin: right; -webkit-transform-origin: right;
 background: #fff; transition: .8s ease-in-out !important; }
.mobile_nav.opened #mobile_menu {
 transform: rotateY(0deg); -webkit-transform: rotateY(0deg);
 transform-origin: right; -webkit-transform-origin: right;
 background: #afa46e ; transition: .8s ease-in-out; }
.mobile_nav.opened .mobile_menu_bar:before {
 content: "\4d"; color: #fff; }
.et_mobile_menu li a { color: #fff; }
@media(max-width: 980px) {
.et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar { z-index: 9999; }
#main-header .container.clearfix.et_menu_container { width: 100%; }
.logo_container { padding-left: 30px; }
#et-top-navigation { padding-right: 30px; }

/* Mobile Menu Fixed on Scroll */
.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {position: fixed !important; }
    .et_mobile_menu { overflow: scroll !important; }
    .et_fixed_nav #main-header {position: fixed !important;}    
    body.mobilemenuscroll{overflow:hidden !important;}
.header_fixin_mobile.et_fixed_nav #main-header{position:fixed !important;}
.header_not_fixin_mobile.et_fixed_nav #main-header{position:absolute !important;}
}
@media(min-width: 341px) {
    #mobile_menu { width: 340px; margin-left: calc(100% - 340px); }
} 
@media(max-width: 340px) {
    #mobile_menu { width: 100%; margin-left: 0; }
}

/*** Richard's CSS ***/

/*** Vertical Align ***/
.vertical-align {display: flex; flex-direction: column; justify-content: center;}

/*** Cortex Button ***/
.cortex_button:before {color: white; font-weight: 800!important; border-radius: 50%; padding: 8px!important; border: 10px solid; margin-left: -100px !important; margin-top: -15px; font-size: 25px!important}
.cortex_button:hover.cortex_button::before {transform: rotate(90deg);}
.cortex_button {border: 0!important}

/*** Main Header Box Shadow ***/
#page-container .et-fixed-header#main-header  {box-shadow: 0 5px 50px rgba(10,50,240,.1)!important; border-bottom: none;}

/*** Person/Team member ***/
.cortex_person:hover img {opacity: 0.2; transition: all .2s;}
.cortex_person img {transition: all .2s;}

/*** Blurb 1 ***/
.cortex_blurb_1 p {opacity: 0; transform: translatex(-20px); transition: all .2s;}
.cortex_blurb_1:hover p {opacity: 1; transform: translatex(0); transition: all .2s;}
.cortex_blurb_1 h2 {transform: translateY(30px); transition: all .2s;}
.cortex_blurb_1:hover h2 {transform: translatey(0); transition: all .2s;}
.cortex_blurb_1:hover .image_background {transform: scale(1.2);transition: all .3s ease-in-out;}
.cortex_blurb_1 .image_background {transition: all .3s ease-in-out;}

/*** Pricing Tables ***/
.cortex_pricing_table:hover .et_pb_button {letter-spacing: 1px;}

/*** Hide Deafult Footer ***/
#main-footer {display: none;}

/*** Statistics - About Us Page ***/
.cortex_stats img{transform: translate(30px, -30px);}
@media only screen and (min-width: 981px) {
.cortex_stats {margin-top: -70px;}
}

/*** Caldera Forms Styles ***/
.caldera-grid .form-control {width: 100%; height: 50px; padding: 13px 20px; border-radius: 5px;}
.caldera-grid .btn-default {padding: 15px 30px!important; border-radius: 5px!important; color: white!important; font-weight: 600; border: 0; transition: all .3s;}
.caldera-grid .btn-default:hover {letter-spacing: 2px!important; transition: all .3s;}
/* Phone Number Field */
.intl-tel-input.allow-dropdown {min-width: 100%;}

/*** Blurb 2 ***/
.cortex_blurb_2 img {transform: translate(20px, 20px);}
.cortex_blurb_2 .description {opacity: 0; height: 0; transform: translatey(20px);}
.cortex_blurb_2:hover .description {opacity: 1; transition: all .5s; transition-delay: .7s!important; transform: translatey(0px)}
.cortex_blurb_2:hover {padding-bottom: 170px; transition: all .5s;}
.cortex_blurb_2:hover img{transform: scale(0.95); transition: all .5s;}
.cortex_blurb_2 img{transition: all .5s;}

/*** Blurb 3 ***/
.cortex_blurb_3 .et_pb_button { opacity: 0;transform: translatey(20px)}
.cortex_blurb_3:hover .et_pb_button {opacity: 1;transform: translatey(-20px);transition: all .3s ease-in-out;transition-delay: .5s; }
.cortex_blurb_3:hover .et_pb_text {transform: translatey(-70px);transition: all .5s;}
.cortex_blurb_3 .et_pb_text {transition: all .5s;}
.cortex_blurb_3:hover h2 {opacity: 0;transition: all .2s;}
.cortex_blurb_3 h2 {opacity: 1;transition: all .5s;}

/*** Blurb Heading ***/
.cortex_blurb_heading img {padding: 20px;} 

/*** Blurb Contact Page ***/
.cortex_blurb_contact img {padding: 20px;} 

/*** Cortex Contact Form 2 ***/
.cortex_contact_form_2 .caldera-grid .form-control  {background: #F7F7F7; border: 0; height: 50px; -webkit-box-shadow: none!important;
box-shadow: none!important;}

/*** Blog 02 ***/
.cortex_blog_02 .post-content {text-align: center;}
.cortex_blog_02 .et_pb_post:hover img {transform: scale(1.05);transition: all .3s ease-in-out;}
.cortex_blog_02 .et_pb_post img {transition: all .3s ease-in-out;}
.cortex_blog_02 .et_pb_post {overflow: hidden!important; padding-bottom: 40px!important;}
.cortex_blog_02 .et_pb_post .entry-featured-image-url{overflow: hidden!important;}
.cortex_blog_02 .et_pb_post:hover a.more-link { letter-spacing: 1px; transition: all .3s ease-in-out;}
.cortex_blog_02 .et_pb_post a.more-link {transition: all .3s ease-in-out;}
.cortex_blog_02 h2 {margin-bottom: 20px;}

/*** Blog Page Previous and Next Post Navigation ***/
.cortex_post_left {float: left;padding: 10px;border-radius: 100px;transition: all .3s ease;/*box-shadow: 0 0 20px rgba(0,0,0,0.08);*/}
.cortex_post_right {float: right;padding: 10px;border-radius: 100px;transition: all .3s ease;/*box-shadow: 0 0 20px rgba(0,0,0,0.08);*/}

/*** Blog Post - About Author ***/
.et_pb_section.et_section_regular.cortex_author_section {margin-top: 20px;}
.cortex_author_left img {border-radius: 50%;}

/*** Blog Post Comments ***/
#commentform textarea {border-radius: 5px;padding: 30px; background-color:#f5f5f5 !important;}
#commentform input{border-radius: 5px!important;padding: 20px!important;margin-top: 20px;}
#commentform input[type="text"] {background-color:#f5f5f5 !important;}
#commentform input[type="text"] {width: 100%;}
#submit.submit.et_pb_button {padding: 20px 40px !important;}

/*** Single Service Features Blurb ***/
.cortex_service_feature_blurb:hover img {transform: scale(0.8);transition: all .3s;}
.cortex_service_feature_blurb img {transition: all 1s;}

/*** Footer Links ***/
.cortex_footer_link .arrow {opacity: 0;transition: all .3s ease-in-out;margin-left: -10px;}
.cortex_footer_link:hover .arrow{opacity: 1;transition: all .3s ease-in-out;margin-left: 0;}
.cortex_footer_link:hover {transform: translatex(10px);transition: all .3s ease-in-out;}
.cortex_footer_link {transition: all .3s ease-in-out;}

/*** About Us Blurb ***/
.cortex_about_us_blurb .et_pb_image_wrap {border-radius: 50%;}
.cortex_about_us_blurb:hover img {transform: translate(0px, -30px);}
.cortex_about_us_blurb img {transition: all .3s;}

/*** Pop-Up Close Button ***/
.cortex-popup .mfp-close:hover {color: white!important;}

/*** Reverse Column Order ***/
@media only screen and (max-width: 768px) {
   .cortex_reverse_column_mobile {display: flex; flex-direction: column-reverse;}
}

/*** Recent Posts with Thumbnails Widget ***/
.rpwwt-widget li {max-width: 300px;}
.rpwwt-widget ul li img {border-radius: 50%; box-shadow: 0 5px 10px #00000024;}


/* Cortex Fullwidth Slider */
.cortex_slider:hover .et-pb-arrow-next, .cortex_slider .et_mobile_device .et-pb-arrow-next {right: 22px; opacity:.6;background-color: rgba(255,255,255,.15); color: white !important; border:solid 1px transparent; transform: scale(1); -webkit-transition: all 0.6s ease-in-out; -moz-transition: all 0.6s ease-in-out; transition: all 0.6s ease-in-out;}
.cortex_slider:hover .et-pb-arrow-prev, .cortex_slider .et_mobile_device .et-pb-arrow-prev {left: 22px !important;opacity: .6;background-color: rgba(255,255,255,.15);color: white !important;border:solid 1px transparent;transform: scale(1);
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;transition: all 0.6s ease-in-out;}
.cortex_slider .et-pb-arrow-prev:hover, .cortex_slider .et-pb-arrow-next:hover {text-decoration: none;border: solid 1px #fff !important;background-color: rgba(255,255,255,0) !important;transition: all .6s ease-in-out;}
.cortex_slider .et-pb-arrow-prev {left: -100px;border: solid 1px transparent;transform: scale(0.6);transition: all .6s ease-in-out;}
.cortex_slider .et-pb-arrow-next { right: -100px; border: solid 1px transparent; transform: scale(0.6); transition: all .6s ease-in-out;}
.cortex_slider .et-pb-active-slide .et_pb_slide_description {animation-name: gridFadeIn;}
.cortex_slider .slider-img {display: block;margin-top: 30px;}
.cortex_slider .et-pb-controllers a { display: inline-block; width: 20px; height: 3px; margin-right: 10px; padding: 0; background-color: rgba(255, 255, 255, 0.5); text-indent: -9999px; transition: all .6s ease-in-out;}
.cortex_slider .et-pb-controllers .et-pb-active-control {background-color: #fff !important; width: 50px;transition: all .6s ease-in-out;}
.et-pb-controllers a:last-child {margin-right: 0 !important;}

/* IMAGE ANIMATION */
#cover-section .et_pb_slider .et_pb_slide {
    -webkit-animation: scale-up 1s forwards cubic-bezier(0.7, 0, 0.3, 1);animation: scale-up 1s forwards cubic-bezier(0.7, 0, 0.3, 1);}
#cover-section .et_pb_slider .et_pb_slide.et-pb-active-slide {
    -webkit-animation: scale-up-down 2s forwards cubic-bezier(0.7, 0, 0.3, 1);animation: scale-up-down 2s forwards cubic-bezier(0.7, 0, 0.3, 1);}
/* Animations */
@-webkit-keyframes scale-up {
  from { -webkit-transform: scale(1.0); }
  to { -webkit-transform: scale(1.4); }
}
@keyframes scale-up {
  from { transform: scale(1.0); }
  to { transform: scale(1.4); }
}
@-webkit-keyframes scale-up-down {
  from { -webkit-transform: scale(1.2); }
  to { -webkit-transform: scale(1.0); }
}
@keyframes scale-up-down {
  from { transform: scale(1.2); }
    to { transform: scale(1.0); }
     }


/* Team Module Small */
.cortex_team_small:hover .et_pb_team_member_image {transform: scale(1.05) translateY(-5px);transition: all .3s ease-in-out;-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */filter: grayscale(0%);opacity: 1;}
.cortex_team_small .et_pb_team_member_image { transition: all .3s ease-in-out; -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */ filter: grayscale(100%); opacity: 0.5;}
.cortex_team_small .et_pb_team_member_description h4:before { content: ""; position: absolute; width: 20%; height: 2px; bottom: -15px; left: 40%; background-color: #00a1ff; visibility: hidden; -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;}
.cortex_team_small:hover h4:before {visibility: visible;-webkit-transform: scaleX(1);transform: scaleX(1);}
.owl-carousel.cortex-person-carousel .owl-nav button.owl-prev, .owl-carousel.cortex-person-carousel .owl-nav button.owl-next {background: white !important;transition: all .3s ease-in-out;}
.owl-carousel.cortex-person-carousel .owl-nav button.owl-next:hover, .owl-carousel.cortex-person-carousel .owl-nav button.owl-prev:hover  {background: white !important; border-color: white !important; transition: all .3s ease-in-out;}
.owl-stage {padding-top: 0;margin-top: -50px;}


/* Team Carousel */
.cortex-person-carousel .cortex_team .et_pb_member_social_links {margin-top: 20px;}
.owl-carousel.cortex-person-carousel .cortex_team:hover .et_pb_team_member_image img,.owl-carousel.cortex-person-carousel .cortex_team:hover .et_pb_team_member_description, .cortex_team:hover {transition: all .3s ease-in-out 0s;box-shadow: 0 10px 25px #edf5f5;}
.owl-carousel.cortex-person-carousel .owl-item{padding:15px;}
.owl-carousel.cortex-person-carousel .owl-nav button.owl-next,
.owl-carousel.cortex-person-carousel .owl-nav button.owl-prev,
.owl-carousel.cortex-person-carousel button.owl-dot{background: transparent !important; border-radius: 50%!important; border: 1px solid #00a1ff;}
.cortex-person-carousel .owl-prev {position: absolute;top: -80px;right: 52px !important;display: block !important;border-radius: 0px !important;}
.cortex-person-carousel .owl-next {position: absolute;top: -80px;right: 0px !important;display: block !important;border-radius: 0px !important;}
.cortex-person-carousel .cortex-next .et-pb-icon,.cortex-person-carousel .cortex-prev .et-pb-icon{font-size: 20px;line-height: 40px;width: 41px;height: 40px;}
.owl-theme.cortex-person-carousel .owl-nav [class*="owl-"]:hover { background: transparent; color: #00a1ff;}
.et_pb_member_social_links .et_pb_font_icon::before {/*content: "\e093";*/ color: white;}

@media only screen and (min-width: 768px) and (max-width: 980px) {
.et_pb_column.cortex-person-carousel .et_pb_team_member_image {width: 100%;}
}
@media only screen and (max-width: 600px) {
.et_pb_column.cortex-person-carousel .et_pb_team_member_image {width: 100%;max-width: 450px !important;}
}

/* Team Modules */
.cortex_team:hover .et_pb_team_member_image img,
.cortex_team:hover .et_pb_team_member_description,
.cortex_team:hover {transition: all .3s ease-in-out 0s;box-shadow: 0 10px 60px #1b213a24;}
.cortex_team .et_pb_team_member_image img,
.cortex_team .et_pb_team_member_description,
.cortex_team {transition: all .3s ease-in-out 0s;}
.cortex_team:hover{transform: translateY(-10px);}
.cortex_team {overflow: hidden;position: relative; display: block;}
.cortex_team .et_pb_team_member_image img {margin: 0;}
.cortex_team .et_pb_team_member_description {position:absolute;top: 83%;min-height: 460px; padding: 20px;background: #fff;margin-top: -20px;}
.cortex_team:hover .et_pb_team_member_description {padding: 80px 20px !important; top: 0; color: #00000060 !important;}
.cortex_team .et_pb_member_social_links a {color: white!important;line-height: 45px;}
.cortex_team .et_pb_member_social_links {margin-top: 40px;}
.cortex_team .et_pb_member_social_links li {border-radius: 100%!important; margin-right: 10px;width: 40px;height: 40px;background-color: #00A1FF!important;}
.cortex_team .et_pb_member_social_links li:hover a {color: #fff!important;}
.cortex_team .et_pb_member_social_links li:hover {opacity: .8; transition: all .4s ease-in-out;}
.et_pb_team_member .et_pb_team_member_description h4 {font-size:18px !important;}
/* Team Module Responsive */
@media (min-width: 480px) and (max-width: 580px) {
.cortex_team .et_pb_member_social_links li {width: 30px; height: 30px;}
.cortex_team .et_pb_member_social_links a {line-height: 30px; font-size:12px;}
.cortex_team .et_pb_member_social_links {margin-top: 15px;}
.cortex_team .et_pb_team_member_description {font-size: 12px;line-height: 1.4em;}
}
@media (min-width: 980px) and (max-width: 1320px) {
.cortex_team .et_pb_member_social_links li {width: 30px; height: 30px;}
.cortex_team .et_pb_member_social_links a {line-height: 30px; font-size:12px;}
.cortex_team .et_pb_member_social_links {margin-top: 15px;}
.cortex_team .et_pb_team_member_description {font-size: 12px;line-height: 1.4em;}
}
@media (min-width: 320px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 84% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 80% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important; padding: 20px !important;}
        
}
@media (min-width: 360px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 84% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 82% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important; padding: 20px !important;}
}
@media (min-width: 410px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 84% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 84% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important; padding: 20px !important;}
}
@media (min-width: 460px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 84% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 85% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important; padding: 20px !important;}
}
@media (min-width: 480px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 80% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 87% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important;padding: 20px 20px !important;}
}
@media (min-width: 480px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 80% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 87% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important;padding: 20px 20px !important;}
}
@media (min-width: 540px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 82% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 89% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important;}
}
@media (min-width: 600px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 82% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 78% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important;}
}
@media (min-width: 680px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 82% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 81% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important;}
}
@media (min-width: 760px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 85% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 82% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important; padding: 50px 20px !important;}
}
@media (min-width: 840px) {
        .cortex_team .et_pb_team_member_image {margin: 0 0 80px 0 !important;}
        .cortex_team .et_pb_team_member_description {top: 85% !important;}
        .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 85% !important;}
        .cortex_team:hover .et_pb_team_member_description {top: 20px !important; padding: 50px 20px !important;}
}
@media (min-width: 980px) {
       .cortex_team .et_pb_team_member_description {top: 78% !important;}
       .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 86% !important;}
       .cortex_team:hover .et_pb_team_member_description {top: 20px !important; padding: 20px !important;}
}
@media (min-width: 1000px) {
    .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 82% !important;}
    .cortex_team:hover .et_pb_team_member_description {top: 20px !important; padding: 20px !important;}
}
@media (min-width: 1200px) {
       .cortex_team .et_pb_team_member_description {top: 79% !important;}
       .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 84% !important;}
       .cortex_team:hover .et_pb_team_member_description {top: 20px !important}
}
@media (min-width: 1300px) {
       .cortex_team .et_pb_team_member_description {top: 82% !important;}
       .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 80% !important;}
       .cortex_team:hover .et_pb_team_member_description {top: 20px !important}
}
@media (min-width: 1480px) {
       .cortex_team .et_pb_team_member_description {top: 83% !important;}
       .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 83% !important;}
       .cortex_team:hover .et_pb_team_member_description {top: 20px !important; padding: 80px 20px !important;}
       .cortex-person-carousel .cortex_team:hover .et_pb_team_member_description {top: 20px !important; padding: 50px 20px !important;}
}
@media (min-width: 1620px) {
       .cortex_team .et_pb_team_member_description {top: 84% !important;}
       .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 83% !important;}
       .cortex_team:hover .et_pb_team_member_description {top: 20px !important;}
}
@media (min-width: 1760px) {
       .cortex_team .et_pb_team_member_description {top: 85% !important;}
       .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 85% !important;}
       .cortex_team:hover .et_pb_team_member_description {top: 20px !important}
}
@media (min-width: 1920px) {
       .cortex_team .et_pb_team_member_description {top: 86% !important;}
       .cortex-person-carousel .cortex_team .et_pb_team_member_description {top: 85% !important;}
       .cortex_team:hover .et_pb_team_member_description {top: 20px !important}
    }


/*** Cortex Blurb 4 ***/
.cortex_blurb_04 img {padding: 10px!important;}
.cortex_blurb_04:hover .et_pb_blurb_description {transform: translateX(10px); transition: all .3s;}
.cortex_blurb_04 .et_pb_blurb_description {transition: all .3s;}
.cortex_blurb_04 .read_more {margin-left: -20px;opacity: 0; transition: all .3s;}
.cortex_blurb_04:hover .read_more {opacity: 1; margin-left: 0;}


/*** Cortex Testimonial Image ***/
.cortex_startup_story .et_pb_text_inner {transform: translateY(50px); opacity: 0; transition: all .2s;}
.cortex_startup_story:hover .et_pb_text_inner { opacity: 1; transform: translateY(0); transition: all .5s ease-in-out; transition-delay: .2s;}

/*** Cortex Testimonials ***/
.cortex_testimonials_grid .et_pb_testimonial:before {
    position: absolute;
    top: -15px;
    left: 10%;
    background: #f01f10;
    font-size: 50px;
    border-radius: 0px;
    content: "\07b";
    color: #fff !important;
    transition: all .3s ease;
    box-shadow: 0 5px 30px rgba(19, 47, 34, 0.15);
}

/*** Cortex Image Homepage 3 ***/
.cortex_image_01 img {transform: scale(0.5);}

/*** Cortex Team Member ***/
.cortex_person_01:hover img {transform: scale(1.1); transition: all .3s ease-in-out;}
.cortex_person_01 img {transition: all .3s ease-in-out;}
.cortex_person_01 .et_pb_social_media_follow {opacity: 0; transform: translateY(50px);}
.cortex_person_01:hover .et_pb_social_media_follow {opacity: 1; transform: translatey(0); transition: all .3s ease-in-out;}
.cortex_person_01 .et_pb_social_media_follow {transition: all .3s ease-in-out;}