/*
Theme Name: Top Five
Author: Campbell Web Works
Author URI: https://campbellwebworks.com/
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

/* Resets */
html,
nav,
header,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
  outline: 0;
}
body {
  line-height: 1;
  color: #1a1818;
  background: white;
  margin: 0px;
  overflow-x: hidden;
}
ol,
ul {
  list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: separate;
  border-spacing: 0;
}
caption,
th,
td {
  text-align: left;
  font-weight: normal;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}
blockquote,
q {
  quotes: "" "";
}

body {
    font-family: lato;
}

header a h1 {
    font-size: 27px;
    line-height: 27px;
    font-weight: 700;
    position: relative;
    text-decoration: none;
    color: #000;
}

header a {
    text-decoration: none;
    color: #000;
}

header h1 span {
    font-size: 20px;
}

.flex {
    display: flex;
}

.al-center {
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

.compare-line {
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.compare-info {
    position: relative;
    width: 20px;
	height: 20px;
}

.info {
	width: 20px;
	height: 20px;
	background: #33597f;
	color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 !important;
    font-size: 16px;
    line-height: 16px;
}

.info-box {
    position: absolute;
    left: calc(50% - 145px);
    bottom: 20px;
    width: 250px;
    background: #33597f;
    color: #fff;
    padding: 20px;
    display: none;
}

.compare-info:hover > .info-box {
    display: block;
}

.container {
    max-width: 1200px;
    margin: auto;
}

header .container {
    padding: 20px 50px;
}

.nav,
.footer-nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: #000;
    text-decoration: none;
}

.footer-nav a {
    color: #fff;
    text-decoration: none
}

section .container {
    padding: 45px 50px;
}

#home-hero {
    background: linear-gradient(90deg, #243f5a 0, #254768 50%, #33597f 100%);
    color: #fff; 
    min-height: 260px;
}

.center-text {
    text-align: center;
}

.h2 {
   font-size: 27px;
   line-height: 32px; 

}

p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
}

.mar-b-15 {
    margin-bottom: 15px;
}

.width-65 {
    width: 65%;
}

.width-35 {
    width: 35%;
}

strong {
    font-weight: 700;
}

.logo-box {
    width: 20%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.logo-box img {
    width: 100%;
}

.top-text img {
    width: 100px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.website-btn {
    width: 210px;
    height: 50px;
    border-radius: 25px;
    background: #243f5a;
    border: none;
    color: #fff;
    cursor: pointer;
}

.top-percentage {
    width: 170px !important;
    background: #fff;
    height: 170px;
    border: 1px solid #33597f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.top-percentage p {
    margin: 0;
}

.top-text {
    width: calc(100% - 170px);
    padding-right: 20px;
}

.top-item {
    box-shadow: 0 6px 7px 2px #d9d9d9; 
    border-radius: 15px;
    overflow: hidden;
}

.content-box {
    background: #f8f8f8;
    padding: 20px;
    width: 80%;
}

.width-33 {
    width: 33.33%;
}

.stars-img {
    width: 100px;
}

.bottom-box p {
    margin-bottom: 0;
    font-weight: 700;
}

.bottom-box {
    border-top: 1px solid #e7e7e7;
    margin-top: 20px;
}

.sign-up,
.features {
    border-right: 1px solid #e7e7e7;
}

.justify-center {
    justify-content: center;
}

.gap-10 {
    gap: 10px;
}

.bottom-box div {
    padding: 10px;
}

.score {
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 10px;
}

.percentage {
    font-size: 35px;
    line-height: 40px;
    font-weight: 700;
}

.check-img {
    height: 20px;
    width: auto;
}

.mb-50 {
    margin-bottom: 50px;
}

.relative {
    position: relative;
}

.neg-mt-90 {
    margin-top: -90px;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 50px;
}

.top-image {
    padding: 0 20px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-image img {
    width: 100%;
}

#ross-img {
    width: 75%;
}

.grid-item {
    box-shadow: 0 6px 7px 2px #d9d9d9; 
    background: #fff;
    border-radius: 15px;
}

.border-bottom {
    border-bottom: 1px solid #d3d3d3;
}

.web-link {
    padding: 10px 20px;
}

.grid-metric {
    padding: 10px 20px;
    text-align: center;
    line-height: 1;
}

.web-link button {
    width: 100%;
}

.grid-metric p {
    margin-bottom: 5px;
}

.percentage-metric {
    font-weight: 700;
    color: #243f5a !important;
    font-size: 30px;
}

.trend-img {
    height: 30px;
    width: auto;
}

.star-metric {
    max-width: 100px;
    width: 100%;
    height: auto;
}

.check-metric {
    height: 15px;
    width: auto;
}

.large-container {
    max-width: 1750px;
    margin: auto;
    padding: 45px 50px;
}

.contact-form input {
    width: calc(100% - 22px);
    border: 1px solid #eaeaea;
    border-radius: 2px;
    background: #fafafa;
    padding: 10px;
}

.contact-form textarea {
    width: calc(100% - 22px);
    border: 1px solid #eaeaea;
    border-radius: 2px;
    background: #fafafa;
    padding: 10px;
}

.contact-form .wpcf7-submit {
    width: 120px;
    height: 35px;
    background-color: #243f5a;
    color: #fff;
    border: none;
}

.contact-text h2 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 21px;

}

.large-container .width-65 {
    width: 62%;
}

.large-container .width-35 {
    width: 32%;
}

.page-gap {
    gap: 6%;
}

.contact-text {
    padding-top: 24px;
}

.contact-text a {
    color: #243f5a;
    font-size: 16px;
    text-decoration: none;
    line-height: 34px;
}

.legal-right h2 {
    font-size: 32px;
    line-height: 35px;
    margin-bottom: 30px;
}

.legal-right h4 {
    font-size: 32px;
    line-height: 35px;
    margin-bottom: 30px;
}

#footer-logo img {
    max-width: 100px;
    width: 100%;
}

