@import url("../css/_customizable-cta.css"); .resource-banner-section { z-index: 1; float: left; width: 100%; padding: 170px 0 60px 0; background: var(--mgld-nobg); } .resource-banner-text { padding-top: 49px; color: var(--white); } .resource-banner-text h1, .resource-banner-text h3 { color: var(--white); } .resource-banner-text h1 a, .resource-banner-text h3 a { color: var(--white); } .resource-banner-text h1 a:hover, .resource-banner-text h3 a:hover { color: var(--red); } .resource-banner-text h3 { font-family: 'gilroy-bold', sans-serif; font-size: 2.25rem; line-height: 1.3; margin-bottom: 19px; } .resource-banner-text h1 { font-family: 'gilroy-bold', sans-serif; font-size: 2.625rem; line-height: 1.43; margin-bottom: 23px; } .resource-banner-text small { margin-bottom: 14px; } .resource-banner-left { display: flex; align-items: stretch; } .resource-banner-image { height: 100%; } .resource-banner-text { padding: 35px 65px 33px 40px; width: 100%; bottom: 0; left: 0; position: absolute; z-index: 1; display: flex; justify-content: center; flex-direction: column; align-items: flex-start; top: 0; } .post-big .resource-banner-text { padding: 76px 20px 76px 80px; max-width: 500px; width: 100% } .resource-banner-main { justify-content: space-between; } .resource-banner-image:after { content: ""; background-color: #081213; opacity: 0.5; width: 100%; height: 100%; position: absolute; left: 0; top: 0; display: block; } .resources-page-section { float: left; width: 100%; padding: 93px 0 60px 0; } .resources-page-top { margin-bottom: 47px; justify-content: space-between; } .resources-title h2 { margin: 0; } .resources-search button[type="submit"] { top: 50%; transform: translateY(-50%); right: 13px; padding: 0; color: var(--f2t-text-50); font-size: 18px; line-height: 26px; background: none; position: absolute; } .resources-search button[type="submit"]:hover { color: var(--f2t-yellow-50); } .resources-page-lists { width: calc(100% + 4.4%); left: -2.13%; position: relative; } .resources-page-list { position: relative; transition: 0.15s padding ease-out, 0.15s margin ease-out, 0.15s border ease-out; width: 29.11%; margin: 0 2.11% 61px 2.11%; overflow: hidden; } .resources-image:after { content: ""; background-color: #081213; opacity: 0.6; width: 100%; height: 100%; position: absolute; left: 0; top: 0; display: block; } .resources-text { position: absolute; bottom: 0; padding: 25px 60px 39px 60px; transition: 0.15s padding ease-out, 0.15s margin ease-out, 0.15s border ease-out; } .resources-text h5 { color: var(--white); margin-bottom: 23px; } .resources-text h5 a { color: var(--white); } .resources-text h5 a:hover { color: var(--red); } .resources-page-list:hover .resources-text { padding-bottom: 61px; } .res-more-btn { visibility: hidden; opacity: 0; transition: all 0.3s linear; height: 0; } .resources-page-list:hover .res-more-btn { visibility: visible; opacity: 1; height: inherit; } .resources-title { width: 40%; } .resources-categories { width: calc(100% - 55.9%); position: relative; top: -8px; } .resources-categories .resources-search input[type="submit"]:hover {border: 0 none;} .resources-categories .form-field { width: calc(50% - 5px); margin: 0 5px; } .resources-categories .form-field:nth-child(odd) { margin-left: 0; } .resources-categories .form-field:nth-child(even) { margin-right: 0; } .resources-categories .form-field .selectBox-dropdown { border-radius: 25px; border: solid 1px #dde4e5; background: var(--white); padding: 13px 37px 15px 21px; } .resources-categories ::-webkit-input-placeholder { font-size: 1.063rem; color: var(--mgld-text-17) !important; font-weight: normal; opacity: 1; font-family: 'gilroy-regular', sans-serif; } .resources-categories :-moz-placeholder { font-size: 1.063rem; color: var(--mgld-text-17) !important; font-weight: normal; opacity: 1; font-family: 'gilroy-regular', sans-serif; } .resources-categories ::-moz-placeholder { font-size: 1.063rem; color: var(--mgld-text-17) !important; font-weight: normal; opacity: 1; font-family: 'gilroy-regular', sans-serif; } .resources-categories :-ms-input-placeholder { font-size: 1.063rem; color: var(--mgld-text-17) !important; font-weight: normal; opacity: 1; font-family: 'gilroy-regular', sans-serif; } @media only screen and (min-width: 1024px) { .resource-banner-left { width: 49.35897435897436%; max-height: 616px; } .resource-banner-right { width: 49.35897435897436%; margin: 0 0 0 1.28%; display: flex; flex-direction: column; } .resources-post { position: relative; } .resource-banner-left small { margin-bottom: 26px; } .post-small .resource-banner-text { padding: 79px 69px 79px 69px; } .post-small .resources-post:nth-child(2) { margin-top: 2.6%; } .post-small .resources-post .resource-banner-image { height: 298px; } } @media only screen and (max-width: 1299px) and (min-width: 1024px) { .post-small .resource-banner-text { padding: 40px; } .post-big .resource-banner-text { padding: 40px; } .post-small .resources-post .resource-banner-image { height: 260px; } .resources-text { padding: 25px 30px 39px 30px; } .resources-page-list:nth-child(7n) .resources-text { padding: 30px 60px 118px; max-width: 670px; } .resources-categories { width: calc(100% - 41%); } .resource-banner-text h3 { font-size: 1.8rem; } .resource-banner-text h1 { font-size: 2rem; } } @media only screen and (min-width: 768px) { .resources-page-list:nth-child(7) { width: 100%; position: relative; } .resources-page-list:nth-child(7n) .cat-info { margin: 0 0 18px 0; } .resources-page-list:nth-child(7n) .resources-image { height: 519px } .resources-page-list:nth-child(7n) .resources-image::after { opacity: 0.5; } .resources-page-list:nth-child(7n) .resources-text h2 { margin-bottom: 32px; color: var(--white); font-family: 'gilroy-bold', sans-serif; } .resources-page-list:nth-child(7n) .resources-text h2 a { color: var(--white); } .resources-page-list:nth-child(7n) .resources-text h2 a:hover { color: var(--red); } .resources-page-list:nth-child(7n) .res-more-btn { visibility: visible; opacity: 1; height: inherit; } .resources-page-list:nth-child(7) .resources-text { padding: 30px 101px 118px; max-width: 750px; bottom: 0; left: 0; color: #ffffff; position: absolute; } } @media only screen and (max-width: 1023px) and (min-width: 768px) { .resource-banner-section { padding: 83px 0 0 0; } .resources-page-section { padding: 144px 0 70px 0; } .resources-categories .form-field { width: calc(50% - 10px); margin: 0 10px; } .resources-categories .form-field:nth-child(odd) { margin-left: 0; } .resources-categories .form-field:nth-child(even) { margin-right: 0; } .resources-page-lists { left: -2.14%; justify-content: center; } .resources-page-list { width: 45.75%; margin-bottom: 33px; } .resources-text { padding: 25px 30px 39px 30px; } .resources-page-list:nth-child(7n) .resources-text { padding: 30px 50px 80px; } } @media only screen and (max-width: 1023px) and (min-width: 200px) { .resource-banner-main { margin-bottom: -74px; } .resource-banner-slider ul.slick-dots { top: 42px; position: absolute; left: 26px; padding: 0; justify-content: flex-start; } .resource-banner-slider ul.slick-dots li button { width: 9px; height: 9px; background: rgba(255, 255, 255, 0.6); } .resource-banner-slider ul.slick-dots li { margin: 0 12.5px; } .resource-banner-slider ul.slick-dots li.slick-active button { background: rgba(255, 255, 255, 1); } .resource-banner-slider ul.slick-dots li:before { width: 14px; height: 14px; } .res-banner-image { height: 429px; } .res-banner-image:after { content: ""; background-color: #081213; opacity: 0.6; width: 100%; height: 100%; position: absolute; left: 0; top: 0; display: block; } .res-banner-image img { width: 100%; height: 100%; font-family: "object-fit: cover"; object-fit: cover; -o-object-fit: cover; object-position: 50% 50%; -o-object-position: 50% 50%; } .resource-banner-main .resource-banner-text { padding: 55px 30px 42px 40px; top: inherit; } .resource-banner-text h3 { font-size: 1.6rem; line-height: 1.35; margin-bottom: 23px; } .resource-banner-text small { margin-bottom: 18px; } .resources-title { width: 100%; margin: 0 0 20px 0; } .resources-categories { width: 100%; top: 0; } .resource-banner-image { height: 100%; height: 430px; } } @media only screen and (max-width: 767px) and (min-width: 200px) { .resource-banner-section { padding: 80px 0 0 0; } .resources-page-section { padding: 119px 0 40px 0; } .resources-page-list { width: 100%; margin-bottom: 20px; } .resources-text { padding: 25px 41px 42px 41px; } .resources-text h5 { margin-bottom: 22px; } .resources-text h5 a { display: -webkit-box; max-width: 400px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .resources-page-list:hover .resources-text { padding-bottom: 42px; } .resources-page-list .res-more-btn { visibility: visible; opacity: 1; height: inherit; } .resources-image, .resources-image picture, .resources-image picture img { min-height: 312px; } .resources-page-list:nth-child(7n) .resources-text h2 { margin-bottom: 22px; color: var(--white); font-size: 1.438rem; line-height: 1.48; } .resources-page-list:nth-child(7n) .resources-text h2 a { color: var(--white); display: -webkit-box; max-width: 400px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .resources-page-list:nth-child(7n) .resources-text h2 a:hover { color: var(--red); } .resources-page-list:nth-child(7n) .res-more-btn .button { font-size: 1rem; padding: 9px 28px 12px 26px; } .resources-page-list:nth-child(4n) .resources-text h2, .resources-page-list:nth-child(4n) .resources-text h5 { margin-bottom: 22px; color: var(--white); font-family: 'gilroy-bold', sans-serif; font-size: 1.438rem; line-height: 1.48; } .resources-page-list:nth-child(4n) .resources-text h2 a, .resources-page-list:nth-child(4n) .resources-text h5 a { color: var(--white); } .resources-page-list:nth-child(4n) .resources-text h2 a:hover, .resources-page-list:nth-child(4n) .resources-text h5 a:hover { color: var(--red); } .resources-page-list:nth-child(4n) .res-more-btn { visibility: visible; opacity: 1; height: inherit; } .resources-page-list:nth-child(4n) .resources-text { padding: 30px 31px 45px 41px; bottom: 0; left: 0; color: #ffffff; position: absolute; } .resources-page-list:nth-child(4n):hover .resources-text { padding-bottom: 45px; } .resources-page-list:nth-child(4n) .resources-image::after { opacity: 0.7; } .resources-categories .form-field { width: 100%; margin: 0 0 10px 0; } .resources-title { margin: 0 0 9px 0; } .resources-page-top { margin-bottom: 40px; } }