/*!
Theme Name: MaxJDempsey
Theme URI: https://www.maxjdempsey.com/
Author: Max J Dempsey
*/


html, body {
    margin: 0;
    height: 100%;
}
* {
    font-family: 'Raleway', sans-serif;

}
h1,h2,h3,h4,h5,h6,p{
    color: #252324;
}
h1{
    font-size: 42px;
}
h2{
  font-size: 36px;
}
h3{
  font-size: 32px;
}
p,a{
    font-size: 24px;
}
p{
    line-height: 1.5;
}
a{
    color: #14a76c;
    text-decoration: none;
}
a:hover{
    color: #108959;
}
.ghost-button{
    color: #252324;
    padding: 10px;
    border: 1px solid #252324;
    border-left-width: 2px;
    max-width: 100%;
    text-decoration: none;
    border-radius: 2px;
    margin-right: 20px;
    transition: background .5s, color .5s;
}
.ghost-button:hover{
    background-color: #252324;
    color: white;
    border-color: #252324;
}
.white-ghost-button{
    color: white;
    padding: 10px;
    border: 1px solid white;
    border-left-width: 2px;
    max-width: 100%;
    text-decoration: none;
    border-radius: 2px;
    margin-right: 20px;
    transition: background .5s, color .5s;
}
.white-ghost-button:hover{
    background-color: white;
    color: #252324;
    border-color: white;
}
.green-button{
    color: white;
    background-color: #14a76c;
    padding: 10px;
    border: 1px solid #14a76c;
    max-width: 100%;
    text-decoration: none;
    border-radius: 2px;
    margin-right: 20px;
    transition: background .5s, color .5s;
}
.green-button:hover{
    background-color: #108959;
    color: white;
    border-color: #108959;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.ghost-button.extra-padding, .green-button.extra-padding, .white-ghost-button.extra-padding{
    padding: 15px;
}
.container{
    margin: auto;
    width: 90%;
}
.container-half{
    margin:0px 22%;
    width: 75%;
}
    .container-half.break-965{
        margin: auto;
        width: 75%;
    }
.ghost-button.long-button, .green-button.long-button, .white-ghost-button.long-button{
        display: block;
}
.ghost-button, .green-button, .white-ghost-button{
        text-align: center;
}
@media(max-width: 550px){
    .container a{
        margin-left: 20px;
    }
}
@media(max-width:965px){
   .ghost-button, .green-button, .white-ghost-button{
        display: block;
        margin-bottom: 20px;
   }
}
@media(max-width: 768px){
    .container-half.break-768{
        margin: auto;
        width: 70%;
    }
}
@media(min-width: 550px){
    .container{
        width: 80%;
    }
}




.text-left, .text-right{
	background-color: #eeee;
}
.text-left .right-half img, .text-right .left-half img{
	width: 100%;
}
.text-right {
  display: grid;
}