footer {
    background-color: #33597f; 
}

footer .container {
    padding: 20px 50px;
}

.width-35 img {
    width: 100%;
}

#home-hero .width-35 {
    padding-left: 50px;
}

.website-btn:hover {
    background-color: #33597f;
}

/* Mobile Nav Animation */

#mobile-nav {
    display: none;
    margin-left: auto;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 100;
    margin-top: 6px;
    cursor: pointer;
  }
  
  .hb-line {
    width: 100%;
    background: #242424;
    height: 3px;
    margin-bottom: 5px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  
  .hb-line:not(:last-child) {
    margin-bottom: 5px;
  }
  
  .hbt1 {
    position: absolute;
    transform: rotate(45deg);
    top: 10px;
    left: 0;
  }
  
  .hbt2 {
    opacity: 0;
  }
  
  .hbt3 {
    position: absolute;
    transform: rotate(-45deg);
    top: 10px;
    right: 0;
  }
  
  #myNav {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #myNav a {
    color: #000;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    line-height: 32px;
  }

  #myNav {
    transform: translateX(-100%);
    -webkit-transition: transform 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    -ms-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    opacity: 0;
  }

.navShow {
    transform: translateX(0%) !important;
    -webkit-transition: transform 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    -ms-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    z-index: 1 !important;
    opacity: 1 !important;
  }

.thank-you h1 {
    font-size: 32px;
    line-height: 35px;
    margin-bottom: 30px;
}

#legal,
#contact {
    min-height: calc(100vh - 218px);
}

.thank-you {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.top-image .zd-circle {
	width: 80%;
	display: block;
	margin: auto;
}

@media only screen and (max-width: 768px) {
    .flex {
        flex-direction: column;
    }

    .mob-hide {
        display: none;
    }

    .bottom-box p {
        font-size: 14px;
        line-height: 16px;
    }

    .dk-nav {
        display: none;
    }

    .nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        margin-top: 20px;
        justify-content: center;
        align-items: center;
    }

    footer .container {
        padding: 20px 20px;
    }

    .logo-box {
        padding: 20px 20px 80px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: calc(100% - 40px);
    }

    .ross-logo {
        max-width: 200px;
    }

    .content-box {
        width: calc(100% - 40px);
    }

    .justify-center {
        justify-content: space-between;
    }

    .bottom-box div {
        padding: 5px 0;
    }

    .top-text h2 {
        margin-top: 20px;
    }

    .logo-box img {
        width: calc(100% - 80px);
    }

    section .container {
        padding: 45px 20px;
    }

    .top-text {
        width: 100%;
        padding-right: 0px;
        text-align: center;
    }

    .top-box {
        flex-direction: column-reverse;
    }

    .top-percentage {
        margin-top: -86px;
    }

    .width-33 {
        width: calc(100% - 40px);
        text-align: center;
        flex-direction: row;
        border-right: none;
    }

    .check-img {
        display: block;
    }

    .width-65,
    .width-35 {
        width: 100%;
    }

    header .container {
        padding: 20px 20px;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .large-container {
        padding: 45px 20px;
    }

    .large-container .width-65,
    .large-container .width-35 {
        width: 100%;
    }

    #home-hero .width-35 {
        padding-left: 0;
    }

    #mobile-nav {
        display: block;
    }

      header .flex {
        flex-direction: row;
      }

}