/*
* network.CSS
********************************************************************************
    Elements are ordered as they appear on page, then media queries
***************************************************************************** */
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu,
nav, section {
    display: block;
}

body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-y: scroll;
    color: #000 !important;
}

a {
    font-style: normal;
    text-decoration: none;
    font-weight: bold;
    color: #2F7490;
}

.frame-link {
    position:absolute; 
    width:100%;
    height:100%;
    top:0;
    left: 0;
    z-index: 1;
}

button {
    border:none;
    cursor: pointer;
    color: white;
    padding: 15px 40px;
    border-radius: 0px;
    font-size: 22px;
    font-family: 'Arial', sans-serif;
    position: relative;
    overflow: hidden;
}

input {
    border:1px solid hsla(0, 0%, 75%, 1);
    border-radius: 4px;
    font-size: 1.2em;
    padding:5px;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}
/* -------------------------------------------------------------------------- */
/* Ribbon - SIGN UP HERE! */
.wrapper-ribbon {
    display: block;
}

/* Header styling */

.pay-nav {
    height: 14px;
    background-color: #3596b0;
    border-bottom: solid 4px #f9be34;
}

.pay-header {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

/* THE ORIGINAL YP NETWORK HEADER PART */
.pay-header h1 {
    font-size: 1.1rem;
}
/* Header styling */

.pay-nav {
    height: 14px;
    background-color: #3596b0;
    border-bottom: solid 4px #f9be34;
}

.pay-header {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

/* THE ORIGINAL YP NETWORK HEADER PART */
.pay-header h1 {
    font-size: 1.1rem;
}

.container-ribbon {
    display: block;
    position: absolute;
    z-index: 999;
    top: 0%;
    right: 4%;
    padding: .5rem .5rem;
    background-color: #3596b0;
    border: 1px solid #00000038;
    border-radius: 3px;
    color: white !important;

    /* padding-top: 10px;
    padding-bottom: 10px; */
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 13.6px;
    margin-top: 24px;
}

.ribbon-text {
    display: block;
    font-size: .7em;
    line-height: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    /* margin-bottom: 8px; */
}
.container-ribbon:hover {
    background-color: hsl(193, 58%, 37%);
}

@keyframes container-ribbon {
    from {
        transform: scale(1); /* Correct property name to transform, and use parentheses for scale value */
    }

    to {
        transform: scale(1.15);
    }
}

/* .container-ribbon:nth-child(1) {
    padding-top: 10px;
    padding-bottom: 10px;
} */

/* Page Content */
.network-column {
    position: relative;
}

.network-topsection {
    background-image: linear-gradient(#AEE0EA, #FFF, #FFF, #FFF, #FFF);
}

.network-title {
    font-weight: 900;
    font-size: 4vw;
    line-height: normal;
    margin-bottom: 25px;
}

.network-topbanner {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    overflow: hidden;
    position: relative;
    width: 90%;
    padding-top: 25px;
    margin-left: 0;
    margin-right: auto;
}

.network-topbanner-logo {
    height: auto;
    max-width: 150px;
    max-height: 150px;
    margin: auto;
}

.network-topbanner-sidebar {
    text-align: center;
    margin: auto;
    margin-left: 0;
}

.network-topbanner-title {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 3vw;
    font-weight: 900;
    line-height: normal;
    color: #111;
    text-transform: uppercase;
    margin: 0;
}

.signup-summary-section, .el-section, .fl-examples, .about-us-section {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Container for network visitors blurb & site icons */
.container-network-promotional {
    margin: auto;
    padding: 0;
}

.network-stat-display {
    display:grid;
    grid-template-columns: repeat(2, 0.5fr);
    text-align:center;
    margin: 1% 10% 4%;
}
.network-stat-display img {
    margin: auto;
    width: 80%;
    height: auto;
}
.leaderboard {
    margin-top: 1vw !important;
    margin-bottom: 1vw !important;
}

/* Network Total Visitors blurb - X visitors ... */
.container-network-visitors {
    margin: 2% 0;
    padding: 1% 18% 1% 0;
    color: #000;
}

.network-visitors-title {
    font-size: 1.8em;
    font-weight: bold;
    margin: 0px;
    line-height: 50px;
}

.network-updatedDaily {
    font-size: 12px;
    font-style: italic;
}

.network-visitors-subtitle {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
    line-height:50px;
}

.network-icon-container {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 20px;

}

.networkitem {
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    display: inline-block;
    text-align: center;
    vertical-align: bottom;
    width: 90%;
    height: auto;
    font-size: 70%;
    transition: 0.6s;
}

.network-details {
    position: absolute;
    top: 50%;
    transform: translateY(10%);
    margin: auto;
    width: 40vw;
}

.network-site-links {
    display: grid;
    grid-template-columns: repeat(6, 0.16fr);
    grid-gap: 50px;
    margin: 0 10%;
}

.network-tagline {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-style: italic;
    font-size: 1.75em;
    font-weight: 600;
    padding: 0 7vw;
    margin: 1% 0;
    line-height: 1.3em;
    color: #000;
}

/* TOYP Network Website Icons */
#SiteIcons {
    width: 110%;
    margin-left: -5%;
}

.networklink {
    display: grid;
    grid-template-rows: 0.8fr 0.2fr;
    max-width: 100%;
    margin-top: 10px;
}

.networklink>p {
  margin-top: 10px;
  font-size: 16px;
}

.networkitem:hover {
    width: 115%;
    margin-left: -9%;
    margin-top: -8%;
}
.networkitem-active {
    width: 115%;
    margin-left: -9%;
    margin-top: -8%;
}

.networklabel {
    line-height: 120px;
    vertical-align: bottom;
}

.sampleimage {
    width:424px;
    height:264px;
    margin-top : 1%;
    margin-bottom: 1%;
}

.network-icon-container {
    position: relative;
    display: block;
    margin: 0 auto 2vw;
}

.network-site-links {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-gap: 3vw;
    margin: 0 10%;
}

/* Benefit Icons for Signing Up */
.benefit {
    display: grid;
    grid-template-rows: 0.8fr 0.2fr;
}

.benefit .networkitem {
    max-width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio */
 }
 
.benefit .item-1, .benefit .item-2, .benefit .item-3, .benefit .item-4, .benefit .item-5, .benefit .item-6 {
    width: inherit;
    max-width: 100%;
}

/* Benefit 1 - SEO Exposure */
.benefit .item-1 {
    background-image: url('/images/ournetwork/benefits/seoexposure.png');
}
/* Benefit 2 - One Low Rate */
.benefit .item-2 {
    background-image: url('/images/ournetwork/benefits/onelowrate.png');
}
/* Benefit 3 - Custom Advertisement */
.benefit .item-3 {
    background-image: url('/images/ournetwork/benefits/customadvertisement.png');
}
/* Benefit 4 - Priority Placement */
.benefit .item-4 {
    background-image: url('/images/ournetwork/benefits/priorityplacement.png');
}
/* Benefit 5 - Performance Report */
.benefit .item-5 {
    background-image: url('/images/ournetwork/benefits/performancereport.png');
}
/* Benefit 6 - Contract Free */
.benefit .item-6 {
    background-image: url('/images/ournetwork/benefits/contractfree.png');
}

.benefit-summary {
    margin-top: 10px;
    font-size: 14px;
}

/* "Your Listing Includes" section */
.advertise-title {
    margin: 2.8vw 0 20px;
    font-size: 2.25vw;
    font-weight: bold;
}

/* sample header; "⇓ Click to Enhanced Listing Live ⇓" */
.sampleheader {
    margin: 1.4%;
    padding: 0;
    display: inline;
    line-height: 20px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #000;
}

.detail-example {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1vw;
}
.detail-example img {
    border: 2px solid #ccc;
    position: relative;
}

/* Example Listing (el) */
.el-section {
    padding: 0 2%;
}

.el-summary {
    background-color: rgb(255, 249, 129);
    padding: 2% 8% 8% 8%;
    margin-top: 4%;
    border-radius: 5px;
    min-height: 310px;
    font-weight: bold;
}

.el-summary h2 {
    font-size: 22px;
    font-weight: 900;
    text-decoration: underline;
    color: #000;
}

.el-summary ul {
    clear: both;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 0;
    padding: 0 8%;
    list-style-type: disc;
}

.performancereport-example ul {
    padding-top: 3%;
}

.el-summary ul li {
    margin-top: auto;
    margin-bottom: auto;
    font-size: 21px;
    text-align: left;
    padding: 2% 0;
    line-height: normal;
}

.el-summary ul li:last-of-type {
    padding-bottom: 0;
}

.el-summary p {
    line-height: 1.8;
    padding-top: 3%;
    font-size: 21px;
    text-align: left;
}

/* Example Listing + Detailed Benefits | Two column */
.network-examples {
    display: grid;
    padding: 1vw;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2vw;
}

.network-examples h3 {
    font-size: 70%;
    margin: 1.4% 0;
}

/* Featured Listings (fl) section (Leaderboard, triple standard, leaderboard) */
.fl-examples {
    margin: 3% auto;
}

.fl-examples .leaderboard:not(:first-of-type) {
    margin: 5% 0;
}

.fl-examples h3 {
    font-size: 70%;
    margin: 1.4% 0 0;
}

/* Three fl standards in one row */
.fl-network-wrap-triple {
    display: grid;
	grid-template-columns: repeat(3, 0.33fr);
    align-items: center;
    gap: 3%;
    margin: 2% auto;
}

.fl-network-wrap-triple .standard {	margin: 0; }

/* "SIGN UP NOW!" button */
.signupbutton {
    display: inline-block;
    width: 37%;
    max-width: 320px;
    margin: 2%;
    margin-top: 0;
    padding: 0.5em 1em;
    border-radius: 5px;

    font-size: 2em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;

    /*background-color: rgb(219, 7, 78);*/
    background-color: #fff200;
    border: 2px solid #000000;
    color: #000;
    /*box-shadow: 0px 3px 5px #555;*/
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.4);
}
.signupbutton::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    right: 100%;
    bottom: 0;
}
.signupbutton::after {
    /*content: "";*/
    /*display: inline-block;*/
    /*!*background-image: url("/images/signup/109617.png");*! !* the arrow *!*/
    /*position: absolute;*/
    /*top: 0;*/
    /*left: calc(100% - 3em);*/
    /*right: 3em;*/
    /*bottom: 0;*/
    /*background-size: 1.5em;*/
    /*background-repeat: no-repeat;*/
    /*background-position: center;*/
    /*transition: right 0.3s cubic-bezier(0.1, 0, 0.1, 1);*/
}
.signupbutton:hover {
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.6);
    transform: scale(1.05);
    transition: 0.15s ease-in-out;
    background-color: #fff100;
}
.signupbutton:hover::before {
  left: calc(100% - 3em);
  right: 0;
  transition: 0.3s cubic-bezier(0.1, 0, 0.1, 1), left 0.3s 0.2s cubic-bezier(0.1, 0, 0.1, 1);
  animation-iteration-count: 1;
}
.signupbutton:hover::after {
  right: 0;
  transition: right 0.3s 0.2s cubic-bezier(0.1, 0, 0.1, 1);
  animation-iteration-count: 1;
}