@media(min-width: 965px){
	.text-left, .text-right{
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.text-left .right-half, .text-right .left-half{
		height: 100%;
		width: 100%;
		background-size: cover;
		background-repeat: no-repeat;
	}
	.text-left .right-half{
		background-image: url('img/web-design-serv.jpg');
	}
	.text-right .left-half{
		background-image: url('img/training-serv.jpg');
	}
	.text-left .right-half img, .text-right .left-half img{
		display: none;
	}
	.text-left .left-half, .text-right .right-half{
		padding: 20px 0px 60px;
	}
}

@media(max-width: 965px){
	.text-right .right-half{
		grid-row-start: 1;
	}
	.text-left .left-half{
		padding-top: 20px;
	}
}





.contact-form{
	/*display: flex;
	justify-content: center;
	width: 100%;*/
	padding-bottom: 40px;
}
.contact-form label{
	font-size: 24px;
	margin-bottom: 10px;
}
.contact-form input, .contact-form textarea{
	width: 95%;
	padding: 10px;
	font-size: 20px;
}
.container form{
	width: 80%;
	margin: auto;
}
.break-768 .wpcf7 p{
    line-height: 1.4;
    margin-bottom: -20px;
}
.wpcf7-form-control.wpcf7-submit{
        -webkit-appearance: none;
	padding: 10px;
	font-size: 24px;
	color: white;
	cursor: pointer;
        width: 85%;
	background-color: #14a76c;
        border-color: #14a76c;
        margin-bottom: 20px;
	transition: background .5s, color .5s;
}
.wpcf7-form-control.wpcf7-submit:hover{
    background-color: #108959;
    color: white;
    border-color: #108959;
}
.contact-form .wpcf7-form-control.wpcf7-submit{
    width: 98%;
}
.wpcf7-mail-sent-ok{
    border-color: white !important;
    width: 75%;
    color: white;
}
.contact-form .wpcf7-mail-sent-ok{
    color: black;
}




footer{
	background-color: #252324;
	padding: 120px 0px;
}
.footer-linke{
	border-top: 2px solid white;
	border-bottom: 2px solid white;
	padding: 40px 0px;
}
@media(max-width:965px){
	.footer-linke{
		padding: 40px 0px 30px 0px;
	}
}
.branding span, .branding span a{
	color: #eeee;
	font-size: 18px;
}
.branding{
		margin-top: 20px;
}
.footer-logo img{
	height: 100px; 
	width: 100px;
	margin-bottom: 40px;
}




.header-home{
	position: fixed;
	top:0;
	left: 0;
	width: 100%;	
	background-color: white;
	padding: 10px;
	z-index: 1001;
	box-shadow: 0px 0px 10px #252324;
}
.header-home.fixed-header.active{
	display: block;
}
.site-icon{
	float: left;
}
.site-icon img{
	height: 60px;
	width: 60px;
}
.header-home .menu ul li,.header-home .menu ul li a{
	color: #252324;
}
.header-home .menu ul li:hover,.header-home .menu ul li a:hover{
	color: #14a76c;
}
.bar{
  width: 35px;
  height: 5px;
  background-color: black;
  margin: 6px 0;
}
.header-home-initial i{
	border: solid #14a76c;
}
.header-home.fixed-header i{
	border: solid #252324;
}
.header-home-initial i, .header-home.fixed-header i{
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
}
.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}


@media(max-width: 1005px){
	.header-home-initial{
		display: none;
	}
	.menu ul{
		display: none;
		padding-top: 80px;
		margin-left: -30px;
	}
	.menu ul li, .menu ul li a{
		list-style: none;
		font-size: 24px;
		text-decoration: none;
		padding: 10px;
		text-transform: uppercase;
	}
	.menu-toggle{
		margin-top: 17px;
		float: right;
	}
	.header-home .service-list{
		margin-top: -80px;
		display:none;
	}
	.services ul{
		margin-left: 0px;
		margin-bottom: -20px;
	}
}
@media(min-width: 1005px){
	.header-home .service-list{
		border-left: 1px solid #eeee;
		border-top: 1px solid #eeee;
	}
	.menu-toggle{
		display: none;
	}
	.header-home{
		display: none;
	}
	.header-home-initial{
		position: absolute;
		top:0;
		left: 0;
		width: 100%;
	}
	.menu{
		display: flex;
		justify-content: flex-end;
	}
	.header-home-initial .menu ul li, .header-home-initial .menu ul li a{
		list-style: none;
		display: inline;
		color: #14a76c;
		text-decoration: none;
		cursor: pointer;
		font-size: 24px;
		margin-right: 10px;
		text-transform: uppercase;
		padding-bottom: 10px;
		transition: color .5s;
		position: relative;
	}
	.menu ul li a:after{
	  content: '';
	  display: block;
	  border-bottom: 2px solid #14a76c;
	  width: 0;
	  position: absolute;
	  left: 0;
	  margin-top: 5px;
	  -webkit-transition: .5s ease;
	  transition: .5s ease;
	}
	.menu ul li a:hover:after{
		width: 100%; 
	}
	.service-list{
		position: absolute;
		margin-left: 100px;
		padding: 10px;
		margin-top: 5px;
		background-color: white;
		border-radius: 5px;
		display: none;
	}
	.service-list li a{
		color: #252324 !important;
		font-size: 20px !important;
	}
	.service-list li a:after{
		border-bottom: 2px solid white !important;
	}
	.service-list li a:hover{
		color: #14a76c !important;
	}
}



