/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/


/* *************************** */
/* General modification */
/* *************************** */


/* *************************** */
/* Menu Customization CSS */
/* *************************** */

body .x-navbar ul.sub-menu li a {
    font-size: 18px;
}

.entry-wrap{
box-shadow:none;
-webkit-box-shadow:none;
-moz-box-shadow:none;
padding: 0px;
}
.x-navbar .desktop .x-nav > li > a {
  height: 86px;
}
.x-navbar .desktop .x-nav > li > a:hover, 
.x-navbar .desktop .x-nav > .x-active > a, 
.x-navbar .desktop .x-nav > .current-menu-item > a {
  box-shadow: 0 4px 0 0 #efefef;
}
.x-navbar {
background-color: #204d83;
}
.x-navbar .sub-menu {
    background-color: #5a6f88;
}

.x-navbar .sub-menu a:hover {
    background-color: #204d83;
}
.entry-wrap {
-webkit-box-shadow: none;
box-shadow: none;
}

.revtp-searchform input#searchsubmit, .revtp-searchform input#searchsubmit:focus {
    font-family: "Arial", sans-serif;
    line-height: 46px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    padding: 0 20px;
    border: 0;
    background: #204d83;
    color: #fff;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

/* *************************** */
/* Portfolio Page modification */
/* *************************** */

body.single-x-portfolio .entry-thumb img {
display: none;
border: none;
}

.x-portfolio .entry-info {
width: 100%;
}

.x-portfolio .entry-featured {
	border: none !important;
}

/* .x-portfolio .entry-thumb:before {
content: url("/wp-content/uploads/2016/08/none.png") !important;
} */

.x-portfolio .entry-thumb:before {
    content: none;
}

h2.entry-title.entry-title-portfolio {
font-size: 125%;
}

.portPage {
	font-size: 1.5em;
}

.page-template-template-layout-portfolio .entry-thumb {
background-color: #fff;
}

a.entry-thumb:hover img {
opacity: .9;
}

/* *************************** */
/* Post Page modification */
/* *************************** */

h1.entry-title {
	line-height: 2;
}

.x-recent-posts .x-recent-posts-img {
    padding-bottom: 125.25%;
    background: top center/cover no-repeat;
}  

.x-recent-posts .x-recent-posts-date {
    display: none;
}


/* *************************** */
/* Search Page modification */
/* *************************** */

.search-results .entry-featured {
width: 33%;
padding: 10px;
margin-top: 20px;
}


/* *************************** */
/* Remove all hover */
/* *************************** */

.x-recent-posts .x-recent-posts-img:before {
content: url("/wp-content/uploads/2016/08/none.png") !important;
}


.entry-thumb:before {
    content: "" !important;
}
.entry-thumb:before, .x-pagination span.current, .flex-direction-nav a, .flex-control-nav a:hover, .flex-control-nav a.flex-active, .mejs-time-current, .x-dropcap, .x-skill-bar .bar, .x-pricing-column.featured h2, .h-comments-title small, .x-entry-share .x-share:hover, .x-highlight, .x-recent-posts .x-recent-posts-img:after {
    background-color: transparent !important;
}

/***********************************/
/* remove attorney images on phone */
/***********************************/

@media (max-width: 480px) {
.page-template-template-layout-portfolio .entry-featured {
display: none;
}
}

/***********************************/
/* shrink to fit attorney page names */
/***********************************/

h2.entry-title.entry-title-portfolio {
    margin: 0;
    padding: 0 5%;
    font-size: 120%;
    font-weight: 400;
    line-height: 1.05;
    text-align: center;
}