/* "More about us ..." Section */
.about-us-section {
    text-align: left;
    margin: 0 auto 5%;
    padding-bottom: 40px;
}
.about-us-title {
    margin-bottom: 20px;
    color: #000;
    line-height: normal;
}
.about-us-section p {
    margin: 20px 0;
    font-weight: 600;
}

.about-us-signup:hover {
    color: darkgoldenrod;
    transition: 0.3s ease-in-out;
}

/* ID-Based Elements */
#BenefitIcons {
    margin-top: 5vh;
}

#mainParagraph, #signupForm {
    position: relative;
    display: block;
}

/* ========================================================================== */
/* Animations */
/* ========================================================================== */
button:active, button:hover{
    box-shadow: -4px -4px 0px 0px hsla(42deg, 94%, 59%, 0);
}

/* --- Wiggle --- */
@-webkit-keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }
   80% {
       transform: rotate(0deg);
   }
   85% {
       transform: rotate(15deg);
   }
   95% {
       transform: rotate(-15deg);
   }
  100% {
      transform: rotate(0deg);
  }
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }
   80% {
       transform: rotate(0deg);
   }
   85% {
       transform: rotate(15deg);
   }
   95% {
       transform: rotate(-15deg);
   }
  100% {
      transform: rotate(0deg);
  }
}