.header-interior{
	position: fixed;
	top:0;
	left: 0;
	width: 100%;	
	background-color: white;
	padding: 10px;
	z-index: 1001;
	box-shadow: 0px 0px 10px #252324;
}
.site-icon{
	float: left;
}
.site-icon img{
	height: 60px;
	width: 60px;
}
.header-interior .menu ul li,.header-interior .menu ul li a{
	color: #252324;
}
.header-interior .menu ul li:hover,.header-interior .menu ul li a:hover{
	color: #14a76c;
}
.bar{
  width: 35px;
  height: 5px;
  background-color: black;
  margin: 6px 0;
}
i{
  border: solid #252324;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
}
.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

@media(max-width: 1005px){
	.menu ul{
		display: none;
		padding-top: 80px;
		margin-left: -100px;
	}
	.menu ul li, .menu ul li a{
		list-style: none;
		font-size: 24px;
		text-decoration: none;
		padding: 10px;
		text-transform: uppercase;
		margin-left: 30px;
	}
	.menu-toggle{
		margin-top: 17px;
		float: right;
	}
	.header-interior .service-list{
		margin-top: -80px;
		display:none;
	}
	.services ul{
		margin-left: 0px;
		margin-bottom: -20px;
	}
}


@media(min-width: 1005px){
	.header-interior .service-list{
		border-left: 1px solid #eeee;
		border-top: 1px solid #eeee;
	}
	.menu-toggle{
		display: none;
	}
	.menu{
		display: flex;
		justify-content: flex-end;
	}
	.menu ul li, .menu ul li a{
		list-style: none;
		display: inline;
		color: #252324;
		text-decoration: none;
		cursor: pointer;
		font-size: 24px;
		margin-right: 10px;
		text-transform: uppercase;
		padding-bottom: 10px;
		transition: color .5s;
		position: relative;
	}
	.menu ul li a:after{
	  content: '';
	  display: block;
	  border-bottom: 2px solid #14a76c;
	  width: 0;
	  position: absolute;
	  left: 0;
	  margin-top: 5px;
	  -webkit-transition: .5s ease;
	  transition: .5s ease;
	}
	.menu ul li a:hover:after{
		width: 100%; 
	}
	.service-list{
		position: absolute;
		margin-left: 100px;
		padding: 10px;
		margin-top: 5px;
		background-color: white;
		border-radius: 5px;
		display: none;
	}
	.service-list li a{
		color: #252324 !important;
		font-size: 20px !important;
	}
	.service-list li a:after{
		border-bottom: 2px solid white !important;
	}
	.service-list li a:hover{
		color: #14a76c !important;
	}
}




