/*
Theme Name: Job Guide 2019
Author: Alexander Trejo
Description: Custom theme for The Job Guide
Version: 1.0
*/


body{
  margin: 0;
  padding: 0;
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
  color: #000;
  background-color: #ffffff;
  font-size: 1rem;
}

*             { outline: 0; box-sizing: border-box; }
img           { border: 0; }
a             { text-decoration: none; }
.full-width   { float: left; width: 100%; }
.half         { float: left; width: 50%; }
.hidden       { display:none; }
.nobr         { white-space:nowrap !important; }
.a-left       { text-align:left !important; }
.a-center     { text-align:center !important; }
.a-right      { text-align:right !important; }
.v-top        { vertical-align:top; }
.v-middle     { vertical-align:middle; }
.left         { float:left !important; }
.right        { float:right !important; }
.no-margin    { margin: 0; }
.no-padding   { padding: 0; }
.no-pad-mar   { padding: 0; margin: 0; }
.no-bg        { background:none !important; }
.img-resp     { max-width: 100%; height: auto; }
.img-full     { width: 100%; height: auto; }
.relative     { position: relative; }
.table        { display: table; }
.table-row    { display: table-row; }
.table-cell   { display: table-cell; float: none;}
.inline       { display: inline; }
.no-visible	  { visibility: hidden; }

.full-height {
    float: left;
    position: relative;
    width: 100%;
    height: 100vh;
}

.flex         { display: flex; }
.flex-column  { flex-direction: column; }
.flex-rcolumn { flex-direction: column-reverse; }
.flex-row     { flex-direction: row; }
.flex-rrow    { flex-direction: row-reverse; }
.flex-a-center{ align-items: center; }
.flex-a-end   { align-items: flex-end; }
.flex-a-start { align-items: flex-start; }
.flex-wrap    { flex-wrap: wrap; }
.flex-no-wrap { flex-wrap: nowrap; }
.flex-j-start { justify-content: flex-start; }
.flex-j-end   { justify-content: flex-end; }
.flex-j-center{ justify-content: center; }
.flex-j-between  { justify-content: space-between; }
.flex-j-around   { justify-content: space-around; }
.flex-j-evenly   { justify-content: space-evenly; }
.flex-self-start { align-self: flex-start; }
.flex-self-end   { align-self: flex-end; }
.flex-self-center{ align-self: center; }

button,
html [type=button],
input[type="text"],
input[type="submit"],
input[type="email"],
select,
textarea { -webkit-appearance: none; border-radius: 0; }

.container { max-width: 1660px; }
.full-container { max-width: 100%; padding: 0; }