.wiggle {
	-webkit-animation: ease-out none;
	animation: ease-out none;
}

.wiggle:hover {
	-webkit-animation: wiggle 0.5s infinite;
	animation: wiggle 0.5s infinite;
}
/* --- End wiggle --- */

/* ========================================================================== */
/* Media Breakpoints */
/* ========================================================================== */
@media screen and (max-width: 1200px), (max-device-width: 1200px) {
    .fl-network-wrap-triple {
        width: 95%;
    }

    .fl-network-wrap-triple .fl-wrap {
        width: 100%;
    }

    .network-topbanner {
        grid-template-columns: 0.5fr 1.5fr;
    }
    .network-topbanner-logo {
        max-width: 100px;
        max-height: 100px;
    }

    #SiteIcons {
        width: 100%;
        margin-left: 0;
    }

    .detail-example, .el-section, .fl-examples, .about-us-section {
        margin: 3% 8%
    }

    .el-summary {
        min-height: 300px;
    }
    .el-summary h2, .el-summary p, .el-summary ul li {
        font-size: 20px;
    }

    .signupbutton {
        margin: 1.4% 2% 4%;
    }
}

@media screen and (max-width: 992px), (max-device-width: 992px) {
    .advertise-title {
        font-size: 2em;
    }

	 .detail-example, .el-section, .fl-examples, .about-us-section {
         margin: 3% 6%
     }

    .el-section {
        padding: 0;
    }

    .el-summary {
        min-height: 200px;
    }
    .el-summary h2, .el-summary p, .el-summary ul li {
        font-size: 18px;
    }
}