.home-hero-left{
    background-color: #14a76c;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-hero-right{
    background-color: #252324;
}
.home-icon{
    background: linear-gradient(to left, #252324 50%, #14a76c 50%);
}
.home-icon img{
    margin-top: 150px;
    height: 160px;
    width: 160px;
}
.about-home-block{
    background-color: #eeeeee;
    padding-top: 60px;
    padding-bottom: 100px;
}
.about-home-block p{
    margin-bottom: 60px;
}
.home-portfolio{
    padding-top: 60px;
    padding-bottom: 10px;
}
.portfolio-item{
    width:100%;
    padding-top: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.center-background{
    background-position: center;
}
.portfolio-description{
    height: 100%;
    width: 100%;
    /*background-color: rgba(37, 35, 36, .5);*/
    position: absolute;
    top: 0;
    left: 0;
    transition: background .5s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-description.odd:hover{
    background-color: rgba(37, 35, 36, .99);
}
.portfolio-description.even:hover{
    background-color: rgba(20, 167, 108, .99);
}
.portfolio-description:hover h3{
    display: block;
}
.portfolio-description h3{
    color: white;
    align-items: center;
    padding-bottom: 10px;
}
    .portfolio-description:after{
      content: '';
      display: block;
      border-bottom: 2px solid white;
      width: 0;
      position: absolute;
      left: 0;
      -webkit-transition: .5s ease;
      transition: .5s ease;
      margin-top: 25px;
    }
    .portfolio-description:hover:after{
        width: 80%; 
        margin-left: 10%;
    }
.portfolio{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 20px;
    grid-column-gap: 7px;
    grid-row-gap: 7px;
    width: 99%;
    margin: auto;
}
.home-contact{
    background-image: url('img/home-contact.png');
    background-size: cover;
    background-repeat: no-repeat;
}
.home-contact-left p, .home-contact-left h3{
    color: white;
}
.home-contact-right{
    background-color: rgba(37, 35, 36, .7);
}
.home-contact-right, .home-contact-left{
    padding: 60px 0px;
}
.home-contact-right label{
    color: white;
    font-size: 24px;
    margin-bottom: 10PX;
}
.home-contact-right input{
    width:80%;
    padding:10px;
    margin-bottom: 10px;
}
.home-contact-right textarea{
    width:81%;
    margin-bottom: 20px;
    padding:10px;
}
.home-contact-right .submit{
    background-color: #14a76c;
    border-color: #14a76c;
    color: white;
    font-size: 24px;
    width: 85%;
    cursor: pointer;
    transition: background .5s;
}
.home-contact-right .submit:hover{
    background-color: #108959;
    border-color: #108959;
}
@media(min-width:965px){
    .portfolio{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .home-contact{
        background-attachment: fixed;
    }
}
@media(min-width:768px){
    .home-hero{
        display: grid;
        grid-template-columns: 1fr .25fr 1fr;
    }
    .home-hero-right{
        padding-top: 300px
    }
    .portfolio-description h3{
        display: none;
    }
    .home-contact{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .home-contact-left{
        display: flex;
        align-items: center;
    }
}
@media(max-width: 550px){
    .portfolio-description h3{
        margin-left: 10px;
        font-size: 24px;
    }
}
@media(max-width:768px){
    .home-icon{
    display: none;
    }
    .home-hero-left{
        padding-bottom: 50px;
        padding-top: 100px;
    }
    .portfolio-description{
        background-color: rgba(37, 35, 36, .5);
    }
    form{
        display: grid;
        align-items: center;
    }
}
   .home-icon img{
        margin-left: 3px;
   } 
@media(min-width: 1700px){
   .home-icon img{
        margin-left: 20px;
   } 
}
@media(min-width: 1900px){
   .home-icon img{
        margin-left: 30px;
   } 
}





.interior-hero{
	padding:150px 0px 100px 0px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.interior-hero h2{
	color: white;
}




@media(min-width: 965px){
	.services-block{
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 85%; 
		margin: auto;
	}
	.services-block ul li{
		font-size: 20px;
	}
}
@media(max-width: 965px){
	.service-container{
		display: flex;
		justify-content: center;
	}
}
.services-block ul{
	margin-top: -20px;
	margin-left: -20px;
}
.gray-background{
	background-color: #eeeeee;
}
.services-block h3{
	text-decoration: underline;
	margin-left:10px;
}
.services-block ul li{
	margin-bottom: 10px;
}
.my-topics li{
	
	font-size: 26px;
	float: left;
}
@media(min-width: 768px){
	.my-topics{
		display: flex;
		justify-content: space-around;
	}
	.my-topics li.dot{
		font-size: 20px;
	}
        .my-topics li{
                list-style: none;
        }
}
@media(max-width: 768px){
	.my-topics li.dot{
		display: none;
	}
	.my-topics{
		display: grid;
		grid-template-columns: 1fr;
	}
	.my-topics li{
		margin-bottom: 30px;
	}
}