/*
Theme Name: Creative A Child theme
Description: Child theme for Creative Asset - Parent Theme
Version: 1.0.1
Author: Creative Asset
Template: creativea
*/

/*--------------------------------------------------------------
# Brand colours
CORE

# Fonts
- font-family:

--------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6, a, li, body, p {
	font-family: source-sans-pro, sans-serif;
}


h1 {
    font-weight: 600;
    font-size: 4.5rem;
    line-height: 5rem;
}

.sub h2 {
    font-size: 3rem;
    letter-spacing: 0.15rem;
}

h2 {
    font-size: 35px;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    font-size: 1.3rem;
    letter-spacing: 0.01rem;
}

.featured-text-heading h3 {
    font-size: 2.8rem;
}

.fixed {
	position: fixed;
}


/*Text*/

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.bold {
    font-weight: 600;
}

.uppercase {
    text-transform: uppercase;
}

.small-text p {
    font-size: 14px;
}


/*Menu*/

.main-menu a {
    font-weight: 600;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
}

/*Colours*/

.black, .black a, .black a:visited, .black a:hover {
    color: black !important;
}

.white, .white a, .white a:visited, .white a:hover {
    color: white !important;
}

.light-blue, .light-blue a, .light-blue a:hover, .light-blue a:visited {
    color: #6cb2c6 !important;
}

.grey, .grey a, .grey a:hover, .grey a:visited {
    color: #898989 !important;
}

.blue, .blue a, .blue a:hover, .blue a:visited {
    color: #026ea1 !important;
}

/*Search*/

.search-field {
    width: 40rem;
    padding: 1rem !important;
    border-radius: 1rem !important;
}

.search-submit {
    background-color: #026ea1;
    color: white;
    width: 3rem;
    border: none;
    border-radius: 1rem;
    padding: 1.1rem;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.ca-tile * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ca-tile {
    background-size: cover !important;
    width: 560px;
    height: 400px;
}

.businesses {
    background: url(https://www.metispeople.co.uk/wp-content/uploads/2019/08/metispeople-recruitment-surrey-businesses.jpg);
}

.candidates {
    background: url(https://www.metispeople.co.uk/wp-content/uploads/2019/08/metispeople-recruitment-engineers-candidates-surrey-uk.jpg);
}

.ca-tile .overlay {
    background: rgba(255,255,255,.85);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: .3s;
    position: relative;
}

.ca-tile .overlay a {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    font-size: 0;
}

.ca-tile h1 {
    font-size: 65px;
    text-transform: uppercase;
    color: #000;
    transition: .3s;
    line-height: .8em;
    margin-bottom: 30px;
}

.ca-tile h1 span {
    font-size: 20px;
    color: #0b6fa1;
    letter-spacing: 2px;
}

.ca-tile .icons {
    display: flex;
    flex-direction: column;
    height: 128px;
    overflow: hidden;
}

.ca-tile .icons img {
    transition: .3s;
}

.ca-tile:hover .overlay {
  background: rgba(36,33,35,.7);
}

.ca-tile:hover h1 {
  color: #fff;
}

.ca-tile:hover .icons img {
  transform: translateY(-128px);
}


/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/


@media only screen and (max-width : 1227px) {
    .main-menu a {
        font-size: 15.5px;
    }
}

@media only screen and (max-width : 1209px) {
    .main-menu a {
       padding: 5px !important;
    }
}

@media only screen and (max-width : 1139px) {
    .main-menu a {
       font-size: 14.5px;
    }
}

@media only screen and (max-width : 1100px) {
    .main-menu a {
       padding: 3px !important;
    }
}

@media only screen and (max-width : 1072px) {
    .main-menu a {
       padding: 2px !important;
    }
}

@media only screen and (max-width : 1057px) {
    .main-menu a {
       font-size: 14px;
    }
}

@media only screen and (max-width : 1038px) {
    .main-menu a {
       padding: 1px !important;
    }
}

@media only screen and (max-width : 1026px) {
    .main-menu a {
        padding-left: 0px !important;
    }
}

@media only screen and (max-width : 1016px) {
    .main-menu a {
        padding: 0px !important;
    }
}

@media only screen and (max-width : 1016px) {
    .main-menu  {
        text-align: right;
    }
}


@media only screen and (max-width : 1103px) {
    .ca-tile {
        width: 460px;
        object-fit: cover !important;
    }
}

@media only screen and (max-width : 872px) {
    
    .title-heading h1 {
        font-size: 50px;
        line-height: 1.2em;
    }
    
    .sub h3 {
        font-size: 30px;
    }
    

    .ca-tile h1 {
        font-size: 50px;
    }
}

@media only screen and (max-width : 917px) {
    .ca-tile {
        width: 400px;
    }
}

@media only screen and (max-width : 833px) {
    .ca-tile {
        width: 380px;
    }
}


@media only screen and (max-width : 807px) {
    .ca-tile {
        width: 350px;
    }
    
    .ca-tile h1 {
        font-size: 40px;
    }

}


@media only screen and (max-width : 768px) {
   .main-menu a, .main-menu {
       text-align: center !important;
       align-items: center;
   }
   
   .phone-heading {
       text-align: center !important;
       margin-bottom: 5px;
    }
}


@media only screen and (max-width : 500px) {
    .title-heading h1 {
        font-size:  40px;
    }
    
    .sub h3 {
        font-size: 20px;
    }
}