/* Common */
h1 { font-weight: bold; text-align: center; }
h3 { font-size: 1.5rem; }
body.archive h3 a {color: #000; }
body.archive h3 a:hover {color: #000; }
#searchsubmit,
.btn-primary { background-color: #c10e22;  border: 1px solid #c10e22; transition: all 0.2s ease; color: #fff; }
#searchsubmit:hover,
.btn-primary:hover { background: #fff; color: #c10e22;  border: 1px solid #c10e22; }
.red { color: #ff0000; }

.pdb-20 { padding-bottom: 20px; }
.pdb-40 { padding-bottom: 40px; }
.pdt-40 { padding-top: 40px; }

.details { display: inline-block; background-color: #c10e22; border: 1px solid #c10e22; color: #fff; border-radius: 3px; padding: 2px 5px; transition: all 0.2s ease; }
.details:hover { color: #c10e22; background-color: #fff; text-decoration: none; }
#header-icons { text-align: right; }

#content-wrapper img { max-width: 100%; height: auto; }

.paginate-links { text-align: center; margin-bottom: 5px; }
.paginate-links .page-numbers:not(.current):not(.dots) { 	display: inline-block;
	padding: 5px 14px;
	background-color: #fff;
	border-radius: 0;
	box-shadow: 0 5px 5px 0 rgba(0,0,0,0.2),0 5px 10px 0 rgba(0,0,0,0.19);
  }
.paginate-links .page-numbers:not(.current):not(.dots):hover { background-color: #e9e9e9; text-decoration: none; }

/*
 Sidebar overwrites
*/
.sidr {
  background: #939598;
  color: #fff;
  text-transform: uppercase;
  box-shadow: none;
  font-family: Hind;
  width: 310px;
}

.sidr.right { right: -310px; }

.sidr ul li:hover > a,
.sidr ul li:hover > span, .sidr ul li.active > a,
.sidr ul li.active > span, .sidr ul li.sidr-class-active > a,
.sidr ul li.sidr-class-active > span {
  box-shadow: none;
  color: #000000;
}

.sidr ul li:hover, .sidr ul li.active, .sidr ul li.sidr-class-active {
  border-top: 1px solid #a3a5a7;
  line-height: inherit;
}

.sidr ul {
  border-top: 0;
  border-bottom: 0;
}

.sidr ul li {
  border-top: 1px solid #a3a5a7;
  border-bottom: 0;
  line-height: inherit;
}

.sidr ul li a, .sidr ul li span {
  padding: 20px;
  font-weight: bold;
}

#close-menu-wrap{
  padding: 20px 25px;
  text-align: right;
}


#close-menu {
  color: #dcddde;
  font-size: 18px;
  display: inline-block;
  border: 1px solid #dcddde;
  padding: 2px;
  border-radius: 50%;
  text-align: center; 
}

#close-menu:hover { color: #ffffff; border: 1px solid #ffffff; }

#close-menu i.fa { line-height: 40px; height: 40px; width: 40px; padding: 0; }

/* Header Styles */
#logo-row { padding: 1rem 0; }
#header-social { margin: 0; padding: 0; list-style: none; }
#header-social li { display: inline; padding: 0 4px; }
#header-social li a { color: #c10e22; }

#right-menu { border: 1px solid #c10e22; padding: 4px 10px; color: #c10e22; font-size: 1.2rem; font-weight: bold; margin-top: 5px; display: inline-block; }
#right-menu:hover { text-decoration: none; }

.sidr.right {
    right: -310px;
}

#mc-embedded-subscribe-form #mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%; margin: 0 5%; clear: both;}
#mc-embedded-subscribe-form div.response {margin:1em 0; padding: .5em; float:left; top:-1.5em; z-index:1; width:100%; color: #000; }
#mc-embedded-subscribe-form #mce-error-response {display:none; border: 1px solid #f00; background-color: rgba(255,255,255,0.9); }
#mc-embedded-subscribe-form #mce-success-response {color:#529214; display:none; border: 1px solid #007bff; background-color: rgba(255,255,255,0.9); }
#mc-embedded-subscribe-form label.error {display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;}

/* Home page */
#home-form { background-position: center center; background-size: cover; padding: 15rem 0; position: relative; color: #fff; }
#home-form::before{
  content: '';
  display: inline-block;
  background-color: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#home-form-container { max-width: 980px; }
#home-form-container a { color: #fff; text-decoration: underline; }
#home-form-container .btn-primary { width: 100%; background-color: #c10e22; border: 2px solid #c10e22;; font-weight: bold; transition: all 0.2s ease; }
#home-form-container .btn-primary:hover { background-color: #fff; color: #c10e22; border: 2px solid #c10e22; }
#home-form-container input { border-radius: .25rem; }
#home-form form { margin: 1rem 0; }

#home-red-bar { padding: 1rem; background-color: #c10e22; text-align: center; }
#home-red-bar .container { margin-top: -4rem; }
#home-red-bar img { border: 6px solid #fff; border-radius: 50%; }
#home-red-bar a { color: #fff; }
#home-red-bar a h3 { font-weight: bold; margin-top: 1rem; }

#main {  padding: 4rem 8rem; }
.job-logo {
	text-align: center;
	border: 1px solid #d0d0d0;
}

#home-latest-jobs h3 a {color: #000; }
#home-latest-jobs h3 a:hover {color: #000; }

/* Companies page */
#company-list .col-md-4 { margin-bottom: 30px; }
.company-wrap { border: 1px solid #d0d0d0; height: 100%; padding: 15px 15px 45px 15px; position: relative; }
.company-desc { width: 100%; clear: both; }
.company-wrap a { color: #000; }
.company-more-info {
	width: 100%;
	text-align: center;
	font-weight: bold;
	padding: 10px;
	border-top: 1px solid #d0d0d0;
	text-transform: uppercase;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Blogs page */
body.blog h3 a {color: #000; }
body.blog h3 a:hover {color: #000; }
.heateorSssSharingRound i { background-color: #c10e22; }
.heateorSssSharingRound:hover i { opacity: 0.7; }

/*Single Company */
body.single-companies #main { background: #f5f5f5; }
.profile-photo {
	border: 1px solid #D7D7E4;
	background-color: #fff;
	width: 100%;
}
.profile-photo .photo-wrapper {
	height: 150px;
	width: 300px;
	text-align: center;
	line-height: 150px;
}
.profile-photo .photo-wrapper {
	background-color: #fff;
	border: 1px solid #642891;
	display: inline-block;
	max-width: 25%;
	max-height: 150px;
	margin-left: 15px;
	margin-top: -5%;
	position: relative;
	z-index: 50;
	float: left;
}
.profile-photo .photo-wrapper img {
  max-height: 100%;
  max-width: 100%;
  padding: 10px;
}
.profile-photo .company {
	display: inline-block;
	vertical-align: bottom;
	margin-bottom: 20px;
	padding-left: 10px;
	margin-top: -10px;
	margin-left: 5px;
	margin-right: 5px;
}

body.single-companies .field-name-body { border: 1px solid #D7D7E4; background: #fff; margin-top: 15px; }
body.single-companies .field-name-body .field-content { padding: 10px; }
body.single-companies #main h2 { border-bottom: 1px solid #D7D7E4; padding: 10px; color: #4E5B7C; font-size: 1.2em; margin: 5px 0; }
body.single-companies .company-jobs { margin-top: 20px; border: 1px solid #D7D7E4; background: #fff; }
.company-job-container { padding: 20px; }
.company-job-title a { font-size: 1.2em; color: #c10f22; }
.company-side-block { margin-top: 15px; border: 1px solid #D7D7E4; background: #fff; }
.company-side-content { padding: 10px; }
.company-job-item { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #d7d7e4; }
.company-job-item:last-child { border-bottom: none; }
#company-social a { display: inline-block; margin: 0 5px; font-size: 23px; color: #c10e22; }
.fa { width: 36px; height: 36px; padding: 4px; line-height: 1.2; }
#company-social a:hover .fa { background-color:#b0b0b0; }
.company-url a { font-size: 0.6em; color: #c10f22; text-decoration: none; }
.company-url a:hover { text-decoration: underline; }
.company_name { font-size: 29px; }

/* Single Resource */
body.single-resources #main { background: #f5f5f5; }
body.single-resources .field-name-body { border: 1px solid #D7D7E4; background: #fff; margin-top: 15px; }
body.single-resources .field-name-body .field-content { padding: 10px; }
body.single-resources #main h2 { border-bottom: 1px solid #D7D7E4; padding: 10px; color: #4E5B7C; font-size: 1.2em; margin: 5px 0; }

/* Single Education */
body.single-education #main { background: #f5f5f5; }
body.single-education .field-name-body { border: 1px solid #D7D7E4; background: #fff; margin-top: 15px; }
body.single-education .field-name-body .field-content { padding: 10px; }
body.single-education #main h2 { border-bottom: 1px solid #D7D7E4; padding: 10px; color: #4E5B7C; font-size: 1.2em; margin: 5px 0; }

/* Single Bussiness */
body.single-business #main { background: #f5f5f5; }
body.single-business .field-name-body { border: 1px solid #D7D7E4; background: #fff; margin-top: 15px; }
body.single-business .field-name-body .field-content { padding: 10px; }
body.single-business #main h2 { border-bottom: 1px solid #D7D7E4; padding: 10px; color: #4E5B7C; font-size: 1.2em; margin: 5px 0; }

/* Single Post */
body.single-post #main { background: #f5f5f5; }
body.single-post #main > .container { background: #ffffff; padding: 20px; }
body.single-post .submitted {
	float: left;
	width: 100%;
	margin-bottom: 15px;
	margin-left: -20px;
}
body.single-post .submitted > span {
	background-color: #c10f22;
	color: #fff;
	display: inline-block;
	margin: 0;
	padding: 5px 15px;
	text-transform: uppercase;
}

/* Payment page */
.wpep-button-submit { display: inline-block; background-color: #c10e22; border: 1px solid #c10e22; color: #fff; border-radius: 3px; padding: 3px 10px; margin-top: 30px; transition: all 0.2s ease; }
.wpep-button-submit:hover { color: #c10e22; background-color: #fff; text-decoration: none; }
.wpep-amount {
	border: 1px solid #c0c0c0;
	padding: 4px;
	border-radius: 3px;
}

/* Events page */
.event-row { float: left; width: 100%;  padding: 20px 0; }
.event-date { float: left; width: 10%; }
.event-date span.event-d-wrapper { background: #e8ecec; text-align: center; font-size: 2em; width: 55%; display: block; line-height: 0.8em; padding-bottom: 10px; }
.event-date span.event-d-wrapper span { text-transform: uppercase; font-size: 0.5em; }
.event-content { float: left; width: 90%; }
.event-content h2 { margin-top: 0; font-weight: 400; text-transform: uppercase; }
.event-content h2 a { color: #0780bf; }
.event-content h2 a:hover { color: #c10f22; text-decoration: none; }
body.single-events h1 { text-align: left; }

/* Jobs page */
.job-list-item {
	padding-bottom: 40px;
	border-bottom: 1px solid #c0c0c0;
	margin-bottom: 40px;
}

/* Footer */
footer { background-color: #c10e22; color: #fff; padding: 1rem 0; }
footer a { color: #fff; text-decoration: underline; }
footer a:hover { color: #fff; text-decoration: none; }
#footer-social { margin: 0 0 1rem 0; padding: 0; list-style: none; }
#footer-social li { display: inline; padding: 0 0.5rem; }
#footer-social li a { color: #fff; tex-decoration: none; } 

@media screen and (max-width: 992px){
  h1 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  #main { padding: 0.5rem; }
  #home-form { padding: 5rem 0; }
  #home-form-container input { margin-bottom: 15px; }
  .home-latest-jobs-content { margin-bottom: 30px; }
  
  #company-list .col-md-4 { margin-bottom: 30px; }

  #header-icons { text-align: center; }
  
  .event-date { display: none; }
  .event-content { width: 100%; }
  
  .paginate-links .prev { font-size: 0; }
  .paginate-links .prev::after { content: '\00ab'; font-size: 1rem; }
  .paginate-links .next { font-size: 0; }
  .paginate-links .next::after { content: '\00bb'; font-size: 1rem; }
}