@media screen and (max-width: 920px), (max-device-width: 920px) { /* Small laptops, Large Tablets */
    .fl-network-wrap-triple .fl-wrap {
        height: 100%;
    }

    .container-network-visitors {
        padding: 1% 0;
    }

    .benefit {
        width: 10vw;
    }

    .el-summary h2, .el-summary p, .el-summary ul li {
        font-size: 16px;
    }
    .el-summary h2 {
        margin: 1.4% 0;
    }
}

@media screen and (max-width: 768px), (max-device-width: 768px) { /* Tablets */
    .network-stat-display {
        grid-template-columns: 0.8fr 1.2fr;
        margin: 1% 4% 3%;
    }

    .fl-network-wrap-triple {
        width: 100%;
    }

    .network-summary {
        margin: 6% 0 2%;
        width: 100%;
    }
    .network-tagline {
        font-size: 1.5em;
    }

    .network-examples h3 {
        margin: 0;
    }

    .network-site-links {
        margin-left: 8%;
        margin-right: 8%;
    }

    .advertise-title {
        font-size: 1.5em;
    }

    .benefit:nth-of-type(3) p.benefit-summary {
        margin-left: -10px;
    }

    .sampleheader {
        margin: 1.4% 0;
        font-size: 14px;
    }

    .el-summary {
        padding-left: 1%;
        padding-right: 1%;
    }
    .el-summary h2, .el-summary p, .el-summary ul li {
        font-size: 1em;
    }

    .el-summary ul li {
        padding: 1% 0;
    }

    .el-summary p#text {
        margin: 0 3%;
    }
}

@media screen and (max-width: 576px), (max-device-width: 576px) { /* smartphone */
    .ribbon-text {
        font-size: 1em;
    }

    .network-topbanner, .network-topbanner-title {
        padding-left: 5px;
    }

    .signup-summary-section {
      bottom: 0;
      width: 100%;
    }

    .network-visitors-title, .network-visitors-subtitle {
        line-height: 30px;
    }
    .network-visitors-title {
        padding: 0 5%;
    }
    .network-visitors-subtitle {
        font-size: 1.3em;
    }

    .network-site-links {
        grid-template-columns: repeat(3, 0.33fr);
        grid-template-rows: repeat(2, 0.5fr);
        margin: 0 12%;
    }

    .network-tagline {
        font-size: 1.25em;
    }

    .benefit {
        width: 20vw;
    }

    .spacer {
        display: none;
    }

    .network-examples {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 0.5fr);
    }

    .network-examples {
        display: flex;
        flex-direction: column;
    }
    .performancereport-example .network-example-column:nth-of-type(1) {
        order: 1;
    }
    .performancereport-example .network-example-column:nth-of-type(2) {
        order: 0;
    }

    .sampleheader {
        margin: 3% -1% 1.4%;
    }

    .el-summary ul li {
        padding: 0;
    }

    .fl-network-wrap-triple {
        display: flex;
        flex-direction: column;
		gap: 3%;
		margin: 2% 0;
		width: 100%;
    }

	.fl-network-wrap-triple .fl-wrap {
		margin: 2% 0;
	}

    .signupbutton {
        width: 80%;
    }
}

@media screen and (max-width: 425px), (max-device-width: 425px) {
    .network-topbanner {
        width: 100%;
        padding-top: 35px;
    }
    .network-topbanner-title {
        font-size: 1em;
    }

    .network-visitors-title {
        margin-bottom: 10px;
    }

    .network-stat-display {
        margin: 0 8% 3%;
        grid-template-columns: 1fr;
    }

    .benefit:nth-of-type(3) p.benefit-summary {
        margin-left: -15px;
    }

    .detail-example, .el-section, .fl-examples, .about-us-section {
        margin: 3% 6%
    }

    .signupbutton {
        font-size: 1.75em;
    }
}

@media screen and (max-width: 375px), (max-device-width: 375px) {
    h2 {
        margin: 1.4% 0;
    }

    .ribbon-text {
        font-size: 1em;
    }

    .network-topbanner-title {
        font-size: 0.9em;
    }

    .network-site-links {
        margin-left: 10%;
        margin-right: 10%;
        grid-column-gap: 10%;
    }

    .advertise-title {
        font-size: 1.3em;
    }

    .sampleheader {
         margin: 3% -3% 1.4%;
         font-size: 14px;
     }
    .fl-examples .sampleheader {
        margin: 5% -6% 1.4%;
    }

    .about-us-title {
        font-size: 2em;
    }
}

/* Landscape Mode breakpoints */
@media (orientation: landscape) {
    @media (max-width: 768px), (max-device-width: 768px) {
        .el-summary p {
            margin: 0;
            padding: 0;
        }
    }
}
